Bugzilla – Attachment 56615 Details for
Bug 16687
Translatability: Fix issues with sentence splitting in Administration preferences
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[COUNTER-PATCH] Bug 16687: Translatability: Fix issues in Administration preferences
Bug-16687-Translatability-Fix-issues-in-Administra.patch (text/plain), 874 bytes, created by
Jonathan Druart
on 2016-10-18 08:03:38 UTC
(
hide
)
Description:
[COUNTER-PATCH] Bug 16687: Translatability: Fix issues in Administration preferences
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-10-18 08:03:38 UTC
Size:
874 bytes
patch
obsolete
>From b47561a0ac69b4f78db35e636ec2cef2971e053f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 18 Oct 2016 09:02:34 +0100 >Subject: [PATCH] Bug 16687: Translatability: Fix issues in Administration > preferences > >This is how I'd fix that issue, please give it a try. >--- > misc/translator/LangInstaller.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm >index 683897d..0cafcb3 100644 >--- a/misc/translator/LangInstaller.pm >+++ b/misc/translator/LangInstaller.pm >@@ -288,6 +288,7 @@ sub get_po_merged_with_en { > my $po = $po_previous->{Locale::PO->quote($id)}; > next unless $po; > my $text = Locale::PO->dequote( $po->msgstr ); >+ $text =~ s|^\w+\.pref#\w+#||; > $po_current->{$id}->msgstr( $text ); > } > } >-- >2.8.1
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 16687
:
52156
|
52946
|
53335
|
53370
|
55788
|
55887
|
56525
|
56569
|
56615