Closed Bug 1734933 Opened 4 years ago Closed 4 years ago

type-column-label is missing from zh-CN language pack

Categories

(Thunderbird :: General, defect)

Thunderbird 91
defect

Tracking

(thunderbird_esr91+ fixed, thunderbird94+ affected)

RESOLVED FIXED
95 Branch
Tracking Status
thunderbird_esr91 + fixed
thunderbird94 + affected

People

(Reporter: rachel, Assigned: henry-x)

References

Details

Attachments

(1 file)

TB 92.1.0 was built with zh-CN pinned to:
1123d13bbf75fcfa5111c1207c955e3ec447e54e

https://hg.mozilla.org/releases/comm-esr91/rev/092ce734a8fcc2da3837c332bd30ea89baeeeccd#l1.754

The relevant file at that ref has:
https://hg.mozilla.org/l10n-central/zh-CN/file/1123d13bbf75fcfa5111c1207c955e3ec447e54e/mail/messenger/preferences/preferences.ftl#l414

type-column-label =
    .label = 内容类型
    .accesskey = T

However, the language pack produced from the file
http://ftp.mozilla.org/pub/thunderbird/releases/91.2.0/linux-x86_64/xpi/zh-CN.xpi
has a hole where those strings should be:

search-handler-table =
    .placeholder = 过滤内容类型和操作

[this is line 414 and it's empty]

action-column-label = 操作

Something has gone wrong producing the language pack and most likely the localised version.

Because the string has a different structure in English, so the translation is discarded
https://searchfox.org/comm-central/source/mail/locales/en-US/messenger/preferences/preferences.ftl#408

type-column-label = Content Type

That's once again caused by developers changing strings after landing without new IDs.
https://mozilla-l10n.github.io/documentation/localization/making_string_changes.html

I pointed out a few in another bug, but my comment was ignored.

Component: Build Config → General

For the future, please don't CC me to Thunderbird bugs.

I'm happy to help out if the relevant folks can't figure out things, but that's what NI is for.
https://bugzilla.mozilla.org/show_bug.cgi?id=1728893#c10

Sorry for the CC, Francesco, that happened by cloning the bug you mentioned. Thanks a lot for your input. Indeed, string changes were made here
https://hg.mozilla.org/comm-central/rev/a0b86bbaaa09#l3.1
without creating new string IDs. Many locales haven't followed that change:
https://searchfox.org/l10n/search?q=type-column-label&path=&case=false&regexp=false

Flags: needinfo?(henry)

Yup, that's my bad. This patch is from before I knew about the need to change fluent ids when adding or removing attributes.

I'll put in a patch to change the ids now. But since this is a string change, I'm not sure if it can be fixed for 91.

Flags: needinfo?(henry)
Assignee: nobody → henry
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

(In reply to Henry Wilkes [:henry] from comment #4)

I'll put in a patch to change the ids now. But since this is a string change, I'm not sure if it can be fixed for 91.

See discussion in bug 1728893 comment #13 and https://hg.mozilla.org/releases/comm-esr91/rev/79de824011b8.

Also use a span instead of a div for better semantics within a button.

Blocks: tb91found
Target Milestone: --- → 95 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/a89c4d01471d
Rename ids for fluent changes in rev a0b86bbaaa09. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

(In reply to Rachel Martin from comment #0)

has a hole where those strings should be:

search-handler-table =
    .placeholder = 过滤内容类型和操作

[this is line 414 and it's empty]

action-column-label = 操作

It is weird that action-column-label was changed in the translation, whilst type-column-label wasn't. I made the same mistake with both fluent entries. Maybe someone manually spotted the change for one but not the other.

Comment on attachment 9245215 [details]
Bug 1734933 - Rename ids for fluent changes in rev a0b86bbaaa09. r=aleca

[Approval Request Comment]
Regression caused by (bug #): 1683303
User impact if declined: Translations missing headers for the File & Attachments Actions table in preferences
Testing completed (on c-c, etc.): No
Risk to taking this patch (and alternatives if risky): The patch is small, but it does introduce a new string, so I think it may require some extra steps. Currently, 24 languages already have translations for the new strings https://searchfox.org/l10n/search?q=type-column-header&path=&case=false&regexp=false . For other languages, most will simply continue to have missing translations, but some that already compensated for the change in bug 1683303 will loose translations: basically any language in this list https://searchfox.org/l10n/search?q=type-column-label&path= and not in the other list, that is of the form type-column-label = abcde rather than type-column-label =\n .label = abcde, e.g. the german translation.

Attachment #9245215 - Flags: approval-comm-esr91?

Comment on attachment 9245215 [details]
Bug 1734933 - Rename ids for fluent changes in rev a0b86bbaaa09. r=aleca

[Triage Comment]
Approved for esr91

Attachment #9245215 - Flags: approval-comm-esr91? → approval-comm-esr91+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: