I am working on adding more features and cleaning up the code. Can you distribute your contributions under an OS license (preferably MIT) and see if ThuGie can do the same. If you do that it can go up on my github and it would be so much easier
OK, my update is done. It allows for easy translation of tAuthentication into different languages, and individual languages per player. All translators have to do is to follow the example of english.lua and make their own language file.
I have a few more features I want to add, but I have also done considerable code cleanup and I want to release this version
Note: Treat this as unstable, MCS is not compiling on Linux ATM so I can't test it.
i already have a dutch.lua but I tried your update and i got this error:
Quote:Plugins/tAuthentication/main.lua:100: Function arguments expected near 'IniFile'
Can't load plugin Plugins/tAuthentication becouse of an error in file Plugins/tAuthentication/main.lua
AddTranslation(langNum, 1, "Gebruik: /register <wachtwoord>")
AddTranslation(langNum, 2, "Je bent all ingelogt!")
AddTranslation(langNum, 3, "Je gebruikersnaam is nu aangemaakt.")
AddTranslation(langNum, 4, "De gebruikersnaam is all in gebruik.")
AddTranslation(langNum, 5, "Gebruik: /login <wachtwoord>")
AddTranslation(langNum, 6, "Deze account heeft nog geen wachtwoord.")
AddTranslation(langNum, 7, "Je bent nu ingelogt.")
AddTranslation(langNum, 8, "Je heb een verkeerde wachtwoord ingevult.")
AddTranslation(langNum, 9, "Iemand probeerde onder je naam in te loggen.")
AddTranslation(langNum, 10, "[Server] All in het spel.")
AddTranslation(langNum, 11, "Log in voor je begint te graven.")
AddTranslation(langNum, 12, "Log in voor je een block probeert te plaatsen.")
AddTranslation(langNum, 13, "[Server] Herladen.")
01-27-2013, 08:07 AM (This post was last modified: 01-27-2013, 08:07 AM by NiLSPACE.)
lol i had this:
Code:
local langNum = AddLanguage("Dutch")
AddTranslation(langNum, 1, "Gebruik: /register <wachtwoord>")
AddTranslation(langNum, 2, "Je bent al ingelogt!")
AddTranslation(langNum, 3, "Je gebruikersnaam is nu geregistreert.")
AddTranslation(langNum, 4, "Je gebruikersnaam is al geregistreert.")
AddTranslation(langNum, 5, "Gebruik: /login <wachtwoord>")
AddTranslation(langNum, 6, "Dit account heeft nog geen wachtwoord.")
AddTranslation(langNum, 7, "Je bent nu ingelogt.")
AddTranslation(langNum, 8, "Je hebt het verkeerde wachtwoord ingevoert.")
AddTranslation(langNum, 9, "Iemand probeerde met jouw wachtwoord in te loggen.")
AddTranslation(langNum, 10, "[Server] Al in het spel.")
AddTranslation(langNum, 11, "Log eerst in voordat je blockjes gaat graven.")
AddTranslation(langNum, 12, "Log eerst in voordat je blockjes gaat plaatsen.")
AddTranslation(langNum, 13, "[Server] Herladen.")