diff --git a/Localization.deDE.lua b/Localization.deDE.lua index 32378f2..f960fc0 100644 --- a/Localization.deDE.lua +++ b/Localization.deDE.lua @@ -4,10 +4,12 @@ if ( GetLocale() == "deDE" ) then TomTomLocals = { + ["%d yards"] = "%d Meter", + ["%s yards away"] = "%s Meter entfernt", ["Accept waypoints from guild and party members"] = "Erlaube Zielpunkte von Gilden- und Gruppenmitgliedern", ["Allow control-right clicking on map to create new waypoint"] = "Erlaube CTRL-Rechtsklick auf der Karte f\195\188r neue Zielpunkte", ["Arrow colors"] = "Pfeilfarben", - ["Automatically set waypoint arrow"] = "Autoatisches Setzten des Zielpunktpfeils", + ["Automatically set waypoint arrow"] = "Automatisches Setzen des Zielpunktpfeils", ["Background color"] = "Hintergrundfarbe", ["Bad color"] = "Farbe f\195\188r falsche Richtung", ["Block height"] = "H\195\182he der Positionsinfo", @@ -53,9 +55,10 @@ TomTomLocals = { ["The color to be displayed when you are moving in the opposite direction of the active waypoint"] = "Die Farbe des Pfeils, wenn sie sich in die entgegengesetzte Richtung zum Zielpunkt bewegen", ["The display of the coordinate block can be customized by changing the options below."] = "Die Anzeige der Koordinateninfo kann mit den unten stehenden Einstellungen ge\195\164ndert werden.", ["The floating waypoint arrow can change color depending on whether or nor you are facing your destination. By default it will display green when you are facing it directly, and red when you are facing away from it. These colors can be changed in this section. Setting these options to the same color will cause the arrow to not change color at all"] = "Der bewegliche Zielpunktpfeil \195\164ndert seine Farbe in Abh\195\164ngikeit der Blickrichtung zum Zielpunkt. Standardm\195\164ssig ist er gr\195\188n, wenn sie direkt zum Zielpunkt blicken, und rot in entgegengesetzter Richtung. Diese Farben k\195\182nnen hier eingestellt werden. Werden alle Farben auf den gleichen Wert gesetzt, \195\164ndert der Pfeil seine Farbe nicht", - ["This option will not remove any waypoints that are currently set to persist, but only effects new waypoints that get set"] = "Diese Einstellung entfernt keinen Zielpunkt, der als besethend markiert wurde, aber jeden neu gesetzten", + ["This option will not remove any waypoints that are currently set to persist, but only effects new waypoints that get set"] = "Diese Einstellung entfernt keinen Zielpunkt, der als bestehend markiert wurde, aber jeden neu gesetzten", ["This setting will control the distance at which the waypoint arrow switches to a downwards arrow, indicating you have arrived at your destination"] = "Diese Einstellung beeinflusst die Entfernung, bei der der Zielpunktpfeil sich vom Richtungspfeil zum Abw\195\164rtspfeil wandelt, zur Anzeig, dass sie ihr Ziel erreicht haben", ["TomTom"] = "TomTom", + ["TomTom can announce new waypoints to the default chat frame when they are added"] = "TomTom can announce new waypoints to the default chat frame when they are added", ["TomTom can display a tooltip containing information abouto waypoints, when they are moused over. This setting toggles that functionality"] = "TomTom zeigt Tooltips zu den Zielpunkten wenn die Maus sich dar\195\188ber befindet. Diese Einstellung schaltet die Funktion um", ["TomTom can display multiple waypoint arrows on the minimap. These options control the display of these waypoints"] = "TomTom kann mehrere Zielpunktpfeile in der Minikarte anzeigen. Diese Einstellungen beeinflussen diese Funktion", ["TomTom can display multiple waypoints on the world map. These options control the display of these waypoints"] = "TomTom kann mehrere Zielpunktpfeile in der Weltkarte anzeigen. Diese Einstellungen beeinflussen diese Funktion", @@ -64,7 +67,7 @@ TomTomLocals = { ["TomTom provides you with a floating coordinate display that can be used to determine your current position. These options can be used to enable or disable this display, or customize the block's display."] = "TomTom unterst\195\188tzt eine Positionsinfo, welche die aktuelle Position anzeigt. In diesen Einstellungen kann die Funktion ein-, ausgeschaltet und die Darstellung ge\195\164ndert werden.", ["TomTom's saved variables are organized so you can have shared options across all your characters, while having different sets of waypoints for each. These options sections allow you to change the saved variable configurations so you can set up per-character options, or even share waypoints between characters"] = "TomToms gespeicherte Einstellungen sind so organisiert, dass sie gemeinsame Optionen f\195\188r all ihre Charakter haben, aber unterschiedliche Zielpunkte f\195\188r jeden. Dieser Einstellungsabschnitt erlaubt es ihnen, die gespeicherten Konfigurationen pro Charakter fest zu legen, oder Zielpunkte zu teilen", ["Waypoint Arrow"] = "Zielpunktpfeil", - ["Waypoints can be automatically cleared when you reach them. This slider allows you to customize the distance in yards that signals your \"arrival\" at the waypoint. A setting of 0 turns off the auto-clearing feature\n\nChanging this setting only takes effect after reloading your interface."] = "Zielpunkte k\195\182nnen automatisch gel\195\182scht werden, wenn sie erreicht wurden. Dieser Schieberegler stellt die Entfernung in Yards zum Ziel ein, in der der Zielpunkt als \"erreicht\" gilt. Eine 0 als Einstellung schaltet die automatische Zielpunktl\195\182schung aus\n\n\195\132nderungen werden erst nach einem Neuladen des UI wirksam.", + ["Waypoints can be automatically cleared when you reach them. This slider allows you to customize the distance in yards that signals your \"arrival\" at the waypoint. A setting of 0 turns off the auto-clearing feature\n\nChanging this setting only takes effect after reloading your interface."] = "Zielpunkte k\195\182nnen automatisch gel\195\182scht werden, wenn sie erreicht wurden. Dieser Schieberegler stellt die Entfernung in Meter zum Ziel ein, in der der Zielpunkt als \"erreicht\" gilt. Eine 0 als Einstellung schaltet die automatische Zielpunktl\195\182schung aus\n\n\195\132nderungen werden erst nach einem Neuladen des UI wirksam.", ["Waypoints profile"] = "Zielpunkt Profile", ["When a new waypoint is added, TomTom can automatically set the new waypoint as the \"Crazy Arrow\" waypoint."] = "Wurde ein neuer Zielpunkt hinzugef\195\188gt, kann TomTom diesen Punkt automatisch als neuen \"Crazy Taxi\" Zielpunkt angeben.", ["World Map"] = "Weltkarte", @@ -76,6 +79,7 @@ TomTomLocals = { ["Yes"] = "Ja", ["No"] = "Nein", + } setmetatable(TomTomLocals, {__index=function(t,k) rawset(t, k, k); return k; end}) diff --git a/Localization.enUS.lua b/Localization.enUS.lua index 3a5befa..8be8578 100644 --- a/Localization.enUS.lua +++ b/Localization.enUS.lua @@ -1,6 +1,7 @@ --Localization.enUS.lua TomTomLocals = { + ["%d yards"] = "%d yards", ["%s (%.2f, %.2f)"] = "%s (%.2f, %.2f)", ["%s yards away"] = "%s yards away", ["Accept waypoints from guild and party members"] = "Accept waypoints from guild and party members", @@ -26,6 +27,8 @@ TomTomLocals = { ["Ctrl+Right Click To Add a Waypoint"] = "Ctrl+Right Click To Add a Waypoint", ["Cursor Coordinates"] = "Cursor Coordinates", ["Cursor coordinate accuracy"] = "Cursor coordinate accuracy", + ["Disable all mouse input"] = "Disable all mouse input", + ["Disables the crazy taxi arrow for mouse input, allowing all clicks to pass through"] = "Disables the crazy taxi arrow for mouse input, allowing all clicks to pass through", ["Display Settings"] = "Display Settings", ["Display waypoints from other zones"] = "Display waypoints from other zones", ["Enable coordinate block"] = "Enable coordinate block", @@ -84,13 +87,17 @@ TomTomLocals = { ["These options let you customize the size and opacity of the waypoint arrow, making it larger or partially transparent, as well as limiting the size of the title display."] = "These options let you customize the size and opacity of the waypoint arrow, making it larger or partially transparent, as well as limiting the size of the title display.", ["This option will not remove any waypoints that are currently set to persist, but only effects new waypoints that get set"] = "This option will not remove any waypoints that are currently set to persist, but only effects new waypoints that get set", ["This option will toggle whether or not you are asked to confirm removing all waypoints. If enabled, a dialog box will appear, requiring you to confirm removing the waypoints"] = "This option will toggle whether or not you are asked to confirm removing all waypoints. If enabled, a dialog box will appear, requiring you to confirm removing the waypoints", + ["This setting allows you to change the opacity of the title text, making it transparent or opaque"] = "This setting allows you to change the opacity of the title text, making it transparent or opaque", ["This setting allows you to change the opacity of the waypoint arrow, making it transparent or opaque"] = "This setting allows you to change the opacity of the waypoint arrow, making it transparent or opaque", ["This setting allows you to change the scale of the waypoint arrow, making it larger or smaller"] = "This setting allows you to change the scale of the waypoint arrow, making it larger or smaller", ["This setting allows you to specify the maximum height of the title text. Any titles that are longer than this height (in game pixels) will be truncated."] = "This setting allows you to specify the maximum height of the title text. Any titles that are longer than this height (in game pixels) will be truncated.", ["This setting allows you to specify the maximum width of the title text. Any titles that are longer than this width (in game pixels) will be wrapped to the next line."] = "This setting allows you to specify the maximum width of the title text. Any titles that are longer than this width (in game pixels) will be wrapped to the next line.", + ["This setting allows you to specify the scale of the title text."] = "This setting allows you to specify the scale of the title text.", ["This setting changes the modifier used by TomTom when right-clicking on the world map to create a waypoint"] = "This setting changes the modifier used by TomTom when right-clicking on the world map to create a waypoint", ["This setting will control the distance at which the waypoint arrow switches to a downwards arrow, indicating you have arrived at your destination"] = "This setting will control the distance at which the waypoint arrow switches to a downwards arrow, indicating you have arrived at your destination", + ["Title Alpha"] = "Title Alpha", ["Title Height"] = "Title Height", + ["Title Scale"] = "Title Scale", ["Title Width"] = "Title Width", ["TomTom"] = "TomTom", ["TomTom Waypoint Arrow"] = "TomTom Waypoint Arrow", @@ -103,6 +110,7 @@ TomTomLocals = { ["TomTom provides you with a floating coordinate display that can be used to determine your current position. These options can be used to enable or disable this display, or customize the block's display."] = "TomTom provides you with a floating coordinate display that can be used to determine your current position. These options can be used to enable or disable this display, or customize the block's display.", ["TomTom waypoint"] = "TomTom waypoint", ["TomTom's saved variables are organized so you can have shared options across all your characters, while having different sets of waypoints for each. These options sections allow you to change the saved variable configurations so you can set up per-character options, or even share waypoints between characters"] = "TomTom's saved variables are organized so you can have shared options across all your characters, while having different sets of waypoints for each. These options sections allow you to change the saved variable configurations so you can set up per-character options, or even share waypoints between characters", + ["Unknown distance"] = "Unknown distance", ["Waypoint Arrow"] = "Waypoint Arrow", ["Waypoint Options"] = "Waypoint Options", ["Waypoint communication"] = "Waypoint communication", diff --git a/TomTom_CrazyArrow.lua b/TomTom_CrazyArrow.lua index 93c9ed8..c663aaf 100644 --- a/TomTom_CrazyArrow.lua +++ b/TomTom_CrazyArrow.lua @@ -137,7 +137,7 @@ local function OnUpdate(self, elapsed) return end - status:SetText(sformat("%d yards", dist)) + status:SetText(sformat(L["%d yards"], dist)) local cell