@xen-orchestra/web-core 0.38.0 → 0.39.1

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 (53) hide show
  1. package/lib/components/card/VtsCardRowKeyValue.vue +2 -4
  2. package/lib/components/cell-object/VtsCellObject.vue +1 -1
  3. package/lib/components/console/VtsActionsConsole.vue +3 -3
  4. package/lib/components/console/VtsClipboardConsole.vue +4 -4
  5. package/lib/components/copy-button/VtsCopyButton.vue +1 -1
  6. package/lib/components/dropdown/VtsDropdownTitle.vue +2 -2
  7. package/lib/components/layout/VtsLayoutSidebar.vue +1 -1
  8. package/lib/components/{label-value-list/VtsLabelValueList.vue → recursive-fields/VtsRecursiveFields.vue} +4 -4
  9. package/lib/components/select/VtsSelect.vue +1 -1
  10. package/lib/components/state-hero/VtsStateHero.vue +1 -1
  11. package/lib/components/table/cells/VtsTruncatedTextCell.vue +1 -1
  12. package/lib/components/task/VtsQuickTaskButton.vue +2 -2
  13. package/lib/components/task/VtsQuickTaskList.vue +3 -2
  14. package/lib/components/task/VtsQuickTaskTabBar.vue +6 -6
  15. package/lib/components/ui/account-menu-button/UiAccountMenuButton.vue +1 -1
  16. package/lib/components/ui/breadcrumb/UiBreadcrumb.vue +1 -1
  17. package/lib/components/ui/character-limit/UiCharacterLimit.vue +1 -1
  18. package/lib/components/ui/circle-progress-bar/UiCircleProgressBar.vue +1 -1
  19. package/lib/components/ui/collapsible-list/UiCollapsibleList.vue +1 -1
  20. package/lib/components/ui/input/UiInput.vue +8 -4
  21. package/lib/components/ui/log-entry-viewer/UiLogEntryViewer.vue +1 -1
  22. package/lib/components/ui/query-search-bar/UiQuerySearchBar.vue +6 -6
  23. package/lib/components/ui/quick-task-item/UiQuickTaskItem.vue +2 -13
  24. package/lib/components/ui/quick-task-panel/UiQuickTaskPanel.vue +1 -1
  25. package/lib/components/ui/table-pagination/UiTablePagination.vue +3 -3
  26. package/lib/components/ui/task-item/UiTaskItem.vue +30 -17
  27. package/lib/components/ui/task-list/UiTaskList.vue +14 -3
  28. package/lib/components/ui/text-area/UiTextarea.vue +1 -1
  29. package/lib/components/ui/top-bottom-table/UiTopBottomTable.vue +3 -3
  30. package/lib/components/ui/tree-item-label/UiTreeItemLabel.vue +1 -1
  31. package/lib/i18n.ts +8 -4
  32. package/lib/layouts/CoreLayout.vue +1 -1
  33. package/lib/locales/cs.json +297 -294
  34. package/lib/locales/da.json +181 -200
  35. package/lib/locales/de.json +243 -251
  36. package/lib/locales/en.json +312 -310
  37. package/lib/locales/es.json +282 -300
  38. package/lib/locales/fa.json +239 -239
  39. package/lib/locales/fr.json +314 -312
  40. package/lib/locales/it.json +190 -186
  41. package/lib/locales/ja.json +23 -0
  42. package/lib/locales/ko.json +23 -1
  43. package/lib/locales/nb-NO.json +696 -0
  44. package/lib/locales/nl.json +296 -295
  45. package/lib/locales/pt-BR.json +170 -0
  46. package/lib/locales/ru.json +209 -206
  47. package/lib/locales/sv.json +244 -254
  48. package/lib/locales/uk.json +151 -149
  49. package/lib/packages/remote-resource/define-remote-resource.ts +37 -4
  50. package/lib/types/task.type.ts +15 -0
  51. package/package.json +1 -1
  52. package/lib/locales/nb_NO.json +0 -1
  53. package/lib/locales/pt_BR.json +0 -158
