All Downloads are FREE. Search and download functionalities are using the official Maven repository.

client.js.otp.locale.French.js Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
otp.namespace("otp.locale");

/**
 * @class
 */
otp.locale.French = {

    config : {
        //Name of a language written in a language itself (Used in Frontend to
        //choose a language)
        name: 'Français',
        //FALSE-imperial units are used
        //TRUE-Metric units are used
        metric : true, 
        //Name of localization file (*.po file) in src/client/i18n
        locale_short : "fr",
        //Name of datepicker localization in
        //src/client/js/lib/jquery-ui/i18n (usually
        //same as locale_short)
        //this is index in $.datepicker.regional array
        //If file for your language doesn't exist download it from here
        //https://github.com/jquery/jquery-ui/tree/1-9-stable/ui/i18n
        //into src/client/js/lib/jquery-ui/i18n
        //and add it in index.html after other localizations
        //It will be used automatically when UI is switched to this locale
        datepicker_locale_short: "fr"
    },


    time : {
        format         : "DD.MM.YY [à] H:mm", //moment.js
        date_format    : "DD/MM/YYYY", //momentjs must be same as date_picker format which is by default: mm/dd/yy
        time_format    : "HH:mm", //momentjs
        time_format_picker : "HH:mm", //http://trentrichardson.com/examples/timepicker/#tp-formatting
    },


    CLASS_NAME : "otp.locale.French"
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy