fix(locales): adjust Language names
This commit is contained in:
Родитель
4d29ba6878
Коммит
51ff77b761
|
@ -6,7 +6,7 @@ msgstr ""
|
|||
"PO-Revision-Date: 2015-08-29 14:35+0000\n"
|
||||
"Last-Translator: umesh <umeshsnwl@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: hi_IN\n"
|
||||
"Language: hi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
|
@ -6,7 +6,7 @@ msgstr ""
|
|||
"PO-Revision-Date: 2015-08-02 18:21+0000\n"
|
||||
"Last-Translator: umesh <umeshsnwl@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: hi_IN\n"
|
||||
"Language: hi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
|
@ -7,7 +7,7 @@ msgstr ""
|
|||
"PO-Revision-Date: 2015-11-13 18:53+0000\n"
|
||||
"Last-Translator: Rodrigo <rodrigo.mcunha@hotmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: pt_PT\n"
|
||||
"Language: pt\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
|
@ -7,7 +7,7 @@ msgstr ""
|
|||
"PO-Revision-Date: 2015-11-13 18:58+0000\n"
|
||||
"Last-Translator: Rodrigo <rodrigo.mcunha@hotmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: pt_PT\n"
|
||||
"Language: pt\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
|
@ -7,7 +7,7 @@ msgstr ""
|
|||
"PO-Revision-Date: 2015-11-13 10:10+0000\n"
|
||||
"Last-Translator: Vanja Tumbas <tumbas93@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: sr\n"
|
||||
"Language: sr_Latn\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
|
@ -7,7 +7,7 @@ msgstr ""
|
|||
"PO-Revision-Date: 2015-11-14 16:40+0000\n"
|
||||
"Last-Translator: Vanja Tumbas <tumbas93@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: sr\n"
|
||||
"Language: sr_Latn\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
|
@ -7,7 +7,7 @@ msgstr ""
|
|||
"PO-Revision-Date: 2015-11-14 02:09+0000\n"
|
||||
"Last-Translator: az@kth.se <az@kth.se>\n"
|
||||
"Language-Team: The Swedish L10n team <community-sweden@lists.mozilla.org>\n"
|
||||
"Language: sv_SE\n"
|
||||
"Language: sv\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
|
@ -7,7 +7,7 @@ msgstr ""
|
|||
"PO-Revision-Date: 2015-11-14 02:13+0000\n"
|
||||
"Last-Translator: az@kth.se <az@kth.se>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: sv_SE\n"
|
||||
"Language: sv\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
|
@ -22,10 +22,21 @@ done
|
|||
# some locales must be copied
|
||||
# see details in https://github.com/mozilla/fxa-content-server-l10n/pull/79#issuecomment-149281761
|
||||
cp -r $L10N_DIR/locale/sv_SE/* $L10N_DIR/locale/sv
|
||||
sed -i '' -e 's/Language: sv_SE/Language: sv/g' "$L10N_DIR/locale/sv/LC_MESSAGES/client.po"
|
||||
sed -i '' -e 's/Language: sv_SE/Language: sv/g' "$L10N_DIR/locale/sv/LC_MESSAGES/server.po"
|
||||
|
||||
cp -r $L10N_DIR/locale/hi_IN/* $L10N_DIR/locale/hi
|
||||
sed -i '' -e 's/Language: hi_IN/Language: hi/g' "$L10N_DIR/locale/hi/LC_MESSAGES/client.po"
|
||||
sed -i '' -e 's/Language: hi_IN/Language: hi/g' "$L10N_DIR/locale/hi/LC_MESSAGES/server.po"
|
||||
|
||||
cp -r $L10N_DIR/locale/pt_PT/* $L10N_DIR/locale/pt
|
||||
sed -i '' -e 's/Language: pt_PT/Language: pt/g' "$L10N_DIR/locale/pt/LC_MESSAGES/client.po"
|
||||
sed -i '' -e 's/Language: pt_PT/Language: pt/g' "$L10N_DIR/locale/pt/LC_MESSAGES/server.po"
|
||||
|
||||
|
||||
# see https://github.com/mozilla/zippy/blob/180f746cd84cb3e409c76649e810485acb4512dc/locale/omg_new_l10n.sh#L90
|
||||
# also see https://bugzilla.mozilla.org/show_bug.cgi?id=1168488
|
||||
msgfilter -i $L10N_DIR/locale/sr/LC_MESSAGES/client.po -o $L10N_DIR/locale/sr_Latn/LC_MESSAGES/client.po recode-sr-latin
|
||||
msgfilter -i $L10N_DIR/locale/sr/LC_MESSAGES/server.po -o $L10N_DIR/locale/sr_Latn/LC_MESSAGES/server.po recode-sr-latin
|
||||
sed -i '' -e 's/Language: sr/Language: sr_Latn/g' "$L10N_DIR/locale/sr_Latn/LC_MESSAGES/client.po"
|
||||
sed -i '' -e 's/Language: sr/Language: sr_Latn/g' "$L10N_DIR/locale/sr_Latn/LC_MESSAGES/server.po"
|
||||
|
|
Загрузка…
Ссылка в новой задаче