Bugzilla – Attachment 26137 Details for
Bug 10942
Provide a way for package upgrades to update template translations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10942: (follow-up) make AUTOMATIC_TRANSLATIONS_UPDATE default to yes
Bug-10942-follow-up-make-AUTOMATICTRANSLATIONSUPDA.patch (text/plain), 2.14 KB, created by
Robin Sheat
on 2014-03-12 03:09:43 UTC
(
hide
)
Description:
Bug 10942: (follow-up) make AUTOMATIC_TRANSLATIONS_UPDATE default to yes
Filename:
MIME Type:
Creator:
Robin Sheat
Created:
2014-03-12 03:09:43 UTC
Size:
2.14 KB
patch
obsolete
>From c0da127f98cab4c7d20724210a55289833c7e9a0 Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmc@esilibrary.com> >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 <gmc@esilibrary.com> >Signed-off-by: Robin Sheat <robin@catalyst.net.nz> >--- > 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 <lang_code> > # >-#AUTOMATIC_TRANSLATIONS_UPDATE="no" >+#AUTOMATIC_TRANSLATIONS_UPDATE="yes" >-- >1.8.3.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10942
:
21459
|
21461
|
24096
|
24972
|
26122
|
26132
|
26133
|
26134
|
26135
|
26136
|
26137
|
26138
|
26220
|
26221
|
26222
|
26223
|
26301
|
27454
|
27455
|
27456
|
27457
|
27458