diff options
author | Clément Lassieur <clement@lassieur.org> | 2024-01-09 00:43:11 +0100 |
---|---|---|
committer | Clément Lassieur <clement@lassieur.org> | 2024-01-21 01:17:51 +0100 |
commit | 0ef8afe1e1e48f9a5e0b695d4cc41ff73dfba917 (patch) | |
tree | 61bcf84f7459c260b794e59d2334ae2e74fef8c1 /gnu/packages/gnuzilla.scm | |
parent | 8ca35ca44f177dfd54d62b18748819f0f08e7828 (diff) | |
download | guix-0ef8afe1e1e48f9a5e0b695d4cc41ff73dfba917.tar.gz guix-0ef8afe1e1e48f9a5e0b695d4cc41ff73dfba917.zip |
gnu: torbrowser: Add support for language localisation.
* gnu/packages/gnuzilla.scm (all-mozilla-locales): Export it.
* gnu/packages/tor.scm (%torbrowser-locales, translation-base-browser,
translation-tor-browser): New variables.
(torbrowser)[arguments]: In ‘setenv’ phase, set MOZ_CHROME_MULTILOCALE. Add
‘copy-firefox-locales’, ‘copy-basebrowser-locales’, ‘copy-torbrowser-locales’
and ‘build-locales’ phases.
Change-Id: Ia5b28fa5d885f24140893dc270e57e83b0250c67
Diffstat (limited to 'gnu/packages/gnuzilla.scm')
-rw-r--r-- | gnu/packages/gnuzilla.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index ea5de680e5..e3bc625bc0 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -98,7 +98,8 @@ #:use-module (gnu packages xdisorg) #:use-module (gnu packages readline) #:use-module (gnu packages sqlite) - #:autoload (json parser) (json->scm)) + #:autoload (json parser) (json->scm) + #:export (all-mozilla-locales)) (define-public mozjs (package |