From 902fbb588bd3bb2103a2fb7ea1f3c5ceba525bb8 Mon Sep 17 00:00:00 2001 From: chaaarles Date: Thu, 26 Sep 2019 15:04:36 +0200 Subject: [PATCH 01/76] #25 Translate Locale and templates to Norwegian --- app/config/locale/no.continents.php | 11 + app/config/locale/no.countries.php | 198 ++++++++++++++++++ .../templates/no.email.auth.confirm.tpl | 24 +++ .../templates/no.email.auth.invitation.tpl | 28 +++ .../templates/no.email.auth.recovery.tpl | 25 +++ 5 files changed, 286 insertions(+) create mode 100644 app/config/locale/no.continents.php create mode 100644 app/config/locale/no.countries.php create mode 100644 app/config/locale/templates/no.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/no.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/no.email.auth.recovery.tpl diff --git a/app/config/locale/no.continents.php b/app/config/locale/no.continents.php new file mode 100644 index 000000000..27664083b --- /dev/null +++ b/app/config/locale/no.continents.php @@ -0,0 +1,11 @@ + 'Afrika', + 'AN' => 'Antarktis', + 'AS' => 'Asia', + 'EU' => 'Europa', + 'NA' => 'Nord-Amerika', + 'OC' => 'Oseania', + 'SA' => 'Sør-Amerika', +]; diff --git a/app/config/locale/no.countries.php b/app/config/locale/no.countries.php new file mode 100644 index 000000000..7f96c0c55 --- /dev/null +++ b/app/config/locale/no.countries.php @@ -0,0 +1,198 @@ + 'Afghanistan', + 'AO' => 'Angola', + 'AL' => 'Albania', + 'AD' => 'Andorra', + 'AE' => 'De forente arabiske emirater', + 'AR' => 'Argentina', + 'AM' => 'Armenia', + 'AG' => 'Antigua og Barbuda', + 'AU' => 'Australia', + 'AT' => 'Østerrike', + 'AZ' => 'Aserbajdsjan', + 'BI' => 'Burundi', + 'BE' => 'Belgia', + 'BJ' => 'Benin', + 'BF' => 'Burkina Faso', + 'BD' => 'Bangladesh', + 'BG' => 'Bulgaria', + 'BH' => 'Bahrain', + 'BS' => 'Bahamas', + 'BA' => 'Bosnia-Hercegovina', + 'BY' => 'Hviterussland', + 'BZ' => 'Belize', + 'BO' => 'Bolivia', + 'BR' => 'Brasil', + 'BB' => 'Barbados', + 'BN' => 'Brunei Darussalam', + 'BT' => 'Bhutan', + 'BW' => 'Botswana', + 'CF' => 'Den sentralafrikanske republikk', + 'CA' => 'Canada', + 'CH' => 'Sveits', + 'CL' => 'Chile', + 'CN' => 'Kina', + 'CI' => 'Elfenbenskysten', + 'CM' => 'Kamerun', + 'CD' => 'Den demokratiske republikken Kongo', + 'CG' => 'Republikken Kongo', + 'CO' => 'Colombia', + 'KM' => 'Komorene', + 'CV' => 'Kapp Verde', + 'CR' => 'Costa Rica', + 'CU' => 'Cuba', + 'CY' => 'Kypros', + 'CZ' => 'Tjekkia', + 'DE' => 'Tyskland', + 'DJ' => 'Djibouti', + 'DM' => 'Dominica', + 'DK' => 'Danmark', + 'DO' => 'Den dominikanske republikk', + 'DZ' => 'Algerie', + 'EC' => 'Ecuador', + 'EG' => 'Egypt', + 'ER' => 'Eritrea', + 'ES' => 'Spania', + 'EE' => 'Estland', + 'ET' => 'Etiopia', + 'FI' => 'Finland', + 'FJ' => 'Fiji', + 'FR' => 'Frankrike', + 'FM' => 'Mikronesia', + 'GA' => 'Gabon', + 'GB' => 'Storbritannia', + 'GE' => 'Georgia', + 'GH' => 'Ghana', + 'GN' => 'Guinea', + 'GM' => 'Gambia', + 'GW' => 'Guinea-Bissau', + 'GQ' => 'Ekvatorial-Guinea', + 'GR' => 'Hellas', + 'GD' => 'Grenada', + 'GT' => 'Guatemala', + 'GY' => 'Guyana', + 'HN' => 'Honduras', + 'HR' => 'Kroatia', + 'HT' => 'Haiti', + 'HU' => 'Ungarn', + 'ID' => 'Indonesia', + 'IN' => 'India', + 'IE' => 'Irland', + 'IR' => 'Iran', + 'IQ' => 'Irak', + 'IS' => 'Island', + 'IL' => 'Israel', + 'IT' => 'Italia', + 'JM' => 'Jamaica', + 'JO' => 'Jordan', + 'JP' => 'Japan', + 'KZ' => 'Kasakhstan', + 'KE' => 'Kenya', + 'KG' => 'Kirgisistan', + 'KH' => 'Kambodsja', + 'KI' => 'Kiribati', + 'KN' => 'Saint Kitts og Nevis', + 'KR' => 'Sør-Korea', + 'KW' => 'Kuwait', + 'LA' => 'Laos', + 'LB' => 'Libanon', + 'LR' => 'Liberia', + 'LY' => 'Libya', + 'LC' => 'Saint Lucia', + 'LI' => 'Liechtenstein', + 'LK' => 'Sri Lanka', + 'LS' => 'Lesotho', + 'LT' => 'Litauen', + 'LU' => 'Luxembourg', + 'LV' => 'Latvia', + 'MA' => 'Marokko', + 'MC' => 'Monaco', + 'MD' => 'Moldova', + 'MG' => 'Madagaskar', + 'MV' => 'Maldivene', + 'MX' => 'Mexico', + 'MH' => 'Marshalløyene', + 'MK' => 'Nord-Makedonia', + 'ML' => 'Mali', + 'MT' => 'Malta', + 'MM' => 'Myanmar', + 'ME' => 'Montenegro', + 'MN' => 'Mongolia', + 'MZ' => 'Mozambik', + 'MR' => 'Mauritania', + 'MU' => 'Mauritius', + 'MW' => 'Malawi', + 'MY' => 'Malaysia', + 'NA' => 'Namibia', + 'NE' => 'Niger', + 'NG' => 'Nigeria', + 'NI' => 'Nicaragua', + 'NL' => 'Nederland', + 'NO' => 'Norge', + 'NP' => 'Nepal', + 'NR' => 'Nauru', + 'NZ' => 'New Zealand', + 'OM' => 'Oman', + 'PK' => 'Pakistan', + 'PA' => 'Panama', + 'PE' => 'Peru', + 'PH' => 'Filippinene', + 'PW' => 'Palau', + 'PG' => 'Papua Ny-Guinea', + 'PL' => 'Polen', + 'KP' => 'Nord-Korea', + 'PT' => 'Portugal', + 'PY' => 'Paraguay', + 'QA' => 'Qatar', + 'RO' => 'Romania', + 'RU' => 'Russland', + 'RW' => 'Rwanda', + 'SA' => 'Saudi-Arabia', + 'SD' => 'Sudan', + 'SN' => 'Senegal', + 'SG' => 'Singapore', + 'SB' => 'Solomonøyene', + 'SL' => 'Sierra Leone', + 'SV' => 'El Salvador', + 'SM' => 'San Marino', + 'SO' => 'Somalia', + 'RS' => 'Serbia', + 'SS' => 'Sør-Sudan', + 'ST' => 'São Tomé og Príncipe', + 'SR' => 'Surinam', + 'SK' => 'Slovakia', + 'SI' => 'Slovenia', + 'SE' => 'Sverige', + 'SZ' => 'Swaziland', + 'SC' => 'Seychellene', + 'SY' => 'Syria', + 'TD' => 'Tsjad', + 'TG' => 'Togo', + 'TH' => 'Thailand', + 'TJ' => 'Tajikistan', + 'TM' => 'Turkmenistan', + 'TL' => 'Øst-Timor', + 'TO' => 'Tonga', + 'TT' => 'Trinidad og Tobago', + 'TN' => 'Tunisia', + 'TR' => 'Tyrkia', + 'TV' => 'Tuvalu', + 'TZ' => 'Tanzania', + 'UG' => 'Uganda', + 'UA' => 'Ukraina', + 'UY' => 'Uruguay', + 'US' => 'Amerikas forente stater', + 'UZ' => 'Usbekistan', + 'VA' => 'Vatikanstaten', + 'VC' => 'Saint Vincent og Grenadinene', + 'VE' => 'Venezuela', + 'VN' => 'Vietnam', + 'VU' => 'Vanuatu', + 'WS' => 'Samoa', + 'YE' => 'Jemen', + 'ZA' => 'Sør-Africa', + 'ZM' => 'Zambia', + 'ZW' => 'Zimbabwe', +]; diff --git a/app/config/locale/templates/no.email.auth.confirm.tpl b/app/config/locale/templates/no.email.auth.confirm.tpl new file mode 100644 index 000000000..abe17ff65 --- /dev/null +++ b/app/config/locale/templates/no.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Hei {{name}}, +
+
+ Følg denne lenken for å verifisere din e-postadresse. +
+ {{redirect}} +
+
+ Hvis du ikke har spurt om å verifisere din e-post, kan du ignorere denne meldingen. +
+
+ Hilsen, +
+ {{project}}-teamet +
\ No newline at end of file diff --git a/app/config/locale/templates/no.email.auth.invitation.tpl b/app/config/locale/templates/no.email.auth.invitation.tpl new file mode 100644 index 000000000..c56e913d3 --- /dev/null +++ b/app/config/locale/templates/no.email.auth.invitation.tpl @@ -0,0 +1,28 @@ + + +
+ Hei, +
+
+ Denne mailen ble sendt til deg fordi {{owner}} har invitert deg til å bli medlem av {{team}}-teamet på {{project}}. +
+
+ Follow this link to join the {{team}} team: + Følg denne lenken for å bli med på {{team}}-teamet: +
+ {{redirect}} +
+
+ Hvis du ikke er interresert kan du ignorere denne meldingen. +
+
+ Hilsen, +
+ {{project}}-teamet +
diff --git a/app/config/locale/templates/no.email.auth.recovery.tpl b/app/config/locale/templates/no.email.auth.recovery.tpl new file mode 100644 index 000000000..75b8be0e9 --- /dev/null +++ b/app/config/locale/templates/no.email.auth.recovery.tpl @@ -0,0 +1,25 @@ + + +
+ Hei {{name}}, +
+
+ Follow this link to reset your {{project}} password. + Følg denne lenken for å tilbakestille ditt {{project}}-passord. +
+ {{redirect}} +
+
+ Hvis du ikke har spurt om å tilbakestille passordet ditt, kan du ignorere denne meldingen. +
+
+ Hilsen, +
+ {{project}}-teamet +
From 492d64b6b90325d4c17c51152813566ada4f3d7f Mon Sep 17 00:00:00 2001 From: Bogdan Covrig Date: Sat, 28 Sep 2019 03:25:06 +0200 Subject: [PATCH 02/76] Add RO locale settings --- app/config/locale/ro.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/config/locale/ro.php diff --git a/app/config/locale/ro.php b/app/config/locale/ro.php new file mode 100644 index 000000000..c1669e6d2 --- /dev/null +++ b/app/config/locale/ro.php @@ -0,0 +1,21 @@ + '"Arta de a fi înţelept este arta de a intui ce trebuie trecut cu vederea."', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'ro', + 'settings.direction' => 'ltr', + + // Service - Users + 'auth.emails.team' => '%s Echipa', + 'auth.emails.confirm.title' => 'Confirmă Contul', + 'auth.emails.confirm.body' => 'ro.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Resetează Parola', + 'auth.emails.recovery.body' => 'ro.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Invitație în Echipa %s la %s', + 'auth.emails.invitation.body' => 'ro.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Necunoscut', + + 'countries' => include 'ro.countries.php', + 'continents' => include 'ro.continents.php', +]; From 2cae5446576e444cb549befd5866765cf913ce2b Mon Sep 17 00:00:00 2001 From: Bogdan Covrig Date: Sat, 28 Sep 2019 03:35:30 +0200 Subject: [PATCH 03/76] Add RO locale countries --- app/config/locale/ro.countries.php | 198 +++++++++++++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 app/config/locale/ro.countries.php diff --git a/app/config/locale/ro.countries.php b/app/config/locale/ro.countries.php new file mode 100644 index 000000000..6dc894d63 --- /dev/null +++ b/app/config/locale/ro.countries.php @@ -0,0 +1,198 @@ + 'Afghanistan', + 'AO' => 'Angola', + 'AL' => 'Albania', + 'AD' => 'Andorra', + 'AE' => 'Emiratele Arabe', + 'AR' => 'Argentina', + 'AM' => 'Armenia', + 'AG' => 'Antigua și Barbuda', + 'AU' => 'Australia', + 'AT' => 'Austria', + 'AZ' => 'Azerbaijan', + 'BI' => 'Burundi', + 'BE' => 'Belgia', + 'BJ' => 'Benin', + 'BF' => 'Burkina Faso', + 'BD' => 'Bangladesh', + 'BG' => 'Bulgaria', + 'BH' => 'Bahrain', + 'BS' => 'Bahamas', + 'BA' => 'Bosnia și Herzegovina', + 'BY' => 'Belarus', + 'BZ' => 'Belize', + 'BO' => 'Bolivia', + 'BR' => 'Brazilia', + 'BB' => 'Barbados', + 'BN' => 'Brunei', + 'BT' => 'Butan', + 'BW' => 'Botswana', + 'CF' => 'Republica Central Africană', + 'CA' => 'Canada', + 'CH' => 'Elveția', + 'CL' => 'Chile', + 'CN' => 'China', + 'CI' => 'Ivory', + 'CM' => 'Cameroon', + 'CD' => 'Congo', + 'CG' => 'Republica Congo', + 'CO' => 'Colombia', + 'KM' => 'Comoros', + 'CV' => 'Cape Verde', + 'CR' => 'Costa Rica', + 'CU' => 'Cuba', + 'CY' => 'Cipru', + 'CZ' => 'Cehia', + 'DE' => 'Germania', + 'DJ' => 'Djibouti', + 'DM' => 'Dominica', + 'DK' => 'Danemarca', + 'DO' => 'Republica Dominicană', + 'DZ' => 'Algeria', + 'EC' => 'Ecuador', + 'EG' => 'Egipt', + 'ER' => 'Eritrea', + 'ES' => 'Spaina', + 'EE' => 'Estonia', + 'ET' => 'Ethiopia', + 'FI' => 'Finlanda', + 'FJ' => 'Fiji', + 'FR' => 'Franța', + 'FM' => 'Micronesia', + 'GA' => 'Gabon', + 'GB' => 'Regatul Unit', + 'GE' => 'Georgia', + 'GH' => 'Ghana', + 'GN' => 'Guinea', + 'GM' => 'Gambia', + 'GW' => 'Guinea-Bissau', + 'GQ' => 'Guinea Ecuatorială', + 'GR' => 'Grecia', + 'GD' => 'Grenada', + 'GT' => 'Guatemala', + 'GY' => 'Guyana', + 'HN' => 'Honduras', + 'HR' => 'Croația', + 'HT' => 'Haiti', + 'HU' => 'Ungaria', + 'ID' => 'Indonesia', + 'IN' => 'India', + 'IE' => 'Irlanda', + 'IR' => 'Iran', + 'IQ' => 'Iraq', + 'IS' => 'Islanda', + 'IL' => 'Israel', + 'IT' => 'Italia', + 'JM' => 'Jamaica', + 'JO' => 'Jordan', + 'JP' => 'Japonia', + 'KZ' => 'Kazakhstan', + 'KE' => 'Kenya', + 'KG' => 'Kyrgyzstan', + 'KH' => 'Cambodia', + 'KI' => 'Kiribati', + 'KN' => 'Saint Kitts and Nevis', + 'KR' => 'Coreea de Sud', + 'KW' => 'Kuwait', + 'LA' => 'Laos', + 'LB' => 'Lebanon', + 'LR' => 'Liberia', + 'LY' => 'Libya', + 'LC' => 'Saint Lucia', + 'LI' => 'Liechtenstein', + 'LK' => 'Sri Lanka', + 'LS' => 'Lesotho', + 'LT' => 'Lituania', + 'LU' => 'Luxembourg', + 'LV' => 'Letonia', + 'MA' => 'Morocco', + 'MC' => 'Monaco', + 'MD' => 'Moldova', + 'MG' => 'Madagascar', + 'MV' => 'Maldive', + 'MX' => 'Mexico', + 'MH' => 'Insulele Marshall', + 'MK' => 'Macedonia', + 'ML' => 'Mali', + 'MT' => 'Malta', + 'MM' => 'Myanmar', + 'ME' => 'Muntenegro', + 'MN' => 'Mongolia', + 'MZ' => 'Mozambique', + 'MR' => 'Mauritania', + 'MU' => 'Mauritius', + 'MW' => 'Malawi', + 'MY' => 'Malaysia', + 'NA' => 'Namibia', + 'NE' => 'Niger', + 'NG' => 'Nigeria', + 'NI' => 'Nicaragua', + 'NL' => 'Olanda', + 'NO' => 'Norvegia', + 'NP' => 'Nepal', + 'NR' => 'Nauru', + 'NZ' => 'Noua Zeelandă', + 'OM' => 'Oman', + 'PK' => 'Pakistan', + 'PA' => 'Panama', + 'PE' => 'Peru', + 'PH' => 'Philippines', + 'PW' => 'Palau', + 'PG' => 'Papua Noua Guinea', + 'PL' => 'Polonia', + 'KP' => 'Coreea de Nord', + 'PT' => 'Portugalia', + 'PY' => 'Paraguay', + 'QA' => 'Qatar', + 'RO' => 'Romania', + 'RU' => 'Rusia', + 'RW' => 'Rwanda', + 'SA' => 'Arabia Saudită', + 'SD' => 'Sudan', + 'SN' => 'Senegal', + 'SG' => 'Singapore', + 'SB' => 'Insulele Solomon', + 'SL' => 'Sierra Leone', + 'SV' => 'El Salvador', + 'SM' => 'San Marino', + 'SO' => 'Somalia', + 'RS' => 'Serbia', + 'SS' => 'Sudanul de Sud', + 'ST' => 'São Tomé și Príncipe', + 'SR' => 'Suriname', + 'SK' => 'Slovakia', + 'SI' => 'Slovenia', + 'SE' => 'Suedia', + 'SZ' => 'Swaziland', + 'SC' => 'Seychelles', + 'SY' => 'Syria', + 'TD' => 'Chad', + 'TG' => 'Togo', + 'TH' => 'Tailanda', + 'TJ' => 'Tajikistan', + 'TM' => 'Turkmenistan', + 'TL' => 'Timor-Leste', + 'TO' => 'Tonga', + 'TT' => 'Trinidad și Tobago', + 'TN' => 'Tunisia', + 'TR' => 'Turcia', + 'TV' => 'Tuvalu', + 'TZ' => 'Tanzania', + 'UG' => 'Uganda', + 'UA' => 'Ucraina', + 'UY' => 'Uruguay', + 'US' => 'Statele Unite ale Americii', + 'UZ' => 'Uzbekistan', + 'VA' => 'Vatican', + 'VC' => 'Saint Vincent și Grenadines', + 'VE' => 'Venezuela', + 'VN' => 'Vietnam', + 'VU' => 'Vanuatu', + 'WS' => 'Samoa', + 'YE' => 'Yemen', + 'ZA' => 'Africa de Sud', + 'ZM' => 'Zambia', + 'ZW' => 'Zimbabwe', +]; From 83812578a02585ee9ad0b391ae3c79f87a3114d6 Mon Sep 17 00:00:00 2001 From: Bogdan Covrig Date: Sat, 28 Sep 2019 03:37:39 +0200 Subject: [PATCH 04/76] Add RO locale continents --- app/config/locale/ro.continents.php | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/config/locale/ro.continents.php diff --git a/app/config/locale/ro.continents.php b/app/config/locale/ro.continents.php new file mode 100644 index 000000000..c876266b8 --- /dev/null +++ b/app/config/locale/ro.continents.php @@ -0,0 +1,11 @@ + 'Africa', + 'AN' => 'Antarctica', + 'AS' => 'Asia', + 'EU' => 'Europa', + 'NA' => 'America de Nord', + 'OC' => 'Oceania', + 'SA' => 'America de Sud', +]; From 4a0c8ca85fd869f7b9ab2b523cf45a83c292ebf2 Mon Sep 17 00:00:00 2001 From: Bogdan Covrig Date: Sat, 28 Sep 2019 03:40:03 +0200 Subject: [PATCH 05/76] Add RO locale email confirmation --- .../templates/ro.email.auth.confirm.tpl | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/config/locale/templates/ro.email.auth.confirm.tpl diff --git a/app/config/locale/templates/ro.email.auth.confirm.tpl b/app/config/locale/templates/ro.email.auth.confirm.tpl new file mode 100644 index 000000000..ccefc1d59 --- /dev/null +++ b/app/config/locale/templates/ro.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Salut {{name}}, +
+
+ Accesează linkul următor pentru a-ți confirma mailul. +
+ {{redirect}} +
+
+ Dacă nu ai solicitat acest mail, te rugăm frumos să îl ignori. +
+
+ Mulțumim, +
+ Echipa {{project}} +
From 5ee32729480754e668d7021b15ce86fb9b103eb3 Mon Sep 17 00:00:00 2001 From: Bogdan Covrig Date: Sat, 28 Sep 2019 03:42:33 +0200 Subject: [PATCH 06/76] Fixed RO locale email confirmation --- app/config/locale/templates/ro.email.auth.confirm.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/locale/templates/ro.email.auth.confirm.tpl b/app/config/locale/templates/ro.email.auth.confirm.tpl index ccefc1d59..e5672f6d9 100644 --- a/app/config/locale/templates/ro.email.auth.confirm.tpl +++ b/app/config/locale/templates/ro.email.auth.confirm.tpl @@ -10,7 +10,7 @@ Salut {{name}},

