bfg-common 1.3.590 → 1.3.592

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.
@@ -67,7 +67,7 @@ const totalItemCount = computed<string>(() => {
67
67
 
68
68
  return `${paginationInfo} ${
69
69
  props.totalItems
70
- } ${localization.value.items.toLowerCase()}`
70
+ } ${localization.value.common.items.toLowerCase()}`
71
71
  })
72
72
 
73
73
  const changePageSize = (pageSize: number): void => {
@@ -78,7 +78,7 @@ const showNotification = (message: UI_I_NotifyBodyMessage): void => {
78
78
  }
79
79
  const msgError = ref<UI_I_NotifyBodyMessage>({
80
80
  status: 'error',
81
- title: localization.value.error,
81
+ title: localization.value.common.error,
82
82
  desc: '',
83
83
  })
84
84
  const handleErrors = (error: Ref<API_UI_I_Error>): void => {
@@ -6,7 +6,7 @@ export const helpMenuFunc = (
6
6
  ): UI_I_Dropdown[] => {
7
7
  return [
8
8
  {
9
- text: localization.help,
9
+ text: localization.mainNavigation.help,
10
10
  value: 'help',
11
11
  testId: 'information-menu-help',
12
12
  },
@@ -7,7 +7,7 @@ export const helpMenuFunc = (
7
7
  ): UI_I_DropMenu<UI_T_ActionTypeHelpMenu>[] => {
8
8
  return [
9
9
  {
10
- text: localization.help,
10
+ text: localization.mainNavigation.help,
11
11
  action: 'help',
12
12
  closeAfterClick: true,
13
13
  testId: 'information-menu-help',
@@ -11,7 +11,7 @@
11
11
 
12
12
  <div>
13
13
  <div class="form-first-title">
14
- {{ localization.inventory }}
14
+ {{ localization.mainNavigation.inventory }}
15
15
  </div>
16
16
  <div class="form-second-title">
17
17
  {{ localization.inventoryDesc }}
@@ -25,7 +25,7 @@ export const preferencesTabs = (
25
25
  testId: 'user-preferences-default-console',
26
26
  }
27
27
  const inventoryTab = {
28
- text: `${localization.inventory}`,
28
+ text: `${localization.mainNavigation.inventory}`,
29
29
  value: 'inventory-tab',
30
30
  disabled: false,
31
31
  testId: 'user-preferences-inventory',
@@ -16,7 +16,7 @@ const getItems = (
16
16
  ): [string, boolean, string, string][] => {
17
17
  return [
18
18
  [localization.time, true, '50%', hardwareHealthSystemLogTableKeys[0]],
19
- [localization.events, true, '50%', hardwareHealthSystemLogTableKeys[1]],
19
+ [localization.mainNavigation.events, true, '50%', hardwareHealthSystemLogTableKeys[1]],
20
20
  ]
21
21
  }
22
22
  export const columnKeys = (
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="shortcut">
3
- <h1>{{ localization.shortcuts }}</h1>
3
+ <h1>{{ localization.mainNavigation.shortcuts }}</h1>
4
4
  <template v-for="item in props.shortcutsItems">
5
5
  <div class="shortcut-category">
6
6
  <common-shortcuts-category
@@ -146,7 +146,7 @@ const selectedNodeInfo = computed<UI_I_FileInfo[] | null>(() => {
146
146
  const result = [
147
147
  {
148
148
  type: 'text',
149
- title: localization.value.name,
149
+ title: localization.value.common.name,
150
150
  value: node.name || '',
151
151
  },
152
152
  {
@@ -62,7 +62,7 @@
62
62
  @hide="isShowPassthroughHost = false"
63
63
  >
64
64
  <h3 class="passthrough-help-title">
65
- {{ localization.help }}
65
+ {{ localization.mainNavigation.help }}
66
66
  </h3>
67
67
 
68
68
  <p class="passthrough-help-text">
@@ -105,7 +105,7 @@
105
105
  @hide="isShowHostModel = false"
106
106
  >
107
107
  <h3 class="host-model-help-title">
108
- {{ localization.help }}
108
+ {{ localization.mainNavigation.help }}
109
109
  </h3>
110
110
 
111
111
  <p class="host-model-help-text">
@@ -39,7 +39,7 @@
39
39
  @hide="isShowHvHelp = false"
40
40
  >
41
41
  <h3 class="hv-help-title">
42
- {{ localization.help }}
42
+ {{ localization.mainNavigation.help }}
43
43
  </h3>
44
44
 
45
45
  <p class="hv-help-text">
@@ -33,7 +33,7 @@
33
33
  @hide="isShowSaHelp = false"
34
34
  >
35
35
  <h3 class="sa-help-title">
36
- {{ localization.help }}
36
+ {{ localization.mainNavigation.help }}
37
37
  </h3>
38
38
 
39
39
  <p class="sa-help-text">
@@ -15,7 +15,7 @@
15
15
  @hide="isShowCpuHelp = false"
16
16
  >
17
17
  <h3 class="cpu-help-title">
18
- {{ localization.help }}
18
+ {{ localization.mainNavigation.help }}
19
19
  </h3>
20
20
 
21
21
  <p class="cpu-help-text">
@@ -30,7 +30,7 @@ const showNotification = (message: UI_I_NotifyBodyMessage): void => {
30
30
  }
31
31
  const msgError: UI_I_NotifyBodyMessage = {
32
32
  status: 'error',
33
- title: localization.value.error,
33
+ title: localization.value.common.error,
34
34
  desc: '',
35
35
  }
36
36
  const handleErrors = (error: Ref<API_UI_I_Error>): void => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.590",
4
+ "version": "1.3.592",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",