@bottlebooks/valid-values 6.9.6-alpha.2 → 7.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.
Files changed (135) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -0
  3. package/dist/core/translate.test.js +2 -2
  4. package/dist/validValues/otherTranslations/locales/bg.d.ts +10 -6
  5. package/dist/validValues/otherTranslations/locales/bg.d.ts.map +1 -1
  6. package/dist/validValues/otherTranslations/locales/bg.js +10 -6
  7. package/dist/validValues/otherTranslations/locales/cs.d.ts +10 -6
  8. package/dist/validValues/otherTranslations/locales/cs.d.ts.map +1 -1
  9. package/dist/validValues/otherTranslations/locales/cs.js +10 -6
  10. package/dist/validValues/otherTranslations/locales/da.d.ts +10 -6
  11. package/dist/validValues/otherTranslations/locales/da.d.ts.map +1 -1
  12. package/dist/validValues/otherTranslations/locales/da.js +10 -6
  13. package/dist/validValues/otherTranslations/locales/de.d.ts +10 -6
  14. package/dist/validValues/otherTranslations/locales/de.d.ts.map +1 -1
  15. package/dist/validValues/otherTranslations/locales/de.js +10 -6
  16. package/dist/validValues/otherTranslations/locales/el.d.ts +10 -6
  17. package/dist/validValues/otherTranslations/locales/el.d.ts.map +1 -1
  18. package/dist/validValues/otherTranslations/locales/el.js +10 -6
  19. package/dist/validValues/otherTranslations/locales/en.d.ts +10 -6
  20. package/dist/validValues/otherTranslations/locales/en.d.ts.map +1 -1
  21. package/dist/validValues/otherTranslations/locales/en.js +10 -6
  22. package/dist/validValues/otherTranslations/locales/es.d.ts +10 -6
  23. package/dist/validValues/otherTranslations/locales/es.d.ts.map +1 -1
  24. package/dist/validValues/otherTranslations/locales/es.js +10 -6
  25. package/dist/validValues/otherTranslations/locales/et.d.ts +10 -6
  26. package/dist/validValues/otherTranslations/locales/et.d.ts.map +1 -1
  27. package/dist/validValues/otherTranslations/locales/et.js +10 -6
  28. package/dist/validValues/otherTranslations/locales/fi.d.ts +10 -6
  29. package/dist/validValues/otherTranslations/locales/fi.d.ts.map +1 -1
  30. package/dist/validValues/otherTranslations/locales/fi.js +10 -6
  31. package/dist/validValues/otherTranslations/locales/fr.d.ts +10 -6
  32. package/dist/validValues/otherTranslations/locales/fr.d.ts.map +1 -1
  33. package/dist/validValues/otherTranslations/locales/fr.js +10 -6
  34. package/dist/validValues/otherTranslations/locales/ga.d.ts +10 -6
  35. package/dist/validValues/otherTranslations/locales/ga.d.ts.map +1 -1
  36. package/dist/validValues/otherTranslations/locales/ga.js +10 -6
  37. package/dist/validValues/otherTranslations/locales/hr.d.ts +10 -6
  38. package/dist/validValues/otherTranslations/locales/hr.d.ts.map +1 -1
  39. package/dist/validValues/otherTranslations/locales/hr.js +10 -6
  40. package/dist/validValues/otherTranslations/locales/hu.d.ts +10 -6
  41. package/dist/validValues/otherTranslations/locales/hu.d.ts.map +1 -1
  42. package/dist/validValues/otherTranslations/locales/hu.js +10 -6
  43. package/dist/validValues/otherTranslations/locales/it.d.ts +10 -6
  44. package/dist/validValues/otherTranslations/locales/it.d.ts.map +1 -1
  45. package/dist/validValues/otherTranslations/locales/it.js +10 -6
  46. package/dist/validValues/otherTranslations/locales/lt.d.ts +10 -6
  47. package/dist/validValues/otherTranslations/locales/lt.d.ts.map +1 -1
  48. package/dist/validValues/otherTranslations/locales/lt.js +10 -6
  49. package/dist/validValues/otherTranslations/locales/lv.d.ts +10 -6
  50. package/dist/validValues/otherTranslations/locales/lv.d.ts.map +1 -1
  51. package/dist/validValues/otherTranslations/locales/lv.js +10 -6
  52. package/dist/validValues/otherTranslations/locales/mt.d.ts +10 -6
  53. package/dist/validValues/otherTranslations/locales/mt.d.ts.map +1 -1
  54. package/dist/validValues/otherTranslations/locales/mt.js +10 -6
  55. package/dist/validValues/otherTranslations/locales/nl.d.ts +10 -6
  56. package/dist/validValues/otherTranslations/locales/nl.d.ts.map +1 -1
  57. package/dist/validValues/otherTranslations/locales/nl.js +10 -6
  58. package/dist/validValues/otherTranslations/locales/pl.d.ts +10 -6
  59. package/dist/validValues/otherTranslations/locales/pl.d.ts.map +1 -1
  60. package/dist/validValues/otherTranslations/locales/pl.js +10 -6
  61. package/dist/validValues/otherTranslations/locales/pt.d.ts +10 -6
  62. package/dist/validValues/otherTranslations/locales/pt.d.ts.map +1 -1
  63. package/dist/validValues/otherTranslations/locales/pt.js +10 -6
  64. package/dist/validValues/otherTranslations/locales/ro.d.ts +10 -6
  65. package/dist/validValues/otherTranslations/locales/ro.d.ts.map +1 -1
  66. package/dist/validValues/otherTranslations/locales/ro.js +10 -6
  67. package/dist/validValues/otherTranslations/locales/sk.d.ts +10 -6
  68. package/dist/validValues/otherTranslations/locales/sk.d.ts.map +1 -1
  69. package/dist/validValues/otherTranslations/locales/sk.js +10 -6
  70. package/dist/validValues/otherTranslations/locales/sl.d.ts +10 -6
  71. package/dist/validValues/otherTranslations/locales/sl.d.ts.map +1 -1
  72. package/dist/validValues/otherTranslations/locales/sl.js +10 -6
  73. package/dist/validValues/otherTranslations/locales/sv.d.ts +10 -6
  74. package/dist/validValues/otherTranslations/locales/sv.d.ts.map +1 -1
  75. package/dist/validValues/otherTranslations/locales/sv.js +10 -6
  76. package/dist/validValues/otherTranslations/otherTranslations.d.ts +8 -4
  77. package/dist/validValues/otherTranslations/otherTranslations.d.ts.map +1 -1
  78. package/dist/validValues/otherTranslations/otherTranslations.js +58 -22
  79. package/dist/validValues/region/region.js +1 -1
  80. package/dist/validValues/subregion/subregion.d.ts +1 -0
  81. package/dist/validValues/subregion/subregion.d.ts.map +1 -1
  82. package/dist/validValues/subregion/subregion.js +4 -0
  83. package/package.json +2 -2
  84. package/src/core/translate.test.ts +2 -2
  85. package/src/validValues/otherTranslations/locales/bg.po +26 -10
  86. package/src/validValues/otherTranslations/locales/bg.ts +1 -1
  87. package/src/validValues/otherTranslations/locales/cs.po +26 -10
  88. package/src/validValues/otherTranslations/locales/cs.ts +1 -1
  89. package/src/validValues/otherTranslations/locales/da.po +28 -12
  90. package/src/validValues/otherTranslations/locales/da.ts +1 -1
  91. package/src/validValues/otherTranslations/locales/de.po +26 -10
  92. package/src/validValues/otherTranslations/locales/de.ts +1 -1
  93. package/src/validValues/otherTranslations/locales/el.po +26 -10
  94. package/src/validValues/otherTranslations/locales/el.ts +1 -1
  95. package/src/validValues/otherTranslations/locales/en.po +28 -12
  96. package/src/validValues/otherTranslations/locales/en.ts +1 -1
  97. package/src/validValues/otherTranslations/locales/es.po +26 -10
  98. package/src/validValues/otherTranslations/locales/es.ts +1 -1
  99. package/src/validValues/otherTranslations/locales/et.po +26 -10
  100. package/src/validValues/otherTranslations/locales/et.ts +1 -1
  101. package/src/validValues/otherTranslations/locales/fi.po +27 -11
  102. package/src/validValues/otherTranslations/locales/fi.ts +1 -1
  103. package/src/validValues/otherTranslations/locales/fr.po +26 -10
  104. package/src/validValues/otherTranslations/locales/fr.ts +1 -1
  105. package/src/validValues/otherTranslations/locales/ga.po +26 -10
  106. package/src/validValues/otherTranslations/locales/ga.ts +1 -1
  107. package/src/validValues/otherTranslations/locales/hr.po +26 -10
  108. package/src/validValues/otherTranslations/locales/hr.ts +1 -1
  109. package/src/validValues/otherTranslations/locales/hu.po +26 -10
  110. package/src/validValues/otherTranslations/locales/hu.ts +1 -1
  111. package/src/validValues/otherTranslations/locales/it.po +26 -10
  112. package/src/validValues/otherTranslations/locales/it.ts +1 -1
  113. package/src/validValues/otherTranslations/locales/lt.po +26 -10
  114. package/src/validValues/otherTranslations/locales/lt.ts +1 -1
  115. package/src/validValues/otherTranslations/locales/lv.po +26 -10
  116. package/src/validValues/otherTranslations/locales/lv.ts +1 -1
  117. package/src/validValues/otherTranslations/locales/mt.po +26 -10
  118. package/src/validValues/otherTranslations/locales/mt.ts +1 -1
  119. package/src/validValues/otherTranslations/locales/nl.po +26 -10
  120. package/src/validValues/otherTranslations/locales/nl.ts +1 -1
  121. package/src/validValues/otherTranslations/locales/pl.po +26 -10
  122. package/src/validValues/otherTranslations/locales/pl.ts +1 -1
  123. package/src/validValues/otherTranslations/locales/pt.po +26 -10
  124. package/src/validValues/otherTranslations/locales/pt.ts +1 -1
  125. package/src/validValues/otherTranslations/locales/ro.po +26 -10
  126. package/src/validValues/otherTranslations/locales/ro.ts +1 -1
  127. package/src/validValues/otherTranslations/locales/sk.po +26 -10
  128. package/src/validValues/otherTranslations/locales/sk.ts +1 -1
  129. package/src/validValues/otherTranslations/locales/sl.po +26 -10
  130. package/src/validValues/otherTranslations/locales/sl.ts +1 -1
  131. package/src/validValues/otherTranslations/locales/sv.po +26 -10
  132. package/src/validValues/otherTranslations/locales/sv.ts +1 -1
  133. package/src/validValues/otherTranslations/otherTranslations.ts +50 -22
  134. package/src/validValues/region/region.ts +1 -1
  135. package/src/validValues/subregion/subregion.ts +4 -0
