Bug 18901: [QA Follow-up] Do not translate zzpref either
Adding one backslash makes a difference :) We need to escape the dot in the regex to exclude a file like zzpref from translation too. Perfect_regexes++ Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
ec51335e9c
commit
a2c9513b1c
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ sub new {
|
|||
|
||||
# Get all .pref file names
|
||||
opendir my $fh, $self->{path_pref_en};
|
||||
my @pref_files = grep { /.pref$/ } readdir($fh);
|
||||
my @pref_files = grep { /\.pref$/ } readdir($fh);
|
||||
close $fh;
|
||||
$self->{pref_files} = \@pref_files;
|
||||
|
||||
|
|
Loading…
Reference in a new issue