-
-
Save xmorave2/80243449ff9dd454ea92ac3b1cf02c4b to your computer and use it in GitHub Desktop.
#!/bin/bash | |
cd /usr/share/koha/misc/translator/po | |
rm cs-CZ* | |
wget http://translate.koha-community.org/download/cs/316/cs-CZ-i-opac-t-prog-v-3006000.po | |
wget http://translate.koha-community.org/download/cs/316/cs-CZ-i-staff-t-prog-v-3006000.po | |
wget http://translate.koha-community.org/download/cs/316/cs-CZ-opac-ccsr.po | |
wget http://translate.koha-community.org/download/cs/316/cs-CZ-opac-bootstrap.po | |
wget http://translate.koha-community.org/download/cs/316/cs-CZ-staff-help.po | |
wget http://translate.koha-community.org/download/cs/316/cs-CZ-pref.po | |
koha-translate -u cs-CZ |
Aktualizovaná verze, která obsahuje nová URL a aktuální set potřebných souborů.
Díky
#!/bin/bash
cd /usr/share/koha/misc/translator/po
rm cs-CZ*
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-staff-prog.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-opac-bootstrap.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-messages.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-messages-js.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-marc-MARC21.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-marc-UNIMARC.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-installer.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-installer-MARC21.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-pref.po
koha-translate -u cs-CZ
koha-translate kontroluje existenci UNIMARC souboru, doplnil jsem
#!/bin/bash
cd /usr/share/koha/misc/translator/po
rm cs-CZ*
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-staff-prog.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-opac-bootstrap.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-messages.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-messages-js.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-marc-MARC21.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-installer.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-installer-MARC21.po
wget https://translate.koha-community.org/export/21.11/cs/cs-CZ-pref.po
koha-translate -u cs-CZ