From: Noritada Kobayashi
Date: Sat, 20 Oct 2007 18:53:20 +0000 (+0900)
Subject: DoShow.pm, html/search.tmpl: Improve msgids that were hard to localize.
X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=8bd0c8390b35da9afc1a843ae5875ed620e98dc4;p=deb%2Fpackages.git
DoShow.pm, html/search.tmpl: Improve msgids that were hard to localize.
---
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 %]