Closed Bug 1186497 Opened 10 years ago Closed 10 years ago

Update strings in about:logins edit logins

Categories

(Firefox for Android Graveyard :: Logins, Passwords and Form Fill, defect)

defect
Not set
normal

Tracking

(firefox42 fixed)

RESOLVED FIXED
Firefox 42
Tracking Status
firefox42 --- fixed

People

(Reporter: ally, Assigned: ally)

References

Details

Attachments

(1 file, 1 obsolete file)

replace string
Summary: "Saved login" not "Saved your login" in edit login toast → "Saved login" not "Saved your changes" in edit login toast
Attached file changededitlogintoast (obsolete) —
Attachment #8637318 - Flags: review?(liuche)
Summary: "Saved login" not "Saved your changes" in edit login toast → Update strings in about:logins edit logins
Attachment #8637318 - Flags: review?(liuche)
Attached patch string changesSplinter Review
I left the dtd term as editLogins.save because under the hood I have to delete and then save a new record each time there is a change, or the db barfs. So it looks like its updating to the user, but like its saving to the engineer.
Attachment #8637318 - Attachment is obsolete: true
Attachment #8637337 - Flags: review?(liuche)
Comment on attachment 8637337 [details] [diff] [review] string changes Review of attachment 8637337 [details] [diff] [review]: ----------------------------------------------------------------- r+ with one comment addressed. > I left the dtd term as editLogins.save because under the hood I have to > delete and then save a new record each time there is a change, or the db > barfs. So it looks like its updating to the user, but like its saving to the > engineer. I strongly disagree - the naming of a string should reflect what the *string* is, and should not be coupled with its implementation. Also, that'd be really, really confusing. ::: mobile/android/locales/en-US/chrome/aboutLogins.dtd @@ -4,5 @@ > <!ENTITY % brandDTD > SYSTEM "chrome://branding/locale/brand.dtd"> > %brandDTD; > <!ENTITY aboutLogins.title "Logins"> > -<!ENTITY aboutLogins.save "Save"> Change this to aboutLogins.update. This will become confusing when we add the Save page, and the string name should match the string.
Attachment #8637337 - Flags: review?(liuche) → review+
Assignee: nobody → ally
Considering that this bug is still open, this is not OK http://hg.mozilla.org/mozilla-central/diff/cc52b6635f5e/mobile/android/locales/en-US/chrome/aboutLogins.properties New string, new string ID. Can you please update? Or let me know if you want a follow-up bug.
Ah, for some reason, I thought nightly-only changes were okay. This feature has been held on nightly so it's never merged to aurora (it's been kept behind a Nightly flag), but I'm happy to file a followup if you want.
Flags: needinfo?(francesco.lodolo)
Once it lands in mozilla-central it's exposed to the localization process. After that, any change (unless it's a minor one) needs a new string ID, otherwise locales risk to never get updated.
Flags: needinfo?(francesco.lodolo)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Depends on: 1187426
Blocks: 1187428
Filed and landed bug 1187428.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: