mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-23 18:32:47 +00:00
no fuzzy match when merging translations
This commit is contained in:
parent
48ee714934
commit
ca6e2995f0
2 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,9 @@ cwd="$(pwd)"
|
||||||
if ! type -p find ;then
|
if ! type -p find ;then
|
||||||
echo "find is not in your PATH"
|
echo "find is not in your PATH"
|
||||||
exit 1
|
exit 1
|
||||||
|
elif [ ! -f pots.txt ];then
|
||||||
|
echo "Running findpots.sh..."
|
||||||
|
"$cwd/findpots.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
packs=("kde-l10n")
|
packs=("kde-l10n")
|
||||||
|
|
|
@ -18,7 +18,7 @@ source "$(dirname $0)/fetch.sh"
|
||||||
name="$(basename $pot | sed 's|.pot|.po|g')"
|
name="$(basename $pot | sed 's|.pot|.po|g')"
|
||||||
for p in $(find kde-l10n/ -name "$name");do
|
for p in $(find kde-l10n/ -name "$name");do
|
||||||
echo "Updating $p..."
|
echo "Updating $p..."
|
||||||
msgmerge --update "$p" "$pot"
|
msgmerge --update --no-fuzzy-matching "$p" "$pot"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "All done."
|
echo "All done."
|
||||||
|
|
Loading…
Add table
Reference in a new issue