After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 577118 - Do "cam" and "main-window" be translatable?
Do "cam" and "main-window" be translatable?
Status: RESOLVED FIXED
Product: mousetrap
Classification: Other
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mousetrap-maint
mousetrap-maint
Depends on:
Blocks:
 
 
Reported: 2009-03-28 20:11 UTC by Claude Paroz
Modified: 2010-04-03 21:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Claude Paroz 2009-03-28 20:11:27 UTC
In mouseTrap.py (usage), you marked "main-window" and "cam" for translation. It seems weird, because in start() you test for these non-translated literal values. What did you intend?
Comment 1 Claude Paroz 2009-12-05 10:41:16 UTC
Please Flavio, could you answer this question?
Comment 2 Flavio Percoco Premoli 2010-04-03 20:44:38 UTC
I'm sorry, I didn't receive an email for this bug (at least I don't remember), 

They shouldn't be translated.

I'm sorry again.

Thanks for asking
Comment 3 Claude Paroz 2010-04-03 20:48:45 UTC
And the strings are still marked as translatable (now in in http://git.gnome.org/browse/mousetrap/tree/src/mousetrap/app/main.py).
Comment 4 Flavio Percoco Premoli 2010-04-03 20:54:52 UTC
Ok,

Fixed with commit 73a67029711396f0e8d8a7e3559e59f218c1a8f3

Thanks again
Comment 5 Claude Paroz 2010-04-03 21:02:14 UTC
Thanks! But now I suppose you don't need those concatenations any more. You could simply write:
  print( "-e, --enable=[main-window|cam]"),
and
  print( "-d, --disable=[main-window|cam]"),

But it's your code :-)