question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

  1. Config:
module.exports = function() {
  return {
    publicOnly: true,
    requiresTranslation(key, locale) {
      return locale === 'en-us';
    }
  };
};
  1. en-us.yaml:
hello: "World"
timeUnits:
  days: "{count, plural, =1 {day} other {days}}"
  1. af-za.yaml:
hello: "World"
  1. Build log:
[ember-intl] "timeUnits.days" ICU argument missing: "af-za": "count"

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
wopiancommented, May 5, 2020

ember-intl@5 is the only dependency in yarn.lock. Will create an empty app.

0reactions
jasonmitcommented, May 6, 2020

5.0.7 corrects the behavior.

Read more comments on GitHub >

github_iconTop 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 >
Breaking changes in .NET 5 - Microsoft Learn
Navigate to the breaking changes in .NET 5.
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found