aboutsummaryrefslogtreecommitdiffstats
path: root/library/jquery.i18n/jquery.i18n.min.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-10 08:55:35 +0000
committerMario <mario@mariovavti.com>2019-11-10 09:59:22 +0100
commit61eef68ff3709bc96c962f61f6971c771bc3b832 (patch)
treef843b43dd42ea50c4528259a819b45f2a3a996d6 /library/jquery.i18n/jquery.i18n.min.js
parent478014f02a9241ec6d5b5e9672968897176302d2 (diff)
downloadvolse-hubzilla-61eef68ff3709bc96c962f61f6971c771bc3b832.tar.gz
volse-hubzilla-61eef68ff3709bc96c962f61f6971c771bc3b832.tar.bz2
volse-hubzilla-61eef68ff3709bc96c962f61f6971c771bc3b832.zip
Ãremove some old unused javascript libraries
(cherry picked from commit 971e7eef9c415a2ce82eb0cd22eaabee12ae719c)
Diffstat (limited to 'library/jquery.i18n/jquery.i18n.min.js')
-rw-r--r--library/jquery.i18n/jquery.i18n.min.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/library/jquery.i18n/jquery.i18n.min.js b/library/jquery.i18n/jquery.i18n.min.js
deleted file mode 100644
index 5476ed910..000000000
--- a/library/jquery.i18n/jquery.i18n.min.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * jQuery i18n plugin
- * @requires jQuery v1.1 or later
- *
- * See http://recursive-design.com/projects/jquery-i18n/
- *
- * Licensed under the MIT license:
- * http://www.opensource.org/licenses/mit-license.php
- *
- * Version: 0.9.2 (201204070102)
- */
-(function(f){f.i18n={dict:null,setDictionary:function(a){this.dict=a},_:function(a,b){var d=a;if(this.dict&&this.dict[a])d=this.dict[a];return this.printf(d,b)},toEntity:function(a){for(var b="",d=0;d<a.length;d++)b+=a.charCodeAt(d)>128?"&#"+a.charCodeAt(d)+";":a.charAt(d);return b},stripStr:function(a){return a.replace(/^\s*/,"").replace(/\s*$/,"")},stripStrML:function(a){a=a.split("\n");for(var b=0;b<a.length;b++)a[b]=stripStr(a[b]);return stripStr(a.join(" "))},printf:function(a,b){if(!b)return a;
-for(var d="",e=/%(\d+)\$s/g;result=e.exec(a);){var c=parseInt(result[1],10)-1;a=a.replace("%"+result[1]+"$s",b[c]);b.splice(c,1)}e=a.split("%s");if(e.length>1)for(c=0;c<b.length;c++){if(e[c].lastIndexOf("%")==e[c].length-1&&c!=b.length-1)e[c]+="s"+e.splice(c+1,1)[0];d+=e[c]+b[c]}return d+e[e.length-1]}};f.fn._t=function(a,b){return f(this).text(f.i18n._(a,b))}})(jQuery);