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 01/23] 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 02/23] 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); From cdd993a3f87b31ac54c82d456648d98e35b3bcdd Mon Sep 17 00:00:00 2001 From: haktober Date: Thu, 3 Oct 2019 11:39:38 -0400 Subject: [PATCH 03/23] feat(locale): add zh-tw --- .../templates/zh-tw.email.auth.confirm.tpl | 24 +++ .../templates/zh-tw.email.auth.invitation.tpl | 27 +++ .../templates/zh-tw.email.auth.recovery.tpl | 25 +++ app/config/locale/zh-tw.continents.php | 11 + app/config/locale/zh-tw.countries.php | 198 ++++++++++++++++++ app/config/locale/zh-tw.php | 19 ++ app/init.php | 3 +- 7 files changed, 306 insertions(+), 1 deletion(-) create mode 100644 app/config/locale/templates/zh-tw.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/zh-tw.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/zh-tw.email.auth.recovery.tpl create mode 100644 app/config/locale/zh-tw.continents.php create mode 100644 app/config/locale/zh-tw.countries.php create mode 100644 app/config/locale/zh-tw.php diff --git a/app/config/locale/templates/zh-tw.email.auth.confirm.tpl b/app/config/locale/templates/zh-tw.email.auth.confirm.tpl new file mode 100644 index 0000000000..9ba081bb91 --- /dev/null +++ b/app/config/locale/templates/zh-tw.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ {{name}} 你好, +
+
+ 請點擊下方的鏈接驗證你的電子郵箱地址。 +
+ {{redirect}} +
+
+ 如果你沒有請求驗證本郵箱,請忽略這份郵件。 +
+
+ 謝謝。 +
+ 來自 {{project}} +
\ No newline at end of file diff --git a/app/config/locale/templates/zh-tw.email.auth.invitation.tpl b/app/config/locale/templates/zh-tw.email.auth.invitation.tpl new file mode 100644 index 0000000000..08fb921fd7 --- /dev/null +++ b/app/config/locale/templates/zh-tw.email.auth.invitation.tpl @@ -0,0 +1,27 @@ + + +
+ 你好, +
+
+ {{owner}}邀請您加入{{project}}項目的{{team}}小組。 +
+
+ 請點擊下方的鏈接加入{{team}}小組: +
+ {{redirect}} +
+
+ 如果您沒有加入該小組的計劃,請忽略本郵件。 +
+
+ 謝謝。 +
+ 來自 {{project}} +
\ No newline at end of file diff --git a/app/config/locale/templates/zh-tw.email.auth.recovery.tpl b/app/config/locale/templates/zh-tw.email.auth.recovery.tpl new file mode 100644 index 0000000000..8a473b5537 --- /dev/null +++ b/app/config/locale/templates/zh-tw.email.auth.recovery.tpl @@ -0,0 +1,25 @@ + + +
+ {{name}} 你好, +
+
+ 请点击下方的链接重新设置{{project}}的密码。 + Follow this link to reset your {{project}} password. +
+ {{redirect}} +
+
+ 如果您未曾申请重设密码,请忽略本邮件。 +
+
+ 谢谢。 +
+ 来自 {{project}} +
diff --git a/app/config/locale/zh-tw.continents.php b/app/config/locale/zh-tw.continents.php new file mode 100644 index 0000000000..e2a47e4855 --- /dev/null +++ b/app/config/locale/zh-tw.continents.php @@ -0,0 +1,11 @@ + '非洲', + 'AN' => '南極洲', + 'AS' => '亞洲', + 'EU' => '歐洲', + 'NA' => '北美洲', + 'OC' => '大洋洲', + 'SA' => '南美洲', +]; diff --git a/app/config/locale/zh-tw.countries.php b/app/config/locale/zh-tw.countries.php new file mode 100644 index 0000000000..348e8b8bf9 --- /dev/null +++ b/app/config/locale/zh-tw.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' => '津巴布韋', +]; \ No newline at end of file diff --git a/app/config/locale/zh-tw.php b/app/config/locale/zh-tw.php new file mode 100644 index 0000000000..6d4d83d461 --- /dev/null +++ b/app/config/locale/zh-tw.php @@ -0,0 +1,19 @@ + '"懂得取舍,方顯睿智。"', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'zh-tw', + 'settings.direction' => 'ltr', + + // Service - Users + 'auth.emails.team' => '%s 小組', + 'auth.emails.confirm.title' => '賬戶確認', + 'auth.emails.confirm.body' => 'zh-tw.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => '重設密碼', + 'auth.emails.recovery.body' => 'zh.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => '邀請加入%s小組(%s)', + 'auth.emails.invitation.body' => 'zh-tw.email.auth.invitation.tpl', + 'locale.country.unknown' => '未知', + 'countries' => include 'zh-tw.countries.php', + 'continents' => include 'zh-tw.continents.php', +]; \ No newline at end of file diff --git a/app/init.php b/app/init.php index 30d45e602c..7734ed864b 100644 --- a/app/init.php +++ b/app/init.php @@ -24,7 +24,7 @@ const APP_EMAIL_TEAM = 'team@'.APP_DOMAIN; const APP_EMAIL_SECURITY = 'security@'.APP_DOMAIN; const APP_USERAGENT = APP_NAME.'-Server/%s Please report abuse at '.APP_EMAIL_SECURITY; const APP_MODE_ADMIN = 'admin'; -const APP_LOCALES = ['cat', 'de', 'en', 'es', 'fi', 'fr', 'gr', 'he', 'hi', 'id', 'it', 'nl', /* 'no',*/ 'pt-br', 'pt-pt', 'ro', 'tr', 'ua', 'zh']; +const APP_LOCALES = ['cat', 'de', 'en', 'es', 'fi', 'fr', 'gr', 'he', 'hi', 'id', 'it', 'nl', /* 'no',*/ 'pt-br', 'pt-pt', 'ro', 'tr', 'ua', 'zh', 'zh-tw']; const APP_PAGING_LIMIT = 15; $register = new Registry(); @@ -147,6 +147,7 @@ Locale::setLanguage('ru', include __DIR__ . '/config/locale/ru.php'); Locale::setLanguage('tr', include __DIR__.'/config/locale/tr.php'); Locale::setLanguage('ua', include __DIR__.'/config/locale/ua.php'); Locale::setLanguage('zh', include __DIR__.'/config/locale/zh.php'); +Locale::setLanguage('zh-tw', include __DIR__.'/config/locale/zh-tw.php'); if (in_array($locale, APP_LOCALES)) { Locale::setDefault($locale); From 02fcfcf164017a455f397fc2b3aaa32dd9a37960 Mon Sep 17 00:00:00 2001 From: Utkarsh Raj Singh Date: Fri, 4 Oct 2019 04:22:27 +0530 Subject: [PATCH 04/23] Updated locale for consistent meaning --- app/config/locale/hi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/locale/hi.php b/app/config/locale/hi.php index 95dced4f53..c6f0255bde 100644 --- a/app/config/locale/hi.php +++ b/app/config/locale/hi.php @@ -1,7 +1,7 @@ '"बुद्धिमान होने कला यह जानने की कला है कि क्या अनदेखी करना चाहिए।"', // This is the line printed in the homepage and console 'view-source' + 'settings.inspire' => '"यह जान लेना की क्या अनदेखा किया जा सकता है, ही बुद्धिमता का प्रतीक है |"', // This is the line printed in the homepage and console 'view-source' 'settings.locale' => 'hi', 'settings.direction' => 'ltr', From 39aaf56a5d2243530623ab9026ad5aafdb9cfc3a Mon Sep 17 00:00:00 2001 From: Utkarsh Raj Singh Date: Fri, 4 Oct 2019 04:26:01 +0530 Subject: [PATCH 05/23] Add translation for untranslated words --- app/config/locale/hi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/locale/hi.php b/app/config/locale/hi.php index c6f0255bde..f48dcdb70a 100644 --- a/app/config/locale/hi.php +++ b/app/config/locale/hi.php @@ -14,7 +14,7 @@ return [ 'auth.emails.invitation.title' => 'इनविटेशन %s टीम %s', 'auth.emails.invitation.body' => 'hi.email.auth.invitation.tpl', - 'locale.country.unknown' => 'Unknown', + 'locale.country.unknown' => 'अज्ञात', 'countries' => include 'hi.countries.php', 'continents' => include 'hi.continents.php', From 3295ea9b62f7f9f838ff4b9f71d17069db50ddd6 Mon Sep 17 00:00:00 2001 From: Hillary Sousa Date: Fri, 4 Oct 2019 01:07:39 -0300 Subject: [PATCH 06/23] editing country names in pt-br and translating inspirational quote --- app/config/locale/pt-br.countries.php | 18 +++++++++--------- app/config/locale/pt-br.php | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/config/locale/pt-br.countries.php b/app/config/locale/pt-br.countries.php index 3825ebe8f8..9c9bb99e14 100644 --- a/app/config/locale/pt-br.countries.php +++ b/app/config/locale/pt-br.countries.php @@ -20,15 +20,15 @@ return [ 'BG' => 'Bulgária', 'BH' => 'Bahrein', 'BS' => 'Bahamas', - 'BA' => 'Bósnia and Herzegovina', - 'BY' => 'Bielorússia', + 'BA' => 'Bósnia e Herzegovina', + 'BY' => 'Bielorrússia', 'BZ' => 'Belize', 'BO' => 'Bolívia', 'BR' => 'Brasil', 'BB' => 'Barbados', 'BN' => 'Brunei', 'BT' => 'Butão', - 'BW' => 'Botsuana', + 'BW' => 'Botswana', 'CF' => 'República Centro-Africana', 'CA' => 'Canadá', 'CH' => 'Suíça', @@ -38,13 +38,13 @@ return [ 'CM' => 'Camarões', 'CD' => 'República Democrática do Congo', 'CG' => 'República do Congo', - 'CO' => 'Colombia', + 'CO' => 'Colômbia', 'KM' => 'Comores', 'CV' => 'Cabo Verde', 'CR' => 'Costa Rica', 'CU' => 'Cuba', 'CY' => 'Chipre', - 'CZ' => 'Tchéquia', + 'CZ' => 'República Tcheca', 'DE' => 'Alemanha', 'DJ' => 'Djibouti', 'DM' => 'Dominica', @@ -53,14 +53,14 @@ return [ 'DZ' => 'Argélia', 'EC' => 'Equador', 'EG' => 'Egito', - 'ER' => 'Eritrea', + 'ER' => 'Eritreia', 'ES' => 'Espanha', 'EE' => 'Estônia', 'ET' => 'Etiópia', 'FI' => 'Finlândia', 'FJ' => 'Fiji', 'FR' => 'França', - 'FM' => 'Micronésia', + 'FM' => 'Estados Federados da Micronésia', 'GA' => 'Gabão', 'GB' => 'Reino Unido', 'GE' => 'Geórgia', @@ -171,7 +171,7 @@ return [ 'TD' => 'Chade', 'TG' => 'Togo', 'TH' => 'Tailândia', - 'TJ' => 'Tajisquistão', + 'TJ' => 'Tajiquistão', 'TM' => 'Turcomenistão', 'TL' => 'Timor-Leste', 'TO' => 'Tonga', @@ -186,7 +186,7 @@ return [ 'US' => 'Estados Unidos', 'UZ' => 'Uzbequistão', 'VA' => 'Cidade do Vaticano', - 'VC' => 'São Vincente e Granadinas', + 'VC' => 'São Vicente e Granadinas', 'VE' => 'Venezuela', 'VN' => 'Vietnã', 'VU' => 'Vanuatu', diff --git a/app/config/locale/pt-br.php b/app/config/locale/pt-br.php index cc08622883..5fcd96fae0 100644 --- a/app/config/locale/pt-br.php +++ b/app/config/locale/pt-br.php @@ -1,7 +1,7 @@ '"The art of being wise is the art of knowing what to overlook."', // This is the line printed in the homepage and console 'view-source' + 'settings.inspire' => '"A arte de ser sábio é a arte de saber o que deixar passar."', // This is the line printed in the homepage and console 'view-source' 'settings.locale' => 'pt-br', 'settings.direction' => 'ltr', From d58ed472fc10ca855f952ca8fa51d58c3e23998d Mon Sep 17 00:00:00 2001 From: Pedro Woyames Date: Fri, 4 Oct 2019 01:10:29 -0300 Subject: [PATCH 07/23] adjusting the PT-BR translation for a more appropriate speech --- app/config/locale/templates/pt-br.email.auth.confirm.tpl | 2 +- app/config/locale/templates/pt-br.email.auth.invitation.tpl | 4 ++-- app/config/locale/templates/pt-br.email.auth.recovery.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/config/locale/templates/pt-br.email.auth.confirm.tpl b/app/config/locale/templates/pt-br.email.auth.confirm.tpl index aaee0d5ba8..f949c3f248 100644 --- a/app/config/locale/templates/pt-br.email.auth.confirm.tpl +++ b/app/config/locale/templates/pt-br.email.auth.confirm.tpl @@ -10,7 +10,7 @@ Olá {{name}},

