@sanity/locale-ca-es 1.0.0

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.
Files changed (55) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +61 -0
  3. package/dist/_chunks-cjs/canvas.cjs +58 -0
  4. package/dist/_chunks-cjs/canvas.cjs.map +1 -0
  5. package/dist/_chunks-cjs/comments.cjs +175 -0
  6. package/dist/_chunks-cjs/comments.cjs.map +1 -0
  7. package/dist/_chunks-cjs/copy-paste.cjs +53 -0
  8. package/dist/_chunks-cjs/copy-paste.cjs.map +1 -0
  9. package/dist/_chunks-cjs/create.cjs +50 -0
  10. package/dist/_chunks-cjs/create.cjs.map +1 -0
  11. package/dist/_chunks-cjs/structure.cjs +490 -0
  12. package/dist/_chunks-cjs/structure.cjs.map +1 -0
  13. package/dist/_chunks-cjs/studio.cjs +1705 -0
  14. package/dist/_chunks-cjs/studio.cjs.map +1 -0
  15. package/dist/_chunks-cjs/tasks.cjs +155 -0
  16. package/dist/_chunks-cjs/tasks.cjs.map +1 -0
  17. package/dist/_chunks-cjs/validation.cjs +93 -0
  18. package/dist/_chunks-cjs/validation.cjs.map +1 -0
  19. package/dist/_chunks-cjs/vision.cjs +76 -0
  20. package/dist/_chunks-cjs/vision.cjs.map +1 -0
  21. package/dist/_chunks-es/canvas.js +60 -0
  22. package/dist/_chunks-es/canvas.js.map +1 -0
  23. package/dist/_chunks-es/comments.js +177 -0
  24. package/dist/_chunks-es/comments.js.map +1 -0
  25. package/dist/_chunks-es/copy-paste.js +55 -0
  26. package/dist/_chunks-es/copy-paste.js.map +1 -0
  27. package/dist/_chunks-es/create.js +52 -0
  28. package/dist/_chunks-es/create.js.map +1 -0
  29. package/dist/_chunks-es/structure.js +492 -0
  30. package/dist/_chunks-es/structure.js.map +1 -0
  31. package/dist/_chunks-es/studio.js +1707 -0
  32. package/dist/_chunks-es/studio.js.map +1 -0
  33. package/dist/_chunks-es/tasks.js +157 -0
  34. package/dist/_chunks-es/tasks.js.map +1 -0
  35. package/dist/_chunks-es/validation.js +95 -0
  36. package/dist/_chunks-es/validation.js.map +1 -0
  37. package/dist/_chunks-es/vision.js +78 -0
  38. package/dist/_chunks-es/vision.js.map +1 -0
  39. package/dist/index.cjs +75 -0
  40. package/dist/index.cjs.map +1 -0
  41. package/dist/index.d.cts +14 -0
  42. package/dist/index.d.ts +14 -0
  43. package/dist/index.js +57 -0
  44. package/dist/index.js.map +1 -0
  45. package/package.json +60 -0
  46. package/src/canvas.ts +67 -0
  47. package/src/comments.ts +197 -0
  48. package/src/copy-paste.ts +66 -0
  49. package/src/create.ts +40 -0
  50. package/src/index.ts +72 -0
  51. package/src/structure.ts +582 -0
  52. package/src/studio.ts +1941 -0
  53. package/src/tasks.ts +172 -0
  54. package/src/validation.ts +99 -0
  55. package/src/vision.ts +83 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasks.js","sources":["../../src/tasks.ts"],"sourcesContent":["import {removeUndefinedLocaleResources} from 'sanity'\n\nexport default removeUndefinedLocaleResources({\n /** The label for the create task action */\n 'actions.create.text': 'Crea una nova tasca',\n /** The label for the open tasks panel action */\n 'actions.open.text': 'Tasques',\n\n /** The label for the button to create a new task */\n 'buttons.create.text': 'Crea Tasca',\n /** The label for the button to discard changes */\n 'buttons.discard.text': 'Descarta',\n /** The label for the button to open the draft */\n 'buttons.draft.text': 'Esborrany',\n /** The label for the button to create a new task */\n 'buttons.new.text': 'Nova tasca',\n /** The text for tooltip in the create a new task button when mode is upsell */\n 'buttons.new.upsell-tooltip': 'Actualitza per crear tasques',\n /** The label for the button that will navigate to the next task */\n 'buttons.next.tooltip': 'Vés a la següent tasca',\n /** The label for the button that will previous to the next task */\n 'buttons.previous.tooltip': 'Vés a la tasca anterior',\n\n /** Text for the remove task dialog asking for confirmation of deletion */\n 'dialog.remove-task.body': 'Un cop eliminada, una tasca no es pot recuperar.',\n /** The label for the cancel button on the remove task dialog */\n 'dialog.remove-task.buttons.cancel.text': 'Cancel·la',\n /** The label for the confirmation button on the remove task dialog */\n 'dialog.remove-task.buttons.confirm.text': 'Elimina',\n /** The title for the remove task dialog */\n 'dialog.remove-task.title': 'Vols eliminar aquesta tasca?',\n\n /** The text used as a placeholder for the footer action in a document with a single task */\n 'document.footer.open-tasks.placeholder_one': 'Obre tasca',\n /** The text used as a placeholder for the footer action in a document with multiple tasks */\n 'document.footer.open-tasks.placeholder_other': 'Obre tasques',\n /** The label used in the button in the footer action in a document with a single task */\n 'document.footer.open-tasks.text_one': '{{count}} tasca oberta',\n /** The label used in the button in the footer action in a document with multiple tasks */\n 'document.footer.open-tasks.text_other': '{{count}} tasques obertes',\n\n /** The heading in the tasks sidebar, in the assigned tab, when the user hasn't been assigned to any task*/\n 'empty-state.list.assigned.heading': \"No t'han assignat cap tasca\",\n /** The text in the tasks sidebar, in the assigned tab, when the user hasn't been assigned to any task*/\n 'empty-state.list.assigned.text': \"Un cop t'assignin tasques, apareixeran aquí\",\n /** The text in the tasks sidebar button any of the empty states is rendered*/\n 'empty-state.list.create-new': 'Crea una nova tasca',\n /** The heading in the tasks sidebar, in the document tab, when the document doesn't have any task*/\n 'empty-state.list.document.heading': 'Aquest document encara no té cap tasca',\n /** The text in the tasks sidebar, in the document tab, when the document doesn't have any task*/\n 'empty-state.list.document.text':\n 'Un cop un document tingui tasques connectades, es mostraran aquí.',\n /** The heading in the tasks sidebar, when viewing the document tab, but there is not an active document*/\n 'empty-state.list.no-active-document.heading': 'Obre un document per veure la seva tasca',\n /** The text in the tasks sidebar, when viewing the document tab, but there is not an active document*/\n 'empty-state.list.no-active-document.text':\n 'Les tasques del teu document actiu es mostraran aquí.',\n /** The heading in the tasks sidebar, in the subscriber tab, when the user is not subscribed to any task*/\n 'empty-state.list.subscribed.heading': \"No t'has subscrit a cap tasca\",\n /** The text in the tasks sidebar, in the subscriber tab, when the user is not subscribed to any task*/\n 'empty-state.list.subscribed.text':\n 'Quan creïs, modifiquis o comenteu una tasca, us hi subscriureu automàticament',\n /** The heading in the tasks sidebar, in the assigned tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.assigned.heading': 'Cap tasca completada',\n /** The text in the tasks sidebar, in the assigned tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.assigned.text':\n 'Les vostres tasques marcades com a fetes apareixeran aquí',\n /** The heading in the tasks sidebar, in the document tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.document.heading': 'Cap tasca completada',\n /** The heading in the tasks sidebar, in the subscribed tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.subscribed.heading': 'Cap tasca completada',\n /** The text in the tasks sidebar, in the subscribed tab, under the closed details, when it's empty.*/\n 'empty-state.status.list.closed.subscribed.text':\n 'Les tasques a les quals us subscriviu marcades com a fetes apareixeran aquí',\n /** The heading in the tasks sidebar, in the assigned tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.assigned.heading': 'Esteu al dia',\n /** The text in the tasks sidebar, in the assigned tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.assigned.text':\n 'Les noves tasques assignades a vosaltres apareixeran aquí',\n /** The heading in the tasks sidebar, in the document tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.document.heading': 'Cap tasca en aquest document',\n /** The heading in the tasks sidebar, in the subscribed tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.subscribed.heading': 'Cap tasca subscrita',\n /** The text in the tasks sidebar, in the subscribed tab, under the open details, when it's empty.*/\n 'empty-state.status.list.open.subscribed.text':\n 'Les tasques a les quals us subscriviu apareixeran aquí',\n\n /** Text used in the assignee input when there is no user assigned */\n 'form.input.assignee.no-user-assigned.text': 'Sense assignar',\n /** Text used in the assignee input tooltip when there is no user assigned */\n 'form.input.assignee.no-user-assigned.tooltip': 'Establir assignatari',\n /** Text used in the assignee input when searching and no users are found */\n 'form.input.assignee.search.no-users.text': 'Cap usuari trobat',\n /** Placeholder text used in the search box in the assignee input */\n 'form.input.assignee.search.placeholder': 'Seleccionar assignatari',\n /** Text used in the assignee input when user is not authorized */\n 'form.input.assignee.unauthorized.text': 'No autoritzat',\n /** Text used in the assignee input tooltip when there is no user assigned */\n 'form.input.assignee.user-assigned.tooltip': 'Canviar assignatari',\n /** Text used in the assignee input when user is not found */\n 'form.input.assignee.user-not-found.text': 'Usuari no trobat',\n /** The label used in the create more toggle */\n 'form.input.create-more.text': 'Crear més',\n /** The label used in the date input button tooltip when it's empty */\n 'form.input.date.buttons.empty.tooltip': 'Establir data de venciment',\n /** The label used in the date input to remove the current value */\n 'form.input.date.buttons.remove.text': 'Eliminar',\n /** The label used in the date input button tooltip when it has value */\n 'form.input.date.buttons.tooltip': 'Canviar data de venciment',\n /** Placeholder text used in the description input */\n 'form.input.description.placeholder': 'Afegir descripció',\n /** Text used in the tooltip in the status change button */\n 'form.input.status.button.tooltip': 'Canviar estat',\n /** The label used in the target input to remove the current value */\n 'form.input.target.buttons.remove.text': 'Eliminar contingut objectiu',\n /** The text used in the target input when encountering a schema error */\n 'form.input.target.error.schema-not-found': 'Esquema no trobat',\n /** The placeholder text used in the target input for the search component */\n 'form.input.target.search.placeholder': 'Selecciona el document de destinació',\n /** The placeholder text for the title input */\n 'form.input.title.placeholder': 'Títol de la tasca',\n /** The status error message presented when the user does not supply a title */\n 'form.status.error.title-required': 'El títol és obligatori',\n /** The status message upon successful creation of a task */\n 'form.status.success': 'Tasca creada',\n\n /** The text displayed when no tasks are found */\n 'list.empty.text': 'No hi ha tasques',\n /** The text displayed at the bottom of the tasks list inviting users provide feedback */\n 'list.feedback.text':\n \"Ajuda'ns a millorar, <Link>comparteix la teva opinió sobre les Tasques</Link> \",\n\n /** The label for the copy link menu item */\n 'menuitem.copylink.text': \"Copia l'enllaç a la tasca\",\n /** The label for the delete task menu item */\n 'menuitem.delete.text': 'Elimina la tasca',\n /** The label for the duplicate task menu item */\n 'menuitem.duplicate.text': 'Duplica la tasca',\n /** The text for the duplicate task menu item tooltip when mode is upsell */\n 'menuitem.duplicate.upsell-tooltip': 'Actualitza per duplicar tasques',\n\n /** Fragment used to construct the first entry in the activity log */\n 'panel.activity.created-fragment': 'ha creat aquesta tasca',\n /** The title of the activity section of the task */\n 'panel.activity.title': 'Activitat',\n /** The text used in the activity log when unable to find the user */\n 'panel.activity.unknown-user': 'Usuari desconegut',\n /** The tooltip for the close button for the task panel */\n 'panel.close.tooltip': 'Tanca la barra lateral',\n /** The placeholder text for the comment text box */\n 'panel.comment.placeholder': 'Afegeix un comentari...',\n /** The placeholder text for the comment text box when mode is upsell */\n 'panel.comment.placeholder.upsell': 'Actualitza per comentar en les tasques',\n /** The title used in the task panel when showing the create task form */\n 'panel.create.title': 'Crea',\n /** The title used in the drafts pulldown */\n 'panel.drafts.title': 'Esborranys',\n /** The tooltip for the task navigation component */\n 'panel.navigation.tooltip': 'Obre les tasques',\n /** Title of the Tasks panel */\n 'panel.title': 'Tasques',\n\n /** Label for the Assigned Tab */\n 'tab.assigned.label': 'Assignat',\n /** Label for the Active Document Tab */\n 'tab.document.label': 'Document Actiu',\n /** Label for the Subscribed Tab */\n 'tab.subscribed.label': 'Subscrit',\n\n /** Tooltip for the tasks navbar icon */\n 'toolbar.tooltip': 'Tasques',\n})\n"],"names":[],"mappings":";AAEA,IAAA,QAAe,+BAA+B;AAAA;AAAA,EAE5C,uBAAuB;AAAA;AAAA,EAEvB,qBAAqB;AAAA;AAAA,EAGrB,uBAAuB;AAAA;AAAA,EAEvB,wBAAwB;AAAA;AAAA,EAExB,sBAAsB;AAAA;AAAA,EAEtB,oBAAoB;AAAA;AAAA,EAEpB,8BAA8B;AAAA;AAAA,EAE9B,wBAAwB;AAAA;AAAA,EAExB,4BAA4B;AAAA;AAAA,EAG5B,2BAA2B;AAAA;AAAA,EAE3B,0CAA0C;AAAA;AAAA,EAE1C,2CAA2C;AAAA;AAAA,EAE3C,4BAA4B;AAAA;AAAA,EAG5B,8CAA8C;AAAA;AAAA,EAE9C,gDAAgD;AAAA;AAAA,EAEhD,uCAAuC;AAAA;AAAA,EAEvC,yCAAyC;AAAA;AAAA,EAGzC,qCAAqC;AAAA;AAAA,EAErC,kCAAkC;AAAA;AAAA,EAElC,+BAA+B;AAAA;AAAA,EAE/B,qCAAqC;AAAA;AAAA,EAErC,kCACE;AAAA;AAAA,EAEF,+CAA+C;AAAA;AAAA,EAE/C,4CACE;AAAA;AAAA,EAEF,uCAAuC;AAAA;AAAA,EAEvC,oCACE;AAAA;AAAA,EAEF,mDAAmD;AAAA;AAAA,EAEnD,gDACE;AAAA;AAAA,EAEF,mDAAmD;AAAA;AAAA,EAEnD,qDAAqD;AAAA;AAAA,EAErD,kDACE;AAAA;AAAA,EAEF,iDAAiD;AAAA;AAAA,EAEjD,8CACE;AAAA;AAAA,EAEF,iDAAiD;AAAA;AAAA,EAEjD,mDAAmD;AAAA;AAAA,EAEnD,gDACE;AAAA;AAAA,EAGF,6CAA6C;AAAA;AAAA,EAE7C,gDAAgD;AAAA;AAAA,EAEhD,4CAA4C;AAAA;AAAA,EAE5C,0CAA0C;AAAA;AAAA,EAE1C,yCAAyC;AAAA;AAAA,EAEzC,6CAA6C;AAAA;AAAA,EAE7C,2CAA2C;AAAA;AAAA,EAE3C,+BAA+B;AAAA;AAAA,EAE/B,yCAAyC;AAAA;AAAA,EAEzC,uCAAuC;AAAA;AAAA,EAEvC,mCAAmC;AAAA;AAAA,EAEnC,sCAAsC;AAAA;AAAA,EAEtC,oCAAoC;AAAA;AAAA,EAEpC,yCAAyC;AAAA;AAAA,EAEzC,4CAA4C;AAAA;AAAA,EAE5C,wCAAwC;AAAA;AAAA,EAExC,gCAAgC;AAAA;AAAA,EAEhC,oCAAoC;AAAA;AAAA,EAEpC,uBAAuB;AAAA;AAAA,EAGvB,mBAAmB;AAAA;AAAA,EAEnB,sBACE;AAAA;AAAA,EAGF,0BAA0B;AAAA;AAAA,EAE1B,wBAAwB;AAAA;AAAA,EAExB,2BAA2B;AAAA;AAAA,EAE3B,qCAAqC;AAAA;AAAA,EAGrC,mCAAmC;AAAA;AAAA,EAEnC,wBAAwB;AAAA;AAAA,EAExB,+BAA+B;AAAA;AAAA,EAE/B,uBAAuB;AAAA;AAAA,EAEvB,6BAA6B;AAAA;AAAA,EAE7B,oCAAoC;AAAA;AAAA,EAEpC,sBAAsB;AAAA;AAAA,EAEtB,sBAAsB;AAAA;AAAA,EAEtB,4BAA4B;AAAA;AAAA,EAE5B,eAAe;AAAA;AAAA,EAGf,sBAAsB;AAAA;AAAA,EAEtB,sBAAsB;AAAA;AAAA,EAEtB,wBAAwB;AAAA;AAAA,EAGxB,mBAAmB;AACrB,CAAC;"}
