summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-03-05 19:58:15 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-03-05 19:58:15 +0100
commit8fe02ea35316b3917693c3bd69125ab280e8a51c (patch)
tree22f658f28fe327b90ca73d75d08023982a2b22ee
parent0e57649af87fa1dfc8276758b86087662d4beeb6 (diff)
downloadportato-8fe02ea35316b3917693c3bd69125ab280e8a51c.tar.gz
portato-8fe02ea35316b3917693c3bd69125ab280e8a51c.tar.bz2
portato-8fe02ea35316b3917693c3bd69125ab280e8a51c.zip
Use existing translation for search types
Diffstat (limited to '')
-rw-r--r--portato/db/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/db/database.py b/portato/db/database.py
index 1816e4e..6e92d79 100644
--- a/portato/db/database.py
+++ b/portato/db/database.py
@@ -47,7 +47,7 @@ class Database (object):
TYPES = {
SEARCH_NAME : _("Name"),
SEARCH_DESCRIPTION : _("Description"),
- SEARCH_NAME | SEARCH_DESCRIPTION : _("Name + Description")
+ SEARCH_NAME | SEARCH_DESCRIPTION : "%s + %s" % (_("Name"), _("Description"))
}