From 4fbbb25f68b0b5ee76e50f2da776a74d54acc041 Mon Sep 17 00:00:00 2001 From: Sandro Circi Date: Sat, 9 Nov 2024 13:50:03 +0100 Subject: [PATCH] feat(locale): add support for Italian (#2583) --- src/runtime/locale/index.ts | 1 + src/runtime/locale/it.ts | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 src/runtime/locale/it.ts diff --git a/src/runtime/locale/index.ts b/src/runtime/locale/index.ts index 0fb71f1a..9679d4fd 100644 --- a/src/runtime/locale/index.ts +++ b/src/runtime/locale/index.ts @@ -2,6 +2,7 @@ export { default as ar } from './ar' export { default as de } from './de' export { default as en } from './en' export { default as fr } from './fr' +export { default as it } from './it' export { default as ru } from './ru' export { default as zh_hans } from './zh_hans' export { default as zh_hant } from './zh_hant' diff --git a/src/runtime/locale/it.ts b/src/runtime/locale/it.ts new file mode 100644 index 00000000..044f8270 --- /dev/null +++ b/src/runtime/locale/it.ts @@ -0,0 +1,37 @@ +import { defineLocale } from '../composables/defineLocale' + +export default defineLocale('Italiano', { + inputMenu: { + noMatch: 'Nessun dato corrispondente', + noData: 'Nessun dato' + }, + commandPalette: { + noMatch: 'Nessun dato corrispondente', + noData: 'Nessun dato', + close: 'Chiudi' + }, + selectMenu: { + noMatch: 'Nessun dato corrispondente', + noData: 'Nessun dato' + }, + toast: { + close: 'Chiudi' + }, + carousel: { + prev: 'Precedente', + next: 'Successivo', + goto: 'Vai alla slide {slide}' + }, + modal: { + close: 'Chiudi' + }, + slideover: { + close: 'Chiudi' + }, + alert: { + close: 'Chiudi' + }, + table: { + noData: 'Nessuno dato' + } +})