From 1b513f25cec596cd818afff2efc1937f05f960e0 Mon Sep 17 00:00:00 2001 From: Ishanka D Senevirathne <33729848+IshankaDSenevirathne@users.noreply.github.com> Date: Tue, 1 Oct 2019 21:22:24 +0530 Subject: [PATCH 1/2] added si.countries.php to support the country names in Sinhala language --- app/config/locale/si.countries.php | 198 +++++++++++++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 app/config/locale/si.countries.php diff --git a/app/config/locale/si.countries.php b/app/config/locale/si.countries.php new file mode 100644 index 0000000000..1b850827fe --- /dev/null +++ b/app/config/locale/si.countries.php @@ -0,0 +1,198 @@ + 'ඇෆ්ගනිස්ථානය', + 'AO' => 'ඇන්ගෝලා', + 'AL' => 'ඇල්බේනියාව', + 'AD' => 'ඇන්ඩෝරා', + 'AE' => 'එක්සත් අරාබි එමීර් රාජ්යය', + 'AR' => 'ආර්ජන්ටිනාව', + 'AM' => 'ආර්මේනියාව', + 'AG' => 'ඇන්ටිගුවා සහ බාබුඩා', + 'AU' => 'ඕස්ට්‍රේලියාව', + 'AT' => 'ඔස්ට්‍රියාව', + 'AZ' => 'අසර්බයිජානය', + 'BI' => 'බුරුන්ඩි', + 'BE' => 'බෙල්ජියම', + 'BJ' => 'බෙනින්', + 'BF' => 'බුර්කිනා ෆාසෝ', + 'BD' => 'බංග්ලාදේශය', + 'BG' => 'බල්ගේරියාව', + 'BH' => 'බහරේනය', + 'BS' => 'බහමාස්', + 'BA' => 'බොස්නියාව සහ හර්සගොවිනාව', + 'BY' => 'බෙලාරුස්', + 'BZ' => 'බෙලීස්', + 'BO' => 'බොලිවියාව', + 'BR' => 'බ්‍රසීලය', + 'BB' => 'බාබඩෝස්', + 'BN' => 'බෘනායි', + 'BT' => 'භූතානය', + 'BW' => 'බොට්ස්වානා', + 'CF' => 'මධ්‍යම අප්‍රිකානු ජනරජය', + 'CA' => 'කැනඩාව', + 'CH' => 'ස්විට්සර්ලන්තය', + 'CL' => 'චිලී', + 'CN' => 'චීනය', + 'CI' => 'අයිවරි කෝස්ට්', + 'CM' => 'කැමරූන්', + 'CD' => 'කොංගෝ ප්‍රජාතන්ත්‍රවාදී ජනරජය', + 'CG' => 'කොංගෝ ජනරජය', + 'CO' => 'කොලොම්බියාව', + 'KM' => 'කොමරෝස්', + 'CV' => 'කේප් වර්ඩ්', + 'CR' => 'කොස්ටාරිකාව', + 'CU' => 'කියුබාව', + 'CY' => 'සයිප්‍රසය', + 'CZ' => 'චෙක් ජනරජය', + 'DE' => 'ජර්මනිය', + 'DJ' => 'ජිබුටි', + 'DM' => 'ඩොමිනිකා', + 'DK' => 'ඩෙන්මාර්කය', + 'DO' => 'ඩොමිනිකානු ජනරජය', + 'DZ' => 'ඇල්ජීරියාව', + 'EC' => 'ඉක්වදෝරය', + 'EG' => 'ඊජිප්තුව', + 'ER' => 'එරිත්‍රියාව', + 'ES' => 'ස්පාඤ්ඤය', + 'EE' => 'එස්තෝනියාව', + 'ET' => 'ඉතියෝපියාව', + 'FI' => 'ෆින්ලන්තය', + 'FJ' => 'ෆීජි', + 'FR' => 'ප්‍රංශය', + 'FM' => 'මයික්‍රොනීසියාව', + 'GA' => 'ගැබොන්', + 'GB' => 'එක්සත් රාජධානිය', + 'GE' => 'ජෝර්ජියාව', + 'GH' => 'ගහනාව', + 'GN' => 'ගිනියාව', + 'GM' => 'ගැම්බියාව', + 'GW' => 'ගිනි-බිසව්', + 'GQ' => 'සමක ගිනියාව', + 'GR' => 'ග්‍රීසිය', + 'GD' => 'ග්‍රෙනාඩා', + 'GT' => 'ග්වාතමාලාව', + 'GY' => 'ගයනා', + 'HN' => 'හොන්ඩුරාස්', + 'HR' => 'ක්‍රොඒෂියාව', + 'HT' => 'හයිටි', + 'HU' => 'හංගේරියාව', + 'ID' => 'ඉන්දුනීසියාව', + 'IN' => 'ඉන්දියාව', + 'IE' => 'අයර්ලන්තය', + 'IR' => 'ඉරානය', + 'IQ' => 'ඉරාකය', + 'IS' => 'අයිස්ලන්තය', + 'IL' => 'ඊශ්රායෙල්', + 'IT' => 'ඉතාලිය', + 'JM' => 'ජැමෙයිකාව', + 'JO' => 'ජෝර්දානය', + 'JP' => 'ජපානය', + 'KZ' => 'කසකස්තානය', + 'KE' => 'කෙන්යාව', + 'KG' => 'ක්‍රිගිස්තානය', + 'KH' => 'කාම්බෝජය', + 'KI' => 'කිරිබති', + 'KN' => 'ශාන්ත කිට්ස් සහ නෙවිස්', + 'KR' => 'දකුණු කොරියාව', + 'KW' => 'කුවේට්', + 'LA' => 'ලාඕසය', + 'LB' => 'ලෙබනනය', + 'LR' => 'ලයිබීරියාව', + 'LY' => 'ලිබියාව', + 'LC' => 'ශාන්ත ලුසියා', + 'LI' => 'ලිච්ටෙන්ස්ටයින්', + 'LK' => 'ශ්‍රී ලංකාව', + 'LS' => 'ලෙසෝතෝ', + 'LT' => 'ලිතුවේනියාව', + 'LU' => 'ලක්සම්බර්ග්', + 'LV' => 'ලැට්වියාව', + 'MA' => 'මොරොක්කෝව', + 'MC' => 'මොනාකෝ', + 'MD' => 'මෝල්ඩෝවා', + 'MG' => 'මැඩගස්කරය', + 'MV' => 'මාලදිවයින', + 'MX' => 'මෙක්සිකෝව', + 'MH' => 'මාෂල් දූපත්', + 'MK' => 'මැසිඩෝනියාව', + 'ML' => 'මාලි', + 'MT' => 'මෝල්ටාව', + 'MM' => 'මියන්මාරය', + 'ME' => 'මොන්ටිනිග්‍රෝ', + 'MN' => 'මොන්ගෝලියාව', + 'MZ' => 'මොසැම්බික්', + 'MR' => 'මොරිටේනියාව', + 'MU' => 'මොරිෂස්', + 'MW' => 'මලාවි', + 'MY' => 'මැලේසියාව', + 'NA' => 'නැමීබියාව', + 'NE' => 'නයිජර්', + 'NG' => 'නයිජීරියාව', + 'NI' => 'නිකරගුවාව', + 'NL' => 'නෙදර්ලන්තය', + 'NO' => 'නෝර්වේ', + 'NP' => 'නේපාලය', + 'NR' => 'නාවුරූ', + 'NZ' => 'නිව්සීලන්තය', + 'OM' => 'ඕමානය', + 'PK' => 'පාකිස්තානය', + 'PA' => 'පැනමාව', + 'PE' => 'පේරු', + 'PH' => 'පිලිපීනය', + 'PW' => 'පලාවු', + 'PG' => 'පැපුවා නිව්ගීනියාව', + 'PL' => 'පෝලන්තය', + 'KP' => 'උතුරු කොරියාව', + 'PT' => 'පෘතුගාලය', + 'PY' => 'පැරගුවේ', + 'QA' => 'කටාර්', + 'RO' => 'රුමේනියාව', + 'RU' => 'රුසියාව', + 'RW' => 'රුවන්ඩාව', + 'SA' => 'සවුදි අරාබිය', + 'SD' => 'සුඩානය', + 'SN' => 'සෙනෙගල්', + 'SG' => 'සිංගප්පූරුව', + 'SB' => 'සොලමන් දූපත්', + 'SL' => 'සියාරා ලියොන්', + 'SV' => 'එල් සැල්වදෝරය', + 'SM' => 'සැන් මරිනෝ', + 'SO' => 'සෝමාලියාව', + 'RS' => 'සර්බියාව', + 'SS' => 'දකුණු සුඩානය', + 'ST' => 'සාඕ ටොමේ සහ ප්‍රින්සිප්', + 'SR' => 'සුරිනේම්', + 'SK' => 'ස්ලොවැකියාව', + 'SI' => 'ස්ලොවේනියාව', + 'SE' => 'ස්වීඩනය', + 'SZ' => 'ස්වාසිලන්තය', + 'SC' => 'සීෂෙල්ස්', + 'SY' => 'සිරියාව', + 'TD' => 'චැඩ්', + 'TG' => 'ටෝගෝ ජනරජය', + 'TH' => 'තායිලන්තය', + 'TJ' => 'ටජිකිස්තානය', + 'TM' => 'ටර්ක්මෙනිස්තානය', + 'TL' => 'ටිමෝර්-ලෙස්ටේ', + 'TO' => 'ටොංගා', + 'TT' => 'ට්රිනිඩෑඩ් සහ ටොබැගෝ', + 'TN' => 'ටියුනීසියාව', + 'TR' => 'තුර්කිය', + 'TV' => 'ටුවාලු', + 'TZ' => 'ටැන්සානියාව', + 'UG' => 'උගන්ඩාව', + 'UA' => 'යුක්රේනය', + 'UY' => 'උරුගුවේ', + 'US' => 'එක්සත් ජනපදය', + 'UZ' => 'උස්බෙකිස්තානය', + 'VA' => 'වතිකානු නගරය', + 'VC' => 'ශාන්ත වින්සන්ට් සහ ග්‍රෙනඩින්ස්', + 'VE' => 'වෙනිසියුලාව', + 'VN' => 'වියට්නාමය', + 'VU' => 'වනුවාටු', + 'WS' => 'සැමෝවා', + 'YE' => 'යේමනය', + 'ZA' => 'දකුණු අප්‍රිකාව', + 'ZM' => 'සැම්බියාව', + 'ZW' => 'සිම්බාබ්වේ', +]; From 3fc5cc8a34dd8c737d7de9bf73a8f6a4a5bc8e6c Mon Sep 17 00:00:00 2001 From: rizkyrajitha Date: Tue, 1 Oct 2019 21:28:17 +0530 Subject: [PATCH 2/2] added si_lk locale from sri lanka --- app/config/locale/si.continents.php | 11 +++++++ app/config/locale/si.php | 18 +++++++++++ .../templates/si.email.auth.confirm.tpl | 25 +++++++++++++++ .../templates/si.email.auth.invitation.tpl | 31 +++++++++++++++++++ .../templates/si.email.auth.recovery.tpl | 25 +++++++++++++++ app/init.php | 1 + 6 files changed, 111 insertions(+) create mode 100644 app/config/locale/si.continents.php create mode 100644 app/config/locale/si.php create mode 100644 app/config/locale/templates/si.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/si.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/si.email.auth.recovery.tpl diff --git a/app/config/locale/si.continents.php b/app/config/locale/si.continents.php new file mode 100644 index 0000000000..10395d9add --- /dev/null +++ b/app/config/locale/si.continents.php @@ -0,0 +1,11 @@ + 'අප්‍රිකාව', + 'AN' => 'ඇන්ටාක්ටිකාව', + 'AS' => 'ආසියාව', + 'EU' => 'යුරෝපය', + 'NA' => 'උතුරු ඇමරිකාව', + 'OC' => 'ඕෂනියා', + 'SA' => 'දකුණු ඇමරිකාව', +]; diff --git a/app/config/locale/si.php b/app/config/locale/si.php new file mode 100644 index 0000000000..bf09272469 --- /dev/null +++ b/app/config/locale/si.php @@ -0,0 +1,18 @@ + '"ප්‍රඥාවන්ත වීමේ කලාව යනු නොසලකා හැරිය යුතු දේ දැන ගැනීමේ කලාවයි."', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'si', + 'settings.direction' => 'ltr', + // Service - Users + 'auth.emails.team' => '%s කණ්ඩායම', + 'auth.emails.confirm.title' => 'ගිණුම් තහවුරු කිරීම', + 'auth.emails.confirm.body' => 'si.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'මුරපදය යළි පිහිටුවන්න', + 'auth.emails.recovery.body' => 'si.email.auth.recovery.tpl', + + 'auth.emails.invitation.title' => 'ආරාධනයයි , %s කණ්ඩායමට %s ව්‍යාපෘතියෙහි', + 'auth.emails.invitation.body' => 'si.email.auth.invitation.tpl', + 'locale.country.unknown' => 'Unknown', + 'countries' => include 'si.countries.php', + 'continents' => include 'si.continents.php', +]; \ No newline at end of file diff --git a/app/config/locale/templates/si.email.auth.confirm.tpl b/app/config/locale/templates/si.email.auth.confirm.tpl new file mode 100644 index 0000000000..c7be6ec681 --- /dev/null +++ b/app/config/locale/templates/si.email.auth.confirm.tpl @@ -0,0 +1,25 @@ + + +
+ ආයුබෝවන් {{name}}, +
+
+ ඔබගේ විද්‍යුත් තැපැල් ලිපිනය සත්‍යාපනය කිරීමට මෙම සබැඳිය අනුගමනය කරන්න. +
+ {{redirect}} +
+
+ + ඔබ මෙම ලිපිනය සත්‍යාපනය කිරීමට ඉල්ලා නොසිටියේ නම්, ඔබට මෙම පණිවිඩය නොසලකා හැරිය හැක. +
+
+ ස්තූතියි, +
+ {{project}} කණ්ඩායම +
\ No newline at end of file diff --git a/app/config/locale/templates/si.email.auth.invitation.tpl b/app/config/locale/templates/si.email.auth.invitation.tpl new file mode 100644 index 0000000000..1a0842d2e8 --- /dev/null +++ b/app/config/locale/templates/si.email.auth.invitation.tpl @@ -0,0 +1,31 @@ + + +
+ ආයුබෝවන්, +
+
+ + මෙම තැපෑල ඔබ වෙත එවනු ලැබුවේ {{owner}}ට ඔබව , {{project}} ව්‍යාපෘතියෙහි {{team}} කණ්ඩායමේ කණ්ඩායම් සාමාජිකයෙකු වීමට ආරාධනා කිරීමට අවශ්‍ය වූ නිසාය. + +
+
+ + {{team}} කණ්ඩායමට එක්වීමට මෙම සබැඳිය අනුගමනය කරන්න: + +
+ {{redirect}} +
+
+ ඔබ උනන්දුවක් නොදක්වන්නේ නම්, ඔබට මෙම පණිවිඩය නොසලකා හැරිය හැකිය. +
+
+ ස්තූතියි, +
+ {{project}} කණ්ඩායම. +
\ No newline at end of file diff --git a/app/config/locale/templates/si.email.auth.recovery.tpl b/app/config/locale/templates/si.email.auth.recovery.tpl new file mode 100644 index 0000000000..bcf32b61ba --- /dev/null +++ b/app/config/locale/templates/si.email.auth.recovery.tpl @@ -0,0 +1,25 @@ + + +
+ ආයුබෝවන් {{name}}, +
+
+ ඔබගේ {{project}} ව්‍යාපෘතියෙහි මුරපදය නැවත සැකසීමට මෙම සබැඳිය අනුගමනය කරන්න + +
+ {{redirect}} +
+
+ ඔබගේ මුරපදය නැවත සැකසීමට ඔබ ඉල්ලා නොසිටියේ නම්, ඔබට මෙම පණිවිඩය නොසලකා හැරිය හැක. +
+
+ ස්තූතියි, +
+ {{project}} කණ්ඩායම +
\ No newline at end of file diff --git a/app/init.php b/app/init.php index 92e3d9d90b..98b059b7a7 100644 --- a/app/init.php +++ b/app/init.php @@ -133,6 +133,7 @@ Locale::setLanguage('ua', include __DIR__ . '/config/locale/ua.php'); Locale::setLanguage('pt-br', include __DIR__ . '/config/locale/pt-br.php'); Locale::setLanguage('es', include __DIR__ . '/config/locale/es.php'); Locale::setLanguage('ro', include __DIR__ . '/config/locale/ro.php'); +Locale::setLanguage('si', include __DIR__ . '/config/locale/si.php'); if (in_array($locale, APP_LOCALES)) { Locale::setDefault($locale);