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

Remove dropdown ellipsis texts

Oliver Güntherf12b61b33efb
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index fbe6d64b440..8e3cd7cfe00 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -1074,7 +1074,7 @@ en:
move_column_left: "Move column left"
move_column_right: "Move column right"
hide_column: "Hide column"
- insert_columns: "Insert columns ..."
+ insert_columns: "Insert columns"
filters: "Filters"
display_sums: "Display Sums"
confirm_edit_cancel: "Are you sure you want to cancel editing the name of this view? Title will be set back to previous value."
@@ -1144,19 +1144,19 @@ en:
months: "months"
toolbar:
settings:
- configure_view: "Configure view ..."
- columns: "Columns ..."
- sort_by: "Sort by ..."
- group_by: "Group by ..."
+ configure_view: "Configure view"
+ columns: "Columns"
+ sort_by: "Sort by"
+ group_by: "Group by"
display_sums: "Display sums"
display_hierarchy: "Display hierarchy"
hide_hierarchy: "Hide hierarchy"
hide_sums: "Hide sums"
save: "Save"
- save_as: "Save as ..."
- export: "Export ..."
- visibility_settings: "Visibility settings ..."
- page_settings: "Rename view ..."
+ save_as: "Save as"
+ export: "Export"
+ visibility_settings: "Visibility settings"
+ page_settings: "Rename view"
delete: "Delete"
filter: "Filter"
unselected_title: "Work package"
diff --git a/spec/features/views/shared_examples.rb b/spec/features/views/shared_examples.rb
index ec57fe6e60a..607bd358366 100644
--- a/spec/features/views/shared_examples.rb
+++ b/spec/features/views/shared_examples.rb
@@ -31,7 +31,7 @@ shared_examples 'module specific query view management' do
module_page.expect_and_dismiss_toaster
# Rename a query
- settings_menu.open_and_choose 'Rename view ...'
+ settings_menu.open_and_choose 'Rename view'
expect(page).to have_focus_on('.editable-toolbar-title--input')
page.driver.browser.switch_to.active_element.send_keys('My second query (renamed)')
page.driver.browser.switch_to.active_element.send_keys(:return)
diff --git a/spec/features/work_packages/export_spec.rb b/spec/features/work_packages/export_spec.rb
index a4ee1494979..4bc32af90c0 100644
--- a/spec/features/work_packages/export_spec.rb
+++ b/spec/features/work_packages/export_spec.rb
@@ -65,7 +65,7 @@ describe 'work package export' do
def export!(expect_success = true)
work_packages_page.ensure_loaded
- settings_menu.open_and_choose 'Export ...'
+ settings_menu.open_and_choose 'Export'
click_on export_type
# Expect to get a response regarding queuing
@@ -253,7 +253,7 @@ describe 'work package export' do
end
it 'shows an xml with work packages' do
- settings_menu.open_and_choose 'Export ...'
+ settings_menu.open_and_choose 'Export'
# The feed is opened in a new tab
new_window = window_opened_by { click_on export_type }
diff --git a/spec/features/work_packages/table/configuration_modal/table_configuration_modal_spec.rb b/spec/features/work_packages/table/configuration_modal/table_configuration_modal_spec.rb
index 9b78dee615c..2a1d2368ef7 100644
--- a/spec/features/work_packages/table/configuration_modal/table_configuration_modal_spec.rb
+++ b/spec/features/work_packages/table/configuration_modal/table_configuration_modal_spec.rb
@@ -29,7 +29,7 @@ describe 'Work Package table configuration modal', js: true do
find('.work-package-table--container th #subject').click
# Open insert columns entry
- find('#column-context-menu .menu-item', text: 'Insert columns ...').click
+ find('#column-context-menu .menu-item', text: 'Insert columns').click
# Expect active tab is columns
expect(page).to have_selector('.op-tab-row--link_selected', text: 'COLUMNS')
diff --git a/spec/features/work_packages/table/queries/query_name_inline_edit_spec.rb b/spec/features/work_packages/table/queries/query_name_inline_edit_spec.rb
index 626f1986bd9..4db3fa4cf7f 100644
--- a/spec/features/work_packages/table/queries/query_name_inline_edit_spec.rb
+++ b/spec/features/work_packages/table/queries/query_name_inline_edit_spec.rb
@@ -110,7 +110,7 @@ describe 'Query name inline edit', js: true do
expect(assignee_query.name).to eq 'Not my assignee query'
# Rename query through context menu
- wp_table.click_setting_item 'Rename view ...'
+ wp_table.click_setting_item 'Rename view'
expect(page).to have_focus_on('.editable-toolbar-title--input')
page.driver.browser.switch_to.active_element.send_keys('Some other name')
diff --git a/spec/support/components/work_packages/settings_menu.rb b/spec/support/components/work_packages/settings_menu.rb
index 1660a4e5824..1895ab61c5c 100644
--- a/spec/support/components/work_packages/settings_menu.rb
+++ b/spec/support/components/work_packages/settings_menu.rb
@@ -39,7 +39,7 @@ module Components
end
def open_and_save_query_as(name)
- open_and_choose('Save as ...')
+ open_and_choose('Save as')
within_modal_fill_in_and_save(name:)
end