Remove languages having less than 50% of translated strings.

This commit is contained in:
pitchum 2024-03-10 17:00:15 +00:00
parent b9f3c38519
commit 95fbed352d
3 changed files with 76 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Index: mobilizon/mix.exs
Index: debianize-mobilizon/mix.exs
===================================================================
--- mobilizon.orig/mix.exs 2024-01-13 15:23:04.911709837 +0000
+++ mobilizon/mix.exs 2024-01-13 15:23:04.907709918 +0000
--- debianize-mobilizon.orig/mix.exs 2024-03-10 16:59:58.067660182 +0000
+++ debianize-mobilizon/mix.exs 2024-03-10 16:59:58.063660257 +0000
@@ -7,7 +7,7 @@
[
app: :mobilizon,

View File

@ -0,0 +1,72 @@
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"
}

View File

@ -1 +1,2 @@
override-elixir-version.path
restrict-supported-l10n.patch