Changeset 2060
- Timestamp:
- Jun 29, 2016, 2:58:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/lib/i18n.js
r1055 r2060 1 1 function I18n(){ 2 this.modules= new Array();2 this.modules=[]; 3 3 this.locale = navigator.language || navigator.userLanguage; 4 5 // if lang is ca, transform to ca_ES@valencia 6 if (this.locale==="ca") this.locale="ca_ES@valencia"; 7 else if (this.locale==="es") this.locale="es-ES"; 8 else if (this.locale==="en") this.locale="en-US"; 9 4 10 this.modulecount=0; 5 11 } … … 22 28 var obj=this.modules; 23 29 24 var size = 0, key; 30 //var size = 0, key; 31 var key; 25 32 for (key in obj) { 26 33 if (obj.hasOwnProperty(module)) return true;
Note: See TracChangeset
for help on using the changeset viewer.