Closed Bug 1168537 Opened 9 years ago Closed 9 years ago

Export strings files with the trans-unit id as key instead of the source string

Categories

(Firefox for iOS :: General, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios + ---

People

(Reporter: st3fan, Assigned: st3fan)

References

Details

Attachments

(1 file, 1 obsolete file)

When exporting strings files (xliff-to-strings.py), use the trans-unit[id] as the string key. Right now we use trans-unit.source but that is not correct.
Assignee: nobody → sarentz
When exporting strings files `(xliff-to-strings.py)`, use the `trans-unit[id]` as the string key. Right now we use `trans-unit.source` but that is not correct.
Attachment #8610760 - Flags: review?(francesco.lodolo)
Comment on attachment 8610760 [details] [review]
PR: https://github.com/mozilla/firefox-ios/pull/501

This definitely solves the issue on the build side. 

Run script/import-locales.sh, tested with XCode Simulator in Italian and both dialogs from bug 1157246 are fixed.

I kind of remember testing in XCode, importing my localization from XCode (without running scripts) and running the simulator, and that the string was untranslated there too. But I tried again tonight (with quite a lot of build failures, thanks XCode) and that seems to work just fine, so maybe my memory is failing me.
Attachment #8610760 - Flags: review?(francesco.lodolo) → review+
I see that the PR is merged, and both dialogs work for me in build 18 (testflight). I guess we can mark this as FIXED:
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
tracking-fennec: ? → +
tracking-fxios: --- → +
Attached file Pull Request (obsolete) —
tracking-fennec: + → ---
Attachment #8898045 - Flags: review?(sarentz)
Comment on attachment 8898045 [details] [review]
Pull Request

Moved to https://bugzilla.mozilla.org/show_bug.cgi?id=1390953
Attachment #8898045 - Attachment is obsolete: true
Attachment #8898045 - Flags: review?(sarentz)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: