Bugzilla – Attachment 36274 Details for
Bug 13772
koha-translate still looks for ccsr and prog OPAC themes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13772 - koha-translate still looks for CCSR and prog
Bug-13772---koha-translate-still-looks-for-CCSR-an.patch (text/plain), 1.87 KB, created by
Magnus Enger
on 2015-03-02 10:59:10 UTC
(
hide
)
Description:
Bug 13772 - koha-translate still looks for CCSR and prog
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2015-03-02 10:59:10 UTC
Size:
1.87 KB
patch
obsolete
>From ab8eda59e025be6a3e19ecde9fae237a48402226 Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@enger.priv.no> >Date: Mon, 2 Mar 2015 11:45:25 +0100 >Subject: [PATCH] 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 >--- > debian/scripts/koha-translate | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/debian/scripts/koha-translate b/debian/scripts/koha-translate >index 0d978a3..3504009 100755 >--- a/debian/scripts/koha-translate >+++ b/debian/scripts/koha-translate >@@ -153,8 +153,6 @@ remove_lang() > fi > > if print_installed | grep -q $lang; then >- 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 > else >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13772
: 36274