blob: 8f4163a2ce36a97eb2b64608a0f9a333929a52c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# This script adds new strings to a file in every locale of a certain type
# usage: ./merge-to-locales.sh {locale file to merge into} {new strings to add}
# example: ./merge-to-locales.sh extensionsOverlay.dtd new.txt
svn_locales=(ar ca cs da de fa fr he ja pt-BR pt-PT ro sq sv-SE uk)
bz_locales=(el-GR es-ES fy-NL id it nl pl sk vi zh-CN zh-TW)
for locale in ${svn_locales[@]}
do
echo "adding strings from $2 to ../locale/$locale/$1"
cat $2 >> "../locale/$locale/$1"
done
echo "done"
|