mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 08:20:39 +01:00
feat(InputMenu/SelectMenu): add create-item prop (#2472)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -3,7 +3,8 @@ import { defineLocale } from '../composables/defineLocale'
|
||||
export default defineLocale('العربية', 'ar', {
|
||||
inputMenu: {
|
||||
noMatch: 'لا توجد نتائج مطابقة',
|
||||
noData: 'لا توجد بيانات'
|
||||
noData: 'لا توجد بيانات',
|
||||
create: 'إنشاء "{label}"'
|
||||
},
|
||||
commandPalette: {
|
||||
noMatch: 'لا توجد نتائج مطابقة',
|
||||
@@ -12,7 +13,8 @@ export default defineLocale('العربية', 'ar', {
|
||||
},
|
||||
selectMenu: {
|
||||
noMatch: 'لا توجد نتائج مطابقة',
|
||||
noData: 'لا توجد بيانات'
|
||||
noData: 'لا توجد بيانات',
|
||||
create: 'إنشاء "{label}"'
|
||||
},
|
||||
toast: {
|
||||
close: 'إغلاق'
|
||||
|
||||
@@ -3,7 +3,8 @@ import { defineLocale } from '../composables/defineLocale'
|
||||
export default defineLocale('Čeština', 'cs', {
|
||||
inputMenu: {
|
||||
noMatch: 'Žádná shoda',
|
||||
noData: 'Žádná data'
|
||||
noData: 'Žádná data',
|
||||
create: 'Vytvořit "{label}"'
|
||||
},
|
||||
commandPalette: {
|
||||
noMatch: 'Žádná shoda',
|
||||
@@ -12,7 +13,8 @@ export default defineLocale('Čeština', 'cs', {
|
||||
},
|
||||
selectMenu: {
|
||||
noMatch: 'Žádná shoda',
|
||||
noData: 'Žádná data'
|
||||
noData: 'Žádná data',
|
||||
create: 'Vytvořit "{label}"'
|
||||
},
|
||||
toast: {
|
||||
close: 'Zavřít'
|
||||
|
||||
@@ -3,7 +3,8 @@ import { defineLocale } from '../composables/defineLocale'
|
||||
export default defineLocale('Deutsch', 'de', {
|
||||
inputMenu: {
|
||||
noMatch: 'Nichts gefunden',
|
||||
noData: 'Keine Daten'
|
||||
noData: 'Keine Daten',
|
||||
create: 'Erstellen "{label}"'
|
||||
},
|
||||
commandPalette: {
|
||||
noMatch: 'Nichts gefunden',
|
||||
@@ -12,7 +13,8 @@ export default defineLocale('Deutsch', 'de', {
|
||||
},
|
||||
selectMenu: {
|
||||
noMatch: 'Nichts gefunden',
|
||||
noData: 'Keine Daten'
|
||||
noData: 'Keine Daten',
|
||||
create: 'Erstellen "{label}"'
|
||||
},
|
||||
toast: {
|
||||
close: 'Schließen'
|
||||
|
||||
@@ -3,7 +3,8 @@ import { defineLocale } from '../composables/defineLocale'
|
||||
export default defineLocale('English', 'en', {
|
||||
inputMenu: {
|
||||
noMatch: 'No matching data',
|
||||
noData: 'No data'
|
||||
noData: 'No data',
|
||||
create: 'Create "{label}"'
|
||||
},
|
||||
commandPalette: {
|
||||
noMatch: 'No matching data',
|
||||
@@ -12,7 +13,8 @@ export default defineLocale('English', 'en', {
|
||||
},
|
||||
selectMenu: {
|
||||
noMatch: 'No matching data',
|
||||
noData: 'No data'
|
||||
noData: 'No data',
|
||||
create: 'Create "{label}"'
|
||||
},
|
||||
toast: {
|
||||
close: 'Close'
|
||||
|
||||
@@ -3,7 +3,8 @@ import { defineLocale } from '../composables/defineLocale'
|
||||
export default defineLocale('Français', 'fr', {
|
||||
inputMenu: {
|
||||
noMatch: 'Aucune donnée correspondante',
|
||||
noData: 'Aucune donnée'
|
||||
noData: 'Aucune donnée',
|
||||
create: 'Créer "{label}"'
|
||||
},
|
||||
commandPalette: {
|
||||
noMatch: 'Aucune donnée correspondante',
|
||||
@@ -12,7 +13,8 @@ export default defineLocale('Français', 'fr', {
|
||||
},
|
||||
selectMenu: {
|
||||
noMatch: 'Aucune donnée correspondante',
|
||||
noData: 'Aucune donnée'
|
||||
noData: 'Aucune donnée',
|
||||
create: 'Créer "{label}"'
|
||||
},
|
||||
toast: {
|
||||
close: 'Fermer'
|
||||
|
||||
@@ -3,7 +3,8 @@ import { defineLocale } from '../composables/defineLocale'
|
||||
export default defineLocale('Italiano', 'it', {
|
||||
inputMenu: {
|
||||
noMatch: 'Nessun dato corrispondente',
|
||||
noData: 'Nessun dato'
|
||||
noData: 'Nessun dato',
|
||||
create: 'Creare "{label}"'
|
||||
},
|
||||
commandPalette: {
|
||||
noMatch: 'Nessun dato corrispondente',
|
||||
@@ -12,7 +13,8 @@ export default defineLocale('Italiano', 'it', {
|
||||
},
|
||||
selectMenu: {
|
||||
noMatch: 'Nessun dato corrispondente',
|
||||
noData: 'Nessun dato'
|
||||
noData: 'Nessun dato',
|
||||
create: 'Creare "{label}"'
|
||||
},
|
||||
toast: {
|
||||
close: 'Chiudi'
|
||||
|
||||
@@ -3,7 +3,8 @@ import { defineLocale } from '../composables/defineLocale'
|
||||
export default defineLocale('Русский', 'ru', {
|
||||
inputMenu: {
|
||||
noMatch: 'Совпадений не найдено',
|
||||
noData: 'Нет данных'
|
||||
noData: 'Нет данных',
|
||||
create: 'Создать "{label}"'
|
||||
},
|
||||
commandPalette: {
|
||||
noMatch: 'Совпадений не найдено',
|
||||
@@ -12,7 +13,8 @@ export default defineLocale('Русский', 'ru', {
|
||||
},
|
||||
selectMenu: {
|
||||
noMatch: 'Совпадений не найдено',
|
||||
noData: 'Нет данных'
|
||||
noData: 'Нет данных',
|
||||
create: 'Создать "{label}"'
|
||||
},
|
||||
toast: {
|
||||
close: 'Закрыть'
|
||||
|
||||
@@ -3,7 +3,8 @@ import { defineLocale } from '../composables/defineLocale'
|
||||
export default defineLocale('简体中文', 'zh-Hans', {
|
||||
inputMenu: {
|
||||
noMatch: '没有匹配的数据',
|
||||
noData: '没有数据'
|
||||
noData: '没有数据',
|
||||
create: '创建 "{label}"'
|
||||
},
|
||||
commandPalette: {
|
||||
noMatch: '没有匹配的数据',
|
||||
@@ -12,7 +13,8 @@ export default defineLocale('简体中文', 'zh-Hans', {
|
||||
},
|
||||
selectMenu: {
|
||||
noMatch: '没有匹配的数据',
|
||||
noData: '没有数据'
|
||||
noData: '没有数据',
|
||||
create: '创建 "{label}"'
|
||||
},
|
||||
toast: {
|
||||
close: '关闭'
|
||||
|
||||
@@ -3,7 +3,8 @@ import { defineLocale } from '../composables/defineLocale'
|
||||
export default defineLocale('繁体中文', 'zh-Hant', {
|
||||
inputMenu: {
|
||||
noMatch: '沒有匹配的資料',
|
||||
noData: '沒有資料'
|
||||
noData: '沒有資料',
|
||||
create: '創建 "{label}"'
|
||||
},
|
||||
commandPalette: {
|
||||
noMatch: '沒有匹配的資料',
|
||||
@@ -12,7 +13,8 @@ export default defineLocale('繁体中文', 'zh-Hant', {
|
||||
},
|
||||
selectMenu: {
|
||||
noMatch: '沒有匹配的資料',
|
||||
noData: '沒有資料'
|
||||
noData: '沒有資料',
|
||||
create: '創建 "{label}"'
|
||||
},
|
||||
toast: {
|
||||
close: '關閉'
|
||||
|
||||
Reference in New Issue
Block a user