@@ -14,33 +14,49 @@ msgstr ""
14
14
  "Plural-Forms: \n"
15
15
 
16
16
  #: src/validValues/otherTranslations/otherTranslations.ts
17
- msgid "acidity regulators"
17
+ msgid "and/or"
18
+ msgstr "in/ali"
19
+
20
+ #: src/validValues/otherTranslations/otherTranslations.ts
21
+ msgid "contains"
22
+ msgstr "vsebuje"
23
+
24
+ #: src/validValues/otherTranslations/otherTranslations.ts
25
+ msgid "ingredientTag.ACIDITY_REGULATOR"
26
+ msgstr "sredstvo za uravnavanje kislosti"
27
+
28
+ #: src/validValues/otherTranslations/otherTranslations.ts
29
+ msgid "ingredientTag.ACIDITY_REGULATOR.many"
18
30
  msgstr "sredstva za uravnavanje kislosti"
19
31
 
20
32
  #: src/validValues/otherTranslations/otherTranslations.ts
21
- msgid "and/or"
22
- msgstr "in/ali"
33
+ msgid "ingredientTag.ANTIOXIDANT"
34
+ msgstr "antioksidant"
23
35
 
24
36
  #: src/validValues/otherTranslations/otherTranslations.ts
25
- msgid "antioxidants"
37
+ msgid "ingredientTag.ANTIOXIDANT.many"
26
38
  msgstr "antioksidanti"