@@ -7,7 +7,7 @@
7
7
  <textarea v-bind="attrs" :id ref="textarea" v-model="model" :disabled class="textarea" />
8
8
  <UiCharacterLimit v-if="maxCharacters" :count="model.trim().length" :max="maxCharacters" />
9
9
  <UiInfo v-if="isExceedingMaxCharacters" accent="danger">
10
- {{ t('core.textarea.exceeds-max-characters', { max: maxCharacters }) }}
10
+ {{ t('field:exceeds-max-characters', { max: maxCharacters }) }}
11
11
  </UiInfo>
12
12
  <UiInfo v-if="slots.info" :accent="accent === 'brand' ? 'info' : accent">
13
13
  <slot name="info" />
@@ -3,7 +3,7 @@
3
3
  <div class="ui-top-bottom-table" :class="{ 'no-content': totalItems === 0 }">
4
4
  <div v-if="totalItems > 0" class="content">
5
5
  <span class="typo-body-regular-small label">
6
- {{ t('core.select.n-selected-of', { count: selectedItems, total: totalItems }) }}
6
+ {{ t('n-selected-of', { count: selectedItems, total: totalItems }) }}
7
7
  </span>
8
8
 
9
9
  <UiButton
@@ -13,7 +13,7 @@
13
13
  variant="tertiary"
14
14
  @click="emit('toggleSelectAll', true)"
15
15
  >
16
- {{ t('core.select.all') }}
16
+ {{ t('action:select-all') }}
17
17
  </UiButton>
18
18
  <UiButton
19
19
  :disabled="selectedItems === 0"
@@ -22,7 +22,7 @@
22
22
  variant="tertiary"
23
23
  @click="emit('toggleSelectAll', false)"
24
24
  >
25
- {{ t('core.select.unselect') }}
25
+ {{ t('action:unselect-all') }}
26
26
  </UiButton>
27
27
  </div>
28
28
  <slot />
@@ -11,7 +11,7 @@
11
11
  </template>
12
12
  <UiButtonIcon
13
13
  v-if="hasToggle"
14
- v-tooltip="isExpanded ? t('core.close') : t('core.open')"
14
+ v-tooltip="isExpanded ? t('action:close') : t('action:open')"
15
15
  class="toggle"
16
16
  accent="brand"
17
17
  :icon="isExpanded ? 'fa:angle-down' : 'fa:angle-right'"
package/lib/i18n.ts CHANGED
@@ -53,8 +53,8 @@ export const locales: Locales = {
53
53
  code: 'nl',
54
54
  name: 'Nederlands',
55
55
  },
56
- pt_BR: {
57
- code: 'pt_BR',
56
+ 'pt-BR': {
57
+ code: 'pt-BR',
58
58
  name: 'Português (Brasil)',
59
59
  },
60
60
  da: {
@@ -65,10 +65,14 @@ export const locales: Locales = {
65
65
  code: 'ko',
66
66
  name: '한국어',
67
67
  },
68
- nb_NO: {
69
- code: 'nb_NO',
68
+ 'nb-NO': {
69
+ code: 'nb-NO',
70
70
  name: 'Norsk (Bokmål)',
71
71
  },
72
+ ja: {
73
+ code: 'ja',
74
+ name: '日本語',
75
+ },
72
76
  }
73
77
 
74
78
  export default createI18n({
@@ -4,7 +4,7 @@
4
4
  <slot name="app-logo" />
5
5
  <UiButtonIcon
6
6
  v-tooltip="{
7
- content: sidebarStore.isExpanded ? t('core.sidebar.close') : t('core.sidebar.open'),
7
+ content: sidebarStore.isExpanded ? t('action:sidebar-close') : t('action:sidebar-open'),
8
8
  placement: 'right',
9
9
  }"
10
10
  accent="brand"