@sanity/locale-is-is 1.2.16 → 1.2.17
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 +3 -0
- package/dist/_chunks-cjs/copy-paste.cjs.map +1 -1
- package/dist/_chunks-cjs/structure.cjs +27 -0
- package/dist/_chunks-cjs/structure.cjs.map +1 -1
- package/dist/_chunks-cjs/studio.cjs +45 -5
- package/dist/_chunks-cjs/studio.cjs.map +1 -1
- package/dist/_chunks-cjs/validation.cjs +9 -0
- package/dist/_chunks-cjs/validation.cjs.map +1 -1
- package/dist/_chunks-es/copy-paste.js +3 -0
- package/dist/_chunks-es/copy-paste.js.map +1 -1
- package/dist/_chunks-es/structure.js +27 -0
- package/dist/_chunks-es/structure.js.map +1 -1
- package/dist/_chunks-es/studio.js +45 -5
- package/dist/_chunks-es/studio.js.map +1 -1
- package/dist/_chunks-es/validation.js +9 -0
- package/dist/_chunks-es/validation.js.map +1 -1
- package/package.json +1 -1
- package/src/copy-paste.ts +2 -0
- package/src/structure.ts +18 -0
- package/src/studio.ts +31 -5
- package/src/validation.ts +6 -0
|
@@ -46,6 +46,12 @@ var validation = removeUndefinedLocaleResources({
|
|
|
46
46
|
"object.asset-required_file": "Skr\xE1 er krafist",
|
|
47
47
|
/** Object is missing a reference to an image asset document in its `asset` field */
|
|
48
48
|
"object.asset-required_image": "Mynd er krafist",
|
|
49
|
+
/** Media can't be found in the Media Library */
|
|
50
|
+
"object.media-not-found": void 0,
|
|
51
|
+
// 'The asset could not found in the Media Library'
|
|
52
|
+
/** Media object is missing a reference to a document in its `_ref` field */
|
|
53
|
+
"object.not-media-library-asset": void 0,
|
|
54
|
+
// 'Must be a reference to a Media Library asset'
|
|
49
55
|
/** Object is not a reference to a document (eg `{_ref: 'documentId'}`) */
|
|
50
56
|
"object.not-reference": "Ver\xF0ur a\xF0 vera tilv\xEDsun \xED skjal",
|
|
51
57
|
/** Object references a document which is not published */
|
|
@@ -56,6 +62,9 @@ var validation = removeUndefinedLocaleResources({
|
|
|
56
62
|
"panel.no-errors-message": "Engar sta\xF0festingarvillur",
|
|
57
63
|
/** Title for the actual "Validation" panel/feature */
|
|
58
64
|
"panel.title": "Sta\xF0festing",
|
|
65
|
+
/** Message shown when the validation panel is opened but the document is going to unpublish */
|
|
66
|
+
"panel.unpublish-message": void 0,
|
|
67
|
+
// 'Document is going to unpublish, no validation errors are shown'
|
|
59
68
|
/** Slug is an object, but is missing a `current` string property */
|
|
60
69
|
"slug.missing-current": "Slug ver\xF0ur a\xF0 hafa gildi",
|
|
61
70
|
/** Slug is not an object (eg `{current: 'some-slug'}`) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.js","sources":["../../src/validation.ts"],"sourcesContent":["import {removeUndefinedLocaleResources} from 'sanity'\n\nexport default removeUndefinedLocaleResources({\n /** Array must have exactly \"$wantedLength\" items, but has more/less */\n 'array.exact-length': 'Verður að hafa nákvæmlega {{wantedLength}} atriði',\n /** Portable Text array must have exactly \"$wantedLength\" blocks, but has more/less */\n 'array.exact-length_blocks': 'Verður að hafa nákvæmlega {{wantedLength}} blokkir',\n /** Array item is a duplicate, but array wants only unique items */\n 'array.item-duplicate': 'Má ekki vera afrit',\n /** Array has more than the maximum of \"$maxLength\" items */\n 'array.maximum-length': 'Má hafa í mesta lagi {{maxLength}} atriði',\n /** Portable Text array has more than the maximum of \"$maxLength\" items */\n 'array.maximum-length_blocks': 'Má hafa í mesta lagi {{maxLength}} blokkir',\n /** Array has less than the minimum of \"$minLength\" items */\n 'array.minimum-length': 'Verður að hafa að minnsta kosti {{minLength}} atriði',\n /** Portable Text array has less than the minimum of \"$minLength\" blocks */\n 'array.minimum-length_blocks': 'Verður að hafa að minnsta kosti {{minLength}} blokkir',\n\n /** Date is not valid or not in the correct format (ISO-8601) */\n 'date.invalid-format': 'Verður að vera gild ISO-8601 sniðin dagsetning',\n /** Date is later than the given maximum date \"$maxDate\" */\n 'date.maximum': 'Verður að vera á eða fyrir {{maxDate}}',\n /** Date is earlier than the given minimum date \"$minDate\" */\n 'date.minimum': 'Verður að vera á eða eftir {{minDate}}',\n\n /** A value of incorrect type is found, eg found `number` instead of `string` */\n 'generic.incorrect-type': 'Væntanleg týpa \"{{expectedType}}\", fékk \"{{actualType}}\"',\n /** Value is not one of the values specifically allowed */\n 'generic.not-allowed': 'Gildi passaði ekki við nein leyfð gildi',\n /** Value \"$givenValue\" is not one of the values specifically allowed */\n 'generic.not-allowed_hint': 'Gildi \"{{hint}}\" passaði ekki við nein leyfð gildi',\n /** A value is expected, but none is provided */\n 'generic.required': 'Krafist',\n\n /** Number is less than the given minimum threshold value \"$threshold\" */\n 'number.greater-than': 'Verður að vera meira en {{threshold}}',\n /** Number is greater than the given maximum threshold value \"$threshold\" */\n 'number.less-than': 'Verður að vera minna en {{threshold}}',\n /** Number is higher than the given maximum value \"$maxNumber\" */\n 'number.maximum': 'Verður að vera lægra en eða jafnt og {{maxNumber}}',\n /** Number has more precision (decimals) than the allowed \"$limit\" */\n 'number.maximum-precision': 'Hámarks nákvæmni er {{limit}}',\n /** Number is lower than the given minimum value \"$minNumber\" */\n 'number.minimum': 'Verður að vera meira en eða jafnt og {{minNumber}}',\n /** Number is not an integer (\"whole number\") */\n 'number.non-integer': 'Verður að vera heiltala',\n\n /** Object is missing a reference to an asset document in its `asset` field */\n 'object.asset-required': 'Eign er krafist',\n /** Object is missing a reference to a file asset document in its `asset` field */\n 'object.asset-required_file': 'Skrá er krafist',\n /** Object is missing a reference to an image asset document in its `asset` field */\n 'object.asset-required_image': 'Mynd er krafist',\n /** Object is not a reference to a document (eg `{_ref: 'documentId'}`) */\n 'object.not-reference': 'Verður að vera tilvísun í skjal',\n /** Object references a document which is not published */\n 'object.reference-not-published': 'Tilvísunarskjal verður að vera birt',\n\n /** Accessibility label for closing the validation panel */\n 'panel.close-button-aria-label': 'Loka staðfestingarvalmynd',\n /** Message shown when the validation panel is opened but there are no errors/warnings */\n 'panel.no-errors-message': 'Engar staðfestingarvillur',\n /** Title for the actual \"Validation\" panel/feature */\n 'panel.title': 'Staðfesting',\n\n /** Slug is an object, but is missing a `current` string property */\n 'slug.missing-current': 'Slug verður að hafa gildi',\n /** Slug is not an object (eg `{current: 'some-slug'}`) */\n 'slug.not-object': 'Slug verður að vera hlutur',\n /** Slug is already in use somewhere else, but needs to be unique */\n 'slug.not-unique': 'Slug er nú þegar í notkun',\n\n /** String is not a valid email address */\n 'string.email': 'Verður að vera gilt netfang',\n /** String has a different character length than the exact number \"$wantedLength\" */\n 'string.exact-length': 'Verður að vera nákvæmlega {{wantedLength}} stafir að lengd',\n /** String contains characters that are not in lowercase */\n 'string.lowercase': 'Verður að vera allt lágstafir',\n /** String is longer than the limit of \"$maxLength\" characters */\n 'string.maximum-length': 'Má vera í mesta lagi {{maxLength}} stafir að lengd',\n /** String is shorter than the limit of \"$minLength\" characters */\n 'string.minimum-length': 'Verður að vera að minnsta kosti {{minLength}} stafir að lengd',\n /** String does not match the given regular expression, but should */\n 'string.regex-does-not-match': 'Passar ekki við \"{{name}}\"-mynstrið',\n /** String matches the given regular expression, but should not */\n 'string.regex-match': 'Á ekki að passa við \"{{name}}\"-mynstrið',\n /** String contains characters that are not in uppercase */\n 'string.uppercase': 'Verður að vera allt hástafir',\n /** String contains a protocol/scheme that is not allowed, eg (`ftp`, `mailto`…) */\n 'string.url.disallowed-scheme': 'Passar ekki við leyfileg prótókól/snið',\n /** String contains a URL with a username or password specified before the host */\n 'string.url.includes-credentials': 'Notandanafn/lykilorð ekki leyft',\n /** String is not a valid URL */\n 'string.url.invalid': 'Ekki gild vefslóð',\n /** String is not an absolute URL (eg it is missing a protocol/host) */\n 'string.url.not-absolute': 'Afstæðar vefslóðir eru ekki leyfðar',\n /** String is not a relative URL (eg it contains a protocol/host) */\n 'string.url.not-relative': 'Aðeins afstæðar vefslóðir eru leyfðar',\n})\n"],"names":[],"mappings":";AAEA,IAAA,aAAe,+BAA+B;AAAA;AAAA,EAE5C,sBAAsB;AAAA;AAAA,EAEtB,6BAA6B;AAAA;AAAA,EAE7B,wBAAwB;AAAA;AAAA,EAExB,wBAAwB;AAAA;AAAA,EAExB,+BAA+B;AAAA;AAAA,EAE/B,wBAAwB;AAAA;AAAA,EAExB,+BAA+B;AAAA;AAAA,EAG/B,uBAAuB;AAAA;AAAA,EAEvB,gBAAgB;AAAA;AAAA,EAEhB,gBAAgB;AAAA;AAAA,EAGhB,0BAA0B;AAAA;AAAA,EAE1B,uBAAuB;AAAA;AAAA,EAEvB,4BAA4B;AAAA;AAAA,EAE5B,oBAAoB;AAAA;AAAA,EAGpB,uBAAuB;AAAA;AAAA,EAEvB,oBAAoB;AAAA;AAAA,EAEpB,kBAAkB;AAAA;AAAA,EAElB,4BAA4B;AAAA;AAAA,EAE5B,kBAAkB;AAAA;AAAA,EAElB,sBAAsB;AAAA;AAAA,EAGtB,yBAAyB;AAAA;AAAA,EAEzB,8BAA8B;AAAA;AAAA,EAE9B,+BAA+B;AAAA;AAAA,EAE/B,wBAAwB;AAAA;AAAA,EAExB,kCAAkC;AAAA;AAAA,EAGlC,iCAAiC;AAAA;AAAA,EAEjC,2BAA2B;AAAA;AAAA,EAE3B,eAAe;AAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"validation.js","sources":["../../src/validation.ts"],"sourcesContent":["import {removeUndefinedLocaleResources} from 'sanity'\n\nexport default removeUndefinedLocaleResources({\n /** Array must have exactly \"$wantedLength\" items, but has more/less */\n 'array.exact-length': 'Verður að hafa nákvæmlega {{wantedLength}} atriði',\n /** Portable Text array must have exactly \"$wantedLength\" blocks, but has more/less */\n 'array.exact-length_blocks': 'Verður að hafa nákvæmlega {{wantedLength}} blokkir',\n /** Array item is a duplicate, but array wants only unique items */\n 'array.item-duplicate': 'Má ekki vera afrit',\n /** Array has more than the maximum of \"$maxLength\" items */\n 'array.maximum-length': 'Má hafa í mesta lagi {{maxLength}} atriði',\n /** Portable Text array has more than the maximum of \"$maxLength\" items */\n 'array.maximum-length_blocks': 'Má hafa í mesta lagi {{maxLength}} blokkir',\n /** Array has less than the minimum of \"$minLength\" items */\n 'array.minimum-length': 'Verður að hafa að minnsta kosti {{minLength}} atriði',\n /** Portable Text array has less than the minimum of \"$minLength\" blocks */\n 'array.minimum-length_blocks': 'Verður að hafa að minnsta kosti {{minLength}} blokkir',\n\n /** Date is not valid or not in the correct format (ISO-8601) */\n 'date.invalid-format': 'Verður að vera gild ISO-8601 sniðin dagsetning',\n /** Date is later than the given maximum date \"$maxDate\" */\n 'date.maximum': 'Verður að vera á eða fyrir {{maxDate}}',\n /** Date is earlier than the given minimum date \"$minDate\" */\n 'date.minimum': 'Verður að vera á eða eftir {{minDate}}',\n\n /** A value of incorrect type is found, eg found `number` instead of `string` */\n 'generic.incorrect-type': 'Væntanleg týpa \"{{expectedType}}\", fékk \"{{actualType}}\"',\n /** Value is not one of the values specifically allowed */\n 'generic.not-allowed': 'Gildi passaði ekki við nein leyfð gildi',\n /** Value \"$givenValue\" is not one of the values specifically allowed */\n 'generic.not-allowed_hint': 'Gildi \"{{hint}}\" passaði ekki við nein leyfð gildi',\n /** A value is expected, but none is provided */\n 'generic.required': 'Krafist',\n\n /** Number is less than the given minimum threshold value \"$threshold\" */\n 'number.greater-than': 'Verður að vera meira en {{threshold}}',\n /** Number is greater than the given maximum threshold value \"$threshold\" */\n 'number.less-than': 'Verður að vera minna en {{threshold}}',\n /** Number is higher than the given maximum value \"$maxNumber\" */\n 'number.maximum': 'Verður að vera lægra en eða jafnt og {{maxNumber}}',\n /** Number has more precision (decimals) than the allowed \"$limit\" */\n 'number.maximum-precision': 'Hámarks nákvæmni er {{limit}}',\n /** Number is lower than the given minimum value \"$minNumber\" */\n 'number.minimum': 'Verður að vera meira en eða jafnt og {{minNumber}}',\n /** Number is not an integer (\"whole number\") */\n 'number.non-integer': 'Verður að vera heiltala',\n\n /** Object is missing a reference to an asset document in its `asset` field */\n 'object.asset-required': 'Eign er krafist',\n /** Object is missing a reference to a file asset document in its `asset` field */\n 'object.asset-required_file': 'Skrá er krafist',\n /** Object is missing a reference to an image asset document in its `asset` field */\n 'object.asset-required_image': 'Mynd er krafist',\n /** Media can't be found in the Media Library */\n 'object.media-not-found': undefined, // 'The asset could not found in the Media Library'\n /** Media object is missing a reference to a document in its `_ref` field */\n 'object.not-media-library-asset': undefined, // 'Must be a reference to a Media Library asset'\n /** Object is not a reference to a document (eg `{_ref: 'documentId'}`) */\n 'object.not-reference': 'Verður að vera tilvísun í skjal',\n /** Object references a document which is not published */\n 'object.reference-not-published': 'Tilvísunarskjal verður að vera birt',\n\n /** Accessibility label for closing the validation panel */\n 'panel.close-button-aria-label': 'Loka staðfestingarvalmynd',\n /** Message shown when the validation panel is opened but there are no errors/warnings */\n 'panel.no-errors-message': 'Engar staðfestingarvillur',\n /** Title for the actual \"Validation\" panel/feature */\n 'panel.title': 'Staðfesting',\n /** Message shown when the validation panel is opened but the document is going to unpublish */\n 'panel.unpublish-message': undefined, // 'Document is going to unpublish, no validation errors are shown'\n\n /** Slug is an object, but is missing a `current` string property */\n 'slug.missing-current': 'Slug verður að hafa gildi',\n /** Slug is not an object (eg `{current: 'some-slug'}`) */\n 'slug.not-object': 'Slug verður að vera hlutur',\n /** Slug is already in use somewhere else, but needs to be unique */\n 'slug.not-unique': 'Slug er nú þegar í notkun',\n\n /** String is not a valid email address */\n 'string.email': 'Verður að vera gilt netfang',\n /** String has a different character length than the exact number \"$wantedLength\" */\n 'string.exact-length': 'Verður að vera nákvæmlega {{wantedLength}} stafir að lengd',\n /** String contains characters that are not in lowercase */\n 'string.lowercase': 'Verður að vera allt lágstafir',\n /** String is longer than the limit of \"$maxLength\" characters */\n 'string.maximum-length': 'Má vera í mesta lagi {{maxLength}} stafir að lengd',\n /** String is shorter than the limit of \"$minLength\" characters */\n 'string.minimum-length': 'Verður að vera að minnsta kosti {{minLength}} stafir að lengd',\n /** String does not match the given regular expression, but should */\n 'string.regex-does-not-match': 'Passar ekki við \"{{name}}\"-mynstrið',\n /** String matches the given regular expression, but should not */\n 'string.regex-match': 'Á ekki að passa við \"{{name}}\"-mynstrið',\n /** String contains characters that are not in uppercase */\n 'string.uppercase': 'Verður að vera allt hástafir',\n /** String contains a protocol/scheme that is not allowed, eg (`ftp`, `mailto`…) */\n 'string.url.disallowed-scheme': 'Passar ekki við leyfileg prótókól/snið',\n /** String contains a URL with a username or password specified before the host */\n 'string.url.includes-credentials': 'Notandanafn/lykilorð ekki leyft',\n /** String is not a valid URL */\n 'string.url.invalid': 'Ekki gild vefslóð',\n /** String is not an absolute URL (eg it is missing a protocol/host) */\n 'string.url.not-absolute': 'Afstæðar vefslóðir eru ekki leyfðar',\n /** String is not a relative URL (eg it contains a protocol/host) */\n 'string.url.not-relative': 'Aðeins afstæðar vefslóðir eru leyfðar',\n})\n"],"names":[],"mappings":";AAEA,IAAA,aAAe,+BAA+B;AAAA;AAAA,EAE5C,sBAAsB;AAAA;AAAA,EAEtB,6BAA6B;AAAA;AAAA,EAE7B,wBAAwB;AAAA;AAAA,EAExB,wBAAwB;AAAA;AAAA,EAExB,+BAA+B;AAAA;AAAA,EAE/B,wBAAwB;AAAA;AAAA,EAExB,+BAA+B;AAAA;AAAA,EAG/B,uBAAuB;AAAA;AAAA,EAEvB,gBAAgB;AAAA;AAAA,EAEhB,gBAAgB;AAAA;AAAA,EAGhB,0BAA0B;AAAA;AAAA,EAE1B,uBAAuB;AAAA;AAAA,EAEvB,4BAA4B;AAAA;AAAA,EAE5B,oBAAoB;AAAA;AAAA,EAGpB,uBAAuB;AAAA;AAAA,EAEvB,oBAAoB;AAAA;AAAA,EAEpB,kBAAkB;AAAA;AAAA,EAElB,4BAA4B;AAAA;AAAA,EAE5B,kBAAkB;AAAA;AAAA,EAElB,sBAAsB;AAAA;AAAA,EAGtB,yBAAyB;AAAA;AAAA,EAEzB,8BAA8B;AAAA;AAAA,EAE9B,+BAA+B;AAAA;AAAA,EAE/B,0BAA0B;AAAA;AAAA;AAAA,EAE1B,kCAAkC;AAAA;AAAA;AAAA,EAElC,wBAAwB;AAAA;AAAA,EAExB,kCAAkC;AAAA;AAAA,EAGlC,iCAAiC;AAAA;AAAA,EAEjC,2BAA2B;AAAA;AAAA,EAE3B,eAAe;AAAA;AAAA,EAEf,2BAA2B;AAAA;AAAA;AAAA,EAG3B,wBAAwB;AAAA;AAAA,EAExB,mBAAmB;AAAA;AAAA,EAEnB,mBAAmB;AAAA;AAAA,EAGnB,gBAAgB;AAAA;AAAA,EAEhB,uBAAuB;AAAA;AAAA,EAEvB,oBAAoB;AAAA;AAAA,EAEpB,yBAAyB;AAAA;AAAA,EAEzB,yBAAyB;AAAA;AAAA,EAEzB,+BAA+B;AAAA;AAAA,EAE/B,sBAAsB;AAAA;AAAA,EAEtB,oBAAoB;AAAA;AAAA,EAEpB,gCAAgC;AAAA;AAAA,EAEhC,mCAAmC;AAAA;AAAA,EAEnC,sBAAsB;AAAA;AAAA,EAEtB,2BAA2B;AAAA;AAAA,EAE3B,2BAA2B;AAC7B,CAAC;"}
|
package/package.json
CHANGED
package/src/copy-paste.ts
CHANGED
|
@@ -10,6 +10,8 @@ export default removeUndefinedLocaleResources({
|
|
|
10
10
|
/** Text on the field action button to paste a field */
|
|
11
11
|
'copy-paste.field-action-paste-button.field.title': 'Líma inn reit',
|
|
12
12
|
/** The error message that is shown when the clipboard is not supported */
|
|
13
|
+
'copy-paste.on-copy.validation.clipboard-not-supported.description': undefined, // 'Clipboard access required to copy this content. Allow clipboard permissions in your browser settings, then try copying again.'
|
|
14
|
+
/** The error message that is shown when the clipboard is not supported */
|
|
13
15
|
'copy-paste.on-copy.validation.clipboard-not-supported.title':
|
|
14
16
|
'Vafrinn þinn styður ekki þessa aðgerð',
|
|
15
17
|
/** The error message that is shown when there is no value to copy */
|
package/src/structure.ts
CHANGED
|
@@ -84,6 +84,14 @@ export default removeUndefinedLocaleResources({
|
|
|
84
84
|
/** Description for the archived release banner, rendered when viewing the history of a version document from the publihed view */
|
|
85
85
|
'banners.archived-release.description':
|
|
86
86
|
'Þú ert að skoða skjal sem er aðeins til lesturs og var vistað sem hluti af <VersionBadge>{{title}}</VersionBadge>. Það er ekki hægt að breyta því',
|
|
87
|
+
/** The explanation displayed when a user attempts to create a new draft document, but the draft model is not switched on */
|
|
88
|
+
'banners.choose-new-document-destination.cannot-create-draft-document': undefined, // 'Cannot create a draft document.'
|
|
89
|
+
/** The explanation displayed when a user attempts to create a new published document, but the schema type doesn't support live-editing */
|
|
90
|
+
'banners.choose-new-document-destination.cannot-create-published-document': undefined, // 'Cannot create a published document.'
|
|
91
|
+
/** The prompt displayed when a user must select a different perspective in order to create a document */
|
|
92
|
+
'banners.choose-new-document-destination.choose-destination': undefined, // 'Choose a destination for this document:'
|
|
93
|
+
/** The explanation displayed when a user attempts to create a new document in a release, but the selected release is inactive */
|
|
94
|
+
'banners.choose-new-document-destination.release-inactive': undefined, // 'The <VersionBadge>{{title}}</VersionBadge> release is not active.'
|
|
87
95
|
/** The text for the restore button on the deleted document banner */
|
|
88
96
|
'banners.deleted-document-banner.restore-button.text': 'Endurheimta nýjustu útgáfuna',
|
|
89
97
|
/** The text content for the deleted document banner */
|
|
@@ -97,6 +105,14 @@ export default removeUndefinedLocaleResources({
|
|
|
97
105
|
/** The text content for the live edit document when it's a draft */
|
|
98
106
|
'banners.live-edit-draft-banner.text':
|
|
99
107
|
'Tegundin <strong>{{schemaType}}</strong> hefur <code>liveEdit</code> virkt, en drög að þessu skjali eru til. Birta eða henda drögunum til að halda áfram að breyta því í rauntíma.',
|
|
108
|
+
/** The label for the "compare draft" action */
|
|
109
|
+
'banners.obsolete-draft.actions.compare-draft.text': undefined, // 'Compare draft'
|
|
110
|
+
/** The label for the "discard draft" action */
|
|
111
|
+
'banners.obsolete-draft.actions.discard-draft.text': undefined, // 'Discard draft'
|
|
112
|
+
/** The label for the "publish draft" action */
|
|
113
|
+
'banners.obsolete-draft.actions.publish-draft.text': undefined, // 'Publish draft'
|
|
114
|
+
/** The warning displayed when editing a document that has an obsolete draft because the draft model is not switched on */
|
|
115
|
+
'banners.obsolete-draft.draft-model-inactive.text': undefined, // 'The workspace does not have drafts enabled, but a draft version of this document exists.'
|
|
100
116
|
/** The text for the permission check banner if the user only has one role, and it does not allow publishing this document */
|
|
101
117
|
'banners.permission-check-banner.missing-permission_create_one':
|
|
102
118
|
'Hlutverk þitt <Roles/> hefur ekki heimildir til að búa til þetta skjal.',
|
|
@@ -162,6 +178,8 @@ export default removeUndefinedLocaleResources({
|
|
|
162
178
|
/** The text content for the unpublished document banner when is part of a release */
|
|
163
179
|
'banners.unpublished-release-banner.text':
|
|
164
180
|
'Þetta skjal verður óbirt sem hluti af <VersionBadge>{{title}}</VersionBadge> útgáfunni',
|
|
181
|
+
/** The text content for the unpublished document banner letting the user know that the current published version is being shown */
|
|
182
|
+
'banners.unpublished-release-banner.text-with-published': undefined, // 'Showing the current <strong>published</strong> version:'
|
|
165
183
|
|
|
166
184
|
/** Browser/tab title when creating a new document of a given type */
|
|
167
185
|
'browser-document-title.new-document': 'Nýtt {{schemaType}}',
|
package/src/studio.ts
CHANGED
|
@@ -1184,10 +1184,6 @@ export default removeUndefinedLocaleResources({
|
|
|
1184
1184
|
* when there are templates/types available for creation
|
|
1185
1185
|
*/
|
|
1186
1186
|
'new-document.create-new-document-label': 'Nýtt skjal…',
|
|
1187
|
-
/** Tooltip message for add document button when the selected perspective is published */
|
|
1188
|
-
'new-document.disabled-published.tooltip': 'Þú getur ekki búið til ný skjöl sem eru birt',
|
|
1189
|
-
/** Tooltip message for add document button when the selected perspective is for inactive release */
|
|
1190
|
-
'new-document.disabled-release.tooltip': 'Þú getur ekki bætt skjölum við þessa útgáfu',
|
|
1191
1187
|
/** Placeholder for the "filter" input within the new document menu */
|
|
1192
1188
|
'new-document.filter-placeholder': 'Sía',
|
|
1193
1189
|
/** Loading indicator text within the new document menu */
|
|
@@ -1252,8 +1248,17 @@ export default removeUndefinedLocaleResources({
|
|
|
1252
1248
|
'release.action.discard-version.failure': 'Mistókst að hafna útgáfu',
|
|
1253
1249
|
/** Action message for when a new release is created off an existing version, draft or published document */
|
|
1254
1250
|
'release.action.new-release': 'Ný útgáfa',
|
|
1251
|
+
'release.action.new-release.limit-reached_other': undefined, // 'This workspace is limited to {{count}} releases'
|
|
1255
1252
|
/** Tooltip message for not having permissions for creating new releases */
|
|
1256
1253
|
'release.action.permission.error': 'Þú hefur ekki leyfi til að framkvæma þessa aðgerð',
|
|
1254
|
+
/** Error message description for when a version is reverted from being unpublished */
|
|
1255
|
+
'release.action.revert-unpublish-version.failure.description': undefined, // 'Please try again or check your connection. The document is still going to be unpublished upon release.'
|
|
1256
|
+
/** Error message title for when a version is reverted from being unpublished */
|
|
1257
|
+
'release.action.revert-unpublish-version.failure.title': undefined, // 'Failed to revert from setting to unpublish on release.'
|
|
1258
|
+
/** Action message description for when a version is reverted from being unpublished */
|
|
1259
|
+
'release.action.revert-unpublish-version.success.description': undefined, // 'You can now edit this version.'
|
|
1260
|
+
/** Action message title for when a version is reverted from being unpublished */
|
|
1261
|
+
'release.action.revert-unpublish-version.success.title': undefined, // 'Successfully reverted from setting to unpublish on release.'
|
|
1257
1262
|
/** Error message for when a version is set to be unpublished */
|
|
1258
1263
|
'release.action.unpublish-version.failure': 'Mistókst að setja útgáfu til að vera óbirt í útgáfu',
|
|
1259
1264
|
/** Action message for when a version is set to be unpublished successfully */
|
|
@@ -1791,6 +1796,27 @@ export default removeUndefinedLocaleResources({
|
|
|
1791
1796
|
/** Accessibility label for the navbar status button */
|
|
1792
1797
|
'status-button.aria-label': 'Stillingarstaða',
|
|
1793
1798
|
|
|
1799
|
+
/* Time zone handling */
|
|
1800
|
+
'time-zone.action.search-for-timezone-placeholder': undefined, // 'Search for a city or time zone'
|
|
1801
|
+
/* Label for the local time zone button */
|
|
1802
|
+
'time-zone.action.select-local-time-zone': undefined, // 'Select local time zone'
|
|
1803
|
+
/* Dialog info for the time zone dialog */
|
|
1804
|
+
'time-zone.dialog-info.content-releases': undefined, // 'The selected time zone will change how dates are represented in content releases.'
|
|
1805
|
+
/* Dialog info for the time zone dialog */
|
|
1806
|
+
'time-zone.dialog-info.input': undefined, // 'The selected time zone will change how dates are represented only for this input in this document.'
|
|
1807
|
+
/* Dialog info for the time zone dialog */
|
|
1808
|
+
'time-zone.dialog-info.scheduled-publishing': undefined, // 'The selected time zone will change how dates are represented in schedules.'
|
|
1809
|
+
/* Label for the local time zone button */
|
|
1810
|
+
'time-zone.local-time': undefined, // 'local time'
|
|
1811
|
+
/* Label for the time zone button */
|
|
1812
|
+
'time-zone.time-zone': undefined, // 'Time zone'
|
|
1813
|
+
/* Tooltip content for the time zone dialog */
|
|
1814
|
+
'time-zone.time-zone-tooltip-content-releases': undefined, // 'Displaying releases in {{alternativeName}} GMT{{offset}}'
|
|
1815
|
+
/* Tooltip content for the time zone dialog */
|
|
1816
|
+
'time-zone.time-zone-tooltip-input': undefined, // 'Displaying <em>{{title}}</em> in {{alternativeName}} GMT{{offset}}'
|
|
1817
|
+
/* Tooltip content for the time zone dialog */
|
|
1818
|
+
'time-zone.time-zone-tooltip-scheduled-publishing': undefined, // 'Displaying schedules in {{alternativeName}} GMT{{offset}}'
|
|
1819
|
+
|
|
1794
1820
|
/** Title for the changes tooltip in the history inspector*/
|
|
1795
1821
|
'timeline.changes.title': 'Breytingar eftir',
|
|
1796
1822
|
/** Description for error when the timeline for the given document can't be loaded */
|
|
@@ -1854,7 +1880,7 @@ export default removeUndefinedLocaleResources({
|
|
|
1854
1880
|
'timeline.operation.edited-live': 'Breytt í beinni',
|
|
1855
1881
|
/** Label shown in review changes timeline when a document has been edited live, with a timestamp */
|
|
1856
1882
|
'timeline.operation.edited-live_timestamp': 'Breytt í beinni: {{timestamp, datetime}}',
|
|
1857
|
-
/** Label shown in review changes timeline when
|
|
1883
|
+
/** Label shown in review changes timeline event when transactions have been deleted by retention policy */
|
|
1858
1884
|
'timeline.operation.history-cleared': 'Eydd af varðveislustefnu',
|
|
1859
1885
|
/** Label shown in review changes timeline when a document was published */
|
|
1860
1886
|
'timeline.operation.published': 'Birt',
|
package/src/validation.ts
CHANGED
|
@@ -51,6 +51,10 @@ export default removeUndefinedLocaleResources({
|
|
|
51
51
|
'object.asset-required_file': 'Skrá er krafist',
|
|
52
52
|
/** Object is missing a reference to an image asset document in its `asset` field */
|
|
53
53
|
'object.asset-required_image': 'Mynd er krafist',
|
|
54
|
+
/** Media can't be found in the Media Library */
|
|
55
|
+
'object.media-not-found': undefined, // 'The asset could not found in the Media Library'
|
|
56
|
+
/** Media object is missing a reference to a document in its `_ref` field */
|
|
57
|
+
'object.not-media-library-asset': undefined, // 'Must be a reference to a Media Library asset'
|
|
54
58
|
/** Object is not a reference to a document (eg `{_ref: 'documentId'}`) */
|
|
55
59
|
'object.not-reference': 'Verður að vera tilvísun í skjal',
|
|
56
60
|
/** Object references a document which is not published */
|
|
@@ -62,6 +66,8 @@ export default removeUndefinedLocaleResources({
|
|
|
62
66
|
'panel.no-errors-message': 'Engar staðfestingarvillur',
|
|
63
67
|
/** Title for the actual "Validation" panel/feature */
|
|
64
68
|
'panel.title': 'Staðfesting',
|
|
69
|
+
/** Message shown when the validation panel is opened but the document is going to unpublish */
|
|
70
|
+
'panel.unpublish-message': undefined, // 'Document is going to unpublish, no validation errors are shown'
|
|
65
71
|
|
|
66
72
|
/** Slug is an object, but is missing a `current` string property */
|
|
67
73
|
'slug.missing-current': 'Slug verður að hafa gildi',
|