@commercetools-frontend-extensions/import-resources-modal 1.8.2 → 1.8.3
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/dist/{active-drag-drop-area-c8d1c499.cjs.dev.js → active-drag-drop-area-1b036a1a.cjs.dev.js} +1 -1
- package/dist/{active-drag-drop-area-08d8f60d.esm.js → active-drag-drop-area-4c295594.esm.js} +1 -1
- package/dist/{active-drag-drop-area-ea7d585c.cjs.prod.js → active-drag-drop-area-dc11c9dd.cjs.prod.js} +1 -1
- package/dist/commercetools-frontend-extensions-import-resources-modal.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-extensions-import-resources-modal.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-extensions-import-resources-modal.esm.js +1 -1
- package/dist/{de-ce1e957d.esm.js → de-4d884a52.esm.js} +156 -20
- package/dist/{de-5181e779.cjs.dev.js → de-ba621f66.cjs.prod.js} +156 -20
- package/dist/{de-3c758072.cjs.prod.js → de-cd1c2b61.cjs.dev.js} +156 -20
- package/dist/{disabled-drop-area-d502e62b.cjs.dev.js → disabled-drop-area-377a3c8d.cjs.dev.js} +1 -1
- package/dist/{disabled-drop-area-3e6427f5.cjs.prod.js → disabled-drop-area-40108d06.cjs.prod.js} +1 -1
- package/dist/{disabled-drop-area-0663121b.esm.js → disabled-drop-area-9ea4c457.esm.js} +1 -1
- package/dist/{en-d7cc7b15.cjs.prod.js → en-102ccf29.cjs.prod.js} +156 -20
- package/dist/{en-2f76b27a.esm.js → en-88aad148.esm.js} +156 -20
- package/dist/{en-7de3b07a.cjs.dev.js → en-c4f7d882.cjs.dev.js} +156 -20
- package/dist/{enabled-drop-area-314c679f.cjs.dev.js → enabled-drop-area-1bb3ba2c.cjs.dev.js} +1 -1
- package/dist/{enabled-drop-area-e0438b2d.cjs.prod.js → enabled-drop-area-5629adf7.cjs.prod.js} +1 -1
- package/dist/{enabled-drop-area-cc374582.esm.js → enabled-drop-area-e60beae7.esm.js} +1 -1
- package/dist/{es-d9a57b63.cjs.dev.js → es-09b5f26a.cjs.dev.js} +157 -21
- package/dist/{es-a3c0e9b3.cjs.prod.js → es-1877968a.cjs.prod.js} +157 -21
- package/dist/{es-2b81e0cd.esm.js → es-d589515f.esm.js} +157 -21
- package/dist/{file-dropped-area-a31408ab.cjs.prod.js → file-dropped-area-00056628.cjs.prod.js} +1 -1
- package/dist/{file-dropped-area-6184d9a7.cjs.dev.js → file-dropped-area-f251fc3d.cjs.dev.js} +1 -1
- package/dist/{file-dropped-area-5b9a5695.esm.js → file-dropped-area-f5cd314a.esm.js} +1 -1
- package/dist/{fr-FR-cac38097.cjs.dev.js → fr-FR-1d2ccb65.cjs.prod.js} +157 -21
- package/dist/{fr-FR-81499942.cjs.prod.js → fr-FR-a5fe152a.cjs.dev.js} +157 -21
- package/dist/{fr-FR-084be771.esm.js → fr-FR-d672a357.esm.js} +157 -21
- package/dist/{index-12a56d8e.esm.js → index-42eec0a4.esm.js} +43 -34
- package/dist/{index-86e79ec0.cjs.dev.js → index-bf0ed2a7.cjs.dev.js} +43 -34
- package/dist/{index-9cf95c7a.cjs.prod.js → index-e152cdce.cjs.prod.js} +43 -34
- package/dist/{pt-BR-0fda1bcd.cjs.dev.js → pt-BR-0389b318.cjs.dev.js} +157 -21
- package/dist/{pt-BR-acd3f11d.esm.js → pt-BR-3512c390.esm.js} +157 -21
- package/dist/{pt-BR-0d2cb8bd.cjs.prod.js → pt-BR-606f307c.cjs.prod.js} +157 -21
- package/package.json +21 -21
|
@@ -115,27 +115,27 @@ let CurrentStep$1 = /*#__PURE__*/function (CurrentStep) {
|
|
|
115
115
|
return CurrentStep;
|
|
116
116
|
}({});
|
|
117
117
|
|
|
118
|
-
function ownKeys$
|
|
119
|
-
function _objectSpread$
|
|
118
|
+
function ownKeys$j(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
119
|
+
function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$j(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$j(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
120
120
|
|
|
121
121
|
// TODO: make this resource type specific
|
|
122
122
|
|
|
123
123
|
function reducer(state, action) {
|
|
124
|
-
if (action.type === 'setCurrentStep') return _objectSpread$
|
|
124
|
+
if (action.type === 'setCurrentStep') return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
125
125
|
currentStep: action.currentStep,
|
|
126
126
|
progress: 0
|
|
127
127
|
});
|
|
128
|
-
if (action.type === 'setUploadFileResponse') return _objectSpread$
|
|
128
|
+
if (action.type === 'setUploadFileResponse') return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
129
129
|
uploadFileResponse: action.uploadFileResponse
|
|
130
130
|
});
|
|
131
|
-
if (action.type === 'setResourceType') return _objectSpread$
|
|
131
|
+
if (action.type === 'setResourceType') return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
132
132
|
settings: undefined,
|
|
133
133
|
resourceType: action.resourceType
|
|
134
134
|
});
|
|
135
|
-
if (action.type === 'setContainerKey') return _objectSpread$
|
|
135
|
+
if (action.type === 'setContainerKey') return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
136
136
|
containerKey: action.containerKey
|
|
137
137
|
});
|
|
138
|
-
if (action.type === 'cancelImport') return _objectSpread$
|
|
138
|
+
if (action.type === 'cancelImport') return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
139
139
|
currentStep: CurrentStep$1.Upload,
|
|
140
140
|
containerKey: undefined,
|
|
141
141
|
fileUploadErrors: [],
|
|
@@ -144,7 +144,7 @@ function reducer(state, action) {
|
|
|
144
144
|
dropAreaState: 'disabled',
|
|
145
145
|
progress: 0
|
|
146
146
|
});
|
|
147
|
-
if (action.type === 'uploadNewFile') return _objectSpread$
|
|
147
|
+
if (action.type === 'uploadNewFile') return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
148
148
|
currentStep: CurrentStep$1.Upload,
|
|
149
149
|
containerKey: undefined,
|
|
150
150
|
fileUploadErrors: [],
|
|
@@ -154,28 +154,28 @@ function reducer(state, action) {
|
|
|
154
154
|
progress: 0
|
|
155
155
|
});
|
|
156
156
|
if (action.type === 'setDroppedFile') {
|
|
157
|
-
return _objectSpread$
|
|
157
|
+
return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
158
158
|
droppedFile: action.droppedFile
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
if (action.type === 'setFileUploadErrors') {
|
|
162
|
-
return _objectSpread$
|
|
162
|
+
return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
163
163
|
fileUploadErrors: action.fileUploadErrors
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
if (action.type === 'setAbortController') {
|
|
167
|
-
return _objectSpread$
|
|
167
|
+
return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
168
168
|
abortController: action.abortController
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
if (action.type === 'setProgress') {
|
|
172
|
-
return _objectSpread$
|
|
172
|
+
return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
173
173
|
progress: action.progress
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
if (action.type === 'setUploadSettings') {
|
|
177
|
-
return _objectSpread$
|
|
178
|
-
settings: _objectSpread$
|
|
177
|
+
return _objectSpread$j(_objectSpread$j({}, state), {}, {
|
|
178
|
+
settings: _objectSpread$j(_objectSpread$j({}, state.settings), action.settings)
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
throw new Error(getUnknownActionError(action));
|
|
@@ -240,8 +240,8 @@ let HttpError = /*#__PURE__*/function (_Error) {
|
|
|
240
240
|
return _createClass(HttpError);
|
|
241
241
|
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
242
242
|
|
|
243
|
-
function ownKeys$
|
|
244
|
-
function _objectSpread$
|
|
243
|
+
function ownKeys$i(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
244
|
+
function _objectSpread$i(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys$i(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys$i(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
245
245
|
const addProxyPrefixToUrl = (uri, proxy) => {
|
|
246
246
|
return proxy ? `/proxy/${proxy}${uri}` : uri;
|
|
247
247
|
};
|
|
@@ -253,7 +253,7 @@ const fetchUsingXhr = _ref2 => {
|
|
|
253
253
|
onSuccess = _ref2.onSuccess,
|
|
254
254
|
onError = _ref2.onError;
|
|
255
255
|
const options = applicationShell.createHttpClientOptions({
|
|
256
|
-
headers: _objectSpread$
|
|
256
|
+
headers: _objectSpread$i({
|
|
257
257
|
'Content-Type': 'application/json'
|
|
258
258
|
}, config?.headers)
|
|
259
259
|
});
|
|
@@ -381,11 +381,11 @@ const ACTION_RIGHTS = {
|
|
|
381
381
|
}
|
|
382
382
|
};
|
|
383
383
|
|
|
384
|
-
function ownKeys$
|
|
385
|
-
function _objectSpread$
|
|
384
|
+
function ownKeys$h(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
385
|
+
function _objectSpread$h(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$h(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$h(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
386
386
|
const DEFAULT_SHORT_LIVED_FLAGS = {};
|
|
387
387
|
const DEFAULT_LONG_LIVED_FLAGS = {};
|
|
388
|
-
_objectSpread$
|
|
388
|
+
_objectSpread$h(_objectSpread$h({}, DEFAULT_SHORT_LIVED_FLAGS), DEFAULT_LONG_LIVED_FLAGS);
|
|
389
389
|
|
|
390
390
|
var sharedMessages = reactIntl.defineMessages({
|
|
391
391
|
[`modalTitle.${IMPORTABLE_RESOURCES.CATEGORY}`]: {
|
|
@@ -622,8 +622,8 @@ var sharedMessages = reactIntl.defineMessages({
|
|
|
622
622
|
//
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
function ownKeys$
|
|
626
|
-
function _objectSpread$
|
|
625
|
+
function ownKeys$g(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
626
|
+
function _objectSpread$g(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context3 = ownKeys$g(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context4 = ownKeys$g(Object(t))).call(_context4, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
627
627
|
|
|
628
628
|
// Delimiters not included in this array may be treated as part of a column content
|
|
629
629
|
// potentially causing the file to be parsed as a single-column CSV and pass this validation
|
|
@@ -672,7 +672,7 @@ const mapUploadFileErrorsResponseToUploadFileErrorRows = uploadFileErrorsRespons
|
|
|
672
672
|
};
|
|
673
673
|
const mapFileUploadErrorsToUploadFileErrorRows = uploadFileErrors => {
|
|
674
674
|
let idCounter = 1;
|
|
675
|
-
return _mapInstanceProperty__default["default"](uploadFileErrors).call(uploadFileErrors, uploadFileError => _objectSpread$
|
|
675
|
+
return _mapInstanceProperty__default["default"](uploadFileErrors).call(uploadFileErrors, uploadFileError => _objectSpread$g(_objectSpread$g({}, uploadFileError), {}, {
|
|
676
676
|
id: String(idCounter++)
|
|
677
677
|
}));
|
|
678
678
|
};
|
|
@@ -868,6 +868,8 @@ function uploadFileForImport(_ref) {
|
|
|
868
868
|
});
|
|
869
869
|
}
|
|
870
870
|
|
|
871
|
+
function ownKeys$f(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
872
|
+
function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys$f(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys$f(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
871
873
|
function createImportContainerForFileUpload(importContainerDraft, projectKey, asyncDispatch) {
|
|
872
874
|
return asyncDispatch(sdk.actions.post({
|
|
873
875
|
mcApiProxyTarget: constants.MC_API_PROXY_TARGETS.IMPORT,
|
|
@@ -876,7 +878,14 @@ function createImportContainerForFileUpload(importContainerDraft, projectKey, as
|
|
|
876
878
|
accept: 'application/json',
|
|
877
879
|
'Content-Type': 'application/json'
|
|
878
880
|
},
|
|
879
|
-
payload: _JSON$stringify__default["default"](
|
|
881
|
+
payload: _JSON$stringify__default["default"](_objectSpread$f({
|
|
882
|
+
retentionPolicy: {
|
|
883
|
+
strategy: 'ttl',
|
|
884
|
+
config: {
|
|
885
|
+
timeToLive: '54h' // 2 days and 6 hours
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
}, importContainerDraft))
|
|
880
889
|
}));
|
|
881
890
|
}
|
|
882
891
|
function deleteImportContainer(projectKey, containerKey, asyncDispatch) {
|
|
@@ -1059,13 +1068,13 @@ function getDefaultDropWrapperStyles(_dropAreaState) {
|
|
|
1059
1068
|
return /*#__PURE__*/react.css("" , "" );
|
|
1060
1069
|
}
|
|
1061
1070
|
|
|
1062
|
-
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-
|
|
1071
|
+
var ActiveDragDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./active-drag-drop-area-dc11c9dd.cjs.prod.js'); }));
|
|
1063
1072
|
|
|
1064
|
-
var DisabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./disabled-drop-area-
|
|
1073
|
+
var DisabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./disabled-drop-area-40108d06.cjs.prod.js'); }));
|
|
1065
1074
|
|
|
1066
|
-
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-
|
|
1075
|
+
var EnabledDropArea = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./enabled-drop-area-5629adf7.cjs.prod.js'); }));
|
|
1067
1076
|
|
|
1068
|
-
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-
|
|
1077
|
+
var FileDropped = /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return require('./file-dropped-area-00056628.cjs.prod.js'); }));
|
|
1069
1078
|
|
|
1070
1079
|
function getDropArea(_ref) {
|
|
1071
1080
|
let dropAreaState = _ref.dropAreaState,
|
|
@@ -2455,17 +2464,17 @@ const getChunkImport = locale => {
|
|
|
2455
2464
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
2456
2465
|
switch (intlLocale) {
|
|
2457
2466
|
case 'de':
|
|
2458
|
-
return Promise.resolve().then(function () { return require(
|
|
2467
|
+
return Promise.resolve().then(function () { return require('./de-ba621f66.cjs.prod.js'); });
|
|
2459
2468
|
case 'es':
|
|
2460
|
-
return Promise.resolve().then(function () { return require(
|
|
2469
|
+
return Promise.resolve().then(function () { return require('./es-1877968a.cjs.prod.js'); });
|
|
2461
2470
|
case 'fr-FR':
|
|
2462
|
-
return Promise.resolve().then(function () { return require(
|
|
2471
|
+
return Promise.resolve().then(function () { return require('./fr-FR-1d2ccb65.cjs.prod.js'); });
|
|
2463
2472
|
case 'ja':
|
|
2464
|
-
return Promise.resolve().then(function () { return require(
|
|
2473
|
+
return Promise.resolve().then(function () { return require('./ja-37632763.cjs.prod.js'); });
|
|
2465
2474
|
case 'pt-BR':
|
|
2466
|
-
return Promise.resolve().then(function () { return require(
|
|
2475
|
+
return Promise.resolve().then(function () { return require('./pt-BR-606f307c.cjs.prod.js'); });
|
|
2467
2476
|
default:
|
|
2468
|
-
return Promise.resolve().then(function () { return require(
|
|
2477
|
+
return Promise.resolve().then(function () { return require('./en-102ccf29.cjs.prod.js'); });
|
|
2469
2478
|
}
|
|
2470
2479
|
};
|
|
2471
2480
|
const loadMessages = async locale => {
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var ptBR = {
|
|
4
|
-
"ImportResourcesModal.BodyNote": {
|
|
5
|
-
developer_comment: "Confirmation dialog text",
|
|
6
|
-
string: "Esteja ciente de que os valores existentes com as mesmas chaves serão substituídos pelos dados incluídos no CSV."
|
|
7
|
-
},
|
|
8
|
-
"ImportResourcesModal.BodyQuestion": {
|
|
9
|
-
developer_comment: "Confirmation question",
|
|
10
|
-
string: "Continuar a importação?"
|
|
11
|
-
},
|
|
12
|
-
"ImportResourcesModal.BodyText": {
|
|
13
|
-
developer_comment: "Confirmation dialog text",
|
|
14
|
-
string: "Você está prestes a importar <bold>{count}</bold> linhas para o projeto: <bold>{projectName}</bold>."
|
|
15
|
-
},
|
|
16
4
|
"ImportResourcesModal.browseFile": {
|
|
17
5
|
string: "Procurar arquivo"
|
|
18
6
|
},
|
|
@@ -20,6 +8,14 @@ var ptBR = {
|
|
|
20
8
|
developer_comment: "Label for the cancel button",
|
|
21
9
|
string: "Cancelar"
|
|
22
10
|
},
|
|
11
|
+
"ImportResourcesModal.categories": {
|
|
12
|
+
developer_comment: "Label for the categories resource type",
|
|
13
|
+
string: "Categorias"
|
|
14
|
+
},
|
|
15
|
+
"ImportResourcesModal.category": {
|
|
16
|
+
developer_comment: "Label for the category resource type",
|
|
17
|
+
string: "Categoria"
|
|
18
|
+
},
|
|
23
19
|
"ImportResourcesModal.chooseFile": {
|
|
24
20
|
developer_comment: "Label for a button on the file upload page, shown on ready to upload state",
|
|
25
21
|
string: "Escolher arquivo"
|
|
@@ -46,20 +42,60 @@ var ptBR = {
|
|
|
46
42
|
},
|
|
47
43
|
"ImportResourcesModal.confirmationBodyText": {
|
|
48
44
|
developer_comment: "Confirmation dialog text",
|
|
49
|
-
string: "
|
|
45
|
+
string: "You are about to import {count, plural, one {<bold>1</bold> row} other {<bold>{count}</bold> rows}} in the project: <bold>{projectName}</bold>."
|
|
50
46
|
},
|
|
51
47
|
"ImportResourcesModal.continue": {
|
|
52
48
|
developer_comment: "Confirmation dialog continue button",
|
|
53
49
|
string: "Continuar"
|
|
54
50
|
},
|
|
51
|
+
"ImportResourcesModal.custom-object": {
|
|
52
|
+
developer_comment: "Label for the custom-object resource type",
|
|
53
|
+
string: "Objeto personalizado"
|
|
54
|
+
},
|
|
55
|
+
"ImportResourcesModal.custom-objects": {
|
|
56
|
+
developer_comment: "Label for the custom-objects resource type",
|
|
57
|
+
string: "Objetos personalizados"
|
|
58
|
+
},
|
|
59
|
+
"ImportResourcesModal.customer": {
|
|
60
|
+
developer_comment: "Label for the customer resource type",
|
|
61
|
+
string: "Cliente"
|
|
62
|
+
},
|
|
63
|
+
"ImportResourcesModal.customers": {
|
|
64
|
+
developer_comment: "Label for the customers resource type",
|
|
65
|
+
string: "Clientes"
|
|
66
|
+
},
|
|
55
67
|
"ImportResourcesModal.dataType": {
|
|
56
68
|
developer_comment: "Label for the data type selection dropdown",
|
|
57
69
|
string: "Tipo de dados"
|
|
58
70
|
},
|
|
71
|
+
"ImportResourcesModal.delimiterComma": {
|
|
72
|
+
developer_comment: "Label for the delimiter name comma",
|
|
73
|
+
string: "vírgula"
|
|
74
|
+
},
|
|
75
|
+
"ImportResourcesModal.delimiterPipe": {
|
|
76
|
+
developer_comment: "Label for the delimiter name pipe",
|
|
77
|
+
string: "tubo"
|
|
78
|
+
},
|
|
79
|
+
"ImportResourcesModal.delimiterSemicolon": {
|
|
80
|
+
developer_comment: "Label for the delimiter name semicolon",
|
|
81
|
+
string: "ponto e vírgula"
|
|
82
|
+
},
|
|
83
|
+
"ImportResourcesModal.delimiterTab": {
|
|
84
|
+
developer_comment: "Label for the delimiter name tab",
|
|
85
|
+
string: "guia"
|
|
86
|
+
},
|
|
59
87
|
"ImportResourcesModal.details": {
|
|
60
88
|
developer_comment: "In Upload file error modal - \"Details\" column",
|
|
61
89
|
string: "Detalhes"
|
|
62
90
|
},
|
|
91
|
+
"ImportResourcesModal.discount-code": {
|
|
92
|
+
developer_comment: "Label for the discount-code resource type",
|
|
93
|
+
string: "Código de desconto"
|
|
94
|
+
},
|
|
95
|
+
"ImportResourcesModal.discount-codes": {
|
|
96
|
+
developer_comment: "Label for the discount-codes resource type",
|
|
97
|
+
string: "Códigos de desconto"
|
|
98
|
+
},
|
|
63
99
|
"ImportResourcesModal.dragAndDropCSV": {
|
|
64
100
|
developer_comment: "The message telling the user to drag and drop CSV file in the file drop area",
|
|
65
101
|
string: "Arraste e solte o CSV"
|
|
@@ -104,6 +140,22 @@ var ptBR = {
|
|
|
104
140
|
developer_comment: "Label for the instructions section",
|
|
105
141
|
string: "Instruções"
|
|
106
142
|
},
|
|
143
|
+
"ImportResourcesModal.inventories": {
|
|
144
|
+
developer_comment: "Label for the inventories entry resource type",
|
|
145
|
+
string: "Inventários"
|
|
146
|
+
},
|
|
147
|
+
"ImportResourcesModal.inventory": {
|
|
148
|
+
developer_comment: "Label for the inventory entry resource type",
|
|
149
|
+
string: "Inventário"
|
|
150
|
+
},
|
|
151
|
+
"ImportResourcesModal.itemsToBeImported": {
|
|
152
|
+
developer_comment: "This message indicates the number of items that are ready to be imported into the project.",
|
|
153
|
+
string: "{itemCount, plural, one {<b>1</b> {resourceType} a ser importado{publish, select, true { and published} other {}}} many {<b>{itemCount}</b> {resourceTypePlural} a serem importados{publish, select, true { and published} other {}}} other {<b>{itemCount}</b> {resourceTypePlural} a serem importados{publish, select, true { and published} other {}}}}"
|
|
154
|
+
},
|
|
155
|
+
"ImportResourcesModal.listConjunctionOr": {
|
|
156
|
+
developer_comment: "Label for the list conjunction or",
|
|
157
|
+
string: "ou"
|
|
158
|
+
},
|
|
107
159
|
"ImportResourcesModal.missingKeyError": {
|
|
108
160
|
developer_comment: "Error message displayed when the uploaded file is missing the key field",
|
|
109
161
|
string: "O campo \"chave\" está ausente ou incompleto em algumas linhas. Certifique-se de que cada linha tenha um valor de \"chave\"."
|
|
@@ -148,6 +200,22 @@ var ptBR = {
|
|
|
148
200
|
developer_comment: "The word \"or\" in the drag and drop message",
|
|
149
201
|
string: "ou"
|
|
150
202
|
},
|
|
203
|
+
"ImportResourcesModal.order": {
|
|
204
|
+
developer_comment: "Label for the order resource type",
|
|
205
|
+
string: "Pedido"
|
|
206
|
+
},
|
|
207
|
+
"ImportResourcesModal.order-patch": {
|
|
208
|
+
developer_comment: "Label for the order-patch resource type",
|
|
209
|
+
string: "Correção do pedido"
|
|
210
|
+
},
|
|
211
|
+
"ImportResourcesModal.order-patches": {
|
|
212
|
+
developer_comment: "Label for the order-patches resource type",
|
|
213
|
+
string: "Correções de pedido"
|
|
214
|
+
},
|
|
215
|
+
"ImportResourcesModal.orders": {
|
|
216
|
+
developer_comment: "Label for the orders resource type",
|
|
217
|
+
string: "Pedidos"
|
|
218
|
+
},
|
|
151
219
|
"ImportResourcesModal.prepareMessage": {
|
|
152
220
|
developer_comment: "Notification for preparing import",
|
|
153
221
|
string: "<b>Preparar importação</b><newline></newline>Após a conclusão da preparação, você pode acompanhar o andamento da importação <logsLink>nos logs de importação</logsLink>."
|
|
@@ -156,6 +224,54 @@ var ptBR = {
|
|
|
156
224
|
developer_comment: "Label for modal path",
|
|
157
225
|
string: "Aqui está uma prévia da sua importação"
|
|
158
226
|
},
|
|
227
|
+
"ImportResourcesModal.price": {
|
|
228
|
+
developer_comment: "Label for the price resource type",
|
|
229
|
+
string: "Preço"
|
|
230
|
+
},
|
|
231
|
+
"ImportResourcesModal.prices": {
|
|
232
|
+
developer_comment: "Label for the prices resource type",
|
|
233
|
+
string: "Preços"
|
|
234
|
+
},
|
|
235
|
+
"ImportResourcesModal.product": {
|
|
236
|
+
developer_comment: "Label for the product resource type",
|
|
237
|
+
string: "Produto"
|
|
238
|
+
},
|
|
239
|
+
"ImportResourcesModal.product-draft": {
|
|
240
|
+
developer_comment: "Label for the product-draft resource type",
|
|
241
|
+
string: "Rascunho do produto"
|
|
242
|
+
},
|
|
243
|
+
"ImportResourcesModal.product-drafts": {
|
|
244
|
+
developer_comment: "Label for the product-drafts resource type",
|
|
245
|
+
string: "Rascunhos de produto"
|
|
246
|
+
},
|
|
247
|
+
"ImportResourcesModal.product-type": {
|
|
248
|
+
developer_comment: "Label for the product-type resource type",
|
|
249
|
+
string: "Tipo de produto"
|
|
250
|
+
},
|
|
251
|
+
"ImportResourcesModal.product-types": {
|
|
252
|
+
developer_comment: "Label for the product-types resource type",
|
|
253
|
+
string: "Tipos de produtos"
|
|
254
|
+
},
|
|
255
|
+
"ImportResourcesModal.product-variant": {
|
|
256
|
+
developer_comment: "Label for the product-variant resource type",
|
|
257
|
+
string: "Variante do produto"
|
|
258
|
+
},
|
|
259
|
+
"ImportResourcesModal.product-variant-patch": {
|
|
260
|
+
developer_comment: "Label for the product-variant-patch resource type",
|
|
261
|
+
string: "Correção da variante do produto"
|
|
262
|
+
},
|
|
263
|
+
"ImportResourcesModal.product-variant-patches": {
|
|
264
|
+
developer_comment: "Label for the product-variant-patches resource type",
|
|
265
|
+
string: "Correções de variante de produto"
|
|
266
|
+
},
|
|
267
|
+
"ImportResourcesModal.product-variants": {
|
|
268
|
+
developer_comment: "Label for the product-variants resource type",
|
|
269
|
+
string: "Variantes de produto"
|
|
270
|
+
},
|
|
271
|
+
"ImportResourcesModal.products": {
|
|
272
|
+
developer_comment: "Label for the products resource type",
|
|
273
|
+
string: "Produtos"
|
|
274
|
+
},
|
|
159
275
|
"ImportResourcesModal.radio.categories": {
|
|
160
276
|
developer_comment: "Label for the categories radio button",
|
|
161
277
|
string: "Categorias"
|
|
@@ -179,9 +295,9 @@ var ptBR = {
|
|
|
179
295
|
"ImportResourcesModal.rowLimitExceededTitle": {
|
|
180
296
|
string: "Limite de linhas excedido"
|
|
181
297
|
},
|
|
182
|
-
"ImportResourcesModal.
|
|
183
|
-
developer_comment: "
|
|
184
|
-
string: "
|
|
298
|
+
"ImportResourcesModal.settings.publishProducts": {
|
|
299
|
+
developer_comment: "Label for the publish products checkbox",
|
|
300
|
+
string: "Publicar todos os produtos no arquivo"
|
|
185
301
|
},
|
|
186
302
|
"ImportResourcesModal.showLess": {
|
|
187
303
|
developer_comment: "A button label for collapsing the import preview to show fewer details.",
|
|
@@ -198,6 +314,14 @@ var ptBR = {
|
|
|
198
314
|
"ImportResourcesModal.sizeExceededTitle": {
|
|
199
315
|
string: "Tamanho de arquivo excedido"
|
|
200
316
|
},
|
|
317
|
+
"ImportResourcesModal.standalone-price": {
|
|
318
|
+
developer_comment: "Label for the standalone-price resource type",
|
|
319
|
+
string: "Preço independente"
|
|
320
|
+
},
|
|
321
|
+
"ImportResourcesModal.standalone-prices": {
|
|
322
|
+
developer_comment: "Label for the standalone-prices resource type",
|
|
323
|
+
string: "Preços independentes"
|
|
324
|
+
},
|
|
201
325
|
"ImportResourcesModal.startImportButton": {
|
|
202
326
|
developer_comment: "Label for the modal Start import button",
|
|
203
327
|
string: "Iniciar importação"
|
|
@@ -214,10 +338,22 @@ var ptBR = {
|
|
|
214
338
|
developer_comment: "Error message displayed when a user drags and drops multiple files at once",
|
|
215
339
|
string: "Vários arquivos detectados: você só pode arrastar e soltar um arquivo por vez."
|
|
216
340
|
},
|
|
341
|
+
"ImportResourcesModal.type": {
|
|
342
|
+
developer_comment: "Label for the type resource type",
|
|
343
|
+
string: "Tipo"
|
|
344
|
+
},
|
|
345
|
+
"ImportResourcesModal.types": {
|
|
346
|
+
developer_comment: "Label for the types resource type",
|
|
347
|
+
string: "Tipos"
|
|
348
|
+
},
|
|
217
349
|
"ImportResourcesModal.unexpectedError": {
|
|
218
350
|
developer_comment: "Generic notification message when file upload fails",
|
|
219
351
|
string: "Um erro inesperado ocorreu durante o carregamento do arquivo. Tente novamente ou entre em contato com o suporte se o problema continuar ocorrendo."
|
|
220
352
|
},
|
|
353
|
+
"ImportResourcesModal.unknown-resource-type": {
|
|
354
|
+
developer_comment: "Label for the unknown resource type",
|
|
355
|
+
string: "Tipo de recurso desconhecido"
|
|
356
|
+
},
|
|
221
357
|
"ImportResourcesModal.uploadButton": {
|
|
222
358
|
developer_comment: "Label for the upload button",
|
|
223
359
|
string: "Carregar e visualizar"
|
|
@@ -234,12 +370,12 @@ var ptBR = {
|
|
|
234
370
|
developer_comment: "Upload new file button",
|
|
235
371
|
string: "Carregar novo arquivo"
|
|
236
372
|
},
|
|
237
|
-
"ImportResourcesModal.
|
|
238
|
-
developer_comment: "Message within the drop area when a CSV file uses an unexpected
|
|
239
|
-
string: "O arquivo está usando um
|
|
373
|
+
"ImportResourcesModal.wrongSeparatorDescription": {
|
|
374
|
+
developer_comment: "Message within the drop area when a CSV file uses an unexpected separator",
|
|
375
|
+
string: "O arquivo está usando um separador não suportado. Utilize um dos separadores permitidos: {delimiterList}."
|
|
240
376
|
},
|
|
241
|
-
"ImportResourcesModal.
|
|
242
|
-
string: "
|
|
377
|
+
"ImportResourcesModal.wrongSeparatorTitle": {
|
|
378
|
+
string: "Separador incorreto"
|
|
243
379
|
}
|
|
244
380
|
};
|
|
245
381
|
|