@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/cjs/index.js CHANGED
@@ -2735,7 +2735,7 @@ class Translator extends EventEmitter {
2735
2735
  const resForMissing = missingKeyNoValueFallbackToKey && usedKey ? undefined : res;
2736
2736
  const updateMissing = hasDefaultValue && defaultValue !== res && this.options.updateMissing;
2737
2737
  if (usedKey || usedDefault || updateMissing) {
2738
- this.logger.log(updateMissing ? 'updateKey' : 'missingKey', lng, namespace, key, updateMissing ? defaultValue : res);
2738
+ this.logger.log(updateMissing ? 'updateKey' : 'missingKey', lng, namespace, needsPluralHandling && !updateMissing ? `${key}${this.pluralResolver.getSuffix(lng, opt.count, opt)}` : key, updateMissing ? defaultValue : res);
2739
2739
  if (keySeparator) {
2740
2740
  const fk = this.resolve(key, {
2741
2741
  ...opt,