@panneau/intl 3.0.300 → 4.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/es/index.js CHANGED
@@ -2,10 +2,10 @@ import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
3
3
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
4
4
  import _createClass from '@babel/runtime/helpers/createClass';
5
- import PropTypes from 'prop-types';
6
5
  import React, { useContext, useMemo } from 'react';
7
6
  import { IntlContext, IntlProvider as IntlProvider$1, useIntl, FormattedMessage } from 'react-intl';
8
7
  import { useLocales, LocalesProvider, useResource } from '@panneau/core/contexts';
8
+ import PropTypes from 'prop-types';
9
9
  import { PropTypes as PropTypes$1 } from '@panneau/core';
10
10
 
11
11
  var IntlManager = /*#__PURE__*/function () {
@@ -52,33 +52,24 @@ var IntlManager = /*#__PURE__*/function () {
52
52
 
53
53
  var intlManager = new IntlManager();
54
54
 
55
- var propTypes$1 = {
56
- intlManager: PropTypes.instanceOf(IntlManager),
57
- locale: PropTypes.string,
58
- locales: PropTypes.arrayOf(PropTypes.string),
59
- extraMessages: PropTypes.objectOf(PropTypes.string),
60
- children: PropTypes.node
61
- };
62
- var defaultProps$1 = {
63
- intlManager: intlManager,
64
- locale: null,
65
- locales: null,
66
- extraMessages: null,
67
- children: null
68
- };
69
- var IntlProvider = function IntlProvider(_ref) {
70
- var intlManager = _ref.intlManager,
71
- locale = _ref.locale,
72
- locales = _ref.locales,
73
- children = _ref.children,
74
- extraMessages = _ref.extraMessages;
55
+ function IntlProvider(_ref) {
56
+ var _ref$intlManager = _ref.intlManager,
57
+ intlManager$1 = _ref$intlManager === void 0 ? intlManager : _ref$intlManager,
58
+ _ref$locale = _ref.locale,
59
+ locale = _ref$locale === void 0 ? null : _ref$locale,
60
+ _ref$locales = _ref.locales,
61
+ locales = _ref$locales === void 0 ? null : _ref$locales,
62
+ _ref$children = _ref.children,
63
+ children = _ref$children === void 0 ? null : _ref$children,
64
+ _ref$extraMessages = _ref.extraMessages,
65
+ extraMessages = _ref$extraMessages === void 0 ? null : _ref$extraMessages;
75
66
  var previousLocales = useLocales();
76
67
  var _ref2 = useContext(IntlContext) || {},
77
68
  _ref2$locale = _ref2.locale,
78
69
  previousLocale = _ref2$locale === void 0 ? null : _ref2$locale,
79
70
  _ref2$messages = _ref2.messages,
80
71
  previousMessages = _ref2$messages === void 0 ? null : _ref2$messages;
81
- var managerMessages = intlManager !== null ? intlManager.getMessages(locale) : null;
72
+ var managerMessages = intlManager$1 !== null ? intlManager$1.getMessages(locale) : null;
82
73
  var messages = useMemo(function () {
83
74
  return _objectSpread(_objectSpread(_objectSpread({}, previousLocale === locale ? previousMessages : null), managerMessages), extraMessages);
84
75
  }, [managerMessages, locale, previousLocale, previousMessages, extraMessages]);
@@ -88,9 +79,7 @@ var IntlProvider = function IntlProvider(_ref) {
88
79
  }, /*#__PURE__*/React.createElement(LocalesProvider, {
89
80
  locales: locales || previousLocales
90
81
  }, children));
91
- };
92
- IntlProvider.propTypes = propTypes$1;
93
- IntlProvider.defaultProps = defaultProps$1;
82
+ }
94
83
 
95
84
  var propTypes = {
96
85
  resource: PropTypes$1.resource,
@@ -100,18 +89,16 @@ var propTypes = {
100
89
  defaultMessage: PropTypes.string,
101
90
  description: PropTypes.string
102
91
  };
103
- var defaultProps = {
104
- resource: null,
105
- values: null,
106
- defaultMessage: null,
107
- description: null
108
- };
109
- var ResourceMessage = function ResourceMessage(_ref) {
110
- var resource = _ref.resource,
111
- values = _ref.values,
92
+ function ResourceMessage(_ref) {
93
+ var _ref$resource = _ref.resource,
94
+ resource = _ref$resource === void 0 ? null : _ref$resource,
95
+ _ref$values = _ref.values,
96
+ values = _ref$values === void 0 ? null : _ref$values,
112
97
  id = _ref.id,
113
- defaultMessage = _ref.defaultMessage,
114
- description = _ref.description;
98
+ _ref$defaultMessage = _ref.defaultMessage,
99
+ defaultMessage = _ref$defaultMessage === void 0 ? null : _ref$defaultMessage,
100
+ _ref$description = _ref.description,
101
+ description = _ref$description === void 0 ? null : _ref$description;
115
102
  var contextResource = useResource();
116
103
  var _useIntl = useIntl(),
117
104
  messages = _useIntl.messages;
@@ -133,9 +120,8 @@ var ResourceMessage = function ResourceMessage(_ref) {
133
120
  name: name
134
121
  }, resourceValues), values)
135
122
  }, message));
136
- };
123
+ }
137
124
  ResourceMessage.propTypes = propTypes;
138
- ResourceMessage.defaultProps = defaultProps;
139
125
 
