Skip to content

Commit

Permalink
Корректировка перевода в модуле импорта
Browse files Browse the repository at this point in the history
  • Loading branch information
vamcart committed Nov 14, 2019
1 parent a554e0e commit 3a9b794
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 18 deletions.
4 changes: 3 additions & 1 deletion locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,11 @@
"settings_kilogram": "Kilogram",
"settings_pound": "Pfund",
"settings_ounce": "Unze",
"missing_dashboardsettings": "Google Sheets Settings Missing.",
"setup_google_spreadsheet": "Setup Google Sheets at Admin - Settings - Product import.",
"settings_apikey": "Google Sheets API Key",
"settings_sheetid": "Sheet ID",
"settings_tablename": "Table Name",
"settings_tablename": "Sheet Name",
"settings_googlesheet_header": "Google Spreadsheet Product Import",
"settings_googlesheet_products": "Products listed:",
"settings_googlesheet_uploaded": "Products uploaded:",
Expand Down
4 changes: 3 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@
"settings_kilogram": "kilogram",
"settings_pound": "pound",
"settings_ounce": "ounce",
"missing_dashboardsettings": "Google Sheets Settings Missing.",
"setup_google_spreadsheet": "Setup Google Sheets at Admin - Settings - Product import.",
"settings_apikey": "Google Sheets API Key",
"settings_sheetid": "Sheet ID",
"settings_tablename": "Table Name",
"settings_tablename": "Sheet Name",
"settings_googlesheet_header": "Google Spreadsheet Product Import",
"settings_googlesheet_products": "Products listed:",
"settings_googlesheet_uploaded": "Products uploaded:",
Expand Down
4 changes: 3 additions & 1 deletion locales/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@
"settings_kilogram": "kilogram",
"settings_pound": "pound",
"settings_ounce": "ounce",
"missing_dashboardsettings": "Google Sheets Settings Missing.",
"setup_google_spreadsheet": "Setup Google Sheets at Admin - Settings - Product import.",
"settings_apikey": "Google Sheets API Key",
"settings_sheetid": "Sheet ID",
"settings_tablename": "Table Name",
"settings_tablename": "Sheet Name",
"settings_googlesheet_header": "Google Spreadsheet Product Import",
"settings_googlesheet_products": "Products listed:",
"settings_googlesheet_uploaded": "Products uploaded:",
Expand Down
4 changes: 3 additions & 1 deletion locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@
"settings_kilogram": "kilogram",
"settings_pound": "pound",
"settings_ounce": "ounce",
"missing_dashboardsettings": "Google Sheets Settings Missing.",
"setup_google_spreadsheet": "Setup Google Sheets at Admin - Settings - Product import.",
"settings_apikey": "Google Sheets API Key",
"settings_sheetid": "Sheet ID",
"settings_tablename": "Table Name",
"settings_tablename": "Sheet Name",
"settings_googlesheet_header": "Google Spreadsheet Product Import",
"settings_googlesheet_products": "Products listed:",
"settings_googlesheet_uploaded": "Products uploaded:",
Expand Down
4 changes: 3 additions & 1 deletion locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@
"settings_kilogram": "kilogrammi",
"settings_pound": "libre",
"settings_ounce": "oncie",
"missing_dashboardsettings": "Google Sheets Settings Missing.",
"setup_google_spreadsheet": "Setup Google Sheets at Admin - Settings - Product import.",
"settings_apikey": "Google Sheets API Key",
"settings_sheetid": "Sheet ID",
"settings_tablename": "Table Name",
"settings_tablename": "Sheet Name",
"settings_googlesheet_header": "Google Spreadsheet Product Import",
"settings_googlesheet_products": "Products listed:",
"settings_googlesheet_uploaded": "Products uploaded:",
Expand Down
4 changes: 3 additions & 1 deletion locales/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,11 @@
"settings_kilogram": "quilograma",
"settings_pound": "libra",
"settings_ounce": "onça",
"missing_dashboardsettings": "Google Sheets Settings Missing.",
"setup_google_spreadsheet": "Setup Google Sheets at Admin - Settings - Product import.",
"settings_apikey": "Google Sheets API Key",
"settings_sheetid": "Sheet ID",
"settings_tablename": "Table Name",
"settings_tablename": "Sheet Name",
"settings_googlesheet_header": "Google Spreadsheet Product Import",
"settings_googlesheet_products": "Products listed:",
"settings_googlesheet_uploaded": "Products uploaded:",
Expand Down
8 changes: 5 additions & 3 deletions locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@
"settings_kilogram": "килограмм",
"settings_pound": "фунт",
"settings_ounce": "унция",
"settings_apikey": "Google Sheets API Ключ",
"settings_sheetid": "Google Sheets ID код таблицы",
"settings_tablename": "Google Sheets Название таблицы",
"missing_dashboardsettings": "Google Таблица не настроена.",
"setup_google_spreadsheet": "Укажите настройки google таблицы в Админке - Настройки - Импорт товаров.",
"settings_apikey": "Google Таблицы API Ключ",
"settings_sheetid": "Google Таблицы ID код таблицы",
"settings_tablename": "Google Таблицы название листа таблицы",
"settings_googlesheet_header": "Импорт товаров",
"settings_googlesheet_products": "Товаров в таблице:",
"settings_googlesheet_uploaded": "Загружено в магазин:",
Expand Down
8 changes: 5 additions & 3 deletions locales/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@
"settings_kilogram": "килограмм",
"settings_pound": "фунт",
"settings_ounce": "унция",
"settings_apikey": "Google Sheets API Ключ",
"settings_sheetid": "Google Sheets ID код таблицы",
"settings_tablename": "Google Sheets Название таблицы",
"missing_dashboardsettings": "Google Таблица не настроена.",
"setup_google_spreadsheet": "Укажите настройки google таблицы в Админке - Настройки - Импорт товаров.",
"settings_apikey": "Google Таблицы API Ключ",
"settings_sheetid": "Google Таблицы ID код таблицы",
"settings_tablename": "Google Таблицы название листа таблицы",
"settings_googlesheet_header": "Импорт товаров",
"settings_googlesheet_products": "Товаров в таблице:",
"settings_googlesheet_uploaded": "Загружено в магазин:",
Expand Down
4 changes: 3 additions & 1 deletion locales/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@
"settings_kilogram": "千克",
"settings_pound": "",
"settings_ounce": "盎司",
"missing_dashboardsettings": "Google Sheets Settings Missing.",
"setup_google_spreadsheet": "Setup Google Sheets at Admin - Settings - Product import.",
"settings_apikey": "Google Sheets API Key",
"settings_sheetid": "Sheet ID",
"settings_tablename": "Table Name",
"settings_tablename": "Sheet Name",
"settings_googlesheet_header": "Google Spreadsheet Product Import",
"settings_googlesheet_products": "Products listed:",
"settings_googlesheet_uploaded": "Products uploaded:",
Expand Down
10 changes: 5 additions & 5 deletions src/modules/products/edit/additional/components/importproduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,11 +515,11 @@ class ProductImport extends React.Component {
this.state.errors
: ''}
{this.state.errors > 0 ? this.state.errors : null}
{!this.state.dashboardsettings
? '<h3 className="dashboardErrorResponse">' +
messages.missing_dashboardsettings +
'</h3>'
: null}
<h3 className="dashboardErrorResponse">
{!this.state.dashboardsettings
? messages.missing_dashboardsettings
: null}
</h3>
{!this.state.dashboardsettings
? messages.setup_google_spreadsheet
: null}
Expand Down

0 comments on commit 3a9b794

Please sign in to comment.