@sanity/locale-hr-hr 1.1.19 → 1.1.21

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: "hr-HR",
6
6
  title: "Hrvatski",
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: 'hr-HR',\n title: 'Hrvatski',\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: 1,\n weekend: [6, 7],\n },\n})\n\n/**\n * Hrvatski / Croatian locale/translation plugin for Sanity Studio\n *\n * @public\n */\nexport const hrHRLocale = definePlugin<{\n title?: string\n weekInfo?: LocaleDefinition['weekInfo']\n} | void>((config) => ({\n name: '@sanity/locale-hr-hr',\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,SA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aC,OAAAA,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: 'hr-HR',\n title: 'Hrvatski',\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: 1,\n weekend: [6, 7],\n },\n})\n\n/**\n * Hrvatski / Croatian locale/translation plugin for Sanity Studio\n *\n * @public\n */\nexport const hrHRLocale = definePlugin<{\n title?: string\n weekInfo?: LocaleDefinition['weekInfo']\n} | void>((config) => ({\n name: '@sanity/locale-hr-hr',\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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,MAAM;AAAA,EACN,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: "hr-HR",
4
4
  title: "Hrvatski",
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: 'hr-HR',\n title: 'Hrvatski',\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: 1,\n weekend: [6, 7],\n },\n})\n\n/**\n * Hrvatski / Croatian locale/translation plugin for Sanity Studio\n *\n * @public\n */\nexport const hrHRLocale = definePlugin<{\n title?: string\n weekInfo?: LocaleDefinition['weekInfo']\n} | void>((config) => ({\n name: '@sanity/locale-hr-hr',\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: 'hr-HR',\n title: 'Hrvatski',\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: 1,\n weekend: [6, 7],\n },\n})\n\n/**\n * Hrvatski / Croatian locale/translation plugin for Sanity Studio\n *\n * @public\n */\nexport const hrHRLocale = definePlugin<{\n title?: string\n weekInfo?: LocaleDefinition['weekInfo']\n} | void>((config) => ({\n name: '@sanity/locale-hr-hr',\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-hr-hr",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "private": false,
5
5
  "description": "Croatian / Hrvatski locale/translation for Sanity Studio",
6
6
  "keywords": [
package/src/canvas.ts ADDED
@@ -0,0 +1,67 @@
1
+ import {removeUndefinedLocaleResources} from 'sanity'
2
+
3
+ export default removeUndefinedLocaleResources({
4
+ /** The text for the "Edit in Canvas" action. */
5
+ 'action.edit-document': 'Uredi u Canvasu',
6
+ /** The text for the "Link to Canvas" action. */
7
+ 'action.link-document': 'Poveži s Canvasom',
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':
10
+ 'Pričekajte dok se ne riješe početne vrijednosti dokumenta',
11
+ /** The text for the "Link to Canvas" action when the user doesn't have permissions to link the document to Canvas. */
12
+ 'action.link-document-disabled.missing-permissions':
13
+ 'Nemate dozvolu za povezivanje ovog dokumenta s Canvasom',
14
+ /** The text for the "Link to Canvas" action when the document is not in the dashboard. */
15
+ 'action.link-document-disabled.not-in-dashboard':
16
+ 'Otvorite ovaj dokument u Dashboardu da biste ga povezali s Canvasom',
17
+ /** The text for the "Link to Canvas" action when the document is a version document. */
18
+ 'action.link-document-disabled.version-document': 'Dokumenti verzija još nisu podržani u Canvasu',
19
+ /** The text for the "Unlink from Canvas" action. */
20
+ 'action.unlink-document': 'Odspoji od Canvasa',
21
+
22
+ /** The text for the action button in the banner when the document is linked to Canvas. */
23
+ 'banner.edit-document-in-canvas': 'Uredi u Canvasu',
24
+ /** The text for the banner when the document is linked to Canvas. */
25
+ 'banner.linked-to-canvas': 'Ovaj dokument je povezan s Canvasom',
26
+
27
+ /** The text for the "Confirm document changes" dialog cancel button. */
28
+ 'dialog.confirm-document-changes.cancel': 'Odustani',
29
+ /** The text for the "Confirm document changes" dialog confirm button. */
30
+ 'dialog.confirm-document-changes.confirm': 'Prihvati i nastavi',
31
+ /** The description for the "Confirm document changes" dialog. */
32
+ 'dialog.confirm-document-changes.description':
33
+ 'Ovaj dokument treba biti ažuriran da bi bio kompatibilan s Canvasom.\n Postojeći sadržaj može biti uređen ili uklonjen kao dio ovog procesa.',
34
+ /** The description for the "Confirm document changes" dialog footer. */
35
+ 'dialog.confirm-document-changes.footer-description':
36
+ 'U bilo kojem trenutku možete prekinuti vezu s Canvasom',
37
+ /** The title for the "Confirm document changes" dialog. */
38
+ 'dialog.confirm-document-changes.title': 'Potvrdi promjene dokumenta',
39
+ /** The text for the Link to Canvas dialog when there is a error. */
40
+ 'dialog.link-to-canvas.error': 'Povezivanje s Canvasom nije uspjelo',
41
+ /** The text for the "Link to Canvas" dialog when the document is being redirected. */
42
+ 'dialog.link-to-canvas.redirecting':
43
+ 'Preusmjeravamo vas na Canvas kako biste dovršili povezivanje...',
44
+ /** The title for the "Link to Canvas" dialog. */
45
+ 'dialog.link-to-canvas.title': 'Poveži s Canvasom',
46
+ /** The text for the "Link to Canvas" dialog when the document is being validated. */
47
+ 'dialog.link-to-canvas.validating': 'Validacija',
48
+ /** The text for the "Unlink from Canvas" dialog cancel button. */
49
+ 'dialog.unlink-from-canvas.cancel': 'Odustani',
50
+ /** The text for the "Unlink from Canvas" dialog description. */
51
+ 'dialog.unlink-from-canvas.description':
52
+ 'Jednom kada prekinete vezu, moći ćete ga uređivati ovdje i buduće izmjene u Canvasu više se automatski neće mapirati na ovaj dokument.',
53
+ /** The text for the "Unlink from Canvas" dialog error message. */
54
+ 'dialog.unlink-from-canvas.error': 'Prekid veze s Canvasom nije uspio',
55
+ /** The text for the "Unlink from Canvas" dialog success message. */
56
+ 'dialog.unlink-from-canvas.success': 'Prekinuta veza s Canvasom',
57
+ /** The title for the "Unlink from Canvas" dialog. */
58
+ 'dialog.unlink-from-canvas.title': 'Odspoji od Canvasa',
59
+ /** The text for the "Unlink from Canvas" dialog unlink button. */
60
+ 'dialog.unlink-from-canvas.unlink-action': 'Odspoji sada',
61
+ /** The text for the "Unlink from Canvas" dialog when the document is being unlinked. */
62
+ 'dialog.unlink-from-canvas.unlinking':
63
+ 'Prekidate vezu <strong>“{{documentTitle}}”</strong> s Canvasom.',
64
+
65
+ /** The text for the "Navigate to Canvas" dialog error message. */
66
+ 'navigate-to-canvas-doc.error.missing-permissions': 'Nedostaju dozvole za navigaciju do Canvasa',
67
+ })
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': 'Uredite s Sanity Create',
19
19
 
20
- /** Details for the "Linking in progress" dialog */
21
- 'linking-in-progress-dialog.details':
22
- 'Jednom kada se povežete, vaše izmjene će se ovdje pojaviti u stvarnom vremenu.',
23
- /** Header of the "Linking in progress" dialog */
24
- 'linking-in-progress-dialog.header': 'Povezivanje sa Sanity Create',
25
- /** Lede text for the "Linking in progress" dialog */
26
- 'linking-in-progress-dialog.lede':
27
- 'Vratite se na Sanity Create. Vaš dokument će se automatski sinkronizirati (obično traje nekoliko sekundi).',
28
- /** "Linking in progress" troubleshooting button title */
29
- 'linking-in-progress-dialog.troubleshooting.button.title': 'Povezivanje kasni?',
30
- /** "Linking in progress" troubleshooting content */
31
- 'linking-in-progress-dialog.troubleshooting.content':
32
- 'Provjerite je li vaš prozor Sanity Create još uvijek otvoren, ili ako se proces čini zaglavljenim. Ako problemi i dalje postoje, pokušajte osvježiti Studio i pokušajte ponovno.',
33
-
34
- /** Subtitle of the "Start writing in Create" banner */
35
- 'start-in-create-banner.subtitle':
36
- 'Slobodno oblikovan, AI-pokretan urednik koji se izravno sinkronizira s vašim dokumentima u Sanity Studiu.',
37
- /** Header of the "Start writing in Create" banner */
38
- 'start-in-create-banner.title': 'Započnite s Sanity Create',
39
- /** Header badge of the "Start writing in Create" banner */
40
- 'start-in-create-banner.title-badge': 'Rani pristup',
41
-
42
20
  /** CTA in "Start writing in Create" dialog: Learn more */
43
21
  'start-in-create-dialog.cta.learn-more': 'Saznajte više',
44
- /** Toast error message when we dont have a resolved Sanity Create url*/
45
- 'start-in-create-dialog.error-toast.unresolved-url': 'Nije moguće odrediti URL za Sanity Create.',
46
-
47
- /** "Start in Sanity Create" link button text */
48
- 'start-in-create-link.label': 'Započnite u Sanity 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': 'Ovaj dokument je povezan sa Sanity Create',
package/src/index.ts CHANGED
@@ -4,6 +4,11 @@ const locale = defineLocale({
4
4
  id: 'hr-HR',
5
5
  title: 'Hrvatski',
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,9 @@ export default removeUndefinedLocaleResources({
11
11
  'action.delete.label': 'Izbriši',
12
12
  /** Label for the "Delete" document action while the document is being deleted */
13
13
  'action.delete.running.label': 'Brisanje…',
14
+ /** Tooltip when action is disabled because the document is linked to Canvas */
15
+ 'action.disabled-by-canvas.tooltip':
16
+ 'Neke akcije nad dokumentom su onemogućene za dokumente povezane s Canvasom',
14
17
  /** Message prompting the user to confirm discarding changes */
15
18
  'action.discard-changes.confirm-dialog.confirm-discard-changes':
16
19
  'Jeste li sigurni da želite odbaciti sve promjene od posljednjeg objavljivanja?',
@@ -177,6 +180,22 @@ export default removeUndefinedLocaleResources({
177
180
  /** The title for the close group button on the split pane on the document panel header */
178
181
  'buttons.split-pane-close-group-button.title': 'Zatvori grupu ploča',
179
182
 
183
+ /** The text for the canvas linked banner action button */
184
+ 'canvas.banner.edit-in-canvas-action': 'Uredi u Canvasu',
185
+ /** The text for the canvas linked banner when the document is a draft */
186
+ 'canvas.banner.linked-text.draft': 'Ovaj nacrt dokumenta je povezan s Canvasom',
187
+ /** The text for the canvas linked banner when the document is a live document */
188
+ 'canvas.banner.linked-text.published': 'Ovaj objavljeni dokument je povezan s Canvasom',
189
+ /** The text for the canvas linked banner when the document is a version document */
190
+ 'canvas.banner.linked-text.version': 'Ova verzija dokumenta je povezana s Canvasom',
191
+ /** The text for the canvas linked banner popover button */
192
+ 'canvas.banner.popover-button-text': 'Saznajte više',
193
+ /** The description for the canvas linked banner popover */
194
+ 'canvas.banner.popover-description':
195
+ 'Canvas vam omogućuje autorstvo u slobodnoj formi uredniku koji se automatski mapira natrag na Studio kao strukturirani sadržaj - dok tipkate.',
196
+ /** The heading for the canvas linked banner popover */
197
+ 'canvas.banner.popover-heading': 'Autorstvo s idejom na prvom mjestu',
198
+
180
199
  /** The label used in the changes inspector for the from selector */
181
200
  'changes.from.label': 'Od',
182
201
  /* The label for the history tab in the changes inspector*/
@@ -196,6 +215,8 @@ export default removeUndefinedLocaleResources({
196
215
  'compare-version.error.invalidPreviousDocumentParam':
197
216
  'Parametar prethodnog dokumenta je nevažeći.',
198
217
 
218
+ /** The text for the tooltip when the "Compare versions" action for a document is disabled */
219
+ 'compare-versions.menu-item.disabled-reason': 'Nema drugih verzija ovog dokumenta za usporedbu.',
199
220
  /** The text for the "Compare versions" action for a document */
200
221
  'compare-versions.menu-item.title': 'Usporedi verzije',
201
222
  /** The string used to label draft documents */
@@ -334,6 +355,11 @@ export default removeUndefinedLocaleResources({
334
355
  /** The title of the sync lock toast on the form view */
335
356
  'document-view.form-view.sync-lock-toast.title': 'Sinkronizacija dokumenta…',
336
357
 
358
+ /** The description for the document favorite action */
359
+ 'document.favorites.add-to-favorites': 'Dodaj u favorite',
360
+ /** The description for the document unfavorite action */
361
+ 'document.favorites.remove-from-favorites': 'Ukloni iz favorita',
362
+
337
363
  /**The title for the menu items that will be shown when expanding a publish release event to inspect the document */
338
364
  'events.inspect.release': 'Pregledaj <VersionBadge>{{releaseTitle}}</VersionBadge> dokument',
339
365
  /**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,32 @@
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': 'Onemogućeno',
6
+ /** "Enabled" status for auto-updates in About-dialog */
7
+ 'about-dialog.version-info.auto-updates.enabled': 'Omogućeno',
8
+ /** "Auto Updates" status header in About-dialog */
9
+ 'about-dialog.version-info.auto-updates.header': 'Automatska ažuriranja',
10
+ /** "How to enable" next to Disabled state for Auto updates in about dialog */
11
+ 'about-dialog.version-info.auto-updates.how-to-enable': 'Kako omogućiti',
12
+ /** Text displayed on the "Copy to clipboard"-button after clicked */
13
+ 'about-dialog.version-info.copy-to-clipboard-button.copied-text':
14
+ 'Kopirano u međuspremnik. Sretno lijepljenje!',
15
+ /** "Copy to Clipboard" button text for copying version details from About-dialog */
16
+ 'about-dialog.version-info.copy-to-clipboard-button.text': 'Kopiraj u međuspremnik',
17
+ /** "Current version" header in about dialog */
18
+ 'about-dialog.version-info.current-version.header': 'Trenutna verzija',
19
+ /** "How to upgrade" link text */
20
+ 'about-dialog.version-info.how-to-upgrade': 'Kako nadograditi',
21
+ /** "Latest version" header in about dialog */
22
+ 'about-dialog.version-info.latest-version.header': 'Najnovija verzija',
23
+ /** "Latest version" header in about dialog */
24
+ 'about-dialog.version-info.latest-version.text': 'Najnovija verzija je {{latestVersion}}',
25
+ /** "Up to date" status in About-dialog */
26
+ 'about-dialog.version-info.up-to-date': 'Ažurno',
27
+ /** "User agent" header in About-dialog */
28
+ 'about-dialog.version-info.user-agent.header': 'Korisnički agent',
29
+
4
30
  /** The text used in the tooltip shown in the dialog close button */
5
31
  'announcement.dialog.close': 'Zatvori',
6
32
  /** Aria label to be used in the dialog close button */
@@ -61,11 +87,18 @@ export default removeUndefinedLocaleResources({
61
87
  /** Text shown when the list of assets only include a specific set of types */
62
88
  'asset-source.dialog.accept-message':
63
89
  'Prikazuju se samo datoteke prihvaćenih tipova: <strong>{{acceptTypes}}</strong>',
90
+ /** Select asset dialog cancel-button */
91
+ 'asset-source.dialog.button.cancel': 'Odustani',
92
+ /** Select asset dialog select-button */
93
+ 'asset-source.dialog.button.select': 'Odaberi',
64
94
  /** Keys shared between both image asset source and file asset source */
65
95
  /** Select asset dialog title for files */
66
96
  'asset-source.dialog.default-title_file': 'Odaberite datoteku',
67
97
  /** Select asset dialog title for images */
68
98
  'asset-source.dialog.default-title_image': 'Odaberite sliku',
99
+ /** Insert asset error */
100
+ 'asset-source.dialog.insert-asset-error':
101
+ 'Greška pri umetanju resursa. Za više informacija pogledajte konzolu.',
69
102
  /** Select asset dialog load more items */
70
103
  'asset-source.dialog.load-more': 'Učitaj više',
71
104
  /** Text shown when selecting a file but there's no files to select from */
@@ -92,6 +125,7 @@ export default removeUndefinedLocaleResources({
92
125
  'asset-source.image.asset-list.delete-successful': 'Slika je obrisana',
93
126
  /** Text displayed on button or menu invoking the image asset source */
94
127
  'asset-source.image.title': 'Prenesene slike',
128
+ /** Built in asset source usage texts */
95
129
  'asset-source.usage-list.documents-using-file_named_one':
96
130
  'Jedan dokument koristi datoteku <code>{{filename}}</code>',
97
131
  'asset-source.usage-list.documents-using-file_named_other':
@@ -119,6 +153,17 @@ export default removeUndefinedLocaleResources({
119
153
  'asset-source.usage-list.documents-using-image_unnamed_zero':
120
154
  'Niti jedan dokument ne koristi ovu sliku',
121
155
 
156
+ /** Common (all) Asset Source texts. Note that all translation keys starting with 'asset-source.' is for the built in asset source. */
157
+ 'asset-sources.common.uploader.upload-failed.description':
158
+ 'Za više informacija pogledajte konzolu.',
159
+ 'asset-sources.common.uploader.upload-failed.title': 'Prijenos nije uspio',
160
+ /** Menu Items for Dataset Asset Source (will be replaced with workspace name by default) */
161
+ 'asset-sources.dataset.file.title': 'Datoteke radnog prostora',
162
+ 'asset-sources.dataset.image.title': 'Slike radnog prostora',
163
+ /** Menu Items for Media Library Asset Source */
164
+ 'asset-sources.media-library.file.title': 'Medijska knjižnica',
165
+ 'asset-sources.media-library.image.title': 'Medijska knjižnica',
166
+
122
167
  /** Label when a release has been deleted by a different user */
123
168
  'banners.deleted-bundle-banner.text': "Izdanje '<strong>{{title}}</strong>' je izbrisano.",
124
169
 
@@ -140,10 +185,8 @@ export default removeUndefinedLocaleResources({
140
185
  'calendar.action.go-to-yesterday': 'Jučer',
141
186
  /** Label for switch that controls whether or not to include time in given timestamp */
142
187
  'calendar.action.include-time-label': 'Uključi vrijeme',
143
- /** Action message for selecting the hour */
144
- 'calendar.action.select-hour': 'Odaberi sat',
145
- /** Action message for selecting the minute */
146
- 'calendar.action.select-minute': 'Odaberi minutu',
188
+ /** Action message for selecting the time */
189
+ 'calendar.action.select-time': 'Odaberi vrijeme',
147
190
  /** Action message for setting to the current time */
148
191
  'calendar.action.set-to-current-time': 'Postavi na trenutno vrijeme',
149
192
  /** 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 +410,9 @@ export default removeUndefinedLocaleResources({
367
410
  /** Label to show in the document footer indicating the revision from date of the document */
368
411
  'document-status.revision-from': 'Revizija od <em>{{date}}</em>',
369
412
 
413
+ /** Label to indicate that a document type was not found */
414
+ 'document.type.not-found': 'Tip dokumenta "{{type}}" nije pronađen',
415
+
370
416
  /** The value of the <code>_key</code> property must be a unique string. */
371
417
  'form.error.duplicate-keys-alert.details.additional-description':
372
418
  'Vrijednost svojstva <code>_key</code> mora biti jedinstveni niz.',
@@ -475,6 +521,8 @@ export default removeUndefinedLocaleResources({
475
521
 
476
522
  /** Text for button to cancel an ongoing upload */
477
523
  'input.files.common.cancel-upload': 'Otkaži',
524
+ /** Text for menuitem upload button default asset source */
525
+ 'input.files.common.upload-placeholder.file-input-button.default-source.badge': 'Zadano',
478
526
  /** Text for file input button in upload placeholder */
479
527
  'input.files.common.upload-placeholder.file-input-button.text': 'Prenesi',
480
528
  /** Uploading <FileName/> */
@@ -623,6 +671,8 @@ export default removeUndefinedLocaleResources({
623
671
  'inputs.files.common.placeholder.drop-to-upload_image': 'Ispusti za prijenos slike',
624
672
  /** Read only */
625
673
  'inputs.files.common.placeholder.read-only': 'Samo za čitanje',
674
+ /** Select asset source destination for files to upload */
675
+ 'inputs.files.common.placeholder.select-asset-source-upload-destination': 'Prenesi datoteke u:',
626
676
  /** Can't upload files here */
627
677
  'inputs.files.common.placeholder.upload-not-supported': 'Ovdje nije moguće prenijeti datoteke',
628
678
  /** Clear upload */
@@ -960,6 +1010,8 @@ export default removeUndefinedLocaleResources({
960
1010
  'inputs.reference.error.nonexistent-document.clear-button-label': 'Očisti',
961
1011
  /** Error title for when the search for a reference failed. Note that the message sent by the backend may not be localized. */
962
1012
  'inputs.reference.error.search-failed-title': 'Pretraga reference nije uspjela',
1013
+ /** Label for when the GDR points to an invalid type */
1014
+ 'inputs.reference.global.invalid-type': 'Referencirani dokument je nevažećeg tipa ({{typeName}})',
963
1015
  /** Alternative text for the image shown in cross-dataset reference input */
964
1016
  'inputs.reference.image-preview-alt-text': 'Pregled slike referentnog dokumenta',
965
1017
  /** 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 */
@@ -1176,9 +1228,6 @@ export default removeUndefinedLocaleResources({
1176
1228
  'release.action.discard-version': 'Odbaci verziju',
1177
1229
  /** Description for toast when version discarding failed */
1178
1230
  'release.action.discard-version.failure': 'Nije uspjelo odbacivanje verzije',
1179
- /** Description for toast when version deletion is successfully discarded */
1180
- 'release.action.discard-version.success':
1181
- 'Verzija <strong>{{title}}</strong> je uspješno odbačena',
1182
1231
  /** Action message for when a new release is created off an existing version, draft or published document */
1183
1232
  'release.action.new-release': 'Novo Izdanje',
1184
1233
  /** Tooltip message for not having permissions for creating new releases */
@@ -1199,6 +1248,8 @@ export default removeUndefinedLocaleResources({
1199
1248
  'release.chip.global.drafts': 'Nacrti',
1200
1249
  /** Label for Published chip in document header */
1201
1250
  'release.chip.published': 'Objavljeno',
1251
+ /** Label for tooltip in chip when document is in an archived release */
1252
+ 'release.chip.tooltip.archived': 'Ovo izdanje je arhivirano i ne može se uređivati.',
1202
1253
  /** Label for tooltip in chip with the created date */
1203
1254
  'release.chip.tooltip.created-date': 'Stvoreno {{date}}',
1204
1255
  /** Label for tooltip in draft chip when it's a live edit document */
@@ -1222,6 +1273,8 @@ export default removeUndefinedLocaleResources({
1222
1273
  'release.deleted-tooltip': 'Ovo izdanje je izbrisano',
1223
1274
  /** Title for copying version to a new release dialog */
1224
1275
  'release.dialog.copy-to-release.title': 'Kopiraj verziju u novo izdanje',
1276
+ /** Title for action create a release */
1277
+ 'release.dialog.create.confirm': 'Kreiraj izdanje',
1225
1278
  /** Title for creating releases dialog */
1226
1279
  'release.dialog.create.title': 'Stvori izdanje',
1227
1280
  /** Label for description in tooltip to explain release types */
@@ -1244,12 +1297,18 @@ export default removeUndefinedLocaleResources({
1244
1297
  'release.navbar.tooltip': 'Izdanja',
1245
1298
  /** The placeholder text when the release doesn't have a title */
1246
1299
  'release.placeholder-untitled-release': 'Izdanje bez naslova',
1300
+ /** The toast description that will be shown when the user has a release perspective which is now archived */
1301
+ 'release.toast.archived-release.description': 'Ovo izdanje je odspojeno',
1247
1302
  /** The toast title that will be shown when the user has a release perspective which is now archived */
1248
1303
  'release.toast.archived-release.title': "Izdanje '{{title}}' je arhivirano",
1249
- /** The toast tiele that will be shown the creating a release fails */
1304
+ /** The toast title that will be shown the creating a release fails */
1250
1305
  'release.toast.create-release-error.title': 'Neuspješno stvaranje izdanja',
1251
1306
  /**The toast title that will be shown when the user has a release perspective which is now deleted */
1252
1307
  'release.toast.not-found-release.title': "Izdanje '{{title}}' nije moguće pronaći",
1308
+ /** The toast description that will be shown when the user has a release perspective which is now published */
1309
+ 'release.toast.published-release.description': 'Ovo izdanje je odspojeno',
1310
+ /** The toast title that will be shown when the user has a release perspective which is now deleted */
1311
+ 'release.toast.published-release.title': "Izdanje '{{title}}' je objavljeno",
1253
1312
  /** Label for when a version of a document has already been added to the release */
1254
1313
  'release.tooltip.already-added': 'Verzija ovog dokumenta je već dodana',
1255
1314
  /** Label for when a release is scheduled / scheduling and a user can't add a document version to it */