Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Moved storage file linking button text into i18n

Andreas Pfohl2b498c9a3caa
diff --git a/frontend/src/app/shared/components/file-links/file-link-list/file-link-list.component.ts b/frontend/src/app/shared/components/file-links/file-link-list/file-link-list.component.ts
index 7406f02230a..6aaeef93a94 100644
--- a/frontend/src/app/shared/components/file-links/file-link-list/file-link-list.component.ts
+++ b/frontend/src/app/shared/components/file-links/file-link-list/file-link-list.component.ts
@@ -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'),
},
};
diff --git a/modules/storages/config/locales/js-en.yml b/modules/storages/config/locales/js-en.yml
index 9cc19c94c96..70e5259f0a9 100644
--- a/modules/storages/config/locales/js-en.yml
+++ b/modules/storages/config/locales/js-en.yml
@@ -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"