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 684472 - Clock and alarm can have different gender depending on the language
Clock and alarm can have different gender depending on the language
Status: RESOLVED FIXED
Product: gnome-clocks
Classification: Applications
Component: general
unspecified
Other Mac OS
: Normal normal
: ---
Assigned To: Clocks maintainer(s)
Clocks maintainer(s)
: 685659 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-09-20 12:35 UTC by Gil Forcada
Modified: 2012-10-07 13:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gil Forcada 2012-09-20 12:35:27 UTC
Lots of languages have genders to refer to things, so a table can be male or female and such (weird I know, but languages have had organic evolution...).

The problem are this strings:

msgid "Select <b>New</b> to add an alarm"

msgid "Select <b>New</b> to add a world clock"

#. Translators: "New" refers to a world clock or an alarm
msgid "New"

The "New" strings where there's a polite comment to translators indicating that can be clock or alarm falls into that problem described before, at least in Catalan, and I'm sure in many other languages, Clock (rellotge, male) and Alarm (alarma, female) can not share the same New (nou - male, nova - female).

Fortunately gettext is already aware of this facts and allows to provide a context for a given string.

See [1] for the technical details on how to define a context for a string.

Foot note: as we are currently in hard code freeze and this also breaks string freeze, please push the fix once the .0 is out. Is not so critical to have it fixed ASAP, but would be nice to have it before it lands on major distributions (which usually take the .1 GNOME releases).


[1] https://live.gnome.org/TranslationProject/DevGuidelines/Translation%20contexts
Comment 1 Paolo Borelli 2012-09-25 07:07:05 UTC
This is a bit tricky since the toolbar is created just once... we'll have to rework some code.

I wonder what the designer think about using the symbolic "+" icon instead...
Comment 2 Paolo Borelli 2012-10-07 13:43:49 UTC
*** Bug 685659 has been marked as a duplicate of this bug. ***
Comment 3 Paolo Borelli 2012-10-07 13:44:07 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.