本地化文件的處理[編輯原始碼]
文本編輯工具要用支持正則表達式的高級替換。
| 本地化 | 替換為 | 效果示例 |
|---|---|---|
#V (.*?)#! |
<b>$1</b> |
粗體就是遊戲內的白色着重 |
#underline (.*?)#! |
<u>$1</u> |
下劃線 |
#EMP (.*?)#! |
<tt>$1</tt> |
該角色嘲笑適度;全都要。 |
|
|
|
|
|
|
|
|
|
#weak (.*?)#! |
[模板https://www.parawikis.com/wiki/Template:Tlx?action=raw读取失败:HTTP 502] |
拉攏[模板https://www.parawikis.com/wiki/Template:Color?action=raw讀取失敗:HTTP 502] |
#N (.*?)#! |
[模板https://www.parawikis.com/wiki/Template:Tlx?action=raw读取失败:HTTP 502] |
[模板https://www.parawikis.com/wiki/Template:Color?action=raw讀取失敗:HTTP 502] |
#P (.*?)#! |
[模板https://www.parawikis.com/wiki/Template:Tlx?action=raw读取失败:HTTP 502] |
[模板https://www.parawikis.com/wiki/Template:Color?action=raw讀取失敗:HTTP 502] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:. "(.*)" |
\t$1 |
把代碼關鍵字和文本分隔開,刪掉半角雙引號
最後刪除行首空格和空行 |
整理後的本地化關鍵字和文本,可以放入電子表格進一步處理,比如製作模板數據或者查找表格。