oc added to supported languages

in order to show occitan translations
This commit is contained in:
Quent-in 2017-01-07 15:48:42 +01:00 committed by GitHub
parent eb6d994672
commit 427facc456
1 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ $(function() {
* From: https://github.com/janl/mustache.js/blob/master/mustache.js#L60 * From: https://github.com/janl/mustache.js/blob/master/mustache.js#L60
* Also: https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content * Also: https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content
* *
* @param string str * @param string str
* @return string escaped HTML * @return string escaped HTML
*/ */
htmlEntities: function(str) { htmlEntities: function(str) {
@ -329,7 +329,7 @@ $(function() {
/** /**
* supported languages, minus the built in 'en' * supported languages, minus the built in 'en'
*/ */
supportedLanguages: ['de', 'es', 'fr', 'it', 'pl', 'ru', 'sl', 'zh'], supportedLanguages: ['de', 'es', 'fr', 'it', 'pl', 'oc', 'ru', 'sl', 'zh'],
/** /**
* translate a string, alias for translate() * translate a string, alias for translate()