@nextjscms/translations 0.9.6 → 0.9.7

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 nextjs-cms
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 nextjs-cms
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,25 +1,25 @@
1
- # @nextjscms/translations
2
-
3
- Translation dictionaries for the nextjs-cms framework. Provides localized strings for the CMS admin interface.
4
-
5
- ## Supported Languages
6
-
7
- - English (`en`)
8
- - Arabic (`ar`)
9
-
10
- ## Installation
11
-
12
- ```bash
13
- pnpm add @nextjscms/translations
14
- ```
15
-
16
- ## Usage
17
-
18
- ```typescript
19
- import en from '@nextjscms/translations/dictionaries/en'
20
- import ar from '@nextjscms/translations/dictionaries/ar'
21
- ```
22
-
23
- ## License
24
-
25
- MIT License - see [LICENSE](./LICENSE) for details.
1
+ # @nextjscms/translations
2
+
3
+ Translation dictionaries for the nextjs-cms framework. Provides localized strings for the CMS admin interface.
4
+
5
+ ## Supported Languages
6
+
7
+ - English (`en`)
8
+ - Arabic (`ar`)
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ pnpm add @nextjscms/translations
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ```typescript
19
+ import en from '@nextjscms/translations/dictionaries/en'
20
+ import ar from '@nextjscms/translations/dictionaries/ar'
21
+ ```
22
+
23
+ ## License
24
+
25
+ MIT License - see [LICENSE](./LICENSE) for details.
@@ -426,6 +426,9 @@ declare const _default: {
426
426
  readonly fieldMaxValueError: "{field} يجب أن يكون {max} أو أقل";
427
427
  readonly fieldMinMaxMismatch: "{field} الحد الأدنى أكبر من الحد الأقصى";
428
428
  readonly fieldLengthMismatch: "{field} الحد الأدنى للطول أكبر من الحد الأقصى";
429
+ readonly fieldDateMinValueError: "{field} يجب أن يكون في {min} أو بعده";
430
+ readonly fieldDateMaxValueError: "{field} يجب أن يكون في {max} أو قبله";
431
+ readonly fieldDateBoundsMismatch: "{field} يحتوي على minDate أكبر من maxDate";
429
432
  readonly invalidDatePleaseProvideValid: "{field}: تاريخ غير صالح، يرجى تقديم تاريخ صالح";
430
433
  readonly fileCorrupted: "الملف تالف";
431
434
  readonly fileWriteError: "{field}: خطأ في كتابة الملف على القرص";
@@ -1 +1 @@
1
- {"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../src/languages/ar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAsfU"}
1
+ {"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../src/languages/ar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAyfU"}
@@ -432,6 +432,9 @@ export default {
432
432
  fieldMaxValueError: '{field} يجب أن يكون {max} أو أقل',
433
433
  fieldMinMaxMismatch: '{field} الحد الأدنى أكبر من الحد الأقصى',
434
434
  fieldLengthMismatch: '{field} الحد الأدنى للطول أكبر من الحد الأقصى',
435
+ fieldDateMinValueError: '{field} يجب أن يكون في {min} أو بعده',
436
+ fieldDateMaxValueError: '{field} يجب أن يكون في {max} أو قبله',
437
+ fieldDateBoundsMismatch: '{field} يحتوي على minDate أكبر من maxDate',
435
438
  // Date/Color/Map Validation
436
439
  invalidDatePleaseProvideValid: '{field}: تاريخ غير صالح، يرجى تقديم تاريخ صالح',
437
440
  // File Operation Errors
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nextjscms/translations",
3
3
  "private": false,
4
- "version": "0.9.6",
4
+ "version": "0.9.7",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "exports": {