@svadmin/core 0.5.10 → 0.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/i18n.svelte.ts +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svadmin/core",
3
- "version": "0.5.10",
3
+ "version": "0.5.13",
4
4
  "description": "Core SDK — hooks, types, context, i18n, permissions, router",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -70,6 +70,11 @@ const locales: Record<string, Locale> = {
70
70
  'common.copyId': '复制 ID',
71
71
  'common.showMore': '展开更多',
72
72
  'common.showLess': '收起',
73
+ 'common.showPassword': '显示密码',
74
+ 'common.hidePassword': '隐藏密码',
75
+ 'common.toggleSidebar': '切换侧边栏',
76
+ 'common.configRequired': '需要配置',
77
+ 'common.removeImage': '移除图片',
73
78
  // Field
74
79
  'field.enterValue': '输入{label}',
75
80
  'field.selectPlaceholder': '请选择',
@@ -194,6 +199,11 @@ const locales: Record<string, Locale> = {
194
199
  'common.copyId': 'Copy ID',
195
200
  'common.showMore': 'Show more',
196
201
  'common.showLess': 'Show less',
202
+ 'common.showPassword': 'Show password',
203
+ 'common.hidePassword': 'Hide password',
204
+ 'common.toggleSidebar': 'Toggle sidebar',
205
+ 'common.configRequired': 'Configuration Required',
206
+ 'common.removeImage': 'Remove image',
197
207
  // Field
198
208
  'field.enterValue': 'Enter {label}',
199
209
  'field.selectPlaceholder': 'Select...',