Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
willforde committed Aug 22, 2018
1 parent 31bfd98 commit a31eca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.module.codequick/lib/codequick/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ def localize(string_id):
:example:
>>> Script.localize(30001)
u"Toutes les vidéos"
"Toutes les vidéos"
>>> Script.localize("All Videos")
u"Toutes les vidéos"
"Toutes les vidéos"
"""
if isinstance(string_id, (str, unicode_type)):
return gettext.gettext(string_id)
Expand Down

0 comments on commit a31eca0

Please sign in to comment.