| 1 | #!/bin/bash |
| 2 | |
| 3 | # This script goes through the translated .po files to ensure that they |
| 4 | # match dolphin-emu.pot and are correctly formatted. You must run this |
| 5 | # script before committing changes to the .po files, otherwise the .po |
| 6 | # files might get modified the next time you try to build using cmake. |
| 7 | |
| 8 | cd "$(dirname "$0")/.." |
| 9 | POTFILE=./Languages/po/dolphin-emu.pot |
| 10 | find ./Languages/po -name '*.po' -exec msgmerge --quiet --update -N --backup=none {} $POTFILE \; |