Completed authenticated bar translation.

This commit is contained in:
Pierre HUBERT 2018-08-04 09:53:35 +02:00
parent e1c3b0c002
commit 50b40ac5b0
3 changed files with 9 additions and 3 deletions

View File

@ -87,7 +87,7 @@ ComunicWeb.components.menuBar.authenticated = {
var conversationsLink = createElem2({ var conversationsLink = createElem2({
appendTo: conversationsButton, appendTo: conversationsButton,
type: "a", type: "a",
innerHTML: "Conversations" innerLang: "menu_bar_action_conversations"
}); });
conversationsButton.onclick = function(){ conversationsButton.onclick = function(){
openPage("conversations"); openPage("conversations");
@ -101,7 +101,7 @@ ComunicWeb.components.menuBar.authenticated = {
createElem2({ createElem2({
appendTo: groupsButton, appendTo: groupsButton,
type: "a", type: "a",
innerHTML: "Groups" innerLang: "menu_bar_action_groups"
}); });
groupsButton.onclick = function(){ groupsButton.onclick = function(){
openPage("groups"); openPage("groups");
@ -115,7 +115,7 @@ ComunicWeb.components.menuBar.authenticated = {
var settingsLink = createElem2({ var settingsLink = createElem2({
appendTo: settingsButton, appendTo: settingsButton,
type: "a", type: "a",
innerHTML: "Settings" innerLang: "menu_bar_action_settings"
}); });
settingsButton.onclick = function(){ settingsButton.onclick = function(){
openPage("settings"); openPage("settings");

View File

@ -30,6 +30,9 @@ ComunicWeb.common.langs.en = {
//Menu bar - authenticated //Menu bar - authenticated
_menu_bar_search_placeholder: "Search...", _menu_bar_search_placeholder: "Search...",
menu_bar_action_conversations: "Conversations",
menu_bar_action_groups: "Groups",
menu_bar_action_settings: "Settings",
_menu_bar_action_logout: "Logout", _menu_bar_action_logout: "Logout",
//Posts form //Posts form

View File

@ -29,6 +29,9 @@ ComunicWeb.common.langs.fr = {
//Menu bar - authenticated //Menu bar - authenticated
_menu_bar_search_placeholder: "Recherche...", _menu_bar_search_placeholder: "Recherche...",
menu_bar_action_conversations: "Conversations",
menu_bar_action_groups: "Groupes",
menu_bar_action_settings: "Paramètres",
_menu_bar_action_logout: "Déconnexion", _menu_bar_action_logout: "Déconnexion",
//Posts form //Posts form