serbian language added
This commit is contained in:
parent
148bba67ce
commit
3ce5302bac
|
@ -4,6 +4,7 @@ import localeDe from '@angular/common/locales/de';
|
|||
import localeEs from '@angular/common/locales/es';
|
||||
import localeSk from '@angular/common/locales/sk';
|
||||
import localeTr from '@angular/common/locales/tr';
|
||||
import localeSr from '@angular/common/locales/sr';
|
||||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
import { LangChangeEvent, TranslateService } from '@ngx-translate/core';
|
||||
import 'moment-timezone';
|
||||
|
@ -71,6 +72,11 @@ export class DateTimeCultureFormatPipe implements PipeTransform {
|
|||
registerLocaleData(localeSk);
|
||||
break;
|
||||
}
|
||||
case 'sr': {
|
||||
locale = this.cultureValues.get('sr-Latn-RS').name;
|
||||
registerLocaleData(localeSr);
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
locale = this.cultureValues.get('en-US').name;
|
||||
break;
|
||||
|
|
|
@ -171,7 +171,8 @@
|
|||
"SPANISH": "Spanisch",
|
||||
"GERMAN": "German",
|
||||
"TURKISH": "Turkish",
|
||||
"SLOVAK": "Slovak"
|
||||
"SLOVAK": "Slovak",
|
||||
"SERBIAN": "Serbian"
|
||||
}
|
||||
},
|
||||
"COOKIE": {
|
||||
|
|
|
@ -171,7 +171,8 @@
|
|||
"SPANISH": "Spanish",
|
||||
"GERMAN": "German",
|
||||
"TURKISH": "Turkish",
|
||||
"SLOVAK": "Slovak"
|
||||
"SLOVAK": "Slovak",
|
||||
"SERBIAN": "Serbian"
|
||||
}
|
||||
},
|
||||
"COOKIE": {
|
||||
|
|
|
@ -171,7 +171,8 @@
|
|||
"SPANISH": "Español",
|
||||
"GERMAN": "Alemán",
|
||||
"TURKISH": "Turco",
|
||||
"SLOVAK": "Slovak"
|
||||
"SLOVAK": "Slovak",
|
||||
"SERBIAN": "Serbian"
|
||||
}
|
||||
},
|
||||
"COOKIE": {
|
||||
|
|
|
@ -171,7 +171,8 @@
|
|||
"SPANISH": "Ισπανικά",
|
||||
"GERMAN": "Γερμανικά",
|
||||
"TURKISH": "Τούρκικα",
|
||||
"SLOVAK": "Σλοβάκικα"
|
||||
"SLOVAK": "Σλοβάκικα",
|
||||
"SERBIAN": "Σερβικά"
|
||||
}
|
||||
},
|
||||
"COOKIE": {
|
||||
|
|
|
@ -171,7 +171,8 @@
|
|||
"SPANISH": "Španielčtina",
|
||||
"GERMAN": "Nemečina",
|
||||
"TURKISH": "Turečtina",
|
||||
"SLOVAK": "Slovenčina"
|
||||
"SLOVAK": "Slovenčina",
|
||||
"SERBIAN": "Serbian"
|
||||
}
|
||||
},
|
||||
"COOKIE": {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -171,7 +171,8 @@
|
|||
"SPANISH": "İspanyolca",
|
||||
"GERMAN": "Almanca",
|
||||
"TURKISH": "Türkçe",
|
||||
"SLOVAK": "Slovak"
|
||||
"SLOVAK": "Slovak",
|
||||
"SERBIAN": "Serbian"
|
||||
}
|
||||
},
|
||||
"COOKIE": {
|
||||
|
|
|
@ -22,5 +22,9 @@
|
|||
{
|
||||
"label": "GENERAL.LANGUAGES.SLOVAK",
|
||||
"value": "sk"
|
||||
},
|
||||
{
|
||||
"label": "GENERAL.LANGUAGES.SERBIAN",
|
||||
"value": "sr"
|
||||
}
|
||||
]
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue