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

Rework `timelines.empty`

Aaron Contrerasd265eecf7725
diff --git a/app/views/accessibility/_empty_element_tag.html.erb b/app/views/accessibility/_empty_element_tag.html.erb
index 3739f989fb5..16d15195a7f 100644
--- a/app/views/accessibility/_empty_element_tag.html.erb
+++ b/app/views/accessibility/_empty_element_tag.html.erb
@@ -29,5 +29,5 @@ See COPYRIGHT and LICENSE files for more details.
<span>
<span aria-hidden="true" role="presentation" tabindex="-1">-</span>
- <span class="hidden-for-sighted"><%= I18n.t('timelines.empty') %></span>
+ <span class="hidden-for-sighted"><%= I18n.t(:label_empty_element) %></span>
</span>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 42df91e75fd..d379f4a4aa4 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1700,6 +1700,7 @@ en:
label_deleted: "deleted"
label_deleted_custom_field: "(deleted custom field)"
label_deleted_custom_option: "(deleted option)"
+ label_empty_element: "(empty)"
label_missing_or_hidden_custom_option: "(missing value or lacking permissions to access)"
label_descending: "Descending"
label_details: "Details"
@@ -2951,7 +2952,6 @@ en:
start: "from"
timelines:
- empty: "(empty)"
enable_type_in_project: 'Enable type "%{type}"'
properties: "Properties"