Closed
Bug 835484
Opened 11 years ago
Closed 11 years ago
Localized "complete" and "failed" strings are not used in BT file transfer notification status
Categories
(Firefox OS Graveyard :: Gaia::Bluetooth, defect)
Tracking
(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.1 fixed)
VERIFIED
FIXED
blocking-b2g | tef+ |
People
(Reporter: theo, Assigned: iliu)
References
Details
(Keywords: l12y)
Attachments
(3 files)
When a Bluetooth file transfer finished, the notification displayed at the top of the screen (the string is bluetooth-file-transfer-result in system.properties) is localized, but not the {{status}} variable in it. Verified in French when the status is "complete". I got "complete du transfert de fichier par Bluetooth." Instead of "Réussite du transfert de fichier par Bluetooth."
Updated•11 years ago
|
blocking-b2g: --- → leo?
Comment 1•11 years ago
|
||
Does this happen with leo shipping languages too or just in French (which we believe is not a v1.1 shipped locale)?
Keywords: qawanted
Comment 2•11 years ago
|
||
(In reply to lsblakk@mozilla.com from comment #1) > Does this happen with leo shipping languages too or just in French (which we > believe is not a v1.1 shipped locale)? For clarification, this would be blocking-b2g- if it only affected French (French isn't a v1.0.1/v1.1 locale)
Reporter | ||
Comment 3•11 years ago
|
||
Delphine, I will try again with another locale once I receive the phone (maybe it is fixed since I opened the bug). But feel free to verify first if it take too much time.
Investigating at the moment: https://github.com/mozilla-b2g/gaia/blob/v1-train/apps/system/locales/system.fr.properties#L192 Spanish should show it at the end : https://hg.mozilla.org/gaia-l10n/es/file/0fc4d28a3269/apps/system/system.properties#l216 as well as pt_BR: https://hg.mozilla.org/gaia-l10n/pt-BR/file/55c0026a906a/apps/system/system.properties#l214 Looks like they are all using {{status}} which should be translated for complete and failed in the following 2 lines.
QA Contact: wachen → nhirata.bugzilla
Spanish should be "completada" not "complete". I believe this affects all languages. There are other things notifications that are not getting translated as well for bluetooth.
https://hg.mozilla.org/gaia-l10n/es/file/0fc4d28a3269/apps/system/system.properties#l199 shows that it should be translated. [Side note: t is missing in the spanish translation. See the line.]
[side note : Filed bug 855755 for the missing t.]
Forgot to list what I was testing on: Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/879324d41588 Gaia e7e7c1a473b4069544f2dad779b1c9b1bab91663 BuildID 20130327070202 Version 18.0 Unagi Gecko http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/c516d7e67150 Gaia d40dcdd112f12e2a5a0d1de46451670918fd4369 BuildID 20130328070202 Version 18.0
status-b2g18:
--- → affected
status-b2g18-v1.0.1:
--- → affected
Comment 9•11 years ago
|
||
triage: leo+ as the word seem to have missed to be translated in multiple languages
blocking-b2g: leo? → leo+
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → iliu
Comment 10•11 years ago
|
||
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/bluetooth_transfer.js#L361 is the code in question, that doesn't _() the status itself. Given that the strings exist, they'd only be exposed newly. I don't think we're loosing any testing knowledge by exposing them now. Thus no late-l10n, but it is l12y. Technically, we could take a patch for 1.0.1, too, IMHO. Just saying.
Comment 11•11 years ago
|
||
Ian-Liu, please let me review this one. :-)
Assignee | ||
Comment 12•11 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 732677 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/8956 Add localized method for the status string. Kaze, Thanks for reviewing my pr.
Attachment #732677 -
Flags: review?(kaze)
Comment 14•11 years ago
|
||
Comment on attachment 732677 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/8956 lgtm, merged on master: https://github.com/mozilla-b2g/gaia/commit/899af387a9be0f94f9f68b0c51714ca3de518225
Attachment #732677 -
Flags: review?(kaze) → review+
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 15•11 years ago
|
||
Uplifted commit 899af387a9be0f94f9f68b0c51714ca3de518225 as: v1-train: 0a44b3de3d9c550f5bb520d04721fc8120eabc2d
Comment 16•11 years ago
|
||
Can we take this on 1.0.1 as well?
Assignee | ||
Comment 17•11 years ago
|
||
Not a blocking issue, but cannot localize well. Nominating tef+..
blocking-b2g: leo+ → tef?
Updated•11 years ago
|
blocking-b2g: tef? → tef+
Comment 19•11 years ago
|
||
v1.0.1: 6b4e3334ae59b0bee461721022bf6e5a8ce69441
Comment 22•11 years ago
|
||
Verified fixed on inari device with: Gaia 34ceae4e9b32231461804d37fb5f1c49f54fcf86 BuildID 20130417003914 Version 18.0 from v1.0.1 branch
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•