From 28158d37c0fb6e6bc627f1219bd99feac1751d19 Mon Sep 17 00:00:00 2001 From: KageRyo Date: Tue, 29 Oct 2024 23:52:32 +0800 Subject: [PATCH] fix: object bug --- WaterMirror/src/Result.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WaterMirror/src/Result.js b/WaterMirror/src/Result.js index f32f148..1956fdb 100644 --- a/WaterMirror/src/Result.js +++ b/WaterMirror/src/Result.js @@ -188,7 +188,7 @@ export default function ResultScreen({ navigation, route }) { Alert.alert( t('result.improvement.title'), - `${t('result.improvement.parameters')}\n\n${assessmentEntries.map(([key, value]) => { + `${assessmentEntries.map(([key, value]) => { return `${t(`result.improvement.parameters.${key}`)}:${value}`; }).join('\n')}\n`, badValues.length === 0