v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Difference between revisions of "v0.31:Language token"
Jump to navigation
Jump to search
m (moved DF2010:Word token to DF2010:Language token) |
|||
Line 12: | Line 12: | ||
|- | |- | ||
| NOUN | | NOUN | ||
− | | | + | | |
− | | Begins defining a noun usage of a word | + | * singular |
+ | * plural | ||
+ | | Begins defining a noun usage of a word | ||
|- | |- | ||
| ADJ | | ADJ | ||
− | | adjective | + | | |
+ | * adjective | ||
| Begins defining an adjective usage of a word | | Begins defining an adjective usage of a word | ||
|- | |- | ||
| PREFIX | | PREFIX | ||
− | | prefix | + | | |
+ | * prefix | ||
| Begins defining a prefix usage of a word | | Begins defining a prefix usage of a word | ||
|- | |- | ||
| VERB | | VERB | ||
− | | | + | | |
+ | * base | ||
+ | * present simple | ||
+ | * past tense | ||
+ | * past participle | ||
+ | * present participle | ||
| Defines a verb usage of a word | | Defines a verb usage of a word | ||
Line 38: | Line 47: | ||
| THE_NOUN_SING | | THE_NOUN_SING | ||
| | | | ||
− | | | + | | |
− | + | ||
|- | |- | ||
| THE_NOUN_PLUR | | THE_NOUN_PLUR | ||
| | | | ||
− | | | + | | |
|- | |- | ||
| THE_COMPOUND_NOUN_SING | | THE_COMPOUND_NOUN_SING | ||
| | | | ||
− | | | + | | |
|- | |- | ||
| THE_COMPOUND_NOUN_PLUR | | THE_COMPOUND_NOUN_PLUR | ||
| | | | ||
− | | | + | | |
|- | |- | ||
Line 113: | Line 122: | ||
| STANDARD_VERB | | STANDARD_VERB | ||
| | | | ||
− | | | + | | Unknown. |
|} | |} | ||
Line 126: | Line 135: | ||
|- | |- | ||
| S_WORD | | S_WORD | ||
− | | WORD | + | | |
− | | | + | * WORD |
+ | | Specifies the given WORD (defined in language_words.txt) as belonging to the symbol being defined. A given word can belong to multiple symbols. | ||
|} | |} | ||
Line 134: | Line 144: | ||
==TRANSLATION== | ==TRANSLATION== | ||
− | |||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
Line 144: | Line 153: | ||
| T_WORD | | T_WORD | ||
| | | | ||
− | | | + | * WORD |
+ | * translation | ||
+ | | Specifies a translation from a given WORD (defined in language_words.txt) into the language being defined. | ||
|} | |} |
Revision as of 21:35, 31 March 2011
This article is about an older version of DF. |
Language tokens are used within the language_*.txt raw files. Each token is permitted in a specific context.
WORD
Token | Arguments | Description |
---|---|---|
NOUN |
|
Begins defining a noun usage of a word |
ADJ |
|
Begins defining an adjective usage of a word |
PREFIX |
|
Begins defining a prefix usage of a word |
VERB |
|
Defines a verb usage of a word |
ADJ_DIST | number | Determines what order the adjective being defined comes in when in a string of multiple adjectives. |
THE_NOUN_SING | ||
THE_NOUN_PLUR | ||
THE_COMPOUND_NOUN_SING | ||
THE_COMPOUND_NOUN_PLUR | ||
THE_COMPOUND_ADJ | ||
OF_NOUN_SING | ||
OF_NOUN_PLUR | ||
FRONT_COMPOUND_NOUN_SING | ||
FRONT_COMPOUND_NOUN_PLUR | ||
REAR_COMPOUND_NOUN_SING | ||
REAR_COMPOUND_NOUN_PLUR | ||
FRONT_COMPOUND_ADJ | ||
REAR_COMPOUND_ADJ | ||
FRONT_COMPOUND_PREFIX | ||
THE_COMPOUND_PREFIX | ||
STANDARD_VERB | Unknown. |
SYMBOL
Token | Arguments | Description |
---|---|---|
S_WORD |
|
Specifies the given WORD (defined in language_words.txt) as belonging to the symbol being defined. A given word can belong to multiple symbols. |
TRANSLATION
Token | Arguments | Description |
---|---|---|
T_WORD |
|
Specifies a translation from a given WORD (defined in language_words.txt) into the language being defined. |