Skip to content

Commit

Permalink
Clarify translatable string.
Browse files Browse the repository at this point in the history
``{field}`` is usually used to represent a substitution.
  • Loading branch information
Ian Murray authored and tobes committed Jul 2, 2012
1 parent f4b6a02 commit 80781b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/action/get.py
Expand Up @@ -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 '
Expand Down

0 comments on commit 80781b3

Please sign in to comment.