Package: reportbug-ng
Severity: minor
Tags: patch
Dear Maintainer,
while looking at bug #586430 i found that the long text "Using
Reportbug-NG" never got translated, no matter what. Looking at the code
i noticed that this is because there is a trailing "\" in
src/rnghelpers.py that isn't present in the version between source tags
in the .st files. Removing this char makes the strings identical and
localization starts to work.
The attached patch fixes the issue. Now one can run for example
"LANG=de_DE.UTF-8 reportbug-ng" to get it in German.
Regards,
Anders Jonsso
>From 002c95c317b905c4f78a3090c5b1d86678593b9a Mon Sep 17 00:00:00 2001
From: Anders Jonsson <anders.jons...@norsjovallen.se>
Date: Fri, 21 Feb 2014 20:17:12 +0100
Subject: l10n: Fix localization of usage guide
---
src/rnghelpers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rnghelpers.py b/src/rnghelpers.py
index 9bade8f..ed672d5 100644
--- a/src/rnghelpers.py
+++ b/src/rnghelpers.py
@@ -107,7 +107,7 @@ def getRngInstructions():
return """<div style="background: #fff; color: #000;" >""" + \
QCoreApplication.translate("rnghelpers", """<h2>Using Reportbug-NG</h2>
<h3>Step 1: Finding Bugs</h3>
-<p>To find a bug just enter a query and press Enter. Combinations of multiple \
+<p>To find a bug just enter a query and press Enter. Combinations of multiple
queries are supported, e.g.: "severity:grave tag:patch".</p>
<p>The following queries are supported:
--
1.8.5.3