From 427facc45646f82fc73cbdafdf51fc47a09ca6d8 Mon Sep 17 00:00:00 2001 From: Quent-in Date: Sat, 7 Jan 2017 15:48:42 +0100 Subject: [PATCH] oc added to supported languages in order to show occitan translations --- js/{privatebin.js => language} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename js/{privatebin.js => language} (99%) diff --git a/js/privatebin.js b/js/language similarity index 99% rename from js/privatebin.js rename to js/language index 6efaf46..02ceadc 100644 --- a/js/privatebin.js +++ b/js/language @@ -297,7 +297,7 @@ $(function() { * 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 * - * @param string str + * @param string str * @return string escaped HTML */ htmlEntities: function(str) { @@ -329,7 +329,7 @@ $(function() { /** * 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()