mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 14:45:35 +00:00
Adding italian number format support
This commit is contained in:
@@ -1,4 +1,21 @@
|
|||||||
angular.module('app').config(['$translateProvider', function($translateProvider) {
|
angular.module('app').config(['$translateProvider', 'localeFormatProvider', function($translateProvider, localeFormatProvider) {
|
||||||
|
|
||||||
|
// Declare number format settings
|
||||||
|
localeFormatProvider.addFormat('es', {
|
||||||
|
decimal: ',',
|
||||||
|
thousands: '.',
|
||||||
|
grouping: [3],
|
||||||
|
currency: ['€', ''],
|
||||||
|
dateTime: '%A %e %B %Y, %X',
|
||||||
|
date: '%d/%m/%Y',
|
||||||
|
time: '%H:%M:%S',
|
||||||
|
periods: ['AM', 'PM'], // unused
|
||||||
|
days: ['Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'],
|
||||||
|
shortDays: ['Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab'],
|
||||||
|
months: ['Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'],
|
||||||
|
shortMonths: ['Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic']
|
||||||
|
});
|
||||||
|
|
||||||
$translateProvider.translations('it', {
|
$translateProvider.translations('it', {
|
||||||
PHRASE_EXPORT_DESC: 'Un export dettagliato in formato JSON della tua configurazione per essere usato in altri siti o tools',
|
PHRASE_EXPORT_DESC: 'Un export dettagliato in formato JSON della tua configurazione per essere usato in altri siti o tools',
|
||||||
'A-Rated': 'Classe A',
|
'A-Rated': 'Classe A',
|
||||||
|
|||||||
Reference in New Issue
Block a user