From a4551dbafb54620a87faedac6b0970ca9cb78979 Mon Sep 17 00:00:00 2001 From: Sven Donath Date: Wed, 1 Sep 2010 12:00:27 +0200 Subject: [PATCH] Lokalisierung etwas repariert. In ic.pl Trick angewandt, da sonst ein 'Add ' oder 'Edit ', lokalisiert wurde. 'Add' und 'Edit' gibt es bereits ohne Leerzeichen, das reicht ja auch. --- bin/mozilla/ic.pl | 6 ++++-- locale/de/all | 1 - locale/en/all | 1 - templates/webpages/ct/form_header.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 75ee0d572..4b09b5ac8 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -78,7 +78,8 @@ sub add { $auth->assert('part_service_assembly_edit'); - $form->{title} = $locale->text('Add'. ' ' . ucfirst $form->{item}); + my $title = 'Add ' . ucfirst $form->{item}; + $form->{title} = $locale->text($title); $form->{callback} = "$form->{script}?action=add&item=$form->{item}" unless $form->{callback}; $form->{unit_changeable} = 1; @@ -1419,7 +1420,8 @@ sub edit { $form->{"original_partnumber"} = $form->{"partnumber"}; - $form->{title} = $locale->text('Edit' . ' ' . ucfirst $form->{item}); + my $title = 'Edit ' . ucfirst $form->{item}; + $form->{title} = $locale->text($title); &link_part; &display_form; diff --git a/locale/de/all b/locale/de/all index 1731043b9..2c37213d0 100644 --- a/locale/de/all +++ b/locale/de/all @@ -178,7 +178,6 @@ $self->{texts} = { 'Amount Due' => 'Betrag fällig', 'Annotations' => 'Anmerkungen', 'Another user with the login #1 does already exist.' => 'Es existiert bereits ein anderer Benutzer mit diesem Login.', - 'Ansprechpartner' => 'Ansprechpartner', 'Ap aging on %s' => 'Offene Verbindlichkeiten zum %s', 'Application Error. No Format given' => 'Fehler in der Anwendung. Das Ausgabeformat fehlt.', 'Application Error. Wrong Format' => 'Fehler in der Anwendung. Falsches Format: ', diff --git a/locale/en/all b/locale/en/all index b983dc8a5..d1c54e36c 100644 --- a/locale/en/all +++ b/locale/en/all @@ -178,7 +178,6 @@ $self->{texts} = { 'Amount Due' => '', 'Annotations' => '', 'Another user with the login #1 does already exist.' => '', - 'Ansprechpartner' => '', 'Ap aging on %s' => '', 'Application Error. No Format given' => '', 'Application Error. Wrong Format' => '', diff --git a/templates/webpages/ct/form_header.html b/templates/webpages/ct/form_header.html index 4e9c40801..79d8d258f 100644 --- a/templates/webpages/ct/form_header.html +++ b/templates/webpages/ct/form_header.html @@ -374,7 +374,7 @@ - +
[% 'Ansprechpartner' | $T8 %][% 'Contacts' | $T8 %] [%- INCLUDE generic/multibox.html name = 'cp_id', -- 2.20.1