[tbb-commits] [builders/tor-browser-build] branch main updated: fixup! Bug 40588: Bundle translations for New Identity and Security Level

gitolite role git at cupani.torproject.org
Thu Aug 4 13:15:50 UTC 2022


This is an automated email from the git hooks/post-receive script.

richard pushed a commit to branch main
in repository builders/tor-browser-build.

The following commit(s) were added to refs/heads/main by this push:
     new eb7128c  fixup! Bug 40588: Bundle translations for New Identity and Security Level
eb7128c is described below

commit eb7128c2dfd7f2404e21c68be14e95af86f52d11
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Thu Aug 4 15:07:32 2022 +0200

    fixup! Bug 40588: Bundle translations for New Identity and Security Level
---
 projects/firefox/build | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/projects/firefox/build b/projects/firefox/build
index 13be93a..0d26a20 100644
--- a/projects/firefox/build
+++ b/projects/firefox/build
@@ -122,9 +122,14 @@ add_translation () {
 }
 
 [% FOREACH lang = c('var/locales') %]
-  [% SET lang = tmpl(lang) %]
-  add_translation $transl_base_browser newidentity '[% lang %]' newIdentity.properties
-  add_translation $transl_base_browser securitylevel '[% lang %]' securityLevel.properties
+  lang='[% tmpl(lang) %]'
+  [% IF c("var/osx") -%]
+  if [ "$lang" == "ja-JP-mac" ]; then
+    lang="ja"
+  fi
+  [% END-%]
+  add_translation $transl_base_browser newidentity $lang newIdentity.properties
+  add_translation $transl_base_browser securitylevel $lang securityLevel.properties
 [% END %]
 
 rm -f configure

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list