@sanity/locale-is-is 0.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.
@@ -0,0 +1,99 @@
1
+ import {removeUndefinedLocaleResources} from 'sanity'
2
+
3
+ export default removeUndefinedLocaleResources({
4
+ /** Array must have exactly "$wantedLength" items, but has more/less */
5
+ 'array.exact-length': 'Verður að hafa nákvæmlega {{wantedLength}} atriði',
6
+ /** Portable Text array must have exactly "$wantedLength" blocks, but has more/less */
7
+ 'array.exact-length_blocks': 'Verður að hafa nákvæmlega {{wantedLength}} blokkir',
8
+ /** Array item is a duplicate, but array wants only unique items */
9
+ 'array.item-duplicate': 'Má ekki vera afrit',
10
+ /** Array has more than the maximum of "$maxLength" items */
11
+ 'array.maximum-length': 'Má hafa í mesta lagi {{maxLength}} atriði',
12
+ /** Portable Text array has more than the maximum of "$maxLength" items */
13
+ 'array.maximum-length_blocks': 'Má hafa í mesta lagi {{maxLength}} blokkir',
14
+ /** Array has less than the minimum of "$minLength" items */
15
+ 'array.minimum-length': 'Verður að hafa að minnsta kosti {{minLength}} atriði',
16
+ /** Portable Text array has less than the minimum of "$minLength" blocks */
17
+ 'array.minimum-length_blocks': 'Verður að hafa að minnsta kosti {{minLength}} blokkir',
18
+
19
+ /** Date is not valid or not in the correct format (ISO-8601) */
20
+ 'date.invalid-format': 'Verður að vera gilt ISO-8601 sniðið dagsetning',
21
+ /** Date is later than the given maximum date "$maxDate" */
22
+ 'date.maximum': 'Verður að vera á eða fyrir {{maxDate}}',
23
+ /** Date is earlier than the given minimum date "$minDate" */
24
+ 'date.minimum': 'Verður að vera á eða eftir {{minDate}}',
25
+
26
+ /** A value of incorrect type is found, eg found `number` instead of `string` */
27
+ 'generic.incorrect-type': 'Væntanlegur týpa "{{expectedType}}", fékk "{{actualType}}"',
28
+ /** Value is not one of the values specifically allowed */
29
+ 'generic.not-allowed': 'Gildi passaði ekki við nein leyfð gildi',
30
+ /** Value "$givenValue" is not one of the values specifically allowed */
31
+ 'generic.not-allowed_hint': 'Gildi "{{hint}}" passaði ekki við nein leyfð gildi',
32
+ /** A value is expected, but none is provided */
33
+ 'generic.required': 'Krafist',
34
+
35
+ /** Number is less than the given minimum threshold value "$threshold" */
36
+ 'number.greater-than': 'Verður að vera meira en {{threshold}}',
37
+ /** Number is greater than the given maximum threshold value "$threshold" */
38
+ 'number.less-than': 'Verður að vera minna en {{threshold}}',
39
+ /** Number is higher than the given maximum value "$maxNumber" */
40
+ 'number.maximum': 'Verður að vera lægra en eða jafnt og {{maxNumber}}',
41
+ /** Number has more precision (decimals) than the allowed "$limit" */
42
+ 'number.maximum-precision': 'Hámarks nákvæmni er {{limit}}',
43
+ /** Number is lower than the given minimum value "$minNumber" */
44
+ 'number.minimum': 'Verður að vera meira en eða jafnt og {{minNumber}}',
45
+ /** Number is not an integer ("whole number") */
46
+ 'number.non-integer': 'Verður að vera heiltala',
47
+
48
+ /** Object is missing a reference to an asset document in its `asset` field */
49
+ 'object.asset-required': 'Eign er krafist',
50
+ /** Object is missing a reference to a file asset document in its `asset` field */
51
+ 'object.asset-required_file': 'Skrá er krafist',
52
+ /** Object is missing a reference to an image asset document in its `asset` field */
53
+ 'object.asset-required_image': 'Mynd er krafist',
54
+ /** Object is not a reference to a document (eg `{_ref: 'documentId'}`) */
55
+ 'object.not-reference': 'Verður að vera tilvísun í skjal',
56
+ /** Object references a document which is not published */
57
+ 'object.reference-not-published': 'Tilvísunarskjal verður að vera birt',
58
+
59
+ /** Accessibility label for closing the validation panel */
60
+ 'panel.close-button-aria-label': 'Loka staðfestingarvalmynd',
61
+ /** Message shown when the validation panel is opened but there are no errors/warnings */
62
+ 'panel.no-errors-message': 'Engar staðfestingarvillur',
63
+ /** Title for the actual "Validation" panel/feature */
64
+ 'panel.title': 'Staðfesting',
65
+
66
+ /** Slug is an object, but is missing a `current` string property */
67
+ 'slug.missing-current': 'Slug verður að hafa gildi',
68
+ /** Slug is not an object (eg `{current: 'some-slug'}`) */
69
+ 'slug.not-object': 'Slug verður að vera hlutur',
70
+ /** Slug is already in use somewhere else, but needs to be unique */
71
+ 'slug.not-unique': 'Slug er nú þegar í notkun',
72
+
73
+ /** String is not a valid email address */
74
+ 'string.email': 'Verður að vera gilt netfang',
75
+ /** String has a different character length than the exact number "$wantedLength" */
76
+ 'string.exact-length': 'Verður að vera nákvæmlega {{wantedLength}} stafir að lengd',
77
+ /** String contains characters that are not in lowercase */
78
+ 'string.lowercase': 'Verður að vera allt lágstafir',
79
+ /** String is longer than the limit of "$maxLength" characters */
80
+ 'string.maximum-length': 'Má vera í mesta lagi {{maxLength}} stafir að lengd',
81
+ /** String is shorter than the limit of "$minLength" characters */
82
+ 'string.minimum-length': 'Verður að vera að minnsta kosti {{minLength}} stafir að lengd',
83
+ /** String does not match the given regular expression, but should */
84
+ 'string.regex-does-not-match': 'Passar ekki við "{{name}}"-mynstrið',
85
+ /** String matches the given regular expression, but should not */
86
+ 'string.regex-match': 'Á ekki að passa við "{{name}}"-mynstrið',
87
+ /** String contains characters that are not in uppercase */
88
+ 'string.uppercase': 'Verður að vera allt hástafir',
89
+ /** String contains a protocol/scheme that is not allowed, eg (`ftp`, `mailto`…) */
90
+ 'string.url.disallowed-scheme': 'Passar ekki við leyfileg prótókól/snið',
91
+ /** String contains a URL with a username or password specified before the host */
92
+ 'string.url.includes-credentials': 'Notandanafn/lykilorð ekki leyft',
93
+ /** String is not a valid URL */
94
+ 'string.url.invalid': 'Ekki gilt vefslóð',
95
+ /** String is not an absolute URL (eg it is missing a protocol/host) */
96
+ 'string.url.not-absolute': 'Afstæðar vefslóðir eru ekki leyfðar',
97
+ /** String is not a relative URL (eg it contains a protocol/host) */
98
+ 'string.url.not-relative': 'Aðeins afstæðar vefslóðir eru leyfðar',
99
+ })
package/src/vision.ts ADDED
@@ -0,0 +1,69 @@
1
+ import {removeUndefinedLocaleResources} from 'sanity'
2
+
3
+ export default removeUndefinedLocaleResources({
4
+ /** Label for action "Copy to clipboard", tied to the "Query URL" field. Also used for accessibility purposes on button */
5
+ 'action.copy-url-to-clipboard': 'Afrita á klippiborð',
6
+ /** Label for stopping an ongoing listen operation */
7
+ 'action.listen-cancel': 'Stoppa',
8
+ /** Label for setting up a listener */
9
+ 'action.listen-execute': 'Hlusta',
10
+ /** Label for cancelling an ongoing query */
11
+ 'action.query-cancel': 'Hætta við',
12
+ /** Label for executing the query, eg doing a fetch */
13
+ 'action.query-execute': 'Sækja',
14
+
15
+ /**
16
+ * Some features has a "New" label indicating that the feature was recently introduced.
17
+ * This defines what the text of that label is. Keep it short and sweet.
18
+ */
19
+ 'label.new': 'Nýtt',
20
+
21
+ /** Error message for when the "Params" input are not a valid json */
22
+ 'params.error.params-invalid-json': 'Parametrar eru ekki gilt JSON',
23
+ /** Label for "Params" (parameters) editor/input */
24
+ 'params.label': 'Parametrar',
25
+
26
+ /** Label for 'Column' indicator when there is an error within the query */
27
+ 'query.error.column': 'Dálkur',
28
+ /** Label for 'Line' indicator when there is an error within the query */
29
+ 'query.error.line': 'Lína',
30
+ /** Label for "Query" editor/input */
31
+ 'query.label': 'Fyrirspurn',
32
+ /** Label for the "Query URL" field, shown after executing a query, and allows for copying */
33
+ 'query.url': 'Fyrirspurnarvefslóð',
34
+
35
+ /** Label for "End to End time" information of the fetched query */
36
+ 'result.end-to-end-time-label': 'Enda-til-enda',
37
+ /** Label for "Execution time" information of the fetched query */
38
+ 'result.execution-time-label': 'Framkvæmdartími',
39
+ /** Label for "Result" explorer/view */
40
+ 'result.label': 'Niðurstaða',
41
+ /**
42
+ * "Not applicable" message for when there is no Execution time or End to End time information
43
+ * available for the query (eg when the query has not been executed, or errored)
44
+ */
45
+ 'result.timing-not-applicable': 'ekki viðeigandi',
46
+
47
+ /** Label for the "API version" dropdown in settings */
48
+ 'settings.api-version-label': 'API útgáfa',
49
+ /** Label for the "Custom API version" input in settings, shown when "other" is chosen as API version */
50
+ 'settings.custom-api-version-label': 'Sérsniðin API útgáfa',
51
+ /** Label for the "Dataset" dropdown in vision settings */
52
+ 'settings.dataset-label': 'Dataset',
53
+ /** Error label for when the API version in 'Custom API version' input is invalid */
54
+ 'settings.error.invalid-api-version': 'Ógild API útgáfa',
55
+ /** Label for the "other" versions within the "API version" dropdown */
56
+ 'settings.other-api-version-label': 'Annað',
57
+ /**
58
+ * Label for the "Perspective" dropdown in vision settings
59
+ * @see {@link https://www.sanity.io/docs/perspectives}
60
+ */
61
+ 'settings.perspective-label': 'Perspective',
62
+ /** Call to action to read the docs related to "Perspectives" */
63
+ 'settings.perspectives.action.docs-link': 'Lestu skjölin',
64
+ /** Description for popover that explains what "Perspectives" are */
65
+ 'settings.perspectives.description':
66
+ 'Perspectives leyfa fyrirspurn þinni að keyra gegn mismunandi "sýnum" af efni í dataset þínu',
67
+ /** Title for popover that explains what "Perspectives" are */
68
+ 'settings.perspectives.title': 'Perspectives',
69
+ })