27
39
 
28
40
  #: src/validValues/otherTranslations/otherTranslations.ts
29
- msgid "contains"
30
- msgstr "vsebuje"
41
+ msgid "ingredientTag.PRESERVATIVE"
42
+ msgstr "konzervans"
31
43
 
32
44
  #: src/validValues/otherTranslations/otherTranslations.ts
33
- msgid "preservatives"
45
+ msgid "ingredientTag.PRESERVATIVE.many"
34
46
  msgstr "konzervansi"
35
47
 
36
48
  #: src/validValues/otherTranslations/otherTranslations.ts
37
- #~ msgid "preservatives and antioxidants"
49
+ #~ msgid "ingredientTag.PRESERVATIVE_ANTIOXIDANT.many"
38
50
  #~ msgstr "konzervansi in antioksidanti"
39
51
 
40
52
  #: src/validValues/otherTranslations/otherTranslations.ts
41
- msgid "stabilizing agents"
53
+ msgid "ingredientTag.STABILISER"
54
+ msgstr "stabilizator"
55
+
56
+ #: src/validValues/otherTranslations/otherTranslations.ts
57
+ msgid "ingredientTag.STABILISER.many"
42
58
  msgstr "stabilizatorji"
43
59
 
44
60
  #: src/validValues/otherTranslations/otherTranslations.ts
