Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
-
40425dd2
by Pier Angelo Vendrame at 2024-04-22T17:52:26+02:00
1 changed file:
Changes:
... | ... | @@ -133,15 +133,15 @@ mkdir "$HOME/.mozbuild" |
133 | 133 | torbutton_locales="toolkit/torbutton/chrome/locale/"
|
134 | 134 | torbutton_jar="toolkit/torbutton/jar.mn"
|
135 | 135 | for lang in $supported_locales; do
|
136 | - central_lang=$lang
|
|
136 | + source_lang=$lang
|
|
137 | 137 | [% IF c("var/macos") -%]
|
138 | 138 | if [ "$lang" == "ja-JP-mac" ]; then
|
139 | - lang="ja"
|
|
139 | + source_lang="ja"
|
|
140 | 140 | fi
|
141 | 141 | [% END -%]
|
142 | - mv "$transl_tor_browser/$lang/tor-browser.ftl" "$l10ncentral/$central_lang/browser/browser/"
|
|
143 | - mv "$transl_tor_browser/$lang/cryptoSafetyPrompt.properties" "$l10ncentral/$central_lang/browser/chrome/browser/"
|
|
144 | - mv "$transl_tor_browser/$lang" "$torbutton_locales/"
|
|
142 | + mv "$transl_tor_browser/$source_lang/tor-browser.ftl" "$l10ncentral/$lang/browser/browser/"
|
|
143 | + mv "$transl_tor_browser/$source_lang/cryptoSafetyPrompt.properties" "$l10ncentral/$lang/browser/chrome/browser/"
|
|
144 | + mv "$transl_tor_browser/$source_lang" "$torbutton_locales/$lang"
|
|
145 | 145 | echo "% locale torbutton $lang %locale/$lang/" >> "$torbutton_jar"
|
146 | 146 | echo " locale/$lang (chrome/locale/$lang/*)" >> "$torbutton_jar"
|
147 | 147 | done
|