Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
87419bb3ce
|
@ -2,12 +2,13 @@
|
|||
|
||||
## Planned Issues
|
||||
|
||||
* Added 7 new locales for locale service and email templates (cz, hu, no*, ru, sv, ta, vi, zh)
|
||||
* Added 7 new locales for locale service and email templates (af, cz, hu, lt, no, ru, sv, ta, vi, zh-cn, zh-tw)
|
||||
* New users service routes to allow updates pref, email and name update
|
||||
* 2 stage Docker build
|
||||
* New database rule validation options
|
||||
* Update docs example with auth info
|
||||
* Limit HTTP origin check only to browser integrations
|
||||
* Allow electron apps to not pass origin header
|
||||
|
||||
# Version 0.2.0 (PRE-RELEASE)
|
||||
|
||||
|
|
13
README.md
13
README.md
|
@ -11,12 +11,13 @@
|
|||
[![Chat With Us](https://img.shields.io/gitter/room/appwrite/community.svg)](https://gitter.im/appwrite/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
|
||||
[![Build Status](https://travis-ci.org/appwrite/appwrite.svg?branch=master)](https://travis-ci.org/appwrite/appwrite)
|
||||
[![Follow Appwrite on StackShare](https://img.stackshare.io/misc/follow-on-stackshare-badge.svg)](https://stackshare.io/appwrite)
|
||||
[![Follow new releases](https://app.releasly.co/assets/badges/badge-blue.svg)](https://app.releasly.co/sites/appwrite/appwrite?utm_source=github_badge)
|
||||
|
||||
---
|
||||
|
||||
Appwrite is a simple self-hosted backend server for web and mobile developers with a shiny dashboard and a very easy to use REST API.
|
||||
|
||||
Appwrite API services aim to make developers life a lot easier by hiding the complexity of common and repetitive software development tasks.
|
||||
Appwrite API services aim to make developer's life a lot easier by hiding the complexity of common and repetitive software development tasks.
|
||||
|
||||
Using Appwrite you can easily manage user authentication with multiple sign-in methods, a database for storing and querying user and teams data, storage and file management, image manipulation and cropping, scheduled cron tasks and many other features to help you get more results in faster times and with a lot less code.
|
||||
|
||||
|
@ -28,7 +29,7 @@ Using Appwrite you can easily manage user authentication with multiple sign-in m
|
|||
|
||||
Appwrite backend server is designed to run in a container environment. Running your server is as easy as running one command from your terminal. You can either run Appwrite on your localhost using docker-compose or on any other container orchestration tool like Kubernetes, Docker Swarm or Rancher.
|
||||
|
||||
The easiest way to start running your Appwrite server is by running our docker compose file:
|
||||
The easiest way to start running your Appwrite server is by running our docker-compose file:
|
||||
|
||||
```bash
|
||||
mkdir appwrite-ce && \
|
||||
|
@ -59,15 +60,15 @@ Getting started with Appwrite is as easy as creating a new project, choosing you
|
|||
### Services
|
||||
|
||||
* [**Auth**](https://appwrite.io/docs/auth) - Manage user authentication using multiple sign-in methods and account recovery.
|
||||
* [**Account**](https://appwrite.io/docs/account) - Manage current user account. Track and manage the user sessions, devices and security audit log.
|
||||
* [**Account**](https://appwrite.io/docs/account) - Manage current user account. Track and manage the user sessions, devices, and security audit log.
|
||||
* [**Users**](https://appwrite.io/docs/users) - Manage and list all project users when in admin mode.
|
||||
* [**Teams**](https://appwrite.io/docs/teams) - Manage and group users in teams. Manage memberships, invites and user roles within a team.
|
||||
* [**Database**](https://appwrite.io/docs/database) - Manage database collections and document. Read, create, update and delete documents and filter lists of documents collections using an advanced filter with graph like capabilities.
|
||||
* [**Database**](https://appwrite.io/docs/database) - Manage database collections and document. Read, create, update and delete documents and filter lists of documents collections using an advanced filter with graph-like capabilities.
|
||||
* [**Storage**](https://appwrite.io/docs/storage) - Manage storage files. Read, create, delete and preview files. Manipulate the preview of your files to fit your app perfectly. All files are scanned by ClamAV and stored in a secure and encrypted way.
|
||||
* [**Locale**](https://appwrite.io/docs/locale) - Track user's location, and manage your app locale based data.
|
||||
* [**Locale**](https://appwrite.io/docs/locale) - Track user's location, and manage your app locale-based data.
|
||||
* [**Avatars**](https://appwrite.io/docs/avatars) - Manage your user's avatars, country's flags, browser icons, credit card symbols and generate QR codes.
|
||||
|
||||
For the complete API documentation, visit [https://appwrite.io/docs](https://appwrite.io/docs). For more tutorials, news and announcments check out our [blog](https://medium.com/appwrite-io).
|
||||
For the complete API documentation, visit [https://appwrite.io/docs](https://appwrite.io/docs). For more tutorials, news and announcements check out our [blog](https://medium.com/appwrite-io).
|
||||
|
||||
### SDKs
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
return [
|
||||
'AF' => 'Afrika',
|
||||
'AN' => 'Antarktika',
|
||||
'AS' => 'Asië',
|
||||
'AS' => 'Asië',
|
||||
'EU' => 'Europa',
|
||||
'NA' => 'Noord-Amerika',
|
||||
'OC' => 'Oseanië',
|
||||
'OC' => 'Oseanië',
|
||||
'SA' => 'Suid-Amerika',
|
||||
];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'settings.inspire' => '"बुद्धिमान होने कला यह जानने की कला है कि क्या अनदेखी करना चाहिए।"', // This is the line printed in the homepage and console 'view-source'
|
||||
'settings.inspire' => '"यह जान लेना की क्या अनदेखा किया जा सकता है, ही बुद्धिमता का प्रतीक है |"', // This is the line printed in the homepage and console 'view-source'
|
||||
'settings.locale' => 'hi',
|
||||
'settings.direction' => 'ltr',
|
||||
|
||||
|
@ -14,7 +14,7 @@ return [
|
|||
'auth.emails.invitation.title' => 'इनविटेशन %s टीम %s',
|
||||
'auth.emails.invitation.body' => 'hi.email.auth.invitation.tpl',
|
||||
|
||||
'locale.country.unknown' => 'Unknown',
|
||||
'locale.country.unknown' => 'अज्ञात',
|
||||
|
||||
'countries' => include 'hi.countries.php',
|
||||
'continents' => include 'hi.continents.php',
|
||||
|
|
10
app/config/locale/lt.continents.php
Normal file
10
app/config/locale/lt.continents.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
return [
|
||||
'AF' => 'Afrika',
|
||||
'AN' => 'Antarktida',
|
||||
'AS' => 'Azija',
|
||||
'EU' => 'Europa',
|
||||
'NA' => 'Šiaurės Amerika',
|
||||
'OC' => 'Okeanija',
|
||||
'SA' => 'Pietų Amerika',
|
||||
];
|
197
app/config/locale/lt.countries.php
Normal file
197
app/config/locale/lt.countries.php
Normal file
|
@ -0,0 +1,197 @@
|
|||
<?php
|
||||
return [
|
||||
'AF' => 'Afganistanas',
|
||||
'AO' => 'Angola',
|
||||
'AL' => 'Albanija',
|
||||
'AD' => 'Andora',
|
||||
'AE' => 'Jungtiniai Arabų Emyratai',
|
||||
'AR' => 'Argentina',
|
||||
'AM' => 'Armėnija',
|
||||
'AG' => 'Antigva ir Barbuda',
|
||||
'AU' => 'Australija',
|
||||
'AT' => 'Austrija',
|
||||
'AZ' => 'Azerbaidžanas',
|
||||
'BI' => 'Burundi',
|
||||
'BE' => 'Belgija',
|
||||
'BJ' => 'Beninas',
|
||||
'BF' => 'Burkina Faso',
|
||||
'BD' => 'Bangladešas',
|
||||
'BG' => 'Bulgarija',
|
||||
'BH' => 'Bahreinas',
|
||||
'BS' => 'Bahamai',
|
||||
'BA' => 'Bosnija ir Hercegovina',
|
||||
'BY' => 'Baltarusija',
|
||||
'BZ' => 'Baileys',
|
||||
'BO' => 'Bolivija',
|
||||
'BR' => 'Brazilija',
|
||||
'BB' => 'Barbadosas',
|
||||
'BN' => 'Brunėjus',
|
||||
'BT' => 'Butanas',
|
||||
'BW' => 'Botsvana',
|
||||
'CF' => 'Centrinės Afrikos Respublika',
|
||||
'CA' => 'Kanada',
|
||||
'CH' => 'Šveicarija',
|
||||
'CL' => 'Čilė',
|
||||
'CN' => 'Kinija',
|
||||
'CI' => 'Dramblio Kaulo Krantas',
|
||||
'CM' => 'Kamerūnas',
|
||||
'CD' => 'Kongo Demokratinė Respublika',
|
||||
'CG' => 'Kongo Respublika',
|
||||
'CO' => 'Kolumbija',
|
||||
'KM' => 'Komorai',
|
||||
'CV' => 'Žaliasis Kyšulys',
|
||||
'CR' => 'Kosta Rika',
|
||||
'CU' => 'Kuba',
|
||||
'CY' => 'Kipras',
|
||||
'CZ' => 'Čekija',
|
||||
'DE' => 'Vokietija',
|
||||
'DJ' => 'Džibutis',
|
||||
'DM' => 'Dominika',
|
||||
'DK' => 'Danija',
|
||||
'DO' => 'Dominikos Respublika',
|
||||
'DZ' => 'Alžyras',
|
||||
'EC' => 'Ekvadoras',
|
||||
'EG' => 'Egiptas',
|
||||
'ER' => 'Eritrėja',
|
||||
'ES' => 'Ispanija',
|
||||
'EE' => 'Estija',
|
||||
'ET' => 'Etiopija',
|
||||
'FI' => 'Suomija',
|
||||
'FJ' => 'Fidžis',
|
||||
'FR' => 'Prancūzija',
|
||||
'FM' => 'Mikronezija',
|
||||
'GA' => 'Gabonas',
|
||||
'GB' => 'Jungtinė Karalystė',
|
||||
'GE' => 'Gruzija',
|
||||
'GH' => 'Gana',
|
||||
'GN' => 'Gvinėja',
|
||||
'GM' => 'Gambija',
|
||||
'GW' => 'Bisau Gvinėja',
|
||||
'GQ' => 'Pusiaujo Gvinėja',
|
||||
'GR' => 'Graikija',
|
||||
'GD' => 'Grenada',
|
||||
'GT' => 'Gvatemala',
|
||||
'GY' => 'Gajana',
|
||||
'HN' => 'Hondūras',
|
||||
'HR' => 'Kroatija',
|
||||
'HT' => 'Haitis',
|
||||
'HU' => 'Vengrija',
|
||||
'ID' => 'Indonezija',
|
||||
'IN' => 'Indija',
|
||||
'IE' => 'Airija',
|
||||
'IR' => 'Iranas',
|
||||
'IQ' => 'Irakas',
|
||||
'IS' => 'Islandija',
|
||||
'IL' => 'Izraelis',
|
||||
'IT' => 'Italija',
|
||||
'JM' => 'Jamaika',
|
||||
'JO' => 'Jordanija',
|
||||
'JP' => 'Japonija',
|
||||
'KZ' => 'Kazachstanas',
|
||||
'KE' => 'Kenija',
|
||||
'KG' => 'Kirgizija',
|
||||
'KH' => 'Kambodža',
|
||||
'KI' => 'Kiribati',
|
||||
'KN' => 'Sent Kitsas ir Nevis',
|
||||
'KR' => 'Pietų Korėja',
|
||||
'KW' => 'Kuveitas',
|
||||
'LA' => 'Laosas',
|
||||
'LB' => 'Libanas',
|
||||
'LR' => 'Liberija',
|
||||
'LY' => 'Libija',
|
||||
'LC' => 'Sent Lusija',
|
||||
'LI' => 'Lichtenšteinas',
|
||||
'LK' => 'Šri Lanka',
|
||||
'LS' => 'Lesotas',
|
||||
'LT' => 'Lietuva',
|
||||
'LU' => 'Liuksemburgas',
|
||||
'LV' => 'Latvija',
|
||||
'MA' => 'Marokas',
|
||||
'MC' => 'Monaco',
|
||||
'MD' => 'Moldova',
|
||||
'MG' => 'Madagaskaras',
|
||||
'MV' => 'Maldyvai',
|
||||
'MX' => 'Meksika',
|
||||
'MH' => 'Maršalo salos',
|
||||
'MK' => 'Makedonija',
|
||||
'ML' => 'Malis',
|
||||
'MT' => 'Malta',
|
||||
'MM' => 'Mianmaras',
|
||||
'ME' => 'Juodkalnija',
|
||||
'MN' => 'Mongolija',
|
||||
'MZ' => 'Mozambikas',
|
||||
'MR' => 'Mauritanija',
|
||||
'MU' => 'Mauricijus',
|
||||
'MW' => 'Malavis',
|
||||
'MY' => 'Malaizija',
|
||||
'NA' => 'Namibija',
|
||||
'NE' => 'Nigeris',
|
||||
'NG' => 'Nigerija',
|
||||
'NI' => 'Nikaragva',
|
||||
'NL' => 'Nyderlandai',
|
||||
'NE' => 'Norvegija',
|
||||
'NP' => 'Nepalas',
|
||||
'NR' => 'Nauru',
|
||||
'NZ' => 'Naujoji Zelandija',
|
||||
'OM' => 'Omanas',
|
||||
'PK' => 'Pakistanas',
|
||||
'PA' => 'Panama',
|
||||
'PE' => 'Peru',
|
||||
'PH' => 'Filipinai',
|
||||
'PW' => 'Palau',
|
||||
'PG' => 'Papua Naujoji Gvinėja',
|
||||
'PL' => 'Lenkija',
|
||||
'KP' => 'Šiaurės Korėja',
|
||||
'PT' => 'Portugalija',
|
||||
'PY' => 'Paragvajus',
|
||||
'QA' => 'Qatar',
|
||||
'RO' => 'Rumunija',
|
||||
'RU' => 'Rusija',
|
||||
'RW' => 'Ruanda',
|
||||
'SA' => 'Saudo Arabija',
|
||||
'SD' => 'Sudanas',
|
||||
'SN' => 'Senegalas',
|
||||
'SG' => 'Singapūras',
|
||||
'SB' => 'Saliamono Salos',
|
||||
'SL' => 'Siera Leonė',
|
||||
'SV' => 'Salvadoras',
|
||||
'SM' => 'San Marino',
|
||||
'SO' => 'Somalis',
|
||||
'RS' => 'Serbija',
|
||||
'SS' => 'Pietų Sudanas',
|
||||
'ST' => 'San Tomė ir Prinsipė',
|
||||
'SR' => 'Surinamas',
|
||||
'SK' => 'Slovakija',
|
||||
'SI' => 'Slovėnija',
|
||||
'SE' => 'Švedija',
|
||||
'SZ' => 'Svazilandas',
|
||||
'SC' => 'Seišeliai',
|
||||
'SY' => 'Sirija',
|
||||
'TD' => 'Chadas',
|
||||
'TG' => 'Togo',
|
||||
'TH' => 'Tailandas',
|
||||
'TJ' => 'Tadžikistanas',
|
||||
'TM' => 'Turkmėnistanas',
|
||||
'TL' => 'Rytų Timoras',
|
||||
'TO' => 'Tonga',
|
||||
'TT' => 'Trinidadas ir Tobagas',
|
||||
'TN' => 'Tunisas',
|
||||
'TR' => 'Turkija',
|
||||
'TV' => 'Tuvalu',
|
||||
'TZ' => 'Tanzanija',
|
||||
'UG' => 'Uganda',
|
||||
'UA' => 'Ukraina',
|
||||
'UY' => 'Urugvajus',
|
||||
'US' => 'JAV',
|
||||
'UZ' => 'Uzbekistanas',
|
||||
'VA' => 'Vatikanas',
|
||||
'VC' => 'Sent Vinsentas ir Grenadinai',
|
||||
'VE' => 'Venesuela',
|
||||
'VN' => 'Vietnamas',
|
||||
'VU' => 'Vanuatu',
|
||||
'WS' => 'Samoa',
|
||||
'YE' => 'Jemenas',
|
||||
'ZA' => 'Pietų Afrika',
|
||||
'ZM' => 'Zambija',
|
||||
'ZW' => 'Zimbabvė',
|
||||
];
|
16
app/config/locale/lt.php
Normal file
16
app/config/locale/lt.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
return [
|
||||
'settings.inspire' => '"Menas būti išmintingu — tai menas žinoti, ką galima paniekti."', // This is the line printed in the homepage and console 'view-source'
|
||||
'settings.locale' => 'lt',
|
||||
'settings.direction' => 'ltr',
|
||||
'auth.emails.team' => 'Komanda %s',
|
||||
'auth.emails.confirm.title' => 'Paskyros patvirtinimas',
|
||||
'auth.emails.confirm.body' => 'lt.email.auth.confirm.tpl',
|
||||
'auth.emails.recovery.title' => 'Atnaujinti slaptažodį',
|
||||
'auth.emails.recovery.body' => 'lt.email.auth.recovery.tpl',
|
||||
'auth.emails.invitation.title' => 'Pakeisti į komandą %s projektui %s',
|
||||
'auth.emails.invitation.body' => 'lt.email.auth.invitation.tpl',
|
||||
'locale.country.unknown' => 'Nežinoma',
|
||||
'countries' => include 'lt.countries.php',
|
||||
'continents' => include 'lt.continents.php',
|
||||
];
|
21
app/config/locale/no.php
Normal file
21
app/config/locale/no.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'settings.inspire' => '"Kunsten å være klok er kunsten å vite hva man skal overse."', // This is the line printed in the homepage and console 'view-source'
|
||||
'settings.locale' => 'no',
|
||||
'settings.direction' => 'ltr',
|
||||
|
||||
// Service - Users
|
||||
'auth.emails.team' => '%s Team',
|
||||
'auth.emails.confirm.title' => 'Bekreftelse av konto',
|
||||
'auth.emails.confirm.body' => 'no.email.auth.confirm.tpl',
|
||||
'auth.emails.recovery.title' => 'Reset passord',
|
||||
'auth.emails.recovery.body' => 'no.email.auth.recovery.tpl',
|
||||
'auth.emails.invitation.title' => 'Invitasjon til %s Team på %s',
|
||||
'auth.emails.invitation.body' => 'no.email.auth.invitation.tpl',
|
||||
|
||||
'locale.country.unknown' => 'Ukjent',
|
||||
|
||||
'countries' => include 'no.countries.php',
|
||||
'continents' => include 'no.continents.php',
|
||||
];
|
|
@ -20,15 +20,15 @@ return [
|
|||
'BG' => 'Bulgária',
|
||||
'BH' => 'Bahrein',
|
||||
'BS' => 'Bahamas',
|
||||
'BA' => 'Bósnia and Herzegovina',
|
||||
'BY' => 'Bielorússia',
|
||||
'BA' => 'Bósnia e Herzegovina',
|
||||
'BY' => 'Bielorrússia',
|
||||
'BZ' => 'Belize',
|
||||
'BO' => 'Bolívia',
|
||||
'BR' => 'Brasil',
|
||||
'BB' => 'Barbados',
|
||||
'BN' => 'Brunei',
|
||||
'BT' => 'Butão',
|
||||
'BW' => 'Botsuana',
|
||||
'BW' => 'Botswana',
|
||||
'CF' => 'República Centro-Africana',
|
||||
'CA' => 'Canadá',
|
||||
'CH' => 'Suíça',
|
||||
|
@ -38,13 +38,13 @@ return [
|
|||
'CM' => 'Camarões',
|
||||
'CD' => 'República Democrática do Congo',
|
||||
'CG' => 'República do Congo',
|
||||
'CO' => 'Colombia',
|
||||
'CO' => 'Colômbia',
|
||||
'KM' => 'Comores',
|
||||
'CV' => 'Cabo Verde',
|
||||
'CR' => 'Costa Rica',
|
||||
'CU' => 'Cuba',
|
||||
'CY' => 'Chipre',
|
||||
'CZ' => 'Tchéquia',
|
||||
'CZ' => 'República Tcheca',
|
||||
'DE' => 'Alemanha',
|
||||
'DJ' => 'Djibouti',
|
||||
'DM' => 'Dominica',
|
||||
|
@ -53,14 +53,14 @@ return [
|
|||
'DZ' => 'Argélia',
|
||||
'EC' => 'Equador',
|
||||
'EG' => 'Egito',
|
||||
'ER' => 'Eritrea',
|
||||
'ER' => 'Eritreia',
|
||||
'ES' => 'Espanha',
|
||||
'EE' => 'Estônia',
|
||||
'ET' => 'Etiópia',
|
||||
'FI' => 'Finlândia',
|
||||
'FJ' => 'Fiji',
|
||||
'FR' => 'França',
|
||||
'FM' => 'Micronésia',
|
||||
'FM' => 'Estados Federados da Micronésia',
|
||||
'GA' => 'Gabão',
|
||||
'GB' => 'Reino Unido',
|
||||
'GE' => 'Geórgia',
|
||||
|
@ -171,7 +171,7 @@ return [
|
|||
'TD' => 'Chade',
|
||||
'TG' => 'Togo',
|
||||
'TH' => 'Tailândia',
|
||||
'TJ' => 'Tajisquistão',
|
||||
'TJ' => 'Tajiquistão',
|
||||
'TM' => 'Turcomenistão',
|
||||
'TL' => 'Timor-Leste',
|
||||
'TO' => 'Tonga',
|
||||
|
@ -186,7 +186,7 @@ return [
|
|||
'US' => 'Estados Unidos',
|
||||
'UZ' => 'Uzbequistão',
|
||||
'VA' => 'Cidade do Vaticano',
|
||||
'VC' => 'São Vincente e Granadinas',
|
||||
'VC' => 'São Vicente e Granadinas',
|
||||
'VE' => 'Venezuela',
|
||||
'VN' => 'Vietnã',
|
||||
'VU' => 'Vanuatu',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'settings.inspire' => '"The art of being wise is the art of knowing what to overlook."', // This is the line printed in the homepage and console 'view-source'
|
||||
'settings.inspire' => '"A arte de ser sábio é a arte de saber o que deixar passar."', // This is the line printed in the homepage and console 'view-source'
|
||||
'settings.locale' => 'pt-br',
|
||||
'settings.direction' => 'ltr',
|
||||
|
||||
|
|
11
app/config/locale/si.continents.php
Normal file
11
app/config/locale/si.continents.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'AF' => 'අප්රිකාව',
|
||||
'AN' => 'ඇන්ටාක්ටිකාව',
|
||||
'AS' => 'ආසියාව',
|
||||
'EU' => 'යුරෝපය',
|
||||
'NA' => 'උතුරු ඇමරිකාව',
|
||||
'OC' => 'ඕෂනියා',
|
||||
'SA' => 'දකුණු ඇමරිකාව',
|
||||
];
|
198
app/config/locale/si.countries.php
Normal file
198
app/config/locale/si.countries.php
Normal file
|
@ -0,0 +1,198 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'AF' => 'ඇෆ්ගනිස්ථානය',
|
||||
'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' => 'සිම්බාබ්වේ',
|
||||
];
|
18
app/config/locale/si.php
Normal file
18
app/config/locale/si.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
return [
|
||||
'settings.inspire' => '"ප්රඥාවන්ත වීමේ කලාව යනු නොසලකා හැරිය යුතු දේ දැන ගැනීමේ කලාවයි."', // This is the line printed in the homepage and console 'view-source'
|
||||
'settings.locale' => 'si',
|
||||
'settings.direction' => 'ltr',
|
||||
// Service - Users
|
||||
'auth.emails.team' => '%s කණ්ඩායම',
|
||||
'auth.emails.confirm.title' => 'ගිණුම් තහවුරු කිරීම',
|
||||
'auth.emails.confirm.body' => 'si.email.auth.confirm.tpl',
|
||||
'auth.emails.recovery.title' => 'මුරපදය යළි පිහිටුවන්න',
|
||||
'auth.emails.recovery.body' => 'si.email.auth.recovery.tpl',
|
||||
|
||||
'auth.emails.invitation.title' => 'ආරාධනයයි , %s කණ්ඩායමට %s ව්යාපෘතියෙහි',
|
||||
'auth.emails.invitation.body' => 'si.email.auth.invitation.tpl',
|
||||
'locale.country.unknown' => 'Unknown',
|
||||
'countries' => include 'si.countries.php',
|
||||
'continents' => include 'si.continents.php',
|
||||
];
|
24
app/config/locale/templates/lt.email.auth.confirm.tpl
Normal file
24
app/config/locale/templates/lt.email.auth.confirm.tpl
Normal file
|
@ -0,0 +1,24 @@
|
|||
<style>
|
||||
* {
|
||||
font-family: sans-serif,Arial;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-weight: lighter;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="direction: {{direction}}">
|
||||
Sveiki, {{name}},
|
||||
<br />
|
||||
<br />
|
||||
Paspauskite nuorodą, kad patvirtinti savo el. paštą.
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
<br />
|
||||
Jei neprašėte el. pašto patvirtinimo, ignoruokite šį laišką
|
||||
<br />
|
||||
<br />
|
||||
Ačiū,
|
||||
<br />
|
||||
komanda {{project}}
|
||||
</div>
|
27
app/config/locale/templates/lt.email.auth.invitation.tpl
Normal file
27
app/config/locale/templates/lt.email.auth.invitation.tpl
Normal file
|
@ -0,0 +1,27 @@
|
|||
<style>
|
||||
* {
|
||||
font-family: sans-serif,Arial;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-weight: lighter;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="direction: {{direction}}">
|
||||
Sveiki,
|
||||
<br />
|
||||
<br />
|
||||
Šis laiškas buvo išsiųstas dėl to, kad <b>{{owner}}</b> kviečia tapti komandos <b>{{team}}</b> nariu projekte {{project}}.
|
||||
<br />
|
||||
<br />
|
||||
Paspauskite nuorodą, kad prisijungti prie komandos <b>{{team}}</b> :
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
<br />
|
||||
Jei Jums neįdomu, ignoruokite šį laišką.
|
||||
<br />
|
||||
<br />
|
||||
Ačiū,
|
||||
<br />
|
||||
komanda {{project}}
|
||||
</div>
|
24
app/config/locale/templates/lt.email.auth.recovery.tpl
Normal file
24
app/config/locale/templates/lt.email.auth.recovery.tpl
Normal file
|
@ -0,0 +1,24 @@
|
|||
<style>
|
||||
* {
|
||||
font-family: sans-serif,Arial;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-weight: lighter;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="direction: {{direction}}">
|
||||
Sveiki, {{name}},
|
||||
<br />
|
||||
<br />
|
||||
Paspauskite nuorodą, kad pakeisti slaptožodį projektui {{project}}.
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
<br />
|
||||
Jei neprašėte atkurti slaptažodžio, ignoruokite šį laišką.
|
||||
<br />
|
||||
<br />
|
||||
Ačiū,
|
||||
<br />
|
||||
komanda {{project}}
|
||||
</div>
|
|
@ -10,7 +10,7 @@
|
|||
Olá {{name}},
|
||||
<br />
|
||||
<br />
|
||||
Por favor, confirme o seu email acessando este link abaixo.
|
||||
Por favor, confirme o seu email acessando o link abaixo.
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
Olá,
|
||||
<br />
|
||||
<br />
|
||||
Este email foi enviado a você porque <br>{{owner}} deseja lhe convidar a se tornar membro da equipe <b>{{team}}<b> no {{project}}.
|
||||
Este email foi enviado a você porque <br>{{owner}} deseja convida-lo para se tornar membro da equipe <b>{{team}}<b> no {{project}}.
|
||||
<br />
|
||||
<br />
|
||||
Siga este link para se juntar a equipe <b>{{team}}<b>:
|
||||
Siga o link abaixo para se juntar a equipe <b>{{team}}<b>:
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
Olá {{name}},
|
||||
<br />
|
||||
<br />
|
||||
Acesse este link para redefinir sua senha do {{project}}.
|
||||
Acesse o link abaixo para redefinir sua senha do {{project}}.
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
|
|
25
app/config/locale/templates/si.email.auth.confirm.tpl
Normal file
25
app/config/locale/templates/si.email.auth.confirm.tpl
Normal file
|
@ -0,0 +1,25 @@
|
|||
<style>
|
||||
* {
|
||||
font-family: sans-serif,Arial;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-weight: lighter;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="direction: {{direction}}">
|
||||
ආයුබෝවන් {{name}},
|
||||
<br />
|
||||
<br />
|
||||
ඔබගේ විද්යුත් තැපැල් ලිපිනය සත්යාපනය කිරීමට මෙම සබැඳිය අනුගමනය කරන්න.
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
ඔබ මෙම ලිපිනය සත්යාපනය කිරීමට ඉල්ලා නොසිටියේ නම්, ඔබට මෙම පණිවිඩය නොසලකා හැරිය හැක.
|
||||
<br />
|
||||
<br />
|
||||
ස්තූතියි,
|
||||
<br />
|
||||
{{project}} කණ්ඩායම
|
||||
</div>
|
31
app/config/locale/templates/si.email.auth.invitation.tpl
Normal file
31
app/config/locale/templates/si.email.auth.invitation.tpl
Normal file
|
@ -0,0 +1,31 @@
|
|||
<style>
|
||||
* {
|
||||
font-family: sans-serif,Arial;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-weight: lighter;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="direction: {{direction}}">
|
||||
ආයුබෝවන්,
|
||||
<br />
|
||||
<br />
|
||||
|
||||
මෙම තැපෑල ඔබ වෙත එවනු ලැබුවේ <b>{{owner}}</b>ට ඔබව , {{project}} ව්යාපෘතියෙහි <b>{{team}}</b> කණ්ඩායමේ කණ්ඩායම් සාමාජිකයෙකු වීමට ආරාධනා කිරීමට අවශ්ය වූ නිසාය.
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<b>{{team}}</b> කණ්ඩායමට එක්වීමට මෙම සබැඳිය අනුගමනය කරන්න:
|
||||
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
<br />
|
||||
ඔබ උනන්දුවක් නොදක්වන්නේ නම්, ඔබට මෙම පණිවිඩය නොසලකා හැරිය හැකිය.
|
||||
<br />
|
||||
<br />
|
||||
ස්තූතියි,
|
||||
<br />
|
||||
{{project}} කණ්ඩායම.
|
||||
</div>
|
25
app/config/locale/templates/si.email.auth.recovery.tpl
Normal file
25
app/config/locale/templates/si.email.auth.recovery.tpl
Normal file
|
@ -0,0 +1,25 @@
|
|||
<style>
|
||||
* {
|
||||
font-family: sans-serif,Arial;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-weight: lighter;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="direction: {{direction}}">
|
||||
ආයුබෝවන් {{name}},
|
||||
<br />
|
||||
<br />
|
||||
ඔබගේ {{project}} ව්යාපෘතියෙහි මුරපදය නැවත සැකසීමට මෙම සබැඳිය අනුගමනය කරන්න
|
||||
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
<br />
|
||||
ඔබගේ මුරපදය නැවත සැකසීමට ඔබ ඉල්ලා නොසිටියේ නම්, ඔබට මෙම පණිවිඩය නොසලකා හැරිය හැක.
|
||||
<br />
|
||||
<br />
|
||||
ස්තූතියි,
|
||||
<br />
|
||||
{{project}} කණ්ඩායම
|
||||
</div>
|
24
app/config/locale/templates/zh-tw.email.auth.confirm.tpl
Normal file
24
app/config/locale/templates/zh-tw.email.auth.confirm.tpl
Normal file
|
@ -0,0 +1,24 @@
|
|||
<style>
|
||||
* {
|
||||
font-family: sans-serif,Arial;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-weight: lighter;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="direction: {{direction}}">
|
||||
{{name}} 你好,
|
||||
<br />
|
||||
<br />
|
||||
請點擊下方的鏈接驗證你的電子郵箱地址。
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
<br />
|
||||
如果你沒有請求驗證本郵箱,請忽略這份郵件。
|
||||
<br />
|
||||
<br />
|
||||
謝謝。
|
||||
<br />
|
||||
來自 {{project}}
|
||||
</div>
|
27
app/config/locale/templates/zh-tw.email.auth.invitation.tpl
Normal file
27
app/config/locale/templates/zh-tw.email.auth.invitation.tpl
Normal file
|
@ -0,0 +1,27 @@
|
|||
<style>
|
||||
* {
|
||||
font-family: sans-serif,Arial;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-weight: lighter;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="direction: {{direction}}">
|
||||
你好,
|
||||
<br />
|
||||
<br />
|
||||
<b>{{owner}}</b>邀請您加入{{project}}項目的<b>{{team}}</b>小組。
|
||||
<br />
|
||||
<br />
|
||||
請點擊下方的鏈接加入{{team}}小組:
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
<br />
|
||||
如果您沒有加入該小組的計劃,請忽略本郵件。
|
||||
<br />
|
||||
<br />
|
||||
謝謝。
|
||||
<br />
|
||||
來自 {{project}}
|
||||
</div>
|
25
app/config/locale/templates/zh-tw.email.auth.recovery.tpl
Normal file
25
app/config/locale/templates/zh-tw.email.auth.recovery.tpl
Normal file
|
@ -0,0 +1,25 @@
|
|||
<style>
|
||||
* {
|
||||
font-family: sans-serif,Arial;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-weight: lighter;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="direction: {{direction}}">
|
||||
{{name}} 你好,
|
||||
<br />
|
||||
<br />
|
||||
请点击下方的链接重新设置{{project}}的密码。
|
||||
Follow this link to reset your {{project}} password.
|
||||
<br />
|
||||
<a href="{{redirect}}">{{redirect}}</a>
|
||||
<br />
|
||||
<br />
|
||||
如果您未曾申请重设密码,请忽略本邮件。
|
||||
<br />
|
||||
<br />
|
||||
谢谢。
|
||||
<br />
|
||||
来自 {{project}}
|
||||
</div>
|
|
@ -16,6 +16,6 @@ return [
|
|||
|
||||
'locale.country.unknown' => '未知',
|
||||
|
||||
'countries' => include 'zh.countries.php',
|
||||
'continents' => include 'zh.continents.php',
|
||||
'countries' => include 'zh-cn.countries.php',
|
||||
'continents' => include 'zh-cn.continents.php',
|
||||
];
|
11
app/config/locale/zh-tw.continents.php
Normal file
11
app/config/locale/zh-tw.continents.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'AF' => '非洲',
|
||||
'AN' => '南極洲',
|
||||
'AS' => '亞洲',
|
||||
'EU' => '歐洲',
|
||||
'NA' => '北美洲',
|
||||
'OC' => '大洋洲',
|
||||
'SA' => '南美洲',
|
||||
];
|
198
app/config/locale/zh-tw.countries.php
Normal file
198
app/config/locale/zh-tw.countries.php
Normal file
|
@ -0,0 +1,198 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'AF' => '阿富汗',
|
||||
'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' => '津巴布韋',
|
||||
];
|
19
app/config/locale/zh-tw.php
Normal file
19
app/config/locale/zh-tw.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'settings.inspire' => '"懂得取舍,方顯睿智。"', // This is the line printed in the homepage and console 'view-source'
|
||||
'settings.locale' => 'zh-tw',
|
||||
'settings.direction' => 'ltr',
|
||||
|
||||
// Service - Users
|
||||
'auth.emails.team' => '%s 小組',
|
||||
'auth.emails.confirm.title' => '賬戶確認',
|
||||
'auth.emails.confirm.body' => 'zh-tw.email.auth.confirm.tpl',
|
||||
'auth.emails.recovery.title' => '重設密碼',
|
||||
'auth.emails.recovery.body' => 'zh.email.auth.recovery.tpl',
|
||||
'auth.emails.invitation.title' => '邀請加入%s小組(%s)',
|
||||
'auth.emails.invitation.body' => 'zh-tw.email.auth.invitation.tpl',
|
||||
'locale.country.unknown' => '未知',
|
||||
'countries' => include 'zh-tw.countries.php',
|
||||
'continents' => include 'zh-tw.continents.php',
|
||||
];
|
|
@ -24,7 +24,7 @@ const APP_EMAIL_TEAM = 'team@'.APP_DOMAIN;
|
|||
const APP_EMAIL_SECURITY = 'security@'.APP_DOMAIN;
|
||||
const APP_USERAGENT = APP_NAME.'-Server/%s Please report abuse at '.APP_EMAIL_SECURITY;
|
||||
const APP_MODE_ADMIN = 'admin';
|
||||
const APP_LOCALES = ['cat', 'de', 'en', 'es', 'fi', 'fr', 'gr', 'he', 'hi', 'id', 'it', 'nl', /* 'no',*/ 'pt-br', 'pt-pt', 'ro', 'tr', 'ua', 'zh'];
|
||||
const APP_LOCALES = ['cat', 'de', 'en', 'es', 'fi', 'fr', 'gr', 'he', 'hi', 'id', 'it', 'nl', 'no', 'pt-br', 'pt-pt', 'ro', 'tr', 'ua', 'zh-cn', 'zh-tw'];
|
||||
const APP_PAGING_LIMIT = 15;
|
||||
const APP_VERSION_STABLE = '0.2.0';
|
||||
|
||||
|
@ -128,6 +128,7 @@ $locale = $request->getParam('locale', $request->getHeader('X-Appwrite-Locale',
|
|||
|
||||
Locale::$exceptions = false;
|
||||
|
||||
|
||||
Locale::setLanguage('cat', include __DIR__.'/config/locale/cat.php');
|
||||
Locale::setLanguage('de', include __DIR__.'/config/locale/de.php');
|
||||
Locale::setLanguage('en', include __DIR__.'/config/locale/en.php');
|
||||
|
@ -147,7 +148,9 @@ Locale::setLanguage('ro', include __DIR__.'/config/locale/ro.php');
|
|||
Locale::setLanguage('ru', include __DIR__ . '/config/locale/ru.php');
|
||||
Locale::setLanguage('tr', include __DIR__.'/config/locale/tr.php');
|
||||
Locale::setLanguage('ua', include __DIR__.'/config/locale/ua.php');
|
||||
Locale::setLanguage('zh', include __DIR__.'/config/locale/zh.php');
|
||||
Locale::setLanguage('si', include __DIR__ . '/config/locale/si.php');
|
||||
Locale::setLanguage('zh-cn', include __DIR__.'/config/locale/zh-cn.php');
|
||||
Locale::setLanguage('zh-tw', include __DIR__.'/config/locale/zh-tw.php');
|
||||
|
||||
if (in_array($locale, APP_LOCALES)) {
|
||||
Locale::setDefault($locale);
|
||||
|
|
|
@ -19,6 +19,12 @@ To install via [NPM](https://www.npmjs.com/):
|
|||
npm install appwrite --save
|
||||
```
|
||||
|
||||
Install with CDN:
|
||||
|
||||
```html
|
||||
<script src="https://cdn.jsdelivr.net/npm/appwrite@1.0.22"></script>
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information.
|
|
@ -4,7 +4,7 @@ sdk
|
|||
.setProject('')
|
||||
;
|
||||
|
||||
let promise = sdk.projects.createWebhook('[PROJECT_ID]', '[NAME]', [], '[URL]', 1);
|
||||
let promise = sdk.projects.createWebhook('[PROJECT_ID]', '[NAME]', [], '[URL]', 0);
|
||||
|
||||
promise.then(function (response) {
|
||||
console.log(response);
|
||||
|
|
|
@ -4,7 +4,7 @@ sdk
|
|||
.setProject('')
|
||||
;
|
||||
|
||||
let promise = sdk.projects.updateWebhook('[PROJECT_ID]', '[WEBHOOK_ID]', '[NAME]', [], '[URL]', 0);
|
||||
let promise = sdk.projects.updateWebhook('[PROJECT_ID]', '[WEBHOOK_ID]', '[NAME]', [], '[URL]', 1);
|
||||
|
||||
promise.then(function (response) {
|
||||
console.log(response);
|
||||
|
|
|
@ -10,7 +10,7 @@ client
|
|||
.setKey('')
|
||||
;
|
||||
|
||||
let promise = projects.createTask('[PROJECT_ID]', '[NAME]', 'play', '', 1, 'GET', 'https://example.com');
|
||||
let promise = projects.createTask('[PROJECT_ID]', '[NAME]', 'play', '', 0, 'GET', 'https://example.com');
|
||||
|
||||
promise.then(function (response) {
|
||||
console.log(response);
|
||||
|
|
|
@ -12,4 +12,4 @@ $client
|
|||
|
||||
$projects = new Projects($client);
|
||||
|
||||
$result = $projects->createTask('[PROJECT_ID]', '[NAME]', 'play', '', 1, 'GET', 'https://example.com');
|
||||
$result = $projects->createTask('[PROJECT_ID]', '[NAME]', 'play', '', 0, 'GET', 'https://example.com');
|
|
@ -12,4 +12,4 @@ $client
|
|||
|
||||
$projects = new Projects($client);
|
||||
|
||||
$result = $projects->updateTask('[PROJECT_ID]', '[TASK_ID]', '[NAME]', 'play', '', 0, 'GET', 'https://example.com');
|
||||
$result = $projects->updateTask('[PROJECT_ID]', '[TASK_ID]', '[NAME]', 'play', '', 1, 'GET', 'https://example.com');
|
|
@ -12,4 +12,4 @@ $client
|
|||
|
||||
$projects = new Projects($client);
|
||||
|
||||
$result = $projects->updateWebhook('[PROJECT_ID]', '[WEBHOOK_ID]', '[NAME]', [], '[URL]', 1);
|
||||
$result = $projects->updateWebhook('[PROJECT_ID]', '[WEBHOOK_ID]', '[NAME]', [], '[URL]', 0);
|
12
composer.lock
generated
12
composer.lock
generated
|
@ -12,12 +12,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/appwrite/sdk-for-php.git",
|
||||
"reference": "bc702c165342f3d943e17d580ab3eb66e100eb44"
|
||||
"reference": "ab0fe8f5669e6a8fc7a8d5e8c711f939412fb33e"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/bc702c165342f3d943e17d580ab3eb66e100eb44",
|
||||
"reference": "bc702c165342f3d943e17d580ab3eb66e100eb44",
|
||||
"url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/ab0fe8f5669e6a8fc7a8d5e8c711f939412fb33e",
|
||||
"reference": "ab0fe8f5669e6a8fc7a8d5e8c711f939412fb33e",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -39,7 +39,7 @@
|
|||
"BSD-3-Clause"
|
||||
],
|
||||
"description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)",
|
||||
"time": "2019-10-03T17:57:02+00:00"
|
||||
"time": "2019-10-03T22:07:26+00:00"
|
||||
},
|
||||
{
|
||||
"name": "appwrite/php-clamav",
|
||||
|
@ -92,7 +92,7 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/appwrite/sdk-generator",
|
||||
"reference": "e0cfa4cb8d45b3faf8222f4e7f803f3054431ce8"
|
||||
"reference": "0ece44cf81c04ebb8784a60830b088238189ec78"
|
||||
},
|
||||
"require": {
|
||||
"ext-curl": "*",
|
||||
|
@ -122,7 +122,7 @@
|
|||
}
|
||||
],
|
||||
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
|
||||
"time": "2019-10-03 22:01:52"
|
||||
"time": "2019-10-04 05:50:53"
|
||||
},
|
||||
{
|
||||
"name": "bacon/bacon-qr-code",
|
||||
|
|
Loading…
Reference in a new issue