summaryrefslogtreecommitdiff
path: root/librewolf/debian/l10n
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-04-16 16:51:25 +0000
committerB. Stack <bgstack15@gmail.com>2022-04-16 16:51:25 +0000
commit4aa31a2f1a060439447f8de3b1674b6e0524c7e2 (patch)
treec6028dac4de4e3be8bfb49223ac931303e6c57d2 /librewolf/debian/l10n
parentMerge branch 'veracrypt-bump' into 'master' (diff)
parentlw 98.0 stackrpms rc1 (diff)
downloadstackrpms-4aa31a2f1a060439447f8de3b1674b6e0524c7e2.tar.gz
stackrpms-4aa31a2f1a060439447f8de3b1674b6e0524c7e2.tar.bz2
stackrpms-4aa31a2f1a060439447f8de3b1674b6e0524c7e2.zip
Merge branch 'librewolf-bump' into 'master'
librewolf 98 See merge request bgstack15/stackrpms!293
Diffstat (limited to 'librewolf/debian/l10n')
-rw-r--r--librewolf/debian/l10n/browser-l10n.control582
-rw-r--r--librewolf/debian/l10n/browser-l10n.control.in32
-rw-r--r--librewolf/debian/l10n/gen122
-rw-r--r--librewolf/debian/l10n/recommends66
4 files changed, 802 insertions, 0 deletions
diff --git a/librewolf/debian/l10n/browser-l10n.control b/librewolf/debian/l10n/browser-l10n.control
new file mode 100644
index 0000000..fccff45
--- /dev/null
+++ b/librewolf/debian/l10n/browser-l10n.control
@@ -0,0 +1,582 @@
+
+%define L10N_LANG ach
+%define L10N_LANGUAGE Acoli
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG af
+%define L10N_LANGUAGE Afrikaans
+%define L10N_RECOMMENDS hunspell-af
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG an
+%define L10N_LANGUAGE Aragonese
+%define L10N_RECOMMENDS hunspell-an
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ar
+%define L10N_LANGUAGE Arabic
+%define L10N_RECOMMENDS hunspell-ar
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ast
+%define L10N_LANGUAGE Asturian
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG az
+%define L10N_LANGUAGE Azerbaijani
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG be
+%define L10N_LANGUAGE Belarusian
+%define L10N_RECOMMENDS hunspell-be
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG bg
+%define L10N_LANGUAGE Bulgarian
+%define L10N_RECOMMENDS hunspell-bg | myspell-bg
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG bn
+%define L10N_LANGUAGE Bengali
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG br
+%define L10N_LANGUAGE Breton
+%define L10N_RECOMMENDS hunspell-br
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG bs
+%define L10N_LANGUAGE Bosnian
+%define L10N_RECOMMENDS hunspell-bs
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ca
+%define L10N_LANGUAGE Catalan
+%define L10N_RECOMMENDS hunspell-ca
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ca-valencia
+%define L10N_LANGUAGE Catalan (Valencia)
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG cak
+%define L10N_LANGUAGE Kaqchikel
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG cs
+%define L10N_LANGUAGE Czech
+%define L10N_RECOMMENDS hunspell-cs
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG cy
+%define L10N_LANGUAGE Welsh
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG da
+%define L10N_LANGUAGE Danish
+%define L10N_RECOMMENDS hunspell-da | myspell-da
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG de
+%define L10N_LANGUAGE German
+%define L10N_RECOMMENDS hunspell-de-de | hunspell-de-at | hunspell-de-ch
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG dsb
+%define L10N_LANGUAGE Lower Sorbian
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG el
+%define L10N_LANGUAGE Modern Greek
+%define L10N_RECOMMENDS hunspell-el | myspell-el-gr
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG en-ca
+%define L10N_LANGUAGE English (Canada)
+%define L10N_RECOMMENDS hunspell-en-gb | hunspell-en-us
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG en-gb
+%define L10N_LANGUAGE English (United Kingdom)
+%define L10N_RECOMMENDS hunspell-en-gb | hunspell-en-us
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG eo
+%define L10N_LANGUAGE Esperanto
+%define L10N_RECOMMENDS myspell-eo
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG es-ar
+%define L10N_LANGUAGE Spanish (Argentina)
+%define L10N_RECOMMENDS hunspell-es | myspell-es
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG es-cl
+%define L10N_LANGUAGE Spanish (Chile)
+%define L10N_RECOMMENDS hunspell-es | myspell-es
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG es-es
+%define L10N_LANGUAGE Spanish (Spain)
+%define L10N_RECOMMENDS hunspell-es | myspell-es
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG es-mx
+%define L10N_LANGUAGE Spanish (Mexico)
+%define L10N_RECOMMENDS hunspell-es | myspell-es
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG et
+%define L10N_LANGUAGE Estonian
+%define L10N_RECOMMENDS myspell-et
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG eu
+%define L10N_LANGUAGE Basque
+%define L10N_RECOMMENDS hunspell-eu
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG fa
+%define L10N_LANGUAGE Persian
+%define L10N_RECOMMENDS myspell-fa
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ff
+%define L10N_LANGUAGE Fulah
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG fi
+%define L10N_LANGUAGE Finnish
+%define L10N_RECOMMENDS xul-ext-mozvoikko
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG fr
+%define L10N_LANGUAGE French
+%define L10N_RECOMMENDS hunspell-fr | myspell-fr | myspell-fr-gut
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG fy-nl
+%define L10N_LANGUAGE Western Frisian (Netherlands)
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ga-ie
+%define L10N_LANGUAGE Irish (Ireland)
+%define L10N_RECOMMENDS myspell-ga
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG gd
+%define L10N_LANGUAGE Scottish Gaelic
+%define L10N_RECOMMENDS hunspell-gd | myspell-gd
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG gl
+%define L10N_LANGUAGE Galician
+%define L10N_RECOMMENDS hunspell-gl-es | hunspell-gl
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG gn
+%define L10N_LANGUAGE Guarani
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG gu-in
+%define L10N_LANGUAGE Gujarati (India)
+%define L10N_RECOMMENDS hunspell-gu
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG he
+%define L10N_LANGUAGE Hebrew
+%define L10N_RECOMMENDS hunspell-he | myspell-he
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG hi-in
+%define L10N_LANGUAGE Hindi (India)
+%define L10N_RECOMMENDS hunspell-hi
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG hr
+%define L10N_LANGUAGE Croatian
+%define L10N_RECOMMENDS hunspell-hr
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG hsb
+%define L10N_LANGUAGE Upper Sorbian
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG hu
+%define L10N_LANGUAGE Hungarian
+%define L10N_RECOMMENDS hunspell-hu | myspell-hu
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG hy-am
+%define L10N_LANGUAGE Armenian (Armenia)
+%define L10N_RECOMMENDS myspell-hy
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ia
+%define L10N_LANGUAGE Interlingua
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG id
+%define L10N_LANGUAGE Indonesian
+%define L10N_RECOMMENDS hunspell-id
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG is
+%define L10N_LANGUAGE Icelandic
+%define L10N_RECOMMENDS hunspell-is
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG it
+%define L10N_LANGUAGE Italian
+%define L10N_RECOMMENDS hunspell-it
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ja
+%define L10N_LANGUAGE Japanese
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ka
+%define L10N_LANGUAGE Georgian
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG kab
+%define L10N_LANGUAGE Kabyle
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG kk
+%define L10N_LANGUAGE Kazakh
+%define L10N_RECOMMENDS hunspell-kk
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG km
+%define L10N_LANGUAGE Central Khmer
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG kn
+%define L10N_LANGUAGE Kannada
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ko
+%define L10N_LANGUAGE Korean
+%define L10N_RECOMMENDS hunspell-ko
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG lij
+%define L10N_LANGUAGE Ligurian
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG lt
+%define L10N_LANGUAGE Lithuanian
+%define L10N_RECOMMENDS hunspell-lt
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG lv
+%define L10N_LANGUAGE Latvian
+%define L10N_RECOMMENDS hunspell-lv | myspell-lv
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG mk
+%define L10N_LANGUAGE Macedonian
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG mr
+%define L10N_LANGUAGE Marathi
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ms
+%define L10N_LANGUAGE Malay
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG my
+%define L10N_LANGUAGE Burmese
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG nb-no
+%define L10N_LANGUAGE Norwegian Bokmål (Norway)
+%define L10N_RECOMMENDS myspell-nb
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ne-np
+%define L10N_LANGUAGE Nepali (Nepal)
+%define L10N_RECOMMENDS hunspell-ne
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG nl
+%define L10N_LANGUAGE Dutch
+%define L10N_RECOMMENDS hunspell-nl
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG nn-no
+%define L10N_LANGUAGE Norwegian Nynorsk (Norway)
+%define L10N_RECOMMENDS myspell-nn
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG oc
+%define L10N_LANGUAGE Occitan
+%define L10N_RECOMMENDS hunspell-oc
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG pa-in
+%define L10N_LANGUAGE Panjabi (India)
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG pl
+%define L10N_LANGUAGE Polish
+%define L10N_RECOMMENDS hunspell-pl | myspell-pl
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG pt-br
+%define L10N_LANGUAGE Portuguese (Brazil)
+%define L10N_RECOMMENDS hunspell-pt-br | myspell-pt-br
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG pt-pt
+%define L10N_LANGUAGE Portuguese (Portugal)
+%define L10N_RECOMMENDS hunspell-pt-pt | myspell-pt-pt
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG rm
+%define L10N_LANGUAGE Romansh
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ro
+%define L10N_LANGUAGE Romanian
+%define L10N_RECOMMENDS hunspell-ro
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ru
+%define L10N_LANGUAGE Russian
+%define L10N_RECOMMENDS hunspell-ru | myspell-ru
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG sco
+%define L10N_LANGUAGE Scots
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG si
+%define L10N_LANGUAGE Sinhala
+%define L10N_RECOMMENDS hunspell-si
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG sk
+%define L10N_LANGUAGE Slovak
+%define L10N_RECOMMENDS hunspell-sk | myspell-sk
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG sl
+%define L10N_LANGUAGE Slovenian
+%define L10N_RECOMMENDS hunspell-sl
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG son
+%define L10N_LANGUAGE Songhai languages
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG sq
+%define L10N_LANGUAGE Albanian
+%define L10N_RECOMMENDS myspell-sq
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG sr
+%define L10N_LANGUAGE Serbian
+%define L10N_RECOMMENDS hunspell-sr
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG sv-se
+%define L10N_LANGUAGE Swedish (Sweden)
+%define L10N_RECOMMENDS hunspell-sv-se
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG szl
+%define L10N_LANGUAGE Silesian
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ta
+%define L10N_LANGUAGE Tamil
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG te
+%define L10N_LANGUAGE Telugu
+%define L10N_RECOMMENDS hunspell-te
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG th
+%define L10N_LANGUAGE Thai
+%define L10N_RECOMMENDS hunspell-th
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG tl
+%define L10N_LANGUAGE Tagalog
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG tr
+%define L10N_LANGUAGE Turkish
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG trs
+%define L10N_LANGUAGE Chicahuaxtla Triqui
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG uk
+%define L10N_LANGUAGE Ukrainian
+%define L10N_RECOMMENDS hunspell-uk | myspell-uk
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG ur
+%define L10N_LANGUAGE Urdu
+%undef L10N_RECOMMENDS
+%undef L10N_TRANSITION
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG uz
+%define L10N_LANGUAGE Uzbek
+%define L10N_RECOMMENDS hunspell-uz
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG vi
+%define L10N_LANGUAGE Vietnamese
+%define L10N_RECOMMENDS hunspell-vi
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG xh
+%define L10N_LANGUAGE Xhosa
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG zh-cn
+%define L10N_LANGUAGE Chinese (China)
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
+
+%define L10N_LANG zh-tw
+%define L10N_LANGUAGE Chinese (Taiwan)
+%undef L10N_RECOMMENDS
+%define L10N_TRANSITION 1
+%include @PRODUCT@-l10n.control.in
diff --git a/librewolf/debian/l10n/browser-l10n.control.in b/librewolf/debian/l10n/browser-l10n.control.in
new file mode 100644
index 0000000..149435a
--- /dev/null
+++ b/librewolf/debian/l10n/browser-l10n.control.in
@@ -0,0 +1,32 @@
+Package: @browser@-l10n-@L10N_LANG@
+Architecture: all
+Section: localization
+Depends: ${misc:Depends},
+ @browser@ (>= ${source:Version}), @browser@ (<< ${source:Version}.1~)
+%ifdef L10N_RECOMMENDS
+Recommends: @L10N_RECOMMENDS@
+%endif
+%if L10N_LANG == bn
+Breaks: @browser@-l10n-bn-in (<< 68), @browser@-l10n-bn-bd (<< 68)
+Replaces: @browser@-l10n-bn-in (<< 68), @browser@-l10n-bn-bd (<< 68)
+Provides: @browser@-l10n-bn-in, @browser@-l10n-bn-bd
+%elif TRANSITION && L10N_TRANSITION
+Breaks: iceweasel-l10n-@L10N_LANG@ (<< 45)
+Replaces: iceweasel-l10n-@L10N_LANG@ (<< 45)
+Provides: iceweasel-l10n-@L10N_LANG@
+%endif
+Description: @L10N_LANGUAGE@ language package for @Browser@
+ @LONGDESC1@
+ @LONGDESC2@
+ .
+ This package contains the localization of @Browser@ in @L10N_LANGUAGE@.
+%if TRANSITION
+
+Package: iceweasel-l10n-@L10N_LANG@
+Architecture: all
+Priority: extra
+Section: oldlibs
+Depends: @browser@-l10n-@L10N_LANG@, ${misc:Depends}
+Description: @L10N_LANGUAGE@ language package for Iceweasel - Transitional package
+ This is a transitional package, it can be safely removed.
+%endif
diff --git a/librewolf/debian/l10n/gen b/librewolf/debian/l10n/gen
new file mode 100644
index 0000000..5c74fa4
--- /dev/null
+++ b/librewolf/debian/l10n/gen
@@ -0,0 +1,122 @@
+#!/usr/bin/env python2.7
+
+import json
+import os
+import re
+import sys
+import codecs
+from xml import sax
+
+class Iso3166(sax.handler.ContentHandler, dict):
+ def startElement(self, name, attrs):
+ if 'alpha_2_code' in attrs:
+ self[attrs['alpha_2_code'].lower()] = attrs['name']
+
+class Iso639(sax.handler.ContentHandler, dict):
+ def startElement(self, name, attrs):
+ if 'iso_639_1_code' in attrs:
+ self[attrs['iso_639_1_code']] = attrs['name']
+ if 'iso_639_2B_code' in attrs:
+ self[attrs['iso_639_2B_code']] = attrs['name']
+
+class Iso639_3(sax.handler.ContentHandler, dict):
+ def startElement(self, name, attrs):
+ if 'id' in attrs:
+ self[attrs['id']] = attrs['name']
+ if 'part1_code' in attrs:
+ self[attrs['part1_code']] = attrs['name']
+ if 'part2_code' in attrs and not attrs['part2_code'] in self:
+ self[attrs['part2_code']] = attrs['name']
+
+if os.path.exists('/usr/share/iso-codes/json/iso_639-2.json'):
+ with open('/usr/share/iso-codes/json/iso_639-2.json') as fh:
+ iso639 = {}
+ for data in json.load(fh)['639-2']:
+ for k in ('alpha_2', 'alpha_3', 'bibliographic'):
+ if k in data:
+ iso639[data[k]] = data['name']
+
+ with open('/usr/share/iso-codes/json/iso_639-3.json') as fh:
+ iso639_3 = {}
+ for data in json.load(fh)['639-3']:
+ for k in ('alpha_2', 'alpha_3', 'bibliographic'):
+ if k in data:
+ iso639_3[data[k]] = \
+ data.get('inverted_name') or data['name']
+
+ with open('/usr/share/iso-codes/json/iso_3166-1.json') as fh:
+ iso3166 = {}
+ for data in json.load(fh)['3166-1']:
+ if 'alpha_2' in data:
+ iso3166[data['alpha_2'].lower()] = data['name']
+else:
+ parser = sax.make_parser()
+ iso639_3 = Iso639_3()
+ parser.setContentHandler(iso639_3)
+ parser.parse('/usr/share/xml/iso-codes/iso_639_3.xml')
+
+ iso639 = Iso639()
+ parser.setContentHandler(iso639)
+ parser.parse('/usr/share/xml/iso-codes/iso_639.xml')
+
+ iso3166 = Iso3166()
+ parser.setContentHandler(iso3166)
+ parser.parse('/usr/share/xml/iso-codes/iso_3166.xml')
+
+recommends = {}
+with open('debian/l10n/recommends') as f:
+ for line in f.readlines():
+ lang, value = line.split(':')
+ recommends[lang.strip()] = value.strip()
+
+RE = re.compile(r'^([^,\(]+)(?:, *([^\(]+) *)?(?: *\(.*\))?$')
+ICEWEASEL_L10N = set((
+ 'ach', 'af', 'an', 'ar', 'as', 'ast', 'az', 'be', 'bg', 'bn-bd', 'bn-in', 'br',
+ 'bs', 'ca', 'cs', 'cy', 'da', 'de', 'dsb', 'el', 'en-gb', 'en-za', 'eo',
+ 'es-ar', 'es-cl', 'es-es', 'es-mx', 'et', 'eu', 'fa', 'ff', 'fi', 'fr',
+ 'fy-nl', 'ga-ie', 'gd', 'gl', 'gn', 'gu-in', 'he', 'hi-in', 'hr', 'hsb', 'hu',
+ 'hy-am', 'id', 'is', 'it', 'ja', 'kk', 'km', 'kn', 'ko', 'lij', 'lt', 'lv',
+ 'mai', 'mk', 'ml', 'mr', 'ms', 'nb-no', 'nl', 'nn-no', 'or', 'pa-in', 'pl',
+ 'pt-br', 'pt-pt', 'rm', 'ro', 'ru', 'si', 'sk', 'sl', 'son', 'sq', 'sr',
+ 'sv-se', 'ta', 'te', 'th', 'tr', 'uk', 'uz', 'vi', 'xh', 'zh-cn', 'zh-tw',
+))
+
+for code in sys.argv[1:]:
+ if '-' in code:
+ lang, country = code.split('-')
+ else:
+ lang = code
+ country = None
+
+ if lang in iso639_3:
+ str = iso639_3[lang.lower()]
+ else:
+ str = iso639[lang.lower()]
+ m = RE.match(str)
+ if m.group(2):
+ str = ' '.join([m.group(2).strip(), m.group(1).strip()])
+ else:
+ str = m.group(1).strip()
+ if country:
+ country_ = iso3166.get(country.lower())
+ if country_:
+ country = country_
+ else:
+ country = {
+ 'valencia': 'Valencia',
+ }[country.lower()]
+ if ',' in country:
+ country = country[:country.index(',')]
+ str += ' (' + country + ')'
+ print()
+ print('%define L10N_LANG', code.lower())
+ print('%define L10N_LANGUAGE', str)
+ if code.lower() in recommends:
+ print('%define L10N_RECOMMENDS', recommends[code.lower()])
+ else:
+ print('%undef L10N_RECOMMENDS')
+ if code.lower() in ICEWEASEL_L10N:
+ print('%define L10N_TRANSITION 1')
+ else:
+ print('%undef L10N_TRANSITION')
+ print('%include @PRODUCT@-l10n.control.in')
diff --git a/librewolf/debian/l10n/recommends b/librewolf/debian/l10n/recommends
new file mode 100644
index 0000000..0fd6eaf
--- /dev/null
+++ b/librewolf/debian/l10n/recommends
@@ -0,0 +1,66 @@
+af: hunspell-af
+an: hunspell-an
+ar: hunspell-ar
+be: hunspell-be
+bg: hunspell-bg | myspell-bg
+bn-bd: hunspell-bn
+bn-in: hunspell-bn
+br: hunspell-br
+bs: hunspell-bs
+ca: hunspell-ca
+cs: hunspell-cs
+da: hunspell-da | myspell-da
+de: hunspell-de-de | hunspell-de-at | hunspell-de-ch
+el: hunspell-el | myspell-el-gr
+en-ca: hunspell-en-gb | hunspell-en-us
+en-gb: hunspell-en-gb | hunspell-en-us
+en-za: hunspell-en-gb | hunspell-en-us
+eo: myspell-eo
+es-ar: hunspell-es | myspell-es
+es-cl: hunspell-es | myspell-es
+es-es: hunspell-es | myspell-es
+es-mx: hunspell-es | myspell-es
+et: myspell-et
+eu: hunspell-eu
+fa: myspell-fa
+fi: xul-ext-mozvoikko
+fr: hunspell-fr | myspell-fr | myspell-fr-gut
+ga-ie: myspell-ga
+gd: hunspell-gd | myspell-gd
+gl: hunspell-gl-es | hunspell-gl
+gu-in: hunspell-gu
+he: hunspell-he | myspell-he
+hi-in: hunspell-hi
+hr: hunspell-hr
+hu: hunspell-hu | myspell-hu
+hy-am: myspell-hy
+id: hunspell-id
+is: hunspell-is
+it: hunspell-it
+kk: hunspell-kk
+ko: hunspell-ko
+ku: myspell-ku
+lt: hunspell-lt
+lv: hunspell-lv | myspell-lv
+ml: hunspell-ml
+nb-no: myspell-nb
+ne-np: hunspell-ne
+nl: hunspell-nl
+nn-no: myspell-nn
+oc: hunspell-oc
+pl: hunspell-pl | myspell-pl
+pt-br: hunspell-pt-br | myspell-pt-br
+pt-pt: hunspell-pt-pt | myspell-pt-pt
+ro: hunspell-ro
+ru: hunspell-ru | myspell-ru
+si: hunspell-si
+sk: hunspell-sk | myspell-sk
+sl: hunspell-sl
+sq: myspell-sq
+sr: hunspell-sr
+sv-se: hunspell-sv-se
+te: hunspell-te
+th: hunspell-th
+uk: hunspell-uk | myspell-uk
+uz: hunspell-uz
+vi: hunspell-vi
bgstack15