- Por favor, confirme o seu email acessando este link abaixo. + Por favor, confirme o seu email acessando o link abaixo.
{{redirect}}
diff --git a/app/config/locale/templates/pt-br.email.auth.invitation.tpl b/app/config/locale/templates/pt-br.email.auth.invitation.tpl index e7a5645c5b..d0dceefb2f 100644 --- a/app/config/locale/templates/pt-br.email.auth.invitation.tpl +++ b/app/config/locale/templates/pt-br.email.auth.invitation.tpl @@ -10,10 +10,10 @@ Olá,

- Este email foi enviado a você porque
{{owner}} deseja lhe convidar a se tornar membro da equipe {{team}} no {{project}}. + Este email foi enviado a você porque
{{owner}} deseja convida-lo para se tornar membro da equipe {{team}} no {{project}}.

- Siga este link para se juntar a equipe {{team}}: + Siga o link abaixo para se juntar a equipe {{team}}:
{{redirect}}
diff --git a/app/config/locale/templates/pt-br.email.auth.recovery.tpl b/app/config/locale/templates/pt-br.email.auth.recovery.tpl index e70a712cbf..4e722f2aee 100644 --- a/app/config/locale/templates/pt-br.email.auth.recovery.tpl +++ b/app/config/locale/templates/pt-br.email.auth.recovery.tpl @@ -10,7 +10,7 @@ Olá {{name}},