45
- #~ msgid "sweeteners"
61
+ #~ msgid "ingredientTag.SWEETENER.many"
46
62
  #~ msgstr ""
@@ -1 +1 @@
1
- /*eslint-disable*/export const messages={"acidity regulators":"sredstva za uravnavanje kislosti","and/or":"in/ali","antioxidants":"antioksidanti","contains":"vsebuje","preservatives":"konzervansi","preservatives and antioxidants":"konzervansi in antioksidanti","stabilizing agents":"stabilizatorji","sweeteners":"sweeteners"};
1
+ /*eslint-disable*/export const messages={"and/or":"in/ali","contains":"vsebuje","ingredientTag.ACIDITY_REGULATOR":"sredstvo za uravnavanje kislosti","ingredientTag.ACIDITY_REGULATOR.many":"sredstva za uravnavanje kislosti","ingredientTag.ANTIOXIDANT":"antioksidant","ingredientTag.ANTIOXIDANT.many":"antioksidanti","ingredientTag.PRESERVATIVE":"konzervans","ingredientTag.PRESERVATIVE.many":"konzervansi","ingredientTag.PRESERVATIVE_ANTIOXIDANT.many":"konzervansi in antioksidanti","ingredientTag.STABILISER":"stabilizator","ingredientTag.STABILISER.many":"stabilizatorji","ingredientTag.SWEETENER.many":"ingredientTag.SWEETENER.many"};
@@ -14,33 +14,49 @@ msgstr ""
14
14
  "Plural-Forms: \n"
15
15
 
16
16
  #: src/validValues/otherTranslations/otherTranslations.ts
17
- msgid "acidity regulators"
17
+ msgid "and/or"
18
+ msgstr "och/eller"
19
+
20
+ #: src/validValues/otherTranslations/otherTranslations.ts
21
+ msgid "contains"
22
+ msgstr "innehåller"
23
+
24
+ #: src/validValues/otherTranslations/otherTranslations.ts
25
+ msgid "ingredientTag.ACIDITY_REGULATOR"
18
26
  msgstr "surhetsreglerande medel"
19
27
 
20
28
  #: src/validValues/otherTranslations/otherTranslations.ts
21
- msgid "and/or"
22
- msgstr "och/eller"
29
+ msgid "ingredientTag.ACIDITY_REGULATOR.many"
30
+ msgstr "surhetsreglerande medel"
31
+
32
+ #: src/validValues/otherTranslations/otherTranslations.ts
33
+ msgid "ingredientTag.ANTIOXIDANT"
34
+ msgstr "antioxidant"
23
35
 
24
36
  #: src/validValues/otherTranslations/otherTranslations.ts
25
- msgid "antioxidants"
37
+ msgid "ingredientTag.ANTIOXIDANT.many"
26
38
  msgstr "antioxidationsmedel"
