@ohif/i18n 0.53.0 → 3.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.
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@ohif/i18n",
3
- "version": "0.53.0",
3
+ "version": "3.0.0",
4
4
  "description": "Internationalization library for The OHIF Viewer",
5
5
  "author": "OHIF",
6
6
  "license": "MIT",
7
7
  "repository": "OHIF/Viewers",
8
- "main": "dist/index.umd.js",
8
+ "main": "dist/ohif-i18n.umd.js",
9
9
  "module": "src/index.js",
10
10
  "engines": {
11
- "node": ">=10",
11
+ "node": ">=14",
12
12
  "npm": ">=6",
13
13
  "yarn": ">=1.16.0"
14
14
  },
@@ -20,11 +20,10 @@
20
20
  "access": "public"
21
21
  },
22
22
  "scripts": {
23
- "dev": "cross-env NODE_ENV=development webpack --config .webpack/webpack.dev.js --watch --debug --output-pathinfo",
23
+ "dev": "cross-env NODE_ENV=development webpack --config .webpack/webpack.dev.js --watch --output-pathinfo",
24
24
  "dev:i18n": "yarn run dev",
25
25
  "build": "cross-env NODE_ENV=production webpack --config .webpack/webpack.prod.js",
26
26
  "build:package": "yarn run build",
27
- "prepublishOnly": "yarn run build",
28
27
  "pullTranslations": "./pullTranslations.sh",
29
28
  "test:unit": "echo 'platform/i18n: missing unit tests'",
30
29
  "test:unit:ci": "echo 'platform/i18n: missing unit tests'"
@@ -32,23 +31,22 @@
32
31
  "peerDependencies": {
33
32
  "i18next": "^17.0.3",
34
33
  "i18next-browser-languagedetector": "^3.0.1",
35
- "react": "^16.8.6",
36
- "react-dom": "^16.8.6",
37
- "react-i18next": "^10.11.0"
34
+ "react": "^17.0.2",
35
+ "react-dom": "^17.0.2",
36
+ "react-i18next": "^12.2.2"
38
37
  },
39
38
  "dependencies": {
40
- "@babel/runtime": "^7.5.5",
41
- "classnames": "^2.2.6",
39
+ "@babel/runtime": "^7.20.13",
42
40
  "i18next-locize-backend": "^2.0.0",
43
41
  "locize-editor": "^2.0.0",
44
- "locize-lastused": "^1.1.0",
45
- "rollup-plugin-json": "^4.0.0"
42
+ "locize-lastused": "^1.1.0"
46
43
  },
47
44
  "devDependencies": {
48
- "i18next": "^15.1.3",
45
+ "i18next": "^17.0.3",
49
46
  "i18next-browser-languagedetector": "^3.0.1",
50
- "locize-cli": "^4.8.0",
51
- "react-i18next": "^10.11.0"
52
- },
53
- "gitHead": "aeb7d5edcc87067bccb641a93c4b912db061ee4a"
47
+ "react": "^17.0.2",
48
+ "react-dom": "^17.0.2",
49
+ "react-i18next": "^12.2.2",
50
+ "webpack-merge": "^5.7.3"
51
+ }
54
52
  }
