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

Avoid the word "view" in the sidemenu and remove some unused strings

Henriette Darge3771f4e17d0b
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index e34da27f279..c8c5e6debff 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -517,10 +517,10 @@ en:
label_unwatch: "Unwatch"
label_unwatch_work_package: "Unwatch work package"
label_uploaded_by: "Uploaded by"
- label_default_queries: "Default views"
- label_starred_queries: "Favorite views"
- label_global_queries: "Public views"
- label_custom_queries: "Private views"
+ label_default_queries: "Default"
+ label_starred_queries: "Favorite"
+ label_global_queries: "Public"
+ label_custom_queries: "Private"
label_columns: "Columns"
label_attachments: Attachments
label_nextcloud: Nextcloud
@@ -1128,10 +1128,7 @@ en:
filter: "Filter"
unselected_title: "Work package"
search_query_label: "Search saved views"
- search_query_title: "Click to search saved views"
- placeholder_query_title: "Set a title for this view"
modals:
- label_settings: "Rename view"
label_name: "Name"
label_delete_page: "Delete current page"
button_apply: "Apply"
diff --git a/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.component.ts b/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.component.ts
index 5420bf6e867..898023ab9aa 100644
--- a/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.component.ts
+++ b/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.component.ts
@@ -90,7 +90,6 @@ export class EditableToolbarTitleComponent implements OnInit, OnChanges {
query_has_changed_click_to_save: this.I18n.t('js.label_view_has_changed'),
input_title: '',
input_placeholder: this.I18n.t('js.work_packages.query.rename_query_placeholder'),
- search_query_title: this.I18n.t('js.toolbar.search_query_title'),
confirm_edit_cancel: this.I18n.t('js.work_packages.query.confirm_edit_cancel'),
duplicate_query_title: this.I18n.t('js.work_packages.query.errors.duplicate_query_title'),
};
diff --git a/frontend/src/app/shared/components/op-view-select/op-view-select.component.ts b/frontend/src/app/shared/components/op-view-select/op-view-select.component.ts
index 0e4435ebbf2..8ffc54c5eb3 100644
--- a/frontend/src/app/shared/components/op-view-select/op-view-select.component.ts
+++ b/frontend/src/app/shared/components/op-view-select/op-view-select.component.ts
@@ -64,14 +64,13 @@ export const opViewSelectSelector = 'op-view-select';
})
export class ViewSelectComponent extends UntilDestroyedMixin implements OnInit {
public text = {
- search: this.I18n.t('js.toolbar.search_query_label'),
+ search: this.I18n.t('js.global_search.search'),
label: this.I18n.t('js.toolbar.search_query_label'),
scope_default: this.I18n.t('js.label_default_queries'),
scope_starred: this.I18n.t('js.label_starred_queries'),
scope_global: this.I18n.t('js.label_global_queries'),
scope_private: this.I18n.t('js.label_custom_queries'),
- scope_new: this.I18n.t('js.label_create_new_query'),
- no_results: this.I18n.t('js.work_packages.query.text_no_results'),
+ no_results: this.I18n.t('js.autocompleter.notFoundText'),
};
public views$:Observable<IOpSidemenuItem[]>;