diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-02-12 12:00:49 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-02-12 12:00:49 +0100 |
commit | 55da765e11608e852bf197a01c164e442e635f2e (patch) | |
tree | ea358d1dea43d7d527e9fcd44240a6110056cb45 /src | |
parent | c7a4f74f9fe225275c8c2e68269b1f86cc31da6e (diff) | |
download | wallabag-55da765e11608e852bf197a01c164e442e635f2e.tar.gz wallabag-55da765e11608e852bf197a01c164e442e635f2e.tar.zst wallabag-55da765e11608e852bf197a01c164e442e635f2e.zip |
Add missing translations
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/ConfigController.php | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php index 5ccf5a56..e7fb5ad0 100644 --- a/src/Wallabag/CoreBundle/Controller/ConfigController.php +++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php | |||
@@ -144,7 +144,7 @@ class ConfigController extends Controller | |||
144 | 144 | ||
145 | $this->get('session')->getFlashBag()->add( | 145 | $this->get('session')->getFlashBag()->add( |
146 | 'notice', | 146 | 'notice', |
147 | sprintf('User "%s" added', $newUser->getUsername()) | 147 | $this->get('translator')->trans('User "%username%" added', array('%username%' => $newUser->getUsername())) |
148 | ); | 148 | ); |
149 | 149 | ||
150 | return $this->redirect($this->generateUrl('config').'#set6'); | 150 | return $this->redirect($this->generateUrl('config').'#set6'); |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index a98b7b7a..b66ef538 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | |||
@@ -111,7 +111,7 @@ to: 'à' | |||
111 | website.com: 'website.com' | 111 | website.com: 'website.com' |
112 | Domain name: 'Nom de domaine' | 112 | Domain name: 'Nom de domaine' |
113 | Creation date: 'Date de création' | 113 | Creation date: 'Date de création' |
114 | dd/mm/yyyy: 'dd/mm/aaaa' | 114 | dd/mm/yyyy: 'jj/mm/aaaa' |
115 | Clear: 'Effacer' | 115 | Clear: 'Effacer' |
116 | Filter: 'Filtrer' | 116 | Filter: 'Filtrer' |
117 | website.com: "siteweb.com" | 117 | website.com: "siteweb.com" |
@@ -162,6 +162,9 @@ Entry unstarred: "Article retiré des favoris" | |||
162 | Entry archived: "Article marqué comme lu" | 162 | Entry archived: "Article marqué comme lu" |
163 | Entry unarchived: "Article marqué comme non lu" | 163 | Entry unarchived: "Article marqué comme non lu" |
164 | Entry deleted: "Article supprimé" | 164 | Entry deleted: "Article supprimé" |
165 | Tagging rule deleted: "Règle supprimée" | ||
166 | Tagging rules updated: "Règles mis à jour" | ||
167 | User "%username%" added: 'Utilisateur "%username%" ajouté' | ||
165 | 168 | ||
166 | # Entry | 169 | # Entry |
167 | Mark as read: 'Marquer comme lu' | 170 | Mark as read: 'Marquer comme lu' |