@sanity/locale-is-is 1.2.12 → 1.2.14

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/index.cjs CHANGED
@@ -5,6 +5,12 @@ const locale = sanity.defineLocale({
5
5
  id: "is-IS",
6
6
  title: "\xCDslenska",
7
7
  bundles: [
8
+ {
9
+ namespace: "canvas",
10
+ resources: () => Promise.resolve().then(function() {
11
+ return require("./_chunks-cjs/canvas.cjs");
12
+ })
13
+ },
8
14
  {
9
15
  namespace: "comments",
10
16
  resources: () => Promise.resolve().then(function() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["import {defineLocale, definePlugin, type LocaleDefinition} from 'sanity'\n\nconst locale = defineLocale({\n id: 'is-IS',\n title: 'Íslenska',\n bundles: [\n {\n namespace: 'comments',\n resources: () => import('./comments'),\n },\n\n {\n namespace: 'copy-paste',\n resources: () => import('./copy-paste'),\n },\n\n {\n namespace: 'create',\n resources: () => import('./create'),\n },\n\n {\n namespace: 'structure',\n resources: () => import('./structure'),\n },\n\n {\n namespace: 'studio',\n resources: () => import('./studio'),\n },\n\n {\n namespace: 'tasks',\n resources: () => import('./tasks'),\n },\n\n {\n namespace: 'validation',\n resources: () => import('./validation'),\n },\n\n {\n namespace: 'vision',\n resources: () => import('./vision'),\n },\n ],\n weekInfo: {\n firstDay: 1,\n minimalDays: 4,\n weekend: [6, 7],\n },\n})\n\n/**\n * Íslenska / Icelandic locale/translation plugin for Sanity Studio\n *\n * @public\n */\nexport const isISLocale = definePlugin<{\n title?: string\n weekInfo?: LocaleDefinition['weekInfo']\n} | void>((config) => ({\n name: '@sanity/locale-is-is',\n i18n: {\n locales: [config ? {...locale, ...config} : locale],\n },\n}))\n"],"names":["defineLocale","definePlugin"],"mappings":";;;AAEA,MAAM,SAASA,OAAAA,aAAa;AAAA,EAC1B,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,SAAS;AAAA,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,aAGhB,CAAC,YAAY;AAAA,EACrB,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,SAAS,CAAC,SAAS,EAAC,GAAG,QAAQ,GAAG,OAAM,IAAI,MAAM;AAAA,EAAA;AAEtD,EAAE;;"}
1
+ {"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["import {defineLocale, definePlugin, type LocaleDefinition} from 'sanity'\n\nconst locale = defineLocale({\n id: 'is-IS',\n title: 'Íslenska',\n bundles: [\n {\n namespace: 'canvas',\n resources: () => import('./canvas'),\n },\n\n {\n namespace: 'comments',\n resources: () => import('./comments'),\n },\n\n {\n namespace: 'copy-paste',\n resources: () => import('./copy-paste'),\n },\n\n {\n namespace: 'create',\n resources: () => import('./create'),\n },\n\n {\n namespace: 'structure',\n resources: () => import('./structure'),\n },\n\n {\n namespace: 'studio',\n resources: () => import('./studio'),\n },\n\n {\n namespace: 'tasks',\n resources: () => import('./tasks'),\n },\n\n {\n namespace: 'validation',\n resources: () => import('./validation'),\n },\n\n {\n namespace: 'vision',\n resources: () => import('./vision'),\n },\n ],\n weekInfo: {\n firstDay: 1,\n minimalDays: 4,\n weekend: [6, 7],\n },\n})\n\n/**\n * Íslenska / Icelandic locale/translation plugin for Sanity Studio\n *\n * @public\n */\nexport const isISLocale = definePlugin<{\n title?: string\n weekInfo?: LocaleDefinition['weekInfo']\n} | void>((config) => ({\n name: '@sanity/locale-is-is',\n i18n: {\n locales: [config ? {...locale, ...config} : locale],\n },\n}))\n"],"names":["defineLocale","definePlugin"],"mappings":";;;AAEA,MAAM,SAASA,OAAAA,aAAa;AAAA,EAC1B,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,SAAS;AAAA,IACP;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,WAAA;AAAA,eAAA,QAAO,0BAAU;AAAA,MAAA,CAAA;AAAA,IACpC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,QAA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,MAAM;AAAA,IACJ,SAAS,CAAC,SAAS,EAAC,GAAG,QAAQ,GAAG,OAAM,IAAI,MAAM;AAAA,EAAA;AAEtD,EAAE;;"}
package/dist/index.js CHANGED
@@ -3,6 +3,10 @@ const locale = defineLocale({
3
3
  id: "is-IS",
4
4
  title: "\xCDslenska",
5
5
  bundles: [
6
+ {
7
+ namespace: "canvas",
8
+ resources: () => import("./_chunks-es/canvas.js")
9
+ },
6
10
  {
7
11
  namespace: "comments",
8
12
  resources: () => import("./_chunks-es/comments.js")
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import {defineLocale, definePlugin, type LocaleDefinition} from 'sanity'\n\nconst locale = defineLocale({\n id: 'is-IS',\n title: 'Íslenska',\n bundles: [\n {\n namespace: 'comments',\n resources: () => import('./comments'),\n },\n\n {\n namespace: 'copy-paste',\n resources: () => import('./copy-paste'),\n },\n\n {\n namespace: 'create',\n resources: () => import('./create'),\n },\n\n {\n namespace: 'structure',\n resources: () => import('./structure'),\n },\n\n {\n namespace: 'studio',\n resources: () => import('./studio'),\n },\n\n {\n namespace: 'tasks',\n resources: () => import('./tasks'),\n },\n\n {\n namespace: 'validation',\n resources: () => import('./validation'),\n },\n\n {\n namespace: 'vision',\n resources: () => import('./vision'),\n },\n ],\n weekInfo: {\n firstDay: 1,\n minimalDays: 4,\n weekend: [6, 7],\n },\n})\n\n/**\n * Íslenska / Icelandic locale/translation plugin for Sanity Studio\n *\n * @public\n */\nexport const isISLocale = definePlugin<{\n title?: string\n weekInfo?: LocaleDefinition['weekInfo']\n} | void>((config) => ({\n name: '@sanity/locale-is-is',\n i18n: {\n locales: [config ? {...locale, ...config} : locale],\n },\n}))\n"],"names":[],"mappings":";AAEA,MAAM,SAAS,aAAa;AAAA,EAC1B,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,SAAS;AAAA,IACP;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,0BAAY;AAAA,IACtC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,4BAAc;AAAA,IACxC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,wBAAU;AAAA,IACpC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,2BAAa;AAAA,IACvC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,wBAAU;AAAA,IACpC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,uBAAS;AAAA,IACnC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,4BAAc;AAAA,IACxC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,wBAAU;AAAA,IAAA;AAAA,EAEtC;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,aAAa;AAAA,IACb,SAAS,CAAC,GAAG,CAAC;AAAA,EAAA;AAElB,CAAC,GAOY,aAAa,aAGhB,CAAC,YAAY;AAAA,EACrB,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,SAAS,CAAC,SAAS,EAAC,GAAG,QAAQ,GAAG,OAAM,IAAI,MAAM;AAAA,EAAA;AAEtD,EAAE;"}
1
+ {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import {defineLocale, definePlugin, type LocaleDefinition} from 'sanity'\n\nconst locale = defineLocale({\n id: 'is-IS',\n title: 'Íslenska',\n bundles: [\n {\n namespace: 'canvas',\n resources: () => import('./canvas'),\n },\n\n {\n namespace: 'comments',\n resources: () => import('./comments'),\n },\n\n {\n namespace: 'copy-paste',\n resources: () => import('./copy-paste'),\n },\n\n {\n namespace: 'create',\n resources: () => import('./create'),\n },\n\n {\n namespace: 'structure',\n resources: () => import('./structure'),\n },\n\n {\n namespace: 'studio',\n resources: () => import('./studio'),\n },\n\n {\n namespace: 'tasks',\n resources: () => import('./tasks'),\n },\n\n {\n namespace: 'validation',\n resources: () => import('./validation'),\n },\n\n {\n namespace: 'vision',\n resources: () => import('./vision'),\n },\n ],\n weekInfo: {\n firstDay: 1,\n minimalDays: 4,\n weekend: [6, 7],\n },\n})\n\n/**\n * Íslenska / Icelandic locale/translation plugin for Sanity Studio\n *\n * @public\n */\nexport const isISLocale = definePlugin<{\n title?: string\n weekInfo?: LocaleDefinition['weekInfo']\n} | void>((config) => ({\n name: '@sanity/locale-is-is',\n i18n: {\n locales: [config ? {...locale, ...config} : locale],\n },\n}))\n"],"names":[],"mappings":";AAEA,MAAM,SAAS,aAAa;AAAA,EAC1B,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,SAAS;AAAA,IACP;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,wBAAU;AAAA,IACpC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,0BAAY;AAAA,IACtC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,4BAAc;AAAA,IACxC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,wBAAU;AAAA,IACpC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,2BAAa;AAAA,IACvC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,wBAAU;AAAA,IACpC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,uBAAS;AAAA,IACnC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,4BAAc;AAAA,IACxC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,OAAO,wBAAU;AAAA,IAAA;AAAA,EAEtC;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,aAAa;AAAA,IACb,SAAS,CAAC,GAAG,CAAC;AAAA,EAAA;AAElB,CAAC,GAOY,aAAa,aAGhB,CAAC,YAAY;AAAA,EACrB,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,SAAS,CAAC,SAAS,EAAC,GAAG,QAAQ,GAAG,OAAM,IAAI,MAAM;AAAA,EAAA;AAEtD,EAAE;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/locale-is-is",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
4
4
  "private": false,
5
5
  "description": "Icelandic / Íslenska locale/translation for Sanity Studio",
6
6
  "keywords": [
package/src/canvas.ts ADDED
@@ -0,0 +1,59 @@
1
+ import {removeUndefinedLocaleResources} from 'sanity'
2
+
3
+ export default removeUndefinedLocaleResources({
4
+ /** The text for the "Edit in Canvas" action. */
5
+ 'action.edit-document': undefined, // 'Edit in Canvas'
6
+ /** The text for the "Link to Canvas" action. */
7
+ 'action.link-document': undefined, // 'Link to Canvas'
8
+ /** The text for the "Link to Canvas" action when the document is not yet resolved. */
9
+ 'action.link-document-disabled.initial-value-not-resolved': undefined, // 'Please wait until the document initial values are resolved'
10
+ /** The text for the "Link to Canvas" action when the user doesn't have permissions to link the document to Canvas. */
11
+ 'action.link-document-disabled.missing-permissions': undefined, // 'You don\'t have permissions to link this document to Canvas'
12
+ /** The text for the "Link to Canvas" action when the document is not in the dashboard. */
13
+ 'action.link-document-disabled.not-in-dashboard': undefined, // 'Open this document in Dashboard to link to Canvas'
14
+ /** The text for the "Link to Canvas" action when the document is a version document. */
15
+ 'action.link-document-disabled.version-document': undefined, // 'Version documents are not yet supported in Canvas'
16
+ /** The text for the "Unlink from Canvas" action. */
17
+ 'action.unlink-document': undefined, // 'Unlink from Canvas'
18
+
19
+ /** The text for the action button in the banner when the document is linked to Canvas. */
20
+ 'banner.edit-document-in-canvas': undefined, // 'Edit in Canvas'
21
+ /** The text for the banner when the document is linked to Canvas. */
22
+ 'banner.linked-to-canvas': undefined, // 'This document is linked to Canvas'
23
+
24
+ /** The text for the "Confirm document changes" dialog cancel button. */
25
+ 'dialog.confirm-document-changes.cancel': undefined, // 'Cancel'
26
+ /** The text for the "Confirm document changes" dialog confirm button. */
27
+ 'dialog.confirm-document-changes.confirm': undefined, // 'Accept and continue'
28
+ /** The description for the "Confirm document changes" dialog. */
29
+ 'dialog.confirm-document-changes.description': undefined, // 'This document needs to be updated to be compatible with Canvas.\n Existing content may be edited or removed as part of this process.'
30
+ /** The description for the "Confirm document changes" dialog footer. */
31
+ 'dialog.confirm-document-changes.footer-description': undefined, // 'You can unlink from Canvas at any time'
32
+ /** The title for the "Confirm document changes" dialog. */
33
+ 'dialog.confirm-document-changes.title': undefined, // 'Confirm document changes'
34
+ /** The text for the Link to Canvas dialog when there is a error. */
35
+ 'dialog.link-to-canvas.error': undefined, // 'Failed to link to Canvas'
36
+ /** The text for the "Link to Canvas" dialog when the document is being redirected. */
37
+ 'dialog.link-to-canvas.redirecting': undefined, // 'Taking you to Canvas to complete linking...'
38
+ /** The title for the "Link to Canvas" dialog. */
39
+ 'dialog.link-to-canvas.title': undefined, // 'Link to Canvas'
40
+ /** The text for the "Link to Canvas" dialog when the document is being validated. */
41
+ 'dialog.link-to-canvas.validating': undefined, // 'Validating'
42
+ /** The text for the "Unlink from Canvas" dialog cancel button. */
43
+ 'dialog.unlink-from-canvas.cancel': undefined, // 'Cancel'
44
+ /** The text for the "Unlink from Canvas" dialog description. */
45
+ 'dialog.unlink-from-canvas.description': undefined, // 'Once unlinked, it will be editable here and future edits in Canvas will no longer automatically map to this document.'
46
+ /** The text for the "Unlink from Canvas" dialog error message. */
47
+ 'dialog.unlink-from-canvas.error': undefined, // 'Failed to unlink from Canvas'
48
+ /** The text for the "Unlink from Canvas" dialog success message. */
49
+ 'dialog.unlink-from-canvas.success': undefined, // 'Unlinked from Canvas'
50
+ /** The title for the "Unlink from Canvas" dialog. */
51
+ 'dialog.unlink-from-canvas.title': undefined, // 'Unlink from Canvas'
52
+ /** The text for the "Unlink from Canvas" dialog unlink button. */
53
+ 'dialog.unlink-from-canvas.unlink-action': undefined, // 'Unlink now'
54
+ /** The text for the "Unlink from Canvas" dialog when the document is being unlinked. */
55
+ 'dialog.unlink-from-canvas.unlinking': undefined, // 'You\'re unlinking <strong>“{{documentTitle}}”</strong> from Canvas.'
56
+
57
+ /** The text for the "Navigate to Canvas" dialog error message. */
58
+ 'navigate-to-canvas-doc.error.missing-permissions': undefined, // 'Missing permissions to navigate to Canvas'
59
+ })
package/src/create.ts CHANGED
@@ -17,35 +17,8 @@ export default removeUndefinedLocaleResources({
17
17
  /** Edit in Create button text */
18
18
  'edit-in-create-button.text': 'Breyta með Sanity Create',
19
19
 
20
- /** Details for the "Linking in progress" dialog */
21
- 'linking-in-progress-dialog.details':
22
- 'Eftir að tenging er lokið munu breytingar þínar birtast hér í rauntíma.',
23
- /** Header of the "Linking in progress" dialog */
24
- 'linking-in-progress-dialog.header': 'Tengist við Sanity Create',
25
- /** Lede text for the "Linking in progress" dialog */
26
- 'linking-in-progress-dialog.lede':
27
- 'Faraðu aftur í Sanity Create. Skjalið þitt mun samstillast sjálfkrafa (tekur venjulega nokkrar sekúndur).',
28
- /** "Linking in progress" troubleshooting button title */
29
- 'linking-in-progress-dialog.troubleshooting.button.title': 'Tenging tafin?',
30
- /** "Linking in progress" troubleshooting content */
31
- 'linking-in-progress-dialog.troubleshooting.content':
32
- 'Athugaðu hvort Sanity Create glugginn þinn er enn opinn, eða ef ferlið virðist vera fast. Ef vandamál viðvarandi, reyndu að endurnýja Studio og reyndu aftur.',
33
-
34
- /** Subtitle of the "Start writing in Create" banner */
35
- 'start-in-create-banner.subtitle':
36
- 'Frjáls form ritill, knúinn af gervigreind sem samstillist beint við skjöl Studio þíns.',
37
- /** Header of the "Start writing in Create" banner */
38
- 'start-in-create-banner.title': 'Byrjaðu með Sanity Create',
39
- /** Header badge of the "Start writing in Create" banner */
40
- 'start-in-create-banner.title-badge': 'Snemmtækur aðgangur',
41
-
42
20
  /** CTA in "Start writing in Create" dialog: Learn more */
43
21
  'start-in-create-dialog.cta.learn-more': 'Lærðu meira',
44
- /** Toast error message when we dont have a resolved Sanity Create url*/
45
- 'start-in-create-dialog.error-toast.unresolved-url': 'Ekki hægt að ákvarða Sanity Create URL.',
46
-
47
- /** "Start in Sanity Create" link button text */
48
- 'start-in-create-link.label': 'Byrjaðu í Create',
49
22
 
50
23
  /** Text for the document pane banner informing users that the document is linked to Sanity Create */
51
24
  'studio-create-link-banner.text': 'Þetta skjal er tengt við Sanity Create',
package/src/index.ts CHANGED
@@ -4,6 +4,11 @@ const locale = defineLocale({
4
4
  id: 'is-IS',
5
5
  title: 'Íslenska',
6
6
  bundles: [
7
+ {
8
+ namespace: 'canvas',
9
+ resources: () => import('./canvas'),
10
+ },
11
+
7
12
  {
8
13
  namespace: 'comments',
9
14
  resources: () => import('./comments'),
package/src/structure.ts CHANGED
@@ -11,6 +11,8 @@ export default removeUndefinedLocaleResources({
11
11
  'action.delete.label': 'Eyða',
12
12
  /** Label for the "Delete" document action while the document is being deleted */
13
13
  'action.delete.running.label': 'Eyði…',
14
+ /** Tooltip when action is disabled because the document is linked to Canvas */
15
+ 'action.disabled-by-canvas.tooltip': undefined, // 'Some document actions are disabled for documents linked to Canvas'
14
16
  /** Message prompting the user to confirm discarding changes */
15
17
  'action.discard-changes.confirm-dialog.confirm-discard-changes':
16
18
  'Ertu viss um að þú viljir henda öllum breytingum síðan síðast var birt?',
@@ -175,6 +177,21 @@ export default removeUndefinedLocaleResources({
175
177
  /** The title for the close group button on the split pane on the document panel header */
176
178
  'buttons.split-pane-close-group-button.title': 'Loka gluggahópi',
177
179
 
180
+ /** The text for the canvas linked banner action button */
181
+ 'canvas.banner.edit-in-canvas-action': undefined, // 'Edit in Canvas'
182
+ /** The text for the canvas linked banner when the document is a draft */
183
+ 'canvas.banner.linked-text.draft': undefined, // 'This draft document is linked to Canvas'
184
+ /** The text for the canvas linked banner when the document is a live document */
185
+ 'canvas.banner.linked-text.published': undefined, // 'This live document is linked to Canvas'
186
+ /** The text for the canvas linked banner when the document is a version document */
187
+ 'canvas.banner.linked-text.version': undefined, // 'This version document is linked to Canvas'
188
+ /** The text for the canvas linked banner popover button */
189
+ 'canvas.banner.popover-button-text': undefined, // 'Learn more'
190
+ /** The description for the canvas linked banner popover */
191
+ 'canvas.banner.popover-description': undefined, // 'Canvas lets you author in a free-form editor that automatically maps back to the Studio as structured content - as you type.'
192
+ /** The heading for the canvas linked banner popover */
193
+ 'canvas.banner.popover-heading': undefined, // 'Idea first authoring'
194
+
178
195
  /** The label used in the changes inspector for the from selector */
179
196
  'changes.from.label': 'Frá',
180
197
  /* The label for the history tab in the changes inspector*/
@@ -194,6 +211,8 @@ export default removeUndefinedLocaleResources({
194
211
  /** The error message shown when the previous document for comparison could not be extracted from the URL */
195
212
  'compare-version.error.invalidPreviousDocumentParam': 'Fyrri skjals parameter er ógilt.',
196
213
 
214
+ /** The text for the tooltip when the "Compare versions" action for a document is disabled */
215
+ 'compare-versions.menu-item.disabled-reason': undefined, // 'There are no other versions of this document to compare.'
197
216
  /** The text for the "Compare versions" action for a document */
198
217
  'compare-versions.menu-item.title': 'Bera saman útgáfur',
199
218
  /** The string used to label draft documents */
@@ -330,6 +349,11 @@ export default removeUndefinedLocaleResources({
330
349
  /** The title of the sync lock toast on the form view */
331
350
  'document-view.form-view.sync-lock-toast.title': 'Samstilli skjal…',
332
351
 
352
+ /** The description for the document favorite action */
353
+ 'document.favorites.add-to-favorites': undefined, // 'Add to favorites'
354
+ /** The description for the document unfavorite action */
355
+ 'document.favorites.remove-from-favorites': undefined, // 'Remove from favorites'
356
+
333
357
  /**The title for the menu items that will be shown when expanding a publish release event to inspect the document */
334
358
  'events.inspect.release': 'Skoða <VersionBadge>{{releaseTitle}}</VersionBadge> skjal',
335
359
  /**The title for the menu items that will be shown when expanding a publish draft event to inspect the draft document*/
package/src/studio.ts CHANGED
@@ -1,6 +1,31 @@
1
1
  import {removeUndefinedLocaleResources} from 'sanity'
2
2
 
3
3
  export default removeUndefinedLocaleResources({
4
+ /** "Disabled" status for auto-updates in About-dialog */
5
+ 'about-dialog.version-info.auto-updates.disabled': undefined, // 'Disabled'
6
+ /** "Enabled" status for auto-updates in About-dialog */
7
+ 'about-dialog.version-info.auto-updates.enabled': undefined, // 'Enabled'
8
+ /** "Auto Updates" status header in About-dialog */
9
+ 'about-dialog.version-info.auto-updates.header': undefined, // 'Auto Updates'
10
+ /** "How to enable" next to Disabled state for Auto updates in about dialog */
11
+ 'about-dialog.version-info.auto-updates.how-to-enable': undefined, // 'How to enable'
12
+ /** Text displayed on the "Copy to clipboard"-button after clicked */
13
+ 'about-dialog.version-info.copy-to-clipboard-button.copied-text': undefined, // 'Copied to Clipboard. Happy pasting!'
14
+ /** "Copy to Clipboard" button text for copying version details from About-dialog */
15
+ 'about-dialog.version-info.copy-to-clipboard-button.text': undefined, // 'Copy to Clipboard'
16
+ /** "Current version" header in about dialog */
17
+ 'about-dialog.version-info.current-version.header': undefined, // 'Current version'
18
+ /** "How to upgrade" link text */
19
+ 'about-dialog.version-info.how-to-upgrade': undefined, // 'How to upgrade'
20
+ /** "Latest version" header in about dialog */
21
+ 'about-dialog.version-info.latest-version.header': undefined, // 'Latest version'
22
+ /** "Latest version" header in about dialog */
23
+ 'about-dialog.version-info.latest-version.text': undefined, // 'Latest version is {{latestVersion}}'
24
+ /** "Up to date" status in About-dialog */
25
+ 'about-dialog.version-info.up-to-date': undefined, // 'Up to date'
26
+ /** "User agent" header in About-dialog */
27
+ 'about-dialog.version-info.user-agent.header': undefined, // 'User agent'
28
+
4
29
  /** The text used in the tooltip shown in the dialog close button */
5
30
  'announcement.dialog.close': 'Loka',
6
31
  /** Aria label to be used in the dialog close button */
@@ -61,11 +86,17 @@ export default removeUndefinedLocaleResources({
61
86
  /** Text shown when the list of assets only include a specific set of types */
62
87
  'asset-source.dialog.accept-message':
63
88
  'Aðeins sýndar eignir af samþykktum gerðum: <strong>{{acceptTypes}}</strong>',
89
+ /** Select asset dialog cancel-button */
90
+ 'asset-source.dialog.button.cancel': undefined, // 'Cancel'
91
+ /** Select asset dialog select-button */
92
+ 'asset-source.dialog.button.select': undefined, // 'Select'
64
93
  /** Keys shared between both image asset source and file asset source */
65
94
  /** Select asset dialog title for files */
66
95
  'asset-source.dialog.default-title_file': 'Veldu skrá',
67
96
  /** Select asset dialog title for images */
68
97
  'asset-source.dialog.default-title_image': 'Veldu mynd',
98
+ /** Insert asset error */
99
+ 'asset-source.dialog.insert-asset-error': undefined, // 'Error inserting asset. See the console for more information.'
69
100
  /** Select asset dialog load more items */
70
101
  'asset-source.dialog.load-more': 'Hlaða meira',
71
102
  /** Text shown when selecting a file but there's no files to select from */
@@ -92,6 +123,7 @@ export default removeUndefinedLocaleResources({
92
123
  'asset-source.image.asset-list.delete-successful': 'Mynd var eytt',
93
124
  /** Text displayed on button or menu invoking the image asset source */
94
125
  'asset-source.image.title': 'Upphlaðnar myndir',
126
+ /** Built in asset source usage texts */
95
127
  'asset-source.usage-list.documents-using-file_named_one':
96
128
  'Eitt skjal er að nota skrána <code>{{filename}}</code>',
97
129
  'asset-source.usage-list.documents-using-file_named_other':
@@ -118,6 +150,16 @@ export default removeUndefinedLocaleResources({
118
150
  'asset-source.usage-list.documents-using-image_unnamed_zero':
119
151
  'Engin skjöl eru að nota þessa mynd',
120
152
 
153
+ /** Common (all) Asset Source texts. Note that all translation keys starting with 'asset-source.' is for the built in asset source. */
154
+ 'asset-sources.common.uploader.upload-failed.description': undefined, // 'See the console for more information.'
155
+ 'asset-sources.common.uploader.upload-failed.title': undefined, // 'Upload failed'
156
+ /** Menu Items for Dataset Asset Source (will be replaced with workspace name by default) */
157
+ 'asset-sources.dataset.file.title': undefined, // 'Workspace files'
158
+ 'asset-sources.dataset.image.title': undefined, // 'Workspace images'
159
+ /** Menu Items for Media Library Asset Source */
160
+ 'asset-sources.media-library.file.title': undefined, // 'Media Library'
161
+ 'asset-sources.media-library.image.title': undefined, // 'Media Library'
162
+
121
163
  /** Label when a release has been deleted by a different user */
122
164
  'banners.deleted-bundle-banner.text': "Útgáfan '<strong>{{title}}</strong>' hefur verið eytt.",
123
165
 
@@ -139,10 +181,8 @@ export default removeUndefinedLocaleResources({
139
181
  'calendar.action.go-to-yesterday': 'Í gær',
140
182
  /** Label for switch that controls whether or not to include time in given timestamp */
141
183
  'calendar.action.include-time-label': 'Innifalið tíma',
142
- /** Action message for selecting the hour */
143
- 'calendar.action.select-hour': 'Veldu klukkustund',
144
- /** Action message for selecting the minute */
145
- 'calendar.action.select-minute': 'Veldu mínútu',
184
+ /** Action message for selecting the time */
185
+ 'calendar.action.select-time': undefined, // 'Select time'
146
186
  /** Action message for setting to the current time */
147
187
  'calendar.action.set-to-current-time': 'Stilltu á núverandi tíma',
148
188
  /** Label for selecting an hour preset. Receives a `time` param as a string on hh:mm format and a `date` param as a Date instance denoting the preset date */
@@ -367,6 +407,9 @@ export default removeUndefinedLocaleResources({
367
407
  /** Label to show in the document footer indicating the revision from date of the document */
368
408
  'document-status.revision-from': 'Endurskoðun frá <em>{{date}}</em>',
369
409
 
410
+ /** Label to indicate that a document type was not found */
411
+ 'document.type.not-found': undefined, // 'Document type "{{type}}" not found'
412
+
370
413
  /** The value of the <code>_key</code> property must be a unique string. */
371
414
  'form.error.duplicate-keys-alert.details.additional-description':
372
415
  'Gildi <code>_key</code> eiginleikans verður að vera einstakt strengur.',
@@ -475,6 +518,8 @@ export default removeUndefinedLocaleResources({
475
518
 
476
519
  /** Text for button to cancel an ongoing upload */
477
520
  'input.files.common.cancel-upload': 'Hætta við',
521
+ /** Text for menuitem upload button default asset source */
522
+ 'input.files.common.upload-placeholder.file-input-button.default-source.badge': undefined, // 'Default'
478
523
  /** Text for file input button in upload placeholder */
479
524
  'input.files.common.upload-placeholder.file-input-button.text': 'Hlaða upp',
480
525
  /** Uploading <FileName/> */
@@ -621,6 +666,8 @@ export default removeUndefinedLocaleResources({
621
666
  'inputs.files.common.placeholder.drop-to-upload_image': 'Slepptu til að hlaða upp mynd',
622
667
  /** Read only */
623
668
  'inputs.files.common.placeholder.read-only': 'Aðeins til lesturs',
669
+ /** Select asset source destination for files to upload */
670
+ 'inputs.files.common.placeholder.select-asset-source-upload-destination': undefined, // 'Upload files to:'
624
671
  /** Can't upload files here */
625
672
  'inputs.files.common.placeholder.upload-not-supported': 'Get ekki hlaðið upp skrám hér',
626
673
  /** Clear upload */
@@ -957,6 +1004,8 @@ export default removeUndefinedLocaleResources({
957
1004
  'inputs.reference.error.nonexistent-document.clear-button-label': 'Hreinsa',
958
1005
  /** Error title for when the search for a reference failed. Note that the message sent by the backend may not be localized. */
959
1006
  'inputs.reference.error.search-failed-title': 'Leit að tilvísun mistókst',
1007
+ /** Label for when the GDR points to an invalid type */
1008
+ 'inputs.reference.global.invalid-type': undefined, // 'The referenced document is of invalid type ({{typeName}})'
960
1009
  /** Alternative text for the image shown in cross-dataset reference input */
961
1010
  'inputs.reference.image-preview-alt-text': 'Myndforskoðun af tilvísaðu skjali',
962
1011
  /** Description for alert shown when a reference in a live-edit document is marked as being weak, the referenced document exists, AND the reference is supposed to be have been strengthened on publish */
@@ -1172,9 +1221,6 @@ export default removeUndefinedLocaleResources({
1172
1221
  'release.action.discard-version': 'Hafna útgáfu',
1173
1222
  /** Description for toast when version discarding failed */
1174
1223
  'release.action.discard-version.failure': 'Mistókst að hafna útgáfu',
1175
- /** Description for toast when version deletion is successfully discarded */
1176
- 'release.action.discard-version.success':
1177
- '<strong>{{title}}</strong> útgáfa var hafnað með góðum árangri',
1178
1224
  /** Action message for when a new release is created off an existing version, draft or published document */
1179
1225
  'release.action.new-release': 'Ný útgáfa',
1180
1226
  /** Tooltip message for not having permissions for creating new releases */
@@ -1194,6 +1240,8 @@ export default removeUndefinedLocaleResources({
1194
1240
  'release.chip.global.drafts': 'Drög',
1195
1241
  /** Label for Published chip in document header */
1196
1242
  'release.chip.published': 'Birt',
1243
+ /** Label for tooltip in chip when document is in an archived release */
1244
+ 'release.chip.tooltip.archived': undefined, // 'This release is archived and cannot be edited.'
1197
1245
  /** Label for tooltip in chip with the created date */
1198
1246
  'release.chip.tooltip.created-date': 'Búið til {{date}}',
1199
1247
  /** Label for tooltip in draft chip when it's a live edit document */
@@ -1217,6 +1265,8 @@ export default removeUndefinedLocaleResources({
1217
1265
  'release.deleted-tooltip': 'Þessari útgáfu hefur verið eytt',
1218
1266
  /** Title for copying version to a new release dialog */
1219
1267
  'release.dialog.copy-to-release.title': 'Afrita útgáfu í nýja útgáfu',
1268
+ /** Title for action create a release */
1269
+ 'release.dialog.create.confirm': undefined, // 'Create release'
1220
1270
  /** Title for creating releases dialog */
1221
1271
  'release.dialog.create.title': 'Ný útgáfa',
1222
1272
  /** Label for description in tooltip to explain release types */
@@ -1238,12 +1288,18 @@ export default removeUndefinedLocaleResources({
1238
1288
  'release.navbar.tooltip': 'Útgáfur',
1239
1289
  /** The placeholder text when the release doesn't have a title */
1240
1290
  'release.placeholder-untitled-release': 'Ónefnd útgáfa',
1291
+ /** The toast description that will be shown when the user has a release perspective which is now archived */
1292
+ 'release.toast.archived-release.description': undefined, // 'This release has been unpinned'
1241
1293
  /** The toast title that will be shown when the user has a release perspective which is now archived */
1242
1294
  'release.toast.archived-release.title': "Útgáfunni '{{title}}' hefur verið safnað",
1243
- /** The toast tiele that will be shown the creating a release fails */
1295
+ /** The toast title that will be shown the creating a release fails */
1244
1296
  'release.toast.create-release-error.title': 'Mistókst að búa til útgáfu',
1245
1297
  /**The toast title that will be shown when the user has a release perspective which is now deleted */
1246
1298
  'release.toast.not-found-release.title': "Ekki tókst að finna '{{title}}' útgáfuna",
1299
+ /** The toast description that will be shown when the user has a release perspective which is now published */
1300
+ 'release.toast.published-release.description': undefined, // 'This release has been unpinned'
1301
+ /** The toast title that will be shown when the user has a release perspective which is now deleted */
1302
+ 'release.toast.published-release.title': undefined, // 'The \'{{title}}\' release was published'
1247
1303
  /** Label for when a version of a document has already been added to the release */
1248
1304
  'release.tooltip.already-added': 'Útgáfa af þessu skjali hefur þegar verið bætt við',
1249
1305
  /** Label for when a release is scheduled / scheduling and a user can't add a document version to it */