Browse files

Clarify translatable string.

``{field}`` is usually used to represent a substitution.
  • Loading branch information...
1 parent f4b6a02 commit 80781b39423084f33cacd981e8e88e9a69c4d1ce @icmurray icmurray committed with tobes Jun 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ckan/logic/action/get.py
View
2 ckan/logic/action/get.py
@@ -1271,7 +1271,7 @@ def resource_search(context, data_dict):
fields = dict(pair.split(":", 1) for pair in query)
except ValueError:
raise ValidationError(
- {'query': _('Must be {field}:{value} pair(s)')})
+ {'query': _('Must be <field>:<value> pair(s)')})
else:
log.warning('Use of the "fields" parameter in resource_search is '

0 comments on commit 80781b3

Please sign in to comment.