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 672608 - Please add translator comment
Please add translator comment
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2012-03-22 07:28 UTC by TLE
Modified: 2012-03-22 09:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
account-widget-irc: add translators comment on up/down tooltips (1.94 KB, patch)
2012-03-22 08:47 UTC, Guillaume Desmottes
committed Details | Review
debug-window: no need to translate the '%s' format (1006 bytes, patch)
2012-03-22 08:47 UTC, Guillaume Desmottes
committed Details | Review
add translator comment for the sanity-cleaning-number key (1.21 KB, patch)
2012-03-22 09:44 UTC, Guillaume Desmottes
committed Details | Review

Description TLE 2012-03-22 07:28:15 UTC
For the following string, could you please include a translator comment that explains what these sanity cleaning tasks are?

#: ../data/org.gnome.Empathy.gschema.xml.in.h:9
msgid "Magic number used to check if sanity cleaning tasks should be run"

Regards Kenneth
Comment 1 TLE 2012-03-22 07:41:14 UTC
and while you are at it. Do these refer to the direction or the location?

#: ../libempathy-gtk/empathy-account-widget-irc.ui.h:6
msgid "Up"
 
#: ../libempathy-gtk/empathy-account-widget-irc.ui.h:7
msgid "Down"
Comment 2 TLE 2012-03-22 07:45:37 UTC
Aaaand for this one.

#: ../src/empathy-debug-window.c:1680
#, c-format
msgid "%s"

I believe it should either not be marked as translatable (if it is simply %s -> %s) or if in the case where any language is supposed to do something else, please add a comment that explains it.
Comment 3 Guillaume Desmottes 2012-03-22 08:47:11 UTC
Created attachment 210312 [details] [review]
account-widget-irc: add translators comment on up/down tooltips
Comment 4 Guillaume Desmottes 2012-03-22 08:47:14 UTC
Created attachment 210313 [details] [review]
debug-window: no need to translate the '%s' format
Comment 5 Guillaume Desmottes 2012-03-22 08:49:23 UTC
(In reply to comment #0)
> For the following string, could you please include a translator comment that
> explains what these sanity cleaning tasks are?
> 
> #: ../data/org.gnome.Empathy.gschema.xml.in.h:9
> msgid "Magic number used to check if sanity cleaning tasks should be run"

Those are automatic tasks which are run once to port/update account settings. Tbh, this shouldn't be exposed to users at all, I just use a gsettings key here as an optimization to only run it once.

I don't think it's possible to add a translator comment from the gschema unfortunatelly.


Could you please review the 2 patches above and check if that would solve your issues? Thanks!
Comment 6 TLE 2012-03-22 09:18:40 UTC
The 2 patches look just fine.

As for the last one. Since this is a gsettings key description, we don't really have any space restrictions. So how about changing the string to something like what you just explained? E.g:

"Magic number used to check if tasks for porting/updating the account settings should should be run"

and in the longer shorter description

#: ../data/org.gnome.Empathy.gschema.xml.in.h:10
"empathy-sanity-cleaning.c uses this number to check if the porting/updating tasks for the settings should be executed or not. Users should not change this key manually."

In either string you could also use only one of "porting" or "updating" if one of them describes it sufficiently.
Comment 7 Guillaume Desmottes 2012-03-22 09:40:55 UTC
Actually it's possible to add comments! I'll go for this so that won't break existing translations.
Comment 8 Guillaume Desmottes 2012-03-22 09:44:04 UTC
Created attachment 210318 [details] [review]
add translator comment for the sanity-cleaning-number key
Comment 9 Guillaume Desmottes 2012-03-22 09:44:24 UTC
How does that look to you?
Comment 10 TLE 2012-03-22 09:45:31 UTC
That looks good. Thanks for fixing this so quick.
Comment 11 Guillaume Desmottes 2012-03-22 09:58:15 UTC
Attachment 210312 [details] pushed as 26ce92a - account-widget-irc: add translators comment on up/down tooltips
Attachment 210313 [details] pushed as 77f0cc3 - debug-window: no need to translate the '%s' format
Attachment 210318 [details] pushed as 605f872 - add translator comment for the sanity-cleaning-number key