Skip to content

Commit f5409f3

Browse files
tinygroxLibrarian
authored andcommitted
modified: zh/Archive/源码/OpenTTD开发黑皮书/langfile格式
1 parent 3e50beb commit f5409f3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Page/zh/Archive/源码/OpenTTD开发黑皮书/langfile格式.mediawiki

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ langfile 中,每一行就是一个词条。
116116
| Korean
117117
|}
118118

119-
===Example===
120-
The standard language file '''english.txt''' starts with the following pragmas:
119+
===示例===
120+
基准语言文件'''english.txt'''的开头包含下列预处理指令:
121121
<pre>
122122
##name English (UK)
123123
##ownname English (UK)
@@ -128,14 +128,14 @@ The standard language file '''english.txt''' starts with the following pragmas:
128128
##id 0x0000
129129
</pre>
130130

131-
== Translations ==
131+
== 翻译 ==
132132
<span id="translations_section"></span>
133133

134-
Translations consist of a key and a translation. They are separated by a colon (:).
134+
翻译由键和译文组成。用冒号隔开(:)
135135

136-
=== Keys ===
136+
=== ===
137137

138-
The key can only contain uppercase letters, numbers and the underscore (_). Each key starts with "STR_" followed by one or more well describing words.
138+
键只能包含大写字母、数字和下划线(_)。每个键都以"STR_"开头,后面接单个或多个描述性词语。
139139

140140
STR_MAPSIZE
141141
STR_000F_PASSENGERS

0 commit comments

Comments
 (0)