summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/icecat-l10n/PKGBUILD241
-rw-r--r--libre/icecat-l10n/brand.dtd9
-rw-r--r--libre/icecat-l10n/brand.properties16
-rw-r--r--libre/icecat-l10n/browserconfig.properties6
-rw-r--r--libre/icecat-l10n/region.properties26
5 files changed, 298 insertions, 0 deletions
diff --git a/libre/icecat-l10n/PKGBUILD b/libre/icecat-l10n/PKGBUILD
new file mode 100644
index 000000000..bd4c5a39b
--- /dev/null
+++ b/libre/icecat-l10n/PKGBUILD
@@ -0,0 +1,241 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
+# Contributor: fauno <fauno@kiwwwi.com.ar>
+# Contributor: Figue <ffigue@gmail.com>
+
+_pkgbase=icecat
+pkgbase=$_pkgbase-l10n
+_pkgver=45.5.1
+pkgver=45.5.1_gnu1
+pkgrel=1
+pkgdesc="Language pack for GNU IceCat."
+arch=('any')
+url="http://www.gnu.org/software/gnuzilla/"
+license=('MPL' 'GPL')
+depends=("$_pkgbase=$pkgver")
+makedepends=('unzip' 'zip' 'mozilla-searchplugins')
+
+_languages=(
+ 'ach "Acholi"'
+ 'af "Afrikaans"'
+ 'an "Aragonese"'
+ 'ar "Arabic"'
+ 'as "Assamese"'
+ 'ast "Asturian"'
+ 'az "Azerbaijani"'
+ 'be "Belarusian"'
+ 'bg "Bulgarian"'
+ 'bn-BD "Bengali (Bangladesh)"'
+ 'bn-IN "Bengali (India)"'
+ 'br "Breton"'
+ 'bs "Bosnian"'
+ 'ca "Catalan"'
+ 'cs "Czech"'
+ 'cy "Welsh"'
+ 'da "Danish"'
+ 'de "German"'
+ 'dsb "Lower Sorbian"'
+ 'el "Greek"'
+ 'en-GB "English (British)"'
+# 'en-US "English (US)"'
+ 'en-ZA "English (South African)"'
+ 'eo "Esperanto"'
+ 'es-AR "Spanish (Argentina)"'
+ 'es-CL "Spanish (Chile)"'
+ 'es-ES "Spanish (Spain)"'
+ 'es-MX "Spanish (Mexico)"'
+ 'et "Estonian"'
+ 'eu "Basque"'
+ 'fa "Persian"'
+ 'ff "Fulah"'
+ 'fi "Finnish"'
+ 'fr "French"'
+ 'fy-NL "Frisian"'
+ 'ga-IE "Irish"'
+ 'gd "Gaelic (Scotland)"'
+ 'gl "Galician"'
+ 'gn "Guarani"'
+ 'gu-IN "Gujarati (India)"'
+ 'he "Hebrew"'
+ 'hi-IN "Hindi (India)"'
+ 'hr "Croatian"'
+ 'hsb "Upper Sorbian"'
+ 'hu "Hungarian"'
+ 'hy-AM "Armenian"'
+ 'id "Indonesian"'
+ 'is "Icelandic"'
+ 'it "Italian"'
+ 'ja "Japanese"'
+ 'kk "Kazakh"'
+ 'km "Khmer"'
+ 'kn "Kannada"'
+ 'ko "Korean"'
+ 'lij "Ligurian"'
+ 'lt "Lithuanian"'
+ 'lv "Latvian"'
+ 'mai "Maithili"'
+ 'mk "Macedonian"'
+ 'ml "Malayalam"'
+ 'mr "Marathi"'
+ 'ms "Malay"'
+ 'nb-NO "Norwegian (Bokmål)"'
+ 'nl "Dutch"'
+ 'nn-NO "Norwegian (Nynorsk)"'
+ 'or "Oriya"'
+ 'pa-IN "Punjabi (India)"'
+ 'pl "Polish"'
+ 'pt-BR "Portuguese (Brazilian)"'
+ 'pt-PT "Portuguese (Portugal)"'
+ 'rm "Romansh"'
+ 'ro "Romanian"'
+ 'ru "Russian"'
+ 'si "Sinhala"'
+ 'sk "Slovak"'
+ 'sl "Slovenian"'
+ 'son "Songhai"'
+ 'sq "Albanian"'
+ 'sr "Serbian"'
+ 'sv-SE "Swedish"'
+ 'ta "Tamil"'
+ 'te "Telugu"'
+ 'th "Thai"'
+ 'tr "Turkish"'
+ 'uk "Ukrainian"'
+ 'uz "Uzbek"'
+ 'vi "Vietnamese"'
+ 'xh "Xhosa"'
+ 'zh-CN "Chinese (Simplified)"'
+ 'zh-TW "Chinese (Traditional)"'
+)
+
+pkgname=()
+source=('region.properties')
+_url=http://ftp.gnu.org/gnu/gnuzilla/$_pkgver/langpacks
+
+for _lang in "${_languages[@]}"; do
+ _locale=${_lang%% *}
+ _pkgname=$pkgbase-${_locale,,}
+
+ pkgname+=($_pkgname)
+ source+=("$_url/$_pkgbase-${_pkgver%-*}.$_locale.langpack.xpi")
+ eval "package_$_pkgname() {
+ _package $_lang
+ }"
+done
+
+# Don't extract anything
+noextract=(${source[@]%%::*})
+
+_package() {
+ pkgdesc="$2 language pack for GNU IceCat."
+ replaces=(icecat-i18n-${1,,})
+ conflicts=(icecat-i18n-${1,,})
+
+ unzip icecat-${_pkgver%-*}.$1.langpack.xpi -d $1
+ rm -v icecat-${_pkgver%-*}.$1.langpack.xpi
+ install -vDm644 $srcdir/region.properties $1/browser/chrome/$1/locale/browser-region
+ rm -rv $1/chrome/$1/locale/$1/global-platform/{mac,win}
+ rm -rv $1/browser/chrome/$1/locale/browser/searchplugins
+ cp -av /usr/lib/mozilla/searchplugins $1/browser/chrome/$1/locale/browser
+
+ cd $1
+ zip -r langpack-$1@icecat.mozilla.org.xpi .
+ mv -v langpack-$1@icecat.mozilla.org.xpi $srcdir
+ cd ..
+ rm -rv $1
+
+ install -vDm644 langpack-$1@icecat.mozilla.org.xpi \
+ "$pkgdir/usr/lib/icecat/browser/extensions/langpack-$1@icecat.mozilla.org.xpi"
+}
+
+sha256sums=('fc301f3ce1f7d7cd995c7920af18f638e7dd40ade90318567c2bdb922d9cd11a'
+ 'd361f92c25fb8405747bc5733e133604443a45a5a5f78cd22fc391cca922c4fc'
+ '8f5e900b2084f7fc0f71f1a91141ba757e3d691575be4d0aff8dfbd51549f5af'
+ '71d6d350136642fc8087f6e3e20197f61b2923ad6a02c9af2a44178188a2f1c3'
+ '8fe1e5e5254179d17ec196588449bb75f5d2e22b94adc0d1077f426b7b0b8954'
+ '6f59865889ac838421ba40dd99aadb4d414bcd3294d144bd4efab009f3c7e1b7'
+ '664de64afb1847d41508d4f3c5c8fc832e0ebdb5ba64b2ced0a431add5ba622d'
+ '1823302915c7be17769f87a5c02c00fc189cb3f9221d11e40f625b8a0ef0ccf9'
+ '6753f712a398cbf12a7f47b04b1f707513e9065250e4af3d60190966f7c8ed68'
+ 'c1e819dfbe2fb4ef6739eb5d3d899be10975f0fc5d9eeb6c33a486b2c5e317e1'
+ 'fec53785c354f17bd2daaaa79037737c7bec960dec04eb62e911c557313804d8'
+ '04f17a0dc05ebef3dd29e3542012415f7c85190ad8bf66dc0a5d6e8025b85b97'
+ '8f8cd3aefb0c7d47e81adc0533040b07e81ca1fee0dd70bb940700aeecbb251d'
+ '299abd35670422856c25a6e395e094010c4211eef8b7034943b123e84c3144da'
+ 'ff7069d881e8b876d580788d5965b7dd6652c787db42258e4bdf6e374321af07'
+ '1111475b4762629c8366926ef2bbfe05a4c672d8b5e46a00203af383d7615e26'
+ '180a28b4d6bc03ebd625769d5059d1152723ba5469e8b0f6a9d0dec218953bf0'
+ 'c517717dd2542139fccc02c4763648006dceb44b11728c3bde4ae87b4b8a93b9'
+ '0fa3c9a78b30ec6e3f89315328895f9b32e7512e9ddfc63282b6ba8e626e0b90'
+ '35a8b987eb7c0a2237a4a98e39109cf7fa53dba9584e671d8dd5105383e898c6'
+ 'b7b01591cd7b147b9ee4255470371470b531b886d1d9b8ef4bb5acbec3422ca8'
+ 'ffb7ff10725ad4719af5335b072cb7e4c8510a6ef477594c53d949d51c905677'
+ '56d3e60d0fb7c6a6238b77525157f20c0c05bb7dc07f4ae5832467a07103ac8a'
+ 'e1d850115ff24e66b5f25e782417add49ed491e6f9b7bae32843dfe2226ebb4b'
+ '1c40910d0b0759104a3838e4e43dda739ae93e820dfa79034c85d23747f6b20c'
+ '10f030dc838d54ee26d28a2a130e82e4d6ccff80826f12c25c33b87adf7ddcf8'
+ '2a87d538bebeb4cab96866c46aa95d17901214980ad044f978299404d40e9ccc'
+ '361542ab045147f0ea979821fdb4682fe40cd54f4d90c0d7766aa6b91c26f3b5'
+ 'a61d14c0a7c91b746792f7d7bffba774439ce9935e3dd06bc2f38fcf44ad43fa'
+ 'c9f6dd6ec93b621b2116e188c633a94ca2bce1cf3878245603d2621b85e60cd4'
+ '9e3582a833de62a9157f6eb31d7f3f09d9c8cbba567f56d0c93d1ebd80ebcec6'
+ 'a43f227173c484123aa796792b32f80c1161ede16c261de326bc4919ad9d19d9'
+ '194331436371288c509beadcc93232140d9a6c9eb4551cc5ee7d134e2055be98'
+ 'd0fb5b9f778a762b06caab5365754c9333f283e4e2468592c11fc15cac630277'
+ '78894531966c1c001d3ae0691681d82909c45055cdf9fad1af600d83abaa2080'
+ 'df168be7e2e3820902ad270d00f83921e28a3b36d03347cc065ed0a0fd5f116d'
+ 'fc52c08fe47461c3e9d21bff9b94bb8ce799ed491bf5fee22429e60d7b6ac5af'
+ '8d398fa76ecfec186d95cf77fe7ee09e0a71db56b3bc7f17c43331bab1d0c8fb'
+ '651f126bc07d0990db6b01b6e095bec232343d1f866a9a816040c15b1a5aa2d2'
+ '7c2978cb5ad6748595eeb8b887d9f11deba8c58bb4d768dc5ec9b8eb96923cd8'
+ 'e8b1d4ab7c6340d8dcb8619c9c9011128b4222c22c4b855874c3847ebe554611'
+ '6b9290ae44a940d96e6c1b1ba98e79903c1b2b4bc9071722a734586fac78a332'
+ 'ed40b83b524249753bbacd8538aee9ca21c6861c6ac55f403c2cb5d3284e82fe'
+ 'e95e5c9970499bfa7be5f3c147392962db1f123d3f25f2e918dd4ae64d68aef0'
+ 'b0442f562f27004c5fc6c9d6554abd23314f649470bfa293bbdde4b9c03b0134'
+ 'dccc85f0c530009ae189bcbb25b5b78636b762fd20636beef69ec24b6066fecd'
+ '11e8219778e1d77110ec585ab6494459a1f9ea9cc1740529d54404e97ffa4b94'
+ 'd6e5ec6eec9c28a04ab1497a0bd1a859dffec0b8aeb4c270cbba34da91f08cee'
+ '810181031f7aed52067795db172a9353570418e898a04036fd5802a8170a937d'
+ '05c4df690a0c913ea92ecae9e34d42611d09f4c642c9d99ad90eeb1187b6ed89'
+ 'ef47d47b6c1b47f78852a0372344345d1d2d902ff1984c24295bb346ccbbab31'
+ 'e7928dd9e97839ed0ddc3e69ecbd4398fe94d303a9e98e3eb5367deae3b4a262'
+ 'e5884bec7bc5a7859909032adfbffb95adcee91da5435e4efe4420b06d6154ca'
+ 'e9a920d7600b39c622342334feeef31fc889399bac5830ca7d37f6f9c98c20ca'
+ 'a1b523b96ac0c32a5ae617942485e446739248453c0efdd86756b80fcca1289f'
+ '18c94e7fe834a1faa1a0101690f173711d13695989535130e27bce3deb31d9d3'
+ '2c7de052dbf789f45e8a784f03d3f8bb3f9d83fda3464a0a421aaffa14d3f074'
+ '0b9741474cdb3ae46cd9bcecef20f0468c642c4c516463c6f57e36159ec76ece'
+ 'facbcad693221f086b863abbe892af9e8dab4d9d0e33ca57ab454fd8396fd465'
+ '89d1f907a649b6e14bfd1d2514b214c39b9bf025426799acd3263e628470bb84'
+ '9e9fc95800b2ff28816fba4e82d5d0d7ae76fce5fb6727fb6851d368b7955606'
+ '433fd5cd24010c488ae4e15e56e3dab7ca348737f030818b86ccb133ee72d2c7'
+ '834913308219baf35b857f1425787d2f916451296c8eed666b61283f6f935c1b'
+ 'f5b1a0634e5418648d418a1df02473456d75547bc7a95ab6f6ae77536dd21ca5'
+ '79c5cd97817cbb927ff7d7fe2ecf8455600519ae05094249232c3972187a008c'
+ '8f45ab8d345902cd9c58d9d03e100be2e2a39a9927fde6df5003f0b1ed27ea56'
+ 'dc499b90f7b77f99e0e10e96359bf08ba6f52724c1fc83520ddfda9eb93eadf5'
+ '2b7a6a9b35ae01749c171859bd64bfedfb485f22556b1916e318377f3ba27436'
+ 'b8ad8f5c31b08977bd2c016e9157511d1a996f83049d6313c13b61de37a9d766'
+ '2c9d664a78916b66ccc0b2d0d0ad34cf73c517fa7107bf260b2a0de161a9e034'
+ '0b261829691ab244a0aaa8fbdd1fe0a65343001f724a81815f82760f47eb13aa'
+ 'f504ecb93f9999d4f028fc12d8e92a3df6871cbcd681fb88682051737984ced0'
+ 'e19de0c46bab8bfc8973002b248aad3a8f965728468d975328ee86eb56e2bbcd'
+ 'c3d17e6b6109f345474f23b5a8962d094713b09f21c263cfc0b45635d20ef9a4'
+ '0b3716b9eda277ed7d067b8f5f3d3a03948272007234891e280afd43054fd815'
+ 'd7e7b36a869a3c1193fd83b1c5bb8fd7636938fe593264752d2520e4026065d0'
+ 'e8c157a597fe3354296202212695215748c1b927a2280a1f313cf8585e002367'
+ '79d926cc2279edb7bad0825f2284ae308bf8c64561b1bb7cd1fd188082117949'
+ '986a79a2cf9afe1e7f00e66d199083be8aaf38c663693dabc112425949f028cb'
+ 'a0324be47b251aa3f8b5e7735473402f75d274139f7cfbdffa5e8a09e583ef64'
+ '05043ce5f3bafc7a5ea19324a446ef0c2bb783141463e58d03c0ce65b07a4d17'
+ 'a4efd173e45f9923b1fd1d8b6651c9b97787c82acca01550492028264c88a3a2'
+ '0bb07f2ee4333e96891466125d6cf1b7db27146482fa9505c5fceb34f5abe7ea'
+ '2df149fe4574a780fa8d2c6b930c5f1a5438776e7a53fc699b2c4e412e37a15b'
+ 'cc77bce9b274d64a59453a99f33543a1f10976d3d0762e947d19e313a103fe6d'
+ 'fd695d07967a5e05b6ff83207282b355a60b51991edd6b4c80ba2b29bd8ab313'
+ '3cf40a86ee8fa5587bf187bef3db8b3ca93f18fc08a3777106b9dddf11fd25b4'
+ 'c55cfdec1b34e393e20c67bc3849d125f592a20d36f23c70eda7fa2f704b8105'
+ '04c3e6ae2f0cb6eb60dee920f023910edb0f150deeafad0b56de0fbb3e27919c'
+ '08c3ddf29328191e7f399f58c5e883a9d33b5617492d7ac98f8cf3d084b828f0')
diff --git a/libre/icecat-l10n/brand.dtd b/libre/icecat-l10n/brand.dtd
new file mode 100644
index 000000000..ff4f95957
--- /dev/null
+++ b/libre/icecat-l10n/brand.dtd
@@ -0,0 +1,9 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<!ENTITY brandShorterName "IceCat">
+<!ENTITY brandShortName "IceCat">
+<!ENTITY brandFullName "GNU IceCat">
+<!ENTITY vendorShortName "GNU">
+<!ENTITY trademarkInfo.part1 "">
diff --git a/libre/icecat-l10n/brand.properties b/libre/icecat-l10n/brand.properties
new file mode 100644
index 000000000..4b4a4651c
--- /dev/null
+++ b/libre/icecat-l10n/brand.properties
@@ -0,0 +1,16 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+brandShorterName=IceCat
+brandShortName=IceCat
+brandFullName=GNU IceCat
+vendorShortName=GNU
+
+homePageSingleStartMain=IceCat Start, a fast home page with built-in search
+homePageImport=Import your home page from %S
+
+homePageMigrationPageTitle=Home Page Selection
+homePageMigrationDescription=Please select the home page you wish to use:
+
+syncBrandShortName=Sync
diff --git a/libre/icecat-l10n/browserconfig.properties b/libre/icecat-l10n/browserconfig.properties
new file mode 100644
index 000000000..72ab4bed3
--- /dev/null
+++ b/libre/icecat-l10n/browserconfig.properties
@@ -0,0 +1,6 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Do NOT localize or otherwise change these values
+browser.startup.homepage=about:icecat
diff --git a/libre/icecat-l10n/region.properties b/libre/icecat-l10n/region.properties
new file mode 100644
index 000000000..3333c1b71
--- /dev/null
+++ b/libre/icecat-l10n/region.properties
@@ -0,0 +1,26 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Default search engine
+browser.search.defaultenginename=searx
+
+# Search engine order (order displayed in the search bar dropdown)s
+browser.search.order.1=searx
+browser.search.order.2=DuckDuckGo HTML
+browser.search.order.3=DuckDuckGo Lite
+
+# increment this number when anything gets changed in the list below. This will
+# cause IceCat to re-read these prefs and inject any new handlers into the
+# profile database. Note that "new" is defined as "has a different URL"; this
+# means that it's not possible to update the name of existing handler, so
+# don't make any spelling errors here.
+gecko.handlerService.defaultHandlersVersion=4
+
+# The default set of protocol handlers for irc:
+gecko.handlerService.schemes.irc.0.name=Freenode Web IRC
+gecko.handlerService.schemes.irc.0.uriTemplate=https://webchat.freenode.net
+
+# The default set of protocol handlers for ircs:
+gecko.handlerService.schemes.ircs.0.name=Freenode Web IRC
+gecko.handlerService.schemes.ircs.0.uriTemplate=https://webchat.freenode.net