debianize-mobilizon/debian/patches/restrict-supported-l10n.patch

73 lines
1.7 KiB
Diff

Description: Remove languages with less than 50% of translated strings.
Index: debianize-mobilizon/config/prod.exs
===================================================================
--- debianize-mobilizon.orig/config/prod.exs 2024-03-10 17:10:45.662725338 +0000
+++ debianize-mobilizon/config/prod.exs 2024-03-10 17:10:45.658725422 +0000
@@ -16,30 +16,21 @@
# Load all locales in production
config :mobilizon, :cldr,
locales: [
- "ar",
- "be",
- "bn",
"ca",
"cs",
- "cy",
"de",
"en",
"es",
- "fa",
"fi",
"fr",
"gd",
"gl",
"hr",
"hu",
- "id",
"it",
- "ja",
"nl",
"nn",
"pl",
- "pt",
"ru",
"sv",
- "zh_Hant"
]
Index: debianize-mobilizon/src/i18n/langs.json
===================================================================
--- debianize-mobilizon.orig/src/i18n/langs.json 2024-03-09 11:35:56.402348657 +0000
+++ debianize-mobilizon/src/i18n/langs.json 2024-03-10 17:12:48.164170596 +0000
@@ -1,30 +1,20 @@
{
- "ar": "العربية",
- "bn": "বাংলা",
"ca": "Català",
"cs": "čeština",
- "cy": "Cymraeg",
"de": "Deutsch",
"en": "English",
"es": "Español",
- "fa": "فارسی",
"fi": "suomi",
"fr": "Français",
"gd": "Gàidhlig",
"gl": "Galego",
"hr": "Hrvatski",
"hu": "Magyar",
- "id": "Bahasa Indonesia",
"it": "Italiano",
- "ja": "日本語",
"nl": "Nederlands",
"nn": "Nynorsk",
"oc": "Occitan",
"pl": "Polski",
- "pt_BR": "Português brasileiro",
"ru": "Русский",
- "sl": "Slovenščina",
- "sv": "Svenska",
- "zh_Hans": "简体字",
- "zh_Hant": "繁體字"
+ "sv": "Svenska"
}