@sanity/locale-hr-hr 1.1.7 → 1.1.8
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 +9 -8
- 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 +9 -8
- 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 +8 -9
|
@@ -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;;;;"}
|
|
@@ -585,7 +585,10 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
585
585
|
"inputs.invalid-value.reset-button.text": "Resetiraj vrijednost",
|
|
586
586
|
/** Invalid property value */
|
|
587
587
|
"inputs.invalid-value.title": "Neispravna vrijednost svojstva",
|
|
588
|
-
/**
|
|
588
|
+
/** Title for the "All fields" field group */
|
|
589
|
+
"inputs.object.field-group-tabs.all-fields-title": void 0,
|
|
590
|
+
// 'All fields'
|
|
591
|
+
/** Aria label for the "Field groups" select control on smaller screens */
|
|
589
592
|
"inputs.object.field-group-tabs.aria-label": "Grupe polja",
|
|
590
593
|
/** Read-only field description */
|
|
591
594
|
"inputs.object.unknown-fields.read-only.description": "Ovo polje je <strong>samo za \u010Ditanje</strong> prema shemi dokumenta i ne mo\u017Ee se poni\u0161titi. Ako \u017Eelite mo\u0107i poni\u0161titi ovo u Studiju, pobrinite se da uklonite <code>readOnly</code> polje iz obuhva\u0107enog tipa u shemi.",
|
|
@@ -624,13 +627,13 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
624
627
|
"inputs.portable-text.activate-on-focus-message_click-focused": "Kliknite ili pritisnite razmaknicu za aktivaciju",
|
|
625
628
|
/** Label for activate on focus with context of tap and not focused */
|
|
626
629
|
"inputs.portable-text.activate-on-focus-message_tap": "Dodirnite za aktivaciju",
|
|
627
|
-
/**Aria label for the annotation object */
|
|
630
|
+
/** Aria label for the annotation object */
|
|
628
631
|
"inputs.portable-text.annotation-aria-label": "Objekt napomene",
|
|
629
632
|
/** Title for dialog that allows editing an annotation */
|
|
630
633
|
"inputs.portable-text.annotation-editor.title": "Uredi {{schemaType}}",
|
|
631
634
|
/** Title of the default "link" annotation */
|
|
632
635
|
"inputs.portable-text.annotation.link": "Poveznica",
|
|
633
|
-
/**Aria label for the block object */
|
|
636
|
+
/** Aria label for the block object */
|
|
634
637
|
"inputs.portable-text.block.aria-label": "Objekt bloka",
|
|
635
638
|
/** Label for action to edit a block item, in the case where it is editable */
|
|
636
639
|
"inputs.portable-text.block.edit": "Uredi",
|
|
@@ -654,7 +657,7 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
654
657
|
"inputs.portable-text.decorator.underline": "Podcrtano",
|
|
655
658
|
/** Placeholder text for when the editor is empty */
|
|
656
659
|
"inputs.portable-text.empty-placeholder": "Prazno",
|
|
657
|
-
/**Aria label for the block object */
|
|
660
|
+
/** Aria label for the block object */
|
|
658
661
|
"inputs.portable-text.inline-block.aria-label": "Umetnuti objekt",
|
|
659
662
|
/** Label for action to edit an inline object item */
|
|
660
663
|
"inputs.portable-text.inline-object.edit": "Uredi objekt",
|
|
@@ -946,8 +949,6 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
946
949
|
"new-document.open-dialog-aria-label": "Stvori novi dokument",
|
|
947
950
|
/** Title for "Create new document" dialog */
|
|
948
951
|
"new-document.title": "Stvori novi dokument",
|
|
949
|
-
/** More detailed alert text letting user know they have an out-of-date version and should reload */
|
|
950
|
-
"package-version.new-package-available.description": "Jednostavno ponovno u\u010Ditajte za kori\u0161tenje nove verzije.",
|
|
951
952
|
/** Label for button that will make the browser reload when users' studio version is out-of-date */
|
|
952
953
|
"package-version.new-package-available.reload-button": "Ponovno u\u010Ditaj",
|
|
953
954
|
/** Title of the alert for studio users when packages in their studio are out-of-date */
|
|
@@ -1416,9 +1417,9 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
1416
1417
|
"timeline.since": "Od: {{timestamp, datetime}}",
|
|
1417
1418
|
/** Label for missing change version for timeline menu dropdown are showing */
|
|
1418
1419
|
"timeline.since-version-missing": "Od: nepoznata verzija",
|
|
1419
|
-
/**Aria label for the action buttons in the PTE toolbar */
|
|
1420
|
+
/** Aria label for the action buttons in the PTE toolbar */
|
|
1420
1421
|
"toolbar.portable-text.action-button-aria-label": "{{action}}",
|
|
1421
|
-
/**
|
|
1422
|
+
/** Accessibility label for the breadcrumb menu */
|
|
1422
1423
|
"tree-editing-dialog.breadcrumbs.menu": "Izbornik putokaza",
|
|
1423
1424
|
/** Title placeholder for search input in array of objects */
|
|
1424
1425
|
"tree-editing-dialog.search-placeholder": "Pretra\u017Ei",
|