From aadcf8a21fd1c3a4eaf8fb1f682e544c2ee08cd2 Mon Sep 17 00:00:00 2001 From: Nils Kenneweg Date: Mon, 28 Oct 2013 17:52:15 +0100 Subject: [PATCH] localization update planning element->work package also removes some old translations. --- app/assets/javascripts/timelines.js | 2 +- app/views/projects/_types_form.html.erb | 2 +- app/views/timelines/_timeline.html.erb | 2 +- .../_vertical_planning_elements.html.erb | 4 +-- .../filter/_planning_elements.html.erb | 6 ++-- app/views/types/index.html.erb | 2 +- config/locales/de.yml | 30 +++++++------------ config/locales/en.yml | 29 +++++++----------- doc/CHANGELOG.md | 1 + 9 files changed, 30 insertions(+), 48 deletions(-) diff --git a/app/assets/javascripts/timelines.js b/app/assets/javascripts/timelines.js index fcfa092be1..98413dc297 100644 --- a/app/assets/javascripts/timelines.js +++ b/app/assets/javascripts/timelines.js @@ -4082,7 +4082,7 @@ Timeline = { containers[currentContainer++].append( jQuery(icon - .replace(/%t/, timeline.i18n('timelines.new_planning_element')) + .replace(/%t/, timeline.i18n('timelines.new_work_package')) .replace(/%c/, 'icon icon-add') ).click(function(e) { e.stopPropagation(); diff --git a/app/views/projects/_types_form.html.erb b/app/views/projects/_types_form.html.erb index 9d30314b0d..3efa3877f1 100644 --- a/app/views/projects/_types_form.html.erb +++ b/app/views/projects/_types_form.html.erb @@ -18,7 +18,7 @@ @project.types.include?(type), :id => "project_planning_element_type_ids_#{type.id}" %> diff --git a/app/views/timelines/_timeline.html.erb b/app/views/timelines/_timeline.html.erb index eae343a9d7..ebea96bed4 100644 --- a/app/views/timelines/_timeline.html.erb +++ b/app/views/timelines/_timeline.html.erb @@ -70,7 +70,7 @@ See doc/COPYRIGHT.rdoc for more details. 'timelines.zoom.out', 'timelines.zoom.days', 'timelines.zoom.weeks', - 'timelines.new_planning_element', + 'timelines.new_work_package', 'timelines.zoom.months', 'timelines.zoom.quarters', 'timelines.zoom.years'] diff --git a/app/views/timelines/_vertical_planning_elements.html.erb b/app/views/timelines/_vertical_planning_elements.html.erb index c91bf641b5..fb8a055356 100644 --- a/app/views/timelines/_vertical_planning_elements.html.erb +++ b/app/views/timelines/_vertical_planning_elements.html.erb @@ -29,14 +29,14 @@ See doc/COPYRIGHT.rdoc for more details.