27
39
 
28
40
  #: src/validValues/otherTranslations/otherTranslations.ts
29
- msgid "contains"
30
- msgstr "innehåller"
41
+ msgid "ingredientTag.PRESERVATIVE"
42
+ msgstr "konserveringsmedel"
31
43
 
32
44
  #: src/validValues/otherTranslations/otherTranslations.ts
33
- msgid "preservatives"
45
+ msgid "ingredientTag.PRESERVATIVE.many"
34
46
  msgstr "konserverings"
35
47
 
36
48
  #: src/validValues/otherTranslations/otherTranslations.ts
37
- #~ msgid "preservatives and antioxidants"
49
+ #~ msgid "ingredientTag.PRESERVATIVE_ANTIOXIDANT.many"
38
50
  #~ msgstr "konserverings- och antioxidationsmedel"
39
51
 
40
52
  #: src/validValues/otherTranslations/otherTranslations.ts
41
- msgid "stabilizing agents"
53
+ msgid "ingredientTag.STABILISER"
54
+ msgstr "stabilisator"
55
+
56
+ #: src/validValues/otherTranslations/otherTranslations.ts
57
+ msgid "ingredientTag.STABILISER.many"
42
58
  msgstr "Stabiliseringsmedel"
43
59
 
44
60
  #: src/validValues/otherTranslations/otherTranslations.ts
45
- #~ msgid "sweeteners"
61
+ #~ msgid "ingredientTag.SWEETENER.many"
46
62
  #~ msgstr ""
@@ -1 +1 @@
1
- /*eslint-disable*/export const messages={"acidity regulators":"surhetsreglerande medel","and/or":"och/eller","antioxidants":"antioxidationsmedel","contains":"innehåller","preservatives":"konserverings","preservatives and antioxidants":"konserverings- och antioxidationsmedel","stabilizing agents":"Stabiliseringsmedel","sweeteners":"sweeteners"};
1
+ /*eslint-disable*/export const messages={"and/or":"och/eller","contains":"innehåller","ingredientTag.ACIDITY_REGULATOR":"surhetsreglerande medel","ingredientTag.ACIDITY_REGULATOR.many":"surhetsreglerande medel","ingredientTag.ANTIOXIDANT":"antioxidant","ingredientTag.ANTIOXIDANT.many":"antioxidationsmedel","ingredientTag.PRESERVATIVE":"konserveringsmedel","ingredientTag.PRESERVATIVE.many":"konserverings","ingredientTag.PRESERVATIVE_ANTIOXIDANT.many":"konserverings- och antioxidationsmedel","ingredientTag.STABILISER":"stabilisator","ingredientTag.STABILISER.many":"Stabiliseringsmedel","ingredientTag.SWEETENER.many":"ingredientTag.SWEETENER.many"};
@@ -7,45 +7,73 @@ export type OtherTranslations = ValidValueDefinition;
7
7
  const otherTranslations = (value: OtherTranslations) => value;
8
8
 
