From 128ad27c1aecb7f1384f7c1975da533458a61782 Mon Sep 17 00:00:00 2001 From: TafadzwaD Date: Mon, 11 Oct 2021 13:58:50 +0200 Subject: [PATCH 1/7] Created sn.json file in the translations folder as the ISO 639-1 code for Shona is sn. The file will contain Shona Translations --- app/config/locale/translations/sn.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 app/config/locale/translations/sn.json diff --git a/app/config/locale/translations/sn.json b/app/config/locale/translations/sn.json new file mode 100644 index 0000000000..e69de29bb2 From 61cdd6ce59300e4afefd6e9aa5cc8614f6aa5a64 Mon Sep 17 00:00:00 2001 From: TafadzwaD Date: Mon, 11 Oct 2021 16:20:12 +0200 Subject: [PATCH 2/7] Generated translations for Shona --- app/config/locale/translations/sn.json | 232 +++++++++++++++++++++++++ 1 file changed, 232 insertions(+) diff --git a/app/config/locale/translations/sn.json b/app/config/locale/translations/sn.json index e69de29bb2..20ab4e986e 100644 --- a/app/config/locale/translations/sn.json +++ b/app/config/locale/translations/sn.json @@ -0,0 +1,232 @@ +{ + "settings.inspire": "\"Unyanzvi hwekuchenjera kuziva zvekufuratira.\"", + "settings.locale": "sn", + "settings.direction": "ltr", + "emails.sender": "Chikwata che%s", + "emails.verification.subject": "Kuratidzi kuti ndiwe muridzi weakaundi", + "emails.verification.hello": "Hesi {{name}}", + "emails.verification.body": "Tevedza link iyi kuti uratidze kuti kero iyi ndeyako.", + "emails.verification.footer": "Kana usina kukumbira kuti uratidze kuti kero iyi ndeyako, unogona kufuratira meseji iyi.", + "emails.verification.thanks": "Ndatenda", + "emails.verification.signature": "Chikwata che{{project}}", + "emails.magicSession.subject": "Pinda", + "emails.magicSession.hello": "Hesi,", + "emails.magicSession.body": "Baya link iyi kuti upinde muakaundi yako.", + "emails.magicSession.footer": "Kana usina kukumbira kupinda muakaundi yako uchishandisa email iyi, unogona kufuratira meseji iyi.", + "emails.magicSession.thanks": "Ndatenda", + "emails.magicSession.signature": "Chikwata che{{project}}", + "emails.recovery.subject": "Kuchinja pasiwedhi", + "emails.recovery.hello": "Mhoro {{name}}", + "emails.recovery.body": "Baya link iyi kuti uchinje pasiwedhi yako ye{{project}}.", + "emails.recovery.footer": "Kana usina kukumbira kuchinja pasiwedhi yako, unogona kufuratira meseji iyi.", + "emails.recovery.thanks": "Ndatenda", + "emails.recovery.signature": "Chikwata che{{project}}", + "emails.invitation.subject": "Kukokwa kuchikwata che%s ku%s", + "emails.invitation.hello": "Mhoro", + "emails.invitation.body": "Tsamba iyi yatumirwa kwauri nekuti {{owner}} anga achida kuti uve nhengo yechikwata che{{team}} pachirongwa che{{project}}.", + "emails.invitation.footer": "Kana usiri kufarira kuve nhengo yechikwata ichi, unogona kufuratira iyi meseji.", + "emails.invitation.thanks": "Ndatenda", + "emails.invitation.signature": "Chikwata che{{project}}", + "locale.country.unknown": "Haizivikanwe", + "countries.af": "Afuganisitani", + "countries.ao": "Angola", + "countries.al": "Albania", + "countries.ad": "Andorra", + "countries.ae": "Mubatanidzwa wenyika dzeArab Emirates", + "countries.ar": "Argentina", + "countries.am": "Armenia", + "countries.ag": "Antigua and Barbuda", + "countries.au": "Australia", + "countries.at": "Austria", + "countries.az": "Azerbaijan", + "countries.bi": "Burundi", + "countries.be": "Belgium", + "countries.bj": "Benin", + "countries.bf": "Burkina Faso", + "countries.bd": "Bangladesh", + "countries.bg": "Bulgaria", + "countries.bh": "Bahrain", + "countries.bs": "Bahamas", + "countries.ba": "Bosnia and Herzegovina", + "countries.by": "Belarus", + "countries.bz": "Belize", + "countries.bo": "Bolivia", + "countries.br": "Brazil", + "countries.bb": "Barbados", + "countries.bn": "Brunei", + "countries.bt": "Bhutan", + "countries.bw": "Botswana", + "countries.cf": "Central African Republic", + "countries.ca": "Canada", + "countries.ch": "Switzerland", + "countries.cl": "Chile", + "countries.cn": "China", + "countries.ci": "Ivory Coast", + "countries.cm": "Cameroon", + "countries.cd": "DR Congo", + "countries.cg": "Republic of the Congo", + "countries.co": "Colombia", + "countries.km": "Comoros", + "countries.cv": "Cape Verde", + "countries.cr": "Costa Rica", + "countries.cu": "Cuba", + "countries.cy": "Cyprus", + "countries.cz": "Czechia", + "countries.de": "Germany", + "countries.dj": "Djibouti", + "countries.dm": "Dominica", + "countries.dk": "Denmark", + "countries.do": "Dominican Republic", + "countries.dz": "Algeria", + "countries.ec": "Ecuador", + "countries.eg": "Egypt", + "countries.er": "Eritrea", + "countries.es": "Spain", + "countries.ee": "Estonia", + "countries.et": "Ethiopia", + "countries.fi": "Finland", + "countries.fj": "Fiji", + "countries.fr": "France", + "countries.fm": "Micronesia", + "countries.ga": "Gabon", + "countries.gb": "United Kingdom", + "countries.ge": "Georgia", + "countries.gh": "Ghana", + "countries.gn": "Guinea", + "countries.gm": "Gambia", + "countries.gw": "Guinea-Bissau", + "countries.gq": "Equatorial Guinea", + "countries.gr": "Girisi", + "countries.gd": "Grenada", + "countries.gt": "Guatemala", + "countries.gy": "Guyana", + "countries.hn": "Honduras", + "countries.hr": "Croatia", + "countries.ht": "Haiti", + "countries.hu": "Hungary", + "countries.id": "Indonesia", + "countries.in": "India", + "countries.ie": "Ireland", + "countries.ir": "Iran", + "countries.iq": "Iraki", + "countries.is": "Aisirendi", + "countries.il": "Izirayeri", + "countries.it": "Itari", + "countries.jm": "Jamaika", + "countries.jo": "Jodhani", + "countries.jp": "Japani", + "countries.kz": "Khazakisitani", + "countries.ke": "Kenya", + "countries.kg": "Kyrgyzstan", + "countries.kh": "Kambodhiya", + "countries.ki": "Kiribati", + "countries.kn": "Saint Kitts and Nevis", + "countries.kr": "Koria yekuChamhembe", + "countries.kw": "Kuweiti", + "countries.la": "Laos", + "countries.lb": "Lebanon", + "countries.lr": "Liberia", + "countries.ly": "Libya", + "countries.lc": "Saint Lucia", + "countries.li": "Liechtenstein", + "countries.lk": "Sri Lanka", + "countries.ls": "Lesotho", + "countries.lt": "Lithuania", + "countries.lu": "Luxembourg", + "countries.lv": "Latvia", + "countries.ma": "Morocco", + "countries.mc": "Monaco", + "countries.md": "Moldova", + "countries.mg": "Madagascar", + "countries.mv": "Maldives", + "countries.mx": "Mexico", + "countries.mh": "Marshall Islands", + "countries.mk": "Macedonia", + "countries.ml": "Mali", + "countries.mt": "Malta", + "countries.mm": "Myanmar", + "countries.me": "Montenegro", + "countries.mn": "Mongolia", + "countries.mz": "Mozambiki", + "countries.mr": "Moritaniya", + "countries.mu": "Morishiyasi", + "countries.mw": "Malawi", + "countries.my": "Malaysia", + "countries.na": "Namibia", + "countries.ne": "Naija", + "countries.ng": "Naijeriya", + "countries.ni": "Nicaragua", + "countries.nl": "Netherlands", + "countries.no": "Noweyi", + "countries.np": "Nepal", + "countries.nr": "Nauru", + "countries.nz": "New Zealand", + "countries.om": "Oman", + "countries.pk": "Pakisitani", + "countries.pa": "Panama", + "countries.pe": "Peru", + "countries.ph": "Philippines", + "countries.pw": "Palau", + "countries.pg": "Papua New Guinea", + "countries.pl": "Poland", + "countries.kp": "North Korea", + "countries.pt": "Portugal", + "countries.py": "Paraguay", + "countries.qa": "Qatar", + "countries.ro": "Romania", + "countries.ru": "Russia", + "countries.rw": "Rwanda", + "countries.sa": "Saudi Arabia", + "countries.sd": "Sudan", + "countries.sn": "Senegal", + "countries.sg": "Singapore", + "countries.sb": "Solomon Islands", + "countries.sl": "Sierra Leone", + "countries.sv": "El Salvador", + "countries.sm": "San Marino", + "countries.so": "Somalia", + "countries.rs": "Serbia", + "countries.ss": "South Sudan", + "countries.st": "São Tomé and Príncipe", + "countries.sr": "Suriname", + "countries.sk": "Slovakia", + "countries.si": "Slovenia", + "countries.se": "Sweden", + "countries.sz": "Swaziland", + "countries.sc": "Seychelles", + "countries.sy": "Syria", + "countries.td": "Chad", + "countries.tg": "Togo", + "countries.th": "Thailand", + "countries.tj": "Tajikistan", + "countries.tm": "Turkmenistan", + "countries.tl": "Timor-Leste", + "countries.to": "Tonga", + "countries.tt": "Trinidad and Tobago", + "countries.tn": "Tunisia", + "countries.tr": "Turkey", + "countries.tv": "Tuvalu", + "countries.tz": "Tanzania", + "countries.ug": "Uganda", + "countries.ua": "Ukraine", + "countries.uy": "Uruguay", + "countries.us": "United States", + "countries.uz": "Uzbekistan", + "countries.va": "Vatican City", + "countries.vc": "Saint Vincent and the Grenadines", + "countries.ve": "Venezuela", + "countries.vn": "Vietnam", + "countries.vu": "Vanuatu", + "countries.ws": "Samoa", + "countries.ye": "Yemen", + "countries.za": "South Africa", + "countries.zm": "Zambia", + "countries.zw": "Zimbabwe", + "continents.af": "Africa", + "continents.an": "Antarctica", + "continents.as": "Asia", + "continents.eu": "Europe", + "continents.na": "North America", + "continents.oc": "Oceania", + "continents.sa": "South America" +} \ No newline at end of file From 784fe73b376a0ed57c9c6604ee42e1a48905b23e Mon Sep 17 00:00:00 2001 From: TafadzwaD Date: Mon, 11 Oct 2021 16:28:15 +0200 Subject: [PATCH 3/7] Link translation --- app/config/locale/translations/sn.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/config/locale/translations/sn.json b/app/config/locale/translations/sn.json index 20ab4e986e..c3f537f6d9 100644 --- a/app/config/locale/translations/sn.json +++ b/app/config/locale/translations/sn.json @@ -5,19 +5,19 @@ "emails.sender": "Chikwata che%s", "emails.verification.subject": "Kuratidzi kuti ndiwe muridzi weakaundi", "emails.verification.hello": "Hesi {{name}}", - "emails.verification.body": "Tevedza link iyi kuti uratidze kuti kero iyi ndeyako.", + "emails.verification.body": "Tevedza chinongedzo ichi kuti uratidze kuti kero iyi ndeyako.", "emails.verification.footer": "Kana usina kukumbira kuti uratidze kuti kero iyi ndeyako, unogona kufuratira meseji iyi.", "emails.verification.thanks": "Ndatenda", "emails.verification.signature": "Chikwata che{{project}}", "emails.magicSession.subject": "Pinda", "emails.magicSession.hello": "Hesi,", - "emails.magicSession.body": "Baya link iyi kuti upinde muakaundi yako.", + "emails.magicSession.body": "Baya chinongedzo ichi kuti upinde muakaundi yako.", "emails.magicSession.footer": "Kana usina kukumbira kupinda muakaundi yako uchishandisa email iyi, unogona kufuratira meseji iyi.", "emails.magicSession.thanks": "Ndatenda", "emails.magicSession.signature": "Chikwata che{{project}}", "emails.recovery.subject": "Kuchinja pasiwedhi", "emails.recovery.hello": "Mhoro {{name}}", - "emails.recovery.body": "Baya link iyi kuti uchinje pasiwedhi yako ye{{project}}.", + "emails.recovery.body": "Baya chinongedzo ichi kuti uchinje pasiwedhi yako ye{{project}}.", "emails.recovery.footer": "Kana usina kukumbira kuchinja pasiwedhi yako, unogona kufuratira meseji iyi.", "emails.recovery.thanks": "Ndatenda", "emails.recovery.signature": "Chikwata che{{project}}", From bf5d2b94567ac226024fe8db4a91bdab5a7cfa86 Mon Sep 17 00:00:00 2001 From: TafadzwaD Date: Mon, 11 Oct 2021 16:31:08 +0200 Subject: [PATCH 4/7] Added Shona language as supported in codes.php --- app/config/locale/codes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/config/locale/codes.php b/app/config/locale/codes.php index 2b15e96a65..e36227559c 100644 --- a/app/config/locale/codes.php +++ b/app/config/locale/codes.php @@ -59,6 +59,7 @@ return [ 'si', // Sinhala 'sk', // Slovakia 'sl', // Slovenian + 'sn',// Shona 'sq', // Albanian 'sv', // Swedish 'ta', // Tamil From 99aea00e071fc9695021b586e66a618d2fb502b9 Mon Sep 17 00:00:00 2001 From: TafadzwaD Date: Mon, 11 Oct 2021 16:34:26 +0200 Subject: [PATCH 5/7] Added language as supported into app/init.php --- app/init.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/init.php b/app/init.php index 144db596f0..ec954394e7 100644 --- a/app/init.php +++ b/app/init.php @@ -318,6 +318,7 @@ Locale::setLanguageFromJSON('sa', __DIR__ . '/config/locale/translations/sa.json Locale::setLanguageFromJSON('si', __DIR__ . '/config/locale/translations/si.json'); Locale::setLanguageFromJSON('sk', __DIR__ . '/config/locale/translations/sk.json'); Locale::setLanguageFromJSON('sl', __DIR__ . '/config/locale/translations/sl.json'); +Locale::setLanguageFromJSON('sn', __DIR__ . '/config/locale/translations/sn.json'); Locale::setLanguageFromJSON('sq', __DIR__ . '/config/locale/translations/sq.json'); Locale::setLanguageFromJSON('sv', __DIR__ . '/config/locale/translations/sv.json'); Locale::setLanguageFromJSON('ta', __DIR__ . '/config/locale/translations/ta.json'); From a25b4c242945aa0563e06f6fb6caabe93373b9f9 Mon Sep 17 00:00:00 2001 From: TafadzwaD Date: Mon, 11 Oct 2021 18:33:21 +0200 Subject: [PATCH 6/7] Added Shona translations --- app/config/locale/translations/sn.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/locale/translations/sn.json b/app/config/locale/translations/sn.json index c3f537f6d9..9d87509e9a 100644 --- a/app/config/locale/translations/sn.json +++ b/app/config/locale/translations/sn.json @@ -24,7 +24,7 @@ "emails.invitation.subject": "Kukokwa kuchikwata che%s ku%s", "emails.invitation.hello": "Mhoro", "emails.invitation.body": "Tsamba iyi yatumirwa kwauri nekuti {{owner}} anga achida kuti uve nhengo yechikwata che{{team}} pachirongwa che{{project}}.", - "emails.invitation.footer": "Kana usiri kufarira kuve nhengo yechikwata ichi, unogona kufuratira iyi meseji.", + "emails.invitation.footer": "Kana usiri kufarira kuve nhengo yechikwata ichi, unogona kufuratira meseji iyi.", "emails.invitation.thanks": "Ndatenda", "emails.invitation.signature": "Chikwata che{{project}}", "locale.country.unknown": "Haizivikanwe", From 44ca72a7a5c3b3f62009bbe8221404fec46b19da Mon Sep 17 00:00:00 2001 From: Tafadzwa Demba Date: Sat, 4 Dec 2021 10:28:31 +0200 Subject: [PATCH 7/7] Update app/config/locale/codes.php Code formatting Co-authored-by: Christy Jacob --- app/config/locale/codes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/locale/codes.php b/app/config/locale/codes.php index e36227559c..3eef6c5b65 100644 --- a/app/config/locale/codes.php +++ b/app/config/locale/codes.php @@ -59,7 +59,7 @@ return [ 'si', // Sinhala 'sk', // Slovakia 'sl', // Slovenian - 'sn',// Shona + 'sn', // Shona 'sq', // Albanian 'sv', // Swedish 'ta', // Tamil