@flusys/ng-shared 5.1.1 → 5.1.3
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.
|
@@ -723,7 +723,7 @@ class TranslateService {
|
|
|
723
723
|
});
|
|
724
724
|
translate(key, params) {
|
|
725
725
|
if (this.localizationState === null) {
|
|
726
|
-
const value = this.registry[key];
|
|
726
|
+
const value = this.registry[key] ?? key;
|
|
727
727
|
return this.interpolate(value, params);
|
|
728
728
|
}
|
|
729
729
|
const translations = this.localizationState.translations();
|