[Koha-bugs] [Bug 24734] New: LangInstaller is looking in wrong directory for js files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 26 11:22:37 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24734

            Bug ID: 24734
           Summary: LangInstaller is looking in wrong directory for js
                    files
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pasi.kallinen at koha-suomi.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: frederic at tamil.fr

On all-default-settings Koha install, running translate update fi-FI gives me
this:

Can't stat /usr/share/koha/intranet/cgi-bin/koha-tmpl/intranet-tmpl/prog/js: No
such file or directory
 at /usr/share/koha/misc/translator/LangInstaller.pm line 715.
Can't stat /usr/share/koha/intranet/cgi-bin/koha-tmpl/opac-tmpl/bootstrap/js:
No such file or directory
 at /usr/share/koha/misc/translator/LangInstaller.pm line 715.
/usr/bin/xgettext: no input file given

Looks like LangInstaller.pm is looking in the wrong dir for the javascript
files, @js_dirs is set to

-        "$intranetdir/koha-tmpl/intranet-tmpl/prog/js",
-        "$intranetdir/koha-tmpl/opac-tmpl/bootstrap/js",

when it should be using

+        "$intrahtdocs/prog/js",
+        "$opachtdocs/bootstrap/js",


Compare @js_dirs with @intranet_tt_files and @opac_tt_files in LangInstaller.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list