@sanity/locale-is-is 1.1.3 → 1.2.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.
- package/LICENSE +1 -1
- package/README.md +0 -5
- package/dist/_chunks/comments.cjs +12 -6
- package/dist/_chunks/comments.cjs.map +1 -1
- package/dist/_chunks/comments.js +12 -6
- package/dist/_chunks/comments.js.map +1 -1
- package/dist/_chunks/structure.cjs +24 -24
- package/dist/_chunks/structure.cjs.map +1 -1
- package/dist/_chunks/structure.js +24 -24
- package/dist/_chunks/structure.js.map +1 -1
- package/dist/_chunks/studio.cjs +39 -39
- package/dist/_chunks/studio.cjs.map +1 -1
- package/dist/_chunks/studio.js +39 -39
- package/dist/_chunks/studio.js.map +1 -1
- package/dist/_chunks/tasks.cjs +120 -0
- package/dist/_chunks/tasks.cjs.map +1 -0
- package/dist/_chunks/tasks.js +118 -0
- package/dist/_chunks/tasks.js.map +1 -0
- package/dist/_chunks/validation.cjs +3 -3
- package/dist/_chunks/validation.cjs.map +1 -1
- package/dist/_chunks/validation.js +3 -3
- package/dist/_chunks/validation.js.map +1 -1
- package/dist/_chunks/vision.cjs +1 -1
- package/dist/_chunks/vision.cjs.map +1 -1
- package/dist/_chunks/vision.js +1 -1
- package/dist/_chunks/vision.js.map +1 -1
- package/dist/index.cjs +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +7 -2
- package/src/comments.ts +15 -6
- package/src/index.ts +9 -4
- package/src/structure.ts +24 -24
- package/src/studio.ts +39 -39
- package/src/tasks.ts +129 -0
- package/src/validation.ts +3 -3
- package/src/vision.ts +1 -1
package/src/tasks.ts
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import {removeUndefinedLocaleResources} from 'sanity'
|
|
2
|
+
|
|
3
|
+
export default removeUndefinedLocaleResources({
|
|
4
|
+
/** The label for the create task action */
|
|
5
|
+
'actions.create.text': 'Búa til nýtt verkefni',
|
|
6
|
+
/** The label for the open tasks panel action */
|
|
7
|
+
'actions.open.text': 'Verkefni',
|
|
8
|
+
|
|
9
|
+
/** The label for the button to create a new task */
|
|
10
|
+
'buttons.create.text': 'Búa til verkefni',
|
|
11
|
+
/** The label for the button to discard changes */
|
|
12
|
+
'buttons.discard.text': 'Hætta við',
|
|
13
|
+
/** The label for the button to open the draft */
|
|
14
|
+
'buttons.draft.text': 'Drög',
|
|
15
|
+
/** The label for the button to create a new task */
|
|
16
|
+
'buttons.new.text': 'Nýtt verkefni',
|
|
17
|
+
/** The label for the button that will navigate to the next task */
|
|
18
|
+
'buttons.next.tooltip': 'Fara á næsta verkefni',
|
|
19
|
+
/** The label for the button that will previous to the next task */
|
|
20
|
+
'buttons.previous.tooltip': 'Fara á fyrri verkefni',
|
|
21
|
+
|
|
22
|
+
/** Text for the remove task dialog asking for confirmation of deletion */
|
|
23
|
+
'dialog.remove-task.body': 'Ertu viss um að þú viljir eyða þessu verkefni?',
|
|
24
|
+
/** Text for the remove task dialog clarifying that deletion is permanent */
|
|
25
|
+
'dialog.remove-task.body2': 'Ekki hægt að endurheimta eftir að því er eytt.',
|
|
26
|
+
/** The label for the cancel button on the remove task dialog */
|
|
27
|
+
'dialog.remove-task.buttons.cancel.text': 'Hætta við',
|
|
28
|
+
/** The label for the confirmation button on the remove task dialog */
|
|
29
|
+
'dialog.remove-task.buttons.confirm.text': 'Fjarlægja',
|
|
30
|
+
/** The title for the remove task dialog */
|
|
31
|
+
'dialog.remove-task.title': 'Fjarlægja verkefni',
|
|
32
|
+
|
|
33
|
+
/** The text used as a placeholder for the footer action in a document with a single task */
|
|
34
|
+
'document.footer.open-tasks.placeholder_one': 'Opna verkefni',
|
|
35
|
+
/** The text used as a placeholder for the footer action in a document with multiple tasks */
|
|
36
|
+
'document.footer.open-tasks.placeholder_other': 'Opna verkefni',
|
|
37
|
+
/** The label used in the button in the footer action in a document with a single task */
|
|
38
|
+
'document.footer.open-tasks.text_one': '{{count}} opið verkefni',
|
|
39
|
+
/** The label used in the button in the footer action in a document with multiple tasks */
|
|
40
|
+
'document.footer.open-tasks.text_other': '{{count}} opin verkefni',
|
|
41
|
+
|
|
42
|
+
'empty-state.list.assigned.heading': 'Þér hefur ekki verið úthlutað neinum verkefnum',
|
|
43
|
+
'empty-state.list.assigned.text': 'Þegar þér hefur verið úthlutað verkefnum munu þau birtast hér',
|
|
44
|
+
'empty-state.list.create-new': 'Búa til nýtt verkefni',
|
|
45
|
+
'empty-state.list.document.heading': 'Þetta skjal hefur engin verkefni ennþá',
|
|
46
|
+
'empty-state.list.document.text': 'Þegar skjal hefur tengd verkefni, munu þau birtast hér.',
|
|
47
|
+
'empty-state.list.subscribed.heading': 'Þú hefur ekki skráð þig á nein verkefni',
|
|
48
|
+
'empty-state.list.subscribed.text':
|
|
49
|
+
'Þegar þú býrð til, breytir eða skrifar athugasemd við verkefni munt þú vera sjálfkrafa skráð(ur)',
|
|
50
|
+
'empty-state.status.list.closed.assigned.heading': 'Engin kláruð verkefni',
|
|
51
|
+
'empty-state.status.list.closed.assigned.text':
|
|
52
|
+
'Verkefni sem þú hefur merkt sem klárað munu birtast hér',
|
|
53
|
+
'empty-state.status.list.closed.document.heading': 'Engin kláruð verkefni',
|
|
54
|
+
'empty-state.status.list.closed.subscribed.heading': 'Engin kláruð verkefni',
|
|
55
|
+
'empty-state.status.list.closed.subscribed.text':
|
|
56
|
+
'Verkefni sem þú ert áskrifandi að og eru merkt sem kláruð munu birtast hér',
|
|
57
|
+
'empty-state.status.list.open.assigned.heading': 'Þú ert alveg búinn',
|
|
58
|
+
'empty-state.status.list.open.assigned.text':
|
|
59
|
+
'Ný verkefni sem eru úthlutað til þín munu birtast hér',
|
|
60
|
+
'empty-state.status.list.open.document.heading': 'Engin verkefni á þessu skjali',
|
|
61
|
+
'empty-state.status.list.open.subscribed.heading': 'Engin áskriftarverkefni',
|
|
62
|
+
'empty-state.status.list.open.subscribed.text':
|
|
63
|
+
'Verkefni sem þú ert áskrifandi að munu birtast hér',
|
|
64
|
+
|
|
65
|
+
/** Text used in the assignee input when there is no user assigned */
|
|
66
|
+
'form.input.assignee.no-user-assigned.text': 'Ekki úthlutað',
|
|
67
|
+
/** Text used in the assignee input when searching and no users are found */
|
|
68
|
+
'form.input.assignee.search.no-users.text': 'Engir notendur fundust',
|
|
69
|
+
/** Placeholder text used in the search box in the assignee input */
|
|
70
|
+
'form.input.assignee.search.placeholder': 'Veldu notendanafn',
|
|
71
|
+
/** Text used in the assignee input when user is not authorized */
|
|
72
|
+
'form.input.assignee.unauthorized.text': 'Óheimilt',
|
|
73
|
+
/** Text used in the assignee input when user is not found */
|
|
74
|
+
'form.input.assignee.user-not-found.text': 'Notandi fannst ekki',
|
|
75
|
+
/** The label used in the create more toggle */
|
|
76
|
+
'form.input.create-more.text': 'Búa til fleiri',
|
|
77
|
+
/** The label used in the date input to remove the current value */
|
|
78
|
+
'form.input.date.buttons.remove.text': 'Fjarlægja',
|
|
79
|
+
/** Placeholder text used in the description input */
|
|
80
|
+
'form.input.description.placeholder': 'Bættu við lýsingu',
|
|
81
|
+
/** The label used in the target input to remove the current value */
|
|
82
|
+
'form.input.target.buttons.remove.text': 'Fjarlægja markmiðsefni',
|
|
83
|
+
/** The text used in the target input when encountering a schema error */
|
|
84
|
+
'form.input.target.error.schema-not-found': 'Skema fannst ekki',
|
|
85
|
+
/** The placeholder text used in the target input for the search component */
|
|
86
|
+
'form.input.target.search.placeholder': 'Veldu skjal',
|
|
87
|
+
/** The placeholder text for the title input */
|
|
88
|
+
'form.input.title.placeholder': 'Titill verkefnis',
|
|
89
|
+
/** The status error message presented when the user does not supply a title */
|
|
90
|
+
'form.status.error.title-required': 'Titill er nauðsynlegur',
|
|
91
|
+
/** The status message upon successful creation of a task */
|
|
92
|
+
'form.status.success': 'Verkefni búið til',
|
|
93
|
+
|
|
94
|
+
/** The text displayed when no tasks are found */
|
|
95
|
+
'list.empty.text': 'Engin verkefni',
|
|
96
|
+
|
|
97
|
+
/** The label for the copy link menu item */
|
|
98
|
+
'menuitem.copylink.text': 'Afrita tengil á verkefni',
|
|
99
|
+
/** The label for the delete task menu item */
|
|
100
|
+
'menuitem.delete.text': 'Eyða verkefni',
|
|
101
|
+
/** The label for the duplicate task menu item */
|
|
102
|
+
'menuitem.duplicate.text': 'Tvöfalda verkefni',
|
|
103
|
+
|
|
104
|
+
/** Fragment used to construct the first entry in the activity log */
|
|
105
|
+
'panel.activity.created-fragment': 'búið til þetta verkefni',
|
|
106
|
+
/** The title of the activity section of the task */
|
|
107
|
+
'panel.activity.title': 'Virkni',
|
|
108
|
+
/** The text used in the activity log when unable to find the user */
|
|
109
|
+
'panel.activity.unknown-user': 'Óþekktur notandi',
|
|
110
|
+
/** The tooltip for the close button for the task panel */
|
|
111
|
+
'panel.close.tooltip': 'Loka hliðarstiku',
|
|
112
|
+
/** The placeholder text for the comment text box */
|
|
113
|
+
'panel.comment.placeholder': 'Bættu við athugasemd...',
|
|
114
|
+
/** The title used in the task panel when showing the create task form */
|
|
115
|
+
'panel.create.title': 'Búa til',
|
|
116
|
+
/** The title used in the drafts pulldown */
|
|
117
|
+
'panel.drafts.title': 'Drög',
|
|
118
|
+
/** The tooltip for the task navigation component */
|
|
119
|
+
'panel.navigation.tooltip': 'Opna verkefni',
|
|
120
|
+
/** Title of the Tasks panel */
|
|
121
|
+
'panel.title': 'Verkefni',
|
|
122
|
+
|
|
123
|
+
/** Label for the Assigned Tab */
|
|
124
|
+
'tab.assigned.label': 'Úthlutað',
|
|
125
|
+
/** Label for the Active Document Tab */
|
|
126
|
+
'tab.document.label': 'Virk skjal',
|
|
127
|
+
/** Label for the Subscribed Tab */
|
|
128
|
+
'tab.subscribed.label': 'Áskrifandi',
|
|
129
|
+
})
|
package/src/validation.ts
CHANGED
|
@@ -17,14 +17,14 @@ export default removeUndefinedLocaleResources({
|
|
|
17
17
|
'array.minimum-length_blocks': 'Verður að hafa að minnsta kosti {{minLength}} blokkir',
|
|
18
18
|
|
|
19
19
|
/** Date is not valid or not in the correct format (ISO-8601) */
|
|
20
|
-
'date.invalid-format': 'Verður að vera
|
|
20
|
+
'date.invalid-format': 'Verður að vera gild ISO-8601 sniðin dagsetning',
|
|
21
21
|
/** Date is later than the given maximum date "$maxDate" */
|
|
22
22
|
'date.maximum': 'Verður að vera á eða fyrir {{maxDate}}',
|
|
23
23
|
/** Date is earlier than the given minimum date "$minDate" */
|
|
24
24
|
'date.minimum': 'Verður að vera á eða eftir {{minDate}}',
|
|
25
25
|
|
|
26
26
|
/** A value of incorrect type is found, eg found `number` instead of `string` */
|
|
27
|
-
'generic.incorrect-type': '
|
|
27
|
+
'generic.incorrect-type': 'Væntanleg týpa "{{expectedType}}", fékk "{{actualType}}"',
|
|
28
28
|
/** Value is not one of the values specifically allowed */
|
|
29
29
|
'generic.not-allowed': 'Gildi passaði ekki við nein leyfð gildi',
|
|
30
30
|
/** Value "$givenValue" is not one of the values specifically allowed */
|
|
@@ -91,7 +91,7 @@ export default removeUndefinedLocaleResources({
|
|
|
91
91
|
/** String contains a URL with a username or password specified before the host */
|
|
92
92
|
'string.url.includes-credentials': 'Notandanafn/lykilorð ekki leyft',
|
|
93
93
|
/** String is not a valid URL */
|
|
94
|
-
'string.url.invalid': 'Ekki
|
|
94
|
+
'string.url.invalid': 'Ekki gild vefslóð',
|
|
95
95
|
/** String is not an absolute URL (eg it is missing a protocol/host) */
|
|
96
96
|
'string.url.not-absolute': 'Afstæðar vefslóðir eru ekki leyfðar',
|
|
97
97
|
/** String is not a relative URL (eg it contains a protocol/host) */
|
package/src/vision.ts
CHANGED
|
@@ -49,7 +49,7 @@ export default removeUndefinedLocaleResources({
|
|
|
49
49
|
/** Label for the "Custom API version" input in settings, shown when "other" is chosen as API version */
|
|
50
50
|
'settings.custom-api-version-label': 'Sérsniðin API útgáfa',
|
|
51
51
|
/** Label for the "Dataset" dropdown in vision settings */
|
|
52
|
-
'settings.dataset-label': '
|
|
52
|
+
'settings.dataset-label': 'Gagnasafn',
|
|
53
53
|
/** Error label for when the API version in 'Custom API version' input is invalid */
|
|
54
54
|
'settings.error.invalid-api-version': 'Ógild API útgáfa',
|
|
55
55
|
/** Label for the "other" versions within the "API version" dropdown */
|