-
Notifications
You must be signed in to change notification settings - Fork 0
/
i18n.config.ts
36 lines (35 loc) · 910 Bytes
/
i18n.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import type { I18nOptions } from 'vue-i18n';
export default {
legacy: false,
locale: 'en',
availableLocales: ['it', 'en'],
modifiers: {
snakeCase: (str: string) => str.split(' ').join('-'),
},
messages: {
it: {
live: 'Diretta',
buffering: 'Caricamento',
preferred: 'Preferite',
all: 'Tutte',
radios: 'Radio',
search: 'Ricerca radio...',
serachPlaceholder1Line: 'Comincia a digitare.',
serachPlaceholder2Line: 'Le radio suggerite appariranno qui.',
contribute: 'Contribuisci su',
startBy: 'Seleziona una radio.',
},
en: {
live: 'Live',
buffering: 'Buffering',
preferred: 'Preferred',
all: 'All',
radios: 'Radios',
search: 'Search for radios...',
serachPlaceholder1Line: 'Start typing.',
serachPlaceholder2Line: 'Results will appear here.',
contribute: 'Contribute on',
startBy: 'Start by selecting a radio.',
},
},
} as I18nOptions;