@sanity/locale-is-is 1.2.1 → 1.2.2
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 +63 -0
- package/dist/_chunks-cjs/copy-paste.cjs.map +1 -0
- package/dist/_chunks-cjs/studio.cjs +8 -8
- package/dist/_chunks-cjs/studio.cjs.map +1 -1
- package/dist/_chunks-es/copy-paste.js +61 -0
- package/dist/_chunks-es/copy-paste.js.map +1 -0
- package/dist/_chunks-es/studio.js +8 -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 +72 -0
- package/src/index.ts +5 -0
- package/src/studio.ts +8 -9
|
@@ -0,0 +1,63 @@
|
|
|
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": "Afrita skjal",
|
|
8
|
+
/** Text on the field action button to copy a field */
|
|
9
|
+
"copy-paste.field-action-copy-button.field.title": "Afrita reit",
|
|
10
|
+
/** Text on the field action button to paste a document */
|
|
11
|
+
"copy-paste.field-action-paste-button.document.title": "L\xEDma inn skjal",
|
|
12
|
+
/** Text on the field action button to paste a field */
|
|
13
|
+
"copy-paste.field-action-paste-button.field.title": "L\xEDma inn reit",
|
|
14
|
+
/** The error message that is shown when the clipboard is not supported */
|
|
15
|
+
"copy-paste.on-copy.validation.clipboard-not-supported.title": "Vafrinn \xFEinn sty\xF0ur ekki \xFEessa a\xF0ger\xF0",
|
|
16
|
+
/** The success message that is shown when a document is copied */
|
|
17
|
+
"copy-paste.on-copy.validation.copy-document-success.title": 'Skjal "{{fieldNames}}" afrita\xF0',
|
|
18
|
+
/** The success message that is shown when a field is copied */
|
|
19
|
+
"copy-paste.on-copy.validation.copy-field_one-success.title": 'Reitur "{{fieldName}}" afrita\xF0ur',
|
|
20
|
+
/** The error message that is shown when there is no value to copy */
|
|
21
|
+
"copy-paste.on-copy.validation.no-value.title": "T\xF3mt gildi, ekkert til a\xF0 afrita",
|
|
22
|
+
/** --- On copy --- */
|
|
23
|
+
/** The error message that is shown when schema types are incompatible */
|
|
24
|
+
"copy-paste.on-copy.validation.schema-type-incompatible.title": "Gat ekki leyst \xFAr skemat\xFDpu fyrir sl\xF3\xF0: {{path}}",
|
|
25
|
+
/** The validation message that is shown when array types are incompatible */
|
|
26
|
+
"copy-paste.on-paste.validation.array-type-incompatible.description": 'Gildi af ger\xF0inni "{{type}}" er ekki leyfilegt \xED \xFEessum fylkisreit',
|
|
27
|
+
/** The validation message that is shown when array values are incompatible */
|
|
28
|
+
"copy-paste.on-paste.validation.array-value-incompatible.description": 'Gildi af taginu "{{type}}" er ekki leyfilegt \xED \xFEessum fylkisreit',
|
|
29
|
+
/** The validation message that is shown when the clipboard is empty */
|
|
30
|
+
"copy-paste.on-paste.validation.clipboard-empty.title": "Ekkert til a\xF0 l\xEDma inn",
|
|
31
|
+
/** The validation message that is shown when the clipboard item is invalid */
|
|
32
|
+
"copy-paste.on-paste.validation.clipboard-invalid.title": "\xD3gilt klippibor\xF0satri\xF0i",
|
|
33
|
+
/** The success message that is shown when a document is pasted */
|
|
34
|
+
"copy-paste.on-paste.validation.document-paste-success.title": 'Skjal "{{fieldNames}}" uppf\xE6rt',
|
|
35
|
+
/** The success message that is shown when a field is pasted */
|
|
36
|
+
"copy-paste.on-paste.validation.field_one-paste-success.title": 'Reitur "{{fieldName}}" uppf\xE6r\xF0ur',
|
|
37
|
+
/** The validation message that is shown when image files are incompatible */
|
|
38
|
+
"copy-paste.on-paste.validation.image-file-incompatible.description": '"{{sourceSchemaType}}" er ekki leyfilegt \xED "{{targetSchemaType}}"',
|
|
39
|
+
/** The error message that is shown when the MIME type is not accepted */
|
|
40
|
+
"copy-paste.on-paste.validation.mime-type-incompatible.description": 'MIME tag "{{mimeType}}" er ekki sam\xFEykkt fyrir \xFEennan reit',
|
|
41
|
+
/** The error message that is shown when the MIME type validation fails */
|
|
42
|
+
"copy-paste.on-paste.validation.mime-type-validation-failed.description": "MIME tagsta\xF0festing mist\xF3kst",
|
|
43
|
+
/** The warning message that is shown when not all values can be pasted */
|
|
44
|
+
"copy-paste.on-paste.validation.partial-warning.title": "Gat ekki l\xEDmt inn \xF6ll gildi",
|
|
45
|
+
/** The validation message that is shown when primitive types are incompatible */
|
|
46
|
+
"copy-paste.on-paste.validation.primitive-type-incompatible.description": 'Gildi af taginu "{{type}}" er ekki leyfilegt \xED \xFEessum reit',
|
|
47
|
+
/** --- On paste --- */
|
|
48
|
+
/** The validation message that is shown when pasting a value into a read-only target */
|
|
49
|
+
"copy-paste.on-paste.validation.read-only-target.description": "Marki\xF0 er skrifvari\xF0",
|
|
50
|
+
/** The validation message that is shown when reference is incompatible with filter */
|
|
51
|
+
"copy-paste.on-paste.validation.reference-filter-incompatible.description": "Tilv\xEDsun er ekki leyfileg \xED tilv\xEDsunarreit samkv\xE6mt s\xEDu",
|
|
52
|
+
/** The validation message that is shown when reference types are incompatible */
|
|
53
|
+
"copy-paste.on-paste.validation.reference-type-incompatible.description": 'Tilv\xEDsanir af taginu "{{sourceReferenceType}}" eru ekki leyf\xF0ar \xED tilv\xEDsunarreit sem sam\xFEykkir t\xF6g "{{targetReferenceTypes}}"',
|
|
54
|
+
/** The validation message that is shown when the source and target schema types are incompatible */
|
|
55
|
+
"copy-paste.on-paste.validation.schema-type-incompatible.description": "Uppruna- og markskemat\xFDpur eru ekki samr\xFDmanlegar",
|
|
56
|
+
/** The validation message that is shown when schema types are incompatible */
|
|
57
|
+
"copy-paste.on-paste.validation.schema-type-incompatible.title": "Gat ekki leyst \xFAr skemat\xFDpu fyrir sl\xF3\xF0: {{path}}",
|
|
58
|
+
/** The validation message that is shown when string values are incompatible */
|
|
59
|
+
"copy-paste.on-paste.validation.string-value-incompatible.description": 'Gildi "{{value}}" er ekki leyfilegt \xED "{{allowedStrings}}"'
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
exports.default = copyPaste;
|
|
63
|
+
//# 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': 'Afrita skjal',\n /** Text on the field action button to copy a field */\n 'copy-paste.field-action-copy-button.field.title': 'Afrita reit',\n /** Text on the field action button to paste a document */\n 'copy-paste.field-action-paste-button.document.title': 'Líma inn skjal',\n /** Text on the field action button to paste a field */\n 'copy-paste.field-action-paste-button.field.title': 'Líma inn reit',\n /** The error message that is shown when the clipboard is not supported */\n 'copy-paste.on-copy.validation.clipboard-not-supported.title':\n 'Vafrinn þinn styður ekki þessa aðgerð',\n /** The success message that is shown when a document is copied */\n 'copy-paste.on-copy.validation.copy-document-success.title': 'Skjal \"{{fieldNames}}\" afritað',\n /** The success message that is shown when a field is copied */\n 'copy-paste.on-copy.validation.copy-field_one-success.title': 'Reitur \"{{fieldName}}\" afritaður',\n /** The error message that is shown when there is no value to copy */\n 'copy-paste.on-copy.validation.no-value.title': 'Tómt gildi, ekkert til að afrita',\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':\n 'Gat ekki leyst úr skematýpu fyrir slóð: {{path}}',\n /** The validation message that is shown when array types are incompatible */\n 'copy-paste.on-paste.validation.array-type-incompatible.description':\n 'Gildi af gerðinni \"{{type}}\" er ekki leyfilegt í þessum fylkisreit',\n /** The validation message that is shown when array values are incompatible */\n 'copy-paste.on-paste.validation.array-value-incompatible.description':\n 'Gildi af taginu \"{{type}}\" er ekki leyfilegt í þessum fylkisreit',\n /** The validation message that is shown when the clipboard is empty */\n 'copy-paste.on-paste.validation.clipboard-empty.title': 'Ekkert til að líma inn',\n /** The validation message that is shown when the clipboard item is invalid */\n 'copy-paste.on-paste.validation.clipboard-invalid.title': 'Ógilt klippiborðsatriði',\n /** The success message that is shown when a document is pasted */\n 'copy-paste.on-paste.validation.document-paste-success.title': 'Skjal \"{{fieldNames}}\" uppfært',\n /** The success message that is shown when a field is pasted */\n 'copy-paste.on-paste.validation.field_one-paste-success.title':\n 'Reitur \"{{fieldName}}\" uppfærður',\n /** The validation message that is shown when image files are incompatible */\n 'copy-paste.on-paste.validation.image-file-incompatible.description':\n '\"{{sourceSchemaType}}\" er ekki leyfilegt í \"{{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':\n 'MIME tag \"{{mimeType}}\" er ekki samþykkt fyrir þennan reit',\n /** The error message that is shown when the MIME type validation fails */\n 'copy-paste.on-paste.validation.mime-type-validation-failed.description':\n 'MIME tagstaðfesting mistókst',\n /** The warning message that is shown when not all values can be pasted */\n 'copy-paste.on-paste.validation.partial-warning.title': 'Gat ekki límt inn öll gildi',\n /** The validation message that is shown when primitive types are incompatible */\n 'copy-paste.on-paste.validation.primitive-type-incompatible.description':\n 'Gildi af taginu \"{{type}}\" er ekki leyfilegt í þessum reit',\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': 'Markið er skrifvarið',\n /** The validation message that is shown when reference is incompatible with filter */\n 'copy-paste.on-paste.validation.reference-filter-incompatible.description':\n 'Tilvísun er ekki leyfileg í tilvísunarreit samkvæmt síu',\n /** The validation message that is shown when reference types are incompatible */\n 'copy-paste.on-paste.validation.reference-type-incompatible.description':\n 'Tilvísanir af taginu \"{{sourceReferenceType}}\" eru ekki leyfðar í tilvísunarreit sem samþykkir tög \"{{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':\n 'Uppruna- og markskematýpur eru ekki samrýmanlegar',\n /** The validation message that is shown when schema types are incompatible */\n 'copy-paste.on-paste.validation.schema-type-incompatible.title':\n 'Gat ekki leyst úr skematýpu fyrir slóð: {{path}}',\n /** The validation message that is shown when string values are incompatible */\n 'copy-paste.on-paste.validation.string-value-incompatible.description':\n 'Gildi \"{{value}}\" er ekki leyfilegt í \"{{allowedStrings}}\"',\n})\n"],"names":["removeUndefinedLocaleResources"],"mappings":";;;;AAEA,gBAAeA,qCAA+B,CAAA;AAAA;AAAA,EAE5C,oDAAsD,EAAA,cAAA;AAAA;AAAA,EAEtD,iDAAmD,EAAA,aAAA;AAAA;AAAA,EAEnD,qDAAuD,EAAA,mBAAA;AAAA;AAAA,EAEvD,kDAAoD,EAAA,kBAAA;AAAA;AAAA,EAEpD,6DACE,EAAA,sDAAA;AAAA;AAAA,EAEF,2DAA6D,EAAA,mCAAA;AAAA;AAAA,EAE7D,4DAA8D,EAAA,qCAAA;AAAA;AAAA,EAE9D,8CAAgD,EAAA,wCAAA;AAAA;AAAA;AAAA,EAGhD,8DACE,EAAA,8DAAA;AAAA;AAAA,EAEF,oEACE,EAAA,6EAAA;AAAA;AAAA,EAEF,qEACE,EAAA,wEAAA;AAAA;AAAA,EAEF,sDAAwD,EAAA,8BAAA;AAAA;AAAA,EAExD,wDAA0D,EAAA,kCAAA;AAAA;AAAA,EAE1D,6DAA+D,EAAA,mCAAA;AAAA;AAAA,EAE/D,8DACE,EAAA,wCAAA;AAAA;AAAA,EAEF,oEACE,EAAA,sEAAA;AAAA;AAAA,EAEF,mEACE,EAAA,kEAAA;AAAA;AAAA,EAEF,wEACE,EAAA,oCAAA;AAAA;AAAA,EAEF,sDAAwD,EAAA,mCAAA;AAAA;AAAA,EAExD,wEACE,EAAA,kEAAA;AAAA;AAAA;AAAA,EAGF,6DAA+D,EAAA,4BAAA;AAAA;AAAA,EAE/D,0EACE,EAAA,wEAAA;AAAA;AAAA,EAEF,wEACE,EAAA,iJAAA;AAAA;AAAA,EAEF,qEACE,EAAA,yDAAA;AAAA;AAAA,EAEF,+DACE,EAAA,8DAAA;AAAA;AAAA,EAEF,sEACE,EAAA,+DAAA;AACJ,CAAC,CAAA;;;;"}
|
|
@@ -585,7 +585,9 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
585
585
|
"inputs.invalid-value.reset-button.text": "Endurstilla gildi",
|
|
586
586
|
/** Invalid property value */
|
|
587
587
|
"inputs.invalid-value.title": "\xD3gilt eignagildi",
|
|
588
|
-
/**
|
|
588
|
+
/** Title for the "All fields" field group */
|
|
589
|
+
"inputs.object.field-group-tabs.all-fields-title": "Allir reitir",
|
|
590
|
+
/** Aria label for the "Field groups" select control on smaller screens */
|
|
589
591
|
"inputs.object.field-group-tabs.aria-label": "H\xF3par reita",
|
|
590
592
|
/** Read-only field description */
|
|
591
593
|
"inputs.object.unknown-fields.read-only.description": "\xDEessi reitur er <strong>a\xF0eins til lesturs</strong> samkv\xE6mt skema skjalsins og getur ekki veri\xF0 \xF3skilgreindur. Ef \xFE\xFA vilt geta \xF3skilgreint \xFEetta \xED Studio, vertu viss um a\xF0 fjarl\xE6gja <code>readOnly</code> reitinn fr\xE1 umlykjandi tegund \xED skemanu.",
|
|
@@ -624,13 +626,13 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
624
626
|
"inputs.portable-text.activate-on-focus-message_click-focused": "Smelltu e\xF0a \xFDttu \xE1 bil til a\xF0 virkja",
|
|
625
627
|
/** Label for activate on focus with context of tap and not focused */
|
|
626
628
|
"inputs.portable-text.activate-on-focus-message_tap": "\xDDttu til a\xF0 virkja",
|
|
627
|
-
/**Aria label for the annotation object */
|
|
629
|
+
/** Aria label for the annotation object */
|
|
628
630
|
"inputs.portable-text.annotation-aria-label": "Athugasemdahlutur",
|
|
629
631
|
/** Title for dialog that allows editing an annotation */
|
|
630
632
|
"inputs.portable-text.annotation-editor.title": "Breyta {{schemaType}}",
|
|
631
633
|
/** Title of the default "link" annotation */
|
|
632
634
|
"inputs.portable-text.annotation.link": "Hlekkur",
|
|
633
|
-
/**Aria label for the block object */
|
|
635
|
+
/** Aria label for the block object */
|
|
634
636
|
"inputs.portable-text.block.aria-label": "Blokka hlutu",
|
|
635
637
|
/** Label for action to edit a block item, in the case where it is editable */
|
|
636
638
|
"inputs.portable-text.block.edit": "Breyta",
|
|
@@ -654,7 +656,7 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
654
656
|
"inputs.portable-text.decorator.underline": "Undirstrika",
|
|
655
657
|
/** Placeholder text for when the editor is empty */
|
|
656
658
|
"inputs.portable-text.empty-placeholder": "T\xF3mt",
|
|
657
|
-
/**Aria label for the block object */
|
|
659
|
+
/** Aria label for the block object */
|
|
658
660
|
"inputs.portable-text.inline-block.aria-label": "Innri hlutur",
|
|
659
661
|
/** Label for action to edit an inline object item */
|
|
660
662
|
"inputs.portable-text.inline-object.edit": "Breyta hlut",
|
|
@@ -946,8 +948,6 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
946
948
|
"new-document.open-dialog-aria-label": "B\xFAa til n\xFDtt skjal",
|
|
947
949
|
/** Title for "Create new document" dialog */
|
|
948
950
|
"new-document.title": "B\xFAa til n\xFDtt skjal",
|
|
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": "Endurhla\xF0i\xF0 s\xED\xF0una til a\xF0 nota n\xFDju \xFAtg\xE1funa.",
|
|
951
951
|
/** Label for button that will make the browser reload when users' studio version is out-of-date */
|
|
952
952
|
"package-version.new-package-available.reload-button": "Endurhla\xF0a",
|
|
953
953
|
/** Title of the alert for studio users when packages in their studio are out-of-date */
|
|
@@ -1416,9 +1416,9 @@ var studio = sanity.removeUndefinedLocaleResources({
|
|
|
1416
1416
|
"timeline.since": "S\xED\xF0an: {{timestamp, datetime}}",
|
|
1417
1417
|
/** Label for missing change version for timeline menu dropdown are showing */
|
|
1418
1418
|
"timeline.since-version-missing": "S\xED\xF0an: \xF3\xFEekkt \xFAtg\xE1fa",
|
|
1419
|
-
/**Aria label for the action buttons in the PTE toolbar */
|
|
1419
|
+
/** Aria label for the action buttons in the PTE toolbar */
|
|
1420
1420
|
"toolbar.portable-text.action-button-aria-label": "{{action}}",
|
|
1421
|
-
/**
|
|
1421
|
+
/** Accessibility label for the breadcrumb menu */
|
|
1422
1422
|
"tree-editing-dialog.breadcrumbs.menu": "Valmynd brau\xF0mola",
|
|
1423
1423
|
/** Title placeholder for search input in array of objects */
|
|
1424
1424
|
"tree-editing-dialog.search-placeholder": "Leita",
|