summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-10-21 20:12:48 +0000
committerrubidium <rubidium@openttd.org>2010-10-21 20:12:48 +0000
commit87edf2524d8904189391b427a9c823cb3d5fdf03 (patch)
tree5ec3718ba52a2dc2faff4c629269563996f348da /src/table
parenta671f64896251875f8b881db69ce1cc9cb358f5c (diff)
downloadopenttd-87edf2524d8904189391b427a9c823cb3d5fdf03.tar.xz
(svn r21004) -Fix [FS#3746]: chat/console messages got sometimes messed up due to LTR names in RTL translations and vice-versa
Diffstat (limited to 'src/table')
-rw-r--r--src/table/strgen_tables.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index e8f827ee2..b6facd5d7 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -137,13 +137,13 @@ static const CmdStruct _cmd_structs[] = {
/* The following are directional formatting codes used to get the RTL strings right:
* http://www.unicode.org/unicode/reports/tr9/#Directional_Formatting_Codes */
- {"LRM", EmitSingleChar, 0x200E, 0, C_DONTCOUNT},
- {"RLM", EmitSingleChar, 0x200F, 0, C_DONTCOUNT},
- {"LRE", EmitSingleChar, 0x202A, 0, C_DONTCOUNT},
- {"RLE", EmitSingleChar, 0x202B, 0, C_DONTCOUNT},
- {"LRO", EmitSingleChar, 0x202D, 0, C_DONTCOUNT},
- {"RLO", EmitSingleChar, 0x202E, 0, C_DONTCOUNT},
- {"PDF", EmitSingleChar, 0x202C, 0, C_DONTCOUNT},
+ {"LRM", EmitSingleChar, CHAR_TD_LRM, 0, C_DONTCOUNT},
+ {"RLM", EmitSingleChar, CHAR_TD_RLM, 0, C_DONTCOUNT},
+ {"LRE", EmitSingleChar, CHAR_TD_LRE, 0, C_DONTCOUNT},
+ {"RLE", EmitSingleChar, CHAR_TD_RLE, 0, C_DONTCOUNT},
+ {"LRO", EmitSingleChar, CHAR_TD_LRO, 0, C_DONTCOUNT},
+ {"RLO", EmitSingleChar, CHAR_TD_RLO, 0, C_DONTCOUNT},
+ {"PDF", EmitSingleChar, CHAR_TD_PDF, 0, C_DONTCOUNT},
};
/** Description of a plural form */