Ignoremodule lowercase | German locale file

This commit is contained in:
Samuel 2013-01-19 19:02:22 +01:00
parent f389c3b3fe
commit e8d0996817
3 changed files with 331 additions and 3 deletions

325
data/locales/ger.lua Normal file
View File

@ -0,0 +1,325 @@
locale = {
name = "ger",
charset = "cp1252",
languageName = "Deutsch",
translation = {
["1a) Offensive Name"] = false,
["1b) Invalid Name Format"] = false,
["1c) Unsuitable Name"] = false,
["1d) Name Inciting Rule Violation"] = false,
["2a) Offensive Statement"] = false,
["2b) Spamming"] = false,
["2c) Illegal Advertising"] = false,
["2d) Off-Topic Public Statement"] = false,
["2e) Non-English Public Statement"] = false,
["2f) Inciting Rule Violation"] = false,
["3a) Bug Abuse"] = false,
["3b) Game Weakness Abuse"] = false,
["3c) Using Unofficial Software to Play"] = false,
["3d) Hacking"] = false,
["3e) Multi-Clienting"] = false,
["3f) Account Trading or Sharing"] = false,
["4a) Threatening Gamemaster"] = false,
["4b) Pretending to Have Influence on Rule Enforcement"] = false,
["4c) False Report to Gamemaster"] = false,
["Accept"] = "Annehmen",
["Account name"] = "Benutzername",
["Account Status:\nFree Account"] = "Account Status",
["Account Status:\nPremium Account (%s) days left"] = "Estado de la cuenta:\nCuenta premium (%s) d<>as restantes",
["Action:"] = false,
["Add"] = "Hinzufügen",
["Add new VIP"] = "Neuen Freund hinzufügen",
["Addon 1"] = "Addon 1",
["Addon 2"] = "Addon 2",
["Addon 3"] = "Addon 3",
["Add to VIP list"] = "Zur VIP Liste hinzufügen",
["Adjust volume"] = "Lautstärke regeln",
["Alas! Brave adventurer, you have met a sad fate.\nBut do not despair, for the gods will bring you back\ninto this world in exchange for a small sacrifice\n\nSimply click on Ok to resume your journeys!"] = false,
["All modules and scripts were reloaded."] = "Alle Module wurden neu geladen",
["Allow auto chase override"] = false,
["Amount:"] = "Menge:",
["Amount"] = "Menge",
["Anonymous"] = "Anonym",
["Are you sure you want to logout?"] = "Sind Sie sicher das du das Spiel verlassen willst?",
["Attack"] = "Angreifen",
["Author"] = "Autor",
["Autoload"] = "Automatisch", -- not sure about context here
["Autoload priority"] = "Ladepriorität",
["Auto login"] = "Automatisch einloggen",
["Auto login selected character on next charlist load"] = "Automatisches einloggen des ausgewählten Charakters",
["Axe Fighting"] = "Axtkampf",
["Balance:"] = "Guthaben:",
["Banishment"] = false,
["Banishment + Final Warning"] = false,
["Battle"] = "Kampf",
["Browse"] = false,
["Bug report sent."] = "Bugreport würde versendet.",
["Button Assign"] = "Button Assign", -- context?
["Buy"] = "Kaufen",
["Buy Now"] = "Jetzt kaufen",
["Buy Offers"] = "Angebot",
["Buy with backpack"] = "Im Backpack kaufen",
["Cancel"] = "Abbrechen",
["Cannot login while already in game."] = "Sie können sich nicht einloggen während Sie im Spiel sind.",
["Cap"] = false,
["Capacity"] = "Belastbarkeit",
["Center"] = false,
["Channels"] = false,
["Character List"] = "Charakter Liste",
["Classic control"] = "Klassische Steuerung",
["Clear current message window"] = "Chatverlauf leeren",
["Clear object"] = "Objekt leeren",
["Client needs update."] = "Der Client muss geupdated werden.",
["Close"] = "Schließen",
["Close this channel"] = "Diesen Channel schließen",
["Club Fighting"] = "Keulenkampf",
["Combat Controls"] = "Kampfsteuerungen",
["Comment:"] = "Kommentar:",
["Connecting to game server..."] = "Verbindung zum Spielserver wird aufgebaut...",
["Connecting to login server..."] = "Verbindung zum Loginserver wird aufgebaut...",
["Copy message"] = "Nachricht kopieren",
["Copy name"] = "Namen kopieren",
["Copy Name"] = "Namen kopieren",
["Create New Offer"] = "Neues Angebot erstellen",
["Create Offer"] = "Angebot erstellen",
["Current hotkeys:"] = "Aktuelle Hotkeys",
["Current hotkey to add: %s"] = "Hotkeys zum hinzufügen: %s",
["Current Offers"] = "Aktuelle Angebote",
["Default"] = "Standart",
["Description"] = "Beschreibung",
["Destructive Behaviour"] = false,
["Detail"] = "Details",
["Details"] = false,
["Disable Shared Experience"] = "Expteilung deaktivieren",
["Distance Fighting"] = "Fernkampf",
["Edit hotkey text:"] = "Hotkeytext bearbeiten:",
["Edit List"] = "Liste bearbeiten",
["Edit Text"] = "Text bearbeiten",
["Enable music"] = "Musik einschalten",
["Enable Shared Experience"] = "Expteilung aktivieren",
["Enable vertical synchronization"] = "'Vertical Synchronization' aktivieren",
["Enter Game"] = "Dem Spiel beitreten",
["Enter one name per line."] = "Gib einen Namen pro Zeile ein.",
["Error"] = "Error",
["Error"] = "Error",
["Excessive Unjustified Player Killing"] = false,
["Exclude from private chat"] = "Aus dem Privatgespräch ausschließen",
["Exit"] = false,
["Experience"] = "Erfahrung",
["Filter list to match your level"] = false,
["Filter list to match your vocation"] = false,
["Fishing"] = "Fischen",
["Fist Fighting"] = "Faustkampf",
["Follow"] = "Verfolgen",
["Fullscreen"] = "Vollbild",
["Game framerate limit: %s"] = false,
["General"] = "General",
["Graphics"] = "Grafik",
["Graphics Engine:"] = "Grafikengine:",
["Head"] = "Kopf",
["Health Info"] = false,
["Health Information"] = false,
["Hide monsters"] = "Monster ausblenden",
["Hide non-skull players"] = "Spieler ohne Skull ausblenden",
["Hide Npcs"] = "NPCs ausblenden",
["Hide party members"] = "Partymitglieder ausblenden",
["Hide players"] = "Spieler ausblenden",
["Hit Points"] = "Lebenspunkte",
["Hold right mouse button to navigate\nScroll mouse middle button to zoom"] = false,
["Hotkeys"] = false,
["If you shut down the program, your character might stay in the game.\nClick on 'Logout' to ensure that you character leaves the game properly.\nClick on 'Exit' if you want to exit the program without logging out your character."] = "Wenn du das Programm schließt kann es sein, dass dein Charakter im Spiel verweilt.nKlicke 'Logout' um sicherzustellen, dass dein Charakter das Spiel wirklich verlässt.\nKlicke 'Exit' wenn du das Programm beenden willst on deinen Charakter auszuloggen.",
["Ignore capacity"] = "Belastbarkeit ignorieren",
["Ignore equipped"] = "Equipment ignorieren",
["Interface framerate limit: %s"] = false,
["Inventory"] = "Inventar",
["Invite to Party"] = "Zur Party einladen",
["Invite to private chat"] = "Zum Privatchat einladen",
["IP Address Banishment"] = false,
["Item Offers"] = false,
["It is empty.\n"] = false,
["Join %s's Party"] = "%ss Party beitreten",
["Leave Party"] = "Party verlassen",
["Level"] = "Stufe",
["Limits FPS to 60"] = "FPS auf 60 begrenzen",
["List of items that you're able to buy"] = "Liste der Items die du kaufen kannst",
["List of items that you're able to sell"] = "Liste der Items die du verkaufen kannst",
["Load"] = "Laden",
["Location"] = false,
["Logging out..."] = "Ausloggen...",
["Login"] = "Einloggen",
["Login Error"] = false,
["Login Error"] = false,
["Logout"] = "Ausloggen",
["Look"] = "Ansehen",
["Magic Level"] = "Magie Level",
["Make sure that your client uses\nthe correct game protocol version"] = "Vergewissere dich, dass der Client das richtige Protokoll verwendet.",
["Mana"] = "Mana",
["Manage hotkeys:"] = "Hotkeys verwalten:",
["Market"] = "Markt",
["Market Offers"] = "Marktangebot",
["Message of the day"] = "Nachricht des Tages",
["Message to "] = "Nachricht an ",
["Message to %s"] = "Nachricht an %s",
["Minimap"] = "Minimap",
["Module Manager"] = "Module verwalten",
["Module name"] = "Modulname",
["Move Stackable Item"] = false,
["Move up"] = false,
["My Offers"] = "Mein Angebot",
["Name:"] = "Name:",
["Name"] = false,
["Name Report"] = false,
["Name Report + Banishment"] = false,
["Name Report + Banishment + Final Warning"] = false,
["No"] = false,
["No item selected."] = "Keine Items ausgewählt",
["No Mount"] = "Kein Reittier",
["No Outfit"] = "Kein Outfit",
["No statement has been selected."] = false,
["Notation"] = false,
["NPC Trade"] = "NPC Handel",
["Offer History"] = "Angebotsverlauf",
["Offers"] = "Angebote",
["Offer Type:"] = "Angebotstyp:",
["Ok"] = false,
["Okay"] = false,
["on %s.\n"] = false,
["Open"] = "Öffnen",
["Open a private message channel:"] = "Privatchannel öffnen:",
["Open charlist automatically when starting otclient"] = "Charakterliste beim Start automatisch öffnen",
["Open in new window"] = "Im neuen Fenster öffnen",
["Open new channel"] = "Neuen Channel öffnen",
["Options"] = "Optionen",
["Particles Manager"] = false,
["Pass Leadership to %s"] = "%s zum Anführer ernennen",
["Password"] = "Passwort",
["Pause"] = false,
["Piece Price:"] = "Stückpreis",
["Please enter a character name:"] = "Bitte gib einen Charakternamen an:",
["Please, press the key you wish to add onto your hotkeys manager"] = "Bitte die gewünschte Taste drücken",
["Please Select"] = false,
["Please use this dialog to only report bugs. Do not report rule violations here!"] = false,
["Please wait"] = "Warte bitte",
["Port"] = "Port",
["Preview"] = "Vorschau",
["Price:"] = "Preis",
["Primary"] = "Primär",
["Protocol"] = "Protokoll",
["Quantity:"] = "Anzahl:",
["Quest Log"] = false,
["Randomize"] = false,
["Randomize characters outfit"] = "Zufälliges Outfit",
["Reason:"] = "Grund:",
["Refresh"] = "Aktualisieren",
["Reject"] = "Ablehnen",
["Reload"] = "Neu laden",
["Reload All"] = "Alle neu laden",
["Remember account and password when starts otclient"] = "Benutzernamen und Passwort speichern",
["Remember password"] = "Passwort speichern",
["Remove"] = "Entfernen",
["Remove %s"] = "%s entfernen",
["Report Bug"] = false,
["Revoke %s's Invitation"] = "%ss Einladung zurückziehen",
["Rotate"] = "Rotieren",
["Rule Violation"] = false,
["Search:"] = "Suchen:",
["Search"] = "Suchen",
["Secondary"] = "Sekundär",
["Select object"] = "Objekt auswählen",
["Select Outfit"] = "Outfit auswählen",
["Sell"] = "Verkaufen",
["Sell Now"] = "Jetzt verkaufen",
["Sell Offers"] = "Verkaufsangebote",
["Send"] = "Versenden",
["Send automatically"] = "Automatisch versenden",
["Server"] = "Server",
["Server Log"] = false,
["Set Outfit"] = "Outfit ändern",
["Shielding"] = "Verteidigung",
["Show all items"] = "Alle Items anzeigen",
["Show Depot Only"] = false,
["Show event messages in console"] = "Event Nachrichten in der Konsole anzeigen",
["Show frame rate"] = "FPS Rate anzeigen",
["Show info messages in console"] = "Informations Nachrichten in der Konsole anzeigen",
["Show left panel"] = false,
["Show levels in console"] = "Level in der Konsole anzeigen",
["Show private messages in console"] = "Privatnachrichten in der Konsole anzeigen",
["Show private messages on screen"] = "Privatenachrichten auf dem Bildschirm anzeigen",
["Show status messages in console"] = "Status Nachrichten in der Konsole anzeigen",
["Show Text"] = "Text anzeigen",
["Show timestamps in console"] = "Zeit in der Konsole anzeigen",
["Show your depot items only"] = "Nur Depotitems anzeigen",
["Skills"] = "Fähigkeiten",
["Soul"] = false,
["Soul Points"] = false,
["Stamina"] = "Ausdauer",
["Start"] = false,
["Statement:"] = false,
["Statement Report"] = false,
["Statistics"] = "Statistiken",
["Stop Attack"] = "Angriff abbrechen",
["Stop Follow"] = "Verfolgen abbrechen",
["%s: (use object)"] = "%s: (Objekt benutzen)",
["%s: (use object on target)"] = "%s: (Objekt auf Ziel benutzen)",
["%s: (use object on yourself)"] = false,
["%s: (use object with crosshair)"] = false,
["Sword Fighting"] = "Schwertkampf",
["Terminal"] = "Terminal",
["There is no way."] = "Es gibt keinen Weg dagin.",
["Total Price:"] = "Gesamtpreis:",
["Trade"] = "Handel",
["Trade with ..."] = "Handeln mit ...",
["Trying to reconnect in %s seconds."] = "Versuch neu zu verbinden in %s Sekunden.",
["Unable to load dat file, please place a valid dat in '%s'"] = false,
["Unable to load spr file, please place a valid spr in '%s'"] = false,
["Unable to logout."] = "Es ist nicht möglich auszuloggen.",
["Unload"] = false,
["Use"] = "Benutzen",
["Use on target"] = "Auf Ziel benutzen",
["Use on yourself"] = false,
["Use with ..."] = "Benutzen mit ...",
["Version"] = "Version",
["VIP list"] = "VIP Liste",
["VIP List"] = "VIP Liste",
["Voc."] = false,
["Waiting List"] = "Warteliste",
["Website"] = false,
["Weight:"] = "Gewicht:",
["With crosshair"] = false,
["Yes"] = false,
["You are bleeding"] = "Du blutest",
["You are burning"] = "Du brennst",
["You are cursed"] = "Du bist verflucht",
["You are dazzled"] = "Du bist geblendet",
["You are dead."] = "Du bist tot.",
["You are dead"] = "Du bist tot",
["You are drowing"] = "Du ertrinkst",
["You are drunk"] = "Du bist betrunken",
["You are electrified"] = "Du bist elektrifiziert",
["You are freezing"] = "Du bist am Erfrieren",
["You are hasted"] = "Du bist am Eilen",
["You are hungry"] = "Du bist hungrig",
["You are paralysed"] = "Du bist paralysiert",
["You are poisoned"] = "Du bist vergiftet",
["You are protected by a magic shield"] = "Du wirst von einem magischen Schild beschützt",
["You are strengthened"] = "Du bist gestärkt",
["You are within a protection zone"] = "Du befindest dich in einer Schutzzone",
["You can enter new text."] = "Du kannst einen neuen Text eingeben",
["You have %s percent"] = "Du hast %d Prozent",
["You have %s percent to go"] = "Dir fehlen %d Prozent",
["You may not logout during a fight"] = "Du kannst nicht mitten im Kampf ausloggen",
["You may not logout or enter a protection zone"] = "Du kannst nicht ausloggen oder eine Schutzzone betreten",
["You must enter a comment."] = "Du musst einen Kommentar eingeben.",
["You must enter an account name and password."] = "Du musst deinen Benutzernamen und dein Passwort eingeben.",
["You must enter a valid server address and port."] = "Du musst eine gültige Serveradresse und einen gültigen Port eingeben",
["You must select a character to login!"] = "Du musst einen Charakter auswählen!",
["Your Capacity:"] = "Deine Belastbarkeit:",
["You read the following, written by \n%s\n"] = "Du liest das Folgende, geschrieben von \n%s\n",
["You read the following, written on %s.\n"] = "Du liest das Folgende, geschrieben von %s.\n",
["Your Money:"] = "Dein Geld:",
}
}
modules.client_locales.installLocale(locale)

View File

@ -47,8 +47,11 @@ function table.merge(t, src)
end end
end end
function table.find(t, value) function table.find(t, value, lowercase)
for k,v in pairs(t) do for k,v in pairs(t) do
if lowercase and type(value) == 'string' and type(v) == 'string' then
if v:lower() == value:lower() then return k end
end
if v == value then return k end if v == value then return k end
end end
end end

View File

@ -631,7 +631,7 @@ function onTalk(name, level, mode, message, channelId, creaturePos)
return return
elseif speaktype.private and isIgnoringPrivate() and mode ~= MessageModes.NpcFrom then elseif speaktype.private and isIgnoringPrivate() and mode ~= MessageModes.NpcFrom then
return return
elseif isIgnored(name) or isIgnored(name:lower()) then elseif isIgnored(name) then
return return
end end
end end
@ -787,7 +787,7 @@ function saveIgnoreSettings()
end end
function isIgnored(name) function isIgnored(name)
return table.find(ignoreSettings.players, name) return table.find(ignoreSettings.players, name, true)
end end
function addIgnoredPlayer(name) function addIgnoredPlayer(name)