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>
17 lines
726 B
Text
17 lines
726 B
Text
Template: koha-common/3.2-3.4-upgrade-notice
|
|
Type: note
|
|
Description: koha-common upgrade actions required
|
|
If you are upgrading from a Koha 3.2 to 3.4 release, you must run:
|
|
sudo /usr/sbin/koha-upgrade-to-3.4
|
|
.
|
|
For large catalogues, running this may take a while. Your Koha installation
|
|
should be largely operational during the process, but some things,
|
|
particularly to do with items, may appear strange until the upgrade and
|
|
re-index is complete.
|
|
|
|
Template: koha-common/automatically-update-translations
|
|
Type: boolean
|
|
Default: true
|
|
Description: automatically update translations
|
|
When Koha is upgraded, any existing translated templates can be regenerated
|
|
to keep everything in sync. Select "yes" if you want this.
|