X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=locale%2Fde%2Flocales.pl;h=7a73120e82e727da35a315f17c33adb2cf86cedd;hb=9c3fc229e43f79220c05500fcb9da805eb881688;hp=36d0e4785dc67c3f785693f1a44a8ebf88a62344;hpb=6231ae0a8eccf1dd836fce3ca20ce52c3bb34ff3;p=kivitendo-erp.git 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 = "";