Skip to content
Snippets Groups Projects
Commit 93197055 authored by Marek Wójtowicz's avatar Marek Wójtowicz Committed by Yadd
Browse files

Patch for working with your own zh_TW and pt_BR translations in lemonldapng.ini

parent 44707e69
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ sub init {
my $lang = $1 || 'all';
$self->trOver->{$lang}->{"PE$2"} = $self->localConfig->{$k};
}
elsif ( $k =~ /msg_(?:(\w+?)_)?(\w+)$/ ) {
elsif ( $k =~ /msg_(?:([a-z][a-z](?:_[A-Z][A-Z])?)_)?(\w+)$/ ) {
my $lang = $1 || 'all';
$self->trOver->{$lang}->{$2} = $self->localConfig->{$k};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment