Remove string which use {{n}} from index.html

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
4 years ago
2 years ago

People

(Reporter: stas, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
I'm working on introducing more strict build error reporting for l10n.js and I ran into a few strings in the SMS app which cannot be resolved on buildtime because they depend on external variables:

participant          = {[ plural(n) ]} 
participant[one]     = {{n}} participant
participant[two]     = {{n}} participants
participant[few]     = {{n}} participants
participant[many]    = {{n}} participants 
participant[other]   = {{n}} participants

send-button-sim-indication = {{n}}
send-button-sim-indication.ariaLabel = using SIM {{n}} 

I didn't check all of them, so there might be more.

Should we add data-l10n-ids dynamically in these cases?
I'm quite sure "participant" is clearly always set when we enter the view. I'm not sure for the send button, I think we have something clever happening in the multi_sim_action_button.js library reusing the l10n-id it finds on the markup. Needs to be checked though.
Mass closing of Gaia::SMS bugs. End of an era :(
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
Mass closing of Gaia::SMS bugs. End of an era :(
You need to log in before you can comment on or make changes to this bug.