This commit is contained in:
Nadar
2026-03-17 13:24:22 +03:00
commit 82e5ac9d81
554 changed files with 29637 additions and 0 deletions

21
layers/ui/plugins/i18n.ts Normal file
View File

@@ -0,0 +1,21 @@
import type { Composer } from 'vue-i18n'
export default defineNuxtPlugin((nuxtApp) => {
const i18n = nuxtApp.$i18n as Composer
if (i18n) {
i18n.mergeLocaleMessage('ru', {
'ui.select.selected': 'Выбрано: {0}',
'ui.select.select_option': 'Выбрать',
'ui.search': 'Поиск',
})
i18n.mergeLocaleMessage('en', {
'ui.select.selected': 'Selected: {0}',
'ui.select.select_option': 'Select',
'ui.search': 'Search',
})
}
return {}
})