Index: trunk/phase3/includes/zhtable/Makefile.py |
— | — | @@ -255,14 +255,14 @@ |
256 | 256 | return ret |
257 | 257 | |
258 | 258 | def GetPHPArray( table ): |
259 | | - lines = ['\'%s\' => \'%s\',' % (f, t) for (f, t) in table] |
| 259 | + lines = ['\'%s\' => \'%s\',' % (f, t) for (f, t) in table if f and t] |
260 | 260 | #lines = ['"%s"=>"%s",' % (f, t) for (f, t) in table] |
261 | 261 | return '\n'.join(lines) |
262 | 262 | |
263 | 263 | def RemoveSameChar( src_table ): |
264 | 264 | dst_table = {} |
265 | 265 | for f, t in src_table.items(): |
266 | | - if not f == t: |
| 266 | + if f != t: |
267 | 267 | dst_table[f] = t |
268 | 268 | return dst_table |
269 | 269 | |
Index: trunk/phase3/includes/ZhConversion.php |
— | — | @@ -2745,7 +2745,6 @@ |
2746 | 2746 | '𫛢' => '鸋', |
2747 | 2747 | '𫛶' => '鶒', |
2748 | 2748 | '𫛸' => '鶗', |
2749 | | -'' => '', |
2750 | 2749 | '0多只' => '0多隻', |
2751 | 2750 | '0天后' => '0天後', |
2752 | 2751 | '0只' => '0隻', |
— | — | @@ -18021,4 +18020,4 @@ |
18022 | 18021 | '笨豬跳' => '绑紧跳', |
18023 | 18022 | '蹦极跳' => '绑紧跳', |
18024 | 18023 | '笑星' => '谐星', |
18025 | | -); |
\ No newline at end of file |
| 18024 | +); |