Skip to content

Commit

Permalink
add comments for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Falsal committed Feb 29, 2024
1 parent 284efd0 commit f74a91e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/transformJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
}
}

Expand Down

0 comments on commit f74a91e

Please sign in to comment.