- Accesează linkul următor pentru a-ți confirma mailul. + Accesează link-ul următor pentru a-ți confirma mail-ul.
{{redirect}}
From 1d4d2324ae404a8d4e14a90bb919bdb78dbf1521 Mon Sep 17 00:00:00 2001 From: Bogdan Covrig Date: Sat, 28 Sep 2019 03:43:57 +0200 Subject: [PATCH 07/76] Add RO locale email invitation --- .../templates/ro.email.auth.invitation.tpl | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/config/locale/templates/ro.email.auth.invitation.tpl diff --git a/app/config/locale/templates/ro.email.auth.invitation.tpl b/app/config/locale/templates/ro.email.auth.invitation.tpl new file mode 100644 index 000000000..477ecfe84 --- /dev/null +++ b/app/config/locale/templates/ro.email.auth.invitation.tpl @@ -0,0 +1,27 @@ + + +
+ Salut, +
+
+ Ai primit acest mail deoarece {{owner}} te-a invitat să faci parte din echipa {{team}} în proiectul {{project}}. +
+
+ Accesează link-ul următor pentru a accepta invitația în echipa {{team}}: +
+ {{redirect}} +
+
+ Dacă nu ești interesat de această invitație, te rugăm frumos să o ignori. +
+
+ Cu drag, +
+ Echipa {{project}} +
From 21e75746a2fbbd53ab0b1c2871cf8360679f8523 Mon Sep 17 00:00:00 2001 From: Bogdan Covrig Date: Sat, 28 Sep 2019 03:45:21 +0200 Subject: [PATCH 08/76] Add RO locale email recovery --- .../templates/ro.email.auth.recovery.tpl | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/config/locale/templates/ro.email.auth.recovery.tpl diff --git a/app/config/locale/templates/ro.email.auth.recovery.tpl b/app/config/locale/templates/ro.email.auth.recovery.tpl new file mode 100644 index 000000000..2e934194b --- /dev/null +++ b/app/config/locale/templates/ro.email.auth.recovery.tpl @@ -0,0 +1,24 @@ + + +
+ Salut {{name}}, +
+
+ Accesează link-ul următor pentru a-ți reseta parola din proiectul {{project}}. +
+ {{redirect}} +
+
+ Dacă nu ai solicitat acest mail, te rugăm frumos să îl ignori. +
+
+ Cu drag, +
+ Echipa {{project}} +
From ac876c5d25b104bd9d96636702c8dbcce22aad30 Mon Sep 17 00:00:00 2001 From: Bogdan Covrig Date: Sat, 28 Sep 2019 03:48:50 +0200 Subject: [PATCH 09/76] Add RO locale in init configuration --- app/init.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/init.php b/app/init.php index fb23c9bdf..7e987fcae 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 = ['en', 'he']; +const APP_LOCALES = ['en', 'he', 'ro']; const APP_PAGING_LIMIT = 15; $register = new Registry(); @@ -115,7 +115,7 @@ $register->set('smtp', function() use ($request) { $mail->addReplyTo('team@appwrite.io', APP_NAME . ' Team'); $mail->isHTML(true); - + return $mail; }); @@ -128,6 +128,8 @@ Locale::$exceptions = false; Locale::setLanguage('en', include __DIR__ . '/config/locale/en.php'); Locale::setLanguage('he', include __DIR__ . '/config/locale/he.php'); +Locale::setLanguage('ro', include __DIR__ . '/config/locale/ro.php'); + if(in_array($locale, APP_LOCALES)) { Locale::setDefault($locale); @@ -204,4 +206,4 @@ if(APP_MODE_ADMIN === $mode) { } // Set project mail -$register->get('smtp')->setFrom(APP_EMAIL_TEAM, sprintf(Locale::getText('auth.emails.team'), $project->getAttribute('name'))); \ No newline at end of file +$register->get('smtp')->setFrom(APP_EMAIL_TEAM, sprintf(Locale::getText('auth.emails.team'), $project->getAttribute('name'))); From 19fdfc63c5dc2046fcff0a4d5c4635e68a09eedf Mon Sep 17 00:00:00 2001 From: zeet <34406802+Kiy4h@users.noreply.github.com> Date: Sun, 29 Sep 2019 07:29:56 +0700 Subject: [PATCH 10/76] Add ID locale --- app/config/locale/id.continents.php | 11 + app/config/locale/id.countries.php | 198 ++++++++++++++++++ app/config/locale/id.php | 21 ++ .../templates/id.email.auth.confirm.tpl | 24 +++ .../templates/id.email.auth.invitation.tpl | 27 +++ .../templates/id.email.auth.recovery.tpl | 24 +++ 6 files changed, 305 insertions(+) create mode 100644 app/config/locale/id.continents.php create mode 100644 app/config/locale/id.countries.php create mode 100644 app/config/locale/id.php create mode 100644 app/config/locale/templates/id.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/id.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/id.email.auth.recovery.tpl diff --git a/app/config/locale/id.continents.php b/app/config/locale/id.continents.php new file mode 100644 index 000000000..4faa5e93b --- /dev/null +++ b/app/config/locale/id.continents.php @@ -0,0 +1,11 @@ + 'Afrika', + 'AN' => 'Antartika', + 'AS' => 'Asia', + 'EU' => 'Eropa', + 'NA' => 'Amerika Utara', + 'OC' => 'Oseania', + 'SA' => 'Amerika Selatan', +]; diff --git a/app/config/locale/id.countries.php b/app/config/locale/id.countries.php new file mode 100644 index 000000000..3f625140e --- /dev/null +++ b/app/config/locale/id.countries.php @@ -0,0 +1,198 @@ + 'Afganistan', + 'AO' => 'Angola', + 'AL' => 'Albania', + 'AD' => 'Andorra', + 'AE' => 'Uni Emirat Arab', + 'AR' => 'Argentina', + 'AM' => 'Armenia', + 'AG' => 'Antigua dan Barbuda', + 'AU' => 'Australia', + 'AT' => 'Austria', + 'AZ' => 'Azerbaijan', + 'BI' => 'Burundi', + 'BE' => 'Belgium', + 'BJ' => 'Benin', + 'BF' => 'Burkina Faso', + 'BD' => 'Bangladesh', + 'BG' => 'Bulgaria', + 'BH' => 'Bahrain', + 'BS' => 'Bahama', + 'BA' => 'Bosnia dan Herzegovina', + 'BY' => 'Belarus', + 'BZ' => 'Belize', + 'BO' => 'Bolivia', + 'BR' => 'Brazil', + 'BB' => 'Barbados', + 'BN' => 'Brunei', + 'BT' => 'Bhutan', + 'BW' => 'Botswana', + 'CF' => 'Republik Afrika Tengah', + 'CA' => 'Kanada', + 'CH' => 'Swiss', + 'CL' => 'Chili', + 'CN' => 'Cina', + 'CI' => 'Pantai Gading', + 'CM' => 'Kamerun', + 'CD' => 'DR Kongo', + 'CG' => 'Republik Kongo', + 'CO' => 'Kolumbia', + 'KM' => 'Komoro', + 'CV' => 'Tanjung Verde', + 'CR' => 'Kosta Rika', + 'CU' => 'Kuba', + 'CY' => 'Siprus', + 'CZ' => 'Czechia', + 'DE' => 'Jerman', + 'DJ' => 'Djibouti', + 'DM' => 'Dominika', + 'DK' => 'Denmark', + 'DO' => 'Republik Dominika', + 'DZ' => 'Aljazair', + 'EC' => 'Ekuador', + 'EG' => 'Mesir', + 'ER' => 'Eritrea', + 'ES' => 'Spanyol', + 'EE' => 'Estonia', + 'ET' => 'Etiopia', + 'FI' => 'Finlandia', + 'FJ' => 'Fiji', + 'FR' => 'Perancis', + 'FM' => 'Mikronesia', + 'GA' => 'Gabon', + 'GB' => 'Britania Raya', + 'GE' => 'Georgia', + 'GH' => 'Ghana', + 'GN' => 'Guinea', + 'GM' => 'Gambia', + 'GW' => 'Guinea-Bissau', + 'GQ' => 'Guinea Khatulistiwa', + 'GR' => 'Yunani', + 'GD' => 'Grenada', + 'GT' => 'Guatemala', + 'GY' => 'Guyana', + 'HN' => 'Honduras', + 'HR' => 'Kroasia', + 'HT' => 'Haiti', + 'HU' => 'Hungaria', + 'ID' => 'Indonesia', + 'IN' => 'India', + 'IE' => 'Irlandia', + 'IR' => 'Iran', + 'IQ' => 'Irak', + 'IS' => 'Islandia', + 'IL' => 'Israel', + 'IT' => 'Italia', + 'JM' => 'Jamaika', + 'JO' => 'Jordan', + 'JP' => 'Jepang', + 'KZ' => 'Kazakhstan', + 'KE' => 'Kenya', + 'KG' => 'Kirgistan', + 'KH' => 'Kamboja', + 'KI' => 'Kiribati', + 'KN' => 'Saint Kitts dan Nevis', + 'KR' => 'Korea Selatan', + 'KW' => 'Kuwait', + 'LA' => 'Laos', + 'LB' => 'Lebanon', + 'LR' => 'Liberia', + 'LY' => 'Libya', + 'LC' => 'Saint Lucia', + 'LI' => 'Liechtenstein', + 'LK' => 'Srilanka', + 'LS' => 'Lesotho', + 'LT' => 'Lithuania', + 'LU' => 'Luksemburg', + 'LV' => 'Latvia', + 'MA' => 'Maroko', + 'MC' => 'Monako', + 'MD' => 'Moldova', + 'MG' => 'Madagaskar', + 'MV' => 'Maladewa', + 'MX' => 'Meksiko', + 'MH' => 'Pulau Marshall', + 'MK' => 'Makedonia', + 'ML' => 'Mali', + 'MT' => 'Malta', + 'MM' => 'Myanmar', + 'ME' => 'Montenegro', + 'MN' => 'Mongolia', + 'MZ' => 'Mozambik', + 'MR' => 'Mauritania', + 'MU' => 'Mauritius', + 'MW' => 'Malawi', + 'MY' => 'Malaysia', + 'NA' => 'Namibia', + 'NE' => 'Niger', + 'NG' => 'Nigeria', + 'NI' => 'Nikaragua', + 'NL' => 'Belanda', + 'NO' => 'Norway', + 'NP' => 'Nepal', + 'NR' => 'Nauru', + 'NZ' => 'Selandia Baru', + 'OM' => 'Oman', + 'PK' => 'Pakistan', + 'PA' => 'Panama', + 'PE' => 'Peru', + 'PH' => 'Filipina', + 'PW' => 'Palau', + 'PG' => 'Papua Nugini', + 'PL' => 'Polandia', + 'KP' => 'Korea Utara', + 'PT' => 'Portugal', + 'PY' => 'Paraguay', + 'QA' => 'Qatar', + 'RO' => 'Rumania', + 'RU' => 'Rusia', + 'RW' => 'Rwanda', + 'SA' => 'Arab Saudi', + 'SD' => 'Sudan', + 'SN' => 'Senegal', + 'SG' => 'Singapura', + 'SB' => 'Pulau Solomon', + 'SL' => 'Sierra Leone', + 'SV' => 'El Salvador', + 'SM' => 'San Marino', + 'SO' => 'Somalia', + 'RS' => 'Serbia', + 'SS' => 'Sudan Selatan', + 'ST' => 'São Tomé dan Príncipe', + 'SR' => 'Suriname', + 'SK' => 'Slovakia', + 'SI' => 'Slovenia', + 'SE' => 'Swedia', + 'SZ' => 'Swaziland', + 'SC' => 'Seychelles', + 'SY' => 'Suriah', + 'TD' => 'Chad', + 'TG' => 'Untuk pergi', + 'TH' => 'Thailand', + 'TJ' => 'Tajikistan', + 'TM' => 'Turkmenistan', + 'TL' => 'Timor-Leste', + 'TO' => 'Tonga', + 'TT' => 'Trinidad dan Tobago', + 'TN' => 'Tunisia', + 'TR' => 'Turki', + 'TV' => 'Tuvalu', + 'TZ' => 'Tanzania', + 'UG' => 'Uganda', + 'UA' => 'Ukraina', + 'UY' => 'Uruguay', + 'US' => 'Amerika Serikat', + 'UZ' => 'Uzbekistan', + 'VA' => 'Kota Vatikan', + 'VC' => 'Saint Vincent dan Grenadines', + 'VE' => 'Venezuela', + 'VN' => 'Vietnam', + 'VU' => 'Vanuatu', + 'WS' => 'Samoa', + 'YE' => 'Yaman', + 'ZA' => 'Afrika Selatan', + 'ZM' => 'Zambia', + 'ZW' => 'Zimbabwe', +]; diff --git a/app/config/locale/id.php b/app/config/locale/id.php new file mode 100644 index 000000000..09f377511 --- /dev/null +++ b/app/config/locale/id.php @@ -0,0 +1,21 @@ + '"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.locale' => 'id', + 'settings.direction' => 'ltr', + + // Service - Users + 'auth.emails.team' => 'Tim %s', + 'auth.emails.confirm.title' => 'Konfirmasi Akun', + 'auth.emails.confirm.body' => 'id.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Reset Kata Sandi', + 'auth.emails.recovery.body' => 'id.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Undangan ke Tim %s di %s', + 'auth.emails.invitation.body' => 'id.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Tidak diketahui', + + 'countries' => include 'id.countries.php', + 'continents' => include 'id.continents.php', +]; diff --git a/app/config/locale/templates/id.email.auth.confirm.tpl b/app/config/locale/templates/id.email.auth.confirm.tpl new file mode 100644 index 000000000..a6049cb8f --- /dev/null +++ b/app/config/locale/templates/id.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Halo {{name}}, +
+
+ Ikuti link ini untuk memverifikasi alamat email Anda. +
+ {{redirect}} +
+
+ Jika Anda tidak meminta untuk memverifikasi alamat ini, Anda dapat mengabaikan pesan ini. +
+
+ Terima kasih, +
+ Tim {{project}} +
\ No newline at end of file diff --git a/app/config/locale/templates/id.email.auth.invitation.tpl b/app/config/locale/templates/id.email.auth.invitation.tpl new file mode 100644 index 000000000..7ab49b200 --- /dev/null +++ b/app/config/locale/templates/id.email.auth.invitation.tpl @@ -0,0 +1,27 @@ + + +
+ Halo, +
+
+ Email ini dikirimkan kepada Anda karena {{owner}} ingin mengundang Anda untuk menjadi anggota tim {{team}} di {{project}}. +
+
+ Ikuti link ini untuk bergabung dengan tim {{team}}: +
+ {{redirect}} +
+
+ Jika Anda tidak tertarik, Anda dapat mengabaikan pesan ini. +
+
+ Terima kasih, +
+ Tim {{project}} +
diff --git a/app/config/locale/templates/id.email.auth.recovery.tpl b/app/config/locale/templates/id.email.auth.recovery.tpl new file mode 100644 index 000000000..e0b953f22 --- /dev/null +++ b/app/config/locale/templates/id.email.auth.recovery.tpl @@ -0,0 +1,24 @@ + + +
+ Halo {{name}}, +
+
+ Ikuti link ini untuk mereset kata sandi {{project}} Anda. +
+ {{redirect}} +
+
+ Jika Anda tidak meminta untuk mereset kata sandi Anda, Anda dapat mengabaikan pesan ini. +
+
+ Terima kasih, +
+ Tim {{project}} +
From 0ebe0ad25ab4078d6efd79ab725b776b6109f258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pessi=20P=C3=A4iv=C3=A4rinne?= Date: Sun, 29 Sep 2019 17:18:36 +0300 Subject: [PATCH 11/76] Added Finnish locales --- app/config/locale/fi.continents.php | 11 + app/config/locale/fi.countries.php | 198 ++++++++++++++++++ app/config/locale/fi.php | 21 ++ .../templates/fi.email.auth.confirm.tpl | 24 +++ .../templates/fi.email.auth.invitation.tpl | 27 +++ .../templates/fi.email.auth.recovery.tpl | 24 +++ 6 files changed, 305 insertions(+) create mode 100644 app/config/locale/fi.continents.php create mode 100644 app/config/locale/fi.countries.php create mode 100644 app/config/locale/fi.php create mode 100644 app/config/locale/templates/fi.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/fi.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/fi.email.auth.recovery.tpl diff --git a/app/config/locale/fi.continents.php b/app/config/locale/fi.continents.php new file mode 100644 index 000000000..7b405d761 --- /dev/null +++ b/app/config/locale/fi.continents.php @@ -0,0 +1,11 @@ + 'Afrikka', + 'AN' => 'Antarktis', + 'AS' => 'Aasia', + 'EU' => 'Eurooppa', + 'NA' => 'Pohjois Amerikka', + 'OC' => 'Oceania', + 'SA' => 'Etelä Amerikka', +]; \ No newline at end of file diff --git a/app/config/locale/fi.countries.php b/app/config/locale/fi.countries.php new file mode 100644 index 000000000..65b984413 --- /dev/null +++ b/app/config/locale/fi.countries.php @@ -0,0 +1,198 @@ + 'Afganistan', + 'AO' => 'Angola', + 'AL' => 'Albania', + 'AD' => 'Andorra', + 'AE' => 'Arabiemiirikunnat', + 'AR' => 'Argentiina', + 'AM' => 'Armenia', + 'AG' => 'Antigua ja Barbuda', + 'AU' => 'Australia', + 'AT' => 'Itävalta', + 'AZ' => 'Azerbaidžan', + 'BI' => 'Burundi', + 'BE' => 'Belgia', + 'BJ' => 'Benin', + 'BF' => 'Burkina Faso', + 'BD' => 'Bangladesh', + 'BG' => 'Bulgaria', + 'BH' => 'Bahrain', + 'BS' => 'Bahama', + 'BA' => 'Bosnia ja Hertsegovina', + 'BY' => 'Valkovenäjä', + 'BZ' => 'Belize', + 'BO' => 'Bolivia', + 'BR' => 'Brasilia', + 'BB' => 'Barbados', + 'BN' => 'Brunei', + 'BT' => 'Bhutan', + 'BW' => 'Botswana', + 'CF' => 'Keski-Afrikan tasavalta', + 'CA' => 'Kanada', + 'CH' => 'Sveitsi', + 'CL' => 'Chile', + 'CN' => 'Kiina', + 'CI' => 'Norsunluurannikko', + 'CM' => 'Kamerun', + 'CD' => 'Kongon demokraattinen tasavalta', + 'CG' => 'Kongon tasavalta', + 'CO' => 'Kolumbia', + 'KM' => 'Komorit', + 'CV' => 'Kap Verde', + 'CR' => 'Costa Rica', + 'CU' => 'Kuuba', + 'CY' => 'Kypros', + 'CZ' => 'Tšekki', + 'DE' => 'Saksa', + 'DJ' => 'Djibouti', + 'DM' => 'Dominica', + 'DK' => 'Tanska', + 'DO' => 'Dominikaaninen tasavalta', + 'DZ' => 'Algeria', + 'EC' => 'Ecuador', + 'EG' => 'Egypti', + 'ER' => 'Eritrea', + 'ES' => 'Espanja', + 'EE' => 'Viro', + 'ET' => 'Etiopia', + 'FI' => 'Suomi', + 'FJ' => 'Fidži', + 'FR' => 'Ranska', + 'FM' => 'Mikronesia', + 'GA' => 'Gabon', + 'GB' => 'Yhdistynyt kuningaskunta', + 'GE' => 'Georgia', + 'GH' => 'Ghana', + 'GN' => 'Guinea', + 'GM' => 'Gambia', + 'GW' => 'Guinea-Bissau', + 'GQ' => 'Päiväntasaajan Guinea', + 'GR' => 'Kreikka', + 'GD' => 'Grenada', + 'GT' => 'Guatemala', + 'GY' => 'Guyana', + 'HN' => 'Honduras', + 'HR' => 'Kroatia', + 'HT' => 'Haiti', + 'HU' => 'Unkari', + 'ID' => 'Indonesia', + 'IN' => 'Intia', + 'IE' => 'Irlanti', + 'IR' => 'Iran', + 'IQ' => 'Irak', + 'IS' => 'Islanti', + 'IL' => 'Israel', + 'IT' => 'Italia', + 'JM' => 'Jamaika', + 'JO' => 'Jordan', + 'JP' => 'Japani', + 'KZ' => 'Kazakstan', + 'KE' => 'Kenia', + 'KG' => 'Kirgisia', + 'KH' => 'Kambodža', + 'KI' => 'Kiribati', + 'KN' => 'Saint Kitts ja Nevis', + 'KR' => 'Etelä-Korea', + 'KW' => 'Kuwait', + 'LA' => 'Laos', + 'LB' => 'Libanon', + 'LR' => 'Liberia', + 'LY' => 'Libya', + 'LC' => 'Saint Lucia', + 'LI' => 'Liechtenstein', + 'LK' => 'Sri Lanka', + 'LS' => 'Lesotho', + 'LT' => 'Liettua', + 'LU' => 'Luxemburg', + 'LV' => 'Latvia', + 'MA' => 'Marokko', + 'MC' => 'Monaco', + 'MD' => 'Moldova', + 'MG' => 'Madagaskar', + 'MV' => 'Malediivit', + 'MX' => 'Meksiko', + 'MH' => 'Marshallinsaaret', + 'MK' => 'Makedonia', + 'ML' => 'Mali', + 'MT' => 'Malta', + 'MM' => 'Myanmar', + 'ME' => 'Montenegro', + 'MN' => 'Mongolia', + 'MZ' => 'Mosambik', + 'MR' => 'Mauritania', + 'MU' => 'Mauritius', + 'MW' => 'Malawi', + 'MY' => 'Malesia', + 'NA' => 'Namibia', + 'NE' => 'Niger', + 'NG' => 'Nigeria', + 'NI' => 'Nicaragua', + 'NL' => 'Alankomaat', + 'EI' => 'Norja', + 'NP' => 'Nepal', + 'NR' => 'Nauru', + 'NZ' => 'Uusi-Seelanti', + 'OM' => 'Oman', + 'PK' => 'Pakistan', + 'PA' => 'Panama', + 'PE' => 'Peru', + 'PH' => 'Filippiinit', + 'PW' => 'Palau', + 'PG' => 'Papua-Uusi-Guinea', + 'PL' => 'Puola', + 'KP' => 'Pohjois-Korea', + 'PT' => 'Portugali', + 'PY' => 'Paraguay', + 'QA' => 'Qatar', + 'RO' => 'Romania', + 'RU' => 'Venäjä', + 'RW' => 'Ruanda', + 'SA' => 'Saudi-Arabia', + 'SD' => 'Sudan', + 'SN' => 'Senegal', + 'SG' => 'Singapore', + 'SB' => 'Salomonsaaret', + 'SL' => 'Sierra Leone', + 'SV' => 'Salvador', + 'SM' => 'San Marino', + 'SO' => 'Somalia', + 'RS' => 'Serbia', + 'SS' => 'Etelä-Sudan', + 'ST' => 'São Tomé ja Príncipe', + 'SR' => 'Suriname', + 'SK' => 'Slovakia', + 'SI' => 'Slovenia', + 'SE' => 'Ruotsi', + 'SZ' => 'Swazimaa', + 'SC' => 'Seychellit', + 'SY' => 'Syyria', + 'TD' => 'Tšad', + 'TG' => 'Togo', + 'TH' => 'Thaimaa', + 'TJ' => 'Tadžikistan', + 'TM' => 'Turkmenistan', + 'TL' => 'Timor-Leste', + 'TO' => 'Tonga', + 'TT' => 'Trinidad ja Tobago', + 'TN' => 'Tunisia', + 'TR' => 'Turkki', + 'TV' => 'Tuvalu', + 'TZ' => 'Tansania', + 'UG' => 'Uganda', + 'UA' => 'Ukraina', + 'UY' => 'Uruguay', + 'US' => 'Yhdysvallat', + 'UZ' => 'Uzbekistan', + 'VA' => 'Vatikaanikaupunki', + 'VC' => 'Saint Vincent ja Grenadiinit', + 'VE' => 'Venezuela', + 'VN' => 'Vietnam', + 'VU' => 'Vanuatu', + 'WS' => 'Samoa', + 'YE' => 'Jemen', + 'ZA' => 'Etelä-Afrikka', + 'ZM' => 'Sambia', + 'ZW' => 'Zimbabwe', +]; \ No newline at end of file diff --git a/app/config/locale/fi.php b/app/config/locale/fi.php new file mode 100644 index 000000000..fac6b5586 --- /dev/null +++ b/app/config/locale/fi.php @@ -0,0 +1,21 @@ + '"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.locale' => 'fi', + 'settings.direction' => 'ltr', + + // Service - Users + 'auth.emails.team' => '%s Tiimi', + 'auth.emails.confirm.title' => 'Tilin Vahvistus', + 'auth.emails.confirm.body' => 'en.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Salasanan Nollaus', + 'auth.emails.recovery.body' => 'en.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Kutsu %s Tiimiin %s', + 'auth.emails.invitation.body' => 'en.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Unknown', + + 'countries' => include 'fi.countries.php', + 'continents' => include 'fi.continents.php', +]; \ No newline at end of file diff --git a/app/config/locale/templates/fi.email.auth.confirm.tpl b/app/config/locale/templates/fi.email.auth.confirm.tpl new file mode 100644 index 000000000..1354e7a5d --- /dev/null +++ b/app/config/locale/templates/fi.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Hei {{name}}, +
+
+ Varmista sähköpostiosoite tästä linkistä. +
+ {{redirect}} +
+
+ Jos et kysynyt tämän sähköpostiosoitteen varmistamista, voit sivuuttaa tämän viestin. +
+
+ kiitos, +
+ {{project}} tiimi +
\ No newline at end of file diff --git a/app/config/locale/templates/fi.email.auth.invitation.tpl b/app/config/locale/templates/fi.email.auth.invitation.tpl new file mode 100644 index 000000000..7e955d021 --- /dev/null +++ b/app/config/locale/templates/fi.email.auth.invitation.tpl @@ -0,0 +1,27 @@ + + +
+ Hei, +
+
+ Sait tämän sähköpostin koska {{owner}} halusi kutsua sinut jäseneksi {{team}} tiimiin, täällä {{project}}. +
+
+ Käytä tätä linkkiä liittyäksesi {{team}} tiimiin: +
+ {{redirect}} +
+
+ Jos et ole kiinnostunut, voit sivuuttaa tämän viestin. +
+
+ kiitos, +
+ {{project}} tiimi +
diff --git a/app/config/locale/templates/fi.email.auth.recovery.tpl b/app/config/locale/templates/fi.email.auth.recovery.tpl new file mode 100644 index 000000000..b273c6561 --- /dev/null +++ b/app/config/locale/templates/fi.email.auth.recovery.tpl @@ -0,0 +1,24 @@ + + +
+ Hei {{name}}, +
+
+ Resetoi {{project}} salasana tästä linkistä. +
+ {{redirect}} +
+
+ Jos et pyytänyt salasanan nollaamista, voit sivuuttaa tämän viestin- +
+
+ Kiitos, +
+ {{project}} tiimi +
\ No newline at end of file From 5b3053c545a02dc8a1755c08857310b1eee0123a Mon Sep 17 00:00:00 2001 From: Sergi Vos Date: Sun, 29 Sep 2019 17:08:28 +0200 Subject: [PATCH 12/76] Add Catalan locales --- app/config/locale/cat.continents.php | 11 + app/config/locale/cat.countries.php | 197 ++++++++++++++++++ app/config/locale/cat.php | 21 ++ .../templates/cat.email.auth.confirm.tpl | 24 +++ .../templates/cat.email.auth.invitation.tpl | 28 +++ .../templates/cat.email.auth.recovery.tpl | 24 +++ 6 files changed, 305 insertions(+) create mode 100644 app/config/locale/cat.continents.php create mode 100644 app/config/locale/cat.countries.php create mode 100644 app/config/locale/cat.php create mode 100644 app/config/locale/templates/cat.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/cat.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/cat.email.auth.recovery.tpl diff --git a/app/config/locale/cat.continents.php b/app/config/locale/cat.continents.php new file mode 100644 index 000000000..c5e3debb3 --- /dev/null +++ b/app/config/locale/cat.continents.php @@ -0,0 +1,11 @@ + 'Àfrica', + 'AN' => 'Antàrtica', + 'AS' => 'Àsia', + 'EU' => 'Europa', + 'NA' => 'Amèrica del Nord', + 'OC' => 'Oceania', + 'SA' => 'Amèrica del Sud', +]; diff --git a/app/config/locale/cat.countries.php b/app/config/locale/cat.countries.php new file mode 100644 index 000000000..a6172a991 --- /dev/null +++ b/app/config/locale/cat.countries.php @@ -0,0 +1,197 @@ + 'Afganistan', + 'AO' => 'Angola', + 'AL' => 'Albània', + 'AD' => 'Andorra', + 'AE' => 'Unió dels Emirats Àrabs Units', + 'AR' => 'Argentina', + 'AM' => 'Armènia', + 'AG' => 'Antigua o Barbuda', + 'AU' => 'Austràlia', + 'AT' => 'Àustria', + 'AZ' => 'Azerbaidjan', + 'BI' => 'Burundi', + 'BE' => 'Bèlgica', + 'BJ' => 'Benín', + 'BF' => 'Burkina Faso', + 'BD' => 'Bangla Desh', + 'BG' => 'Bulgaria', + 'BH' => 'Bahrain', + 'BS' => 'Bahamas', + 'BA' => 'Bòsnia i Hercegovina', + 'BY' => 'Bielorússia', + 'BZ' => 'Belize', + 'BO' => 'Bolívia', + 'BR' => 'Brasil', + 'BB' => 'Barbados', + 'BN' => 'Brunei', + 'BT' => 'Bhutan', + 'BW' => 'Botswana', + 'CF' => 'República Centreafricana', + 'CA' => 'Canadà', + 'CH' => 'Suïssa', + 'CL' => 'Xile', + 'CN' => 'Xina', + 'CI' => 'Costa d\'Ivori', + 'CM' => 'Camerun', + 'CD' => 'República Democràtica del Congo', + 'CG' => 'República del congo', + 'CO' => 'Colòmbia', + 'KM' => 'Comores', + 'CV' => 'Cap Verd', + 'CR' => 'Costa Rica', + 'CU' => 'Cuba', + 'CY' => 'Xipre', + 'CZ' => 'Txèquia', + 'DE' => 'Alemanya', + 'DJ' => 'Djibouti', + 'DM' => 'Dominica', + 'DK' => 'Dinamarca', + 'DO' => 'República Dominicana', + 'DZ' => 'Argelia', + 'EC' => 'Equador', + 'EG' => 'Egipte', + 'ER' => 'Eritrea', + 'ES' => 'Espanya', + 'EE' => 'Estònia', + 'ET' => 'Etiòpia', + 'FI' => 'Finlàndia', + 'FJ' => 'Fiji', + 'FR' => 'França', + 'FM' => 'Micronèsia', + 'GA' => 'Gabon', + 'GB' => 'Regne Unit', + 'GE' => 'Geòrgia', + 'GH' => 'Ghana', + 'GN' => 'Guinea', + 'GM' => 'Gàmbia', + 'GW' => 'Guinea Bissau', + 'GQ' => 'Guinea Equatorial', + 'GR' => 'Grècia', + 'GD' => 'Granada', + 'GT' => 'Guatemala', + 'GY' => 'Guaiana', + 'HN' => 'Hondures', + 'HR' => 'Croàcia', + 'HT' => 'Haití', + 'HU' => 'Hungria', + 'ID' => 'Indonèsia', + 'IN' => 'Índia', + 'IE' => 'Irlanda', + 'IR' => 'Iran', + 'IQ' => 'Iraq', + 'IS' => 'Islàndia', + 'IL' => 'Israel', + 'IT' => 'Itàlia', + 'JM' => 'Jamaica', + 'JO' => 'Jordà', + 'JP' => 'Japó', + 'KZ' => 'Kazakhstan', + 'KE' => 'Kenya', + 'KG' => 'Kirguizistan', + 'KH' => 'Cambodja', + 'KI' => 'Kiribati', + 'KN' => 'Sant Cristòfol i Neus', + 'KR' => 'Corea del Sud', + 'KW' => 'Kuwait', + 'LA' => 'Laos', + 'LB' => 'Líban', + 'LR' => 'Libèria', + 'LY' => 'Líbia', + 'LC' => 'Santa Llúcia', + 'LI' => 'Liechtenstein', + 'LK' => 'Sri Lanka', + 'LS' => 'Lesoto', + 'LT' => 'Lituània', + 'LU' => 'Luxemburg', + 'LV' => 'Letònia', + 'MA' => 'Marroc', + 'MC' => 'Mònaco', + 'MD' => 'Moldàvia', + 'MG' => 'Madagascar', + 'MV' => 'Maldives', + 'MX' => 'Mèxic', + 'MH' => 'Illes Marshall', + 'MK' => 'Macedònia', + 'ML' => 'Mali', + 'MT' => 'Malta', + 'MM' => 'Myanmar', + 'ME' => 'Montenegro', + 'MN' => 'Mongòlia', + 'MZ' => 'Moçambic', + 'MR' => 'Mauritània', + 'MU' => 'Maurici', + 'MW' => 'Malawi', + 'MY' => 'Malàsia', + 'NA' => 'Namíbia', + 'NE' => 'Níger', + 'NG' => 'Nigèria', + 'NI' => 'Nicaragua', + 'NL' => 'Països Baixos', + 'NO' => 'Noruega', + 'NP' => 'Nepal', + 'NR' => 'Nauru', + 'NZ' => 'Nova Zelanda', + 'OM' => 'Oman', + 'PK' => 'Pakistan', + 'PA' => 'Panamà', + 'PE' => 'Perú', + 'PH' => 'Filipines', + 'PW' => 'Palaos', + 'PG' => 'Papua Nova Guinea', + 'PL' => 'Polònia', + 'KP' => 'Corea del Nord', + 'PT' => 'Portugal', + 'PY' => 'Paraguai', + 'QA' => 'Katar', + 'RO' => 'Romania', + 'RU' => 'Rússia', + 'RW' => 'Rwanda', + 'SA' => 'Aràbia Saudita', + 'SD' => 'Sudan', + 'SN' => 'Senegal', + 'SG' => 'Singapur', + 'SB' => 'Illes Salomó', + 'SL' => 'Sierra Leone', + 'SV' => 'El Salvador', + 'SM' => 'San Marí', + 'SO' => 'Somàlia', + 'RS' => 'Sèrbia', + 'SS' => 'Sudàn del Sud', + 'ST' => 'Santo Tomé y Príncipe', + 'SR' => 'Surinam', + 'SK' => 'Eslovàquia', + 'SI' => 'Eslovènia', + 'SE' => 'Suècia', + 'SZ' => 'Swazilàndia', + 'SC' => 'Seychelles', + 'SY' => 'Síria', + 'TD' => 'Txad', + 'TG' => 'Togo', + 'TH' => 'Tailàndia', + 'TJ' => 'Tadjikistan', + 'TM' => 'Turkmenistan', + 'TL' => 'Timor Oriental', + 'TO' => 'Tonga', + 'TT' => 'Trinitat i Tobago', + 'TN' => 'Tunísia', + 'TR' => 'Turquia', + 'TV' => 'Tuvalu', + 'TZ' => 'Tanzània', + 'UG' => 'Uganda', + 'UA' => 'Ucraïna', + 'UY' => 'Uruguai', + 'US' => 'Estats Units', + 'UZ' => 'Uzbekistan', + 'VA' => 'Ciudat del Vaticà', + 'VC' => 'Saint Vincent i les Grenadines', + 'VE' => 'Veneçuela', + 'VN' => 'Vietnam', + 'VU' => 'Vanuatu', + 'WS' => 'Samoa', + 'YE' => 'Iemen', + 'ZA' => 'Sud-àfrica', + 'ZM' => 'Zàmbia', + 'ZW' => 'Zimbabwe', +]; diff --git a/app/config/locale/cat.php b/app/config/locale/cat.php new file mode 100644 index 000000000..26b50a57c --- /dev/null +++ b/app/config/locale/cat.php @@ -0,0 +1,21 @@ + '"L\'art de ser sabi és l\'art de saber què passar per alt"', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'cat', + 'settings.direction' => 'ltr', + + // Service - Users + 'auth.emails.team' => '%s Equip', + 'auth.emails.confirm.title' => 'Confirmació del compte', + 'auth.emails.confirm.body' => 'cat.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Restablir contrasenya', + 'auth.emails.recovery.body' => 'cat.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Invitació a l\'Equipo %s a %s', + 'auth.emails.invitation.body' => 'cat.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Desconegut', + + 'countries' => include 'cat.countries.php', + 'continents' => include 'cat.continents.php', +]; diff --git a/app/config/locale/templates/cat.email.auth.confirm.tpl b/app/config/locale/templates/cat.email.auth.confirm.tpl new file mode 100644 index 000000000..1e5513512 --- /dev/null +++ b/app/config/locale/templates/cat.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Hola {{name}}, +
+
+ Segueix aquest enllaç per verificar la teva direcció de correu: +
+ {{redirect}} +
+
+ Si no has solicitat verificar aquesta direcció, pots ignorar aquest missatge. +
+
+ Gràcies, +
+ Equip {{project}} +
diff --git a/app/config/locale/templates/cat.email.auth.invitation.tpl b/app/config/locale/templates/cat.email.auth.invitation.tpl new file mode 100644 index 000000000..f52129e1b --- /dev/null +++ b/app/config/locale/templates/cat.email.auth.invitation.tpl @@ -0,0 +1,28 @@ + + +
+ Hola, +
+
+ T'hem enviat aquest correu perquè {{owner}} et vol convidar a formar part + de l'equip {{team}} a {{project}}. +
+
+ Segueix aquest enllaç per unir-te a l'equip {{team}}: +
+ {{redirect}} +
+
+ Si no estàs interessat, pots ignorar aquest missatge. +
+
+ Gràcies, +
+ Equip {{project}} +
diff --git a/app/config/locale/templates/cat.email.auth.recovery.tpl b/app/config/locale/templates/cat.email.auth.recovery.tpl new file mode 100644 index 000000000..62cc4fae6 --- /dev/null +++ b/app/config/locale/templates/cat.email.auth.recovery.tpl @@ -0,0 +1,24 @@ + + +
+ Hola {{name}}, +
+
+ Segueix aquest enllaç per restablir la teva contrasenya de {{project}}. +
+ {{redirect}} +
+
+ Si no has demanat restablir la teva contrasenya, pots ignorar aquest missatge. +
+
+ Gràcies, +
+ Equip {{project}} +
From 31a0a482b40fd1f144183bea3795a01760c79353 Mon Sep 17 00:00:00 2001 From: Dmitry Danilov Date: Wed, 25 Sep 2019 23:20:04 +0300 Subject: [PATCH 13/76] add UA locale --- .../templates/ua.email.auth.confirm.tpl | 24 +++ .../templates/ua.email.auth.invitation.tpl | 27 +++ .../templates/ua.email.auth.recovery.tpl | 24 +++ app/config/locale/ua.continents.php | 10 + app/config/locale/ua.countries.php | 197 ++++++++++++++++++ app/config/locale/ua.php | 20 ++ app/init.php | 1 + 7 files changed, 303 insertions(+) create mode 100644 app/config/locale/templates/ua.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/ua.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/ua.email.auth.recovery.tpl create mode 100644 app/config/locale/ua.continents.php create mode 100644 app/config/locale/ua.countries.php create mode 100644 app/config/locale/ua.php diff --git a/app/config/locale/templates/ua.email.auth.confirm.tpl b/app/config/locale/templates/ua.email.auth.confirm.tpl new file mode 100644 index 000000000..8d135457f --- /dev/null +++ b/app/config/locale/templates/ua.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Вітаємо {{name}}, +
+
+ Перейдіть за цим посиланням, та підтвердіть свою електронну адресу +
+ {{redirect}} +
+
+ Якщо ви не запитували підтвердження цієї адреси, проігноруйте це повідомлення. +
+
+ Дякуємо, +
+ команда {{project}} +
\ No newline at end of file diff --git a/app/config/locale/templates/ua.email.auth.invitation.tpl b/app/config/locale/templates/ua.email.auth.invitation.tpl new file mode 100644 index 000000000..8daaecbaa --- /dev/null +++ b/app/config/locale/templates/ua.email.auth.invitation.tpl @@ -0,0 +1,27 @@ + + +
+ Вітаємо, +
+
+ Цей лист був надісланий вам тому що {{owner}} хоче запросити вас стати членом команди {{team}} у {{project}}. +
+
+ Перейдіть за цим посиланням щоб приєднатись до команди {{team}} : +
+ {{redirect}} +
+
+ Якщо ви не зацікавлені, проігноруйте це повідомлення. +
+
+ Дякуємо, +
+ Команда {{project}} +
diff --git a/app/config/locale/templates/ua.email.auth.recovery.tpl b/app/config/locale/templates/ua.email.auth.recovery.tpl new file mode 100644 index 000000000..b833a6575 --- /dev/null +++ b/app/config/locale/templates/ua.email.auth.recovery.tpl @@ -0,0 +1,24 @@ + + +
+ Вітаємо, {{name}}, +
+
+ Перейдіть за цим посиланням для того щоб скинути свій пароль для {{project}} . +
+ {{redirect}} +
+
+ Якщо ви не запитували скидання паролю, проігноруйте це повідомлення. +
+
+ Дякуємо, +
+ команда {{project}} +
diff --git a/app/config/locale/ua.continents.php b/app/config/locale/ua.continents.php new file mode 100644 index 000000000..a9646ca14 --- /dev/null +++ b/app/config/locale/ua.continents.php @@ -0,0 +1,10 @@ + 'Африка', + 'AN' => 'Антарктика', + 'AS' => 'Азія', + 'EU' => 'Європа', + 'NA' => 'Північна Америка', + 'OC' => 'Океанія', + 'SA' => 'Південна Америка', +]; \ No newline at end of file diff --git a/app/config/locale/ua.countries.php b/app/config/locale/ua.countries.php new file mode 100644 index 000000000..eae8e8ebd --- /dev/null +++ b/app/config/locale/ua.countries.php @@ -0,0 +1,197 @@ + 'Афганістан', + '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/ua.php b/app/config/locale/ua.php new file mode 100644 index 000000000..6a2a0f455 --- /dev/null +++ b/app/config/locale/ua.php @@ -0,0 +1,20 @@ + '"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.locale' => 'ua', + 'settings.direction' => 'rtl', + + 'auth.emails.team' => '%s Команда', + 'auth.emails.confirm.title' => 'Підтвердження Акаунту' , + 'auth.emails.confirm.body' => 'ua.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Скидання пароля', + 'auth.emails.recovery.body' => 'ua.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Запрошення до %s Команди у %s', + 'auth.emails.invitation.body' => 'ua.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Невідомо', + + 'countries' => include 'ua.countries.php', + 'continents' => include 'ua.continents.php', +]; diff --git a/app/init.php b/app/init.php index 4db74f3bc..014e131dc 100644 --- a/app/init.php +++ b/app/init.php @@ -128,6 +128,7 @@ Locale::$exceptions = false; Locale::setLanguage('en', include __DIR__ . '/config/locale/en.php'); Locale::setLanguage('he', include __DIR__ . '/config/locale/he.php'); +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'); From 0f66d356833081dffe8342c6b97343ae149c90b8 Mon Sep 17 00:00:00 2001 From: Kolkies Date: Mon, 30 Sep 2019 09:16:21 +0000 Subject: [PATCH 14/76] Email authenication translated --- .../templates/nl.email.auth.confirm.tpl | 24 +++++++++++++++++ .../templates/nl.email.auth.invitation.tpl | 27 +++++++++++++++++++ .../templates/nl.email.auth.recovery.tpl | 24 +++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 app/config/locale/templates/nl.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/nl.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/nl.email.auth.recovery.tpl diff --git a/app/config/locale/templates/nl.email.auth.confirm.tpl b/app/config/locale/templates/nl.email.auth.confirm.tpl new file mode 100644 index 000000000..513593bfc --- /dev/null +++ b/app/config/locale/templates/nl.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Hallo {{name}}, +
+
+ Klink op deze link om uw emailadres te valideren. +
+ {{redirect}} +
+
+ Als u niet heeft gevraagd om dit adres te verifiëren, kunt u dit bericht negeren. +
+
+ Bedankt, +
+ {{project}} team +
\ No newline at end of file diff --git a/app/config/locale/templates/nl.email.auth.invitation.tpl b/app/config/locale/templates/nl.email.auth.invitation.tpl new file mode 100644 index 000000000..252e104af --- /dev/null +++ b/app/config/locale/templates/nl.email.auth.invitation.tpl @@ -0,0 +1,27 @@ + + +
+ Hallo, +
+
+ Deze mail is naar je gestuurd omdat {{owner}} wilde dat u een lid zou worden in het {{team}} team voor {{project}}. +
+
+ Volg deze link om het team te joinen {{team}}: +
+ {{redirect}} +
+
+ ALs u niet geïnteresseerd bent, kunt u dit bericht negeren. +
+
+ Bedankt, +
+ {{project}} team +
diff --git a/app/config/locale/templates/nl.email.auth.recovery.tpl b/app/config/locale/templates/nl.email.auth.recovery.tpl new file mode 100644 index 000000000..2c4d5952a --- /dev/null +++ b/app/config/locale/templates/nl.email.auth.recovery.tpl @@ -0,0 +1,24 @@ + + +
+ Hallo {{name}}, +
+
+ Klik op deze link om uw {{project}} wachtwoord te resetten. +
+ {{redirect}} +
+
+ Als u niet gevraagd heeft om uw wachtwoord te resetten, kunt u dit bericht negeren. +
+
+ Bedankt, +
+ {{project}} team +
From 98c6516dda1654a707bb51cffed0f79444c2420f Mon Sep 17 00:00:00 2001 From: Parikshit Hooda Date: Mon, 30 Sep 2019 17:15:34 +0530 Subject: [PATCH 15/76] typo fixes in README.md Fixed typos. Added appropriate punctuation. --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fce4b93c1..a7383b509 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 aims to make developers life a lot easier by hiding the complexity of common and repetitve software development tasks. +Appwrite API services aims to make developers 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, 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. @@ -37,7 +37,7 @@ curl -o docker-compose.yml https://appwrite.io/docker-compose.yml?port=80 && \ docker-compose up -d --remove-orphans ``` -Once the Docker installation completes, go to http://localhost to access the Appwrite console from your browser. Please notice that on non-linux native hosts the server might take a few minutes to start after installation completes. +Once the Docker installation completes, go to http://localhost to access the Appwrite console from your browser. Please notice that on non-linux native hosts, the server might take a few minutes to start after installation completes. For advanced, production and custon installation check out our Docker [enviornemnt variables](/docs/EnviornementVariables.md) docs. @@ -47,7 +47,7 @@ In case your port 80 is already taken, change the port number in the command abo ## Getting Started -Getting started with Appwrite is as easy as creating a new project, choosing your platform and integrating its SDK in your code. You can easily get started with your platform of choice by reading one of our getting started tutorials. +Getting started with Appwrite is as easy as creating a new project, choosing your platform and integrating its SDK in your code. You can easily get started with your platform of choice by reading one of our Getting Started tutorials. * [Getting Started for Web](https://appwrite.io/docs/getting-started-for-web) * Getting Started for Android (soon...) @@ -56,7 +56,7 @@ 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 signin methods and account recovery. +* [**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. * [**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 users roles within a team. @@ -71,7 +71,7 @@ For the complete API documentation, visit [https://appwrite.io/docs](https://app Currently we are supporting a few SDK libraries and we are constantly working on adding new ones. -Below is a list of currently supported platforms and languages. If you wish to help us add support to your platform of choice you can go over to our [SDK Generator](https://github.com/appwrite/sdk-generator) project and view our contribution guide. +Below is a list of currently supported platforms and languages. If you wish to help us add support to your platform of choice, you can go over to our [SDK Generator](https://github.com/appwrite/sdk-generator) project and view our contribution guide. * ✅ [JS](https://github.com/appwrite/sdk-for-js) (Maintained by the Appwrite Team) * ✅ [PHP](https://github.com/appwrite/sdk-for-php) (Maintained by the Appwrite Team) @@ -86,7 +86,7 @@ For security issues, please email [security@appwrite.io](mailto:security@appwrit ## Follow Us -Join our growing commuinty around the world! Follow us on both [Twitter](https://twitter.com/appwrite_io), [Facebook Page](https://www.facebook.com/appwrite.io), [Facebook Group](https://www.facebook.com/groups/appwrite.developers/) or join our live [Gitter community](https://gitter.im/appwrite/community) for more help, ideas and discussions. +Join our growing community around the world! Follow us on [Twitter](https://twitter.com/appwrite_io), [Facebook Page](https://www.facebook.com/appwrite.io), [Facebook Group](https://www.facebook.com/groups/appwrite.developers/) or join our live [Gitter community](https://gitter.im/appwrite/community) for more help, ideas and discussions. ## Contributing @@ -103,4 +103,4 @@ Created by [Eldad Fux](https://twitter.com/eldadfux) with the amazing help of ou * 🇳🇴 Petter Charles Redfern ([Github](https://github.com/Chaaarles)) * 🇧🇷 Jessé Souza ([Github](https://github.com/jessescn)) * 🇪🇸 Esther Álvarez Feijoo ([Github](https://github.com/EstherAF)) -* 🇮🇳 Christy Jacob ([Github](https://github.com/christyjacob4), [Linkedin](https://www.linkedin.com/in/christyjacob4/)) \ No newline at end of file +* 🇮🇳 Christy Jacob ([Github](https://github.com/christyjacob4), [Linkedin](https://www.linkedin.com/in/christyjacob4/)) From e24e0533ff163937dd6280f17f12a44edeed0fff Mon Sep 17 00:00:00 2001 From: Panagiotis <1qk231@gmail.com> Date: Mon, 30 Sep 2019 16:01:54 +0300 Subject: [PATCH 16/76] Add Greek locale --- app/config/locale/gr.continents.php | 11 + app/config/locale/gr.countries.php | 198 ++++++++++++++++++ app/config/locale/gr.php | 21 ++ .../templates/gr.email.auth.confirm.tpl | 24 +++ .../templates/gr.email.auth.invitation.tpl | 27 +++ .../templates/gr.email.auth.recovery.tpl | 24 +++ 6 files changed, 305 insertions(+) create mode 100644 app/config/locale/gr.continents.php create mode 100644 app/config/locale/gr.countries.php create mode 100644 app/config/locale/gr.php create mode 100644 app/config/locale/templates/gr.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/gr.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/gr.email.auth.recovery.tpl diff --git a/app/config/locale/gr.continents.php b/app/config/locale/gr.continents.php new file mode 100644 index 000000000..4655baca9 --- /dev/null +++ b/app/config/locale/gr.continents.php @@ -0,0 +1,11 @@ + 'Αφρική', + 'AN' => 'Ανταρκτική', + 'AS' => 'Ασία', + 'EU' => 'Ευρώπη', + 'NA' => 'Βόρεια Αμερική', + 'OC' => 'Ωκεανία', + 'SA' => 'Νότια Αμερική', +]; diff --git a/app/config/locale/gr.countries.php b/app/config/locale/gr.countries.php new file mode 100644 index 000000000..68a3aa765 --- /dev/null +++ b/app/config/locale/gr.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' => 'Palau', + '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' => 'Ζιμπάμπουε', +]; diff --git a/app/config/locale/gr.php b/app/config/locale/gr.php new file mode 100644 index 000000000..95f24f938 --- /dev/null +++ b/app/config/locale/gr.php @@ -0,0 +1,21 @@ + '"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.locale' => 'gr', + 'settings.direction' => 'ltr', + + // Service - Users + 'auth.emails.team' => 'Ομάδα %s', + 'auth.emails.confirm.title' => 'Επιβεβαίωση Λογαριασμού', + 'auth.emails.confirm.body' => 'gr.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Επαναφορά Κωδικού Πρόσβασης', + 'auth.emails.recovery.body' => 'gr.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Πρόσκληση στην ομάδα %s στο %s', + 'auth.emails.invitation.body' => 'gr.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Άγνωστο', + + 'countries' => include 'gr.countries.php', + 'continents' => include 'gr.continents.php', +]; diff --git a/app/config/locale/templates/gr.email.auth.confirm.tpl b/app/config/locale/templates/gr.email.auth.confirm.tpl new file mode 100644 index 000000000..a62445476 --- /dev/null +++ b/app/config/locale/templates/gr.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Γεια σου {{name}}, +
+
+ Ακολούθησε αυτό τον σύνδεσμο για να επιβεβαιώσεις τη διεύθυνση email σου. +
+ {{redirect}} +
+
+ Αν δεν ζήτησες να επιβεβαιώσεις αυτή τη διεύθυνση, μπορείς να αγνοήσεις αυτό το μήνυμα. +
+
+ Ευχαριστούμε, +
+ Η ομάδα του {{project}} +
\ No newline at end of file diff --git a/app/config/locale/templates/gr.email.auth.invitation.tpl b/app/config/locale/templates/gr.email.auth.invitation.tpl new file mode 100644 index 000000000..101a1c673 --- /dev/null +++ b/app/config/locale/templates/gr.email.auth.invitation.tpl @@ -0,0 +1,27 @@ + + +
+ Γεια, +
+
+ Έλαβες αυτό το email επειδή ο {{owner}} σε προσκάλεσε να γίνεις μέλος της ομάδας {{team}} στο {{project}}. +
+
+ Ακολούθησε αυτό τον σύνδεσμο για να γίνεις μέλος της ομάδας {{team}}: +
+ {{redirect}} +
+
+ Άν δεν ενδιαφέρεσαι, μπορείς να αγνοήσεις αυτό το μήνυμα. +
+
+ Ευχαριστούμε, +
+ Η ομάδα του {{project}} +
diff --git a/app/config/locale/templates/gr.email.auth.recovery.tpl b/app/config/locale/templates/gr.email.auth.recovery.tpl new file mode 100644 index 000000000..cae164df2 --- /dev/null +++ b/app/config/locale/templates/gr.email.auth.recovery.tpl @@ -0,0 +1,24 @@ + + +
+ Γεια σου {{name}}, +
+
+ Ακολούθησε αυτό τον σύνδεσμο για να επαναφέρεις τον κωδικό πρόσβασής σου για το {{project}}. +
+ {{redirect}} +
+
+ Άν δεν ζήτησες αλλαγή κωδικού πρόσβασης, μπορείς να αγνοήσεις αυτο το μήνυμα. +
+
+ Ευχαριστούμε, +
+ Η ομάδα του {{project}} +
From b74ffc20c4feb79bef59362e60eba4b44aab801e Mon Sep 17 00:00:00 2001 From: Kolkies Date: Mon, 30 Sep 2019 14:54:56 +0000 Subject: [PATCH 17/76] Add nl continents --- app/config/locale/nl.continents.php | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/config/locale/nl.continents.php diff --git a/app/config/locale/nl.continents.php b/app/config/locale/nl.continents.php new file mode 100644 index 000000000..2994dcfeb --- /dev/null +++ b/app/config/locale/nl.continents.php @@ -0,0 +1,11 @@ + 'Afrika', + 'AN' => 'Antarctica', + 'AS' => 'Azië', + 'EU' => 'Europa', + 'NA' => 'Noord Amerika', + 'OC' => 'Oceanië', + 'SA' => 'Zuid Amerika', +]; From 0f66d8bffdb6d536244da6bfae2638b0cf9dc186 Mon Sep 17 00:00:00 2001 From: Kolkies Date: Mon, 30 Sep 2019 15:11:14 +0000 Subject: [PATCH 18/76] Working on countries and added nl.php --- app/config/locale/nl.countries.php | 198 +++++++++++++++++++++++++++++ app/config/locale/nl.php | 21 +++ 2 files changed, 219 insertions(+) create mode 100644 app/config/locale/nl.countries.php create mode 100644 app/config/locale/nl.php diff --git a/app/config/locale/nl.countries.php b/app/config/locale/nl.countries.php new file mode 100644 index 000000000..f89521a75 --- /dev/null +++ b/app/config/locale/nl.countries.php @@ -0,0 +1,198 @@ + 'Afghanistan', + 'AO' => 'Angola', + 'AL' => 'Albanië', + 'AD' => 'Andorra', + 'AE' => 'Verenigde Arabische Emiraten', + 'AR' => 'Argentinië', + 'AM' => 'Armenië', + 'AG' => 'Antigua en Barbuda', + 'AU' => 'Australië', + 'AT' => 'Oostenrijk', + 'AZ' => 'Azerbeidzjan', + 'BI' => 'Boeroendi', + 'BE' => 'België', + 'BJ' => 'Benin', + 'BF' => 'Burkina Faso', + 'BD' => 'Bangladesh', + 'BG' => 'Bulgarije', + 'BH' => 'Bahrain', + 'BS' => 'Bahamas', + 'BA' => 'Bosnia and Herzegovina', + 'BY' => 'Wit-Rusland', + 'BZ' => 'Belize', + 'BO' => 'Bolivia', + 'BR' => 'Brazilië', + 'BB' => 'Barbados', + 'BN' => 'Brunei', + 'BT' => 'Bhutan', + 'BW' => 'Botswana', + 'CF' => 'Central African Republic', + 'CA' => 'Canada', + 'CH' => 'Zwitserland', + 'CL' => 'Chili', + 'CN' => 'China', + 'CI' => 'Ivoorkust', + 'CM' => 'Kameroen', + 'CD' => 'DR Congo', + 'CG' => 'Republiek Congo', + 'CO' => 'Colombia', + 'KM' => 'Comoren', + 'CV' => 'Cape Verde', + 'CR' => 'Costa Rica', + 'CU' => 'Cuba', + 'CY' => 'Cyprus', + 'CZ' => 'Tsjechië', + 'DE' => 'Duitsland', + 'DJ' => 'Djibouti', + 'DM' => 'Dominica', + 'DK' => 'Denemarken', + 'DO' => 'Dominican Republic', + 'DZ' => 'Algerije', + 'EC' => 'Ecuador', + 'EG' => 'Egypte', + 'ER' => 'Eritrea', + 'ES' => 'Spanje', + 'EE' => 'Estland', + 'ET' => 'Ethiopië', + 'FI' => 'Finland', + 'FJ' => 'Fiji', + 'FR' => 'Frankrijk', + 'FM' => 'Micronesië', + 'GA' => 'Gabon', + 'GB' => 'Verenigd Koninkrijk', + 'GE' => 'Georgië', + 'GH' => 'Ghana', + 'GN' => 'Guinea', + 'GM' => 'Gambia', + 'GW' => 'Guinea-Bissau', + 'GQ' => 'Equatorial Guinea', + 'GR' => 'Griekenland', + 'GD' => 'Grenada', + 'GT' => 'Guatemala', + 'GY' => 'Guyana', + 'HN' => 'Honduras', + 'HR' => 'Croatië', + 'HT' => 'Haiti', + 'HU' => 'Hongarije', + 'ID' => 'Indonesië', + 'IN' => 'India', + 'IE' => 'Ierland', + 'IR' => 'Iran', + 'IQ' => 'Irak', + 'IS' => 'IJsland', + 'IL' => 'Israel', + 'IT' => 'Italië', + 'JM' => 'Jamaica', + 'JO' => 'Jordan', + 'JP' => 'Japan', + 'KZ' => 'Kazakhstan', + 'KE' => 'Kenia', + 'KG' => 'Kirgizië', + 'KH' => 'Cambodia', + 'KI' => 'Kiribati', + 'KN' => 'Saint Kitts and Nevis', + 'KR' => 'Zuid Korea', + 'KW' => 'Koeweit', + 'LA' => 'Laos', + 'LB' => 'Libanon', + 'LR' => 'Liberia', + 'LY' => 'Libya', + 'LC' => 'Saint Lucia', + 'LI' => 'Liechtenstein', + 'LK' => 'Sri Lanka', + 'LS' => 'Lesotho', + 'LT' => 'Litouwen', + 'LU' => 'Luxemburg', + 'LV' => 'Letland', + 'MA' => 'Marokko', + 'MC' => 'Monaco', + 'MD' => 'Moldavië', + 'MG' => 'Madagascar', + 'MV' => 'Maldives', + 'MX' => 'Mexico', + 'MH' => 'Marshall Islands', + 'MK' => 'Macedonia', + 'ML' => 'Mali', + 'MT' => 'Malta', + 'MM' => 'Myanmar', + 'ME' => 'Montenegro', + 'MN' => 'Mongolia', + 'MZ' => 'Mozambique', + 'MR' => 'Mauritania', + 'MU' => 'Mauritius', + 'MW' => 'Malawi', + 'MY' => 'Malaysia', + 'NA' => 'Namibia', + 'NE' => 'Niger', + 'NG' => 'Nigeria', + 'NI' => 'Nicaragua', + 'NL' => 'Nederland', + 'NO' => 'Noorwegen', + 'NP' => 'Nepal', + 'NR' => 'Nauru', + 'NZ' => 'New Zealand', + 'OM' => 'Oman', + 'PK' => 'Pakistan', + 'PA' => 'Panama', + 'PE' => 'Peru', + 'PH' => 'Philippines', + 'PW' => 'Palau', + 'PG' => 'Papua New Guinea', + 'PL' => 'Poland', + 'KP' => 'North Korea', + 'PT' => 'Portugal', + 'PY' => 'Paraguay', + 'QA' => 'Qatar', + 'RO' => 'Romania', + 'RU' => 'Russia', + 'RW' => 'Rwanda', + 'SA' => 'Saudi Arabia', + 'SD' => 'Sudan', + 'SN' => 'Senegal', + 'SG' => 'Singapore', + 'SB' => 'Solomon Islands', + 'SL' => 'Sierra Leone', + 'SV' => 'El Salvador', + 'SM' => 'San Marino', + 'SO' => 'Somalia', + 'RS' => 'Serbia', + 'SS' => 'South Sudan', + 'ST' => 'São Tomé and Príncipe', + 'SR' => 'Suriname', + 'SK' => 'Slovakia', + 'SI' => 'Slovenia', + 'SE' => 'Sweden', + 'SZ' => 'Swaziland', + 'SC' => 'Seychelles', + 'SY' => 'Syria', + 'TD' => 'Chad', + 'TG' => 'Togo', + 'TH' => 'Thailand', + 'TJ' => 'Tajikistan', + 'TM' => 'Turkmenistan', + 'TL' => 'Timor-Leste', + 'TO' => 'Tonga', + 'TT' => 'Trinidad and Tobago', + 'TN' => 'Tunisia', + 'TR' => 'Turkey', + 'TV' => 'Tuvalu', + 'TZ' => 'Tanzania', + 'UG' => 'Uganda', + 'UA' => 'Ukraine', + 'UY' => 'Uruguay', + 'US' => 'United States', + 'UZ' => 'Uzbekistan', + 'VA' => 'Vatican City', + 'VC' => 'Saint Vincent and the Grenadines', + 'VE' => 'Venezuela', + 'VN' => 'Vietnam', + 'VU' => 'Vanuatu', + 'WS' => 'Samoa', + 'YE' => 'Yemen', + 'ZA' => 'South Africa', + 'ZM' => 'Zambia', + 'ZW' => 'Zimbabwe', +]; diff --git a/app/config/locale/nl.php b/app/config/locale/nl.php new file mode 100644 index 000000000..c73341b17 --- /dev/null +++ b/app/config/locale/nl.php @@ -0,0 +1,21 @@ + '"De kunst om wijs te zijn is de kunst om te weten wat over het hoofd gezien moet worden."', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'nl', + 'settings.direction' => 'ltr', + + // Service - Users + 'auth.emails.team' => '%s Team', + 'auth.emails.confirm.title' => 'Account Bevestiging', + 'auth.emails.confirm.body' => 'nl.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Wachtwoord herstellen', + 'auth.emails.recovery.body' => 'nl.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Uitnodiging naar %s Team voor %s', + 'auth.emails.invitation.body' => 'nl.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Onbekend', + + 'countries' => include 'nl.countries.php', + 'continents' => include 'nl.continents.php', +]; \ No newline at end of file From 975361440f77f4fa46fa4538183c0843c41f1916 Mon Sep 17 00:00:00 2001 From: Corentin Le Fur Date: Mon, 30 Sep 2019 18:03:35 +0200 Subject: [PATCH 19/76] Add FR locale --- app/config/locale/fr.continents.php | 11 + app/config/locale/fr.countries.php | 198 ++++++++++++++++++ app/config/locale/fr.php | 21 ++ .../templates/fr.email.auth.confirm.tpl | 24 +++ .../templates/fr.email.auth.invitation.tpl | 28 +++ .../templates/fr.email.auth.recovery.tpl | 24 +++ 6 files changed, 306 insertions(+) create mode 100644 app/config/locale/fr.continents.php create mode 100644 app/config/locale/fr.countries.php create mode 100644 app/config/locale/fr.php create mode 100644 app/config/locale/templates/fr.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/fr.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/fr.email.auth.recovery.tpl diff --git a/app/config/locale/fr.continents.php b/app/config/locale/fr.continents.php new file mode 100644 index 000000000..97f163de2 --- /dev/null +++ b/app/config/locale/fr.continents.php @@ -0,0 +1,11 @@ + 'Afrique', + 'AN' => 'Antartique', + 'AS' => 'Asie', + 'EU' => 'Europe', + 'NA' => 'Amérique du Nord', + 'OC' => 'Océanie', + 'SA' => 'Amérique du Sud', +]; diff --git a/app/config/locale/fr.countries.php b/app/config/locale/fr.countries.php new file mode 100644 index 000000000..ae0b0a18f --- /dev/null +++ b/app/config/locale/fr.countries.php @@ -0,0 +1,198 @@ + 'Afghanistan', + 'AO' => 'Angola', + 'AL' => 'Albanie', + 'AD' => 'Andorre', + 'AE' => 'Émirats Arabes Unis', + 'AR' => 'Argentine', + 'AM' => 'Arménie', + 'AG' => 'Antigua et Barbuda', + 'AU' => 'Australie', + 'AT' => 'Autriche', + 'AZ' => 'Azerbaïdjan', + 'BI' => 'Burundi', + 'BE' => 'Belgique', + 'BJ' => 'Bénin', + 'BF' => 'Burkina Faso', + 'BD' => 'Bangladesh', + 'BG' => 'Bulgarie', + 'BH' => 'Bahrain', + 'BS' => 'Bahamas', + 'BA' => 'Bosnie-Herzégovine', + 'BY' => 'Belarus', + 'BZ' => 'Belize', + 'BO' => 'Bolivie', + 'BR' => 'Brésil', + 'BB' => 'Barbade', + 'BN' => 'Brunei', + 'BT' => 'Bhoutan', + 'BW' => 'Botswana', + 'CF' => 'République centrafricaine', + 'CA' => 'Canada', + 'CH' => 'Suisse', + 'CL' => 'Chili', + 'CN' => 'Chine', + 'CI' => 'Côte d\'Ivoire', + 'CM' => 'Cameroun', + 'CD' => 'République démocratique du Congo', + 'CG' => 'République du Congo', + 'CO' => 'Colombie', + 'KM' => 'Comores', + 'CV' => 'Cap Vert', + 'CR' => 'Costa Rica', + 'CU' => 'Cuba', + 'CY' => 'Chypre', + 'CZ' => 'République Tchèque', + 'DE' => 'Allemagne', + 'DJ' => 'Djibouti', + 'DM' => 'Dominique', + 'DK' => 'Danemark', + 'DO' => 'République dominicaine', + 'DZ' => 'Algérie', + 'CE' => 'Équateur', + 'EG' => 'Égypte', + 'ER' => 'Érythrée', + 'ES' => 'Espagne', + 'EE' => 'Estonie', + 'ET' => 'Ethiopie', + 'FI' => 'Finlande', + 'FJ' => 'Fidji', + 'FR' => 'France', + 'FM' => 'Micronésie', + 'GA' => 'Gabon', + 'GB' => 'Royaume-Uni', + 'GE' => 'Géorgie', + 'GH' => 'Ghana', + 'GN' => 'Guinée', + 'GM' => 'Gambie', + 'GW' => 'Guinée-Bissau', + 'GQ' => 'Guinée équatoriale', + 'GR' => 'Grèce', + 'GD' => 'Grenade', + 'GT' => 'Guatemala', + 'GY' => 'Guyane', + 'HN' => 'Honduras', + 'HR' => 'Croatie', + 'HT' => 'Haïti', + 'HU' => 'Hongrie', + 'ID' => 'Indonésie', + 'IN' => 'Inde', + 'IE' => 'Irlande', + 'IR' => 'Iran', + 'IQ' => 'Irak', + 'IS' => 'Islande', + 'IL' => 'Israël', + 'IT' => 'Italie', + 'JM' => 'Jamaïque', + 'JO' => 'Jordanie', + 'JP' => 'Japon', + 'KZ' => 'Kazakhstan', + 'KE' => 'Kenya', + 'KG' => 'Kirghizistan', + 'KH' => 'Cambodge', + 'KI' => 'Kiribati', + 'KN' => 'Saint-Kitts-et-Nevis', + 'KR' => 'Corée du Sud', + 'KW' => 'Koweït', + 'LA' => 'Laos', + 'LB' => 'Liban', + 'LR' => 'Libéria', + 'LY' => 'Libye', + 'LC' => 'Sainte Lucie', + 'LI' => 'Liechtenstein', + 'LK' => 'Sri Lanka', + 'LS' => 'Lesotho', + 'LT' => 'Lituanie', + 'LU' => 'Luxembourg', + 'LV' => 'Lettonie', + 'MA' => 'Maroc', + 'MC' => 'Monaco', + 'MD' => 'Moldavie', + 'MG' => 'Madagascar', + 'MV' => 'Maldives', + 'MX' => 'Mexique', + 'MH' => 'Iles Marshall', + 'MK' => 'Macédonie', + 'ML' => 'Mali', + 'MT' => 'Malte', + 'MM' => 'Myanmar', + 'ME' => 'Monténégro', + 'MN' => 'Mongolie', + 'MZ' => 'Mozambique', + 'MR' => 'Mauritania', + 'MU' => 'Maurice', + 'MW' => 'Malawi', + 'MY' => 'Malaisie', + 'NA' => 'Namibie', + 'NE' => 'Niger', + 'NG' => 'Nigeria', + 'NI' => 'Nicaragua', + 'NL' => 'Pays-Bas', + 'NON' => 'Norvège', + 'NP' => 'Nepal', + 'NR' => 'Nauru', + 'NZ' => 'Nouvelle-Zélande', + 'OM' => 'Oman', + 'PK' => 'Pakistan', + 'PA' => 'Panama', + 'PE' => 'Pérou', + 'PH' => 'Philippines', + 'PW' => 'Palau', + 'PG' => 'Papouasie Nouvelle Guinée', + 'PL' => 'Pologne', + 'KP' => 'Corée du Nord', + 'PT' => 'Portugal', + 'PY' => 'Paraguay', + 'QA' => 'Qatar', + 'RO' => 'Roumanie', + 'RU' => 'Russie', + 'RW' => 'Rwanda', + 'SA' => 'Arabie Saoudite', + 'SD' => 'Soudan', + 'SN' => 'Sénégal', + 'SG' => 'Singapour', + 'SB' => 'Iles Salomon', + 'SL' => 'Sierra Leone', + 'SV' => 'El Salvador', + 'SM' => 'Saint-Marin', + 'SO' => 'Somalie', + 'RS' => 'Serbie', + 'SS' => 'Soudan du Sud', + 'ST' => 'São Tomé et Príncipe', + 'SR' => 'Suriname', + 'SK' => 'Slovaquie', + 'SI' => 'Slovénie', + 'SE' => 'Suède', + 'SZ' => 'Swaziland', + 'SC' => 'Seychelles', + 'SY' => 'Syrie', + 'TD' => 'Chad', + 'TG' => 'Togo', + 'TH' => 'Thaïlande', + 'TJ' => 'Tadjikistan', + 'TM' => 'Turkmenistan', + 'TL' => 'Timor-Leste', + 'TO' => 'Tonga', + 'TT' => 'Trinidad et Tobago', + 'TN' => 'Tunisie', + 'TR' => 'Turquie', + 'TV' => 'Tuvalu', + 'TZ' => 'Tanzanie', + 'UG' => 'Uganda', + 'UA' => 'Ukraine', + 'UY' => 'Uruguay', + 'US' => 'États-Unis', + 'UZ' => 'Ouzbékistan', + 'VA' => 'Cité du Vatican', + 'VC' => 'Saint-Vincent-et-les Grenadines', + 'VE' => 'Venezuela', + 'VN' => 'Vietnam', + 'VU' => 'Vanuatu', + 'WS' => 'Samoa', + 'YE' => 'Yemen', + 'ZA' => 'Afrique du Sud', + 'ZM' => 'Zambie', + 'ZW' => 'Zimbabwe', +]; diff --git a/app/config/locale/fr.php b/app/config/locale/fr.php new file mode 100644 index 000000000..f74a2a72d --- /dev/null +++ b/app/config/locale/fr.php @@ -0,0 +1,21 @@ + '"L\'art d\'être sage est l\'art de savoir quoi négliger."', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'fr', + 'settings.direction' => 'ltr', + + // Service - Users + 'auth.emails.team' => 'Équipe %s', + 'auth.emails.confirm.title' => 'Confirmation de création de compte', + 'auth.emails.confirm.body' => 'fr.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Réinitialisation de mot de passe', + 'auth.emails.recovery.body' => 'fr.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Invitation pour l\'équipe %s au projet %s', + 'auth.emails.invitation.body' => 'fr.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Inconnu', + + 'countries' => include 'fr.countries.php', + 'continents' => include 'fr.continents.php', +]; diff --git a/app/config/locale/templates/fr.email.auth.confirm.tpl b/app/config/locale/templates/fr.email.auth.confirm.tpl new file mode 100644 index 000000000..21621e237 --- /dev/null +++ b/app/config/locale/templates/fr.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Bonjour {{name}}, +
+
+ Cliquez sur le lien suivant pour vérifier votre adresse mail. +
+ {{redirect}} +
+
+ Si vous n'avez pas demandé une vérification de cette adresse mail, vous pouvez ignorer ce message. +
+
+ Merci, +
+ L'équipe {{project}} +
diff --git a/app/config/locale/templates/fr.email.auth.invitation.tpl b/app/config/locale/templates/fr.email.auth.invitation.tpl new file mode 100644 index 000000000..10d67ba74 --- /dev/null +++ b/app/config/locale/templates/fr.email.auth.invitation.tpl @@ -0,0 +1,28 @@ + + +
+ Bonjour, +
+
+ This mail was sent to you because {{owner}} wanted to invite you to become a team member at the {{team}} team over at {{project}}. + Ce mail vous a été envoyé car {{owner}} vous invite à devenir membre de l'équipe {{team}} sur le projet {{project}}. +
+
+ Cliquez sur le lien suivant pour rejoindre l'équipe {{team}}: +
+ {{redirect}} +
+
+ Si vous n'êtes pas intéressé, vous pouvez ignorer ce message. +
+
+ Merci, +
+ L'équipe {{project}} +
diff --git a/app/config/locale/templates/fr.email.auth.recovery.tpl b/app/config/locale/templates/fr.email.auth.recovery.tpl new file mode 100644 index 000000000..d3ab2a305 --- /dev/null +++ b/app/config/locale/templates/fr.email.auth.recovery.tpl @@ -0,0 +1,24 @@ + + +
+ Bonjour {{name}}, +
+
+ Cliquez sur le lien suivant pour réinitialiser votre mot de passe pour le projet {{project}}. +
+ {{redirect}} +
+
+ Si vous n'êtes pas à l'origine de cette demande de réinitialisation de mot de passe, vous pouvez ignorer ce message. +
+
+ Merci, +
+ L'équipe {{project}} +
From c4fab0f2c42b84ccc04f99f25fa11af023da94ab Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Mon, 30 Sep 2019 23:34:07 +0300 Subject: [PATCH 20/76] =?UTF-8?q?Document=20typo=20fix:=20Whould=E2=86=92W?= =?UTF-8?q?ould?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c1ac1ca49..2db44243b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -83,7 +83,7 @@ Adding a new dependency should have vital value on the product with minimum poss ## Introducing New Features -We whould 💖 you to contribute to Appwrite, but we whould also like to make sure Appwrite is as great as possible and loyal to its vision and mission statement 🙏. +We would 💖 you to contribute to Appwrite, but we would also like to make sure Appwrite is as great as possible and loyal to its vision and mission statement 🙏. For us to find the right balance, please open an issue explaining your ideas before intoducing a new pull requests. From 015e26ca48fb6336ae8f1e8c9663a8a30ca932a5 Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Mon, 30 Sep 2019 23:35:46 +0300 Subject: [PATCH 21/76] =?UTF-8?q?Documentation=20typo=20fix:=20formmating?= =?UTF-8?q?=E2=86=92formatting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2db44243b..ace913fbd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,7 +36,7 @@ Appwrite uses PHPs Composer for managing dependencies on the server-side and JS Appwrite is following the PHP-FIG standards. Currently, we are using both PSR-0 and PSR-4 for coding standards and autoloading standards. Soon we will also review the project for support with PSR-12 (Extended Coding Style). -We use prettier for our JS coding standards and for auto-formmating our code. +We use prettier for our JS coding standards and for auto-formatting our code. ## Scalability, Speed and Performance From ea81f2c78dc5f69283cb3ecbe985c163d491958b Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Mon, 30 Sep 2019 23:37:12 +0300 Subject: [PATCH 22/76] =?UTF-8?q?Documentation=20typo=20fix:=20intoducing?= =?UTF-8?q?=E2=86=92introducing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ace913fbd..490f08e0d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -85,7 +85,7 @@ Adding a new dependency should have vital value on the product with minimum poss We would 💖 you to contribute to Appwrite, but we would also like to make sure Appwrite is as great as possible and loyal to its vision and mission statement 🙏. -For us to find the right balance, please open an issue explaining your ideas before intoducing a new pull requests. +For us to find the right balance, please open an issue explaining your ideas before introducing a new pull requests. This will allow the Appwrite community to have sufficient discussion about the new feature value and how it fits in the product roadmap and vision. From 71fe3dc96b1cfd903352840e36b544e259057caf Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Mon, 30 Sep 2019 23:38:28 +0300 Subject: [PATCH 23/76] =?UTF-8?q?Documentation=20typo=20fix:=20repetitve?= =?UTF-8?q?=E2=86=92repetitive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3e68cb94..5b04a4ffa 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 aims to make developers life a lot easier by hiding the complexity of common and repetitve software development tasks. +Appwrite API services aims to make developers 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, 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. From 7699788ce2d87b3e311eb9c46aa68206a058bb82 Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Mon, 30 Sep 2019 23:39:32 +0300 Subject: [PATCH 24/76] =?UTF-8?q?Documentation=20typo=20fix:=20symol?= =?UTF-8?q?=E2=86=92symbol?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/sdks/php/docs/locale.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sdks/php/docs/locale.md b/app/sdks/php/docs/locale.md index 763554648..e977fa99c 100644 --- a/app/sdks/php/docs/locale.md +++ b/app/sdks/php/docs/locale.md @@ -38,5 +38,5 @@ GET https://appwrite.test/v1/locale/countries/phones GET https://appwrite.test/v1/locale/currencies ``` -** List of all currencies, including currency symol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in supported language. ** +** List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in supported language. ** From d39f48fd97a22e325fea7ecc3aa0c8a47c877680 Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Mon, 30 Sep 2019 23:41:50 +0300 Subject: [PATCH 25/76] =?UTF-8?q?Documentation=20typo=20fixes:=20ofyour?= =?UTF-8?q?=E2=86=92of=20your;=20camelcase=E2=86=92camelCase;=20100X100px?= =?UTF-8?q?=E2=86=92100=C3=97100px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/AddOAuthProvider.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/AddOAuthProvider.md b/docs/AddOAuthProvider.md index b25e25195..290f2a91d 100644 --- a/docs/AddOAuthProvider.md +++ b/docs/AddOAuthProvider.md @@ -18,11 +18,11 @@ The first step in adding a new OAuth provider is to list it in providers config ./app/config/providers.php ``` -Make sure to fill all data needed and that your provider array key name is in camelcase format and has no spaces or special characters. +Make sure to fill all data needed and that your provider array key name is in camelCase format and has no spaces or special characters. ### Add Provider Logo -Add a logo image to your new provider in this path: ./public/images/oauth. Your logo should be a png 100X100px file with the name ofyour provider (all lowercase). Please make sure to leave about 20px padding around the logo to be consistent with other logos. +Add a logo image to your new provider in this path: ./public/images/oauth. Your logo should be a png 100×100px file with the name of your provider (all lowercase). Please make sure to leave about 20px padding around the logo to be consistent with other logos. ### Add Provider Class From 99bf8c1a1c6bd0e71eef5c28d4d308168a1ddca6 Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Mon, 30 Sep 2019 23:43:34 +0300 Subject: [PATCH 26/76] =?UTF-8?q?Documentation=20typo=20fixes:=20enviornem?= =?UTF-8?q?nt=E2=86=92environment;=20custon=E2=86=92custom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that /docs/EnviornementVariables.md has typo in the file name. This change may break external links, so not renamed at this time. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b04a4ffa..87fc45c0a 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ docker-compose up -d --remove-orphans Once the Docker installation completes, go to http://localhost to access the Appwrite console from your browser. Please notice that on non-linux native hosts the server might take a few minutes to start after installation completes. -For advanced, production and custon installation check out our Docker [enviornemnt variables](/docs/EnviornementVariables.md) docs. +For advanced, production and custom installation check out our Docker [environment variables](/docs/EnviornementVariables.md) docs. ### Changing Port Number From 6921efb9574568014acfdb02da1d812234cef378 Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Mon, 30 Sep 2019 23:46:20 +0300 Subject: [PATCH 27/76] =?UTF-8?q?Documentation=20typo=20fix:=20contributer?= =?UTF-8?q?s=E2=86=92contributors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 490f08e0d..f3685f9f5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -121,6 +121,6 @@ Before running the command make sure you have proper write permissions to Appwri ## Tutorials -From time to time our team will add tutorials that will help contributers find there way in the Appwrite source code. Below is a list of currently available tutorials: +From time to time our team will add tutorials that will help contributors find there way in the Appwrite source code. Below is a list of currently available tutorials: * [Adding Support for a New OAuth Provider](./docs/AddOAuthProvider.md) \ No newline at end of file From dba53218ec52878f3d31324f8aa320b33982af1d Mon Sep 17 00:00:00 2001 From: eldadfux Date: Tue, 1 Oct 2019 00:03:36 +0300 Subject: [PATCH 28/76] Updated credits --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 87fc45c0a..03d08d6f9 100644 --- a/README.md +++ b/README.md @@ -107,4 +107,5 @@ Created by [Eldad Fux](https://twitter.com/eldadfux) with the amazing help of ou * 🇺🇦 Dmitriy Danilov ([Github](https://github.com/daniloff200), [Twitter](https://twitter.com/daniloff200)) * 🇮🇩 Zeet ([Github](https://github.com/Kiy4h)) * 🇫🇮 Pessi Päivärinne ([Github](https://github.com/pessip)) -* 🇺🇳 Sergi Vos ([Github](https://github.com/sergivb01), [Twitter](https://twitter.com/sergivb01), [Linkedin](https://www.linkedin.com/in/sergivb01/)) \ No newline at end of file +* 🇺🇳 Sergi Vos ([Github](https://github.com/sergivb01), [Twitter](https://twitter.com/sergivb01), [Linkedin](https://www.linkedin.com/in/sergivb01/)) +* 🇮🇱 Tomer Cohen ([Github](https://github.com/tomer), [Twitter](https://twitter.com/tomer)) \ No newline at end of file From dd883c6449ceeada735e566b3b6972ad21830514 Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Tue, 1 Oct 2019 00:04:25 +0300 Subject: [PATCH 29/76] Hebrew locale: Use Geresh and Maqaf as needed --- app/config/locale/he.countries.php | 2 +- app/config/locale/he.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/locale/he.countries.php b/app/config/locale/he.countries.php index 370dfcd17..3d0d29f4a 100644 --- a/app/config/locale/he.countries.php +++ b/app/config/locale/he.countries.php @@ -7,7 +7,7 @@ return [ 'AU' => 'אוסטרליה', 'UA' => 'אוקראינה', 'UY' => 'אורוגוואי', - 'AZ' => 'אזרבייג\'ן', + 'AZ' => 'אזרבייג׳ן', 'AE' => 'איחוד האמירויות הערביות', 'IT' => 'איטליה', 'BS' => 'איי בהאמה', diff --git a/app/config/locale/he.php b/app/config/locale/he.php index 41ce63ea7..14a3e2cc2 100644 --- a/app/config/locale/he.php +++ b/app/config/locale/he.php @@ -11,7 +11,7 @@ return [ 'auth.emails.confirm.body' => 'he.email.auth.confirm.tpl', 'auth.emails.recovery.title' => 'איפוס סיסמא', 'auth.emails.recovery.body' => 'he.email.auth.recovery.tpl', - 'auth.emails.invitation.title' => 'הזמנה לצוות של %s ב-%s', + 'auth.emails.invitation.title' => 'הזמנה לצוות של %s ב־%s', 'auth.emails.invitation.body' => 'he.email.auth.invitation.tpl', 'locale.country.unknown' => 'לא ידוע', From 11c01a3a4b5e9671ff1ed65b5a71df587fe73d3f Mon Sep 17 00:00:00 2001 From: Tomer Cohen Date: Tue, 1 Oct 2019 00:07:14 +0300 Subject: [PATCH 30/76] Hebrew locale: Use gender natural content when possible --- app/config/locale/templates/he.email.auth.confirm.tpl | 6 +++--- app/config/locale/templates/he.email.auth.invitation.tpl | 8 ++++---- app/config/locale/templates/he.email.auth.recovery.tpl | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/config/locale/templates/he.email.auth.confirm.tpl b/app/config/locale/templates/he.email.auth.confirm.tpl index ba18e2a06..bc9189a16 100644 --- a/app/config/locale/templates/he.email.auth.confirm.tpl +++ b/app/config/locale/templates/he.email.auth.confirm.tpl @@ -10,15 +10,15 @@ שלום {{name}},

