ee4e4917eb
This causes a question to be asked at installation time as to whether translations should be updated or not. The answer is written to the config file, and stored in debconf. Effort is taken to ensure that if the admin changes the config file, the update will be picked up and reflected in debconf (i.e. that the admin's decision is always the correct one.) Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Fixed two typos that made it fail and it worked like a charm. Tested like this: - Install the package => no errors, the file is created, defaults to 'yes' - Install a language (koha-translate --install es-ES) - Re-install the package (simulating an upgrade) => es-ES gets updated - Set preference to 'no' - Re-install => es-ES doesn't get updated, the warning is printed correctly - Installed a second language (koha-translate --install pt-BR) - did all the tests again => Success Note: on master there are obvious template translation warnings. A copy of the generated package can be grabbed from: http://es.koha-community.org/koha-common_3.15+20140312172225.af7c0a23_all.deb Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> |
||
---|---|---|
.. | ||
apache-shared-disable.conf | ||
apache-shared-intranet.conf | ||
apache-shared-opac.conf | ||
apache-shared.conf | ||
apache-site.conf.in | ||
koha-common.conf | ||
koha-conf-site.xml.in | ||
koha-sites.conf | ||
marc21-retrieval-info-auth-dom.xml | ||
marc21-retrieval-info-auth-grs1.xml | ||
marc21-retrieval-info-bib-dom.xml | ||
marc21-retrieval-info-bib-grs1.xml | ||
normarc-retrieval-info-auth-dom.xml | ||
normarc-retrieval-info-auth-grs1.xml | ||
normarc-retrieval-info-bib-dom.xml | ||
normarc-retrieval-info-bib-grs1.xml | ||
SIPconfig.xml | ||
unimarc-retrieval-info-auth-dom.xml | ||
unimarc-retrieval-info-auth-grs1.xml | ||
unimarc-retrieval-info-bib-dom.xml | ||
unimarc-retrieval-info-bib-grs1.xml | ||
zebra-authorities-dom-site.cfg.in | ||
zebra-authorities-site.cfg.in | ||
zebra-biblios-dom-site.cfg.in | ||
zebra-biblios-site.cfg.in | ||
zebra.passwd.in |