From b6b9854ece6fb47aa40a38d03854da4c116e92ed Mon Sep 17 00:00:00 2001 From: Saida Udvincic Date: Wed, 7 Oct 2020 22:03:38 +0200 Subject: [PATCH] Add translations for Bosnian language Translations were applied to templates (confirm, invitation, recovery), countries and continents. --- app/config/locale/codes.php | 5 +- .../locale/translations/ba.continents.php | 11 + .../locale/translations/ba.countries.php | 198 ++++++++++++++++++ app/config/locale/translations/ba.php | 21 ++ .../templates/ba.email.auth.confirm.tpl | 15 ++ .../templates/ba.email.auth.invitation.tpl | 14 ++ .../templates/ba.email.auth.recovery.tpl | 15 ++ app/init.php | 1 + 8 files changed, 278 insertions(+), 2 deletions(-) create mode 100644 app/config/locale/translations/ba.continents.php create mode 100644 app/config/locale/translations/ba.countries.php create mode 100644 app/config/locale/translations/ba.php create mode 100644 app/config/locale/translations/templates/ba.email.auth.confirm.tpl create mode 100644 app/config/locale/translations/templates/ba.email.auth.invitation.tpl create mode 100644 app/config/locale/translations/templates/ba.email.auth.recovery.tpl diff --git a/app/config/locale/codes.php b/app/config/locale/codes.php index 96c089bd3f..a0b10ef5a5 100644 --- a/app/config/locale/codes.php +++ b/app/config/locale/codes.php @@ -3,6 +3,7 @@ return [ 'af', // Afrikaans 'ar', // Arabic + 'ba', //Bosnian 'be', // Belarusian 'bn', // Bengali 'cat', // Catalan @@ -14,7 +15,7 @@ return [ 'fo', // Faroese 'fr', // French 'gr', // Greek - 'gu',//Gujrati + 'gu', //Gujrati 'he', // Hebrew 'hi', // Hindi 'hu', // Hungarian @@ -28,7 +29,7 @@ return [ 'ko', // Korean 'lt', // Lithuanian 'ml', // Malayalam - 'mr',//Marathi + 'mr', //Marathi 'ms', // Malay 'nl', // Dutch 'no', // Norwegian diff --git a/app/config/locale/translations/ba.continents.php b/app/config/locale/translations/ba.continents.php new file mode 100644 index 0000000000..881de56f58 --- /dev/null +++ b/app/config/locale/translations/ba.continents.php @@ -0,0 +1,11 @@ + 'Afrika', + 'AN' => 'Antartika', + 'AS' => 'Azija', + 'EU' => 'Europa', + 'NA' => 'Sjeverna Amerika', + 'OC' => 'Okeanija', + 'SA' => 'Južna Amerika', +]; diff --git a/app/config/locale/translations/ba.countries.php b/app/config/locale/translations/ba.countries.php new file mode 100644 index 0000000000..84ca85a4b9 --- /dev/null +++ b/app/config/locale/translations/ba.countries.php @@ -0,0 +1,198 @@ + 'Afganistan', + 'AO' => 'Angola', + 'AL' => 'Albanija', + 'AD' => 'Andora', + 'AE' => 'Ujedinjeni Arapski Emirati', + 'AR' => 'Argentina', + 'AM' => 'Armenija', + 'AG' => 'Antigua i Barbuda', + 'AU' => 'Australija', + 'AT' => 'Austria', + 'AZ' => 'Azerbejdžan', + 'BI' => 'Burundi', + 'BE' => 'Belgija', + 'BJ' => 'Benin', + 'BF' => 'Burkina Faso', + 'BD' => 'Bangladeš', + 'BG' => 'Bugarska', + 'BH' => 'Bahrein', + 'BS' => 'Bahami', + 'BA' => 'Bosna i Hercegovina', + 'BY' => 'Bjelorusija', + 'BZ' => 'Belize', + 'BO' => 'Bolivija', + 'BR' => 'Brazil', + 'BB' => 'Barbados', + 'BN' => 'Brineji', + 'BT' => 'Butan', + 'BW' => 'Bocvanija', + 'CF' => 'Centralna Afrička Republika', + 'CA' => 'Kanada', + 'CH' => 'Švicarska', + 'CL' => 'Čile', + 'CN' => 'Kina', + 'CI' => 'Obala Slonovače', + 'CM' => 'Kameron', + 'CD' => 'DR Kongo', + 'CG' => 'Republika Kongo', + 'CO' => 'Kolumbija', + 'KM' => 'Komori', + 'CV' => 'Zelenortska Ostrva', + 'CR' => 'Kostarika', + 'CU' => 'Kuba', + 'CY' => 'Kipar', + 'CZ' => 'Češka', + 'DE' => 'Njemačka', + 'DJ' => 'Džibuti', + 'DM' => 'Dominika', + 'DK' => 'Danska', + 'DO' => 'Dominikanska Republika', + 'DZ' => 'Alžir', + 'EC' => 'Ekvador', + 'EG' => 'Egipt', + 'ER' => 'Eritreja', + 'ES' => 'Španija', + 'EE' => 'Estonija', + 'ET' => 'Etiopija', + 'FI' => 'Finska', + 'FJ' => 'Fidži', + 'FR' => 'Francuska', + 'FM' => 'Mikronezija', + 'GA' => 'Gabon', + 'GB' => 'Ujedinjeno Kraljevstvo', + 'GE' => 'Gruzija', + 'GH' => 'Gana', + 'GN' => 'Gvineja', + 'GM' => 'Gambia', + 'GW' => 'Gvineja Bisau', + 'GQ' => 'Ekvatorijalna Gvineja', + 'GR' => 'Grčka', + 'GD' => 'Grenada', + 'GT' => 'Guatemala', + 'GY' => 'Gvajana', + 'HN' => 'Honduras', + 'HR' => 'Hrvatska', + 'HT' => 'Haiti', + 'HU' => 'Mađarska', + 'ID' => 'Indonezija', + 'IN' => 'India', + 'IE' => 'Irska', + 'IR' => 'Iran', + 'IQ' => 'Irak', + 'IS' => 'Island', + 'IL' => 'Izrael', + 'IT' => 'Italija', + 'JM' => 'Jamajka', + 'JO' => 'Jordan', + 'JP' => 'Japan', + 'KZ' => 'Kazahstan', + 'KE' => 'Kenija', + 'KG' => 'Kirgistan', + 'KH' => 'Kambodža', + 'KI' => 'Kiribati', + 'KN' => 'Sveti Kitts i Nevis', + 'KR' => 'Južna Korea', + 'KW' => 'Kuvajt', + 'LA' => 'Laos', + 'LB' => 'Libanon', + 'LR' => 'Liberija', + 'LY' => 'Libija', + 'LC' => 'Sveta Lucija', + 'LI' => 'Lihtenštajn', + 'LK' => 'Šri Lanka', + 'LS' => 'Lesoto', + 'LT' => 'Litvanija', + 'LU' => 'Luksemburg', + 'LV' => 'Lavija', + 'MA' => 'Maroko', + 'MC' => 'Monako', + 'MD' => 'Moldavija', + 'MG' => 'Madagaskar', + 'MV' => 'Maldivi', + 'MX' => 'Meksiko', + 'MH' => 'Marshall Islands', + 'MK' => 'Makedonija', + 'ML' => 'Mali', + 'MT' => 'Malta', + 'MM' => 'Mijanmar', + 'ME' => 'Crna Gora', + 'MN' => 'Mongolia', + 'MZ' => 'Mozambik', + 'MR' => 'Mauritanija', + 'MU' => 'Mauricijus', + 'MW' => 'Malavi', + 'MY' => 'Malezija', + 'NA' => 'Namibia', + 'NE' => 'Niger', + 'NG' => 'Nigeria', + 'NI' => 'Nikaragva', + 'NL' => 'Holandija', + 'NO' => 'Norveška', + 'NP' => 'Nepal', + 'NR' => 'Nauru', + 'NZ' => 'Novi Zeland', + 'OM' => 'Oman', + 'PK' => 'Pakistan', + 'PA' => 'Panama', + 'PE' => 'Peru', + 'PH' => 'Filipini', + 'PW' => 'Palau', + 'PG' => 'Papua Nova Guinea', + 'PL' => 'Poljska', + 'KP' => 'Sjeverna Korea', + 'PT' => 'Portugal', + 'PY' => 'Paragvaj', + 'QA' => 'Katar', + 'RO' => 'Rumunija', + 'RU' => 'Rusija', + 'RW' => 'Ruanda', + 'SA' => 'Saudijska Arabija', + 'SD' => 'Sudan', + 'SN' => 'Senegal', + 'SG' => 'Singapur', + 'SB' => 'Solomonova Ostrva', + 'SL' => 'Sijera Leone', + 'SV' => 'Salvador', + 'SM' => 'San Marino', + 'SO' => 'Somalia', + 'RS' => 'Srbija', + 'SS' => 'Južni Sudan', + 'ST' => 'Sveti Toma i Prinsipe', + 'SR' => 'Surinam', + 'SK' => 'Slovačka', + 'SI' => 'Slovenija', + 'SE' => 'Švedska', + 'SZ' => 'Svazilend', + 'SC' => 'Sejšeli', + 'SY' => 'Sirija', + 'TD' => 'Čad', + 'TG' => 'Togo', + 'TH' => 'Tajland', + 'TJ' => 'Tajikistan', + 'TM' => 'Turkmenistan', + 'TL' => 'Timor-Leste', + 'TO' => 'Tonga', + 'TT' => 'Trinidad i Tobago', + 'TN' => 'Tunis', + 'TR' => 'Turska', + 'TV' => 'Tuvalu', + 'TZ' => 'Tanzania', + 'UG' => 'Uganda', + 'UA' => 'Ukrajina', + 'UY' => 'Urugvaj', + 'US' => 'Sjedinjene Američke Države', + 'UZ' => 'Uzbekistan', + 'VA' => 'Vatikan', + 'VC' => 'Sveti Vincent i Grenadini', + 'VE' => 'Venecuela', + 'VN' => 'Vijetnam', + 'VU' => 'Vanuatu', + 'WS' => 'Samoa', + 'YE' => 'Jemen', + 'ZA' => 'Južna Afrika', + 'ZM' => 'Zambia', + 'ZW' => 'Zimbabve', +]; diff --git a/app/config/locale/translations/ba.php b/app/config/locale/translations/ba.php new file mode 100644 index 0000000000..5eab8bc07c --- /dev/null +++ b/app/config/locale/translations/ba.php @@ -0,0 +1,21 @@ + '"Umjetnost mudrosti je umjetnost znanja o tome šta zanemariti."', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'ba', + 'settings.direction' => 'ltr', + + // Service - Users + 'account.emails.team' => '%s Tim', + 'account.emails.verification.title' => 'Verifikacija računa', + 'account.emails.verification.body' => 'ba.email.auth.confirm.tpl', + 'account.emails.recovery.title' => 'Reset lozinke', + 'account.emails.recovery.body' => 'ba.email.auth.recovery.tpl', + 'account.emails.invitation.title' => 'Pozivnica za %s Team na %s', + 'account.emails.invitation.body' => 'ba.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Nepoznat', + + 'countries' => include 'ba.countries.php', + 'continents' => include 'ba.continents.php', +]; diff --git a/app/config/locale/translations/templates/ba.email.auth.confirm.tpl b/app/config/locale/translations/templates/ba.email.auth.confirm.tpl new file mode 100644 index 0000000000..33c325e32f --- /dev/null +++ b/app/config/locale/translations/templates/ba.email.auth.confirm.tpl @@ -0,0 +1,15 @@ +

+ Zdravo {{name}}, +

+

+ Kliknite na ovaj link da verifikujete vašu email adresu. +

+{{cta}} +

+ Ukoliko niste zatražili verifikaciju email adrese, ignorišite ovaj email. +

+

+ Hvala, +
+ {{project}} tim +

\ No newline at end of file diff --git a/app/config/locale/translations/templates/ba.email.auth.invitation.tpl b/app/config/locale/translations/templates/ba.email.auth.invitation.tpl new file mode 100644 index 0000000000..ea22ec186a --- /dev/null +++ b/app/config/locale/translations/templates/ba.email.auth.invitation.tpl @@ -0,0 +1,14 @@ +

+ Zdravo, +

+

+ Dobili ste ovaj email jer {{owner}} vas poziva da postanete član {{team}} tima na {{project}}. +

+{{cta}} +

+ Ukoliko niste zainteresovani, ignorišite ovu poruku.

+

+ Hvala, +
+ {{project}} tim +

\ No newline at end of file diff --git a/app/config/locale/translations/templates/ba.email.auth.recovery.tpl b/app/config/locale/translations/templates/ba.email.auth.recovery.tpl new file mode 100644 index 0000000000..368ab87475 --- /dev/null +++ b/app/config/locale/translations/templates/ba.email.auth.recovery.tpl @@ -0,0 +1,15 @@ +

+ Zdravo {{name}}, +

+

+ Kliknite na ovaj link da resetujete vašu {{project}} lozinku. +

+{{cta}} +

+ Ukoliko niste zatražili verifikaciju ove adrese, ignorišite ovaj email. +

+

+ Hvala, +
+ {{project}} tim +

\ No newline at end of file diff --git a/app/init.php b/app/init.php index c9dc9efba7..81ad6d028f 100644 --- a/app/init.php +++ b/app/init.php @@ -224,6 +224,7 @@ $register->set('queue-functions', function () { Locale::$exceptions = false; Locale::setLanguage('af', include __DIR__.'/config/locale/translations/af.php'); Locale::setLanguage('ar', include __DIR__.'/config/locale/translations/ar.php'); +Locale::setLanguage('ba', include __DIR__.'/config/locale/translations/ba.php'); Locale::setLanguage('be', include __DIR__.'/config/locale/translations/be.php'); Locale::setLanguage('bn', include __DIR__.'/config/locale/translations/bn.php'); Locale::setLanguage('cat', include __DIR__.'/config/locale/translations/cat.php');