Closed Bug 915993 Opened 11 years ago Closed 11 years ago

Change string ID for open_file_label to reflect new content (version 0.8.505)

Categories

(Firefox :: PDF Viewer, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 27
Tracking Status
firefox26 + fixed
firefox27 --- fixed

People

(Reporter: flod, Assigned: bdahl)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

https://hg.mozilla.org/mozilla-central/rev/4ede1a360fc6

-open_file_label=Open
+open_file_label=Open File

This must not happen: new string -> new ID, unless there are technical reasons for not doing it.
https://developer.mozilla.org/en-US/docs/Making_String_Changes

We should try to fix this before it slips into Aurora.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 914603
User impact if declined: 
Testing completed (on m-c, etc.): none, string only change
Risk to taking this patch (and alternatives if risky): low risk, reverting change
String or IDL/UUID changes made by this patch: String revert
Attachment #806122 - Flags: review?(francesco.lodolo)
Attachment #806122 - Flags: approval-mozilla-aurora?
Not sure I'm the right person to review this patch.

Since the change has already gone to Aurora, I'd say we leave the string as it is there for en-US (no revert) and use a new ID on trunk. Change will be picked up a cycle later by l10n but at least we don't touch Aurora.

Pike, your opinion?
Flags: needinfo?(l10n)
Is there a need to introduce a new ID? We just reverting a change. Where we can find info about how translation backend and synchronization with aurora works?
If you don't need that change anymore, just revert the change on both mozilla-aurora and l10n-central.
If you want that change, for sure you need a new ID on trunk (like you needed the first time it landed).

Not sure what you mean with "translation backend and synchronization with aurora".
> If you don't need that change anymore, just revert the change on both mozilla-aurora and l10n-central.

We don't need that change. We are not touching l10n-central. How patch for l10n-central shall look like?

> Not sure what you mean with "translation backend and synchronization with aurora"

It's probably off-topic. But do you have any documentation about the software that does localization magic for m-c? I'm just trying to understand what are DOs and DONTs for pdf.js to avoid future mistakes and how to correct them.
The idea is pretty simple: https://developer.mozilla.org/en-US/docs/Making_String_Changes

You don't change strings already landed on mozilla-central without using a new ID, unless it's a minor fix that involves only en-US. 
Changing the ID is the only sure way to have localizers look at the new string (the new string will be marked as untranslated) and not picking up outdated content.

> We don't need that change. We are not touching l10n-central. How patch for l10n-central shall look like?

The problem is that you already did, and you need to fix it
https://hg.mozilla.org/mozilla-central/rev/4ede1a360fc6

IMO there are two ways out (I'll wait for pike's answer, since he has much more experience than me in dealing with this):
a) we revert the string change on both mozilla-central and mozilla-aurora
b) we leave mozilla-aurora alone and change the ID on trunk

At this point I personally prefer b), I don't like touching stuff on Aurora.
> a) we revert the string change on both mozilla-central and mozilla-aurora

Fixed upstream at https://github.com/mozilla/pdf.js/pull/3698. It will land on m-c with next pdf.js sync.
Flags: needinfo?(l10n)
Tracking (and waiting for review to approve uplift) so we ensure this gets reverted in Aurora.
Attachment #806122 - Flags: review?(francesco.lodolo) → review+
Attachment #806122 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Keywords: checkin-needed
No longer blocks: 914603
Depends on: 922693
Flags: needinfo?(ryanvm)
Fixed on m-c by bug 922693.
Target Milestone: --- → Firefox 27
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: