From 3e52fa98a814c30ab8a94018d6e68fafa4c2259c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 6 Sep 2012 11:05:21 +0200 Subject: [PATCH] =?utf8?q?Spaltentitel=20bei=20Sorted-Helper-Nutzern=20via?= =?utf8?q?=20t8()=20=C3=BCbersetzbar=20gemacht?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/BackgroundJob.pm | 13 +++++++------ SL/Controller/BackgroundJobHistory.pm | 11 ++++++----- SL/Controller/DeliveryPlan.pm | 15 ++++++++------- locale/de/all | 2 ++ 4 files changed, 23 insertions(+), 18 deletions(-) diff --git a/SL/Controller/BackgroundJob.pm b/SL/Controller/BackgroundJob.pm index bddb30812..7729dafe1 100644 --- a/SL/Controller/BackgroundJob.pm +++ b/SL/Controller/BackgroundJob.pm @@ -9,6 +9,7 @@ use SL::Controller::Helper::Paginated; use SL::Controller::Helper::Sorted; use SL::DB::BackgroundJob; use SL::Helper::Flash; +use SL::Locale::String; use SL::System::TaskServer; use Rose::Object::MakeMethods::Generic @@ -26,12 +27,12 @@ __PACKAGE__->make_paginated(ONLY => [ qw(list) ]); __PACKAGE__->make_sorted( ONLY => [ qw(list) ], - package_name => 'Package name', - type => 'Execution type', - active => 'Active', - cron_spec => 'Execution schedule', - last_run_at => 'Last run at', - next_run_at => 'Next run at', + package_name => t8('Package name'), + type => t8('Execution type'), + active => t8('Active'), + cron_spec => t8('Execution schedule'), + last_run_at => t8('Last run at'), + next_run_at => t8('Next run at'), ); # diff --git a/SL/Controller/BackgroundJobHistory.pm b/SL/Controller/BackgroundJobHistory.pm index 3e1110699..fbee5c028 100644 --- a/SL/Controller/BackgroundJobHistory.pm +++ b/SL/Controller/BackgroundJobHistory.pm @@ -9,6 +9,7 @@ use SL::Controller::Helper::Paginated; use SL::Controller::Helper::Sorted; use SL::DB::BackgroundJobHistory; use SL::Helper::Flash; +use SL::Locale::String; use SL::System::TaskServer; use Rose::Object::MakeMethods::Generic @@ -26,11 +27,11 @@ __PACKAGE__->make_paginated(ONLY => [ qw(list) ]); __PACKAGE__->make_sorted( ONLY => [ qw(list) ], - package_name => 'Package name', - run_at => 'Run at', - status => 'Execution status', - result => 'Result', - error => 'Error', + package_name => t8('Package name'), + run_at => t8('Run at'), + status => t8('Execution status'), + result => t8('Result'), + error => t8('Error'), ); # diff --git a/SL/Controller/DeliveryPlan.pm b/SL/Controller/DeliveryPlan.pm index 642db34e5..5ce462b40 100644 --- a/SL/Controller/DeliveryPlan.pm +++ b/SL/Controller/DeliveryPlan.pm @@ -10,6 +10,7 @@ use SL::Controller::Helper::Paginated; use SL::Controller::Helper::Sorted; use SL::Controller::Helper::ParseFilter; use SL::Controller::Helper::ReportGenerator; +use SL::Locale::String; use Rose::Object::MakeMethods::Generic ( scalar => [ qw(db_args flat_filter) ], @@ -31,13 +32,13 @@ __PACKAGE__->make_sorted( DEFAULT_BY => 'reqdate', DEFAULT_DIR => 1, - reqdate => 'Reqdate', - description => 'Description', - partnumber => 'Part Number', - qty => 'Qty', - shipped_qty => 'shipped', - ordnumber => 'Order', - customer => 'Customer', + reqdate => t8('Reqdate'), + description => t8('Description'), + partnumber => t8('Part Number'), + qty => t8('Qty'), + shipped_qty => t8('shipped'), + ordnumber => t8('Order'), + customer => t8('Customer'), ); sub action_list { diff --git a/locale/de/all b/locale/de/all index 0314c49c0..59f1a23cf 100644 --- a/locale/de/all +++ b/locale/de/all @@ -1081,6 +1081,7 @@ $self->{texts} = { 'Last Transaction' => 'Letzte Buchung', 'Last Vendor Number' => 'Letzte Lieferantennummer', 'Last command output' => 'Ausgabe des letzten Befehls', + 'Last run at' => 'Letzte Ausführung um', 'Lastcost (with X being a number)' => 'Einkaufspreis (X ist eine fortlaufende Zahl)', 'Lead' => 'Kundenquelle', 'Leave host and port field empty unless you want to make a remote connection.' => 'Für lokale Verbindungen "Rechner" und "Port" freilassen.', @@ -1212,6 +1213,7 @@ $self->{texts} = { 'New vendor' => 'Neuer Lieferant', 'New window/tab' => 'Neues Fenster/Tab', 'Next Dunning Level' => 'Nächste Mahnstufe', + 'Next run at' => 'Nächste Ausführung um', 'No' => 'Nein', 'No %s was found matching the search parameters.' => 'Es wurde kein %s gefunden, auf den die Suchparameter zutreffen.', 'No Company Address given' => 'Keine Firmenadresse hinterlegt!', -- 2.20.1