View Single Post
11/01/14, 02:34 PM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by circonian View Post
I don't know if I'm doing something wrong or if it is supposed to be like this, but checking against the google translater it doesn't look like those ^f and ^n characters are supposed to be on the end of the strings.
Do you have to zo_strformat it too somehow?


This is what some of the code looks like:
Lua Code:
  1. name = GetString(SI_ITEMTYPE1), -- "[eng] Weapon", -- SI_ITEMTYPE1
  2. name = GetString(SI_ITEMTYPE44),    -- "[eng] Style Material", -- SI_ITEMTYPE44
  3. name = GetString(SI_ITEMTYPE45),    -- "[eng] Armor Trait", -- SI_ITEMTYPE45
  4. name = GetString(SI_ITEMTYPE46),    -- "[eng] Weapon Trait", -- SI_ITEMTYPE46
No, characters ^??? should not be at the end of german words. They are here just to help with localization - they indicates if the word is singular or plural and if it is masculine/femine/neuter gender:
http://www.esoui.com/forums/showthread.php?p=7321

You can use for example:
Lua Code:
  1. name = zo_strformat(SI_ITEMTYPE1)
  2. name = zo_strformat(GetString("SI_ITEMTYPE", itemType))

Last edited by Garkin : 11/01/14 at 02:39 PM.
  Reply With Quote