From 37a67f68e471c68b464fd64e0a147b90fdfd0329 Mon Sep 17 00:00:00 2001 From: Francesco Borzì Date: Mon, 2 Dec 2019 19:05:48 +0100 Subject: doc: cleanup trinity_string (#154) --- docs/acore_string.md | 152 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 docs/acore_string.md (limited to 'docs/acore_string.md') 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** + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

entry

mediumint(8)

unsigned

PRI

NO

0

 

 

content_default

text

signed

 

NO

NULL

 

 

content_loc1

text

signed

 

YES

NULL

 

 

content_loc2

text

signed

 

YES

NULL

 

 

content_loc3

text

signed

 

YES

NULL

 

 

content_loc4

text

signed

 

YES

NULL

 

 

content_loc5

text

signed

 

YES

NULL

 

 

content_loc6

text

signed

 

YES

NULL

 

 

content_loc7

text

signed

 

YES

NULL

 

 

content_loc8

text

signed

 

YES

NULL

 

 

+ +**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. -- cgit