- לחץ\י על הלינק הבא על מנת לאמת את החשבון שלך. + נא ללחוץ על הקישור שלהלן כדי לאמת את החשבון שלך.
{{redirect}}

- במידה ולא ביקשת לאמת את כתובת המייל הזאת, את\ה יכול\ה להתעלם ממייל זה. + אם לא ביקשת לאמת את כתובת הדוא״ל, ניתן להתעלם מההודעה זו.

- תודה, + בברכה,
צוות {{project}} \ No newline at end of file diff --git a/app/config/locale/templates/he.email.auth.invitation.tpl b/app/config/locale/templates/he.email.auth.invitation.tpl index ca204cb4c..a7514affd 100644 --- a/app/config/locale/templates/he.email.auth.invitation.tpl +++ b/app/config/locale/templates/he.email.auth.invitation.tpl @@ -10,18 +10,18 @@ שלום,

- מייל זה נשלח אליך בגלל ש-{{owner}} רוצה להזמין אותך להפוך לחבר\ת צוות בצוות {{team}} ב-{{project}}. + הודעת דוא״ל זו נשלחה אליך כי {{owner}} ביקש להזמינך להצטרף לצוות {{team}} ב־{{project}}.

- בכדי להצטרף לצוות {{team}}, לחץ על הלינק: + כדי להצטרף לצוות {{team}}, נא ללחוץ על הקישור:
{{redirect}}

