From 8bd0c8390b35da9afc1a843ae5875ed620e98dc4 Mon Sep 17 00:00:00 2001
From: Noritada Kobayashi
Date: Sun, 21 Oct 2007 03:53:20 +0900
Subject: [PATCH] DoShow.pm, html/search.tmpl: Improve msgids that were hard to
localize.
---
lib/Packages/DoShow.pm | 2 +-
templates/html/search.tmpl | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm
index bf84444..92b69e5 100644
--- a/lib/Packages/DoShow.pm
+++ b/lib/Packages/DoShow.pm
@@ -422,7 +422,7 @@ sub build_deps {
if ($arch_str ||= '') {
if ($arch_neg) {
- $arch_str = _g("not")." $arch_str";
+ $arch_str = sprintf( _g("not %s"), "$arch_str" );
} else {
$arch_str = $arch_str;
}
diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl
index 3427f2a..6572967 100644
--- a/templates/html/search.tmpl
+++ b/templates/html/search.tmpl
@@ -34,8 +34,8 @@
searchformurl) %]
[% IF opts.searchon != "names" && opts.exact %]
- [% g('You have searched only for words exactly matching your keywords. You can try to search allowing subword matching.',
- make_search_url('',"keywords=$keyword_esc",'exact',0) ) %]
+
[% g('You have searched only for words exactly matching your keywords. You can try to search allowing subword matching.',
+ make_search_url('',"keywords=$keyword_esc",'exact',0) ) %]
[% END %]
[% END %]
[% IF opts.searchon == "names" && non_results %]
--
2.39.2