[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 7b1c46d3649c20c91d4e33529412301e96ce2a0f
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits