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

[57911] Use simpler 'Show more' label for expandable list

Christophe Bliardc99192c6accb
diff --git a/app/components/op_primer/expandable_list_component.html.erb b/app/components/op_primer/expandable_list_component.html.erb
index b997e9f6fe5..0b4cdf1a672 100644
--- a/app/components/op_primer/expandable_list_component.html.erb
+++ b/app/components/op_primer/expandable_list_component.html.erb
@@ -31,7 +31,7 @@
scheme: :link,
data: { "expandable-list-target": "showButton",
action: "expandable-list#showElements" }
- )) { I18n.t("label_show_n_more", count: elements.count - @cutoff_limit) }
+ )) { I18n.t("label_show_more") }
end
end
end
diff --git a/config/locales/en.yml b/config/locales/en.yml
index cd25d99c6a0..994dc0b93fe 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2284,8 +2284,8 @@ en:
label_share_project_list: "Share project list"
label_share_work_package: "Share work package"
label_show_all_registered_users: "Show all registered users"
- label_show_n_more: "Show %{count} more"
label_show_less: "Show less"
+ label_show_more: "Show more"
label_journal: "Journal"
label_journal_diff: "Description Comparison"
label_language: "Language"