package/CHANGELOG.md DELETED
@@ -1,265 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [0.53.0](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.52.8...@ohif/i18n@0.53.0) (2020-11-30)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * Add syncTranslations script ([b161016](https://github.com/OHIF/Viewers/commit/b161016edb8808ff0d17ea637820837dca1ca3ce))
12
-
13
-
14
- ### Features
15
-
16
- * **i18n:** Added de (German) translations ([2fff2d5](https://github.com/OHIF/Viewers/commit/2fff2d511fa1d36bdd6476da4ffa5684bf55374f))
17
- * **i18n:** Added Russian language localization. ([d5b8974](https://github.com/OHIF/Viewers/commit/d5b89748c92c2cf5a88f54ae491adc31a1679705))
18
-
19
-
20
-
21
-
22
-
23
- ## [0.52.8](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.52.7...@ohif/i18n@0.52.8) (2020-04-07)
24
-
25
- **Note:** Version bump only for package @ohif/i18n
26
-
27
-
28
-
29
-
30
-
31
- ## [0.52.7](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.52.6...@ohif/i18n@0.52.7) (2020-03-09)
32
-
33
- **Note:** Version bump only for package @ohif/i18n
34
-
35
-
36
-
37
-
38
-
39
- ## [0.52.6](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.52.5...@ohif/i18n@0.52.6) (2020-02-12)
40
-
41
-
42
- ### Bug Fixes
43
-
44
- * Combined Hotkeys for special characters ([#1233](https://github.com/OHIF/Viewers/issues/1233)) ([2f30e7a](https://github.com/OHIF/Viewers/commit/2f30e7a821a238144c49c56f37d8e5565540b4bd))
45
-
46
-
47
-
48
-
49
-
50
- ## [0.52.5](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.52.4...@ohif/i18n@0.52.5) (2020-01-30)
51
-
52
-
53
- ### Bug Fixes
54
-
55
- * download tool fixes & improvements ([#1235](https://github.com/OHIF/Viewers/issues/1235)) ([b9574b6](https://github.com/OHIF/Viewers/commit/b9574b6efcfeb85cde35b5cae63282f8e1b35be6))
56
-
57
-
58
-
59
-
60
-
61
- ## [0.52.4](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.52.3...@ohif/i18n@0.52.4) (2019-12-16)
62
-
63
- **Note:** Version bump only for package @ohif/i18n
64
-
65
-
66
-
67
-
68
-
69
- ## [0.52.3](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.52.2...@ohif/i18n@0.52.3) (2019-12-12)
70
-
71
-
72
- ### Bug Fixes
73
-
74
- * translations ([#1234](https://github.com/OHIF/Viewers/issues/1234)) ([30b9e44](https://github.com/OHIF/Viewers/commit/30b9e4422073557287ef26a80b38eeb3f3fcff4c))
75
-
76
-
77
-
78
-
79
-
80
- ## [0.52.2](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.52.1...@ohif/i18n@0.52.2) (2019-11-28)
81
-
82
-
83
- ### Bug Fixes
84
-
85
- * User Preferences Issues ([#1207](https://github.com/OHIF/Viewers/issues/1207)) ([1df21a9](https://github.com/OHIF/Viewers/commit/1df21a9e075b5e6dfc10a429ae825826f46c71b8)), closes [#1161](https://github.com/OHIF/Viewers/issues/1161) [#1164](https://github.com/OHIF/Viewers/issues/1164) [#1177](https://github.com/OHIF/Viewers/issues/1177) [#1179](https://github.com/OHIF/Viewers/issues/1179) [#1180](https://github.com/OHIF/Viewers/issues/1180) [#1181](https://github.com/OHIF/Viewers/issues/1181) [#1182](https://github.com/OHIF/Viewers/issues/1182) [#1183](https://github.com/OHIF/Viewers/issues/1183) [#1184](https://github.com/OHIF/Viewers/issues/1184) [#1185](https://github.com/OHIF/Viewers/issues/1185)
86
-
87
-
88
-
89
-
90
-
91
- ## [0.52.1](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.52.0...@ohif/i18n@0.52.1) (2019-11-18)
92
-
93
-
94
- ### Bug Fixes
95
-
96
- * minor date picker UX improvements ([813ee5e](https://github.com/OHIF/Viewers/commit/813ee5ed4d78b7bda234922d5f3389efe346451c))
97
-
98
-
99
-
100
-
101
-
102
- # [0.52.0](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.51.0...@ohif/i18n@0.52.0) (2019-11-06)
103
-
104
-
105
- ### Features
106
-
107
- * modal provider ([#1151](https://github.com/OHIF/Viewers/issues/1151)) ([75d88bc](https://github.com/OHIF/Viewers/commit/75d88bc454710d2dcdbc7d68c4d9df041159c840)), closes [#1086](https://github.com/OHIF/Viewers/issues/1086) [#1116](https://github.com/OHIF/Viewers/issues/1116) [#1116](https://github.com/OHIF/Viewers/issues/1116) [#1146](https://github.com/OHIF/Viewers/issues/1146) [#1142](https://github.com/OHIF/Viewers/issues/1142) [#1143](https://github.com/OHIF/Viewers/issues/1143) [#1110](https://github.com/OHIF/Viewers/issues/1110) [#1086](https://github.com/OHIF/Viewers/issues/1086) [#1116](https://github.com/OHIF/Viewers/issues/1116) [#1119](https://github.com/OHIF/Viewers/issues/1119)
108
-
109
-
110
-
111
-
112
-
113
- # [0.51.0](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.50.5...@ohif/i18n@0.51.0) (2019-10-15)
114
-
115
-
116
- ### Features
117
-
118
- * Add browser info and app version ([#1046](https://github.com/OHIF/Viewers/issues/1046)) ([c217b8b](https://github.com/OHIF/Viewers/commit/c217b8b))
119
-
120
-
121
-
122
-
123
-
124
- ## [0.50.5](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.50.4...@ohif/i18n@0.50.5) (2019-10-04)
125
-
126
-
127
- ### Bug Fixes
128
-
129
- * CineDialog buttons label ([#998](https://github.com/OHIF/Viewers/issues/998)) ([4df624b](https://github.com/OHIF/Viewers/commit/4df624b))
130
-
131
-
132
-
133
-
134
-
135
- ## [0.50.4](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.50.3...@ohif/i18n@0.50.4) (2019-09-10)
136
-
137
- **Note:** Version bump only for package @ohif/i18n
138
-
139
-
140
-
141
-
142
-
143
- ## [0.50.3](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.50.2...@ohif/i18n@0.50.3) (2019-09-04)
144
-
145
- **Note:** Version bump only for package @ohif/i18n
146
-
147
-
148
-
149
-
150
-
151
- ## [0.50.2](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.50.1...@ohif/i18n@0.50.2) (2019-09-04)
152
-
153
-
154
- ### Bug Fixes
155
-
156
- * measurementsAPI issue caused by production build ([#842](https://github.com/OHIF/Viewers/issues/842)) ([49d3439](https://github.com/OHIF/Viewers/commit/49d3439))
157
-
158
-
159
-
160
-
161
-
162
- ## [0.50.1](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.50.0-alpha.11...@ohif/i18n@0.50.1) (2019-08-14)
163
-
164
- **Note:** Version bump only for package @ohif/i18n
165
-
166
-
167
-
168
-
169
-
170
- # [0.50.0-alpha.11](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.50.0-alpha.10...@ohif/i18n@0.50.0-alpha.11) (2019-08-14)
171
-
172
-
173
- ### Bug Fixes
174
-
175
- * Update i18n locales to include Japanese ([da725a8](https://github.com/OHIF/Viewers/commit/da725a8))
176
-
177
-
178
-
179
-
180
-
181
- # [0.50.0-alpha.10](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.2.3-alpha.9...@ohif/i18n@0.50.0-alpha.10) (2019-08-14)
182
-
183
- **Note:** Version bump only for package @ohif/i18n
184
-
185
-
186
-
187
-
188
-
189
- ## [0.2.3-alpha.9](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.2.3-alpha.8...@ohif/i18n@0.2.3-alpha.9) (2019-08-14)
190
-
191
- **Note:** Version bump only for package @ohif/i18n
192
-
193
-
194
-
195
-
196
-
197
- ## 0.2.3-alpha.8 (2019-08-14)
198
-
199
- **Note:** Version bump only for package @ohif/i18n
200
-
201
-
202
-
203
-
204
-
205
- # Change Log
206
-
207
- All notable changes to this project will be documented in this file. See
208
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
209
-
210
- ## [0.2.3-alpha.7](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.2.3-alpha.6...@ohif/i18n@0.2.3-alpha.7) (2019-08-08)
211
-
212
- **Note:** Version bump only for package @ohif/i18n
213
-
214
- # Change Log
215
-
216
- All notable changes to this project will be documented in this file. See
217
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
218
-
219
- ## [0.2.3-alpha.6](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.2.3-alpha.5...@ohif/i18n@0.2.3-alpha.6) (2019-08-08)
220
-
221
- **Note:** Version bump only for package @ohif/i18n
222
-
223
- # Change Log
224
-
225
- All notable changes to this project will be documented in this file. See
226
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
227
-
228
- ## [0.2.3-alpha.5](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.2.3-alpha.4...@ohif/i18n@0.2.3-alpha.5) (2019-08-08)
229
-
230
- **Note:** Version bump only for package @ohif/i18n
231
-
232
- # Change Log
233
-
234
- All notable changes to this project will be documented in this file. See
235
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
236
-
237
- ## [0.2.3-alpha.4](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.2.3-alpha.3...@ohif/i18n@0.2.3-alpha.4) (2019-08-08)
238
-
239
- **Note:** Version bump only for package @ohif/i18n
240
-
241
- # Change Log
242
-
243
- All notable changes to this project will be documented in this file. See
244
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
245
-
246
- ## [0.2.3-alpha.3](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.2.3-alpha.2...@ohif/i18n@0.2.3-alpha.3) (2019-08-08)
247
-
248
- **Note:** Version bump only for package @ohif/i18n
249
-
250
- # Change Log
251
-
252
- All notable changes to this project will be documented in this file. See
253
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
254
-
255
- ## [0.2.3-alpha.2](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.2.3-alpha.1...@ohif/i18n@0.2.3-alpha.2) (2019-08-07)
256
-
257
- **Note:** Version bump only for package @ohif/i18n
258
-
259
- ## [0.2.3-alpha.1](https://github.com/OHIF/Viewers/compare/@ohif/i18n@0.2.3-alpha.0...@ohif/i18n@0.2.3-alpha.1) (2019-08-07)
260
-
261
- **Note:** Version bump only for package @ohif/i18n
262
-
263
- ## 0.2.3-alpha.0 (2019-08-05)
264
-
265
- **Note:** Version bump only for package @ohif/i18n