},
},
+ greeting => {
+ class => 'Greeting',
+ auth => 'config',
+ titles => {
+ list => t8('Greetings'),
+ add => t8('Add greeting'),
+ edit => t8('Edit greeting'),
+ },
+ },
+
language => {
# Make locales.pl happy: $self->render("simple_system_setting/_language_form")
class => 'Language',
use parent qw(SL::DB::Helper::Manager);
+use SL::DB::Helper::Sorted;
+
sub object_class { 'SL::DB::Greeting' }
__PACKAGE__->make_manager_methods;
+sub _sort_spec {
+ return ( default => [ 'description', 1 ],
+ columns => { SIMPLE => 'ALL',
+ map { ( $_ => "lower(greetings.$_)" ) } qw(description)
+ });
+}
+
1;
'Add department' => 'Abteilung hinzufügen',
'Add empty line (csv_import)' => 'Leere Zeile einfügen',
'Add function block' => 'Funktionsblock hinzufügen',
+ 'Add greeting' => 'Anrede hinzufügen',
'Add headers from last uploaded file (csv_import)' => 'Spalten aus der hochgeladenen Datei einfügen',
'Add invoices' => 'Rechnungen hinzufügen',
'Add language' => 'Sprache hinzufügen',
'Edit department' => 'Abteilung bearbeiten',
'Edit file' => 'Datei bearbeiten',
'Edit general settings' => 'Grundeinstellungen bearbeiten',
+ 'Edit greeting' => 'Anrede bearbeiten',
'Edit greetings' => 'Anreden bearbeiten',
'Edit language' => 'Sprache bearbeiten',
'Edit note' => 'Notiz bearbeiten',
'Add department' => '',
'Add empty line (csv_import)' => '',
'Add function block' => '',
+ 'Add greeting' => '',
'Add headers from last uploaded file (csv_import)' => '',
'Add invoices' => '',
'Add language' => '',
'Edit department' => '',
'Edit file' => '',
'Edit general settings' => '',
+ 'Edit greeting' => '',
'Edit greetings' => '',
'Edit language' => '',
'Edit note' => '',