Missing ICU argument warnings still appear for keys not present in 5.0.6
See original GitHub issue- I am on the latest ember-intl version
- I have searched the issues of this repo and believe that this is not a duplicate
5.0.0 added https://github.com/ember-intl/ember-intl/pull/1224 which was intended to suppress missing ICU argument warnings for keys not present in a given localisation file (while still warning if the key is missing for required translations). However it appears to still be warning for the same keys as in 4.2.4 before the PR was merged.
Environment
- Ember Version: 3.9.1
- Ember CLI Version: 3.9.0
- Ember Intl Version: 5.0.6
- Browser(s): N/A
- Node Version: 14.1.0
Steps to Reproduce
- Config:
module.exports = function() {
return {
publicOnly: true,
requiresTranslation(key, locale) {
return locale === 'en-us';
}
};
};
en-us.yaml
:
hello: "World"
timeUnits:
days: "{count, plural, =1 {day} other {days}}"
af-za.yaml
:
hello: "World"
- Build log:
[ember-intl] "timeUnits.days" ICU argument missing: "af-za": "count"
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
[Solved] HDMI audio out missing after system upgrade
I have restored a system backup, and HDMI audio out is present when boot from the backup, then went missing again after upgrading...
Read more >Each child in a list should have a unique "key" prop - Stack ...
JSX-Key missing warning: How the rule works? Warn if an element that likely requires a key prop--namely, one present in an array literal...
Read more >dtSearch Release Notes
CheckConfiguration checks for missing components such as the ICU library, CMAP files, alphabet file, stemming rules, etc. Use CheckConfigurationFlags to specify ...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
(was: =dev-java/jdbm-1.0 is available)" status:RESOLVED ... Bug:112423 - "sys-kernel/module-rebuild-0.5 does not appear to handle portage updates/moves" ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ember-intl@5 is the only dependency in yarn.lock. Will create an empty app.
5.0.7 corrects the behavior.