From c0da127f98cab4c7d20724210a55289833c7e9a0 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 12 Mar 2014 02:07:53 +0000 Subject: [PATCH] Bug 10942: (follow-up) make AUTOMATIC_TRANSLATIONS_UPDATE default to yes This patch makes AUTOMATIC_TRANSLATIONS_UPDATE default to yes, meaning that package upgrades will update the translations by default. This seems definitely sensible for new installations, but as there are some older installations that may be in the habit directly editing generated translated templates, it's less clear whether this is a good idea for upgrades. This patch is intentionally separate, and can be ignored if the consensus swings towards having AUTOMATIC_TRANSLATIONS_UPDATE be off even for new installations or if somebody counter-patches with adding debconf support. To test: - As with the previous patches in the series, except that the translations would be automatically updated upon installing the new package. Signed-off-by: Galen Charlton Signed-off-by: Robin Sheat --- debian/koha-common.postinst | 4 ++-- debian/templates/koha-common.conf | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/koha-common.postinst b/debian/koha-common.postinst index f56142d..d061403 100644 --- a/debian/koha-common.postinst +++ b/debian/koha-common.postinst @@ -2,8 +2,8 @@ set -e -# Default to "no" -AUTOMATIC_TRANSLATIONS_UPDATE="no" +# Default to "yes" +AUTOMATIC_TRANSLATIONS_UPDATE="yes" . /usr/share/debconf/confmodule diff --git a/debian/templates/koha-common.conf b/debian/templates/koha-common.conf index 3c8a9af..331a893 100644 --- a/debian/templates/koha-common.conf +++ b/debian/templates/koha-common.conf @@ -9,9 +9,9 @@ # # This variable controls whether template translations should # be updated automatically on koha-common package upgrades. -# Options: 'yes' -# 'no' (default) +# Options: 'yes' (default) +# 'no' # Note: if you choose 'no' then you will have to issue # $ koha-translate --update # -#AUTOMATIC_TRANSLATIONS_UPDATE="no" +#AUTOMATIC_TRANSLATIONS_UPDATE="yes" -- 1.8.3.2