mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +00:00
Added language settings
This commit is contained in:
@ -1369,6 +1369,13 @@ var ComunicWeb = {
|
||||
//TODO : implement
|
||||
},
|
||||
|
||||
/**
|
||||
* Language section
|
||||
*/
|
||||
language: {
|
||||
//TODO : implement
|
||||
},
|
||||
|
||||
/**
|
||||
* Security section
|
||||
*/
|
||||
|
@ -6,6 +6,22 @@
|
||||
|
||||
ComunicWeb.common.langs = {
|
||||
|
||||
/**
|
||||
* Languages list
|
||||
*/
|
||||
list: {
|
||||
|
||||
en: {
|
||||
name: "English",
|
||||
local_name: "English"
|
||||
},
|
||||
|
||||
fr: {
|
||||
name: "French",
|
||||
local_name: "Français"
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Local storage lang item name
|
||||
*/
|
||||
@ -20,6 +36,7 @@ ComunicWeb.common.langs = {
|
||||
* Default langage (updated on init)
|
||||
*/
|
||||
__defaultLang: "en",
|
||||
|
||||
|
||||
/**
|
||||
* Get current language
|
||||
|
Reference in New Issue
Block a user