Comments (4)
I double-checked with @mathjazz, and I was wrong in assuming that this would trigger Pontoon's plural UI 😞
exposure-chart-heading =
{ $nr ->
*[other] <nr>{ $nr }</nr> <label>exposures</label>
}
We need the full plurals, even if that doesn't make a lot of sense for English
exposure-chart-heading =
{ $nr ->
[one] <nr>{ $nr }</nr> <label>exposure</label>
*[other] <nr>{ $nr }</nr> <label>exposures</label>
}
from blurts-server.
This is a super-sketchy chain of cursed greps, but we might have about 8 spots where we only have an *[other]
value in our .ftl files:
git grep -In -B1 "\*\[other\]" -- locales/en locales-pending/ | grep -A1 -E "\->$"
locales-pending/onboarding.ftl-18- $dataBrokerTotalCount ->
locales-pending/onboarding.ftl:19: *[other] With just a few key pieces of information, we’ll search for you in all known data breaches and { $dataBrokerTotalCount } major data broker sites. All users get the first scan free.
--
locales-pending/onboarding.ftl-58- $breachesTotalCount ->
locales-pending/onboarding.ftl:59: *[other] { $breachesScannedCount } of { $breachesTotalCount } known data breaches
--
locales-pending/onboarding.ftl-65- $dataBrokerTotalCount ->
locales-pending/onboarding.ftl:66: *[other] { $dataBrokerScannedCount } of { $dataBrokerTotalCount } data broker sites
--
locales-pending/premium.ftl-96- { $exposure_num ->
locales-pending/premium.ftl:97: *[other] { $exposure_num } found
--
locales/en/app.ftl-388- { $breachCount ->
locales/en/app.ftl:389: *[other] This email appeared in { $breachCount } known data breaches, including { $breachName }.
--
locales/en/app.ftl-637- { $numAffectedEmails ->
locales/en/app.ftl:638: *[other] { $numAffectedEmails } of your email addresses appeared in this breach. <a>What to do next</a>
--
locales/en/app.ftl-692- { $numResolvedBreaches ->
locales/en/app.ftl:693: *[other] { $numResolvedBreaches } Resolved
--
locales/en/app.ftl-704- { $numTotalBreaches ->
locales/en/app.ftl:705: *[other] { $numResolvedBreaches } out of { $numTotalBreaches } breaches marked as resolved
from blurts-server.
Update: apparently, I got the incorrect answer :-(
https://pontoon.mozilla.org/af/firefox/all-resources/?string=219592
This is an example showing that having other
is enough to trigger the Pontoon UI
exposure-chart-heading =
{ $nr ->
*[other] <nr>{ $nr }</nr> <label>exposures</label>
}
Having a singular form (that is unused) is not bad, just not necessary.
from blurts-server.
Sorry for causing the confusion - I misinterpreted the question. 🤦
from blurts-server.
Related Issues (20)
- Standarize close/dismiss buttons
- Prettier Formatting / Cleanup All TS/JS files HOT 1
- Add lint:ts to lint targets in package.json (in nextjs branch)? HOT 1
- Add eslint-plugin-import plugin? HOT 1
- Update Coverage Badge in README HOT 2
- The title does not fit to the body in the result page HOT 1
- Caz
- Update channels to match with nimbus ids HOT 1
- Poor JPEG images received at monitor.firefox.com when visitng with WebP accept header stripped HOT 2
- src/db/tables/featureFlags.ts uses `modified_at` whereas other tables use `updated_at`
- Non localizable string and placeholder issues in dashboard HOT 4
- Text overlap in landing page image (long localized category name)
- Style issue with hero image on new Mozilla Monitor home page (with long word; i18n)
- Gd
- Ganz
- Zcsng
- Ok
- Alternative solution for OneRep API key HOT 1
- Hudson Rock Cybercrime Intelligence Free Integration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blurts-server.