Skip to content

Commit

Permalink
Closes #632: Update i18n keys and exported CSV
Browse files Browse the repository at this point in the history
  • Loading branch information
ifox committed Jul 15, 2020
1 parent edd47e7 commit 4cef3f5
Show file tree
Hide file tree
Showing 11 changed files with 269 additions and 253 deletions.
21 changes: 11 additions & 10 deletions lang/de/lang.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?php
/*
|--------------------------------------------------------------------------
| 5 Steps to Contribute a New Twill Localization at Ease
|--------------------------------------------------------------------------
| 1. Find the "lang.csv" under "lang" directory.
| 2. Import the csv file into a blank Google Sheet.
| 3. Each column is a language, enter the translation for a column. (tips: feel free to freeze rows and columns).
| 4. Download the Google Sheet as CSV, replace the original "lang/lang.csv" with the new one.
| 5. Run the command "php artisan twill:lang" to sync all lang files.
*/
/*
|--------------------------------------------------------------------------
| 5 Steps to Contribute a New Twill Localization at Ease
|--------------------------------------------------------------------------
| 1. Find the "lang.csv" under "lang" directory.
| 2. Import the csv file into a blank Google Sheet.
| 3. Each column is a language, enter the translation for a column. (tips: feel free to freeze rows and columns).
| 4. Download the Google Sheet as CSV, replace the original "lang/lang.csv" with the new one.
| 5. Run the command "php artisan twill:lang" to sync all lang files.
*/


return [
'auth' => [
Expand Down
26 changes: 14 additions & 12 deletions lang/en/lang.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?php
/*
|--------------------------------------------------------------------------
| 5 Steps to Contribute a New Twill Localization at Ease
|--------------------------------------------------------------------------
| 1. Find the "lang.csv" under "lang" directory.
| 2. Import the csv file into a blank Google Sheet.
| 3. Each column is a language, enter the translation for a column. (tips: feel free to freeze rows and columns).
| 4. Download the Google Sheet as CSV, replace the original "lang/lang.csv" with the new one.
| 5. Run the command "php artisan twill:lang" to sync all lang files.
*/
/*
|--------------------------------------------------------------------------
| 5 Steps to Contribute a New Twill Localization at Ease
|--------------------------------------------------------------------------
| 1. Find the "lang.csv" under "lang" directory.
| 2. Import the csv file into a blank Google Sheet.
| 3. Each column is a language, enter the translation for a column. (tips: feel free to freeze rows and columns).
| 4. Download the Google Sheet as CSV, replace the original "lang/lang.csv" with the new one.
| 5. Run the command "php artisan twill:lang" to sync all lang files.
*/


return [
'auth' => [
Expand Down Expand Up @@ -216,6 +217,7 @@
'logout' => 'Logout',
'media-library' => 'Media Library',
'settings' => 'Settings',
'close-menu' => 'Close menu',
],
'notifications' => [
'reset' => [
Expand Down Expand Up @@ -251,7 +253,6 @@
'languages' => 'Languages',
'languages-published' => 'Live',
'last-edit' => 'Last edited',
'parent-page' => 'Parent page',
'preview' => 'Preview changes',
'publish' => 'Publish',
'publish-close' => 'Publish and close',
Expand All @@ -265,7 +266,6 @@
'restore-live-new' => 'Restore as published and create new',
'restore-message' => 'You are currently editing an older revision of this content (saved by :user on :date). Make changes if needed and click restore to save a new revision.',
'restore-success' => 'Revision restored.',
'review-status' => 'Review status',
'revisions' => 'Revisions',
'save' => 'Save as draft',
'save-close' => 'Save as draft and close',
Expand All @@ -276,6 +276,8 @@
'update' => 'Update',
'update-close' => 'Update and close',
'update-new' => 'Update and create new',
'parent-page' => 'Parent page',
'review-status' => 'Review status',
'visibility' => 'Visibility',
],
'select' => [
Expand Down
38 changes: 20 additions & 18 deletions lang/fr/lang.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?php
/*
|--------------------------------------------------------------------------
| 5 Steps to Contribute a New Twill Localization at Ease
|--------------------------------------------------------------------------
| 1. Find the "lang.csv" under "lang" directory.
| 2. Import the csv file into a blank Google Sheet.
| 3. Each column is a language, enter the translation for a column. (tips: feel free to freeze rows and columns).
| 4. Download the Google Sheet as CSV, replace the original "lang/lang.csv" with the new one.
| 5. Run the command "php artisan twill:lang" to sync all lang files.
*/
/*
|--------------------------------------------------------------------------
| 5 Steps to Contribute a New Twill Localization at Ease
|--------------------------------------------------------------------------
| 1. Find the "lang.csv" under "lang" directory.
| 2. Import the csv file into a blank Google Sheet.
| 3. Each column is a language, enter the translation for a column. (tips: feel free to freeze rows and columns).
| 4. Download the Google Sheet as CSV, replace the original "lang/lang.csv" with the new one.
| 5. Run the command "php artisan twill:lang" to sync all lang files.
*/


return [
'auth' => [
Expand Down Expand Up @@ -190,11 +191,11 @@
'caption' => 'Légende',
'clear' => 'Annuler',
'dimensions' => 'Dimensions',
'empty-text' => 'Aucun fichier sélectionnés',
'empty-text' => 'Aucun fichier sélectionné',
'files-selected' => 'fichiers sélectionnés',
'tags' => 'Tags',
],
'title' => 'Médiathèque',
'title' => 'Galerie de médias',
'update' => 'Mettre a jour',
],
'modal' => [
Expand All @@ -214,8 +215,9 @@
'admin' => 'Admin',
'cms-users' => 'Utilisateurs du CMS',
'logout' => 'Déconnexion',
'media-library' => 'Médiathèque',
'media-library' => 'Galerie de médias',
'settings' => 'Paramètres',
'close-menu' => 'Fermer le menu',
],
'notifications' => [
'reset' => [
Expand Down Expand Up @@ -247,11 +249,10 @@
'cancel' => 'Annuler',
'current' => 'Active',
'end-date' => 'Date de fin',
'immediate' => 'Immédiatement',
'immediate' => 'Maintenant',
'languages' => 'Languages',
'languages-published' => 'Publie',
'last-edit' => 'Edité le',
'parent-page' => 'Page parente',
'preview' => 'Prévisualiser les changements',
'publish' => 'Publier',
'publish-close' => 'Publier et fermer',
Expand All @@ -265,17 +266,18 @@
'restore-live-new' => 'Restaurer avec le statut publié et créer un nouveau',
'restore-message' => 'Vous modifiez actuellement une ancienne révision de ce contenu (enregistrée par :user le :date). Apportez les modifications nécessaires et cliquez sur restaurer pour enregistrer une nouvelle révision.',
'restore-success' => 'Révision restaurée.',
'review-status' => 'Etat',
'revisions' => 'Révisions',
'save' => 'Enregistrer comme brouillon',
'save-close' => 'Enregistrer comme brouillon et fermer',
'save-new' => 'Enregistrer comme brouillon et créer un nouveau',
'save-success' => 'Contenu sauvegardé. Tout va bien!',
'start-date' => 'Date de début',
'switcher-title' => 'Status',
'switcher-title' => 'Statut',
'update' => 'Mettre à jour',
'update-close' => 'Mettre à jour et fermer',
'update-new' => 'Mettre à jour et créer un nouveau',
'parent-page' => 'Page parente',
'review-status' => 'Statut de révision',
'visibility' => 'Visibilité',
],
'select' => [
Expand All @@ -291,7 +293,7 @@
'2fa-disable' => 'Entrez votre mot de passe unique pour désactiver l\'authentification à 2 facteurs',
'active' => 'Actif',
'cancel' => 'Annuler',
'content-fieldset-label' => 'Paramètre utilisateur',
'content-fieldset-label' => 'Paramètres utilisateur',
'description' => 'Description',
'disabled' => 'Désactivé',
'edit-modal-title' => 'Éditer le nom d’utilisateur',
Expand Down
Loading

0 comments on commit 4cef3f5

Please sign in to comment.