Comment 6 for bug 2009808

Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

Hi Nathan,

I suggest that if you see "status" == "warning" then look at the "warning.code" field. That will be a short string unique to the warning situation that won't change. It will be different for different warnings in the future, though currently the only warning is the one presented in my comment above.

So I suggest you keep a translatable string for each known "warning.code" and look up that string based on the code field.

If you don't have a string for a certain code, then you can fallback to "warning.message" (or "description_override" if it exists) as you see fit. These will always be english but at least will be human readable strings for the situation.