Closed Bug 1400651 Opened 7 years ago Closed 7 years ago

Capitalize "upcoming" (section) in Calendar prefs

Categories

(Calendar :: Preferences, enhancement)

All
Unspecified
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Tonnes, Assigned: Tonnes)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch upcoming_Upcoming.patch (obsolete) — — Splinter Review
In the Preferences/Options > Calendar panel > General tab, current Calendar/Lightning contains a string/option that says

"The upcoming section shows:"(pref.soondays.label)

This is about the section called Upcoming in the right pane.

It would be good to capitalize "Upcoming", as if not, this would refer to a section that’s upcoming, rather than a section _called_ Upcoming. It also seems to have lead to some wrong localizations (to the first form) for a few locales.

Side note: I wouldn’t mind if quotation marks were added too ("The “Upcoming” section shows:"), though that seems rather divergent in TB/Lightning strings.
Attachment #8909086 - Flags: review?(philipp)
Comment on attachment 8909086 [details] [diff] [review]
upcoming_Upcoming.patch

Review of attachment 8909086 [details] [diff] [review]:
-----------------------------------------------------------------

Since this is only a correction of the English I think we could get away with not changing the entity, but if there is more than 1-2 cases we could go with it. Do you have examples of locales that translated it wrong? r+ with changes accordingly.
Attachment #8909086 - Flags: review?(philipp) → review+
Assignee: nobody → tonnes.mb
Status: NEW → ASSIGNED
Flags: needinfo?(tonnes.mb)
I agree with not changing the entity, as long as localizers get notified e.g. by a mailing list or newsgroup notification. The entity change was proposed to make sure they will otherwise, but it’s your choice. :)

The next view displays the string for all locales. Of course I don’t speak all of them, but it may be obvious some did not notice the issue (I would say at least 10, such as bg, cs, cy, en-GB, es-AR, et, eu, fy-NL, gl, pt-*, …):

https://transvision.mozfr.org/string/?entity=calendar/chrome/calendar/preferences/general.dtd:pref.soondays.label&repo=central
Flags: needinfo?(tonnes.mb)
Keywords: checkin-needed
If you change the ID for "educational purposes", please add a comment stating that "Upcoming" is the name of a section and should be shown as that in the translation. For example:
<!-- LOCALIZATION NOTE (pref.soondays2.label):
     "Upcoming" is the name of a section and the translation must match the translation of that
     section name. Also, it should be upper case (as a proper name) if the target language permits.
 -->

The link in comment #2 is quite interesting, for example:
es-ES 	La secciĂłn PrĂłximamente muestra: (correct)
es-AR 	La prĂłxima secciĂłn muestra: (incorrect).
Flags: needinfo?(tonnes.mb)
Keywords: checkin-needed
Attached patch upcoming_Upcoming_v2.patch — — Splinter Review
OK, added the suggested comment including the entity referred to.
Flags: needinfo?(tonnes.mb)
Attachment #8920810 - Flags: review?(philipp)
Comment on attachment 8920810 [details] [diff] [review]
upcoming_Upcoming_v2.patch

Looks great, I hope Philipp agrees.
Attachment #8920810 - Flags: review+
Comment on attachment 8920810 [details] [diff] [review]
upcoming_Upcoming_v2.patch

r=philipp
Attachment #8920810 - Flags: review?(philipp)
Attachment #8920810 - Flags: review+
Attachment #8909086 - Attachment is obsolete: true
I'll get that landed and I'll fix the commit message.
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/773c0fd4b623
Rename upcoming to Upcoming (section) in prefs. r=philipp
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 6.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: