~kubuntu-members/parley/4.11

« back to all changes in this revision

Viewing changes to plugins/google_images.py

  • Committer: Yuri Chornoivan
  • Date: 2013-08-15 04:38:37 UTC
  • Revision ID: git-v1:248326459d0050a9ffdd94ea1d723fda652642fc
REVIEW: 111470

Allow loading google images plugin on non-ASCII locales

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
 
248
248
#create a new action for the Scripts menu (action1)
249
249
action1 = Parley.newAction("example_action1", i18n("Fetch Image"))
250
 
action1.statusTip = str(i18n("Fetches an image for the selected translation"))
 
250
action1.statusTip = str(i18n("Fetches an image for the selected translation").toUtf8())
251
251
Parley.connect(action1,"triggered()",fetchImage)
252
252