Skip to content

Commit

Permalink
module string (#981)
Browse files Browse the repository at this point in the history
* module string

* Update module_string_locale.md
  • Loading branch information
Kitzunu authored Aug 13, 2024
1 parent 69c9027 commit 82abe33
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/database-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@
- [mail_level_reward](mail_level_reward)
- [mail_loot_template](loot_template)
- [milling_loot_template](loot_template)
- [module_string](module_string)
- [module_string_locale](module_string_locale)

## N
- [npc_spellclick_spells](npc_spellclick_spells)
Expand Down
29 changes: 29 additions & 0 deletions docs/module_string.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# module_string

[<-Back-to:World](database-world)

**The module_string table**

This table holds information of string entries for modules.

**Table Structure**

| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| ----------------- | ------------ | ---------- | --- | ---- | ------- | ----- | ---------------------------- |
| [module](#module) | VARCHAR(255) | | PRI | NO | | | module dir name, eg mod-cfbg |
| [id](#id) | INT | UNSIGNED | PRI | NO | | | |
| [string](#string) | TEXT | | | NO | | | |

**Description of the fields**

### module

Module identifier

### id

String id

### string

The English text
45 changes: 45 additions & 0 deletions docs/module_string_locale.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# module_string_locale

[<-Back-to:World](database-world)

**The module_string_locale table**

This table holds information of string entries for modules.

**Table Structure**

| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| ----------------- | ------------ | --------------------------------------- | --- | ---- | ------- | ----- | ---------------------------- |
| [module](#module) | VARCHAR(255) | | PRI | NO | | | module dir name, eg mod-cfbg |
| [id](#id) | INT | UNSIGNED | PRI | NO | | | |
| [locale](#locale) | ENUM | koKR,frFR,deDE,zhCN,zhTW,esES,esMX,ruRU | PRI | NO | | | |
| [string](#string) | TEXT | | | NO | | | |

**Description of the fields**

### module

Module identifier in [module_string.module](module_string#module).

### id

String id in [module_string.id](module_string#id).

### locale

Which locale to translate to.

| Locale |
| ------ |
| koKR |
| frFR |
| deDE |
| zhCN |
| zhTW |
| esES |
| esMX |
| ruRU |

### string

The translated text of [module_string.string](module_string#string).

0 comments on commit 82abe33

Please sign in to comment.