9
9
  const allOtherTranslations = {
10
- 'acidity regulators': otherTranslations({
11
- key: 'acidity regulators',
10
+ 'ingredientTag.ACIDITY_REGULATOR.many': otherTranslations({
11
+ key: 'ingredientTag.ACIDITY_REGULATOR.many',
12
12
  label: defineMessage({
13
- id: 'acidity regulators',
13
+ id: 'ingredientTag.ACIDITY_REGULATOR.many',
14
14
  message: 'acidity regulators',
15
15
  }),
16
16
  }),
17
- 'stabilizing agents': otherTranslations({
18
- key: 'stabilizing agents',
17
+ 'ingredientTag.ACIDITY_REGULATOR': otherTranslations({
18
+ key: 'ingredientTag.ACIDITY_REGULATOR',
19
19
  label: defineMessage({
20
- id: 'stabilizing agents',
20
+ id: 'ingredientTag.ACIDITY_REGULATOR',
21
+ message: 'acidity regulator',
22
+ }),
23
+ }),
24
+ 'ingredientTag.STABILISER.many': otherTranslations({
25
+ key: 'ingredientTag.STABILISER.many',
26
+ label: defineMessage({
27
+ id: 'ingredientTag.STABILISER.many',
21
28
  message: 'stabilizing agents',
22
29
  }),
23
30
  }),
24
- // 'preservatives and antioxidants': otherTranslations({
25
- // key: 'preservatives and antioxidants',
26
- // label: defineMessage({
27
- // id: 'preservatives and antioxidants',
28
- // message: 'preservatives and antioxidants',
29
- // }),
30
- // }),
31
- antioxidants: otherTranslations({
32
- key: 'antioxidants',
31
+ 'ingredientTag.STABILISER': otherTranslations({
32
+ key: 'ingredientTag.STABILISER',
33
+ label: defineMessage({
34
+ id: 'ingredientTag.STABILISER',
35
+ message: 'stabilizing agent',
36
+ }),
37
+ }),
38
+ 'ingredientTag.ANTIOXIDANT.many': otherTranslations({
39
+ key: 'ingredientTag.ANTIOXIDANT.many',
33
40
  label: defineMessage({
34
- id: 'antioxidants',
41
+ id: 'ingredientTag.ANTIOXIDANT.many',
35
42
  message: 'antioxidants',
36
43
  }),
37
44
  }),
38
- preservatives: otherTranslations({
39
- key: 'preservatives',
45
+ 'ingredientTag.ANTIOXIDANT': otherTranslations({
46
+ key: 'ingredientTag.ANTIOXIDANT',
40
47
  label: defineMessage({
41
- id: 'preservatives',
48
+ id: 'ingredientTag.ANTIOXIDANT',
49
+ message: 'antioxidant',
50
+ }),
51
+ }),
52
+ 'ingredientTag.PRESERVATIVE.many': otherTranslations({
53
+ key: 'ingredientTag.PRESERVATIVE.many',
54
+ label: defineMessage({
55
+ id: 'ingredientTag.PRESERVATIVE.many',
42
56
  message: 'preservatives',
43
57
  }),
44
58
  }),
45
- // sweeteners: otherTranslations({
46
- // key: 'sweeteners',
59
+ 'ingredientTag.PRESERVATIVE': otherTranslations({
60
+ key: 'ingredientTag.PRESERVATIVE',
61
+ label: defineMessage({
62
+ id: 'ingredientTag.PRESERVATIVE',
63
+ message: 'preservative',
64
+ }),
65
+ }),
66
+ // 'ingredientTag.PRESERVATIVE_ANTIOXIDANT.many': otherTranslations({
67
+ // key: 'ingredientTag.PRESERVATIVE_ANTIOXIDANT.many',
68
+ // label: defineMessage({
69
+ // id: 'ingredientTag.PRESERVATIVE_ANTIOXIDANT.many',
70
+ // message: 'preservatives and antioxidants',
71
+ // }),
72
+ // }),
73
+ // ingredientTag.SWEETENER.many: otherTranslations({
74
+ // key: 'ingredientTag.SWEETENER.many',
47
75
  // label: defineMessage({
48
- // id: 'sweeteners',
76
+ // id: 'ingredientTag.SWEETENER.many',
49
77
  // message: 'sweeteners',
50
78
  // }),
51
79
  // }),
@@ -5303,7 +5303,7 @@ const allRegions = {
5303
5303
  id: 'validValues.region.za_swartland',
5304
5304
  message: 'Swartland',
5305
5305
  }),
5306
- subregions: [],
5306
+ subregions: ['za_riebeeksrivier', 'all_no-subregion'],
5307
5307
  }),
5308
5308
  za_swellendam: region({
5309
5309
  key: 'za_swellendam',
@@ -9753,6 +9753,10 @@ const allSubregions = {
9753
9753
  message: 'Wonnegau',
9754
9754
  }),
9755
9755
  }),
9756
+ za_riebeeksrivier: subregion({
9757
+ key: 'za_riebeeksrivier',
9758
+ label: 'Riebeeksrivier',
9759
+ }),
9756
9760
  } as const;
9757
9761
 
9758
9762
  export type SubregionKey = keyof typeof allSubregions;