Moved storage file linking button text into i18n

pull/11315/head
Andreas Pfohl 2 years ago
parent 10ffbe6364
commit 2b498c9a3c
No known key found for this signature in database
GPG Key ID: FF58F3B771328EB4
  1. 2
      frontend/src/app/shared/components/file-links/file-link-list/file-link-list.component.ts
  2. 1
      modules/storages/config/locales/js-en.yml

@ -102,7 +102,7 @@ export class FileLinkListComponent extends UntilDestroyedMixin implements OnInit
},
actions: {
linkFile: (storageType:string):string => this.i18n.t('js.storages.link_files_in_storage', { storageType }),
linkExisting: 'Link existing files',
linkExisting: this.i18n.t('js.storages.link_existing_files'),
},
};

@ -3,6 +3,7 @@ en:
js:
storages:
link_files_in_storage: "Link files in %{storageType}"
link_existing_files: "Link existing files"
login: "%{storageType} login"
login_to: "Login to %{storageType}"
no_connection: "No %{storageType} connection"

Loading…
Cancel
Save