- Acesse este link para redefinir sua senha do {{project}}. + Acesse o link abaixo para redefinir sua senha do {{project}}.
{{redirect}}
From 22caf516ced9348da2fcd91073f043d77135e61f Mon Sep 17 00:00:00 2001 From: Pratik Mehta Date: Fri, 4 Oct 2019 10:40:00 +0530 Subject: [PATCH 08/23] Typo-changes => Grammar changes. => Spelling mistakes changes. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e3590efe12..fd3227e5f9 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Appwrite is a simple self-hosted backend server for web and mobile developers with a shiny dashboard and a very easy to use REST API. -Appwrite API services aim to make developers life a lot easier by hiding the complexity of common and repetitive software development tasks. +Appwrite API services aim to make developer's life a lot easier by hiding the complexity of common and repetitive software development tasks. Using Appwrite you can easily manage user authentication with multiple sign-in methods, a database for storing and querying user and teams data, storage and file management, image manipulation and cropping, scheduled cron tasks and many other features to help you get more results in faster times and with a lot less code. @@ -28,7 +28,7 @@ Using Appwrite you can easily manage user authentication with multiple sign-in m Appwrite backend server is designed to run in a container environment. Running your server is as easy as running one command from your terminal. You can either run Appwrite on your localhost using docker-compose or on any other container orchestration tool like Kubernetes, Docker Swarm or Rancher. -The easiest way to start running your Appwrite server is by running our docker compose file: +The easiest way to start running your Appwrite server is by running our docker-compose file: ```bash mkdir appwrite-ce && \ @@ -59,15 +59,15 @@ Getting started with Appwrite is as easy as creating a new project, choosing you ### Services * [**Auth**](https://appwrite.io/docs/auth) - Manage user authentication using multiple sign-in methods and account recovery. -* [**Account**](https://appwrite.io/docs/account) - Manage current user account. Track and manage the user sessions, devices and security audit log. +* [**Account**](https://appwrite.io/docs/account) - Manage current user account. Track and manage the user sessions, devices, and security audit log. * [**Users**](https://appwrite.io/docs/users) - Manage and list all project users when in admin mode. * [**Teams**](https://appwrite.io/docs/teams) - Manage and group users in teams. Manage memberships, invites and user roles within a team. -* [**Database**](https://appwrite.io/docs/database) - Manage database collections and document. Read, create, update and delete documents and filter lists of documents collections using an advanced filter with graph like capabilities. +* [**Database**](https://appwrite.io/docs/database) - Manage database collections and document. Read, create, update and delete documents and filter lists of documents collections using an advanced filter with graph-like capabilities. * [**Storage**](https://appwrite.io/docs/storage) - Manage storage files. Read, create, delete and preview files. Manipulate the preview of your files to fit your app perfectly. All files are scanned by ClamAV and stored in a secure and encrypted way. -* [**Locale**](https://appwrite.io/docs/locale) - Track user's location, and manage your app locale based data. +* [**Locale**](https://appwrite.io/docs/locale) - Track user's location, and manage your app locale-based data. * [**Avatars**](https://appwrite.io/docs/avatars) - Manage your user's avatars, country's flags, browser icons, credit card symbols and generate QR codes. -For the complete API documentation, visit [https://appwrite.io/docs](https://appwrite.io/docs). For more tutorials, news and announcments check out our [blog](https://medium.com/appwrite-io). +For the complete API documentation, visit [https://appwrite.io/docs](https://appwrite.io/docs). For more tutorials, news and announcements check out our [blog](https://medium.com/appwrite-io). ### SDKs From bf450fbab65daba7e19f41fd8d2f45d228e72911 Mon Sep 17 00:00:00 2001 From: eldadfux Date: Fri, 4 Oct 2019 10:50:20 +0300 Subject: [PATCH 09/23] Updated encoding --- CHANGES.md | 2 +- app/config/locale/af.continents.php | 4 ++-- app/sdks/js/README.md | 6 ++++++ app/sdks/js/docs/examples/projects/create-webhook.md | 2 +- app/sdks/js/docs/examples/projects/update-webhook.md | 2 +- app/sdks/node/docs/examples/projects/create-task.md | 2 +- app/sdks/php/docs/examples/projects/create-task.md | 2 +- app/sdks/php/docs/examples/projects/update-task.md | 2 +- .../php/docs/examples/projects/update-webhook.md | 2 +- composer.lock | 12 ++++++------ 10 files changed, 21 insertions(+), 15 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c4a1bc2503..2e18e89e9a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,7 +2,7 @@ ## Planned Issues -* Added 7 new locales for locale service and email templates (cz, hu, no*, ru, sv, ta, vi, zh) +* Added 7 new locales for locale service and email templates (af_ZA, cz, hu, no*, ru, sv, ta, vi, zh) * New users service routes to allow updates pref, email and name update * 2 stage Docker build * New database rule validation options diff --git a/app/config/locale/af.continents.php b/app/config/locale/af.continents.php index 5f64309e59..0d465620c4 100644 --- a/app/config/locale/af.continents.php +++ b/app/config/locale/af.continents.php @@ -3,9 +3,9 @@ return [ 'AF' => 'Afrika', 'AN' => 'Antarktika', - 'AS' => 'Asi', + 'AS' => 'Asië', 'EU' => 'Europa', 'NA' => 'Noord-Amerika', - 'OC' => 'Oseani', + 'OC' => 'Oseanië', 'SA' => 'Suid-Amerika', ]; diff --git a/app/sdks/js/README.md b/app/sdks/js/README.md index 395936655f..4e6cd6bc0f 100644 --- a/app/sdks/js/README.md +++ b/app/sdks/js/README.md @@ -19,6 +19,12 @@ To install via [NPM](https://www.npmjs.com/): npm install appwrite --save ``` +Install with CDN: + +```html + +``` + ## License Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information. \ No newline at end of file diff --git a/app/sdks/js/docs/examples/projects/create-webhook.md b/app/sdks/js/docs/examples/projects/create-webhook.md index 1136c5eedf..66a76c26c2 100644 --- a/app/sdks/js/docs/examples/projects/create-webhook.md +++ b/app/sdks/js/docs/examples/projects/create-webhook.md @@ -4,7 +4,7 @@ sdk .setProject('') ; -let promise = sdk.projects.createWebhook('[PROJECT_ID]', '[NAME]', [], '[URL]', 1); +let promise = sdk.projects.createWebhook('[PROJECT_ID]', '[NAME]', [], '[URL]', 0); promise.then(function (response) { console.log(response); diff --git a/app/sdks/js/docs/examples/projects/update-webhook.md b/app/sdks/js/docs/examples/projects/update-webhook.md index ce876d5a64..f580952533 100644 --- a/app/sdks/js/docs/examples/projects/update-webhook.md +++ b/app/sdks/js/docs/examples/projects/update-webhook.md @@ -4,7 +4,7 @@ sdk .setProject('') ; -let promise = sdk.projects.updateWebhook('[PROJECT_ID]', '[WEBHOOK_ID]', '[NAME]', [], '[URL]', 0); +let promise = sdk.projects.updateWebhook('[PROJECT_ID]', '[WEBHOOK_ID]', '[NAME]', [], '[URL]', 1); promise.then(function (response) { console.log(response); diff --git a/app/sdks/node/docs/examples/projects/create-task.md b/app/sdks/node/docs/examples/projects/create-task.md index fda7179388..8923742294 100644 --- a/app/sdks/node/docs/examples/projects/create-task.md +++ b/app/sdks/node/docs/examples/projects/create-task.md @@ -10,7 +10,7 @@ client .setKey('') ; -let promise = projects.createTask('[PROJECT_ID]', '[NAME]', 'play', '', 1, 'GET', 'https://example.com'); +let promise = projects.createTask('[PROJECT_ID]', '[NAME]', 'play', '', 0, 'GET', 'https://example.com'); promise.then(function (response) { console.log(response); diff --git a/app/sdks/php/docs/examples/projects/create-task.md b/app/sdks/php/docs/examples/projects/create-task.md index 436ebc6f06..fab9e27653 100644 --- a/app/sdks/php/docs/examples/projects/create-task.md +++ b/app/sdks/php/docs/examples/projects/create-task.md @@ -12,4 +12,4 @@ $client $projects = new Projects($client); -$result = $projects->createTask('[PROJECT_ID]', '[NAME]', 'play', '', 1, 'GET', 'https://example.com'); \ No newline at end of file +$result = $projects->createTask('[PROJECT_ID]', '[NAME]', 'play', '', 0, 'GET', 'https://example.com'); \ No newline at end of file diff --git a/app/sdks/php/docs/examples/projects/update-task.md b/app/sdks/php/docs/examples/projects/update-task.md index 59308c5d6d..0d9f3fb7a6 100644 --- a/app/sdks/php/docs/examples/projects/update-task.md +++ b/app/sdks/php/docs/examples/projects/update-task.md @@ -12,4 +12,4 @@ $client $projects = new Projects($client); -$result = $projects->updateTask('[PROJECT_ID]', '[TASK_ID]', '[NAME]', 'play', '', 0, 'GET', 'https://example.com'); \ No newline at end of file +$result = $projects->updateTask('[PROJECT_ID]', '[TASK_ID]', '[NAME]', 'play', '', 1, 'GET', 'https://example.com'); \ No newline at end of file diff --git a/app/sdks/php/docs/examples/projects/update-webhook.md b/app/sdks/php/docs/examples/projects/update-webhook.md index 6f176a01fb..a7e42dcce2 100644 --- a/app/sdks/php/docs/examples/projects/update-webhook.md +++ b/app/sdks/php/docs/examples/projects/update-webhook.md @@ -12,4 +12,4 @@ $client $projects = new Projects($client); -$result = $projects->updateWebhook('[PROJECT_ID]', '[WEBHOOK_ID]', '[NAME]', [], '[URL]', 1); \ No newline at end of file +$result = $projects->updateWebhook('[PROJECT_ID]', '[WEBHOOK_ID]', '[NAME]', [], '[URL]', 0); \ No newline at end of file diff --git a/composer.lock b/composer.lock index 3d9d1aabdc..365bdd5a2d 100644 --- a/composer.lock +++ b/composer.lock @@ -12,12 +12,12 @@ "source": { "type": "git", "url": "https://github.com/appwrite/sdk-for-php.git", - "reference": "bc702c165342f3d943e17d580ab3eb66e100eb44" + "reference": "ab0fe8f5669e6a8fc7a8d5e8c711f939412fb33e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/bc702c165342f3d943e17d580ab3eb66e100eb44", - "reference": "bc702c165342f3d943e17d580ab3eb66e100eb44", + "url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/ab0fe8f5669e6a8fc7a8d5e8c711f939412fb33e", + "reference": "ab0fe8f5669e6a8fc7a8d5e8c711f939412fb33e", "shasum": "" }, "require": { @@ -39,7 +39,7 @@ "BSD-3-Clause" ], "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)", - "time": "2019-10-03T17:57:02+00:00" + "time": "2019-10-03T22:07:26+00:00" }, { "name": "appwrite/php-clamav", @@ -92,7 +92,7 @@ "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator", - "reference": "e0cfa4cb8d45b3faf8222f4e7f803f3054431ce8" + "reference": "0ece44cf81c04ebb8784a60830b088238189ec78" }, "require": { "ext-curl": "*", @@ -122,7 +122,7 @@ } ], "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", - "time": "2019-10-03 22:01:52" + "time": "2019-10-04 05:50:53" }, { "name": "bacon/bacon-qr-code", From 9042bfd826146283c30dea9f70ee27256b0acf8b Mon Sep 17 00:00:00 2001 From: Niladri Dutta Date: Fri, 4 Oct 2019 18:04:00 +0000 Subject: [PATCH 10/23] Add Norwegian translation --- app/config/locale/no.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/config/locale/no.php diff --git a/app/config/locale/no.php b/app/config/locale/no.php new file mode 100644 index 0000000000..c09fe5d521 --- /dev/null +++ b/app/config/locale/no.php @@ -0,0 +1,21 @@ + '"Kunsten å være klok er kunsten å vite hva man skal overse."', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'no', + 'settings.direction' => 'ltr', + + // Service - Users + 'auth.emails.team' => '%s Team', + 'auth.emails.confirm.title' => 'Bekreftelse av konto', + 'auth.emails.confirm.body' => 'no.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Reset passord', + 'auth.emails.recovery.body' => 'no.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Invitasjon til %s Team på %s', + 'auth.emails.invitation.body' => 'no.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Ukjent', + + 'countries' => include 'no.countries.php', + 'continents' => include 'no.continents.php', +]; From d0e79d550fba06c8abff30bad700b0410108c26e Mon Sep 17 00:00:00 2001 From: estim Date: Sat, 5 Oct 2019 00:25:02 +0300 Subject: [PATCH 11/23] Create lt.php --- app/config/locale/lt.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app/config/locale/lt.php diff --git a/app/config/locale/lt.php b/app/config/locale/lt.php new file mode 100644 index 0000000000..0ff7ab770e --- /dev/null +++ b/app/config/locale/lt.php @@ -0,0 +1,16 @@ + '"Menas būti išmintingu — tai menas žinoti, ką galima paniekti."', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'lt', + 'settings.direction' => 'ltr', + 'auth.emails.team' => 'Komanda %s', + 'auth.emails.confirm.title' => 'Paskyros patvirtinimas', + 'auth.emails.confirm.body' => 'lt.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Atnaujinti slaptažodį', + 'auth.emails.recovery.body' => 'lt.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Pakeisti į komandą %s projektui %s', + 'auth.emails.invitation.body' => 'lt.email.auth.invitation.tpl', + 'locale.country.unknown' => 'Nežinoma', + 'countries' => include 'lt.countries.php', + 'continents' => include 'lt.continents.php', +]; From aaee177396e8fc627086da1530602b0dbd3347bf Mon Sep 17 00:00:00 2001 From: estim Date: Sat, 5 Oct 2019 00:27:47 +0300 Subject: [PATCH 12/23] Create lt.continents.php --- app/config/locale/lt.continents.php | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/config/locale/lt.continents.php diff --git a/app/config/locale/lt.continents.php b/app/config/locale/lt.continents.php new file mode 100644 index 0000000000..0fb4f37b72 --- /dev/null +++ b/app/config/locale/lt.continents.php @@ -0,0 +1,10 @@ + 'Afrika', + 'AN' => 'Antarktida', + 'AS' => 'Azija', + 'EU' => 'Europa', + 'NA' => 'Šiaurės Amerika', + 'OC' => 'Okeanija', + 'SA' => 'Pietų Amerika', +]; From 0c0d914fc333a676d2cf4716b3b0e58bc2fba55e Mon Sep 17 00:00:00 2001 From: estim Date: Sat, 5 Oct 2019 00:33:45 +0300 Subject: [PATCH 13/23] Create lt.countries.php --- app/config/locale/lt.countries.php | 197 +++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100644 app/config/locale/lt.countries.php diff --git a/app/config/locale/lt.countries.php b/app/config/locale/lt.countries.php new file mode 100644 index 0000000000..c644f6f7d4 --- /dev/null +++ b/app/config/locale/lt.countries.php @@ -0,0 +1,197 @@ + 'Afganistanas', + 'AO' => 'Angola', + 'AL' => 'Albanija', + 'AD' => 'Andora', + 'AE' => 'Jungtiniai Arabų Emyratai', + 'AR' => 'Argentina', + 'AM' => 'Armėnija', + 'AG' => 'Antigva ir Barbuda', + 'AU' => 'Australija', +    'AT' => 'Austrija', +    'AZ' => 'Azerbaidžanas', +    'BI' => 'Burundi', +    'BE' => 'Belgija', +    'BJ' => 'Beninas', +    'BF' => 'Burkina Faso', +    'BD' => 'Bangladešas', +    'BG' => 'Bulgarija', +    'BH' => 'Bahreinas', +    'BS' => 'Bahamai', +    'BA' => 'Bosnija ir Hercegovina', +    'BY' => 'Baltarusija', +    'BZ' => 'Baileys', +    'BO' => 'Bolivija', +    'BR' => 'Brazilija', +    'BB' => 'Barbadosas', +    'BN' => 'Brunėjus', +    'BT' => 'Butanas', +    'BW' => 'Botsvana', +    'CF' => 'Centrinės Afrikos Respublika', +    'CA' => 'Kanada', +    'CH' => 'Šveicarija', +    'CL' => 'Čilė', +    'CN' => 'Kinija', +    'CI' => 'Dramblio Kaulo Krantas', +    'CM' => 'Kamerūnas', +    'CD' => 'Kongo Demokratinė Respublika', +    'CG' => 'Kongo Respublika', +    'CO' => 'Kolumbija', +    'KM' => 'Komorai', +    'CV' => 'Žaliasis Kyšulys', +    'CR' => 'Kosta Rika', +    'CU' => 'Kuba', +    'CY' => 'Kipras', +    'CZ' => 'Čekija', +    'DE' => 'Vokietija', +    'DJ' => 'Džibutis', +    'DM' => 'Dominika', +    'DK' => 'Danija', +    'DO' => 'Dominikos Respublika', +    'DZ' => 'Alžyras', +    'EC' => 'Ekvadoras', +    'EG' => 'Egiptas', +    'ER' => 'Eritrėja', +    'ES' => 'Ispanija', +    'EE' => 'Estija', +    'ET' => 'Etiopija', +    'FI' => 'Suomija', +    'FJ' => 'Fidžis', +    'FR' => 'Prancūzija', +    'FM' => 'Mikronezija', +    'GA' => 'Gabonas', +    'GB' => 'Jungtinė Karalystė', +    'GE' => 'Gruzija', +    'GH' => 'Gana', +    'GN' => 'Gvinėja', +    'GM' => 'Gambija', +    'GW' => 'Bisau Gvinėja', +    'GQ' => 'Pusiaujo Gvinėja', +    'GR' => 'Graikija', +    'GD' => 'Grenada', +    'GT' => 'Gvatemala', +    'GY' => 'Gajana ", +    'HN' => 'Hondūras', +    'HR' => 'Kroatija', +    'HT' => 'Haitis', +    'HU' => 'Vengrija', +    'ID' => 'Indonezija', +    'IN' => 'Indija', +    'IE' => 'Airija', +    'IR' => 'Iranas', +    'IQ' => 'Irakas', +    'IS' => 'Islandija', +    'IL' => 'Izraelis', +    'IT' => 'Italija', +    'JM' => 'Jamaika', +    'JO' => 'Jordanija', +    'JP' => 'Japonija', +    'KZ' => 'Kazachstanas', +    'KE' => 'Kenija', +    'KG' => 'Kirgizija', +    'KH' => 'Kambodža', +    'KI' => 'Kiribati', +    'KN' => 'Sent Kitsas ir Nevis', +    'KR' => 'Pietų Korėja', +    'KW' => 'Kuveitas', +    'LA' => 'Laosas', +    'LB' => 'Libanas', +    'LR' => 'Liberija', +    'LY' => 'Libija', +    'LC' => 'Sent Lusija', +    'LI' => 'Lichtenšteinas', +    'LK' => 'Šri Lanka', +    'LS' => 'Lesotas', +    'LT' => 'Lietuva', +    'LU' => 'Liuksemburgas', +    'LV' => 'Latvija', +    'MA' => 'Marokas', +    'MC' => 'Monaco', +    'MD' => 'Moldova', +    'MG' => 'Madagaskaras', +    'MV' => 'Maldyvai', +    'MX' => 'Meksika', +    'MH' => 'Maršalo salos', +    'MK' => 'Makedonija', +    'ML' => 'Malis', +    'MT' => 'Malta', +    'MM' => 'Mianmaras', +    'ME' => 'Juodkalnija', +    'MN' => 'Mongolija', +    'MZ' => 'Mozambikas', +    'MR' => 'Mauritanija', +    'MU' => 'Mauricijus', +    'MW' => 'Malavis', +    'MY' => 'Malaizija', +    'NA' => 'Namibija', +    'NE' => 'Nigeris', +    'NG' => 'Nigerija', +    'NI' => 'Nikaragva', +    'NL' => 'Nyderlandai', +    'NE' => 'Norvegija', +    'NP' => 'Nepalas', +    'NR' => 'Nauru', +    'NZ' => 'Naujoji Zelandija', +    'OM' => 'Omanas', +    'PK' => 'Pakistanas', +    'PA' => 'Panama', +    'PE' => 'Peru', +    'PH' => 'Filipinai', +    'PW' => 'Palau', +    'PG' => 'Papua Naujoji Gvinėja', +    'PL' => 'Lenkija', +    'KP' => 'Šiaurės Korėja', +    'PT' => 'Portugalija', +    'PY' => 'Paragvajus', +    'QA' => 'Qatar', +    'RO' => 'Rumunija', +    'RU' => 'Rusija', +    'RW' => 'Ruanda', +    'SA' => 'Saudo Arabija', +    'SD' => 'Sudanas', +    'SN' => 'Senegalas', +    'SG' => 'Singapūras', +    'SB' => 'Saliamono Salos', +    'SL' => 'Siera Leonė', +    'SV' => 'Salvadoras', +    'SM' => 'San Marino', +    'SO' => 'Somalis', +    'RS' => 'Serbija', +    'SS' => 'Pietų Sudanas', +    'ST' => 'San Tomė ir Prinsipė', +    'SR' => 'Surinamas', +    'SK' => 'Slovakija', +    'SI' => 'Slovėnija', +    'SE' => 'Švedija', +    'SZ' => 'Svazilandas', +    'SC' => 'Seišeliai', +    'SY' => 'Sirija', +    'TD' => 'Chadas', +    'TG' => 'Togo', +    'TH' => 'Tailandas', +    'TJ' => 'Tadžikistanas', +    'TM' => 'Turkmėnistanas', +    'TL' => 'Rytų Timoras', +    'TO' => 'Tonga', +    'TT' => 'Trinidadas ir Tobagas', +    'TN' => 'Tunisas', +    'TR' => 'Turkija', +    'TV' => 'Tuvalu', +    'TZ' => 'Tanzanija', +    'UG' => 'Uganda', +    'UA' => 'Ukraina', +    'UY' => 'Urugvajus', +    'US' => 'JAV', +    'UZ' => 'Uzbekistanas', +    'VA' => 'Vatikanas', +    'VC' => 'Sent Vinsentas ir Grenadinai', +    'VE' => 'Venesuela', +    'VN' => 'Vietnamas', +    'VU' => 'Vanuatu', +    'WS' => 'Samoa', +    'YE' => 'Jemenas', +    'ZA' => 'Pietų Afrika', +    'ZM' => 'Zambija', +    'ZW' => 'Zimbabvė', +]; From 28fbd5eae48c012240fdb9feac664ca77f17b73f Mon Sep 17 00:00:00 2001 From: estim Date: Sat, 5 Oct 2019 00:37:01 +0300 Subject: [PATCH 14/23] Create lt.email.auth.confirm.tpl --- .../templates/lt.email.auth.confirm.tpl | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/config/locale/templates/lt.email.auth.confirm.tpl diff --git a/app/config/locale/templates/lt.email.auth.confirm.tpl b/app/config/locale/templates/lt.email.auth.confirm.tpl new file mode 100644 index 0000000000..42dbd28846 --- /dev/null +++ b/app/config/locale/templates/lt.email.auth.confirm.tpl @@ -0,0 +1,27 @@ + + +
+ Sveiki, +
+
+ Šis laiškas buvo išsiųstas dėl to, kad {{owner}} kviečia tapti komandos {{team}} nariu projekte {{project}}. +
+
+ Paspauskite nuorodą, kad prisijungti prie komandos {{team}} : +
+ {{redirect}} +
+
+ Jeigu jums neįdomu, ignoruokite šį pranešimą. +
+
+ Ačiū, +
+ komanda {{project}} +
From 7a6be6d2448faa94b5c62cb2dda23c85b45be509 Mon Sep 17 00:00:00 2001 From: estim Date: Sat, 5 Oct 2019 00:40:46 +0300 Subject: [PATCH 15/23] Create lt.email.auth.recovery.tpl --- .../templates/lt.email.auth.recovery.tpl | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/config/locale/templates/lt.email.auth.recovery.tpl diff --git a/app/config/locale/templates/lt.email.auth.recovery.tpl b/app/config/locale/templates/lt.email.auth.recovery.tpl new file mode 100644 index 0000000000..7aba4cd2ce --- /dev/null +++ b/app/config/locale/templates/lt.email.auth.recovery.tpl @@ -0,0 +1,24 @@ + + +
+ Sveiki, {{name}}, +
+
+ Paspauskite nuorodą, kad pakeisti slaptožodį projektui {{project}}. +
+ {{redirect}} +
+
+ Jei neprašėte atkurti slaptažodžio, ignoruokite šį laišką. +
+
+ Ačiū, +
+ komanda {{project}} +
From b3f6c9f51eab452b276807a337caf5fb526cb45c Mon Sep 17 00:00:00 2001 From: estim Date: Sat, 5 Oct 2019 00:41:18 +0300 Subject: [PATCH 16/23] Update lt.email.auth.confirm.tpl --- app/config/locale/templates/lt.email.auth.confirm.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/locale/templates/lt.email.auth.confirm.tpl b/app/config/locale/templates/lt.email.auth.confirm.tpl index 42dbd28846..0c40a3cbc3 100644 --- a/app/config/locale/templates/lt.email.auth.confirm.tpl +++ b/app/config/locale/templates/lt.email.auth.confirm.tpl @@ -18,7 +18,7 @@ {{redirect}}

- Jeigu jums neįdomu, ignoruokite šį pranešimą. + Jei Jums neįdomu, ignoruokite šį laišką.

Ačiū, From 52f6ae29a85d1148b22aceb43fe2cda122e49a1d Mon Sep 17 00:00:00 2001 From: estim Date: Sat, 5 Oct 2019 00:42:29 +0300 Subject: [PATCH 17/23] Rename lt.email.auth.confirm.tpl to lt.email.auth.invitation.tpl --- .../{lt.email.auth.confirm.tpl => lt.email.auth.invitation.tpl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename app/config/locale/templates/{lt.email.auth.confirm.tpl => lt.email.auth.invitation.tpl} (100%) diff --git a/app/config/locale/templates/lt.email.auth.confirm.tpl b/app/config/locale/templates/lt.email.auth.invitation.tpl similarity index 100% rename from app/config/locale/templates/lt.email.auth.confirm.tpl rename to app/config/locale/templates/lt.email.auth.invitation.tpl From b5896799abd5d2b6297f486ff0199b445b4bd03e Mon Sep 17 00:00:00 2001 From: estim Date: Sat, 5 Oct 2019 00:43:59 +0300 Subject: [PATCH 18/23] Create lt.email.auth.confirm.tpl --- .../templates/lt.email.auth.confirm.tpl | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/config/locale/templates/lt.email.auth.confirm.tpl diff --git a/app/config/locale/templates/lt.email.auth.confirm.tpl b/app/config/locale/templates/lt.email.auth.confirm.tpl new file mode 100644 index 0000000000..f1bc439b11 --- /dev/null +++ b/app/config/locale/templates/lt.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Sveiki, {{name}}, +
+
+ Paspauskite nuorodą, kad patvirtinti savo el. paštą. +
+ {{redirect}} +
+
+ Jei neprašėte el. pašto patvirtinimo, ignoruokite šį laišką +
+
+ Ačiū, +
+ komanda {{project}} +
From e6c36fd2fa58a209c224be76f5aefe4e42e4ff03 Mon Sep 17 00:00:00 2001 From: estim Date: Sat, 5 Oct 2019 00:46:18 +0300 Subject: [PATCH 19/23] Update lt.countries.php --- app/config/locale/lt.countries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/locale/lt.countries.php b/app/config/locale/lt.countries.php index c644f6f7d4..4a80d3f129 100644 --- a/app/config/locale/lt.countries.php +++ b/app/config/locale/lt.countries.php @@ -71,7 +71,7 @@ return [     'GR' => 'Graikija',     'GD' => 'Grenada',     'GT' => 'Gvatemala', -    'GY' => 'Gajana ", +    'GY' => 'Gajana',     'HN' => 'Hondūras',     'HR' => 'Kroatija',     'HT' => 'Haitis', From 0e1f4a2968b805df2b16265d9512eaf07a5d2212 Mon Sep 17 00:00:00 2001 From: eldadfux Date: Sat, 5 Oct 2019 08:44:10 +0300 Subject: [PATCH 20/23] Changed zh locale to zh-cn --- ...zh.email.auth.confirm.tpl => zh-cn.email.auth.confirm.tpl} | 0 ...il.auth.invitation.tpl => zh-cn.email.auth.invitation.tpl} | 0 ....email.auth.recovery.tpl => zh-cn.email.auth.recovery.tpl} | 0 app/config/locale/{zh.continents.php => zh-cn.continents.php} | 0 app/config/locale/{zh.countries.php => zh-cn.countries.php} | 0 app/config/locale/{zh.php => zh-cn.php} | 0 app/init.php | 4 ++-- 7 files changed, 2 insertions(+), 2 deletions(-) rename app/config/locale/templates/{zh.email.auth.confirm.tpl => zh-cn.email.auth.confirm.tpl} (100%) rename app/config/locale/templates/{zh.email.auth.invitation.tpl => zh-cn.email.auth.invitation.tpl} (100%) rename app/config/locale/templates/{zh.email.auth.recovery.tpl => zh-cn.email.auth.recovery.tpl} (100%) rename app/config/locale/{zh.continents.php => zh-cn.continents.php} (100%) rename app/config/locale/{zh.countries.php => zh-cn.countries.php} (100%) rename app/config/locale/{zh.php => zh-cn.php} (100%) diff --git a/app/config/locale/templates/zh.email.auth.confirm.tpl b/app/config/locale/templates/zh-cn.email.auth.confirm.tpl similarity index 100% rename from app/config/locale/templates/zh.email.auth.confirm.tpl rename to app/config/locale/templates/zh-cn.email.auth.confirm.tpl diff --git a/app/config/locale/templates/zh.email.auth.invitation.tpl b/app/config/locale/templates/zh-cn.email.auth.invitation.tpl similarity index 100% rename from app/config/locale/templates/zh.email.auth.invitation.tpl rename to app/config/locale/templates/zh-cn.email.auth.invitation.tpl diff --git a/app/config/locale/templates/zh.email.auth.recovery.tpl b/app/config/locale/templates/zh-cn.email.auth.recovery.tpl similarity index 100% rename from app/config/locale/templates/zh.email.auth.recovery.tpl rename to app/config/locale/templates/zh-cn.email.auth.recovery.tpl diff --git a/app/config/locale/zh.continents.php b/app/config/locale/zh-cn.continents.php similarity index 100% rename from app/config/locale/zh.continents.php rename to app/config/locale/zh-cn.continents.php diff --git a/app/config/locale/zh.countries.php b/app/config/locale/zh-cn.countries.php similarity index 100% rename from app/config/locale/zh.countries.php rename to app/config/locale/zh-cn.countries.php diff --git a/app/config/locale/zh.php b/app/config/locale/zh-cn.php similarity index 100% rename from app/config/locale/zh.php rename to app/config/locale/zh-cn.php diff --git a/app/init.php b/app/init.php index 5b6a68935c..fbc088f492 100644 --- a/app/init.php +++ b/app/init.php @@ -24,7 +24,7 @@ const APP_EMAIL_TEAM = 'team@'.APP_DOMAIN; const APP_EMAIL_SECURITY = 'security@'.APP_DOMAIN; const APP_USERAGENT = APP_NAME.'-Server/%s Please report abuse at '.APP_EMAIL_SECURITY; const APP_MODE_ADMIN = 'admin'; -const APP_LOCALES = ['cat', 'de', 'en', 'es', 'fi', 'fr', 'gr', 'he', 'hi', 'id', 'it', 'nl', /* 'no',*/ 'pt-br', 'pt-pt', 'ro', 'tr', 'ua', 'zh', 'zh-tw']; +const APP_LOCALES = ['cat', 'de', 'en', 'es', 'fi', 'fr', 'gr', 'he', 'hi', 'id', 'it', 'nl', 'no', 'pt-br', 'pt-pt', 'ro', 'tr', 'ua', 'zh-cn', 'zh-tw']; const APP_PAGING_LIMIT = 15; const APP_VERSION_STABLE = '0.2.0'; @@ -147,7 +147,7 @@ Locale::setLanguage('ro', include __DIR__.'/config/locale/ro.php'); Locale::setLanguage('ru', include __DIR__ . '/config/locale/ru.php'); Locale::setLanguage('tr', include __DIR__.'/config/locale/tr.php'); Locale::setLanguage('ua', include __DIR__.'/config/locale/ua.php'); -Locale::setLanguage('zh', include __DIR__.'/config/locale/zh.php'); +Locale::setLanguage('zh-cn', include __DIR__.'/config/locale/zh-cn.php'); Locale::setLanguage('zh-tw', include __DIR__.'/config/locale/zh-tw.php'); if (in_array($locale, APP_LOCALES)) { From d35c8bfbe391cb55cb84a3a3d89069154862a2a3 Mon Sep 17 00:00:00 2001 From: eldadfux Date: Sat, 5 Oct 2019 08:44:15 +0300 Subject: [PATCH 21/23] Updated changelog --- CHANGES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 2e18e89e9a..2945388879 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,12 +2,13 @@ ## Planned Issues -* Added 7 new locales for locale service and email templates (af_ZA, cz, hu, no*, ru, sv, ta, vi, zh) +* Added 7 new locales for locale service and email templates (af, cz, hu, lt, no, ru, sv, ta, vi, zh-cn, zh-tw) * New users service routes to allow updates pref, email and name update * 2 stage Docker build * New database rule validation options * Update docs example with auth info * Limit HTTP origin check only to browser integrations +* Allow electron apps to not pass origin header # Version 0.2.0 (PRE-RELEASE) From 0ab14494024be3042fd2f226f7d315c0e2cf9aec Mon Sep 17 00:00:00 2001 From: eldadfux Date: Sat, 5 Oct 2019 08:57:00 +0300 Subject: [PATCH 22/23] Fix for broken CI --- app/config/locale/zh-cn.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/locale/zh-cn.php b/app/config/locale/zh-cn.php index b4499416fe..5f56d10df3 100644 --- a/app/config/locale/zh-cn.php +++ b/app/config/locale/zh-cn.php @@ -16,6 +16,6 @@ return [ 'locale.country.unknown' => '未知', - 'countries' => include 'zh.countries.php', - 'continents' => include 'zh.continents.php', + 'countries' => include 'zh-cn.countries.php', + 'continents' => include 'zh-cn.continents.php', ]; From 4b88f319a8ee6919009f6c6eb24d3d71a7725c5d Mon Sep 17 00:00:00 2001 From: Dima Grossman Date: Sat, 5 Oct 2019 10:05:28 +0300 Subject: [PATCH 23/23] Add follow new releases badge Added a badge so people can be notified when appwrite releases new versions and awesome features. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fd3227e5f9..76f8bc1f7f 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ [![Chat With Us](https://img.shields.io/gitter/room/appwrite/community.svg)](https://gitter.im/appwrite/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link) [![Build Status](https://travis-ci.org/appwrite/appwrite.svg?branch=master)](https://travis-ci.org/appwrite/appwrite) [![Follow Appwrite on StackShare](https://img.stackshare.io/misc/follow-on-stackshare-badge.svg)](https://stackshare.io/appwrite) +[![Follow new releases](https://app.releasly.co/assets/badges/badge-blue.svg)](https://app.releasly.co/sites/appwrite/appwrite?utm_source=github_badge) ---