From 3fc5cc8a34dd8c737d7de9bf73a8f6a4a5bc8e6c Mon Sep 17 00:00:00 2001 From: rizkyrajitha Date: Tue, 1 Oct 2019 21:28:17 +0530 Subject: [PATCH] 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);