140
126
  var useResourceValues = function useResourceValues(resource) {
141
127
  var values = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
package/locale/en.js CHANGED
@@ -1,265 +1,6 @@
1
1
  import manager from '@panneau/intl';
2
2
 
3
- var AJiMQk = "No results";
4
- var AwDQvD = "Image";
5
- var B1h3gd = "Please enter your password to continue";
6
- var BAKfhq = "W";
7
- var BIYKx5 = "Preview";
8
- var BeKVq6 = "Upload file";
9
- var Bhu3B2 = "Delete";
10
- var CGvQxc = "User";
11
- var DBU3cu = "T";
12
- var ESkxLX = "Success!";
13
- var FntHPK = "View {the_plural}";
14
- var G7M4nI = "Duplicate {a_singular}";
15
- var GxOBVL = "Replace";
16
- var HOobY2 = "Error 401";
17
- var HzCxmr = "Duplicate";
18
- var IuqEHB = "Account";
19
- var J6Mhku = "F";
20
- var JuxiUN = "Format";
21
- var Ke35Pv = "Edit";
22
- var LI0Gz4 = "Email";
23
- var M49yWb = "The following items will be restored: {ids}. Are you sure you want to continue?";
24
- var MHldGi = "Duration:";
25
- var Mo0yQb = "Error";
26
- var Mohaye = "Edit item";
27
- var NeSNvW = "clear";
28
- var NozDYd = "Uploading";
29
- var Of2stw = "T";
30
- var OzYWZz = "Created at";
31
- var PSlT7H = "Trash";
32
- var PTmocx = "The following items will be deleted: {ids}. Are you sure you want to continue?";
33
- var Pih2UO = "Error 403";
34
- var PyxZY2 = "Cancel";
35
- var QUAHwy = "Continue";
36
- var R1HYj0 = "Save";
37
- var REIcPg = "Logout";
38
- var TV3jir = "Loading";
39
- var UUv8FR = "Name";
40
- var UaVu03 = "Confirm";
41
- var UbmsLL = "No item found.";
42
- var UbxbKP = "Preview";
43
- var UpStcP = "Could not find type for this item";
44
- var V7Us0a = "Update account";
45
- var VhJUeW = "Confirm your password";
46
- var WX83V9 = "File name";
47
- var WgIC2T = "No results found";
48
- var XJ1dc3 = "New password";
49
- var XLVfN6 = "Find {a_singular}";
50
- var XW9IKQ = "Update password";
51
- var XmY7D8 = "The following items will be duplicated: {ids}. Are you sure you want to continue?";
52
- var XnyI69 = "Audio";
53
- var XrzzDc = "Search";
54
- var ZBNqY2 = "Forgot your password?";
55
- var ZhnMCD = "Are you sure you want to duplicate {the_singular} #{id}?";
56
- var ZxgNge = "Add an item";
57
- var bPk79b = "Show";
58
- var c3hu9o = "Size";
59
- var c6nfry = "Restore";
60
- var cutyQH = "An error has occured.";
61
- var d0g58T = "Login";
62
- var daHjZg = "Edit file";
63
- var dkRdks = "{The_singular} has been deleted.";
64
- var e0xuLo = "Link";
65
- var eCe9ZY = "Dimensions";
66
- var ejwBSw = "Error 500";
67
- var fSfLk8 = "S";
68
- var g2CRt5 = "Size";
69
- var g6qbbX = "Log in";
70
- var gWmL5V = "Disable two factor authentication";
71
- var hezcGl = "Go to home page";
72
- var li2Qqu = "Skip setup";
73
- var lsBBVh = "{count, plural, =0 {no items} one {# item} other {# items}} selected";
74
- var mCfzkJ = "Edit {a_singular}";
75
- var mQiyAm = "Video";
76
- var oc3YLT = "Choose an item";
77
- var odaCUe = "Clear";
78
- var owrRHV = "Error 500";
79
- var pVHYDd = "Enable two factor authentication";
80
- var pZytAx = "No result";
81
- var rmJBin = "Dimensions";
82
- var rtwfuZ = "Actions";
83
- var rvOVCV = "Confirm selection";
84
- var s4Xrs9 = "Time";
85
- var sOfogS = "Edit items";
86
- var smqUAV = "Edit {name}";
87
- var tPeIKO = "Go back to login";
88
- var ucieFX = "The following items will be modified: {ids}.";
89
- var uds4wJ = "Deleted at";
90
- var une5WQ = "Find a file";
91
- var v4Qtl9 = "Today";
92
- var wKPI1y = "This page doesn’t exist";
93
- var wa783M = "Already have an account? Go to login";
94
- var x27x2b = "Loading";
95
- var xKUOLG = "Technical details";
96
- var xSERPA = "Video";
97
- var y9zauY = "An error occured and we could not delete this item successfully.";
98
- var yALN2p = "There was an error";
99
- var yByaBh = "Added by";
100
- var yHAmDD = "Image";
101
- var yQRtgx = "Audio";
102
- var ygNvmz = "Description";
103
- var yhU8J6 = "No";
104
- var yzfiXJ = "Are you sure you want to delete {the_singular} #{id}?";
105
- var z2775Q = "Import";
106
- var zTiC4D = "Do you wish to enable two factor authentication on your account? You will have to use an authentication app such as Google Authenticator or Microsoft Authenticator in addition to your password to connect.";
107
- var zwks3g = "Save new password";
108
- var messages = {
109
- "+6cCPF": "Error 403",
110
- "002oWQ": "Duration",
111
- "0F5X3C": "S",
112
- "0SEHSj": "Select row",
113
- "0xeItT": "Loading...",
114
- "12Px0g": "Send reset link",
115
- "1dqmFw": "Document",
116
- "22Ld5M": "Enter the code from your authenticator app to continue",
117
- "2vB7U4": "An error occured and we could not save this item successfully.",
118
- "3RT69u": "Informations",
119
- "3ebjtX": "Yes",
120
- "3na7F8": "Now",
121
- "4sViWl": "{count, plural, =0 {No item.} =1 {# item} other {# items}}",
122
- "4yfet+": "Password",
123
- "5nHK/H": "Do you really wish to disable two factor authentication on your account?",
124
- "5rMPIj": "Loading...",
125
- "6Ie+vL": "Error 404",
126
- "6TuTuq": "Choose an option",
127
- "6cSFtU": "No color",
128
- "6nwWPR": "Error 401",
129
- "6viUpq": "Create {a_singular}",
130
- "7M0o0q": "Item",
131
- "7OEFyt": "Delete",
132
- "82P2dS": "You are not authorized to access this page.",
133
- "8HFiMs": "Access to this page is forbidden",
134
- "8INLfU": "Document",
135
- "8LSb8C": "Current password",
136
- "8NyYTH": "Back",
137
- "8T+JE7": "Duplicate",
138
- "9/t5wK": "Type",
139
- "9XBwF1": "Yes",
140
- AJiMQk: AJiMQk,
141
- "AeOZq+": "Login",
142
- AwDQvD: AwDQvD,
143
- B1h3gd: B1h3gd,
144
- BAKfhq: BAKfhq,
145
- BIYKx5: BIYKx5,
146
- BeKVq6: BeKVq6,
147
- Bhu3B2: Bhu3B2,
148
- CGvQxc: CGvQxc,
149
- DBU3cu: DBU3cu,
150
- "DUbv+u": "Confirm your new password",
151
- ESkxLX: ESkxLX,
152
- FntHPK: FntHPK,
153
- G7M4nI: G7M4nI,
154
- GxOBVL: GxOBVL,
155
- HOobY2: HOobY2,
156
- HzCxmr: HzCxmr,
157
- IuqEHB: IuqEHB,
158
- J6Mhku: J6Mhku,
159
- JuxiUN: JuxiUN,
160
- Ke35Pv: Ke35Pv,
161
- LI0Gz4: LI0Gz4,
162
- M49yWb: M49yWb,
163
- MHldGi: MHldGi,
164
- Mo0yQb: Mo0yQb,
165
- Mohaye: Mohaye,
166
- NeSNvW: NeSNvW,
167
- NozDYd: NozDYd,
168
- Of2stw: Of2stw,
169
- OzYWZz: OzYWZz,
170
- "PN+75e": "Created at",
171
- "PQX/ph": "Create account",
172
- PSlT7H: PSlT7H,
173
- PTmocx: PTmocx,
174
- Pih2UO: Pih2UO,
175
- PyxZY2: PyxZY2,
176
- QUAHwy: QUAHwy,
177
- R1HYj0: R1HYj0,
178
- REIcPg: REIcPg,
179
- "T/NPHK": "Edit",
180
- TV3jir: TV3jir,
181
- "Tol+/U": "Clear",
182
- "U/ye2x": "Cancel",
183
- "US/AMe": "Error 404",
184
- UUv8FR: UUv8FR,
185
- UaVu03: UaVu03,
186
- UbmsLL: UbmsLL,
187
- UbxbKP: UbxbKP,
188
- UpStcP: UpStcP,
189
- V7Us0a: V7Us0a,
190
- VhJUeW: VhJUeW,
191
- WX83V9: WX83V9,
192
- WgIC2T: WgIC2T,
193
- XJ1dc3: XJ1dc3,
194
- XLVfN6: XLVfN6,
195
- XW9IKQ: XW9IKQ,
196
- XmY7D8: XmY7D8,
197
- XnyI69: XnyI69,
198
- XrzzDc: XrzzDc,
199
- ZBNqY2: ZBNqY2,
200
- ZhnMCD: ZhnMCD,
201
- ZxgNge: ZxgNge,
202
- bPk79b: bPk79b,
203
- "bfP/d8": "{The_singular} has been created.",
204
- c3hu9o: c3hu9o,
205
- c6nfry: c6nfry,
206
- cutyQH: cutyQH,
207
- d0g58T: d0g58T,
208
- "dRB0/1": "Empty",
209
- daHjZg: daHjZg,
210
- dkRdks: dkRdks,
211
- e0xuLo: e0xuLo,
212
- eCe9ZY: eCe9ZY,
213
- "eL+nIp": "Add file",
214
- ejwBSw: ejwBSw,
215
- fSfLk8: fSfLk8,
216
- g2CRt5: g2CRt5,
217
- g6qbbX: g6qbbX,
218
- gWmL5V: gWmL5V,
219
- hezcGl: hezcGl,
220
- "jbT/g6": "M",
221
- "l+ddDH": "Create {a_singular}",
222
- li2Qqu: li2Qqu,
223
- lsBBVh: lsBBVh,
224
- mCfzkJ: mCfzkJ,
225
- mQiyAm: mQiyAm,
226
- oc3YLT: oc3YLT,
227
- odaCUe: odaCUe,
228
- owrRHV: owrRHV,
229
- pVHYDd: pVHYDd,
230
- pZytAx: pZytAx,
231
- "rSt+KL": "No",
232
- rmJBin: rmJBin,
233
- rtwfuZ: rtwfuZ,
234
- rvOVCV: rvOVCV,
235
- s4Xrs9: s4Xrs9,
236
- sOfogS: sOfogS,
237
- smqUAV: smqUAV,
238
- tPeIKO: tPeIKO,
239
- "uN/FYD": "No results found",
240
- ucieFX: ucieFX,
241
- uds4wJ: uds4wJ,
242
- une5WQ: une5WQ,
243
- v4Qtl9: v4Qtl9,
244
- wKPI1y: wKPI1y,
245
- "wU++NJ": "Duration",
246
- wa783M: wa783M,
247
- x27x2b: x27x2b,
248
- xKUOLG: xKUOLG,
249
- xSERPA: xSERPA,
250
- y9zauY: y9zauY,
251
- yALN2p: yALN2p,
252
- yByaBh: yByaBh,
253
- yHAmDD: yHAmDD,
254
- yQRtgx: yQRtgx,
255
- ygNvmz: ygNvmz,
256
- yhU8J6: yhU8J6,
257
- yzfiXJ: yzfiXJ,
258
- z2775Q: z2775Q,
259
- "zN5N/Q": "Delete {a_singular}",
260
- zTiC4D: zTiC4D,
261
- zwks3g: zwks3g
262
- };
3
+ var messages = {};
263
4
 
264
5
  /* eslint-disable */
265
6
  manager.addLocale('en', messages);
package/locale/en.json CHANGED
@@ -1,155 +1,2 @@
1
1
  {
2
- "+6cCPF": "Error 403",
3
- "002oWQ": "Duration",
4
- "0F5X3C": "S",
5
- "0SEHSj": "Select row",
6
- "0xeItT": "Loading...",
7
- "12Px0g": "Send reset link",
8
- "1dqmFw": "Document",
9
- "22Ld5M": "Enter the code from your authenticator app to continue",
10
- "2vB7U4": "An error occured and we could not save this item successfully.",
11
- "3RT69u": "Informations",
12
- "3ebjtX": "Yes",
13
- "3na7F8": "Now",
14
- "4sViWl": "{count, plural, =0 {No item.} =1 {# item} other {# items}}",
15
- "4yfet+": "Password",
16
- "5nHK/H": "Do you really wish to disable two factor authentication on your account?",
17
- "5rMPIj": "Loading...",
18
- "6Ie+vL": "Error 404",
19
- "6TuTuq": "Choose an option",
20
- "6cSFtU": "No color",
21
- "6nwWPR": "Error 401",
22
- "6viUpq": "Create {a_singular}",
23
- "7M0o0q": "Item",
24
- "7OEFyt": "Delete",
25
- "82P2dS": "You are not authorized to access this page.",
26
- "8HFiMs": "Access to this page is forbidden",
27
- "8INLfU": "Document",
28
- "8LSb8C": "Current password",
29
- "8NyYTH": "Back",
30
- "8T+JE7": "Duplicate",
31
- "9/t5wK": "Type",
32
- "9XBwF1": "Yes",
33
- "AJiMQk": "No results",
34
- "AeOZq+": "Login",
35
- "AwDQvD": "Image",
36
- "B1h3gd": "Please enter your password to continue",
37
- "BAKfhq": "W",
38
- "BIYKx5": "Preview",
39
- "BeKVq6": "Upload file",
40
- "Bhu3B2": "Delete",
41
- "CGvQxc": "User",
42
- "DBU3cu": "T",
43
- "DUbv+u": "Confirm your new password",
44
- "ESkxLX": "Success!",
45
- "FntHPK": "View {the_plural}",
46
- "G7M4nI": "Duplicate {a_singular}",
47
- "GxOBVL": "Replace",
48
- "HOobY2": "Error 401",
49
- "HzCxmr": "Duplicate",
50
- "IuqEHB": "Account",
51
- "J6Mhku": "F",
52
- "JuxiUN": "Format",
53
- "Ke35Pv": "Edit",
54
- "LI0Gz4": "Email",
55
- "M49yWb": "The following items will be restored: {ids}. Are you sure you want to continue?",
56
- "MHldGi": "Duration:",
57
- "Mo0yQb": "Error",
58
- "Mohaye": "Edit item",
59
- "NeSNvW": "clear",
60
- "NozDYd": "Uploading",
61
- "Of2stw": "T",
62
- "OzYWZz": "Created at",
63
- "PN+75e": "Created at",
64
- "PQX/ph": "Create account",
65
- "PSlT7H": "Trash",
66
- "PTmocx": "The following items will be deleted: {ids}. Are you sure you want to continue?",
67
- "Pih2UO": "Error 403",
68
- "PyxZY2": "Cancel",
69
- "QUAHwy": "Continue",
70
- "R1HYj0": "Save",
71
- "REIcPg": "Logout",
72
- "T/NPHK": "Edit",
73
- "TV3jir": "Loading",
74
- "Tol+/U": "Clear",
75
- "U/ye2x": "Cancel",
76
- "US/AMe": "Error 404",
77
- "UUv8FR": "Name",
78
- "UaVu03": "Confirm",
79
- "UbmsLL": "No item found.",
80
- "UbxbKP": "Preview",
81
- "UpStcP": "Could not find type for this item",
82
- "V7Us0a": "Update account",
83
- "VhJUeW": "Confirm your password",
84
- "WX83V9": "File name",
85
- "WgIC2T": "No results found",
86
- "XJ1dc3": "New password",
87
- "XLVfN6": "Find {a_singular}",
88
- "XW9IKQ": "Update password",
89
- "XmY7D8": "The following items will be duplicated: {ids}. Are you sure you want to continue?",
90
- "XnyI69": "Audio",
91
- "XrzzDc": "Search",
92
- "ZBNqY2": "Forgot your password?",
93
- "ZhnMCD": "Are you sure you want to duplicate {the_singular} #{id}?",
94
- "ZxgNge": "Add an item",
95
- "bPk79b": "Show",
96
- "bfP/d8": "{The_singular} has been created.",
97
- "c3hu9o": "Size",
98
- "c6nfry": "Restore",
99
- "cutyQH": "An error has occured.",
100
- "d0g58T": "Login",
101
- "dRB0/1": "Empty",
102
- "daHjZg": "Edit file",
103
- "dkRdks": "{The_singular} has been deleted.",
104
- "e0xuLo": "Link",
105
- "eCe9ZY": "Dimensions",
106
- "eL+nIp": "Add file",
107
- "ejwBSw": "Error 500",
108
- "fSfLk8": "S",
109
- "g2CRt5": "Size",
110
- "g6qbbX": "Log in",
111
- "gWmL5V": "Disable two factor authentication",
112
- "hezcGl": "Go to home page",
113
- "jbT/g6": "M",
114
- "l+ddDH": "Create {a_singular}",
115
- "li2Qqu": "Skip setup",
116
- "lsBBVh": "{count, plural, =0 {no items} one {# item} other {# items}} selected",
117
- "mCfzkJ": "Edit {a_singular}",
118
- "mQiyAm": "Video",
119
- "oc3YLT": "Choose an item",
120
- "odaCUe": "Clear",
121
- "owrRHV": "Error 500",
122
- "pVHYDd": "Enable two factor authentication",
123
- "pZytAx": "No result",
124
- "rSt+KL": "No",
125
- "rmJBin": "Dimensions",
126
- "rtwfuZ": "Actions",
127
- "rvOVCV": "Confirm selection",
128
- "s4Xrs9": "Time",
129
- "sOfogS": "Edit items",
130
- "smqUAV": "Edit {name}",
131
- "tPeIKO": "Go back to login",
132
- "uN/FYD": "No results found",
133
- "ucieFX": "The following items will be modified: {ids}.",
134
- "uds4wJ": "Deleted at",
135
- "une5WQ": "Find a file",
136
- "v4Qtl9": "Today",
137
- "wKPI1y": "This page doesn’t exist",
138
- "wU++NJ": "Duration",
139
- "wa783M": "Already have an account? Go to login",
140
- "x27x2b": "Loading",
141
- "xKUOLG": "Technical details",
142
- "xSERPA": "Video",
143
- "y9zauY": "An error occured and we could not delete this item successfully.",
144
- "yALN2p": "There was an error",
145
- "yByaBh": "Added by",
146
- "yHAmDD": "Image",
147
- "yQRtgx": "Audio",
148
- "ygNvmz": "Description",
149
- "yhU8J6": "No",
150
- "yzfiXJ": "Are you sure you want to delete {the_singular} #{id}?",
151
- "z2775Q": "Import",
152
- "zN5N/Q": "Delete {a_singular}",
153
- "zTiC4D": "Do you wish to enable two factor authentication on your account? You will have to use an authentication app such as Google Authenticator or Microsoft Authenticator in addition to your password to connect.",
154
- "zwks3g": "Save new password"
155
2
  }
package/locale/fr.js CHANGED
@@ -1,265 +1,6 @@
1
1
  import manager from '@panneau/intl';
2
2
 
3
- var AJiMQk = "Pas de résultats";
4
- var AwDQvD = "Image";
5
- var B1h3gd = "Entrez votre mot de passe pour continuer";
6
- var BAKfhq = "M";
7
- var BIYKx5 = "Prévisualisation";
8
- var BeKVq6 = "Ajouter un fichier";
9
- var Bhu3B2 = "Supprimer";
10
- var CGvQxc = "Utilisateur";
11
- var DBU3cu = "M";
12
- var ESkxLX = "Réussi!";
13
- var FntHPK = "Voir {the_plural}";
14
- var G7M4nI = "Dupliquer {a_singular}";
15
- var GxOBVL = "Remplacer";
16
- var HOobY2 = "Erreur 401";
17
- var HzCxmr = "Dupliquer";
18
- var IuqEHB = "Compte";
19
- var J6Mhku = "V";
20
- var JuxiUN = "Format";
21
- var Ke35Pv = "Modifier";
22
- var LI0Gz4 = "Courriel";
23
- var M49yWb = "Les éléments suivants seront retirés de la corbeille: {ids}. Voulez-vous continuer ?";
24
- var MHldGi = "Durée:";
25
- var Mo0yQb = "Erreur";
26
- var Mohaye = "Modifier l'élément";
27
- var NeSNvW = "effacer";
28
- var NozDYd = "Chargement";
29
- var Of2stw = "J";
30
- var OzYWZz = "Créé le";
31
- var PSlT7H = "Jeter";
32
- var PTmocx = "Les éléments suivants seront supprimés: {ids}. Voulez-vous continuer ?";
33
- var Pih2UO = "Erreur 403";
34
- var PyxZY2 = "Annuler";
35
- var QUAHwy = "Continuer";
36
- var R1HYj0 = "Sauvegarder";
37
- var REIcPg = "Déconnexion";
38
- var TV3jir = "Chargement";
39
- var UUv8FR = "Nom";
40
- var UaVu03 = "Confirmer";
41
- var UbmsLL = "Aucun élément trouvé.";
42
- var UbxbKP = "Aperçu";
43
- var UpStcP = "Nous n'avons pas pu trouver ce type d'élément";
44
- var V7Us0a = "Mon compte";
45
- var VhJUeW = "Confirmez votre mot de passe";
46
- var WX83V9 = "Nom du fichier";
47
- var WgIC2T = "Aucun résultat";
48
- var XJ1dc3 = "Nouveau mot de passe";
49
- var XLVfN6 = "Trouver {a_singular}";
50
- var XW9IKQ = "Mettre à jour votre mot de passe";
51
- var XmY7D8 = "Les éléments suivants seront dupliqués: {ids}. Voulez-vous continuer?";
52
- var XnyI69 = "Audio";
53
- var XrzzDc = "Chercher";
54
- var ZBNqY2 = "Mot de passe oublié ?";
55
- var ZhnMCD = "Êtes-vous certain de vouloir dupliquer {the_singular} #{id}?";
56
- var ZxgNge = "Ajouter un élement";
57
- var bPk79b = "Afficher";
58
- var c3hu9o = "Taille";
59
- var c6nfry = "Restaurer";
60
- var cutyQH = "Une erreur s'est produite.";
61
- var d0g58T = "Connexion";
62
- var daHjZg = "Modifier le fichier";
63
- var dkRdks = "{The_singular} a été supprimé.";
64
- var e0xuLo = "Lien";
65
- var eCe9ZY = "Dimensions";
66
- var ejwBSw = "Erreur 500";
67
- var fSfLk8 = "S";
68
- var g2CRt5 = "Poids";
69
- var g6qbbX = "Connexion";
70
- var gWmL5V = "Désactiver l'authentification à deux facteurs";
71
- var hezcGl = "Aller à la page d’accueil";
72
- var li2Qqu = "Passer l'étape";
73
- var lsBBVh = "{count, plural, =0 {aucun élément} one {# élément} other {# éléments}} sélectionné(s)";
74
- var mCfzkJ = "Modifier {a_singular}";
75
- var mQiyAm = "Vidéo";
76
- var oc3YLT = "Choisissez un item";
77
- var odaCUe = "Effacer";
78
- var owrRHV = "Erreur 500";
79
- var pVHYDd = "Activer l'authentification à deux facteurs";
80
- var pZytAx = "Aucun résultat";
81
- var rmJBin = "Dimensions";
82
- var rtwfuZ = "Actions";
83
- var rvOVCV = "Confirmer la sélection";
84
- var s4Xrs9 = "Heure";
85
- var sOfogS = "Modifier les éléments";
86
- var smqUAV = "Modifier {nom}";
87
- var tPeIKO = "Retour à la connexion";
88
- var ucieFX = "Les éléments suivants seront modifiés: {ids}.";
89
- var uds4wJ = "Supprimé le";
90
- var une5WQ = "Trouver un fichier";
91
- var v4Qtl9 = "Aujourd'hui";
92
- var wKPI1y = "Cette page n’existe pas";
93
- var wa783M = "Vous avez un compte? Connectez-vous ici";
94
- var x27x2b = "Chargement";
95
- var xKUOLG = "Détails techniques";
96
- var xSERPA = "Vidéo";
97
- var y9zauY = "Une erreur s’est produite et nous n’avons pas pu supprimer cet élément avec succès.";
98
- var yALN2p = "Il y a eu une erreur";
99
- var yByaBh = "Ajouté par";
100
- var yHAmDD = "Image";
101
- var yQRtgx = "Audio";
102
- var ygNvmz = "Description";
103
- var yhU8J6 = "Non";
104
- var yzfiXJ = "Êtes-vous certain de vouloir supprimer {the_singular} #{id}?";
105
- var z2775Q = "Importer";
106
- var zTiC4D = "Voulez-vous activer l'authentification à deux facteurs ? Vous devrez utiliser une application de connexion telle que Google Authenticator ou Microsoft Authenticator en plus de votre mot de passe pour vous connecter.";
107
- var zwks3g = "Sauvegarder le nouveau mot de passe";
108
- var messages = {
109
- "+6cCPF": "Erreur 403",
110
- "002oWQ": "Durée",
111
- "0F5X3C": "S",
112
- "0SEHSj": "Sélectionner",
113
- "0xeItT": "Chargement...",
114
- "12Px0g": "Envoyer le lien de réinitialisation du mot de passe",
115
- "1dqmFw": "Document",
116
- "22Ld5M": "Entrez le code de votre application d'authentification pour continuer",
117
- "2vB7U4": "Une erreur s’est produite et nous n’avons pas pu enregistrer cet élément avec succès.",
118
- "3RT69u": "Informations",
119
- "3ebjtX": "Oui",
120
- "3na7F8": "Maintenant",
121
- "4sViWl": "{count, plural, =0 {Aucun item.} =1 {# item} other {# items}}",
122
- "4yfet+": "Mot de passe",
123
- "5nHK/H": "Voulez-vous vraiment désactiver l'authentification à deux facteurs ?",
124
- "5rMPIj": "Chargement...",
125
- "6Ie+vL": "Erreur 404",
126
- "6TuTuq": "Choisissez une option",
127
- "6cSFtU": "Pas de couleur",
128
- "6nwWPR": "Erreur 401",
129
- "6viUpq": "Créer {a_singular}",
130
- "7M0o0q": "Élément",
131
- "7OEFyt": "Supprimer",
132
- "82P2dS": "Vous n’êtes pas autorisé à accéder à cette page.",
133
- "8HFiMs": "L’accès à cette page est interdit",
134
- "8INLfU": "Document",
135
- "8LSb8C": "Mot de passe actuel",
136
- "8NyYTH": "Retour",
137
- "8T+JE7": "Dupliquer",
138
- "9/t5wK": "Type",
139
- "9XBwF1": "Oui",
140
- AJiMQk: AJiMQk,
141
- "AeOZq+": "Connexion",
142
- AwDQvD: AwDQvD,
143
- B1h3gd: B1h3gd,
144
- BAKfhq: BAKfhq,
145
- BIYKx5: BIYKx5,
146
- BeKVq6: BeKVq6,
147
- Bhu3B2: Bhu3B2,
148
- CGvQxc: CGvQxc,
149
- DBU3cu: DBU3cu,
150
- "DUbv+u": "Confirmez votre mot de passe",
151
- ESkxLX: ESkxLX,
152
- FntHPK: FntHPK,
153
- G7M4nI: G7M4nI,
154
- GxOBVL: GxOBVL,
155
- HOobY2: HOobY2,
156
- HzCxmr: HzCxmr,
157
- IuqEHB: IuqEHB,
158
- J6Mhku: J6Mhku,
159
- JuxiUN: JuxiUN,
160
- Ke35Pv: Ke35Pv,
161
- LI0Gz4: LI0Gz4,
162
- M49yWb: M49yWb,
163
- MHldGi: MHldGi,
164
- Mo0yQb: Mo0yQb,
165
- Mohaye: Mohaye,
166
- NeSNvW: NeSNvW,
167
- NozDYd: NozDYd,
168
- Of2stw: Of2stw,
169
- OzYWZz: OzYWZz,
170
- "PN+75e": "Créé le",
171
- "PQX/ph": "Créer mon compte",
172
- PSlT7H: PSlT7H,
173
- PTmocx: PTmocx,
174
- Pih2UO: Pih2UO,
175
- PyxZY2: PyxZY2,
176
- QUAHwy: QUAHwy,
177
- R1HYj0: R1HYj0,
178
- REIcPg: REIcPg,
179
- "T/NPHK": "Modifier",
180
- TV3jir: TV3jir,
181
- "Tol+/U": "Effacer",
182
- "U/ye2x": "Annuler",
183
- "US/AMe": "Erreur 404",
184
- UUv8FR: UUv8FR,
185
- UaVu03: UaVu03,
186
- UbmsLL: UbmsLL,
187
- UbxbKP: UbxbKP,
188
- UpStcP: UpStcP,
189
- V7Us0a: V7Us0a,
190
- VhJUeW: VhJUeW,
191
- WX83V9: WX83V9,
192
- WgIC2T: WgIC2T,
193
- XJ1dc3: XJ1dc3,
194
- XLVfN6: XLVfN6,
195
- XW9IKQ: XW9IKQ,
196
- XmY7D8: XmY7D8,
197
- XnyI69: XnyI69,
198
- XrzzDc: XrzzDc,
199
- ZBNqY2: ZBNqY2,
200
- ZhnMCD: ZhnMCD,
201
- ZxgNge: ZxgNge,
202
- bPk79b: bPk79b,
203
- "bfP/d8": "{The_singular} a été créé.",
204
- c3hu9o: c3hu9o,
205
- c6nfry: c6nfry,
206
- cutyQH: cutyQH,
207
- d0g58T: d0g58T,
208
- "dRB0/1": "Vide",
209
- daHjZg: daHjZg,
210
- dkRdks: dkRdks,
211
- e0xuLo: e0xuLo,
212
- eCe9ZY: eCe9ZY,
213
- "eL+nIp": "Ajouter un fichier",
214
- ejwBSw: ejwBSw,
215
- fSfLk8: fSfLk8,
216
- g2CRt5: g2CRt5,
217
- g6qbbX: g6qbbX,
218
- gWmL5V: gWmL5V,
219
- hezcGl: hezcGl,
220
- "jbT/g6": "L",
221
- "l+ddDH": "Créer {a_singular}",
222
- li2Qqu: li2Qqu,
223
- lsBBVh: lsBBVh,
224
- mCfzkJ: mCfzkJ,
225
- mQiyAm: mQiyAm,
226
- oc3YLT: oc3YLT,
227
- odaCUe: odaCUe,
228
- owrRHV: owrRHV,
229
- pVHYDd: pVHYDd,
230
- pZytAx: pZytAx,
231
- "rSt+KL": "Non",
232
- rmJBin: rmJBin,
233
- rtwfuZ: rtwfuZ,
234
- rvOVCV: rvOVCV,
235
- s4Xrs9: s4Xrs9,
236
- sOfogS: sOfogS,
237
- smqUAV: smqUAV,
238
- tPeIKO: tPeIKO,
239
- "uN/FYD": "Aucun résultat",
240
- ucieFX: ucieFX,
241
- uds4wJ: uds4wJ,
242
- une5WQ: une5WQ,
243
- v4Qtl9: v4Qtl9,
244
- wKPI1y: wKPI1y,
245
- "wU++NJ": "Durée",
246
- wa783M: wa783M,
247
- x27x2b: x27x2b,
248
- xKUOLG: xKUOLG,
249
- xSERPA: xSERPA,
250
- y9zauY: y9zauY,
251
- yALN2p: yALN2p,
252
- yByaBh: yByaBh,
253
- yHAmDD: yHAmDD,
254
- yQRtgx: yQRtgx,
255
- ygNvmz: ygNvmz,
256
- yhU8J6: yhU8J6,
257
- yzfiXJ: yzfiXJ,
258
- z2775Q: z2775Q,
259
- "zN5N/Q": "Supprimer {a_singular}",
260
- zTiC4D: zTiC4D,
261
- zwks3g: zwks3g
262
- };
3
+ var messages = {};
263
4
 
264
5
  /* eslint-disable */
265
6
  manager.addLocale('fr', messages);
package/locale/fr.json CHANGED
@@ -1,155 +1,2 @@
1
1
  {
2
- "+6cCPF": "Erreur 403",
3
- "002oWQ": "Durée",
4
- "0F5X3C": "S",
5
- "0SEHSj": "Sélectionner",
6
- "0xeItT": "Chargement...",
7
- "12Px0g": "Envoyer le lien de réinitialisation du mot de passe",
8
- "1dqmFw": "Document",
9
- "22Ld5M": "Entrez le code de votre application d'authentification pour continuer",
10
- "2vB7U4": "Une erreur s’est produite et nous n’avons pas pu enregistrer cet élément avec succès.",
11
- "3RT69u": "Informations",
12
- "3ebjtX": "Oui",
13
- "3na7F8": "Maintenant",
14
- "4sViWl": "{count, plural, =0 {Aucun item.} =1 {# item} other {# items}}",
15
- "4yfet+": "Mot de passe",
16
- "5nHK/H": "Voulez-vous vraiment désactiver l'authentification à deux facteurs ?",
17
- "5rMPIj": "Chargement...",
18
- "6Ie+vL": "Erreur 404",
19
- "6TuTuq": "Choisissez une option",
20
- "6cSFtU": "Pas de couleur",
21
- "6nwWPR": "Erreur 401",
22
- "6viUpq": "Créer {a_singular}",
23
- "7M0o0q": "Élément",
24
- "7OEFyt": "Supprimer",
25
- "82P2dS": "Vous n’êtes pas autorisé à accéder à cette page.",
26
- "8HFiMs": "L’accès à cette page est interdit",
27
- "8INLfU": "Document",
28
- "8LSb8C": "Mot de passe actuel",
29
- "8NyYTH": "Retour",
30
- "8T+JE7": "Dupliquer",
31
- "9/t5wK": "Type",
32
- "9XBwF1": "Oui",
33
- "AJiMQk": "Pas de résultats",
34
- "AeOZq+": "Connexion",
35
- "AwDQvD": "Image",
36
- "B1h3gd": "Entrez votre mot de passe pour continuer",
37
- "BAKfhq": "M",
38
- "BIYKx5": "Prévisualisation",
39
- "BeKVq6": "Ajouter un fichier",
40
- "Bhu3B2": "Supprimer",
41
- "CGvQxc": "Utilisateur",
42
- "DBU3cu": "M",
43
- "DUbv+u": "Confirmez votre mot de passe",
44
- "ESkxLX": "Réussi!",
45
- "FntHPK": "Voir {the_plural}",
46
- "G7M4nI": "Dupliquer {a_singular}",
47
- "GxOBVL": "Remplacer",
48
- "HOobY2": "Erreur 401",
49
- "HzCxmr": "Dupliquer",
50
- "IuqEHB": "Compte",
51
- "J6Mhku": "V",
52
- "JuxiUN": "Format",
53
- "Ke35Pv": "Modifier",
54
- "LI0Gz4": "Courriel",
55
- "M49yWb": "Les éléments suivants seront retirés de la corbeille: {ids}. Voulez-vous continuer ?",
56
- "MHldGi": "Durée:",
57
- "Mo0yQb": "Erreur",
58
- "Mohaye": "Modifier l'élément",
59
- "NeSNvW": "effacer",
60
- "NozDYd": "Chargement",
61
- "Of2stw": "J",
62
- "OzYWZz": "Créé le",
63
- "PN+75e": "Créé le",
64
- "PQX/ph": "Créer mon compte",
65
- "PSlT7H": "Jeter",
66
- "PTmocx": "Les éléments suivants seront supprimés: {ids}. Voulez-vous continuer ?",
67
- "Pih2UO": "Erreur 403",
68
- "PyxZY2": "Annuler",
69
- "QUAHwy": "Continuer",
70
- "R1HYj0": "Sauvegarder",
71
- "REIcPg": "Déconnexion",
72
- "T/NPHK": "Modifier",
73
- "TV3jir": "Chargement",
74
- "Tol+/U": "Effacer",
75
- "U/ye2x": "Annuler",
76
- "US/AMe": "Erreur 404",
77
- "UUv8FR": "Nom",
78
- "UaVu03": "Confirmer",
79
- "UbmsLL": "Aucun élément trouvé.",
80
- "UbxbKP": "Aperçu",
81
- "UpStcP": "Nous n'avons pas pu trouver ce type d'élément",
82
- "V7Us0a": "Mon compte",
83
- "VhJUeW": "Confirmez votre mot de passe",
84
- "WX83V9": "Nom du fichier",
85
- "WgIC2T": "Aucun résultat",
86
- "XJ1dc3": "Nouveau mot de passe",
87
- "XLVfN6": "Trouver {a_singular}",
88
- "XW9IKQ": "Mettre à jour votre mot de passe",
89
- "XmY7D8": "Les éléments suivants seront dupliqués: {ids}. Voulez-vous continuer?",
90
- "XnyI69": "Audio",
91
- "XrzzDc": "Chercher",
92
- "ZBNqY2": "Mot de passe oublié ?",
93
- "ZhnMCD": "Êtes-vous certain de vouloir dupliquer {the_singular} #{id}?",
94
- "ZxgNge": "Ajouter un élement",
95
- "bPk79b": "Afficher",
96
- "bfP/d8": "{The_singular} a été créé.",
97
- "c3hu9o": "Taille",
98
- "c6nfry": "Restaurer",
99
- "cutyQH": "Une erreur s'est produite.",
100
- "d0g58T": "Connexion",
101
- "dRB0/1": "Vide",
102
- "daHjZg": "Modifier le fichier",
103
- "dkRdks": "{The_singular} a été supprimé.",
104
- "e0xuLo": "Lien",
105
- "eCe9ZY": "Dimensions",
106
- "eL+nIp": "Ajouter un fichier",
107
- "ejwBSw": "Erreur 500",
108
- "fSfLk8": "S",
109
- "g2CRt5": "Poids",
110
- "g6qbbX": "Connexion",
111
- "gWmL5V": "Désactiver l'authentification à deux facteurs",
112
- "hezcGl": "Aller à la page d’accueil",
113
- "jbT/g6": "L",
114
- "l+ddDH": "Créer {a_singular}",
115
- "li2Qqu": "Passer l'étape",
116
- "lsBBVh": "{count, plural, =0 {aucun élément} one {# élément} other {# éléments}} sélectionné(s)",
117
- "mCfzkJ": "Modifier {a_singular}",
118
- "mQiyAm": "Vidéo",
119
- "oc3YLT": "Choisissez un item",
120
- "odaCUe": "Effacer",
121
- "owrRHV": "Erreur 500",
122
- "pVHYDd": "Activer l'authentification à deux facteurs",
123
- "pZytAx": "Aucun résultat",
124
- "rSt+KL": "Non",
125
- "rmJBin": "Dimensions",
126
- "rtwfuZ": "Actions",
127
- "rvOVCV": "Confirmer la sélection",
128
- "s4Xrs9": "Heure",
129
- "sOfogS": "Modifier les éléments",
130
- "smqUAV": "Modifier {nom}",
131
- "tPeIKO": "Retour à la connexion",
132
- "uN/FYD": "Aucun résultat",
133
- "ucieFX": "Les éléments suivants seront modifiés: {ids}.",
134
- "uds4wJ": "Supprimé le",
135
- "une5WQ": "Trouver un fichier",
136
- "v4Qtl9": "Aujourd'hui",
137
- "wKPI1y": "Cette page n’existe pas",
138
- "wU++NJ": "Durée",
139
- "wa783M": "Vous avez un compte? Connectez-vous ici",
140
- "x27x2b": "Chargement",
141
- "xKUOLG": "Détails techniques",
142
- "xSERPA": "Vidéo",
143
- "y9zauY": "Une erreur s’est produite et nous n’avons pas pu supprimer cet élément avec succès.",
144
- "yALN2p": "Il y a eu une erreur",
145
- "yByaBh": "Ajouté par",
146
- "yHAmDD": "Image",
147
- "yQRtgx": "Audio",
148
- "ygNvmz": "Description",
149
- "yhU8J6": "Non",
150
- "yzfiXJ": "Êtes-vous certain de vouloir supprimer {the_singular} #{id}?",
151
- "z2775Q": "Importer",
152
- "zN5N/Q": "Supprimer {a_singular}",
153
- "zTiC4D": "Voulez-vous activer l'authentification à deux facteurs ? Vous devrez utiliser une application de connexion telle que Google Authenticator ou Microsoft Authenticator en plus de votre mot de passe pour vous connecter.",
154
- "zwks3g": "Sauvegarder le nouveau mot de passe"
155
2
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/intl",
3
- "version": "3.0.300",
3
+ "version": "4.0.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -62,14 +62,14 @@
62
62
  "dependencies": {
63
63
  "@babel/runtime": "^7.12.5",
64
64
  "@formatjs/cli-lib": "^6.0.3",
65
- "@panneau/core": "^3.0.300",
65
+ "@panneau/core": "^4.0.0",
66
66
  "commander": "^12.0.0",
67
67
  "fs-extra": "^11.2.0",
68
68
  "gettext-parser": "^7.0.1",
69
69
  "glob": "^10.3.12",
70
70
  "lodash-es": "^4.17.21",
71
71
  "prop-types": "^15.7.2",
72
- "react-intl": "^5.15.8||^6.0.0"
72
+ "react-intl": "^5.15.8 || ^6.0.0 || ^7.0.0"
73
73
  },
74
74
  "lang": "locale",
75
75
  "supportedLocales": [
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "129cddc67f11d3d51bc309af4c161ed027ad425f"
82
+ "gitHead": "2cca874e0388b4a20c39aadb205c0e67d5a946fc"
83
83
  }