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