There are two types of variables in the text files: %s, %i. All of these will add something within the single string, here are some examples.
There are two types of variables in the text files: `%s`, `%i`. All of these will add something within the single string, here are some examples.
`%s` will always be another word. Example: `%s of %s` refers to an created Item which includes affixes. `Tin Cap of the Fool` would be such an item.
`%s` will always be another word. Example: `%s of %s` refers to an created Item which includes affixes. `Tin Cap of the Fool` would be such an item.
`%i` will always be a number. Example: Fire hit damage: %i-%i` will indicate how much fire damage a weapon will deal
`%i` will always be a number. Example: `Fire hit damage: %i-%i` will indicate how much fire damage a weapon will deal.
**IMPORTANT**: You have to keep those intact and in the same order.
**IMPORTANT**: You have to keep those intact and in the same order.
### Example
### Example
@ -30,7 +30,7 @@ The rather tricky line `%s of %s` is used to create items with pre- and suffixes
## Adding lines
## Adding lines
Unfortunately it is not possible to add new lines for languages outside of quest texts.
Unfortunately it is not possible to add new lines for languages outside of quest texts.
## Names
## Names
Please try to keep original names intact, however it's up to your judgment to change something that sounds completely wrong in the language you are translating to.
Please try to keep original names intact, however it's up to your judgment to change something that sounds completely wrong in the language you are translating to.
@ -58,12 +58,13 @@ Bad:
Don't worry – we all forget details. Here's a list of resources you can use if you are unsure about a thing.
Don't worry – we all forget details. Here's a list of resources you can use if you are unsure about a thing.