Created and implemented language module

This commit is contained in:
Pierre
2017-01-08 15:54:25 +01:00
parent d8e5c85b58
commit 5b9b372ff9
12 changed files with 321 additions and 30 deletions

11
assets/js/langs/en.inc.js Normal file
View File

@@ -0,0 +1,11 @@
/**
* English language
*
* @author Pierre HUBERT
*/
ComunicWeb.common.langs.en = {
//Basic messages
"hello": "hello",
"__number_received_messages": "You have received %p messages",
}

10
assets/js/langs/fr.inc.js Normal file
View File

@@ -0,0 +1,10 @@
/**
* French language
*
* @author Pierre HUBERT
*/
ComunicWeb.common.langs.fr = {
//Basic messages
"hello": "bonjour",
"__number_received_messages": "Vous avez reçu %p messages",
}