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

Move I18n strings from 'js-en.yml'

Alexander Brandon Coles46c7a9936ed1
diff --git a/app/components/projects/template_select_component.html.erb b/app/components/projects/template_select_component.html.erb
index b7b3d033e9f..9e91a844827 100644
--- a/app/components/projects/template_select_component.html.erb
+++ b/app/components/projects/template_select_component.html.erb
@@ -52,12 +52,12 @@ See COPYRIGHT and LICENSE files for more details.
render_inline_form(f) do |form|
form.project_autocompleter(
name: :template_id,
- label: I18n.t("js.project.use_template"),
+ label: I18n.t("create_project.template_label"),
autocomplete_options: {
focusDirectly: false,
dropdownPosition: "bottom",
inputValue: template_id_value,
- placeholder: I18n.t("js.project.no_template_selected"),
+ placeholder: I18n.t("label_none_parentheses"),
filters: [
{ name: "user_action", operator: "=", values: ["projects/copy"] },
{ name: "templated", operator: "=", values: ["t"] }
diff --git a/config/locales/en.yml b/config/locales/en.yml
index a0a25f3708b..39c393132a0 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2048,6 +2048,7 @@ en:
dependencies_label: 'Copy from project'
create_project:
+ template_label: "Use template"
copy_options:
dependencies_label: 'Copy from template'
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index 2ae744d40b3..46f77f42d70 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -720,11 +720,9 @@ en:
copy:
copy_options: "Copy options"
not_available: "Project N/A"
- no_template_selected: "(None)"
required_outside_context: >
Please choose a project to create the work package in to see all attributes.
You can only select projects which have the type above activated.
- use_template: "Use template"
reminders:
settings: