diff --git a/index.html b/index.html index 196ca75..c3559a1 100644 --- a/index.html +++ b/index.html @@ -43,7 +43,7 @@
Organic Maps Locale File Viewer
-

Don't worry about adding or removing periods like . (Japanese) or (Hindi) at the end of strings. They will not affect the TTS speech either way.

+

Don't worry about adding or removing periods like . (Japanese) or (Hindi) at the end of strings. They will not affect the TTS speech either way.
You may hover over phrases to see their English version in a popup. Right-to-left languages may not be displayed correctly.

Locale language:
"; @@ -273,7 +281,10 @@ function buildFmtStringInput(key, value, color="text-bg-primary", fmtKey, editable=true) { var classes = "stringTxt"; - console.log(fmtKey); + + // replace RTL chars with their HTML equivalent + value = value.replace("\\u202C", "‬"); + var out = "