diff options
| author | Francesco Borzì <borzifrancesco@gmail.com> | 2019-12-02 19:05:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-02 19:05:48 +0100 |
| commit | 37a67f68e471c68b464fd64e0a147b90fdfd0329 (patch) | |
| tree | 16814142a0fa5e3ce1ce04b4be7d4a2143c4ee8a /docs/acore_string.md | |
| parent | 024cdcce92e9dba27c891736aec84ba94e039dd4 (diff) | |
| download | wiki-37a67f68e471c68b464fd64e0a147b90fdfd0329.tar.gz wiki-37a67f68e471c68b464fd64e0a147b90fdfd0329.tar.bz2 wiki-37a67f68e471c68b464fd64e0a147b90fdfd0329.zip | |
doc: cleanup trinity_string (#154)
Diffstat (limited to 'docs/acore_string.md')
| -rw-r--r-- | docs/acore_string.md | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/docs/acore_string.md b/docs/acore_string.md new file mode 100644 index 0000000..379a279 --- /dev/null +++ b/docs/acore_string.md @@ -0,0 +1,152 @@ +# acore_string + +[<-Back-to:World](database-world.md) + +**The \`acore_string\` table** + +This table holds all of the strings used internally by the server. This table is provided with the main purpose of translation in mind. + +To see which locale IDs correspond to what languages, visit the Localization\_lang page. + +NOTE: The % arguments need to stay in the exact same order as they are provided by default in the English translation. + +**Structure** + +<table> +<colgroup> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +</colgroup> +<tbody> +<tr class="odd"> +<td><p><strong>Field</strong></p></td> +<td><p><strong>Type</strong></p></td> +<td><p><strong>Attributes</strong></p></td> +<td><p><strong>Key</strong></p></td> +<td><p><strong>Null</strong></p></td> +<td><p><strong>Default</strong></p></td> +<td><p><strong>Extra</strong></p></td> +<td><p><strong>Comment</strong></p></td> +</tr> +<tr class="even"> +<td><p><a href="#entry">entry</a></p></td> +<td><p>mediumint(8)</p></td> +<td><p>unsigned</p></td> +<td><p>PRI</p></td> +<td><p>NO</p></td> +<td><p>0</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +<tr class="odd"> +<td><p><a href="#content_default">content_default</a></p></td> +<td><p>text</p></td> +<td><p>signed</p></td> +<td><p> </p></td> +<td><p>NO</p></td> +<td><p>NULL</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +<tr class="even"> +<td><p><a href="#content_loc">content_loc1</a></p></td> +<td><p>text</p></td> +<td><p>signed</p></td> +<td><p> </p></td> +<td><p>YES</p></td> +<td><p>NULL</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +<tr class="odd"> +<td><p><a href="#content_loc">content_loc2</a></p></td> +<td><p>text</p></td> +<td><p>signed</p></td> +<td><p> </p></td> +<td><p>YES</p></td> +<td><p>NULL</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +<tr class="even"> +<td><p><a href="#content_loc">content_loc3</a></p></td> +<td><p>text</p></td> +<td><p>signed</p></td> +<td><p> </p></td> +<td><p>YES</p></td> +<td><p>NULL</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +<tr class="odd"> +<td><p><a href="#content_loc">content_loc4</a></p></td> +<td><p>text</p></td> +<td><p>signed</p></td> +<td><p> </p></td> +<td><p>YES</p></td> +<td><p>NULL</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +<tr class="even"> +<td><p><a href="#content_loc">content_loc5</a></p></td> +<td><p>text</p></td> +<td><p>signed</p></td> +<td><p> </p></td> +<td><p>YES</p></td> +<td><p>NULL</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +<tr class="odd"> +<td><p><a href="#content_loc">content_loc6</a></p></td> +<td><p>text</p></td> +<td><p>signed</p></td> +<td><p> </p></td> +<td><p>YES</p></td> +<td><p>NULL</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +<tr class="even"> +<td><p><a href="#content_loc">content_loc7</a></p></td> +<td><p>text</p></td> +<td><p>signed</p></td> +<td><p> </p></td> +<td><p>YES</p></td> +<td><p>NULL</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +<tr class="odd"> +<td><p><a href="#content_loc">content_loc8</a></p></td> +<td><p>text</p></td> +<td><p>signed</p></td> +<td><p> </p></td> +<td><p>YES</p></td> +<td><p>NULL</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +</tbody> +</table> + +**Description of the fields** + +### entry + +The ID that the core uses to identify a string. These IDs are contained and used internally and need to correspond to what the core expects. The core will not operate if all IDs aren't in this table. + +### content\_default + +The English translation (locale ID 0). + +### content\_loc + +The translation in another language depending on the locale ID of that language. |