- במידה ואינך מעוניין\ת, אנא התעלם\י ממייל זה. + אם איך לך עניין להצטרף לצוות, ניתן להתעלם מהודעת דוא״ל זו.

- תודה, + בברכה,
צוות {{project}} diff --git a/app/config/locale/templates/he.email.auth.recovery.tpl b/app/config/locale/templates/he.email.auth.recovery.tpl index 71f7015d3..e349365f0 100644 --- a/app/config/locale/templates/he.email.auth.recovery.tpl +++ b/app/config/locale/templates/he.email.auth.recovery.tpl @@ -10,15 +10,15 @@ שלום {{name}},

- לחץ\י על הלינק בכדי לאפס את הסיסמא שלך ב-{{project}}. + נא ללחוץ על הקישור שלהלן כדי לאפס את הסיסמה שלך ב־{{project}}.
{{redirect}}

- במידה ולא ביקשת לאפס את סיסמתך, את\ה יכול\ה להתעלם ממייל זה. + אם לא ביקשת לאפס את סיסמתך, ניתן להתעלם מהודעת דוא״ל זו.

- תודה, + בברכה,
צוות {{project}} From ded8136781a43fca266e678843a18ce83465d247 Mon Sep 17 00:00:00 2001 From: eldadfux Date: Tue, 1 Oct 2019 00:18:51 +0300 Subject: [PATCH 31/76] Updated credits --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 03d08d6f9..965f46c5a 100644 --- a/README.md +++ b/README.md @@ -108,4 +108,5 @@ Created by [Eldad Fux](https://twitter.com/eldadfux) with the amazing help of ou * 🇮🇩 Zeet ([Github](https://github.com/Kiy4h)) * 🇫🇮 Pessi Päivärinne ([Github](https://github.com/pessip)) * 🇺🇳 Sergi Vos ([Github](https://github.com/sergivb01), [Twitter](https://twitter.com/sergivb01), [Linkedin](https://www.linkedin.com/in/sergivb01/)) -* 🇮🇱 Tomer Cohen ([Github](https://github.com/tomer), [Twitter](https://twitter.com/tomer)) \ No newline at end of file +* 🇮🇱 Tomer Cohen ([Github](https://github.com/tomer), [Twitter](https://twitter.com/tomer)) +* 🇬🇷 Panagiotis Skarlas ([Github](https://github.com/1qk1), [Twitter](https://twitter.com/qktweets)) \ No newline at end of file From 0c8b8f553d4b2258f96ab397a38955925db1cc9a Mon Sep 17 00:00:00 2001 From: DEBSUBHRA ROY <42496309+DEBSUBHRO@users.noreply.github.com> Date: Tue, 1 Oct 2019 03:43:12 +0530 Subject: [PATCH 32/76] Update README.md Added and changed some terms for a better view of the document. Removed the bulletins from the "currently supported platforms" section for a better view. --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 965f46c5a..330644b6f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@

- Appwrite Logo + Appwrite Logo

- Simple Backend Server for your [Vue / Angular / React / iOS / Android / Flutter / *ANY*] Frontend App + Simple Backend Server for your [Vue / Angular / React / iOS / Android / Flutter / *ANY OTHER*] Frontend App

@@ -37,9 +37,9 @@ curl -o docker-compose.yml https://appwrite.io/docker-compose.yml?port=80 && \ docker-compose up -d --remove-orphans ``` -Once the Docker installation completes, go to http://localhost to access the Appwrite console from your browser. Please notice that on non-linux native hosts the server might take a few minutes to start after installation completes. +Once the Docker installation is completed, go to http://localhost to access the Appwrite console from your browser. Please notice that on non-linux native hosts the server might take a few minutes to start after the completion of the installation. -For advanced, production and custom installation check out our Docker [environment variables](/docs/EnviornementVariables.md) docs. +For advanced, production and custom installation, check out our Docker [environment variables](/docs/EnviornementVariables.md) docs. ### Changing Port Number @@ -50,9 +50,9 @@ In case your port 80 is already taken, change the port number in the command abo Getting started with Appwrite is as easy as creating a new project, choosing your platform and integrating its SDK in your code. You can easily get started with your platform of choice by reading one of our getting started tutorials. * [Getting Started for Web](https://appwrite.io/docs/getting-started-for-web) +* [Getting Started for Server](https://appwrite.io/docs/getting-started-for-server) * Getting Started for Android (soon...) * Getting Started for iOS (soon...) -* [Getting Started for Server](https://appwrite.io/docs/getting-started-for-server) ### Services @@ -69,20 +69,20 @@ For the complete API documentation, visit [https://appwrite.io/docs](https://app ### SDKs -Currently we are supporting a few SDK libraries and we are constantly working on adding new ones. +Currently, we are supporting only a few SDK libraries and are constantly working on including new ones. Below is a list of currently supported platforms and languages. If you wish to help us add support to your platform of choice you can go over to our [SDK Generator](https://github.com/appwrite/sdk-generator) project and view our contribution guide. -* ✅ [JS](https://github.com/appwrite/sdk-for-js) (Maintained by the Appwrite Team) -* ✅ [PHP](https://github.com/appwrite/sdk-for-php) (Maintained by the Appwrite Team) -* ✅ [NodeJS](https://github.com/appwrite/sdk-for-node) (Maintained by the Appwrite Team) -* ✅ [Ruby](https://github.com/appwrite/sdk-for-ruby) - **Work in progress** (Maintained by the Appwrite Team) -* ✅ [Python](https://github.com/appwrite/sdk-for-python) - **Work in progress** (Maintained by the Appwrite Team) -* ✳️ Looking for more SDKs? - Help us by contributing a pull request to our [SDK Generator](https://github.com/appwrite/sdk-generator)! +✅ [JS](https://github.com/appwrite/sdk-for-js) (Maintained by the Appwrite Team) +✅ [PHP](https://github.com/appwrite/sdk-for-php) (Maintained by the Appwrite Team) +✅ [NodeJS](https://github.com/appwrite/sdk-for-node) (Maintained by the Appwrite Team) +✅ [Ruby](https://github.com/appwrite/sdk-for-ruby) - **Work in progress** (Maintained by the Appwrite Team) +✅ [Python](https://github.com/appwrite/sdk-for-python) - **Work in progress** (Maintained by the Appwrite Team) +✳️ Looking for more SDKs? - Help us by contributing a pull request to our [SDK Generator](https://github.com/appwrite/sdk-generator)! ## Security -For security issues, please email [security@appwrite.io](mailto:security@appwrite.io) instead of posting a public issue in GitHub. +For security issues, kindly email us [security@appwrite.io](mailto:security@appwrite.io) instead of posting a public issue in GitHub. ## Follow Us @@ -109,4 +109,4 @@ Created by [Eldad Fux](https://twitter.com/eldadfux) with the amazing help of ou * 🇫🇮 Pessi Päivärinne ([Github](https://github.com/pessip)) * 🇺🇳 Sergi Vos ([Github](https://github.com/sergivb01), [Twitter](https://twitter.com/sergivb01), [Linkedin](https://www.linkedin.com/in/sergivb01/)) * 🇮🇱 Tomer Cohen ([Github](https://github.com/tomer), [Twitter](https://twitter.com/tomer)) -* 🇬🇷 Panagiotis Skarlas ([Github](https://github.com/1qk1), [Twitter](https://twitter.com/qktweets)) \ No newline at end of file +* 🇬🇷 Panagiotis Skarlas ([Github](https://github.com/1qk1), [Twitter](https://twitter.com/qktweets)) From 2d07625c2ad37d6b6477aa7ce77bdbe71fb544f3 Mon Sep 17 00:00:00 2001 From: eldadfux Date: Tue, 1 Oct 2019 01:31:20 +0300 Subject: [PATCH 33/76] Fixed IT locale UTF encodings --- app/config/locale/it.countries.php | 386 ++++++++++++++--------------- app/config/locale/it.php | 5 +- 2 files changed, 196 insertions(+), 195 deletions(-) diff --git a/app/config/locale/it.countries.php b/app/config/locale/it.countries.php index a031ce098..6d539332a 100644 --- a/app/config/locale/it.countries.php +++ b/app/config/locale/it.countries.php @@ -2,197 +2,197 @@ return [ 'AF' => 'Afghanistan', -'AO' => 'Angola', -'AL' => 'Albania', -'AD' => 'Andorra', -'AE' => 'Emirati Arabi Uniti', -'AR' => 'Argentina', -'AM' => 'Armenia', -'AG' => 'Antigua e Barbuda', -'AU' => 'Australia', -'AT' => 'Austria', -'AZ' => 'Azerbaigian', -'BI' => 'Burundi', -'BE' => 'Belgio', -'BJ' => 'Benin', -'BF' => 'Burkina Faso', -'BD' => 'Bangladesh', -'BG' => 'Bulgaria', -'BH' => 'Bahrein', -'BS' => 'Bahamas', -"BA" => "Bosnia ed Erzegovina", -'BY' => 'Bielorussia', -'BZ' => 'Belize', -'BO' => 'Bolivia', -'BR' => 'Brasile', -'BB' => 'Barbados', -'BN' => 'Brunei', -'BT' => 'Bhutan', -'BW' => 'Botswana', -"CF" => "Repubblica centrafricana", -'CA' => 'Canada', -'CH' => 'Svizzera', -'CL' => 'Cile', -'CN' => 'Cina', -'CI' => 'Costa d'Avorio', -'CM' => 'Camerun', -'CD' => 'DR Congo', -'CG' => 'Repubblica del Congo', -'CO' => 'Colombia', -'KM' => 'Comore', -'CV' => 'Capo Verde', -'CR' => 'Costa Rica', -'CU' => 'Cuba', -'CY' => 'Cipro', -'CZ' => 'Czechia', -'DE' => 'Germania', -'DJ' => 'Gibuti', -'DM' => 'Dominica', -'DK' => 'Danimarca', -'DO' => 'Repubblica Dominicana', -'DZ' => 'Algeria', -'EC' => 'Ecuador', -'EG' => 'Egitto', -'ER' => 'Eritrea', -'ES' => 'Spagna', -'EE' => 'Estonia', -'ET' => 'Etiopia', -'FI' => 'Finlandia', -'FJ' => 'Figi', -'FR' => 'France', -'FM' => 'Micronesia', -'GA' => 'Gabon', -'GB' => 'Regno Unito', -'GE' => 'Georgia', -'GH' => 'Ghana', -'GN' => 'Guinea', -'GM' => 'Gambia', -'GW' => 'Guinea-Bissau', -'GQ' => 'Guinea equatoriale', -'GR' => 'Grecia', -'GD' => 'Grenada', -'GT' => 'Guatemala', -'GY' => 'Guyana', -'HN' => 'Honduras', -'HR' => 'Croazia', -'HT' => 'Haiti', -'HU' => 'Ungheria', -'ID' => 'Indonesia', -'IN' => 'India', -'IE' => 'Irlanda', -'IR' => 'Iran', -'IQ' => 'Iraq', -'IS' => 'Islanda', -'IL' => 'Israele', -'IT' => 'Italia', -'JM' => 'Giamaica', -'JO' => 'Jordan', -'JP' => 'Giappone', -'KZ' => 'Kazakistan', -'KE' => 'Kenya', -'KG' => 'Kirghizistan', -'KH' => 'Cambogia', -'KI' => 'Kiribati', -'KN' => 'Saint Kitts e Nevis', -"KR" => "Corea del Sud", -'KW' => 'Kuwait', -'LA' => 'Laos', -'LB' => 'Libano', -'LR' => 'Liberia', -'LY' => 'Libia', -'LC' => 'Santa Lucia', -'LI' => 'Liechtenstein', -'LK' => 'Sri Lanka', -'LS' => 'Lesotho', -'LT' => 'Lituania', -'LU' => 'Lussemburgo', -'LV' => 'Lettonia', -'MA' => 'Marocco', -'MC' => 'Monaco', -'MD' => 'Moldavia', -'MG' => 'Madagascar', -'MV' => 'Maldive', -'MX' => 'Messico', -'MH' => 'Isole Marshall', -'MK' => 'Macedonia', -'ML' => 'Mali', -'MT' => 'Malta', -'MM' => 'Myanmar', -'ME' => 'Montenegro', -'MN' => 'Mongolia', -'MZ' => 'Mozambico', -'MR' => 'Mauritania', -'MU' => 'Mauritius', -'MW' => 'Malawi', -'MY' => 'Malaysia', -'NA' => 'Namibia', -'NE' => 'Niger', -'NG' => 'Nigeria', -'NI' => 'Nicaragua', -'NL' => 'Paesi Bassi', -'NO' => 'Norvegia', -'NP' => 'Nepal', -'NR' => 'Nauru', -'NZ' => 'Nuova Zelanda', -'OM' => 'Oman', -'PK' => 'Pakistan', -'PA' => 'Panama', -'PE' => 'Per', -'PH' => 'Filippine', -'PW' => 'Palau', -'PG' => 'Papua New Guinea', -'PL' => 'Polonia', -'KP' => 'Corea del Nord', -'PT' => 'Portogallo', -'PY' => 'Paraguay', -'QA' => 'Qatar', -'RO' => 'Romania', -'RU' => 'Russia', -'RW' => 'Ruanda', -'SA' => 'Arabia Saudita', -'SD' => 'Sudan', -'SN' => 'Senegal', -'SG' => 'Singapore', -'SB' => 'Isole Salomone', -'SL' => 'Sierra Leone', -'SV' => 'El Salvador', -'SM' => 'San Marino', -'SO' => 'Somalia', -'RS' => 'Serbia', -'SS' => 'Sudan del Sud', -'ST' => 'So Tom and Prncipe', -'SR' => 'Suriname', -'SK' => 'Slovacchia', -'SI' => 'Slovenia', -'SE' => 'Svezia', -'SZ' => 'Swaziland', -'SC' => 'Seychelles', -'SY' => 'Siria', -'TD' => 'Chad', -'TG' => 'Togo', -'TH' => 'Thailand', -'TJ' => 'Tagikistan', -'TM' => 'Turkmenistan', -'TL' => 'Timor Est', -'TO' => 'Tonga', -'TT' => 'Trinidad e Tobago', -'TN' => 'Tunisia', -'TR' => 'Turchia', -'TV' => 'Tuvalu', -'TZ' => 'Tanzania', -'UG' => 'Uganda', -'UA' => 'Ucraina', -'UY' => 'Uruguay', -'US' => 'Stati Uniti', -'UZ' => 'Uzbekistan', -'VA' => 'Citt del Vaticano', -'VC' => 'Saint Vincent e Grenadine', -'VE' => 'Venezuela', -'VN' => 'Vietnam', -'VU' => 'Vanuatu', -'WS' => 'Samoa', -'YE' => 'Yemen', -'ZA' => 'Sudafrica', -'ZM' => 'Zambia', -'ZW' => 'Zimbabwe', + 'AO' => 'Angola', + 'AL' => 'Albania', + 'AD' => 'Andorra', + 'AE' => 'Emirati Arabi Uniti', + 'AR' => 'Argentina', + 'AM' => 'Armenia', + 'AG' => 'Antigua e Barbuda', + 'AU' => 'Australia', + 'AT' => 'Austria', + 'AZ' => 'Azerbaigian', + 'BI' => 'Burundi', + 'BE' => 'Belgio', + 'BJ' => 'Benin', + 'BF' => 'Burkina Faso', + 'BD' => 'Bangladesh', + 'BG' => 'Bulgaria', + 'BH' => 'Bahrein', + 'BS' => 'Bahamas', + "BA" => "Bosnia ed Erzegovina", + 'BY' => 'Bielorussia', + 'BZ' => 'Belize', + 'BO' => 'Bolivia', + 'BR' => 'Brasile', + 'BB' => 'Barbados', + 'BN' => 'Brunei', + 'BT' => 'Bhutan', + 'BW' => 'Botswana', + "CF" => "Repubblica centrafricana", + 'CA' => 'Canada', + 'CH' => 'Svizzera', + 'CL' => 'Cile', + 'CN' => 'Cina', + 'CI' => 'Costa d\'Avorio', + 'CM' => 'Camerun', + 'CD' => 'DR Congo', + 'CG' => 'Repubblica del Congo', + 'CO' => 'Colombia', + 'KM' => 'Comore', + 'CV' => 'Capo Verde', + 'CR' => 'Costa Rica', + 'CU' => 'Cuba', + 'CY' => 'Cipro', + 'CZ' => 'Czechia', + 'DE' => 'Germania', + 'DJ' => 'Gibuti', + 'DM' => 'Dominica', + 'DK' => 'Danimarca', + 'DO' => 'Repubblica Dominicana', + 'DZ' => 'Algeria', + 'EC' => 'Ecuador', + 'EG' => 'Egitto', + 'ER' => 'Eritrea', + 'ES' => 'Spagna', + 'EE' => 'Estonia', + 'ET' => 'Etiopia', + 'FI' => 'Finlandia', + 'FJ' => 'Figi', + 'FR' => 'France', + 'FM' => 'Micronesia', + 'GA' => 'Gabon', + 'GB' => 'Regno Unito', + 'GE' => 'Georgia', + 'GH' => 'Ghana', + 'GN' => 'Guinea', + 'GM' => 'Gambia', + 'GW' => 'Guinea-Bissau', + 'GQ' => 'Guinea equatoriale', + 'GR' => 'Grecia', + 'GD' => 'Grenada', + 'GT' => 'Guatemala', + 'GY' => 'Guyana', + 'HN' => 'Honduras', + 'HR' => 'Croazia', + 'HT' => 'Haiti', + 'HU' => 'Ungheria', + 'ID' => 'Indonesia', + 'IN' => 'India', + 'IE' => 'Irlanda', + 'IR' => 'Iran', + 'IQ' => 'Iraq', + 'IS' => 'Islanda', + 'IL' => 'Israele', + 'IT' => 'Italia', + 'JM' => 'Giamaica', + 'JO' => 'Jordan', + 'JP' => 'Giappone', + 'KZ' => 'Kazakistan', + 'KE' => 'Kenya', + 'KG' => 'Kirghizistan', + 'KH' => 'Cambogia', + 'KI' => 'Kiribati', + 'KN' => 'Saint Kitts e Nevis', + "KR" => "Corea del Sud", + 'KW' => 'Kuwait', + 'LA' => 'Laos', + 'LB' => 'Libano', + 'LR' => 'Liberia', + 'LY' => 'Libia', + 'LC' => 'Santa Lucia', + 'LI' => 'Liechtenstein', + 'LK' => 'Sri Lanka', + 'LS' => 'Lesotho', + 'LT' => 'Lituania', + 'LU' => 'Lussemburgo', + 'LV' => 'Lettonia', + 'MA' => 'Marocco', + 'MC' => 'Monaco', + 'MD' => 'Moldavia', + 'MG' => 'Madagascar', + 'MV' => 'Maldive', + 'MX' => 'Messico', + 'MH' => 'Isole Marshall', + 'MK' => 'Macedonia', + 'ML' => 'Mali', + 'MT' => 'Malta', + 'MM' => 'Myanmar', + 'ME' => 'Montenegro', + 'MN' => 'Mongolia', + 'MZ' => 'Mozambico', + 'MR' => 'Mauritania', + 'MU' => 'Mauritius', + 'MW' => 'Malawi', + 'MY' => 'Malaysia', + 'NA' => 'Namibia', + 'NE' => 'Niger', + 'NG' => 'Nigeria', + 'NI' => 'Nicaragua', + 'NL' => 'Paesi Bassi', + 'NO' => 'Norvegia', + 'NP' => 'Nepal', + 'NR' => 'Nauru', + 'NZ' => 'Nuova Zelanda', + 'OM' => 'Oman', + 'PK' => 'Pakistan', + 'PA' => 'Panama', + 'PE' => 'Perù', + 'PH' => 'Filippine', + 'PW' => 'Palau', + 'PG' => 'Papua New Guinea', + 'PL' => 'Polonia', + 'KP' => 'Corea del Nord', + 'PT' => 'Portogallo', + 'PY' => 'Paraguay', + 'QA' => 'Qatar', + 'RO' => 'Romania', + 'RU' => 'Russia', + 'RW' => 'Ruanda', + 'SA' => 'Arabia Saudita', + 'SD' => 'Sudan', + 'SN' => 'Senegal', + 'SG' => 'Singapore', + 'SB' => 'Isole Salomone', + 'SL' => 'Sierra Leone', + 'SV' => 'El Salvador', + 'SM' => 'San Marino', + 'SO' => 'Somalia', + 'RS' => 'Serbia', + 'SS' => 'Sudan del Sud', + 'ST' => 'São Tomé and Príncipe', + 'SR' => 'Suriname', + 'SK' => 'Slovacchia', + 'SI' => 'Slovenia', + 'SE' => 'Svezia', + 'SZ' => 'Swaziland', + 'SC' => 'Seychelles', + 'SY' => 'Siria', + 'TD' => 'Chad', + 'TG' => 'Togo', + 'TH' => 'Thailand', + 'TJ' => 'Tagikistan', + 'TM' => 'Turkmenistan', + 'TL' => 'Timor Est', + 'TO' => 'Tonga', + 'TT' => 'Trinidad e Tobago', + 'TN' => 'Tunisia', + 'TR' => 'Turchia', + 'TV' => 'Tuvalu', + 'TZ' => 'Tanzania', + 'UG' => 'Uganda', + 'UA' => 'Ucraina', + 'UY' => 'Uruguay', + 'US' => 'Stati Uniti', + 'UZ' => 'Uzbekistan', + 'VA' => 'Città del Vaticano', + 'VC' => 'Saint Vincent e Grenadine', + 'VE' => 'Venezuela', + 'VN' => 'Vietnam', + 'VU' => 'Vanuatu', + 'WS' => 'Samoa', + 'YE' => 'Yemen', + 'ZA' => 'Sudafrica', + 'ZM' => 'Zambia', + 'ZW' => 'Zimbabwe', ]; \ No newline at end of file diff --git a/app/config/locale/it.php b/app/config/locale/it.php index b146a1dc5..071a17b8f 100644 --- a/app/config/locale/it.php +++ b/app/config/locale/it.php @@ -1,11 +1,12 @@ '"L'arte di essere saggi l'arte di sapere cosa trascurare."', // Questa la riga stampata nella homepage e nella console 'view-source' + 'settings.inspire' => '"L\'arte di essere saggi è l\'arte di sapere cosa trascurare."', // Questa è la riga stampata nella homepage e nella console 'view-source' 'settings.locale' => 'it', 'settings.direction' => 'ltr', // Servizio - Utenti 'auth.emails.team' => '%s Squadra', - 'auth.emails.confirm.title' => 'Conferma dell'account', + 'auth.emails.confirm.title' => 'Conferma dell\'account', 'auth.emails.confirm.body' => 'en.email.auth.confirm.tpl', 'auth.emails.recovery.title' => 'Reimpostazione della password', 'auth.emails.recovery.body' => 'en.email.auth.recovery.tpl', From d402fb8c08de39c02a331adb392924ee5e4f42d9 Mon Sep 17 00:00:00 2001 From: Robin C Date: Tue, 1 Oct 2019 00:49:28 +0200 Subject: [PATCH 34/76] feat(issue 25): Translated locale files to German Added and translated the locale files for the German language. --- app/config/locale/de.continents.php | 11 ++ app/config/locale/de.countries.php | 198 ++++++++++++++++++++++++++++ app/config/locale/de.php | 21 +++ 3 files changed, 230 insertions(+) create mode 100644 app/config/locale/de.continents.php create mode 100644 app/config/locale/de.countries.php create mode 100644 app/config/locale/de.php diff --git a/app/config/locale/de.continents.php b/app/config/locale/de.continents.php new file mode 100644 index 000000000..56e9b934a --- /dev/null +++ b/app/config/locale/de.continents.php @@ -0,0 +1,11 @@ + 'Afrika', + 'AN' => 'Antarktis', + 'AS' => 'Asien', + 'EU' => 'Europa', + 'NA' => 'Nordamerika', + 'OC' => 'Ozeanien', + 'SA' => 'Südamerika', +]; diff --git a/app/config/locale/de.countries.php b/app/config/locale/de.countries.php new file mode 100644 index 000000000..055f8aa4d --- /dev/null +++ b/app/config/locale/de.countries.php @@ -0,0 +1,198 @@ + 'Afghanistan', + 'AO' => 'Angola', + 'AL' => 'Albanien', + 'AD' => 'Andorra', + 'AE' => 'Vereinigte Arabische Emirate', + 'AR' => 'Argentinien', + 'AM' => 'Armenien', + 'AG' => 'Antigua und Barbuda', + 'AU' => 'Australien', + 'AT' => 'Österreich', + 'AZ' => 'Aserbaidschan', + 'BI' => 'Burundi', + 'BE' => 'Belgien', + 'BJ' => 'Benin', + 'BF' => 'Burkina Faso', + 'BD' => 'Bangladesch', + 'BG' => 'Bulgarien', + 'BH' => 'Bahrain', + 'BS' => 'Bahamas', + 'BA' => 'Bosnien und Herzegowina', + 'BY' => 'Weißrussland', + 'BZ' => 'Belize', + 'BO' => 'Bolivien', + 'BR' => 'Brazilen', + 'BB' => 'Barbados', + 'BN' => 'Brunei', + 'BT' => 'Bhutan', + 'BW' => 'Botswana', + 'CF' => 'Zentralafrikanische Republik', + 'CA' => 'Kanada', + 'CH' => 'Schweiz', + 'CL' => 'Chile', + 'CN' => 'China', + 'CI' => 'Elfenbeinküste', + 'CM' => 'Kamerun', + 'CD' => 'Demokratische Republik Kongo', + 'CG' => 'Republik Kongo', + 'CO' => 'Kolumbien', + 'KM' => 'Komoren', + 'CV' => 'Kap Verde', + 'CR' => 'Costa Rica', + 'CU' => 'Kuba', + 'CY' => 'Zypern', + 'CZ' => 'Tschechien', + 'DE' => 'Deutschland', + 'DJ' => 'Dschibuti', + 'DM' => 'Dominica', + 'DK' => 'Dänemark', + 'DO' => 'Dominikanische Republik', + 'DZ' => 'Algerien', + 'EC' => 'Ecuador', + 'EG' => 'Ägypten', + 'ER' => 'Eritrea', + 'ES' => 'Spanien', + 'EE' => 'Estland', + 'ET' => 'Äthiopien', + 'FI' => 'Finnland', + 'FJ' => 'Fidschi', + 'FR' => 'Frankreich', + 'FM' => 'Mikronesien', + 'GA' => 'Gabun', + 'GB' => 'Großbritannien', + 'GE' => 'Georgien', + 'GH' => 'Ghana', + 'GN' => 'Guinea', + 'GM' => 'Gambia', + 'GW' => 'Guinea-Bissau', + 'GQ' => 'Äquatorialguinea', + 'GR' => 'Griechenland', + 'GD' => 'Grenada', + 'GT' => 'Guatemala', + 'GY' => 'Guyana', + 'HN' => 'Honduras', + 'HR' => 'Kroatien', + 'HT' => 'Haiti', + 'HU' => 'Ungarn', + 'ID' => 'Indonesien', + 'IN' => 'Indien', + 'IE' => 'Irland', + 'IR' => 'Iran', + 'IQ' => 'Irak', + 'IS' => 'Island', + 'IL' => 'Israel', + 'IT' => 'Italien', + 'JM' => 'Jamaika', + 'JO' => 'Jordan', + 'JP' => 'Japan', + 'KZ' => 'Kasachstan', + 'KE' => 'Kenia', + 'KG' => 'Kirgisistan', + 'KH' => 'Kambodscha', + 'KI' => 'Kiribati', + 'KN' => 'St. Kitts und Nevis', + 'KR' => 'Südkorea', + 'KW' => 'Kuwait', + 'LA' => 'Laos', + 'LB' => 'Libanon', + 'LR' => 'Liberia', + 'LY' => 'Libyen', + 'LC' => 'St. Lucia', + 'LI' => 'Liechtenstein', + 'LK' => 'Sri Lanka', + 'LS' => 'Lesotho', + 'LT' => 'Litauen', + 'LU' => 'Luxemburg', + 'LV' => 'Lettland', + 'MA' => 'Marokko', + 'MC' => 'Monaco', + 'MD' => 'Moldawien', + 'MG' => 'Madagaskar', + 'MV' => 'Malediven', + 'MX' => 'Mexiko', + 'MH' => 'Marshallinseln', + 'MK' => 'Mazedonien', + 'ML' => 'Mali', + 'MT' => 'Malta', + 'MM' => 'Myanmar', + 'ME' => 'Montenegro', + 'MN' => 'Mongolei', + 'MZ' => 'Mosambik', + 'MR' => 'Mauretanien', + 'MU' => 'Mauritius', + 'MW' => 'Malawi', + 'MY' => 'Malaysia', + 'NA' => 'Namibia', + 'NE' => 'Niger', + 'NG' => 'Nigeria', + 'NI' => 'Nicaragua', + 'NL' => 'Niederlande', + 'NO' => 'Norwegen', + 'NP' => 'Nepal', + 'NR' => 'Nauru', + 'NZ' => 'Neuseeland', + 'OM' => 'Oman', + 'PK' => 'Pakistan', + 'PA' => 'Panama', + 'PE' => 'Peru', + 'PH' => 'Philippinen', + 'PW' => 'Palau', + 'PG' => 'Papua Neu-Guinea', + 'PL' => 'Polen', + 'KP' => 'Nord Korea', + 'PT' => 'Portugal', + 'PY' => 'Paraguay', + 'QA' => 'Katar', + 'RO' => 'Rumänien', + 'RU' => 'Russland', + 'RW' => 'Ruanda', + 'SA' => 'Saudi Arabien', + 'SD' => 'Sudan', + 'SN' => 'Senegal', + 'SG' => 'Singapur', + 'SB' => 'Salomon-Inseln', + 'SL' => 'Sierra Leone', + 'SV' => 'El Salvador', + 'SM' => 'San Marino', + 'SO' => 'Somalia', + 'RS' => 'Serbien', + 'SS' => 'Südsudan', + 'ST' => 'São Tomé und Príncipe', + 'SR' => 'Suriname', + 'SK' => 'Slowakei', + 'SI' => 'Slowenien', + 'SE' => 'Schweden', + 'SZ' => 'Swasiland', + 'SC' => 'Seychellen', + 'SY' => 'Syrien', + 'TD' => 'Tschad', + 'TG' => 'Togo', + 'TH' => 'Thailand', + 'TJ' => 'Tadschikistan', + 'TM' => 'Turkmenistan', + 'TL' => 'Timor-Leste', + 'TO' => 'Tonga', + 'TT' => 'Trinidad und Tobago', + 'TN' => 'Tunesien', + 'TR' => 'Türkei', + 'TV' => 'Tuvalu', + 'TZ' => 'Tansania', + 'UG' => 'Uganda', + 'UA' => 'Ukraine', + 'UY' => 'Uruguay', + 'US' => 'Vereinigte Staaten', + 'UZ' => 'Usbekistan', + 'VA' => 'Vatikanstadt', + 'VC' => 'St. Vincent und die Grenadinen', + 'VE' => 'Venezuela', + 'VN' => 'Vietnam', + 'VU' => 'Vanuatu', + 'WS' => 'Samoa', + 'YE' => 'Jemen', + 'ZA' => 'Südafrika', + 'ZM' => 'Sambia', + 'ZW' => 'Zimbabwe', +]; diff --git a/app/config/locale/de.php b/app/config/locale/de.php new file mode 100644 index 000000000..b3b347be0 --- /dev/null +++ b/app/config/locale/de.php @@ -0,0 +1,21 @@ + '"Die Kunst, weise zu sein, ist die Kunst, zu wissen, was zu übersehen ist."', // This is the line printed in the homepage and console 'view-source' + 'settings.locale' => 'de', + 'settings.direction' => 'ltr', + + // Service - Users + 'auth.emails.team' => '%s Team', + 'auth.emails.confirm.title' => 'Accountbestätigung', + 'auth.emails.confirm.body' => 'de.email.auth.confirm.tpl', + 'auth.emails.recovery.title' => 'Passwort zurücksetzen', + 'auth.emails.recovery.body' => 'de.email.auth.recovery.tpl', + 'auth.emails.invitation.title' => 'Einladung zum %s Team bei %s', + 'auth.emails.invitation.body' => 'de.email.auth.invitation.tpl', + + 'locale.country.unknown' => 'Unbekannt', + + 'countries' => include 'de.countries.php', + 'continents' => include 'de.continents.php', +]; From 15f0b1761275ee26eead4725725e1ec758e2da9b Mon Sep 17 00:00:00 2001 From: Robin C Date: Tue, 1 Oct 2019 00:56:20 +0200 Subject: [PATCH 35/76] feat(issue 25): Translated email template files to German Added and translated the email template files for the German language. --- .../templates/de.email.auth.confirm.tpl | 24 +++++++++++++++++ .../templates/de.email.auth.invitation.tpl | 27 +++++++++++++++++++ .../templates/de.email.auth.recovery.tpl | 24 +++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 app/config/locale/templates/de.email.auth.confirm.tpl create mode 100644 app/config/locale/templates/de.email.auth.invitation.tpl create mode 100644 app/config/locale/templates/de.email.auth.recovery.tpl diff --git a/app/config/locale/templates/de.email.auth.confirm.tpl b/app/config/locale/templates/de.email.auth.confirm.tpl new file mode 100644 index 000000000..ae4ff2729 --- /dev/null +++ b/app/config/locale/templates/de.email.auth.confirm.tpl @@ -0,0 +1,24 @@ + + +
+ Hallo {{name}}, +
+
+ bitte folge diesem Link um deine E-Mail Adresse zu verifizieren. +
+ {{redirect}} +
+
+ Bitte ignoriere diese Nachricht, wenn du das Verifizieren deiner E-Mail Adresse nicht beantragt hast. +
+
+ Vielen dank, +
+ {{project}} Team +
\ No newline at end of file diff --git a/app/config/locale/templates/de.email.auth.invitation.tpl b/app/config/locale/templates/de.email.auth.invitation.tpl new file mode 100644 index 000000000..dc218116a --- /dev/null +++ b/app/config/locale/templates/de.email.auth.invitation.tpl @@ -0,0 +1,27 @@ + + +
+ Hallo, +
+
+ diese E-Mail wurde dir geschickt, weil {{owner}} dich eingeladen hat Teammitglied im Team {{team}} bei {{project}} zu werden. +
+
+ Folge diesem Link um dem {{team}} Team beizutreten: +
+ {{redirect}} +
+
+ Wenn du daran nicht interessiert bist, kannst du diese Nachricht ignorieren. +
+
+ Vielen dank, +
+ {{project}} Team +
diff --git a/app/config/locale/templates/de.email.auth.recovery.tpl b/app/config/locale/templates/de.email.auth.recovery.tpl new file mode 100644 index 000000000..c9484a011 --- /dev/null +++ b/app/config/locale/templates/de.email.auth.recovery.tpl @@ -0,0 +1,24 @@ + + +
+ Hallo {{name}}, +
+
+ Folge diesem Link um dein Passwort für {{project}} zurückzusetzen. +
+ {{redirect}} +
+
+ Bitte ignoriere diese Nachricht, wenn du das Zurücksetzen deines Passworts nicht beantragt hast. +
+
+ Vielen dank, +
+ {{project}} Team +
From 9544160276acc6229ab619b1d5526b8c5c3ee26f Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Tue, 1 Oct 2019 02:15:44 +0300 Subject: [PATCH 36/76] Fix code style in views --- app/views/console/database/collection.phtml | 8 ++++---- app/views/console/users/index.phtml | 2 +- app/views/general/error.phtml | 2 +- app/views/layouts/default.phtml | 4 ++-- app/views/proxy.phtml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/console/database/collection.phtml b/app/views/console/database/collection.phtml index df0584562..46f1d2fc3 100644 --- a/app/views/console/database/collection.phtml +++ b/app/views/console/database/collection.phtml @@ -86,11 +86,11 @@ $collection = $this->getParam('collection', []); - + @@ -101,9 +101,9 @@ $collection = $this->getParam('collection', []); - +
- +
- diff --git a/app/views/console/users/index.phtml b/app/views/console/users/index.phtml index 0ee7c32be..cf84d0f5e 100644 --- a/app/views/console/users/index.phtml +++ b/app/views/console/users/index.phtml @@ -315,7 +315,7 @@ $providers = $this->getParam('providers', []); data-param-project-id="{{router.params.project}}" data-scope="console">