@sanity/locale-ca-es 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks-cjs/copy-paste.cjs +1 -2
- package/dist/_chunks-cjs/copy-paste.cjs.map +1 -1
- package/dist/_chunks-cjs/create.cjs +15 -30
- package/dist/_chunks-cjs/create.cjs.map +1 -1
- package/dist/_chunks-cjs/structure.cjs +9 -18
- package/dist/_chunks-cjs/structure.cjs.map +1 -1
- package/dist/_chunks-cjs/studio.cjs +64 -41
- package/dist/_chunks-cjs/studio.cjs.map +1 -1
- package/dist/_chunks-cjs/validation.cjs +3 -6
- package/dist/_chunks-cjs/validation.cjs.map +1 -1
- package/dist/_chunks-es/copy-paste.js +1 -2
- package/dist/_chunks-es/copy-paste.js.map +1 -1
- package/dist/_chunks-es/create.js +15 -30
- package/dist/_chunks-es/create.js.map +1 -1
- package/dist/_chunks-es/structure.js +9 -18
- package/dist/_chunks-es/structure.js.map +1 -1
- package/dist/_chunks-es/studio.js +64 -41
- package/dist/_chunks-es/studio.js.map +1 -1
- package/dist/_chunks-es/validation.js +3 -6
- package/dist/_chunks-es/validation.js.map +1 -1
- package/package.json +1 -1
- package/src/copy-paste.ts +2 -1
- package/src/create.ts +18 -15
- package/src/structure.ts +15 -9
- package/src/studio.ts +62 -27
- package/src/validation.ts +4 -3
|
@@ -47,11 +47,9 @@ var validation = removeUndefinedLocaleResources({
|
|
|
47
47
|
/** Object is missing a reference to an image asset document in its `asset` field */
|
|
48
48
|
"object.asset-required_image": "Es requereix una imatge",
|
|
49
49
|
/** Media can't be found in the Media Library */
|
|
50
|
-
"object.media-not-found":
|
|
51
|
-
// 'The asset could not found in the Media Library'
|
|
50
|
+
"object.media-not-found": "L'actiu no s'ha pogut trobar a la Biblioteca de Mitjans",
|
|
52
51
|
/** Media object is missing a reference to a document in its `_ref` field */
|
|
53
|
-
"object.not-media-library-asset":
|
|
54
|
-
// 'Must be a reference to a Media Library asset'
|
|
52
|
+
"object.not-media-library-asset": "Ha de ser una refer\xE8ncia a un actiu de la Biblioteca de Mitjans",
|
|
55
53
|
/** Object is not a reference to a document (eg `{_ref: 'documentId'}`) */
|
|
56
54
|
"object.not-reference": "Ha de ser una refer\xE8ncia a un document",
|
|
57
55
|
/** Object references a document which is not published */
|
|
@@ -63,8 +61,7 @@ var validation = removeUndefinedLocaleResources({
|
|
|
63
61
|
/** Title for the actual "Validation" panel/feature */
|
|
64
62
|
"panel.title": "Validaci\xF3",
|
|
65
63
|
/** Message shown when the validation panel is opened but the document is going to unpublish */
|
|
66
|
-
"panel.unpublish-message":
|
|
67
|
-
// 'Document is going to unpublish, no validation errors are shown'
|
|
64
|
+
"panel.unpublish-message": "El document es despublicar\xE0, no es mostren errors de validaci\xF3",
|
|
68
65
|
/** Slug is an object, but is missing a `current` string property */
|
|
69
66
|
"slug.missing-current": "El slug ha de tenir un valor",
|
|
70
67
|
/** Slug is not an object (eg `{current: 'some-slug'}`) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.js","sources":["../../src/validation.ts"],"sourcesContent":["import {removeUndefinedLocaleResources} from 'sanity'\n\nexport default removeUndefinedLocaleResources({\n /** Array must have exactly \"$wantedLength\" items, but has more/less */\n 'array.exact-length': '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 /** Media can't be found in the Media Library */\n 'object.media-not-found':
|
|
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 /** Media can't be found in the Media Library */\n 'object.media-not-found': \"L'actiu no s'ha pogut trobar a la Biblioteca de Mitjans\",\n /** Media object is missing a reference to a document in its `_ref` field */\n 'object.not-media-library-asset':\n 'Ha de ser una referència a un actiu de la Biblioteca de Mitjans',\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 /** Message shown when the validation panel is opened but the document is going to unpublish */\n 'panel.unpublish-message': 'El document es despublicarà, no es mostren errors de 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,0BAA0B;AAAA;AAAA,EAE1B,kCACE;AAAA;AAAA,EAEF,wBAAwB;AAAA;AAAA,EAExB,kCAAkC;AAAA;AAAA,EAGlC,iCAAiC;AAAA;AAAA,EAEjC,2BAA2B;AAAA;AAAA,EAE3B,eAAe;AAAA;AAAA,EAEf,2BAA2B;AAAA;AAAA,EAG3B,wBAAwB;AAAA;AAAA,EAExB,mBAAmB;AAAA;AAAA,EAEnB,mBAAmB;AAAA;AAAA,EAGnB,gBAAgB;AAAA;AAAA,EAEhB,uBAAuB;AAAA;AAAA,EAEvB,oBAAoB;AAAA;AAAA,EAEpB,yBAAyB;AAAA;AAAA,EAEzB,yBAAyB;AAAA;AAAA,EAEzB,+BAA+B;AAAA;AAAA,EAE/B,sBAAsB;AAAA;AAAA,EAEtB,oBAAoB;AAAA;AAAA,EAEpB,gCAAgC;AAAA;AAAA,EAEhC,mCAAmC;AAAA;AAAA,EAEnC,sBAAsB;AAAA;AAAA,EAEtB,2BAA2B;AAAA;AAAA,EAE3B,2BAA2B;AAC7B,CAAC;"}
|
package/package.json
CHANGED
package/src/copy-paste.ts
CHANGED
|
@@ -10,7 +10,8 @@ export default removeUndefinedLocaleResources({
|
|
|
10
10
|
/** Text on the field action button to paste a field */
|
|
11
11
|
'copy-paste.field-action-paste-button.field.title': 'Enganxa el camp',
|
|
12
12
|
/** The error message that is shown when the clipboard is not supported */
|
|
13
|
-
'copy-paste.on-copy.validation.clipboard-not-supported.description':
|
|
13
|
+
'copy-paste.on-copy.validation.clipboard-not-supported.description':
|
|
14
|
+
'Es requereix accés al porta-retalls per copiar aquest contingut. Permeteu els permisos del porta-retalls a la configuració del vostre navegador i torneu a intentar copiar.',
|
|
14
15
|
/** The error message that is shown when the clipboard is not supported */
|
|
15
16
|
'copy-paste.on-copy.validation.clipboard-not-supported.title':
|
|
16
17
|
'El teu navegador no admet aquesta acció',
|
package/src/create.ts
CHANGED
|
@@ -2,39 +2,42 @@ import {removeUndefinedLocaleResources} from 'sanity'
|
|
|
2
2
|
|
|
3
3
|
export default removeUndefinedLocaleResources({
|
|
4
4
|
/** Text in badge above header in Create Link info popover */
|
|
5
|
-
'create-link-info-popover.eyebrow-badge':
|
|
5
|
+
'create-link-info-popover.eyebrow-badge': 'Accés anticipat',
|
|
6
6
|
/** Text above header in Create Link info popover */
|
|
7
|
-
'create-link-info-popover.eyebrow-title':
|
|
7
|
+
'create-link-info-popover.eyebrow-title': 'Sanity Create',
|
|
8
8
|
/** Header in Create Link info popover */
|
|
9
|
-
'create-link-info-popover.header':
|
|
9
|
+
'create-link-info-popover.header': 'Autoria amb prioritat a la idea',
|
|
10
10
|
/** Informational text in Create Link info popover */
|
|
11
|
-
'create-link-info-popover.text':
|
|
11
|
+
'create-link-info-popover.text':
|
|
12
|
+
"Escriu de manera natural en un editor potenciat per IA. El teu contingut es mapeja automàticament als camps de l'Estudi mentre escrius.",
|
|
12
13
|
|
|
13
14
|
/** Tooltip for Create Link button */
|
|
14
|
-
'create-link-info.tooltip':
|
|
15
|
+
'create-link-info.tooltip': 'Aprèn més',
|
|
15
16
|
|
|
16
17
|
/** Edit in Create button text */
|
|
17
|
-
'edit-in-create-button.text':
|
|
18
|
+
'edit-in-create-button.text': 'Edita amb Sanity Create',
|
|
18
19
|
|
|
19
20
|
/** CTA in "Start writing in Create" dialog: Learn more */
|
|
20
|
-
'start-in-create-dialog.cta.learn-more':
|
|
21
|
+
'start-in-create-dialog.cta.learn-more': 'Aprèn més.',
|
|
21
22
|
|
|
22
23
|
/** Text for the document pane banner informing users that the document is linked to Sanity Create */
|
|
23
|
-
'studio-create-link-banner.text':
|
|
24
|
+
'studio-create-link-banner.text': 'Aquest document està vinculat a Sanity Create',
|
|
24
25
|
|
|
25
26
|
/** Unlink document from Sanity Create button text */
|
|
26
|
-
'unlink-from-create-button.text':
|
|
27
|
+
'unlink-from-create-button.text': 'Desvincula',
|
|
27
28
|
|
|
28
29
|
/** Unlink from Create dialog: Cancel button text */
|
|
29
|
-
'unlink-from-create-dialog.cancel.text':
|
|
30
|
+
'unlink-from-create-dialog.cancel.text': 'Cancel·la',
|
|
30
31
|
/** Unlink from Create dialog: Document title used if no other title can be determined */
|
|
31
|
-
'unlink-from-create-dialog.document.untitled.text':
|
|
32
|
+
'unlink-from-create-dialog.document.untitled.text': 'Sense títol',
|
|
32
33
|
/** Unlink from Create dialog – first informational paragraph */
|
|
33
|
-
'unlink-from-create-dialog.first-paragraph':
|
|
34
|
+
'unlink-from-create-dialog.first-paragraph':
|
|
35
|
+
'Estàs desvinculant “<strong>{{title}}</strong>” de Sanity Create perquè pugui ser editat aquí.',
|
|
34
36
|
/** Unlink from Create dialog header */
|
|
35
|
-
'unlink-from-create-dialog.header':
|
|
37
|
+
'unlink-from-create-dialog.header': "Vols canviar l'edició a l'Estudi?",
|
|
36
38
|
/** Unlink from Create dialog – second informational paragraph */
|
|
37
|
-
'unlink-from-create-dialog.second-paragraph':
|
|
39
|
+
'unlink-from-create-dialog.second-paragraph':
|
|
40
|
+
'Mantindràs el teu contingut en ambdós llocs. Qualsevol canvi nou a Sanity Create deixarà de sincronitzar-se amb aquest Estudi.',
|
|
38
41
|
/** Unlink from Create dialog: Unlink button text */
|
|
39
|
-
'unlink-from-create-dialog.unlink.text':
|
|
42
|
+
'unlink-from-create-dialog.unlink.text': 'Desvincula ara',
|
|
40
43
|
})
|
package/src/structure.ts
CHANGED
|
@@ -86,13 +86,17 @@ export default removeUndefinedLocaleResources({
|
|
|
86
86
|
'banners.archived-release.description':
|
|
87
87
|
'Aquesta versió del document pertany a la versió arxivada <VersionBadge>{{title}}</VersionBadge>',
|
|
88
88
|
/** The explanation displayed when a user attempts to create a new draft document, but the draft model is not switched on */
|
|
89
|
-
'banners.choose-new-document-destination.cannot-create-draft-document':
|
|
89
|
+
'banners.choose-new-document-destination.cannot-create-draft-document':
|
|
90
|
+
"No es pot crear un document d'esborrany.",
|
|
90
91
|
/** The explanation displayed when a user attempts to create a new published document, but the schema type doesn't support live-editing */
|
|
91
|
-
'banners.choose-new-document-destination.cannot-create-published-document':
|
|
92
|
+
'banners.choose-new-document-destination.cannot-create-published-document':
|
|
93
|
+
'No es pot crear un document publicat.',
|
|
92
94
|
/** The prompt displayed when a user must select a different perspective in order to create a document */
|
|
93
|
-
'banners.choose-new-document-destination.choose-destination':
|
|
95
|
+
'banners.choose-new-document-destination.choose-destination':
|
|
96
|
+
'Trieu una destinació per a aquest document:',
|
|
94
97
|
/** The explanation displayed when a user attempts to create a new document in a release, but the selected release is inactive */
|
|
95
|
-
'banners.choose-new-document-destination.release-inactive':
|
|
98
|
+
'banners.choose-new-document-destination.release-inactive':
|
|
99
|
+
'La <VersionBadge>{{title}}</VersionBadge> versió no està activa.',
|
|
96
100
|
/** The text for the restore button on the deleted document banner */
|
|
97
101
|
'banners.deleted-document-banner.restore-button.text': 'Restaurar la revisió més recent',
|
|
98
102
|
/** The text content for the deleted document banner */
|
|
@@ -107,13 +111,14 @@ export default removeUndefinedLocaleResources({
|
|
|
107
111
|
'banners.live-edit-draft-banner.text':
|
|
108
112
|
"El tipus <strong>{{schemaType}}</strong> té <code>liveEdit</code> activat, però existeix una versió esborrany d'aquest document. Publica o descarta l'esborrany per continuar editant-lo en viu.",
|
|
109
113
|
/** The label for the "compare draft" action */
|
|
110
|
-
'banners.obsolete-draft.actions.compare-draft.text':
|
|
114
|
+
'banners.obsolete-draft.actions.compare-draft.text': "Compara l'esborrany",
|
|
111
115
|
/** The label for the "discard draft" action */
|
|
112
|
-
'banners.obsolete-draft.actions.discard-draft.text':
|
|
116
|
+
'banners.obsolete-draft.actions.discard-draft.text': "Descarta l'esborrany",
|
|
113
117
|
/** The label for the "publish draft" action */
|
|
114
|
-
'banners.obsolete-draft.actions.publish-draft.text':
|
|
118
|
+
'banners.obsolete-draft.actions.publish-draft.text': "Publica l'esborrany",
|
|
115
119
|
/** The warning displayed when editing a document that has an obsolete draft because the draft model is not switched on */
|
|
116
|
-
'banners.obsolete-draft.draft-model-inactive.text':
|
|
120
|
+
'banners.obsolete-draft.draft-model-inactive.text':
|
|
121
|
+
"L'espai de treball no té esborranys habilitats, però existeix una versió d'esborrany d'aquest document.",
|
|
117
122
|
/** The text for the permission check banner if the user only has one role, and it does not allow publishing this document */
|
|
118
123
|
'banners.permission-check-banner.missing-permission_create_one':
|
|
119
124
|
'El teu rol <Roles/> no té permís per publicar aquest document.',
|
|
@@ -182,7 +187,8 @@ export default removeUndefinedLocaleResources({
|
|
|
182
187
|
'banners.unpublished-release-banner.text':
|
|
183
188
|
'Aquest document serà despublicat com a part de la publicació <VersionBadge>{{title}}</VersionBadge>',
|
|
184
189
|
/** The text content for the unpublished document banner letting the user know that the current published version is being shown */
|
|
185
|
-
'banners.unpublished-release-banner.text-with-published':
|
|
190
|
+
'banners.unpublished-release-banner.text-with-published':
|
|
191
|
+
'Mostrant la versió <strong>publicada</strong> actual:',
|
|
186
192
|
|
|
187
193
|
/** Browser/tab title when creating a new document of a given type */
|
|
188
194
|
'browser-document-title.new-document': 'Nou {{schemaType}}',
|
package/src/studio.ts
CHANGED
|
@@ -5,27 +5,48 @@ export default removeUndefinedLocaleResources({
|
|
|
5
5
|
'about-dialog.version-info.auto-updates.disabled': 'Desactivat',
|
|
6
6
|
/** "Enabled" status for auto-updates in About-dialog */
|
|
7
7
|
'about-dialog.version-info.auto-updates.enabled': 'Activat',
|
|
8
|
-
/** "Auto Updates" status header in About-dialog */
|
|
8
|
+
/** @deprecated "Auto Updates" status header in About-dialog */
|
|
9
9
|
'about-dialog.version-info.auto-updates.header': 'Actualitzacions Automàtiques',
|
|
10
|
-
/** "How to enable" next to Disabled state for Auto updates in
|
|
10
|
+
/** "How to enable" next to Disabled state for Auto updates in version info dialog */
|
|
11
11
|
'about-dialog.version-info.auto-updates.how-to-enable': 'Com activar',
|
|
12
|
+
/** "Manage version" link text */
|
|
13
|
+
'about-dialog.version-info.auto-updates.manage-version': undefined, // 'Manage version'
|
|
12
14
|
/** Text displayed on the "Copy to clipboard"-button after clicked */
|
|
13
15
|
'about-dialog.version-info.copy-to-clipboard-button.copied-text':
|
|
14
16
|
'Copiat al porta-retalls. Feliç enganxada!',
|
|
15
17
|
/** "Copy to Clipboard" button text for copying version details from About-dialog */
|
|
16
18
|
'about-dialog.version-info.copy-to-clipboard-button.text': 'Copiar al Porta-retalls',
|
|
17
|
-
/** "Current version" header in
|
|
19
|
+
/** "Current version" header in version info dialog */
|
|
18
20
|
'about-dialog.version-info.current-version.header': 'Versió actual',
|
|
19
|
-
/** "How to upgrade" link text */
|
|
21
|
+
/** @deprecated "How to upgrade" link text */
|
|
20
22
|
'about-dialog.version-info.how-to-upgrade': 'Com actualitzar',
|
|
21
|
-
/** "Latest version" header in
|
|
23
|
+
/** "Latest version" header in version info dialog */
|
|
22
24
|
'about-dialog.version-info.latest-version.header': 'Última versió',
|
|
23
|
-
/**
|
|
24
|
-
'about-dialog.version-info.
|
|
25
|
-
/** "
|
|
25
|
+
/** Info text when auto updates is enabled and a new version is available */
|
|
26
|
+
'about-dialog.version-info.new-auto-update-version-available': undefined, // 'New version available'
|
|
27
|
+
/** "New version" header in version info dialog - Note that this is not necessary a *higher* version compared to current:
|
|
28
|
+
* It's a new version configured for auto updates which in some cases could even be a version below current */
|
|
29
|
+
'about-dialog.version-info.new-version.text': undefined, // 'New version'
|
|
30
|
+
/** "Reload"-button when auto updates is enabled and a new version is available */
|
|
31
|
+
'about-dialog.version-info.reload': undefined, // 'Reload'
|
|
32
|
+
/** "Reload to update"-tooltip when auto updates is enabled and a new version is available */
|
|
33
|
+
'about-dialog.version-info.reload-to-update': undefined, // 'Reload Studio to update'
|
|
34
|
+
/** "New version available" tooltip in About-dialog */
|
|
35
|
+
'about-dialog.version-info.tooltip.new-version-available': undefined, // 'New version available'
|
|
36
|
+
/** "Prerelease" tooltip in About-dialog */
|
|
37
|
+
'about-dialog.version-info.tooltip.prerelease': undefined, // 'Prerelease'
|
|
38
|
+
/** "Up to date" tooltip in About-dialog */
|
|
39
|
+
'about-dialog.version-info.tooltip.up-to-date': undefined, // 'Up to date'
|
|
40
|
+
/** @deprecated "Up to date" status in About-dialog */
|
|
26
41
|
'about-dialog.version-info.up-to-date': 'Actualitzat',
|
|
42
|
+
/** "Upgrade"-button text */
|
|
43
|
+
'about-dialog.version-info.update-button.text': undefined, // 'Update'
|
|
44
|
+
/** "Upgrade"-button tooltip text */
|
|
45
|
+
'about-dialog.version-info.update-button.tooltip': undefined, // 'Learn how to update Sanity Studio'
|
|
27
46
|
/** "User agent" header in About-dialog */
|
|
28
47
|
'about-dialog.version-info.user-agent.header': "Agent d'usuari",
|
|
48
|
+
/** "View on GitHub" link from version info dialog */
|
|
49
|
+
'about-dialog.version-info.view-on-github': undefined, // 'View on GitHub'
|
|
29
50
|
|
|
30
51
|
/** The text used in the tooltip shown in the dialog close button */
|
|
31
52
|
'announcement.dialog.close': 'Tancar',
|
|
@@ -165,12 +186,14 @@ export default removeUndefinedLocaleResources({
|
|
|
165
186
|
/** Error messages for the Media Library Asset Source */
|
|
166
187
|
'asset-sources.media-library.error.library-could-not-be-resolved':
|
|
167
188
|
'Alguna cosa ha anat malament intentant resoldre la Biblioteca de Mitjans per a aquest projecte.',
|
|
189
|
+
/** Error message shown when no media library has been provisioned for the current organization */
|
|
190
|
+
'asset-sources.media-library.error.no-media-library-provisioned':
|
|
191
|
+
"No s'ha provisionat cap biblioteca de mitjans per a aquesta organització.",
|
|
168
192
|
/** Menu Items for Media Library Asset Source */
|
|
169
193
|
'asset-sources.media-library.file.title': 'Biblioteca de mitjans',
|
|
170
194
|
'asset-sources.media-library.image.title': 'Biblioteca de mitjans',
|
|
171
195
|
/** Info messages for the Media Library Asset Source */
|
|
172
|
-
'asset-sources.media-library.
|
|
173
|
-
'Espereu mentre preparem la vostra Biblioteca de Mitjans',
|
|
196
|
+
'asset-sources.media-library.select-dialog.title': undefined, // 'Selecting {{assetType}} for {{targetTitle}}'
|
|
174
197
|
|
|
175
198
|
/** Label when a release has been deleted by a different user */
|
|
176
199
|
'banners.deleted-bundle-banner.text':
|
|
@@ -532,6 +555,8 @@ export default removeUndefinedLocaleResources({
|
|
|
532
555
|
'help-resources.action.join-our-community': 'Uneix-te a la nostra comunitat',
|
|
533
556
|
/** Information for what the latest sanity version is */
|
|
534
557
|
'help-resources.latest-sanity-version': 'La versió més recent és {{latestVersion}}',
|
|
558
|
+
/** Menu item for reloading Studio to update */
|
|
559
|
+
'help-resources.studio-auto-update-now': undefined, // 'Reload to update to v{{newVersion}}'
|
|
535
560
|
/** Information for what studio version the current studio is running */
|
|
536
561
|
'help-resources.studio-version': 'Versió de Sanity Studio {{studioVersion}}',
|
|
537
562
|
/** Title for help and resources menus */
|
|
@@ -1212,9 +1237,9 @@ export default removeUndefinedLocaleResources({
|
|
|
1212
1237
|
/** Title for "Create new document" dialog */
|
|
1213
1238
|
'new-document.title': 'Crear document nou',
|
|
1214
1239
|
|
|
1215
|
-
/** Label for button that will make the browser reload when users' studio version is out-of-date */
|
|
1240
|
+
/** @deprecated Label for button that will make the browser reload when users' studio version is out-of-date */
|
|
1216
1241
|
'package-version.new-package-available.reload-button': 'Prem per recarregar',
|
|
1217
|
-
/** Title of the alert for studio users when packages in their studio are out-of-date */
|
|
1242
|
+
/** @deprecated Title of the alert for studio users when packages in their studio are out-of-date */
|
|
1218
1243
|
'package-version.new-package-available.title': 'Sanity Studio està llest per actualitzar-se!',
|
|
1219
1244
|
|
|
1220
1245
|
/** Label for action to invite members to the current studio project */
|
|
@@ -1256,17 +1281,21 @@ export default removeUndefinedLocaleResources({
|
|
|
1256
1281
|
'release.action.discard-version.failure': "No s'ha pogut descartar la versió",
|
|
1257
1282
|
/** Action message for when a new release is created off an existing version, draft or published document */
|
|
1258
1283
|
'release.action.new-release': 'Nova Versió',
|
|
1259
|
-
'release.action.new-release.limit-reached_other':
|
|
1284
|
+
'release.action.new-release.limit-reached_other':
|
|
1285
|
+
'Aquest espai de treball està limitat a {{count}} llançaments',
|
|
1260
1286
|
/** Tooltip message for not having permissions for creating new releases */
|
|
1261
1287
|
'release.action.permission.error': 'No tens permís per realitzar aquesta acció',
|
|
1262
1288
|
/** Error message description for when a version is reverted from being unpublished */
|
|
1263
|
-
'release.action.revert-unpublish-version.failure.description':
|
|
1289
|
+
'release.action.revert-unpublish-version.failure.description':
|
|
1290
|
+
'Torneu-ho a intentar o comproveu la vostra connexió. El document encara es mantindrà sense publicar en el moment del llançament.',
|
|
1264
1291
|
/** Error message title for when a version is reverted from being unpublished */
|
|
1265
|
-
'release.action.revert-unpublish-version.failure.title':
|
|
1292
|
+
'release.action.revert-unpublish-version.failure.title':
|
|
1293
|
+
"No s'ha pogut revertir l'opció de despublicar en el llançament.",
|
|
1266
1294
|
/** Action message description for when a version is reverted from being unpublished */
|
|
1267
|
-
'release.action.revert-unpublish-version.success.description':
|
|
1295
|
+
'release.action.revert-unpublish-version.success.description': 'Ara podeu editar aquesta versió.',
|
|
1268
1296
|
/** Action message title for when a version is reverted from being unpublished */
|
|
1269
|
-
'release.action.revert-unpublish-version.success.title':
|
|
1297
|
+
'release.action.revert-unpublish-version.success.title':
|
|
1298
|
+
"S'ha revertit amb èxit l'opció de despublicar en el llançament.",
|
|
1270
1299
|
/** Error message for when a version is set to be unpublished */
|
|
1271
1300
|
'release.action.unpublish-version.failure':
|
|
1272
1301
|
"No s'ha pogut establir la versió per ser despublicada en la versió",
|
|
@@ -1806,25 +1835,31 @@ export default removeUndefinedLocaleResources({
|
|
|
1806
1835
|
'status-button.aria-label': 'Estat de la configuració',
|
|
1807
1836
|
|
|
1808
1837
|
/* Time zone handling */
|
|
1809
|
-
'time-zone.action.search-for-timezone-placeholder':
|
|
1838
|
+
'time-zone.action.search-for-timezone-placeholder': 'Cerqueu una ciutat o una zona horària',
|
|
1810
1839
|
/* Label for the local time zone button */
|
|
1811
|
-
'time-zone.action.select-local-time-zone':
|
|
1840
|
+
'time-zone.action.select-local-time-zone': 'Seleccioneu la zona horària local',
|
|
1812
1841
|
/* Dialog info for the time zone dialog */
|
|
1813
|
-
'time-zone.dialog-info.content-releases':
|
|
1842
|
+
'time-zone.dialog-info.content-releases':
|
|
1843
|
+
'La zona horària seleccionada canviarà com es representen les dates en els llançaments de contingut.',
|
|
1814
1844
|
/* Dialog info for the time zone dialog */
|
|
1815
|
-
'time-zone.dialog-info.input':
|
|
1845
|
+
'time-zone.dialog-info.input':
|
|
1846
|
+
'La zona horària seleccionada canviarà com es representen les dates només per a aquesta entrada en aquest document.',
|
|
1816
1847
|
/* Dialog info for the time zone dialog */
|
|
1817
|
-
'time-zone.dialog-info.scheduled-publishing':
|
|
1848
|
+
'time-zone.dialog-info.scheduled-publishing':
|
|
1849
|
+
'La zona horària seleccionada canviarà com es representen les dates en les programacions.',
|
|
1818
1850
|
/* Label for the local time zone button */
|
|
1819
|
-
'time-zone.local-time':
|
|
1851
|
+
'time-zone.local-time': 'hora local',
|
|
1820
1852
|
/* Label for the time zone button */
|
|
1821
|
-
'time-zone.time-zone':
|
|
1853
|
+
'time-zone.time-zone': 'Zona horària',
|
|
1822
1854
|
/* Tooltip content for the time zone dialog */
|
|
1823
|
-
'time-zone.time-zone-tooltip-content-releases':
|
|
1855
|
+
'time-zone.time-zone-tooltip-content-releases':
|
|
1856
|
+
'Mostrant llançaments a {{alternativeName}} GMT{{offset}}',
|
|
1824
1857
|
/* Tooltip content for the time zone dialog */
|
|
1825
|
-
'time-zone.time-zone-tooltip-input':
|
|
1858
|
+
'time-zone.time-zone-tooltip-input':
|
|
1859
|
+
'Mostrant <em>{{title}}</em> a {{alternativeName}} GMT{{offset}}',
|
|
1826
1860
|
/* Tooltip content for the time zone dialog */
|
|
1827
|
-
'time-zone.time-zone-tooltip-scheduled-publishing':
|
|
1861
|
+
'time-zone.time-zone-tooltip-scheduled-publishing':
|
|
1862
|
+
'Mostrant programacions a {{alternativeName}} GMT{{offset}}',
|
|
1828
1863
|
|
|
1829
1864
|
/** Title for the changes tooltip in the history inspector*/
|
|
1830
1865
|
'timeline.changes.title': 'Canvis per',
|
package/src/validation.ts
CHANGED
|
@@ -52,9 +52,10 @@ export default removeUndefinedLocaleResources({
|
|
|
52
52
|
/** Object is missing a reference to an image asset document in its `asset` field */
|
|
53
53
|
'object.asset-required_image': 'Es requereix una imatge',
|
|
54
54
|
/** Media can't be found in the Media Library */
|
|
55
|
-
'object.media-not-found':
|
|
55
|
+
'object.media-not-found': "L'actiu no s'ha pogut trobar a la Biblioteca de Mitjans",
|
|
56
56
|
/** Media object is missing a reference to a document in its `_ref` field */
|
|
57
|
-
'object.not-media-library-asset':
|
|
57
|
+
'object.not-media-library-asset':
|
|
58
|
+
'Ha de ser una referència a un actiu de la Biblioteca de Mitjans',
|
|
58
59
|
/** Object is not a reference to a document (eg `{_ref: 'documentId'}`) */
|
|
59
60
|
'object.not-reference': 'Ha de ser una referència a un document',
|
|
60
61
|
/** Object references a document which is not published */
|
|
@@ -67,7 +68,7 @@ export default removeUndefinedLocaleResources({
|
|
|
67
68
|
/** Title for the actual "Validation" panel/feature */
|
|
68
69
|
'panel.title': 'Validació',
|
|
69
70
|
/** Message shown when the validation panel is opened but the document is going to unpublish */
|
|
70
|
-
'panel.unpublish-message':
|
|
71
|
+
'panel.unpublish-message': 'El document es despublicarà, no es mostren errors de validació',
|
|
71
72
|
|
|
72
73
|
/** Slug is an object, but is missing a `current` string property */
|
|
73
74
|
'slug.missing-current': 'El slug ha de tenir un valor',
|