mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-26 15:44:22 +01:00
e526b39956
This doesn't really matter in practice, because I always sync with Transifex before running updated-translated-strings.sh, and then there can't be any fuzzy matches. But we might as well disable fuzzy matching explicitly, becase the results can be quite odd. This should make the script a bit faster too.
11 lines
462 B
Bash
Executable File
11 lines
462 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script goes through the translated .po files to ensure that they
|
|
# match dolphin-emu.pot and are correctly formatted. You must run this
|
|
# 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 "$(dirname "$0")/.."
|
|
POTFILE=./Languages/po/dolphin-emu.pot
|
|
find ./Languages/po -name '*.po' -exec msgmerge --quiet --update -N --backup=none -s {} $POTFILE \;
|