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 746474 - Combined usage of "new" brings adjective conjugation problem in Swedish
Combined usage of "new" brings adjective conjugation problem in Swedish
Status: RESOLVED FIXED
Product: gnome-clocks
Classification: Applications
Component: general
unspecified
Other All
: Normal minor
: ---
Assigned To: Clocks maintainer(s)
Clocks maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-03-19 17:36 UTC by Anders Jonsson
Modified: 2016-10-09 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add a context to New buttons (1.37 KB, patch)
2015-12-12 17:35 UTC, Anders Jonsson
committed Details | Review

Description Anders Jonsson 2015-03-19 17:36:26 UTC
Hi,
the word "New" is used in two cases in gnome-clocks. Either when talking about an alarm or a world clock.

#. Translators: "New" refers to an alarm
#. Translators: "New" refers to a world clock
#: ../src/alarm.vala:560 ../src/world.vala:262
msgid "New"
msgstr "Nytt"


This leads to problems in Swedish as we use different adjective conjugations depending on the noun. For "New" we would either translate it to "Ny" or "Nytt". Unfortunately "världsklocka" (world clock) and "alarm" are not in the same category, we say "Ny" about clock, and "Nytt" about alarm.


For this reason it would make the Swedish translation look better if there could be two different strings for the two uses of "New".



Regards,
Anders Jonsson
Comment 1 Anders Jonsson 2015-12-12 17:35:42 UTC
Created attachment 317249 [details] [review]
Add a context to New buttons

This adds a context to the "New" button for World clocks and Alarms. Compiled and tested against gnome-3-18 branch.
Comment 2 Paolo Borelli 2016-10-09 08:40:08 UTC
Review of attachment 317249 [details] [review]:

Sorry for not applying this sooner
Comment 3 Piotr Drąg 2016-10-09 08:46:15 UTC
This patch breaks the string freeze, I hope you could branch for gnome-3-22 before it.
Comment 4 Paolo Borelli 2016-10-09 10:14:51 UTC
Can you clarify how it breaks string freeze? The "New" string was already there... just curious.

Anyway, yes, I guess I can branch before that.
Comment 5 Piotr Drąg 2016-10-09 10:19:12 UTC
In gettext, adding context makes it a new string, requiring re-translation.

If you don't want to branch yet, you can always revert it and commit again after branching in the future.
Comment 6 Paolo Borelli 2016-10-09 10:24:31 UTC
Thanks for the clarification. It is ok, I branched