From 9c3fc229e43f79220c05500fcb9da805eb881688 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 4 Dec 2006 16:57:56 +0000 Subject: [PATCH] Instanzen der Klasse Locale haben leider die package-globale Variable %self anstelle der Instanzvariablen $self benutzt, um die Uebersetzungen und Funktionslisten zu speichern. Das fuehrte dazu, dass mehrere aufeinanderfolgende Aufrufe von Locale->new() die vorher geladenen Uebersetzungen verworfen haben. --- SL/Form.pm | 14 +++++++++----- locale/de/Pg-upgrade-2.2.0.25-2.2.0.26 | 4 ++-- locale/de/Pg-upgrade-2.2.0.27-2.2.0.28 | 4 ++-- locale/de/Pg-upgrade-2.2.0.28-2.2.0.29 | 4 ++-- locale/de/admin | 4 ++-- locale/de/all | 2 +- locale/de/am | 4 ++-- locale/de/ap | 4 ++-- locale/de/ar | 4 ++-- locale/de/arap | 4 ++-- locale/de/bp | 4 ++-- locale/de/ca | 4 ++-- locale/de/cn | 4 ++-- locale/de/common | 4 ++-- locale/de/cp | 4 ++-- locale/de/ct | 4 ++-- locale/de/datev | 4 ++-- locale/de/dn | 4 ++-- locale/de/fa | 4 ++-- locale/de/gl | 4 ++-- locale/de/ic | 4 ++-- locale/de/io | 4 ++-- locale/de/ir | 4 ++-- locale/de/is | 4 ++-- locale/de/kopf | 4 ++-- locale/de/licenses | 4 ++-- locale/de/locales.pl | 20 ++++++++++---------- locale/de/login | 4 ++-- locale/de/menu | 4 ++-- locale/de/menunew | 4 ++-- locale/de/oe | 4 ++-- locale/de/pe | 4 ++-- locale/de/rc | 4 ++-- locale/de/rp | 4 ++-- locale/de/ustva | 4 ++-- 35 files changed, 84 insertions(+), 80 deletions(-) diff --git a/SL/Form.pm b/SL/Form.pm index 3354a2f1b..3b683f4f4 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -2300,10 +2300,14 @@ sub new { my ($type, $country, $NLS_file) = @_; my $self = {}; - %self = (); if ($country && -d "locale/$country") { + local *IN; $self->{countrycode} = $country; - eval { require "locale/$country/$NLS_file"; }; + if (open(IN, "locale/$country/$NLS_file")) { + my $code = join("", ); + eval($code); + close(IN); + } } $self->{NLS_file} = $NLS_file; @@ -2323,7 +2327,7 @@ sub new { sub text { my ($self, $text) = @_; - return (exists $self{texts}{$text}) ? $self{texts}{$text} : $text; + return (exists $self->{texts}{$text}) ? $self->{texts}{$text} : $text; } sub findsub { @@ -2331,8 +2335,8 @@ sub findsub { my ($self, $text) = @_; - if (exists $self{subs}{$text}) { - $text = $self{subs}{$text}; + if (exists $self->{subs}{$text}) { + $text = $self->{subs}{$text}; } else { if ($self->{countrycode} && $self->{NLS_file}) { Form->error( diff --git a/locale/de/Pg-upgrade-2.2.0.25-2.2.0.26 b/locale/de/Pg-upgrade-2.2.0.25-2.2.0.26 index 71899dc6f..1a79fbdd3 100644 --- a/locale/de/Pg-upgrade-2.2.0.25-2.2.0.26 +++ b/locale/de/Pg-upgrade-2.2.0.25-2.2.0.26 @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'A unit with this name does already exist.' => 'Eine Einheit mit diesem Namen existiert bereits.', 'Database update error:' => 'Fehler beim Datenbankupgrade:', 'The base unit does not exist.' => 'Die Basiseinheit existiert nicht.', @@ -7,7 +7,7 @@ $self{texts} = { 'The unit has been saved.' => 'Die Einheit wurde gespeichert.', }; -$self{subs} = { +$self->{subs} = { 'mydberror' => 'mydberror', 'myshowerror' => 'myshowerror', 'update_units' => 'update_units', diff --git a/locale/de/Pg-upgrade-2.2.0.27-2.2.0.28 b/locale/de/Pg-upgrade-2.2.0.27-2.2.0.28 index 2b678236c..39314f88f 100644 --- a/locale/de/Pg-upgrade-2.2.0.27-2.2.0.28 +++ b/locale/de/Pg-upgrade-2.2.0.27-2.2.0.28 @@ -1,8 +1,8 @@ -$self{texts} = { +$self->{texts} = { 'Database update error:' => 'Fehler beim Datenbankupgrade:', }; -$self{subs} = { +$self->{subs} = { 'look_for_accno' => 'look_for_accno', 'mydberror' => 'mydberror', 'myshowerror' => 'myshowerror', diff --git a/locale/de/Pg-upgrade-2.2.0.28-2.2.0.29 b/locale/de/Pg-upgrade-2.2.0.28-2.2.0.29 index 0d2074d8c..5ac889815 100644 --- a/locale/de/Pg-upgrade-2.2.0.28-2.2.0.29 +++ b/locale/de/Pg-upgrade-2.2.0.28-2.2.0.29 @@ -1,8 +1,8 @@ -$self{texts} = { +$self->{texts} = { 'Database update error:' => 'Fehler beim Datenbankupgrade:', }; -$self{subs} = { +$self->{subs} = { 'create_standard_buchungsgruppen' => 'create_standard_buchungsgruppen', 'create_standard_buchungsgruppen_skr03' => 'create_standard_buchungsgruppen_skr03', 'create_standard_buchungsgruppen_skr04' => 'create_standard_buchungsgruppen_skr04', diff --git a/locale/de/admin b/locale/de/admin index c8163f56c..0ebbd1755 100644 --- a/locale/de/admin +++ b/locale/de/admin @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'Access Control' => 'Zugriffkontrolle', 'Add User' => 'Benutzer erfassen', 'Address' => 'Adresse', @@ -95,7 +95,7 @@ $self{texts} = { 'website' => 'Webseite', }; -$self{subs} = { +$self->{subs} = { 'add_user' => 'add_user', 'adminlogin' => 'adminlogin', 'change_admin_password' => 'change_admin_password', diff --git a/locale/de/all b/locale/de/all index 7a8e8e118..230e05b67 100644 --- a/locale/de/all +++ b/locale/de/all @@ -3,7 +3,7 @@ # you can add the translation in this file or in the 'missing' file # run locales.pl from this directory to rebuild the translation files -$self{texts} = { +$self->{texts} = { ' Date missing!' => ' Datum fehlt!', ' Number' => ' Nummer', ' Part Number missing!' => ' Artikelnummer fehlt!', diff --git a/locale/de/am b/locale/de/am index 5512907c9..894bc0d4b 100644 --- a/locale/de/am +++ b/locale/de/am @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { '1000,00 or 1000.00' => '1000,00 oder 1000.00', 'A unit with this name does already exist.' => 'Eine Einheit mit diesem Namen existiert bereits.', 'AP' => 'Einkauf', @@ -251,7 +251,7 @@ $self{texts} = { 'service units' => 'Dienstleistungseinheiten', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'account_header' => 'account_header', 'add' => 'add', diff --git a/locale/de/ap b/locale/de/ap index 9390dbf0d..8d3bc6366 100644 --- a/locale/de/ap +++ b/locale/de/ap @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'AP Transaction' => 'Kreditorenbuchung', 'AP Transactions' => 'Kreditorenbuchungen', 'Account' => 'Konto', @@ -97,7 +97,7 @@ $self{texts} = { 'button' => '?', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'add_transaction' => 'add_transaction', diff --git a/locale/de/ar b/locale/de/ar index f5fa45af9..ad32f795d 100644 --- a/locale/de/ar +++ b/locale/de/ar @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'AR Transaction' => 'Debitorenbuchung', 'AR Transactions' => 'Debitorenbuchungen', 'Account' => 'Konto', @@ -99,7 +99,7 @@ $self{texts} = { 'button' => '?', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'add_transaction' => 'add_transaction', diff --git a/locale/de/arap b/locale/de/arap index 7070ce144..af375c4e8 100644 --- a/locale/de/arap +++ b/locale/de/arap @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'Address' => 'Adresse', 'Continue' => 'Weiter', 'Customer not on file!' => 'Kunde ist nicht in der Datenbank!', @@ -10,7 +10,7 @@ $self{texts} = { 'Vendor not on file!' => 'Lieferant ist nicht in der Datenbank!', }; -$self{subs} = { +$self->{subs} = { 'add_transaction' => 'add_transaction', 'ap_transaction' => 'ap_transaction', 'ar_transaction' => 'ar_transaction', diff --git a/locale/de/bp b/locale/de/bp index de4888fae..ce2184441 100644 --- a/locale/de/bp +++ b/locale/de/bp @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'Account' => 'Konto', 'Accounting Menu' => 'Kontoverwaltung', 'Are you sure you want to remove the marked entries from the queue?' => 'Sind Sie sicher, dass die markierten Einträge von der Warteschlange gelöscht werden sollen?', @@ -39,7 +39,7 @@ $self{texts} = { 'done' => 'erledigt', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'continue' => 'continue', 'display' => 'display', diff --git a/locale/de/ca b/locale/de/ca index e0482e037..08ef37a48 100644 --- a/locale/de/ca +++ b/locale/de/ca @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'Account' => 'Konto', 'Apr' => 'Apr', 'April' => 'April', @@ -41,7 +41,7 @@ $self{texts} = { 'To' => 'An', }; -$self{subs} = { +$self->{subs} = { 'ca_subtotal' => 'ca_subtotal', 'chart_of_accounts' => 'chart_of_accounts', 'list' => 'list', diff --git a/locale/de/cn b/locale/de/cn index ceb2b2ce9..9470f5bc7 100644 --- a/locale/de/cn +++ b/locale/de/cn @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { ' Date missing!' => ' Datum fehlt!', '*/' => '*/', 'Account' => 'Konto', @@ -183,7 +183,7 @@ $self{texts} = { 'sent to printer' => 'an Drucker geschickt', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'add_transaction' => 'add_transaction', diff --git a/locale/de/common b/locale/de/common index f485084ad..075f99918 100644 --- a/locale/de/common +++ b/locale/de/common @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'Address' => 'Adresse', 'Customer Number' => 'Kundennummer', 'Enter longdescription' => 'Langtext eingeben', @@ -22,7 +22,7 @@ $self{texts} = { 'Variable' => 'Variable', }; -$self{subs} = { +$self->{subs} = { 'calculate_qty' => 'calculate_qty', 'delivery_customer_selection' => 'delivery_customer_selection', 'employee_selection_internal' => 'employee_selection_internal', diff --git a/locale/de/cp b/locale/de/cp index 12c846042..9ad4d0476 100644 --- a/locale/de/cp +++ b/locale/de/cp @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'AP' => 'Einkauf', 'AR' => 'Verkauf', 'Account' => 'Konto', @@ -49,7 +49,7 @@ $self{texts} = { 'button' => '?', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add_transaction' => 'add_transaction', 'ap_transaction' => 'ap_transaction', diff --git a/locale/de/ct b/locale/de/ct index a840ec8ff..b6909c914 100644 --- a/locale/de/ct +++ b/locale/de/ct @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { ' Number' => ' Nummer', 'Abteilung' => 'Abteilung', 'Account Number' => 'Kontonummer', @@ -112,7 +112,7 @@ $self{texts} = { 's' => 's', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'add_transaction' => 'add_transaction', diff --git a/locale/de/datev b/locale/de/datev index c701b97ed..699f5b327 100644 --- a/locale/de/datev +++ b/locale/de/datev @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'Abrechnungsnummer' => 'Abrechnungsnummer', 'April' => 'April', 'August' => 'August', @@ -40,7 +40,7 @@ $self{texts} = { 'bis' => 'bis', }; -$self{subs} = { +$self->{subs} = { 'continue' => 'continue', 'export' => 'export', 'export2' => 'export2', diff --git a/locale/de/dn b/locale/de/dn index 3f6be92dc..96738b8d1 100644 --- a/locale/de/dn +++ b/locale/de/dn @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { ' Date missing!' => ' Datum fehlt!', '*/' => '*/', 'Accounting Menu' => 'Kontoverwaltung', @@ -174,7 +174,7 @@ gestartet', 'sent to printer' => 'an Drucker geschickt', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'add_transaction' => 'add_transaction', diff --git a/locale/de/fa b/locale/de/fa index 203a8ca1a..da41edac3 100644 --- a/locale/de/fa +++ b/locale/de/fa @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'Address' => 'Adresse', 'Angaben zum Finanzamt' => 'Angaben zum Finanzamt', 'Bankleitzahl (BLZ)' => 'Bankleitzahl (BLZ)', @@ -46,7 +46,7 @@ $self{texts} = { 'Öffnungszeiten' => 'Öffnungszeiten', }; -$self{subs} = { +$self->{subs} = { 'add_transaction' => 'add_transaction', 'ap_transaction' => 'ap_transaction', 'ar_transaction' => 'ar_transaction', diff --git a/locale/de/gl b/locale/de/gl index 119853667..77567e963 100644 --- a/locale/de/gl +++ b/locale/de/gl @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'AP Transaction' => 'Kreditorenbuchung', 'AR Transaction' => 'Debitorenbuchung', 'Account' => 'Konto', @@ -100,7 +100,7 @@ $self{texts} = { 'button' => '?', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'add_transaction' => 'add_transaction', diff --git a/locale/de/ic b/locale/de/ic index e971f0710..a5d26cd51 100644 --- a/locale/de/ic +++ b/locale/de/ic @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { ' Date missing!' => ' Datum fehlt!', ' Part Number missing!' => ' Artikelnummer fehlt!', '*/' => '*/', @@ -222,7 +222,7 @@ aktualisieren wollen?', 'soldtotal' => 'Verkaufte Anzahl', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'addtop100' => 'addtop100', diff --git a/locale/de/io b/locale/de/io index bd29e21b0..35a95f784 100644 --- a/locale/de/io +++ b/locale/de/io @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { ' Date missing!' => ' Datum fehlt!', '*/' => '*/', 'Add Purchase Order' => 'Lieferantenauftrag erfassen', @@ -117,7 +117,7 @@ $self{texts} = { 'sent to printer' => 'an Drucker geschickt', }; -$self{subs} = { +$self->{subs} = { 'check_form' => 'check_form', 'customer_details' => 'customer_details', 'display_form' => 'display_form', diff --git a/locale/de/ir b/locale/de/ir index ddd41d4e2..e13808ae5 100644 --- a/locale/de/ir +++ b/locale/de/ir @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { ' Date missing!' => ' Datum fehlt!', ' Payment posted!' => 'Zahlung gebucht!', '*/' => '*/', @@ -173,7 +173,7 @@ $self{texts} = { 'sent to printer' => 'an Drucker geschickt', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'add_transaction' => 'add_transaction', diff --git a/locale/de/is b/locale/de/is index 7d331e2cf..00d832ed3 100644 --- a/locale/de/is +++ b/locale/de/is @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { ' Date missing!' => ' Datum fehlt!', ' Payment posted!' => 'Zahlung gebucht!', '*/' => '*/', @@ -198,7 +198,7 @@ $self{texts} = { 'sent to printer' => 'an Drucker geschickt', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'add_transaction' => 'add_transaction', diff --git a/locale/de/kopf b/locale/de/kopf index 894334b9b..41715d9b4 100644 --- a/locale/de/kopf +++ b/locale/de/kopf @@ -1,8 +1,8 @@ -$self{texts} = { +$self->{texts} = { 'Logout' => 'Abmeldung', }; -$self{subs} = { +$self->{subs} = { }; 1; diff --git a/locale/de/licenses b/locale/de/licenses index 95189e27b..17ce5eeb0 100644 --- a/locale/de/licenses +++ b/locale/de/licenses @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'Add' => 'Erfassen', 'Add License' => 'Lizenz erfassen', 'All' => 'Alle', @@ -32,7 +32,7 @@ $self{texts} = { 'Zipcode' => 'PLZ', }; -$self{subs} = { +$self->{subs} = { 'add' => 'add', 'continue' => 'continue', 'details' => 'details', diff --git a/locale/de/locales.pl b/locale/de/locales.pl index 36d0e4785..7a73120e8 100755 --- a/locale/de/locales.pl +++ b/locale/de/locales.pl @@ -99,20 +99,20 @@ sub handle_file { foreach $text (keys %$missing) { if ($locale{$text} || $htmllocale{$text}) { - unless ($self{texts}{$text}) { - $self{texts}{$text} = $missing->{$text}; + unless ($self->{texts}{$text}) { + $self->{texts}{$text} = $missing->{$text}; } } } open FH, ">$file" or die "$! : $file"; - print FH q|$self{texts} = { + print FH q|$self->{texts} = { |; foreach $key (sort keys %locale) { - if ($self{texts}{$key}) { - $text = $self{texts}{$key}; + if ($self->{texts}{$key}) { + $text = $self->{texts}{$key}; } else { $text = $key; } @@ -130,7 +130,7 @@ sub handle_file { print FH q|}; -$self{subs} = { +$self->{subs} = { |; foreach $key (sort keys %subrt) { @@ -141,7 +141,7 @@ $self{subs} = { } foreach $key (sort keys %submit) { - $text = ($self{texts}{$key}) ? $self{texts}{$key} : $key; + $text = ($self->{texts}{$key}) ? $self->{texts}{$key} : $key; $text =~ s/'/\\'/g; $text =~ s/\\$/\\\\/; @@ -180,11 +180,11 @@ print FH q|# These are all the texts to build the translations files. # you can add the translation in this file or in the 'missing' file # run locales.pl from this directory to rebuild the translation files -$self{texts} = { +$self->{texts} = { |; foreach $key (sort keys %alllocales) { - $text = $self{texts}{$key}; + $text = $self->{texts}{$key}; $count++; @@ -551,7 +551,7 @@ sub converthtmlfile { $copying = 0; $alllocales{$text} = 1; $htmllocale{$text} = 1; - print(OUT $self{"texts"}{$text} || $text); + print(OUT $self->{"texts"}{$text} || $text); print(OUT "\n") if ("" eq $line); $text = ""; diff --git a/locale/de/login b/locale/de/login index 53a5955f9..4eb2c7953 100644 --- a/locale/de/login +++ b/locale/de/login @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'About' => 'über', 'Database Host' => 'Datenbankcomputer', 'Dataset' => 'Datenbank', @@ -15,7 +15,7 @@ $self{texts} = { 'localhost' => 'lokaler Rechner', }; -$self{subs} = { +$self->{subs} = { 'company_logo' => 'company_logo', 'login' => 'login', 'login_screen' => 'login_screen', diff --git a/locale/de/menu b/locale/de/menu index 0132e3204..4f164a835 100644 --- a/locale/de/menu +++ b/locale/de/menu @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'AP' => 'Einkauf', 'AP Aging' => 'Offene Verbindlichkeiten', 'AR' => 'Verkauf', @@ -120,7 +120,7 @@ $self{texts} = { 'Version' => 'Version', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'display' => 'display', 'section_menu' => 'section_menu', diff --git a/locale/de/menunew b/locale/de/menunew index fb2a34467..b31368fd9 100644 --- a/locale/de/menunew +++ b/locale/de/menunew @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'AP' => 'Einkauf', 'AP Aging' => 'Offene Verbindlichkeiten', 'AR' => 'Verkauf', @@ -119,7 +119,7 @@ $self{texts} = { 'Version' => 'Version', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'clock_line' => 'clock_line', 'display' => 'display', diff --git a/locale/de/oe b/locale/de/oe index 3139fc9ee..124ad0508 100644 --- a/locale/de/oe +++ b/locale/de/oe @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { ' Date missing!' => ' Datum fehlt!', ' missing!' => ' fehlt!', '*/' => '*/', @@ -236,7 +236,7 @@ $self{texts} = { 'sent to printer' => 'an Drucker geschickt', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'add_transaction' => 'add_transaction', diff --git a/locale/de/pe b/locale/de/pe index d1544d1ad..8728d9e7f 100644 --- a/locale/de/pe +++ b/locale/de/pe @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'Accounting Menu' => 'Kontoverwaltung', 'Add' => 'Erfassen', 'Add Group' => 'Warengruppe erfassen', @@ -31,7 +31,7 @@ $self{texts} = { 'Save' => 'Speichern', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add' => 'add', 'continue' => 'continue', diff --git a/locale/de/rc b/locale/de/rc index 1f6f6597c..9aa0a617d 100644 --- a/locale/de/rc +++ b/locale/de/rc @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'Account' => 'Konto', 'Accounting Menu' => 'Kontoverwaltung', 'Balance' => 'Bilanz', @@ -23,7 +23,7 @@ $self{texts} = { 'Update' => 'Erneuern', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'continue' => 'continue', 'display' => 'display', diff --git a/locale/de/rp b/locale/de/rp index 4eb07d929..9030222db 100644 --- a/locale/de/rp +++ b/locale/de/rp @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { 'AP Aging' => 'Offene Verbindlichkeiten', 'AR Aging' => 'Offene Forderungen', 'Account' => 'Konto', @@ -122,7 +122,7 @@ $self{texts} = { 'winston_export' => 'Winston-Export', }; -$self{subs} = { +$self->{subs} = { 'acc_menu' => 'acc_menu', 'add_transaction' => 'add_transaction', 'aging' => 'aging', diff --git a/locale/de/ustva b/locale/de/ustva index ea3bfb84a..dff6c30f4 100644 --- a/locale/de/ustva +++ b/locale/de/ustva @@ -1,4 +1,4 @@ -$self{texts} = { +$self->{texts} = { '1. Quarter' => '1. Quartal', '2. Quarter' => '2. Quartal', '3. Quarter' => '3. Quartal', @@ -116,7 +116,7 @@ $self{texts} = { 'Öffnungszeiten' => 'Öffnungszeiten', }; -$self{subs} = { +$self->{subs} = { 'add_transaction' => 'add_transaction', 'ap_transaction' => 'ap_transaction', 'ar_transaction' => 'ar_transaction', -- 2.20.1