Quantcast ESOUI - View Single Post - Help with "LorePlay" addon - German
View Single Post
11/04/19, 10:09 AM   #4
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 2,711
Sorry, got currently no time to check this
Maybe in the future.

Edit:
Checked the code at a glance, try this:
Lua Code:
  1. --New English
  2.  -- Add Wayshrines
  3.     local temp = {}
  4.     for cityName, cityData in pairs(languageTable.defaultEmotesByCity) do
  5.         local cityWayshrine = string.format(GetString(SI_DEATH_PROMPT_WAYSHRINE) .. " %s", cityName)
  6.         temp[cityName] = languageTable.defaultEmotesByCity[cityName]
  7.         temp[cityWayshrine] = languageTable.defaultEmotesByCity[cityName]
  8.     end
  9.     languageTable.defaultEmotesByCity = temp
  10.  
  11.  
  12. --new German
  13. -- Add Wayshrines
  14.     local tempDe
  15.     for cityName, cityData in pairs(languageTable.defaultEmotesByCity) do
  16.         local cityWayshrine = string.format(GetString(SI_DEATH_PROMPT_WAYSHRINE) .. " %s", cityName)
  17.         tempDe[cityName] = languageTable.defaultEmotesByCity[cityName]
  18.         tempDe[cityWayshrine] = languageTable.defaultEmotesByCity[cityName]
  19.     end
  20.     languageTable.defaultEmotesByCity = tempDe

Last edited by Baertram : 11/04/19 at 10:41 AM.
  Reply With Quote