From f74a91e86e118e9c6d5c19c8d24af3a70ca67a55 Mon Sep 17 00:00:00 2001 From: FALSAL Date: Thu, 29 Feb 2024 15:42:17 +0100 Subject: [PATCH] add comments for translation --- src/utils/transformJson.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/transformJson.js b/src/utils/transformJson.js index 838ff23c..63e6115e 100644 --- a/src/utils/transformJson.js +++ b/src/utils/transformJson.js @@ -106,9 +106,9 @@ export function jsonToStringArray(connection, toFrom = "to"){ } if(toFrom === "from"){ - stringArray.unshift(` < ${formatToHHMM(connection.fromtour_track_duration)} Std Rückstiegsdauer vom Touren-Endpunkt`) + stringArray.unshift(` < ${formatToHHMM(connection.fromtour_track_duration)} Std Rückstiegsdauer vom Touren-Endpunkt`) // for translation create seperate variables out of ${formatToHHMM(connection.fromtour_track_duration)} }else if(toFrom === "to"){ - stringArray.push(` > ${formatToHHMM(connection.fromtour_track_duration)} Std Zustiegsdauer zum Touren-Ausgangspunkt`) + stringArray.push(` > ${formatToHHMM(connection.totour_track_duration)} Std Zustiegsdauer zum Touren-Ausgangspunkt`) // for translation create seperate variables out of ${formatToHHMM(connection.totour_track_duration)} } }