@kashi-ui/persian 2.7.0 → 2.8.0
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.
- package/dist/messages.d.ts +28 -0
- package/dist/messages.js +34 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -229,6 +229,34 @@ export declare const faMessages: {
|
|
|
229
229
|
priceMax: (n: string) => string;
|
|
230
230
|
priceRange: (a: string, b: string) => string;
|
|
231
231
|
};
|
|
232
|
+
sheet: {
|
|
233
|
+
expand: string;
|
|
234
|
+
collapse: string;
|
|
235
|
+
};
|
|
236
|
+
navbar: {
|
|
237
|
+
label: string;
|
|
238
|
+
menu: string;
|
|
239
|
+
menuTitle: string;
|
|
240
|
+
};
|
|
241
|
+
empty: {
|
|
242
|
+
noData: string[];
|
|
243
|
+
noResults: string[];
|
|
244
|
+
error: string[];
|
|
245
|
+
offline: string[];
|
|
246
|
+
noAccess: string[];
|
|
247
|
+
done: string[];
|
|
248
|
+
};
|
|
249
|
+
form: {
|
|
250
|
+
required: string;
|
|
251
|
+
email: string;
|
|
252
|
+
minLength: (n: string) => string;
|
|
253
|
+
maxLength: (n: string) => string;
|
|
254
|
+
min: (n: string) => string;
|
|
255
|
+
max: (n: string) => string;
|
|
256
|
+
pattern: string;
|
|
257
|
+
match: string;
|
|
258
|
+
summary: (n: string) => string;
|
|
259
|
+
};
|
|
232
260
|
inlineEdit: {
|
|
233
261
|
empty: string;
|
|
234
262
|
failed: string;
|
package/dist/messages.js
CHANGED
|
@@ -90,6 +90,23 @@ export const faMessages = {
|
|
|
90
90
|
priceMin: (n) => `مبلغ باید حداقل ${n} باشد.`, priceMax: (n) => `مبلغ باید حداکثر ${n} باشد.`,
|
|
91
91
|
priceRange: (a, b) => `مبلغ باید حداقل ${a} و حداکثر ${b} باشد.`,
|
|
92
92
|
},
|
|
93
|
+
sheet: { expand: "باز کردن کامل برگه", collapse: "کوچک کردن برگه" },
|
|
94
|
+
navbar: { label: "ناوبری اصلی", menu: "باز کردن منو", menuTitle: "منو" },
|
|
95
|
+
empty: {
|
|
96
|
+
noData: ["هنوز چیزی اینجا نیست", "اولین مورد را بسازید."],
|
|
97
|
+
noResults: ["نتیجهای پیدا نشد", "عبارت یا فیلتر دیگری را امتحان کنید."],
|
|
98
|
+
error: ["بارگذاری انجام نشد", "دوباره امتحان کنید."],
|
|
99
|
+
offline: ["اتصال اینترنت قطع است", "پس از اتصال، دادهها بهروز میشوند."],
|
|
100
|
+
noAccess: ["به این بخش دسترسی ندارید", "از مدیر تیم دسترسی بخواهید."],
|
|
101
|
+
done: ["همهچیز انجام شده", ""],
|
|
102
|
+
},
|
|
103
|
+
form: {
|
|
104
|
+
required: "این بخش را پر کنید.", email: "نشانی ایمیل درست نیست؛ مثلاً name@example.com.",
|
|
105
|
+
minLength: (n) => `دستکم ${n} نویسه بنویسید.`, maxLength: (n) => `حداکثر ${n} نویسه مجاز است.`,
|
|
106
|
+
min: (n) => `مقدار باید دستکم ${n} باشد.`, max: (n) => `مقدار باید حداکثر ${n} باشد.`,
|
|
107
|
+
pattern: "قالب این مقدار درست نیست.", match: "این دو مقدار یکسان نیستند.",
|
|
108
|
+
summary: (n) => `${n} مورد را اصلاح کنید.`,
|
|
109
|
+
},
|
|
93
110
|
inlineEdit: { empty: "خالی", failed: "ذخیره نشد؛ دوباره امتحان کنید." },
|
|
94
111
|
iranMap: { label: "نقشهٔ استانهای ایران", tableNote: "؛ جدول داده در ادامه", onMap: (label) => `${label} روی نقشه` },
|
|
95
112
|
keyboardFix: { before: "منظورتان", after: "بود؟" },
|
|
@@ -229,6 +246,23 @@ export const enMessages = {
|
|
|
229
246
|
priceMin: (n) => `Amount must be at least ${n}.`, priceMax: (n) => `Amount must be at most ${n}.`,
|
|
230
247
|
priceRange: (a, b) => `Amount must be between ${a} and ${b}.`,
|
|
231
248
|
},
|
|
249
|
+
sheet: { expand: "Expand sheet", collapse: "Collapse sheet" },
|
|
250
|
+
navbar: { label: "Main navigation", menu: "Open menu", menuTitle: "Menu" },
|
|
251
|
+
empty: {
|
|
252
|
+
noData: ["Nothing here yet", "Create the first item."],
|
|
253
|
+
noResults: ["No results found", "Try a different search or filter."],
|
|
254
|
+
error: ["Couldn't load this", "Try again."],
|
|
255
|
+
offline: ["You're offline", "Data refreshes once you reconnect."],
|
|
256
|
+
noAccess: ["You don't have access", "Ask your team admin for access."],
|
|
257
|
+
done: ["All done", ""],
|
|
258
|
+
},
|
|
259
|
+
form: {
|
|
260
|
+
required: "Fill in this field.", email: "Enter a valid email, like name@example.com.",
|
|
261
|
+
minLength: (n) => `Use at least ${n} characters.`, maxLength: (n) => `Use ${n} characters or fewer.`,
|
|
262
|
+
min: (n) => `Must be at least ${n}.`, max: (n) => `Must be at most ${n}.`,
|
|
263
|
+
pattern: "This doesn't match the expected format.", match: "These values don't match.",
|
|
264
|
+
summary: (n) => `Fix ${n} fields.`,
|
|
265
|
+
},
|
|
232
266
|
inlineEdit: { empty: "Empty", failed: "Couldn't save; try again." },
|
|
233
267
|
iranMap: { label: "Map of Iran's provinces", tableNote: "; data table follows", onMap: (label) => `${label} on the map` },
|
|
234
268
|
keyboardFix: { before: "Did you mean", after: "?" },
|