From 4073020a0b457a9826773a13ab1ba10f295e5ee9 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Thu, 6 Apr 2017 10:05:38 +0200 Subject: [PATCH] Bug 15395: Exclude xslt from the list of themes when building locale_data.js --- misc/translator/LangInstaller.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm index 8e3de6820d..55e477b185 100644 --- a/misc/translator/LangInstaller.pm +++ b/misc/translator/LangInstaller.pm @@ -683,7 +683,7 @@ sub install_messages { my $opachtdocs = $self->{context}->config('opachtdocs'); opendir(my $dh, $opachtdocs); - for my $theme ( grep { not /^\.|lib/ } readdir($dh) ) { + for my $theme ( grep { not /^\.|lib|xslt/ } readdir($dh) ) { mkdir "$opachtdocs/$theme/$self->{lang}/js"; open my $fh, '>', "$opachtdocs/$theme/$self->{lang}/js/locale_data.js"; print $fh $js_locale_data; -- 2.11.0