Skip to content

Commit

Permalink
Remove .gtg-plugin in ./launch.sh for translators
Browse files Browse the repository at this point in the history
More of a workaround since external build system setups (not
`./launch.sh`) still have the buggy behaviour.
  • Loading branch information
Neui authored and diegogangl committed Feb 21, 2022
1 parent 87619ed commit bcf4ac0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions docs/contributors/translating.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,5 @@ Make sure to this AFTER COMMITING YOUR CHANGES!
* During launching, it might complain about certain files not being found in [`po/POTFILES.in`][POTFILES.IN].
It is safe to remove the lines from that file and re-run until it works.
It would be useful to comment about that if you're submitting your translation, just in case.
* Plugin related strings don't update after updating the translation.
The cause is unknown, but you can delete the plugin files to re-generate
them using the new translations: `rm -f .local_build/GTG/plugins/*.gtg-plugin`

[POTFILES.IN]: ../../po/POTFILES.in
1 change: 1 addition & 0 deletions scripts/debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ if [[ ! -d .local_build ]] || [[ ! -e .local_build/build.ninja ]]; then
fi

if [[ "$norun" -eq 0 ]]; then
rm -f .local_build/GTG/plugins/*.gtg-plugin # Regenerate for translations
ninja -C .local_build install || exit $?
if [ "$pydebug" = 1 ]; then
# https://docs.python.org/3/library/devmode.html#devmode
Expand Down

0 comments on commit bcf4ac0

Please sign in to comment.