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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to