@fkui/i18next-translate 6.43.1 → 6.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -2733,7 +2733,7 @@ class Translator extends EventEmitter {
2733
2733
  const resForMissing = missingKeyNoValueFallbackToKey && usedKey ? undefined : res;
2734
2734
  const updateMissing = hasDefaultValue && defaultValue !== res && this.options.updateMissing;
2735
2735
  if (usedKey || usedDefault || updateMissing) {
2736
- this.logger.log(updateMissing ? 'updateKey' : 'missingKey', lng, namespace, key, updateMissing ? defaultValue : res);
2736
+ this.logger.log(updateMissing ? 'updateKey' : 'missingKey', lng, namespace, needsPluralHandling && !updateMissing ? `${key}${this.pluralResolver.getSuffix(lng, opt.count, opt)}` : key, updateMissing ? defaultValue : res);
2737
2737
  if (keySeparator) {
2738
2738
  const fk = this.resolve(key, {
2739
2739
  ...opt,