@sanity/locale-cs-cz 1.1.5 → 1.1.6
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/_chunks-cjs/copy-paste.cjs +89 -0
- package/dist/_chunks-cjs/copy-paste.cjs.map +1 -0
- package/dist/_chunks-cjs/studio.cjs +11 -11
- package/dist/_chunks-cjs/studio.cjs.map +1 -1
- package/dist/_chunks-es/copy-paste.js +87 -0
- package/dist/_chunks-es/copy-paste.js.map +1 -0
- package/dist/_chunks-es/studio.js +11 -11
- package/dist/_chunks-es/studio.js.map +1 -1
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/copy-paste.ts +58 -0
- package/src/index.ts +5 -0
- package/src/studio.ts +10 -10
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var sanity = require('sanity');
|
|
4
|
+
|
|
5
|
+
var copyPaste = sanity.removeUndefinedLocaleResources({
|
|
6
|
+
/** Text on the field action button to copy a document */
|
|
7
|
+
"copy-paste.field-action-copy-button.document.title": void 0,
|
|
8
|
+
// 'Copy document'
|
|
9
|
+
/** Text on the field action button to copy a field */
|
|
10
|
+
"copy-paste.field-action-copy-button.field.title": void 0,
|
|
11
|
+
// 'Copy field'
|
|
12
|
+
/** Text on the field action button to paste a document */
|
|
13
|
+
"copy-paste.field-action-paste-button.document.title": void 0,
|
|
14
|
+
// 'Paste document'
|
|
15
|
+
/** Text on the field action button to paste a field */
|
|
16
|
+
"copy-paste.field-action-paste-button.field.title": void 0,
|
|
17
|
+
// 'Paste field'
|
|
18
|
+
/** The error message that is shown when the clipboard is not supported */
|
|
19
|
+
"copy-paste.on-copy.validation.clipboard-not-supported.title": void 0,
|
|
20
|
+
// 'Your browser does not support this action'
|
|
21
|
+
/** The success message that is shown when a document is copied */
|
|
22
|
+
"copy-paste.on-copy.validation.copy-document-success.title": void 0,
|
|
23
|
+
// 'Document "{{fieldNames}}" copied'
|
|
24
|
+
/** The success message that is shown when a field is copied */
|
|
25
|
+
"copy-paste.on-copy.validation.copy-field_one-success.title": void 0,
|
|
26
|
+
// 'Field "{{fieldName}}" copied'
|
|
27
|
+
/** The error message that is shown when there is no value to copy */
|
|
28
|
+
"copy-paste.on-copy.validation.no-value.title": void 0,
|
|
29
|
+
// 'Empty value, nothing to copy'
|
|
30
|
+
/** --- On copy --- */
|
|
31
|
+
/** The error message that is shown when schema types are incompatible */
|
|
32
|
+
"copy-paste.on-copy.validation.schema-type-incompatible.title": void 0,
|
|
33
|
+
// 'Could not resolve schema type for path: {{path}}'
|
|
34
|
+
/** The validation message that is shown when array types are incompatible */
|
|
35
|
+
"copy-paste.on-paste.validation.array-type-incompatible.description": void 0,
|
|
36
|
+
// 'Value of type "{{type}}" is not allowed in this array field'
|
|
37
|
+
/** The validation message that is shown when array values are incompatible */
|
|
38
|
+
"copy-paste.on-paste.validation.array-value-incompatible.description": void 0,
|
|
39
|
+
// 'Value of type "{{type}}" is not allowed in this array field'
|
|
40
|
+
/** The validation message that is shown when the clipboard is empty */
|
|
41
|
+
"copy-paste.on-paste.validation.clipboard-empty.title": void 0,
|
|
42
|
+
// 'Nothing to paste'
|
|
43
|
+
/** The validation message that is shown when the clipboard item is invalid */
|
|
44
|
+
"copy-paste.on-paste.validation.clipboard-invalid.title": void 0,
|
|
45
|
+
// 'Invalid clipboard item'
|
|
46
|
+
/** The success message that is shown when a document is pasted */
|
|
47
|
+
"copy-paste.on-paste.validation.document-paste-success.title": void 0,
|
|
48
|
+
// 'Document "{{fieldNames}}" updated'
|
|
49
|
+
/** The success message that is shown when a field is pasted */
|
|
50
|
+
"copy-paste.on-paste.validation.field_one-paste-success.title": void 0,
|
|
51
|
+
// 'Field "{{fieldName}}" updated'
|
|
52
|
+
/** The validation message that is shown when image files are incompatible */
|
|
53
|
+
"copy-paste.on-paste.validation.image-file-incompatible.description": void 0,
|
|
54
|
+
// 'A "{{sourceSchemaType}}" is not allowed in a "{{targetSchemaType}}"'
|
|
55
|
+
/** The error message that is shown when the MIME type is not accepted */
|
|
56
|
+
"copy-paste.on-paste.validation.mime-type-incompatible.description": void 0,
|
|
57
|
+
// 'MIME type "{{mimeType}}" is not accepted for this field'
|
|
58
|
+
/** The error message that is shown when the MIME type validation fails */
|
|
59
|
+
"copy-paste.on-paste.validation.mime-type-validation-failed.description": void 0,
|
|
60
|
+
// 'MIME type validation failed'
|
|
61
|
+
/** The warning message that is shown when not all values can be pasted */
|
|
62
|
+
"copy-paste.on-paste.validation.partial-warning.title": void 0,
|
|
63
|
+
// 'Could not paste all values'
|
|
64
|
+
/** The validation message that is shown when primitive types are incompatible */
|
|
65
|
+
"copy-paste.on-paste.validation.primitive-type-incompatible.description": void 0,
|
|
66
|
+
// 'Value of type "{{type}}" is not allowed in this field'
|
|
67
|
+
/** --- On paste --- */
|
|
68
|
+
/** The validation message that is shown when pasting a value into a read-only target */
|
|
69
|
+
"copy-paste.on-paste.validation.read-only-target.description": void 0,
|
|
70
|
+
// 'The target is read-only'
|
|
71
|
+
/** The validation message that is shown when reference is incompatible with filter */
|
|
72
|
+
"copy-paste.on-paste.validation.reference-filter-incompatible.description": void 0,
|
|
73
|
+
// 'Reference is not allowed in reference field according to filter'
|
|
74
|
+
/** The validation message that is shown when reference types are incompatible */
|
|
75
|
+
"copy-paste.on-paste.validation.reference-type-incompatible.description": void 0,
|
|
76
|
+
// 'References of type "{{sourceReferenceType}}" is not allowed in reference field that accepts types "{{targetReferenceTypes}}"'
|
|
77
|
+
/** The validation message that is shown when the source and target schema types are incompatible */
|
|
78
|
+
"copy-paste.on-paste.validation.schema-type-incompatible.description": void 0,
|
|
79
|
+
// 'Source and target schema types are not compatible'
|
|
80
|
+
/** The validation message that is shown when schema types are incompatible */
|
|
81
|
+
"copy-paste.on-paste.validation.schema-type-incompatible.title": void 0,
|
|
82
|
+
// 'Could not resolve schema type for path: {{path}}'
|
|
83
|
+
/** The validation message that is shown when string values are incompatible */
|
|
84
|
+
"copy-paste.on-paste.validation.string-value-incompatible.description": void 0
|
|
85
|
+
// 'Value "{{value}}" is not allowed in "{{allowedStrings}}"'
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
exports.default = copyPaste;
|
|
89
|
+
//# sourceMappingURL=copy-paste.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-paste.cjs","sources":["../../src/copy-paste.ts"],"sourcesContent":["import {removeUndefinedLocaleResources} from 'sanity'\n\nexport default removeUndefinedLocaleResources({\n /** Text on the field action button to copy a document */\n 'copy-paste.field-action-copy-button.document.title': undefined, // 'Copy document'\n /** Text on the field action button to copy a field */\n 'copy-paste.field-action-copy-button.field.title': undefined, // 'Copy field'\n /** Text on the field action button to paste a document */\n 'copy-paste.field-action-paste-button.document.title': undefined, // 'Paste document'\n /** Text on the field action button to paste a field */\n 'copy-paste.field-action-paste-button.field.title': undefined, // 'Paste field'\n /** The error message that is shown when the clipboard is not supported */\n 'copy-paste.on-copy.validation.clipboard-not-supported.title': undefined, // 'Your browser does not support this action'\n /** The success message that is shown when a document is copied */\n 'copy-paste.on-copy.validation.copy-document-success.title': undefined, // 'Document \"{{fieldNames}}\" copied'\n /** The success message that is shown when a field is copied */\n 'copy-paste.on-copy.validation.copy-field_one-success.title': undefined, // 'Field \"{{fieldName}}\" copied'\n /** The error message that is shown when there is no value to copy */\n 'copy-paste.on-copy.validation.no-value.title': undefined, // 'Empty value, nothing to copy'\n /** --- On copy --- */\n /** The error message that is shown when schema types are incompatible */\n 'copy-paste.on-copy.validation.schema-type-incompatible.title': undefined, // 'Could not resolve schema type for path: {{path}}'\n /** The validation message that is shown when array types are incompatible */\n 'copy-paste.on-paste.validation.array-type-incompatible.description': undefined, // 'Value of type \"{{type}}\" is not allowed in this array field'\n /** The validation message that is shown when array values are incompatible */\n 'copy-paste.on-paste.validation.array-value-incompatible.description': undefined, // 'Value of type \"{{type}}\" is not allowed in this array field'\n /** The validation message that is shown when the clipboard is empty */\n 'copy-paste.on-paste.validation.clipboard-empty.title': undefined, // 'Nothing to paste'\n /** The validation message that is shown when the clipboard item is invalid */\n 'copy-paste.on-paste.validation.clipboard-invalid.title': undefined, // 'Invalid clipboard item'\n /** The success message that is shown when a document is pasted */\n 'copy-paste.on-paste.validation.document-paste-success.title': undefined, // 'Document \"{{fieldNames}}\" updated'\n /** The success message that is shown when a field is pasted */\n 'copy-paste.on-paste.validation.field_one-paste-success.title': undefined, // 'Field \"{{fieldName}}\" updated'\n /** The validation message that is shown when image files are incompatible */\n 'copy-paste.on-paste.validation.image-file-incompatible.description': undefined, // 'A \"{{sourceSchemaType}}\" is not allowed in a \"{{targetSchemaType}}\"'\n /** The error message that is shown when the MIME type is not accepted */\n 'copy-paste.on-paste.validation.mime-type-incompatible.description': undefined, // 'MIME type \"{{mimeType}}\" is not accepted for this field'\n /** The error message that is shown when the MIME type validation fails */\n 'copy-paste.on-paste.validation.mime-type-validation-failed.description': undefined, // 'MIME type validation failed'\n /** The warning message that is shown when not all values can be pasted */\n 'copy-paste.on-paste.validation.partial-warning.title': undefined, // 'Could not paste all values'\n /** The validation message that is shown when primitive types are incompatible */\n 'copy-paste.on-paste.validation.primitive-type-incompatible.description': undefined, // 'Value of type \"{{type}}\" is not allowed in this field'\n /** --- On paste --- */\n /** The validation message that is shown when pasting a value into a read-only target */\n 'copy-paste.on-paste.validation.read-only-target.description': undefined, // 'The target is read-only'\n /** The validation message that is shown when reference is incompatible with filter */\n 'copy-paste.on-paste.validation.reference-filter-incompatible.description': undefined, // 'Reference is not allowed in reference field according to filter'\n /** The validation message that is shown when reference types are incompatible */\n 'copy-paste.on-paste.validation.reference-type-incompatible.description': undefined, // 'References of type \"{{sourceReferenceType}}\" is not allowed in reference field that accepts types \"{{targetReferenceTypes}}\"'\n /** The validation message that is shown when the source and target schema types are incompatible */\n 'copy-paste.on-paste.validation.schema-type-incompatible.description': undefined, // 'Source and target schema types are not compatible'\n /** The validation message that is shown when schema types are incompatible */\n 'copy-paste.on-paste.validation.schema-type-incompatible.title': undefined, // 'Could not resolve schema type for path: {{path}}'\n /** The validation message that is shown when string values are incompatible */\n 'copy-paste.on-paste.validation.string-value-incompatible.description': undefined, // 'Value \"{{value}}\" is not allowed in \"{{allowedStrings}}\"'\n})\n"],"names":["removeUndefinedLocaleResources"],"mappings":";;;;AAEA,gBAAeA,qCAA+B,CAAA;AAAA;AAAA,EAE5C,oDAAsD,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEtD,iDAAmD,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEnD,qDAAuD,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEvD,kDAAoD,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEpD,6DAA+D,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAE/D,2DAA6D,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAE7D,4DAA8D,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAE9D,8CAAgD,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA;AAAA,EAGhD,8DAAgE,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEhE,oEAAsE,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEtE,qEAAuE,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEvE,sDAAwD,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAExD,wDAA0D,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAE1D,6DAA+D,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAE/D,8DAAgE,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEhE,oEAAsE,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEtE,mEAAqE,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAErE,wEAA0E,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAE1E,sDAAwD,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAExD,wEAA0E,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA;AAAA,EAG1E,6DAA+D,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAE/D,0EAA4E,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAE5E,wEAA0E,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAE1E,qEAAuE,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEvE,+DAAiE,EAAA,KAAA,CAAA;AAAA;AAAA;AAAA,EAEjE,sEAAwE,EAAA,KAAA,CAAA;AAAA;AAC1E,CAAC,CAAA;;;;"}
|
|
@@ -596,7 +596,10 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
596
596
|
"inputs.invalid-value.reset-button.text": "Resetovat hodnotu",
|
|
597
597
|
/** Invalid property value */
|
|
598
598
|
"inputs.invalid-value.title": "Neplatn\xE1 hodnota vlastnosti",
|
|
599
|
-
/**
|
|
599
|
+
/** Title for the "All fields" field group */
|
|
600
|
+
"inputs.object.field-group-tabs.all-fields-title": void 0,
|
|
601
|
+
// 'All fields'
|
|
602
|
+
/** Aria label for the "Field groups" select control on smaller screens */
|
|
600
603
|
"inputs.object.field-group-tabs.aria-label": "Skupiny pol\xED",
|
|
601
604
|
/** Read-only field description */
|
|
602
605
|
"inputs.object.unknown-fields.read-only.description": "Toto pole je podle sch\xE9matu dokumentu <strong>pouze pro \u010Dten\xED</strong> a nelze jej zru\u0161it. Pokud chcete, aby bylo mo\u017En\xE9 toto v Studio zru\u0161it, ujist\u011Bte se, \u017Ee jste odstranili pole <code>readOnly</code> z obklopuj\xEDc\xEDho typu ve sch\xE9matu.",
|
|
@@ -635,13 +638,13 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
635
638
|
"inputs.portable-text.activate-on-focus-message_click-focused": "Klikn\u011Bte nebo stiskn\u011Bte mezern\xEDk pro aktivaci",
|
|
636
639
|
/** Label for activate on focus with context of tap and not focused */
|
|
637
640
|
"inputs.portable-text.activate-on-focus-message_tap": "Klepn\u011Bte pro aktivaci",
|
|
638
|
-
/**Aria label for the annotation object */
|
|
641
|
+
/** Aria label for the annotation object */
|
|
639
642
|
"inputs.portable-text.annotation-aria-label": "Objekt anotace",
|
|
640
643
|
/** Title for dialog that allows editing an annotation */
|
|
641
644
|
"inputs.portable-text.annotation-editor.title": "Upravit {{schemaType}}",
|
|
642
645
|
/** Title of the default "link" annotation */
|
|
643
646
|
"inputs.portable-text.annotation.link": "Odkaz",
|
|
644
|
-
/**Aria label for the block object */
|
|
647
|
+
/** Aria label for the block object */
|
|
645
648
|
"inputs.portable-text.block.aria-label": "Objekt bloku",
|
|
646
649
|
/** Label for action to edit a block item, in the case where it is editable */
|
|
647
650
|
"inputs.portable-text.block.edit": "Upravit",
|
|
@@ -665,7 +668,7 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
665
668
|
"inputs.portable-text.decorator.underline": "Podtr\u017Een\xED",
|
|
666
669
|
/** Placeholder text for when the editor is empty */
|
|
667
670
|
"inputs.portable-text.empty-placeholder": "Pr\xE1zdn\xE9",
|
|
668
|
-
/**Aria label for the block object */
|
|
671
|
+
/** Aria label for the block object */
|
|
669
672
|
"inputs.portable-text.inline-block.aria-label": "Vlo\u017Een\xFD objekt",
|
|
670
673
|
/** Label for action to edit an inline object item */
|
|
671
674
|
"inputs.portable-text.inline-object.edit": "Upravit objekt",
|
|
@@ -960,15 +963,12 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
960
963
|
"new-document.open-dialog-aria-label": "Vytvo\u0159it nov\xFD dokument",
|
|
961
964
|
/** Title for "Create new document" dialog */
|
|
962
965
|
"new-document.title": "Vytvo\u0159it nov\xFD dokument",
|
|
963
|
-
/** More detailed alert text letting user know they have an out-of-date version and should reload */
|
|
964
|
-
"package-version.new-package-available.description": void 0,
|
|
965
|
-
// 'Simply reload to use the new version.'
|
|
966
966
|
/** Label for button that will make the browser reload when users' studio version is out-of-date */
|
|
967
967
|
"package-version.new-package-available.reload-button": void 0,
|
|
968
|
-
// '
|
|
968
|
+
// 'Push to reload'
|
|
969
969
|
/** Title of the alert for studio users when packages in their studio are out-of-date */
|
|
970
970
|
"package-version.new-package-available.title": void 0,
|
|
971
|
-
// 'Sanity Studio
|
|
971
|
+
// 'Sanity Studio is ready to update!'
|
|
972
972
|
/** Label for action to manage members of the current studio project */
|
|
973
973
|
"presence.action.manage-members": "Spravovat \u010Dleny",
|
|
974
974
|
/** Accessibility label for presence menu button */
|
|
@@ -1438,9 +1438,9 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
1438
1438
|
"timeline.since": "Od: {{timestamp, datetime}}",
|
|
1439
1439
|
/** Label for missing change version for timeline menu dropdown are showing */
|
|
1440
1440
|
"timeline.since-version-missing": "Od: nezn\xE1m\xE1 verze",
|
|
1441
|
-
/**Aria label for the action buttons in the PTE toolbar */
|
|
1441
|
+
/** Aria label for the action buttons in the PTE toolbar */
|
|
1442
1442
|
"toolbar.portable-text.action-button-aria-label": "{{action}}",
|
|
1443
|
-
/**
|
|
1443
|
+
/** Accessibility label for the breadcrumb menu */
|
|
1444
1444
|
"tree-editing-dialog.breadcrumbs.menu": void 0,
|
|
1445
1445
|
// 'Breadcrumb menu'
|
|
1446
1446
|
/** Title placeholder for search input in array of objects */
|