Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rratsun committed Jul 28, 2023
1 parent ddb8290 commit 15268ad
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 13 deletions.
3 changes: 1 addition & 2 deletions app/Resources/i18n/de_DE/Asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"labels": {
"Create Asset": "Asset erstellen",
"sort": "Sortieren",
"massUpload": "Massenupload",
"simpleUpload": "Einfacher Upload",
"upload": "Upload",
"uploaded": "hochgeladen",
"retry": "Erneut versuchen?",
"withoutAnyCategory": "Ohne Kategorie",
Expand Down
3 changes: 1 addition & 2 deletions app/Resources/i18n/en_US/Asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"sort": "Sort",
"Image": "Image",
"File": "File",
"massUpload": "Mass Upload",
"simpleUpload": "Simple Upload",
"upload": "Upload",
"uploaded": "uploaded",
"retry": "Retry?",
"withoutAnyCategory": "Without any category",
Expand Down
3 changes: 1 addition & 2 deletions app/Resources/i18n/ru_RU/Asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"sort": "Сортировка",
"Image": "Изображение",
"File": "Файл",
"massUpload": "Массовая загрузка",
"simpleUpload": "Простая загрузка",
"upload": "Загрузка",
"uploaded": "Загружено",
"retry": "Повторить попытку?",
"withoutAnyCategory": "Без категории",
Expand Down
3 changes: 1 addition & 2 deletions app/Resources/i18n/uk_UA/Asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"sort": "Сортування",
"Image": "Зображення",
"File": "Файл",
"massUpload": "Масове завантаження",
"simpleUpload": "Звичайне завантаження",
"upload": "Завантаження",
"uploaded": "Завантажено",
"retry": "Повторити спробу?",
"withoutAnyCategory": "Без категорії",
Expand Down
2 changes: 1 addition & 1 deletion client/modules/dam/src/views/asset/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Espo.define('dam:views/asset/list', 'views/list-tree',
acl: 'create',
aclScope: 'Asset',
action: 'massAssetCreate',
label: this.translate('massUpload', 'labels', 'Asset'),
label: this.translate('upload', 'labels', 'Asset'),
iconHtml: ''
});
},
Expand Down
4 changes: 1 addition & 3 deletions client/modules/dam/src/views/asset/modals/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,14 @@ Espo.define('dam:views/asset/modals/edit', 'views/modals/edit',
if (this.options.relate) {
let button = {
name: '',
label: '',
label: this.translate('upload', 'labels', 'Asset'),
style: 'link'
};

if (this.options.layoutName === 'detailSmall') {
button.name = 'simpleUpload';
button.label = this.translate('simpleUpload', 'labels', 'Asset');
} else {
button.name = 'massUpload';
button.label = this.translate('massUpload', 'labels', 'Asset');
}

this.addButton(button);
Expand Down
2 changes: 1 addition & 1 deletion client/modules/dam/src/views/record/panels/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Espo.define('dam:views/record/panels/assets', 'views/record/panels/relationship'
Dep.prototype.setup.call(this);

this.actionList.unshift({
label: this.translate('massUpload', 'labels', 'Asset'),
label: this.translate('upload', 'labels', 'Asset'),
action: 'massAssetCreate',
data: {
link: this.link
Expand Down

0 comments on commit 15268ad

Please sign in to comment.