From 5ceafa0c70dee59fb8039b56738aac59b9cab3ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20K?= Date: Sat, 13 Feb 2016 10:43:36 +0100 Subject: [PATCH] Little lang fix --- bl-kernel/admin/views/edit-user.php | 12 ++++++------ bl-languages/en_US.json | 10 ++++++++-- bl-languages/fr_FR.json | 10 ++++++++-- 3 files changed, 22 insertions(+), 10 deletions(-) mode change 100644 => 100755 bl-kernel/admin/views/edit-user.php mode change 100644 => 100755 bl-languages/en_US.json diff --git a/bl-kernel/admin/views/edit-user.php b/bl-kernel/admin/views/edit-user.php old mode 100644 new mode 100755 index ac8d2a55..a04b285b --- a/bl-kernel/admin/views/edit-user.php +++ b/bl-kernel/admin/views/edit-user.php @@ -47,7 +47,7 @@ HTML::formOpen(array('id'=>'edit-user-profile-form','class'=>'uk-form-horizontal )); echo '
- + @@ -72,11 +72,11 @@ if($Login->role()==='admin') { 'tip'=>$L->g('email-will-not-be-publicly-displayed') )); - HTML::legend(array('value'=>'Social networks')); + HTML::legend(array('value'=>$L->g('Social networks'))); HTML::formInputText(array( 'name'=>'twitterUsername', - 'label'=>'Twitter username', + 'label'=>$L->g('Twitter username'), 'value'=>$_User->twitterUsername(), 'class'=>'uk-width-1-2 uk-form-medium', 'tip'=>'' @@ -84,7 +84,7 @@ if($Login->role()==='admin') { HTML::formInputText(array( 'name'=>'facebookUsername', - 'label'=>'Facebook username', + 'label'=>$L->g('Facebook username'), 'value'=>$_User->facebookUsername(), 'class'=>'uk-width-1-2 uk-form-medium', 'tip'=>'' @@ -92,7 +92,7 @@ if($Login->role()==='admin') { HTML::formInputText(array( 'name'=>'googleUsername', - 'label'=>'Google username', + 'label'=>$L->g('Google username'), 'value'=>$_User->googleUsername(), 'class'=>'uk-width-1-2 uk-form-medium', 'tip'=>'' @@ -100,7 +100,7 @@ if($Login->role()==='admin') { HTML::formInputText(array( 'name'=>'instagramUsername', - 'label'=>'Instagram username', + 'label'=>$L->g('Instagram username'), 'value'=>$_User->instagramUsername(), 'class'=>'uk-width-1-2 uk-form-medium', 'tip'=>'' diff --git a/bl-languages/en_US.json b/bl-languages/en_US.json old mode 100644 new mode 100755 index 32c031ef..afcdd60d --- a/bl-languages/en_US.json +++ b/bl-languages/en_US.json @@ -37,7 +37,7 @@ "draft": "Draft", "delete": "Delete", "registered": "Registered", - "Notifications": "Notifications", + "notifications": "Notifications", "profile": "Profile", "email": "Email", "settings": "Settings", @@ -232,5 +232,11 @@ "click-on-the-image-for-options": "Click on the image for options.", "set-as-cover-image": "Set as cover image", "delete-image": "Delete image", - "image-description": "Image description" + "image-description": "Image description", + + "social-networks": "Social networks", + "twitter-username": "Twitter username", + "facebook-username": "Facebook username", + "google-username": "Google username", + "instagram-username": "Instagram username" } \ No newline at end of file diff --git a/bl-languages/fr_FR.json b/bl-languages/fr_FR.json index adbda4cd..8dd7fe85 100755 --- a/bl-languages/fr_FR.json +++ b/bl-languages/fr_FR.json @@ -37,7 +37,7 @@ "draft": "Brouillon", "delete": "Supprimer", "registered": "Inscrit", - "Notifications": "Notifications", + "notifications": "Notifications", "profile": "Profil", "email": "E-mail", "settings": "Paramètres", @@ -232,5 +232,11 @@ "click-on-the-image-for-options": "Cliquez sur l’image pour plus d’options.", "set-as-cover-image": "Définir comme image de couverture", "delete-image": "Supprimer l’image", - "image-description": "Description de l’image" + "image-description": "Description de l’image", + + "social-networks": "Réseaux sociaux", + "twitter-username": "Compte utilisateur Twitter", + "facebook-username": "Compte utilisateur Facebook", + "google-username": "Compte utilisateur Google", + "instagram-username": "Compte utilisateur Instagram" } \ No newline at end of file