[Bug 13772] New: koha-translate still looks for ccsr and prog OPAC themes
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13772 Bug ID: 13772 Summary: koha-translate still looks for ccsr and prog OPAC themes Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Packaging Assignee: magnus@enger.priv.no Reporter: magnus@enger.priv.no QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz If you run e.g. "koha-translate -u nb-NO" you get some warnings about missing directories: $ sudo koha-translate -u nb-NO /usr/share/koha/opac/htdocs/opac-tmpl/ccsr/en/: Input must be a directory. (Symbolic links are not supported at the moment) Try `/usr/share/koha/misc/translator/tmpl_process3.pl --help for more information. /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/: Input must be a directory. (Symbolic links are not supported at the moment) Try `/usr/share/koha/misc/translator/tmpl_process3.pl --help for more information. This is caused by the following lines in koha-create: rm -rf $KOHA_INSTALL_DIR/opac/htdocs/opac-tmpl/prog/$lang rm -rf $KOHA_INSTALL_DIR/opac/htdocs/opac-tmpl/ccsr/$lang rm -rf $KOHA_INSTALL_DIR/opac/htdocs/opac-tmpl/bootstrap/$lang rm -rf $KOHA_INSTALL_DIR/intranet/htdocs/intranet-tmpl/prog/$lang -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13772 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13772 --- Comment #1 from Magnus Enger <magnus@enger.priv.no> --- Created attachment 36274 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36274&action=edit Bug 13772 - koha-translate still looks for CCSR and prog koha-translate still tries to use the CCSR and prog OPAC themes. To reproduce: - Make sure you have at least one other language than en installed - Try to update the language with "koha-translate -u <langcode>" - Observe warnings similar to this: $ sudo koha-translate -u nb-NO /usr/share/koha/opac/htdocs/opac-tmpl/ccsr/en/: Input must be a directory. (Symbolic links are not supported at the moment) Try `/usr/share/koha/misc/translator/tmpl_process3.pl --help for more information. /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/: Input must be a directory. (Symbolic links are not supported at the moment) Try `/usr/share/koha/misc/translator/tmpl_process3.pl --help for more information. To test: (This is probably easiest to test on a gitified setup) - Apply the patch to your git repo - Copy the modified koha-ranslate to a place where you can use it, e.g.: $ sudo cp debian/scripts/koha-translate /usr/sbin/koha-translate - Run "koha-translate -u <langcode>" again - Observe the lack of warnings -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13772 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |RESOLVED Resolution|--- |INVALID --- Comment #2 from Magnus Enger <magnus@enger.priv.no> --- Hm, the warnings can not be reproduced on different systems. They might be caused by weirdnessess in my setup. Marking as "resolved invalid". -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org