Changeset 2238


Ignore:
Timestamp:
Jul 21, 2016, 3:02:18 PM (3 years ago)
Author:
joamuran
Message:

fixed

Location:
admin-center/trunk/fuentes
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/lib/i18n.js

    r2060 r2238  
    44 
    55  // if lang is ca, transform to ca_ES@valencia
    6   if (this.locale==="ca") this.locale="ca_ES@valencia";
     6  if (this.locale==="ca") this.locale="ca-ES@valencia";
    77  else if (this.locale==="es") this.locale="es-ES";
    88  else if (this.locale==="en") this.locale="en-US";
     
    4747
    4848  try{
    49     if (self.moduleReady(module))
     49    if (self.moduleReady(module)){
     50      console.log(module+ "is ready... translating to...");
    5051      element.innerHTML=self.modules[module].gettext(element.innerHTML);
     52      console.log(element.innerHTML);
     53     
     54     
     55    }
    5156
    5257  // If module is not ready yet, do nothing.
    5358
    5459  }catch (err){
    55     //console.log(err);
     60    console.log(err);
    5661  }
    5762
     
    6166I18n.prototype.gettext=function gettext(module, text) {
    6267        var self=this;
    63   console.log("!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
     68
    6469        //console.log(self.modules[module]);
    6570  //console.log(self.modules[module].gettext(text));
  • admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/main.php

    r2185 r2238  
    100100  echo ('<script type="text/javascript" src="lib/waitwin.js"></script>');
    101101  echo ('<script type="text/javascript" src="lib/utils.js"></script>');
     102  echo ('<script type="text/javascript" src="lib/nouislider/nouislider.min.js"></script>');
    102103  echo ('<script type="text/javascript" src="lib/progressbarjs/progressbar.min.js"></script>');
    103104  echo ('<script type="text/javascript" src="lib/cryptojs-aes/aes.js"></script>');
     
    155156    <link rel="stylesheet" href="lib/snackbar/snackbar.css">
    156157   
    157     <link rel="stylesheet" href="lib/jquery-ui/jquery-ui.css"> 
     158    <link rel="stylesheet" href="lib/jquery-ui/jquery-ui.css">
     159    <!--link rel="stylesheet" href="lib/nouislider/nouislider.min.css"-->
    158160    <link rel="stylesheet" href="css/main.css">
    159161    <link rel="stylesheet" href="css/waitwin.css">
  • admin-center/trunk/fuentes/debian/changelog

    r2185 r2238  
     1admin-center (0.5.9) xenial; urgency=high
     2
     3  * Added NoUISlider library
     4  * Fixed i18n
     5
     6 -- joamuran <joamuran@gmail.com>  Thu, 21 Jul 2016 15:00:45 +0200
     7
    18admin-center (0.5.8) xenial; urgency=high
    29
Note: See TracChangeset for help on using the changeset viewer.