Quantcast Help with "LorePlay" addon - German - ESOUI
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
11/04/19, 05:51 AM   #1
Neverlands
 
Neverlands's Avatar
Join Date: Jul 2017
Posts: 6
Help with "LorePlay" addon - German

Hello,
the addon "LorePlay" by Justinon is discontinued and I cannot ask him for help.
With the English client the addon works fine but with the German client it does not recognize if one is in a specific city or region. I attach Justinon's English locales lua for regions and cities, his original German one and my translations.

There is only one difference to the English language lua which I can see.
English Justinon:

Code:
    -- Add Wayshrines
    local temp = {}
    for i,v in pairs(languageTable.defaultEmotesByCity) do
        local cityWayshrine = i.." Wayshrine"
        temp[i] = languageTable.defaultEmotesByCity[i]
        temp[cityWayshrine] = languageTable.defaultEmotesByCity[i]
    end
    languageTable.defaultEmotesByCity = temp
German Justinon:
Code:
    local cityWayshrine
    for i,v in pairs(languageTable.defaultEmotesByCity) do
        cityWayshrine = i.." Wayshrine"
        languageTable.defaultEmotesByCity[cityWayshrine] = languageTable.defaultEmotesByCity[i]
    end
I changed German to the following but without success:

Code:
    local cityWayshrine
    for i,v in pairs(languageTable.defaultEmotesByCity) do
        cityWayshrine = "Der Wegschrein von "..i
        languageTable.defaultEmotesByCity[cityWayshrine] = languageTable.defaultEmotesByCity[i]
     end
Unfortunately I am not familiar with the code so I don't have any idea why the German client doesn't recognize regions and cities. Help would be very appreciated.
Attached Files
File Type: lua en-Justinion.lua (9.7 KB, 20 views)
File Type: lua de-Justinion.lua (9.2 KB, 23 views)
File Type: lua de-neverlands.lua (11.3 KB, 22 views)
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Help with "LorePlay" addon - German

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off