projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8610a1c
)
fix Klaus broken english rules :-)
author
Duncan Mac-Vicar P
<dmacvicar@suse.de>
Fri, 17 Mar 2006 10:03:57 +0000
(10:03 +0000)
committer
Duncan Mac-Vicar P
<dmacvicar@suse.de>
Fri, 17 Mar 2006 10:03:57 +0000
(10:03 +0000)
zypp/target/store/serialize.cc
patch
|
blob
|
history
diff --git
a/zypp/target/store/serialize.cc
b/zypp/target/store/serialize.cc
index
f452b88
..
8abba65
100644
(file)
--- a/
zypp/target/store/serialize.cc
+++ b/
zypp/target/store/serialize.cc
@@
-329,7
+329,11
@@
std::string resolvableTypeToString( const Resolvable::constPtr &resolvable, bool
std::string resolvableKindToString( const Resolvable::Kind &kind, bool plural)
{
- return kind.asString() + (plural?"s":"");
+ std::string k = kind.asString();
+ if (k.substr(k.size() - 2, 2) == "ch")
+ return k + (plural?"es":"");
+ else
+ return k + (plural?"s":"");
}
template<>