bfg-common 1.3.364 → 1.3.366

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.
@@ -105,7 +105,7 @@
105
105
  <label
106
106
  for="custom-time-fromInput"
107
107
  class="custom-radio-label text-capitalize text-right"
108
- >{{ localization.from }}:
108
+ >{{ localization.from2 }}:
109
109
  </label>
110
110
  </td>
111
111
  <td>
@@ -142,7 +142,7 @@
142
142
  </tr>
143
143
  <tr>
144
144
  <td class="custom-time-label-text text-right">
145
- {{ localization.to }}:
145
+ {{ localization.to2 }}:
146
146
  </td>
147
147
  <td>
148
148
  <div
@@ -33,20 +33,20 @@ export const timespanFunc = (
33
33
 
34
34
  export const customTimeFunc = (
35
35
  localization: UI_I_Localization,
36
- hour: number,
36
+ value: number,
37
37
  lang: string
38
38
  ): UI_I_OptionItem[] => {
39
39
  const isLangRu = lang === 'ru_RU'
40
40
 
41
41
  const hourText = isLangRu
42
- ? getCorrectRuForm(hour, 'hour')
42
+ ? getCorrectRuForm(value, 'hour')
43
43
  : localization.hours2
44
- const dayText = isLangRu ? getCorrectRuForm(hour, 'day') : localization.days2
44
+ const dayText = isLangRu ? getCorrectRuForm(value, 'day') : localization.days2
45
45
  const weekText = isLangRu
46
- ? getCorrectRuForm(hour, 'week')
46
+ ? getCorrectRuForm(value, 'week')
47
47
  : localization.weeks2
48
48
  const monthText = isLangRu
49
- ? getCorrectRuForm(hour, 'month')
49
+ ? getCorrectRuForm(value, 'month')
50
50
  : localization.months2
51
51
 
52
52
  return [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.364",
4
+ "version": "1.3.366",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",