Bug 7939: (QA followup) make the koha-translate script test the new filenames
authorTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 30 Apr 2015 14:37:20 +0000 (11:37 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 30 Apr 2015 14:37:26 +0000 (11:37 -0300)
The debian/scripts/koha-translate script was still testing for the old naming
schema files. I also made sure all files are tested, to warn the user if
any of them is absent.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
debian/scripts/koha-translate

index 0d978a3..23c51df 100755 (executable)
@@ -169,8 +169,13 @@ check_lang_po_files()
 {
     lang=$1
 
-    po_files="$PO_DIR/$lang-opac-bootstrap.po
-              $PO_DIR/$lang-pref.po"
+    po_files="$PO_DIR/$lang-marc-MARC21.po
+              $PO_DIR/$lang-marc-NORMARC.po
+              $PO_DIR/$lang-marc-UNIMARC.po
+              $PO_DIR/$lang-opac-bootstrap.po
+              $PO_DIR/$lang-pref.po
+              $PO_DIR/$lang-staff-help.po
+              $PO_DIR/$lang-staff-prog.po"
 
     if [ "$lang" != "" ]; then