Bugzilla – Attachment 82353 Details for
Bug 21823
Cannot update or create translations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21823: Force creation of POT file even if there is no messages
Bug-21823-Force-creation-of-POT-file-even-if-there.patch (text/plain), 1.11 KB, created by
Marcel de Rooy
on 2018-11-15 08:18:19 UTC
(
hide
)
Description:
Bug 21823: Force creation of POT file even if there is no messages
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-11-15 08:18:19 UTC
Size:
1.11 KB
patch
obsolete
>From c201c77190bf66dc36d0d551912a6eae8bdad841 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 13 Nov 2018 17:00:23 +0100 >Subject: [PATCH] Bug 21823: Force creation of POT file even if there is no > messages >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > misc/translator/LangInstaller.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm >index b8a6ee6..5e0137b 100644 >--- a/misc/translator/LangInstaller.pm >+++ b/misc/translator/LangInstaller.pm >@@ -636,7 +636,7 @@ sub extract_messages { > $self->extract_messages_from_templates($tempdir, @tt_files); > push @files_to_scan, @tt_files; > >- my $xgettext_cmd = "$self->{xgettext} -L Perl --from-code=UTF-8 " >+ my $xgettext_cmd = "$self->{xgettext} --force-po -L Perl --from-code=UTF-8 " > . "--package-name=Koha --package-version='' " > . "-k -k__ -k__x -k__n:1,2 -k__nx:1,2 -k__xn:1,2 -k__p:1c,2 " > . "-k__px:1c,2 -k__np:1c,2,3 -k__npx:1c,2,3 -kN__ -kN__n:1,2 " >-- >2.1.4
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 21823
:
82306
|
82353
|
82518