Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <yann@leboulanger.org>2017-09-20 12:16:44 +0300
committerYann Leboulanger <yann@leboulanger.org>2017-09-20 12:16:44 +0300
commit6f2442f6b805fedbad2e0a80071c73872c089822 (patch)
treec961e9b29f917b081dc2340c64d5c24f13b74bad /regex_filter
parent540a312e14d19ccb1a549a0cf268f5cf2495d866 (diff)
Improve strings for translation
Diffstat (limited to 'regex_filter')
-rw-r--r--regex_filter/regex_filter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/regex_filter/regex_filter.py b/regex_filter/regex_filter.py
index e86aa04..6c53f6c 100644
--- a/regex_filter/regex_filter.py
+++ b/regex_filter/regex_filter.py
@@ -111,7 +111,8 @@ class FilterCommands(CommandContainer):
def add_filter(self, search, replace):
plugin = app.plugin_manager.get_active_plugin('regex_filter')
plugin.add_rule(search, replace)
- return _('Added rule to replace %s by %s' % (search, replace))
+ return _('Added rule to replace %(search)s by %(replace)s' % {
+ 'search': search, 'replace': replace})
@command("remove_filter", raw=True)
@doc(_("Remove an incoming filter. Argument is the rule number. "