GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

Problem with languageerrata.lua

tiegars opened this issue · 7 comments

commented

I have installed new Version 1.4.1 and activate languageerrata.lua. Now same problem. Error in loading game. And "last stand" not function. Here the Warrior:
warrior

Lua Error:
lua_error2

languageerrata.lua Code:

-- This file is to allow you to correct misspellings from the translator.

-- This is not for the feint at heart.

-- GS-E uses the enUS dictionary as the master disctionary. If a word is not
-- translated (comes up red) it means it is missing from the disctionary. If
-- it is missing completely and not just misspelt you will need to add the reverse

-- for your language

-- To use this you need to uncomment the function below. and put the correction

-- pointing to a spellID.

-- -- This function converts an enUS spell name to an ID.
GSAvailableLanguages[GSTRStaticHash]["enUS"] = {
["Last Stand"] = 12975,
}

-- -- This function converts a lowercalse enUS spell name to an ID.
GSAvailableLanguages[GSTRStaticShadow]["enUS"] = {
["last stand"] = 12975,
}

-- -- This function adds a spell to your local language.
-- -- You can override GetLocale() and provide a specific language like "esMX"
GSAvailableLanguages[GSTRStaticKey]["deDE"] = {
[12975] = ["Letztes Gefecht"],
}

What is wrong?

Thx for help!

commented

Which is line 27 of the errata?

commented

Line 27:
[12975] = ["Letztes Gefecht"],

commented

And you have a solution?

commented

No I don't. I cant create the problem. If i put your code in my myMacros
file its fine. All I can come up with is that the "'s copied into the file
are the wrong ones and look right

["Letztes Gefecht"], what if you make it
['Letztes Gefecht'],

do you get the same problem?

On Thu, Oct 6, 2016 at 1:28 AM, tiegars [email protected] wrote:

And you have a solution?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#98 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjBFRuM9gYKeON8K6sOTyQx_na_QbGJks5qw7sogaJpZM4KLuqd
.

commented

I have change to ['Letztes Gefecht'], same problem :(

commented

I can now reproduce the error. The error only appears when you make reload ui.

commented

I've added Last Stand, Flame On and Eye for an Eye to the translator so this modification should not be needed.