Bug 1733498 Comment 6 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

My currently gathered information on this bug:

* The status code is directly mapped to the .properties translation using the `FormatStatusMessage` function: [/uriloader/base/nsDocLoader.cpp#1230](https://searchfox.org/mozilla-central/rev/6b4e19ad33650fdf9cd8529cd68eeb98bff1b935/uriloader/base/nsDocLoader.cpp#1230) -> this is where the change to .fluent for this bug report happens (and is still TODO for me)
* `FormatStatusMessage` is implemented in [/intl/strres/nsStringBundle.cpp#945-995](https://searchfox.org/mozilla-central/rev/6b4e19ad33650fdf9cd8529cd68eeb98bff1b935/intl/strres/nsStringBundle.cpp#945-995)
* Only other usage of `FormatStatusMessage` I can see: [/dom/xslt/xslt/txMozillaXSLTProcessor.cpp#1033](https://searchfox.org/mozilla-central/rev/6b4e19ad33650fdf9cd8529cd68eeb98bff1b935/dom/xslt/xslt/txMozillaXSLTProcessor.cpp#1033), so I guess this function could get deprecated and removed soon

* migration of the strings is is rather painless because of https://github.com/mozilla/properties-to-ftl
My currently gathered information on this bug:

* The status code is directly mapped to the .properties translation using the `FormatStatusMessage` function: [/uriloader/base/nsDocLoader.cpp#1230](https://searchfox.org/mozilla-central/rev/6b4e19ad33650fdf9cd8529cd68eeb98bff1b935/uriloader/base/nsDocLoader.cpp#1230) -> this is where the change to .fluent for this bug report happens (and is still TODO for me)

  * EDIT(2022-01-11 from asking in matrix room #l10n-dev:mozilla.org): Other examples of using Fluent in C++: https://searchfox.org/mozilla-central/search?q=Localization%3A%3ACreate&path=.cpp&case=true&regexp=false 

* `FormatStatusMessage` is implemented in [/intl/strres/nsStringBundle.cpp#945-995](https://searchfox.org/mozilla-central/rev/6b4e19ad33650fdf9cd8529cd68eeb98bff1b935/intl/strres/nsStringBundle.cpp#945-995)
* Only other usage of `FormatStatusMessage` I can see: [/dom/xslt/xslt/txMozillaXSLTProcessor.cpp#1033](https://searchfox.org/mozilla-central/rev/6b4e19ad33650fdf9cd8529cd68eeb98bff1b935/dom/xslt/xslt/txMozillaXSLTProcessor.cpp#1033), so I guess this function could get deprecated and removed soon

* migration of the strings is is rather painless because of https://github.com/mozilla/properties-to-ftl

Back to Bug 1733498 Comment 6