@umituz/react-native-localization 3.5.15 → 3.5.17
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/package.json
CHANGED
|
@@ -90,13 +90,9 @@ export const useTranslationFunction = () => {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
// Development mode logging
|
|
94
|
-
if (__DEV__) {
|
|
95
|
-
|
|
96
|
-
console.log(`[i18n] ✅ Found - Key: "${usedKey}" → "${finalResult}"`);
|
|
97
|
-
} else {
|
|
98
|
-
console.warn(`[i18n] ⚠️ Missing - Key: "${usedKey}" → Fallback: "${finalResult}"`);
|
|
99
|
-
}
|
|
93
|
+
// Development mode logging - only log missing translations
|
|
94
|
+
if (__DEV__ && !translationFound) {
|
|
95
|
+
console.warn(`[i18n] ⚠️ Missing - Key: "${usedKey}" → Fallback: "${finalResult}"`);
|
|
100
96
|
}
|
|
101
97
|
|
|
102
98
|
return finalResult;
|