diff --git a/Languages/update-translated-strings.sh b/Languages/update-translated-strings.sh index 26cf4c2328..7183627aae 100755 --- a/Languages/update-translated-strings.sh +++ b/Languages/update-translated-strings.sh @@ -5,5 +5,6 @@ # script before committing changes to the .po files, otherwise the .po # files might get modified the next time you try to build using cmake. +cd ${0/update-translated-strings.sh/}/.. POTFILE=./Languages/po/dolphin-emu.pot find ./Languages/po -name '*.po' -exec msgmerge --quiet --update --backup=none -s {} $POTFILE \;