[tbb-commits] [tor-browser-build/master] Bug 30468: Add mk locale for desktop builds

gk at torproject.org gk at torproject.org
Thu Jul 4 20:09:12 UTC 2019


commit 7b1c46d3649c20c91d4e33529412301e96ce2a0f
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Thu Jul 4 17:44:31 2019 +0200

    Bug 30468: Add mk locale for desktop builds
---
 projects/firefox-locale-bundle/build | 2 ++
 projects/firefox/build               | 6 ++++--
 rbm.conf                             | 1 +
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/projects/firefox-locale-bundle/build b/projects/firefox-locale-bundle/build
index 7000300..3a9e323 100644
--- a/projects/firefox-locale-bundle/build
+++ b/projects/firefox-locale-bundle/build
@@ -13,6 +13,8 @@ tmpdir=$(mktemp -d)
 
 [% FOREACH lang = c('var/locales') %]
   [% SET lang = tmpl(lang);
+     # mk is unavailable on mobile.
+     NEXT IF lang == 'mk';
      SET hgurl = "https://hg.mozilla.org/l10n-central/" _ lang %]
   if test -d [% lang %]
   then
diff --git a/projects/firefox/build b/projects/firefox/build
index 3aa4a4d..e0870c1 100644
--- a/projects/firefox/build
+++ b/projects/firefox/build
@@ -164,8 +164,10 @@ rm -f js/src/configure
 
 [% IF c("var/android") %]
   # Building a multi-locale .apk
-  [% FOREACH lang = c('var/locales') %]
-    [% SET lang = tmpl(lang) %]
+  [% FOREACH lang = c('var/locales');
+     SET lang = tmpl(lang);
+     # mk is unavailable on mobile.
+     NEXT IF lang == 'mk'; %]
     # Copy our torbrowser_strings.dtd at the right place
     cp /var/tmp/dist/tba-translation/[% lang %]/torbrowser_strings.dtd /var/tmp/dist/locales/[% lang %]/mobile/android/base/
     ./mach build chrome-[% lang %];
diff --git a/rbm.conf b/rbm.conf
index 62a19a6..1a1570b 100644
--- a/rbm.conf
+++ b/rbm.conf
@@ -82,6 +82,7 @@ var:
     - '[% c("var/locale_ja") %]'
     - ka
     - ko
+    - mk
     - nb-NO
     - nl
     - pl





More information about the tbb-commits mailing list