@@ -0,0 +1,95 @@
1
+ import { removeUndefinedLocaleResources } from "sanity";
2
+ var validation = removeUndefinedLocaleResources({
3
+ /** Array must have exactly "$wantedLength" items, but has more/less */
4
+ "array.exact-length": "Ha de tenir exactament {{wantedLength}} elements",
5
+ /** Portable Text array must have exactly "$wantedLength" blocks, but has more/less */
6
+ "array.exact-length_blocks": "Ha de tenir exactament {{wantedLength}} blocs",
7
+ /** Array item is a duplicate, but array wants only unique items */
8
+ "array.item-duplicate": "No pot ser un duplicat",
9
+ /** Array has more than the maximum of "$maxLength" items */
10
+ "array.maximum-length": "Ha de tenir com a m\xE0xim {{maxLength}} elements",
11
+ /** Portable Text array has more than the maximum of "$maxLength" items */
12
+ "array.maximum-length_blocks": "Ha de tenir com a m\xE0xim {{maxLength}} blocs",
13
+ /** Array has less than the minimum of "$minLength" items */
14
+ "array.minimum-length": "Ha de tenir com a m\xEDnim {{minLength}} elements",
15
+ /** Portable Text array has less than the minimum of "$minLength" blocks */
16
+ "array.minimum-length_blocks": "Ha de tenir com a m\xEDnim {{minLength}} blocs",
17
+ /** Date is not valid or not in the correct format (ISO-8601) */
18
+ "date.invalid-format": "Ha de ser una cadena de text amb data formatada en ISO-8601 v\xE0lida",
19
+ /** Date is later than the given maximum date "$maxDate" */
20
+ "date.maximum": "Ha de ser igual o anterior a {{maxDate}}",
21
+ /** Date is earlier than the given minimum date "$minDate" */
22
+ "date.minimum": "Ha de ser igual o posterior a {{minDate}}",
23
+ /** A value of incorrect type is found, eg found `number` instead of `string` */
24
+ "generic.incorrect-type": 'Tipus esperat "{{expectedType}}", trobat "{{actualType}}"',
25
+ /** Value is not one of the values specifically allowed */
26
+ "generic.not-allowed": "El valor no coincideix amb cap dels valors permesos",
27
+ /** Value "$givenValue" is not one of the values specifically allowed */
28
+ "generic.not-allowed_hint": 'El valor "{{hint}}" no coincideix amb cap dels valors permesos',
29
+ /** A value is expected, but none is provided */
30
+ "generic.required": "Requerit",
31
+ /** Number is less than the given minimum threshold value "$threshold" */
32
+ "number.greater-than": "Ha de ser m\xE9s gran que {{threshold}}",
33
+ /** Number is greater than the given maximum threshold value "$threshold" */
34
+ "number.less-than": "Ha de ser menor que {{threshold}}",
35
+ /** Number is higher than the given maximum value "$maxNumber" */
36
+ "number.maximum": "Ha de ser menor o igual a {{maxNumber}}",
37
+ /** Number has more precision (decimals) than the allowed "$limit" */
38
+ "number.maximum-precision": "La m\xE0xima precisi\xF3 \xE9s {{limit}}",
39
+ /** Number is lower than the given minimum value "$minNumber" */
40
+ "number.minimum": "Ha de ser m\xE9s gran o igual a {{minNumber}}",
41
+ /** Number is not an integer ("whole number") */
42
+ "number.non-integer": "Ha de ser un nombre enter",
43
+ /** Object is missing a reference to an asset document in its `asset` field */
44
+ "object.asset-required": "Es requereix un actiu",
45
+ /** Object is missing a reference to a file asset document in its `asset` field */
46
+ "object.asset-required_file": "Es requereix un fitxer",
47
+ /** Object is missing a reference to an image asset document in its `asset` field */
48
+ "object.asset-required_image": "Es requereix una imatge",
49
+ /** Object is not a reference to a document (eg `{_ref: 'documentId'}`) */
50
+ "object.not-reference": "Ha de ser una refer\xE8ncia a un document",
51
+ /** Object references a document which is not published */
52
+ "object.reference-not-published": "El document referenciat ha de ser publicat",
53
+ /** Accessibility label for closing the validation panel */
54
+ "panel.close-button-aria-label": "Tanca la validaci\xF3",
55
+ /** Message shown when the validation panel is opened but there are no errors/warnings */
56
+ "panel.no-errors-message": "No hi ha errors de validaci\xF3",
57
+ /** Title for the actual "Validation" panel/feature */
58
+ "panel.title": "Validaci\xF3",
59
+ /** Slug is an object, but is missing a `current` string property */
60
+ "slug.missing-current": "El slug ha de tenir un valor",
61
+ /** Slug is not an object (eg `{current: 'some-slug'}`) */
62
+ "slug.not-object": "El slug ha de ser un objecte",
63
+ /** Slug is already in use somewhere else, but needs to be unique */
64
+ "slug.not-unique": "El slug ja est\xE0 en \xFAs",
65
+ /** String is not a valid email address */
66
+ "string.email": "Ha de ser una adre\xE7a de correu electr\xF2nic v\xE0lida",
67
+ /** String has a different character length than the exact number "$wantedLength" */
68
+ "string.exact-length": "Ha de tenir exactament {{wantedLength}} car\xE0cters",
69
+ /** String contains characters that are not in lowercase */
70
+ "string.lowercase": "Ha de ser tot en car\xE0cters min\xFAsculs",
71
+ /** String is longer than the limit of "$maxLength" characters */
72
+ "string.maximum-length": "Ha de tenir com a m\xE0xim {{maxLength}} car\xE0cters",
73
+ /** String is shorter than the limit of "$minLength" characters */
74
+ "string.minimum-length": "Ha de tenir com a m\xEDnim {{minLength}} car\xE0cters",
75
+ /** String does not match the given regular expression, but should */
76
+ "string.regex-does-not-match": 'No coincideix amb el patr\xF3 "{{name}}"',
77
+ /** String matches the given regular expression, but should not */
78
+ "string.regex-match": 'No ha de coincidir amb el patr\xF3 "{{name}}"',
79
+ /** String contains characters that are not in uppercase */
80
+ "string.uppercase": "Ha de ser tot en car\xE0cters maj\xFAsculs",
81
+ /** String contains a protocol/scheme that is not allowed, eg (`ftp`, `mailto`…) */
82
+ "string.url.disallowed-scheme": "No coincideix amb els protocols/esquemes permesos",
83
+ /** String contains a URL with a username or password specified before the host */
84
+ "string.url.includes-credentials": "No es permeten nom d'usuari/contrasenya",
85
+ /** String is not a valid URL */
86
+ "string.url.invalid": "No \xE9s una URL v\xE0lida",
87
+ /** String is not an absolute URL (eg it is missing a protocol/host) */
88
+ "string.url.not-absolute": "No es permeten URLs relatives",
89
+ /** String is not a relative URL (eg it contains a protocol/host) */
90
+ "string.url.not-relative": "Nom\xE9s es permeten URLs relatives"
91
+ });
92
+ export {
93
+ validation as default
94
+ };
95
+ //# sourceMappingURL=validation.js.map
@@ -0,0 +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': 'Ha de tenir exactament {{wantedLength}} elements',\n /** Portable Text array must have exactly \"$wantedLength\" blocks, but has more/less */\n 'array.exact-length_blocks': 'Ha de tenir exactament {{wantedLength}} blocs',\n /** Array item is a duplicate, but array wants only unique items */\n 'array.item-duplicate': 'No pot ser un duplicat',\n /** Array has more than the maximum of \"$maxLength\" items */\n 'array.maximum-length': 'Ha de tenir com a màxim {{maxLength}} elements',\n /** Portable Text array has more than the maximum of \"$maxLength\" items */\n 'array.maximum-length_blocks': 'Ha de tenir com a màxim {{maxLength}} blocs',\n /** Array has less than the minimum of \"$minLength\" items */\n 'array.minimum-length': 'Ha de tenir com a mínim {{minLength}} elements',\n /** Portable Text array has less than the minimum of \"$minLength\" blocks */\n 'array.minimum-length_blocks': 'Ha de tenir com a mínim {{minLength}} blocs',\n\n /** Date is not valid or not in the correct format (ISO-8601) */\n 'date.invalid-format': 'Ha de ser una cadena de text amb data formatada en ISO-8601 vàlida',\n /** Date is later than the given maximum date \"$maxDate\" */\n 'date.maximum': 'Ha de ser igual o anterior a {{maxDate}}',\n /** Date is earlier than the given minimum date \"$minDate\" */\n 'date.minimum': 'Ha de ser igual o posterior a {{minDate}}',\n\n /** A value of incorrect type is found, eg found `number` instead of `string` */\n 'generic.incorrect-type': 'Tipus esperat \"{{expectedType}}\", trobat \"{{actualType}}\"',\n /** Value is not one of the values specifically allowed */\n 'generic.not-allowed': 'El valor no coincideix amb cap dels valors permesos',\n /** Value \"$givenValue\" is not one of the values specifically allowed */\n 'generic.not-allowed_hint': 'El valor \"{{hint}}\" no coincideix amb cap dels valors permesos',\n /** A value is expected, but none is provided */\n 'generic.required': 'Requerit',\n\n /** Number is less than the given minimum threshold value \"$threshold\" */\n 'number.greater-than': 'Ha de ser més gran que {{threshold}}',\n /** Number is greater than the given maximum threshold value \"$threshold\" */\n 'number.less-than': 'Ha de ser menor que {{threshold}}',\n /** Number is higher than the given maximum value \"$maxNumber\" */\n 'number.maximum': 'Ha de ser menor o igual a {{maxNumber}}',\n /** Number has more precision (decimals) than the allowed \"$limit\" */\n 'number.maximum-precision': 'La màxima precisió és {{limit}}',\n /** Number is lower than the given minimum value \"$minNumber\" */\n 'number.minimum': 'Ha de ser més gran o igual a {{minNumber}}',\n /** Number is not an integer (\"whole number\") */\n 'number.non-integer': 'Ha de ser un nombre enter',\n\n /** Object is missing a reference to an asset document in its `asset` field */\n 'object.asset-required': 'Es requereix un actiu',\n /** Object is missing a reference to a file asset document in its `asset` field */\n 'object.asset-required_file': 'Es requereix un fitxer',\n /** Object is missing a reference to an image asset document in its `asset` field */\n 'object.asset-required_image': 'Es requereix una imatge',\n /** Object is not a reference to a document (eg `{_ref: 'documentId'}`) */\n 'object.not-reference': 'Ha de ser una referència a un document',\n /** Object references a document which is not published */\n 'object.reference-not-published': 'El document referenciat ha de ser publicat',\n\n /** Accessibility label for closing the validation panel */\n 'panel.close-button-aria-label': 'Tanca la validació',\n /** Message shown when the validation panel is opened but there are no errors/warnings */\n 'panel.no-errors-message': 'No hi ha errors de validació',\n /** Title for the actual \"Validation\" panel/feature */\n 'panel.title': 'Validació',\n\n /** Slug is an object, but is missing a `current` string property */\n 'slug.missing-current': 'El slug ha de tenir un valor',\n /** Slug is not an object (eg `{current: 'some-slug'}`) */\n 'slug.not-object': 'El slug ha de ser un objecte',\n /** Slug is already in use somewhere else, but needs to be unique */\n 'slug.not-unique': 'El slug ja està en ús',\n\n /** String is not a valid email address */\n 'string.email': 'Ha de ser una adreça de correu electrònic vàlida',\n /** String has a different character length than the exact number \"$wantedLength\" */\n 'string.exact-length': 'Ha de tenir exactament {{wantedLength}} caràcters',\n /** String contains characters that are not in lowercase */\n 'string.lowercase': 'Ha de ser tot en caràcters minúsculs',\n /** String is longer than the limit of \"$maxLength\" characters */\n 'string.maximum-length': 'Ha de tenir com a màxim {{maxLength}} caràcters',\n /** String is shorter than the limit of \"$minLength\" characters */\n 'string.minimum-length': 'Ha de tenir com a mínim {{minLength}} caràcters',\n /** String does not match the given regular expression, but should */\n 'string.regex-does-not-match': 'No coincideix amb el patró \"{{name}}\"',\n /** String matches the given regular expression, but should not */\n 'string.regex-match': 'No ha de coincidir amb el patró \"{{name}}\"',\n /** String contains characters that are not in uppercase */\n 'string.uppercase': 'Ha de ser tot en caràcters majúsculs',\n /** String contains a protocol/scheme that is not allowed, eg (`ftp`, `mailto`…) */\n 'string.url.disallowed-scheme': 'No coincideix amb els protocols/esquemes permesos',\n /** String contains a URL with a username or password specified before the host */\n 'string.url.includes-credentials': \"No es permeten nom d'usuari/contrasenya\",\n /** String is not a valid URL */\n 'string.url.invalid': 'No és una URL vàlida',\n /** String is not an absolute URL (eg it is missing a protocol/host) */\n 'string.url.not-absolute': 'No es permeten URLs relatives',\n /** String is not a relative URL (eg it contains a protocol/host) */\n 'string.url.not-relative': 'Només es permeten URLs relatives',\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,EAGf,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;"}
@@ -0,0 +1,78 @@
1
+ import { removeUndefinedLocaleResources } from "sanity";
2
+ var vision = removeUndefinedLocaleResources({
3
+ /** Label for action "Copy to clipboard", tied to the "Query URL" field. Also used for accessibility purposes on button */
4
+ "action.copy-url-to-clipboard": "Copia al porta-retalls",
5
+ /** Label for stopping an ongoing listen operation */
6
+ "action.listen-cancel": "Atura",
7
+ /** Label for setting up a listener */
8
+ "action.listen-execute": "Escolta",
9
+ /** Label for cancelling an ongoing query */
10
+ "action.query-cancel": "Cancel\xB7la",
11
+ /** Label for executing the query, eg doing a fetch */
12
+ "action.query-execute": "Obt\xE9",
13
+ /**
14
+ * Some features has a "New" label indicating that the feature was recently introduced.
15
+ * This defines what the text of that label is. Keep it short and sweet.
16
+ */
17
+ "label.new": "Nou",
18
+ /** Error message for when the "Params" input are not a valid json */
19
+ "params.error.params-invalid-json": "Els par\xE0metres no s\xF3n JSON v\xE0lid",
20
+ /** Label for "Params" (parameters) editor/input */
21
+ "params.label": "Par\xE0metres",
22
+ /** Label for 'Column' indicator when there is an error within the query */
23
+ "query.error.column": "Columna",
24
+ /** Label for 'Line' indicator when there is an error within the query */
25
+ "query.error.line": "L\xEDnia",
26
+ /** Label for "Query" editor/input */
27
+ "query.label": "Consulta",
28
+ /** Label for the "Query URL" field, shown after executing a query, and allows for copying */
29
+ "query.url": "URL de la consulta",
30
+ /** Label for "End to End time" information of the fetched query */
31
+ "result.end-to-end-time-label": "Temps complet",
32
+ /** Label for "Execution time" information of the fetched query */
33
+ "result.execution-time-label": "Execuci\xF3",
34
+ /** Label for "Result" explorer/view */
35
+ "result.label": "Resultat",
36
+ /** Tooltip text shown when the query result is not encodable as CSV */
37
+ "result.save-result-as-csv.not-csv-encodable": "El resultat no es pot codificar com a CSV",
38
+ /** Label for "Save result as" result action */
39
+ "result.save-result-as-format": "Desa el resultat com a <SaveResultButtons/>",
40
+ /**
41
+ * "Not applicable" message for when there is no Execution time or End to End time information
42
+ * available for the query (eg when the query has not been executed, or errored)
43
+ */
44
+ "result.timing-not-applicable": "n/d",
45
+ /** Label for the "API version" dropdown in settings */
46
+ "settings.api-version-label": "Versi\xF3 de l'API",
47
+ /** Label for the "Custom API version" input in settings, shown when "other" is chosen as API version */
48
+ "settings.custom-api-version-label": "Versi\xF3 personalitzada de l'API",
49
+ /** Label for the "Dataset" dropdown in vision settings */
50
+ "settings.dataset-label": "Dataset",
51
+ /** Error label for when the API version in 'Custom API version' input is invalid */
52
+ "settings.error.invalid-api-version": "Versi\xF3 de l'API no v\xE0lida",
53
+ /** Label for the "other" versions within the "API version" dropdown */
54
+ "settings.other-api-version-label": "Altra",
55
+ /**
56
+ * Label for the "Perspective" dropdown in vision settings
57
+ * @see {@link https://www.sanity.io/docs/perspectives}
58
+ */
59
+ "settings.perspective-label": "Perspectiva",
60
+ /** Notification about previewDrafts to drafts rename */
61
+ "settings.perspective.preview-drafts-renamed-to-drafts.description": 'La perspectiva "<code>previewDrafts</code>" ha estat renombrada a "<code>drafts</code>" i ara est\xE0 obsoleta. Aquest canvi \xE9s efectiu per a totes les versions amb suport de perspectiva (>= v2021-03-25).',
62
+ /** Call to action to read the docs related to "Perspectives" */
63
+ "settings.perspectives.action.docs-link": "Llegeix la documentaci\xF3",
64
+ /** Option for selecting default perspective */
65
+ "settings.perspectives.default": "Cap perspectiva (predeterminada de l'API)",
66
+ /** Description for popover that explains what "Perspectives" are */
67
+ "settings.perspectives.description": `Les Perspectives permeten que la teva consulta s'executi contra diferents "vistes" del contingut del teu dataset`,
68
+ /** Description for upcoming default perspective change */
69
+ "settings.perspectives.new-default.description": `La perspectiva predeterminada canviar\xE0 de "<code>raw</code>" a "<code>published</code>" en una propera versi\xF3 de l'API. Si us plau, consulta la documentaci\xF3 per a m\xE9s detalls.`,
70
+ /** Label for the pinned release perspective */
71
+ "settings.perspectives.pinned-release-label": "Versi\xF3 fixada",
72
+ /** Title for popover that explains what "Perspectives" are */
73
+ "settings.perspectives.title": "Perspectives"
74
+ });
75
+ export {
76
+ vision as default
77
+ };
78
+ //# sourceMappingURL=vision.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vision.js","sources":["../../src/vision.ts"],"sourcesContent":["import {removeUndefinedLocaleResources} from 'sanity'\n\nexport default removeUndefinedLocaleResources({\n /** Label for action \"Copy to clipboard\", tied to the \"Query URL\" field. Also used for accessibility purposes on button */\n 'action.copy-url-to-clipboard': 'Copia al porta-retalls',\n /** Label for stopping an ongoing listen operation */\n 'action.listen-cancel': 'Atura',\n /** Label for setting up a listener */\n 'action.listen-execute': 'Escolta',\n /** Label for cancelling an ongoing query */\n 'action.query-cancel': 'Cancel·la',\n /** Label for executing the query, eg doing a fetch */\n 'action.query-execute': 'Obté',\n\n /**\n * Some features has a \"New\" label indicating that the feature was recently introduced.\n * This defines what the text of that label is. Keep it short and sweet.\n */\n 'label.new': 'Nou',\n\n /** Error message for when the \"Params\" input are not a valid json */\n 'params.error.params-invalid-json': 'Els paràmetres no són JSON vàlid',\n /** Label for \"Params\" (parameters) editor/input */\n 'params.label': 'Paràmetres',\n\n /** Label for 'Column' indicator when there is an error within the query */\n 'query.error.column': 'Columna',\n /** Label for 'Line' indicator when there is an error within the query */\n 'query.error.line': 'Línia',\n /** Label for \"Query\" editor/input */\n 'query.label': 'Consulta',\n /** Label for the \"Query URL\" field, shown after executing a query, and allows for copying */\n 'query.url': 'URL de la consulta',\n\n /** Label for \"End to End time\" information of the fetched query */\n 'result.end-to-end-time-label': 'Temps complet',\n /** Label for \"Execution time\" information of the fetched query */\n 'result.execution-time-label': 'Execució',\n /** Label for \"Result\" explorer/view */\n 'result.label': 'Resultat',\n /** Tooltip text shown when the query result is not encodable as CSV */\n 'result.save-result-as-csv.not-csv-encodable': 'El resultat no es pot codificar com a CSV',\n /** Label for \"Save result as\" result action */\n 'result.save-result-as-format': 'Desa el resultat com a <SaveResultButtons/>',\n /**\n * \"Not applicable\" message for when there is no Execution time or End to End time information\n * available for the query (eg when the query has not been executed, or errored)\n */\n 'result.timing-not-applicable': 'n/d',\n\n /** Label for the \"API version\" dropdown in settings */\n 'settings.api-version-label': \"Versió de l'API\",\n /** Label for the \"Custom API version\" input in settings, shown when \"other\" is chosen as API version */\n 'settings.custom-api-version-label': \"Versió personalitzada de l'API\",\n /** Label for the \"Dataset\" dropdown in vision settings */\n 'settings.dataset-label': 'Dataset',\n /** Error label for when the API version in 'Custom API version' input is invalid */\n 'settings.error.invalid-api-version': \"Versió de l'API no vàlida\",\n /** Label for the \"other\" versions within the \"API version\" dropdown */\n 'settings.other-api-version-label': 'Altra',\n /**\n * Label for the \"Perspective\" dropdown in vision settings\n * @see {@link https://www.sanity.io/docs/perspectives}\n */\n 'settings.perspective-label': 'Perspectiva',\n /** Notification about previewDrafts to drafts rename */\n 'settings.perspective.preview-drafts-renamed-to-drafts.description':\n 'La perspectiva \"<code>previewDrafts</code>\" ha estat renombrada a \"<code>drafts</code>\" i ara està obsoleta. Aquest canvi és efectiu per a totes les versions amb suport de perspectiva (>= v2021-03-25).',\n /** Call to action to read the docs related to \"Perspectives\" */\n 'settings.perspectives.action.docs-link': 'Llegeix la documentació',\n /** Option for selecting default perspective */\n 'settings.perspectives.default': \"Cap perspectiva (predeterminada de l'API)\",\n /** Description for popover that explains what \"Perspectives\" are */\n 'settings.perspectives.description':\n 'Les Perspectives permeten que la teva consulta s\\'executi contra diferents \"vistes\" del contingut del teu dataset',\n /** Description for upcoming default perspective change */\n 'settings.perspectives.new-default.description':\n 'La perspectiva predeterminada canviarà de \"<code>raw</code>\" a \"<code>published</code>\" en una propera versió de l\\'API. Si us plau, consulta la documentació per a més detalls.',\n /** Label for the pinned release perspective */\n 'settings.perspectives.pinned-release-label': 'Versió fixada',\n /** Title for popover that explains what \"Perspectives\" are */\n 'settings.perspectives.title': 'Perspectives',\n})\n"],"names":[],"mappings":";AAEA,IAAA,SAAe,+BAA+B;AAAA;AAAA,EAE5C,gCAAgC;AAAA;AAAA,EAEhC,wBAAwB;AAAA;AAAA,EAExB,yBAAyB;AAAA;AAAA,EAEzB,uBAAuB;AAAA;AAAA,EAEvB,wBAAwB;AAAA;AAAA;AAAA;AAAA;AAAA,EAMxB,aAAa;AAAA;AAAA,EAGb,oCAAoC;AAAA;AAAA,EAEpC,gBAAgB;AAAA;AAAA,EAGhB,sBAAsB;AAAA;AAAA,EAEtB,oBAAoB;AAAA;AAAA,EAEpB,eAAe;AAAA;AAAA,EAEf,aAAa;AAAA;AAAA,EAGb,gCAAgC;AAAA;AAAA,EAEhC,+BAA+B;AAAA;AAAA,EAE/B,gBAAgB;AAAA;AAAA,EAEhB,+CAA+C;AAAA;AAAA,EAE/C,gCAAgC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKhC,gCAAgC;AAAA;AAAA,EAGhC,8BAA8B;AAAA;AAAA,EAE9B,qCAAqC;AAAA;AAAA,EAErC,0BAA0B;AAAA;AAAA,EAE1B,sCAAsC;AAAA;AAAA,EAEtC,oCAAoC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKpC,8BAA8B;AAAA;AAAA,EAE9B,qEACE;AAAA;AAAA,EAEF,0CAA0C;AAAA;AAAA,EAE1C,iCAAiC;AAAA;AAAA,EAEjC,qCACE;AAAA;AAAA,EAEF,iDACE;AAAA;AAAA,EAEF,8CAA8C;AAAA;AAAA,EAE9C,+BAA+B;AACjC,CAAC;"}
package/dist/index.cjs ADDED
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: !0 });
3
+ var sanity = require("sanity");
4
+ const locale = sanity.defineLocale({
5
+ id: "ca-ES",
6
+ title: "Catal\xE0",
7
+ bundles: [
8
+ {
9
+ namespace: "canvas",
10
+ resources: () => Promise.resolve().then(function() {
11
+ return require("./_chunks-cjs/canvas.cjs");
12
+ })
13
+ },
14
+ {
15
+ namespace: "comments",
16
+ resources: () => Promise.resolve().then(function() {
17
+ return require("./_chunks-cjs/comments.cjs");
18
+ })
19
+ },
20
+ {
21
+ namespace: "copy-paste",
22
+ resources: () => Promise.resolve().then(function() {
23
+ return require("./_chunks-cjs/copy-paste.cjs");
24
+ })
25
+ },
26
+ {
27
+ namespace: "create",
28
+ resources: () => Promise.resolve().then(function() {
29
+ return require("./_chunks-cjs/create.cjs");
30
+ })
31
+ },
32
+ {
33
+ namespace: "structure",
34
+ resources: () => Promise.resolve().then(function() {
35
+ return require("./_chunks-cjs/structure.cjs");
36
+ })
37
+ },
38
+ {
39
+ namespace: "studio",
40
+ resources: () => Promise.resolve().then(function() {
41
+ return require("./_chunks-cjs/studio.cjs");
42
+ })
43
+ },
44
+ {
45
+ namespace: "tasks",
46
+ resources: () => Promise.resolve().then(function() {
47
+ return require("./_chunks-cjs/tasks.cjs");
48
+ })
49
+ },
50
+ {
51
+ namespace: "validation",
52
+ resources: () => Promise.resolve().then(function() {
53
+ return require("./_chunks-cjs/validation.cjs");
54
+ })
55
+ },
56
+ {
57
+ namespace: "vision",
58
+ resources: () => Promise.resolve().then(function() {
59
+ return require("./_chunks-cjs/vision.cjs");
60
+ })
61
+ }
62
+ ],
63
+ weekInfo: {
64
+ firstDay: 1,
65
+ minimalDays: 4,
66
+ weekend: [6, 7]
67
+ }
68
+ }), caESLocale = sanity.definePlugin((config) => ({
69
+ name: "@sanity/locale-ca-es",
70
+ i18n: {
71
+ locales: [config ? { ...locale, ...config } : locale]
72
+ }
73
+ }));
74
+ exports.caESLocale = caESLocale;
75
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +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: 'ca-ES',\n title: 'Català',\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 * Català / Catalan locale/translation plugin for Sanity Studio\n *\n * @public\n */\nexport const caESLocale = definePlugin<{\n title?: string\n weekInfo?: LocaleDefinition['weekInfo']\n} | void>((config) => ({\n name: '@sanity/locale-ca-es',\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,QAAA,QAAA,EAAA,KAAA,WAAA;AAAA,eAAA,QAAO,4BAAY;AAAA,MAAA,CAAA;AAAA,IACtC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,WAAA;AAAA,eAAA,QAAO,8BAAc;AAAA,MAAA,CAAA;AAAA,IACxC;AAAA,IAEA;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,QAAA,QAAA,EAAA,KAAA,WAAA;AAAA,eAAA,QAAO,6BAAa;AAAA,MAAA,CAAA;AAAA,IACvC;AAAA,IAEA;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,QAAA,QAAA,EAAA,KAAA,WAAA;AAAA,eAAA,QAAO,yBAAS;AAAA,MAAA,CAAA;AAAA,IACnC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,WAAA;AAAA,eAAA,QAAO,8BAAc;AAAA,MAAA,CAAA;AAAA,IACxC;AAAA,IAEA;AAAA,MACE,WAAW;AAAA,MACX,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,WAAA;AAAA,eAAA,QAAO,0BAAU;AAAA,MAAA,CAAA;AAAA,IAAA;AAAA,EAEtC;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,aAAa;AAAA,IACb,SAAS,CAAC,GAAG,CAAC;AAAA,EAAA;AAElB,CAAC,GAOY,aAAaC,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;;"}
@@ -0,0 +1,14 @@
1
+ import {LocaleDefinition} from 'sanity'
2
+ import {Plugin as Plugin_2} from 'sanity'
3
+
4
+ /**
5
+ * Català / Catalan locale/translation plugin for Sanity Studio
6
+ *
7
+ * @public
8
+ */
9
+ export declare const caESLocale: Plugin_2<void | {
10
+ title?: string
11
+ weekInfo?: LocaleDefinition['weekInfo']
12
+ }>
13
+
14
+ export {}
@@ -0,0 +1,14 @@
1
+ import {LocaleDefinition} from 'sanity'
2
+ import {Plugin as Plugin_2} from 'sanity'
3
+
4
+ /**
5
+ * Català / Catalan locale/translation plugin for Sanity Studio
6
+ *
7
+ * @public
8
+ */
9
+ export declare const caESLocale: Plugin_2<void | {
10
+ title?: string
11
+ weekInfo?: LocaleDefinition['weekInfo']
12
+ }>
13
+
14
+ export {}
package/dist/index.js ADDED
@@ -0,0 +1,57 @@
1
+ import { defineLocale, definePlugin } from "sanity";
2
+ const locale = defineLocale({
3
+ id: "ca-ES",
4
+ title: "Catal\xE0",
5
+ bundles: [
6
+ {
7
+ namespace: "canvas",
8
+ resources: () => import("./_chunks-es/canvas.js")
9
+ },
10
+ {
11
+ namespace: "comments",
12
+ resources: () => import("./_chunks-es/comments.js")
13
+ },
14
+ {
15
+ namespace: "copy-paste",
16
+ resources: () => import("./_chunks-es/copy-paste.js")
17
+ },
18
+ {
19
+ namespace: "create",
20
+ resources: () => import("./_chunks-es/create.js")
21
+ },
22
+ {
23
+ namespace: "structure",
24
+ resources: () => import("./_chunks-es/structure.js")
25
+ },
26
+ {
27
+ namespace: "studio",
28
+ resources: () => import("./_chunks-es/studio.js")
29
+ },
30
+ {
31
+ namespace: "tasks",
32
+ resources: () => import("./_chunks-es/tasks.js")
33
+ },
34
+ {
35
+ namespace: "validation",
36
+ resources: () => import("./_chunks-es/validation.js")
37
+ },
38
+ {
39
+ namespace: "vision",
40
+ resources: () => import("./_chunks-es/vision.js")
41
+ }
42
+ ],
43
+ weekInfo: {
44
+ firstDay: 1,
45
+ minimalDays: 4,
46
+ weekend: [6, 7]
47
+ }
48
+ }), caESLocale = definePlugin((config) => ({
49
+ name: "@sanity/locale-ca-es",
50
+ i18n: {
51
+ locales: [config ? { ...locale, ...config } : locale]
52
+ }
53
+ }));
54
+ export {
55
+ caESLocale
56
+ };
57
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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: 'ca-ES',\n title: 'Català',\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 * Català / Catalan locale/translation plugin for Sanity Studio\n *\n * @public\n */\nexport const caESLocale = definePlugin<{\n title?: string\n weekInfo?: LocaleDefinition['weekInfo']\n} | void>((config) => ({\n name: '@sanity/locale-ca-es',\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 ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@sanity/locale-ca-es",
3
+ "version": "1.0.0",
4
+ "private": false,
5
+ "description": "Catalan / Català locale/translation for Sanity Studio",
6
+ "keywords": [
7
+ "sanity",
8
+ "i18n",
9
+ "locale",
10
+ "localization",
11
+ "ca-ES"
12
+ ],
13
+ "homepage": "https://github.com/sanity-io/locales#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/sanity-io/locales/issues"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+ssh://git@github.com/sanity-io/locales.git",
20
+ "directory": "locales/ca-ES"
21
+ },
22
+ "license": "MIT",
23
+ "contributors": [
24
+ {
25
+ "name": "jorvixsky",
26
+ "url": "https://github.com/jorvixsky"
27
+ }
28
+ ],
29
+ "sideEffects": false,
30
+ "type": "module",
31
+ "exports": {
32
+ ".": {
33
+ "source": "./src/index.ts",
34
+ "import": "./dist/index.js",
35
+ "require": "./dist/index.cjs",
36
+ "default": "./dist/index.js"
37
+ },
38
+ "./package.json": "./package.json"
39
+ },
40
+ "main": "./dist/index.cjs",
41
+ "module": "./dist/index.js",
42
+ "types": "./dist/index.d.ts",
43
+ "files": [
44
+ "dist",
45
+ "src"
46
+ ],
47
+ "browserslist": "extends @sanity/browserslist-config",
48
+ "peerDependencies": {
49
+ "sanity": "^3.22.0"
50
+ },
51
+ "publishConfig": {
52
+ "access": "public"
53
+ },
54
+ "scripts": {
55
+ "build": "npm run clean && npm run pkg:build && npm run pkg:check",
56
+ "clean": "rimraf dist",
57
+ "pkg:build": "pkg build --strict",
58
+ "pkg:check": "pkg check --strict"
59
+ }
60
+ }
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': 'Edita a Canvas',
6
+ /** The text for the "Link to Canvas" action. */
7
+ 'action.link-document': 'Enllaça a 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':
10
+ 'Espereu fins que els valors inicials del document estiguin resolts',
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
+ 'No teniu permisos per enllaçar aquest document a Canvas',
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
+ 'Obriu aquest document al Tauler de control per enllaçar-lo a Canvas',
17
+ /** The text for the "Link to Canvas" action when the document is a version document. */
18
+ 'action.link-document-disabled.version-document':
19
+ 'Els documents de versió encara no són compatibles amb Canvas',
20
+ /** The text for the "Unlink from Canvas" action. */
21
+ 'action.unlink-document': 'Desenllaça de Canvas',
22
+
23
+ /** The text for the action button in the banner when the document is linked to Canvas. */
24
+ 'banner.edit-document-in-canvas': 'Edita a Canvas',
25
+ /** The text for the banner when the document is linked to Canvas. */
26
+ 'banner.linked-to-canvas': 'Aquest document està enllaçat a Canvas',
27
+
28
+ /** The text for the "Confirm document changes" dialog cancel button. */
29
+ 'dialog.confirm-document-changes.cancel': 'Cancel·la',
30
+ /** The text for the "Confirm document changes" dialog confirm button. */
31
+ 'dialog.confirm-document-changes.confirm': 'Accepta i continua',
32
+ /** The description for the "Confirm document changes" dialog. */
33
+ 'dialog.confirm-document-changes.description':
34
+ "Aquest document necessita ser actualitzat per ser compatible amb Canvas.\n El contingut existent pot ser editat o eliminat com a part d'aquest procés.",
35
+ /** The description for the "Confirm document changes" dialog footer. */
36
+ 'dialog.confirm-document-changes.footer-description':
37
+ 'Podeu desenllaçar de Canvas en qualsevol moment',
38
+ /** The title for the "Confirm document changes" dialog. */
39
+ 'dialog.confirm-document-changes.title': 'Confirma els canvis del document',
40
+ /** The text for the Link to Canvas dialog when there is a error. */
41
+ 'dialog.link-to-canvas.error': "No s'ha pogut enllaçar a Canvas",
42
+ /** The text for the "Link to Canvas" dialog when the document is being redirected. */
43
+ 'dialog.link-to-canvas.redirecting': "Us estem redirigint a Canvas per completar l'enllaç...",
44
+ /** The title for the "Link to Canvas" dialog. */
45
+ 'dialog.link-to-canvas.title': 'Enllaça a Canvas',
46
+ /** The text for the "Link to Canvas" dialog when the document is being validated. */
47
+ 'dialog.link-to-canvas.validating': 'Validant',
48
+ /** The text for the "Unlink from Canvas" dialog cancel button. */
49
+ 'dialog.unlink-from-canvas.cancel': 'Cancel·la',
50
+ /** The text for the "Unlink from Canvas" dialog description. */
51
+ 'dialog.unlink-from-canvas.description':
52
+ 'Un cop desenllaçat, serà editable aquí i les futures edicions a Canvas ja no es mapejaran automàticament a aquest document.',
53
+ /** The text for the "Unlink from Canvas" dialog error message. */
54
+ 'dialog.unlink-from-canvas.error': "No s'ha pogut desenllaçar de Canvas",
55
+ /** The text for the "Unlink from Canvas" dialog success message. */
56
+ 'dialog.unlink-from-canvas.success': 'Desenllaçat de Canvas',
57
+ /** The title for the "Unlink from Canvas" dialog. */
58
+ 'dialog.unlink-from-canvas.title': 'Desenllaça de Canvas',
59
+ /** The text for the "Unlink from Canvas" dialog unlink button. */
60
+ 'dialog.unlink-from-canvas.unlink-action': 'Desenllaça ara',
61
+ /** The text for the "Unlink from Canvas" dialog when the document is being unlinked. */
62
+ 'dialog.unlink-from-canvas.unlinking':
63
+ 'Esteu desenllaçant <strong>“{{documentTitle}}”</strong> de Canvas.',
64
+
65
+ /** The text for the "Navigate to Canvas" dialog error message. */
66
+ 'navigate-to-canvas-doc.error.missing-permissions': 'Falten permisos per navegar al Canvas',
67
+ })