File indexing completed on 2021-12-21 12:29:12
0001 #!bin/sh 0002 0003 # invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources 0004 # the results are stored in a pseudo .cpp file to be picked up by xgettext. 0005 $EXTRACTRC `find rkward -name \*.rc -a \! -name rkward_windows_icon.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp 0006 # 0007 # call xgettext on all source files. If your sources have other filename 0008 # extensions besides .cc, .cpp, and .h, just add them in the find call. 0009 $XGETTEXT `find rkward -name \*.cpp -o -name \*.h -name \*.c` rc.cpp -o $podir/rkward.pot 0010 0011 # extract messages from global .rkh pages: >> rkward__pages.pot 0012 python3 scripts/update_plugin_messages.py --extract-only --default_po=pages --outdir=$podir rkward/pages/*.rkh 0013 # extract messages from analysis plugins: >> rkward__analysis.pot 0014 python3 scripts/update_plugin_messages.py --extract-only --outdir=$podir rkward/plugins/analysis.pluginmap 0015 # extract messages from import_export plugins: >> rkward__import_export.pot 0016 python3 scripts/update_plugin_messages.py --extract-only --outdir=$podir rkward/plugins/import_export.pluginmap 0017 # extract messages from data plugins: >> rkward__data.pot 0018 python3 scripts/update_plugin_messages.py --extract-only --outdir=$podir rkward/plugins/data.pluginmap 0019 # extract messages from plot plugins: >> rkward__plots.pot 0020 python3 scripts/update_plugin_messages.py --extract-only --outdir=$podir rkward/plugins/plots.pluginmap 0021 # extract messages from graphics device plugins: >> rkward__graphics_device.pot 0022 python3 scripts/update_plugin_messages.py --extract-only --outdir=$podir rkward/plugins/x11device.pluginmap 0023 # extract messages from IRT plugins: >> rkward__item_response_theory.pot 0024 python3 scripts/update_plugin_messages.py --extract-only --outdir=$podir rkward/plugins/irt.pluginmap 0025 # extract messages from distribution plugins: >> rkward__distributions.pot 0026 python3 scripts/update_plugin_messages.py --extract-only --outdir=$podir rkward/plugins/distributions.pluginmap 0027 # messages of embedded plugins are extracted implicitly, as part of the above extraction calls: >> rkward__embedded.pot