View Single Post
01/26/18, 02:37 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Code:
USPF_SETTINGS_FONT_TITLE = "Font Einstellungen",

USPF_SETTINGS_FONT_TITLE_HEADER = "Kopf/Fuß Font",
USPF_SETTINGS_FONT_TITLE_DESC = "Setze den Tabellen Kopf und Fuß Font.",

USPF_SETTINGS_FONT_GSP_TITLE = "Genereller Eigenschaftspunkt Font",
USPF_SETTINGS_FONT_GSP_ROWS = "Setze den Eigenschaftspunkt Tabellenzeilen Font.",

USPF_SETTINGS_FONT_SQS_TITLE = "Quests & Himmelsscherben Font",
USPF_SETTINGS_FONT_SQS_ROWS = "Setze den Zonen Quest & Himmelsscherben Tabellenzeilen Font.",

USPF_SETTINGS_FONT_GDQ_TITLE = "Gruppen Verliesquests Font",
USPF_SETTINGS_FONT_GDQ_ROWS = "Setze den Gruppenverlies Quest Tabellenzeilen Font.",

USPF_SETTINGS_FONT_PDB_TITLE = "Öffentliches Verlies Gruppenevent Font",
USPF_SETTINGS_FONT_PDB_ROWS = "Setze den öffentliches Verlies Gruppenherausforderung Event Tabellenzeilen Font.",

USPF_SETTINGS_RELOAD_WARNING = "Wird die Benutzeroberfläche neu laden müssen.",


USPF_SETTINGS_COLOR_TITLE = "Farb Einstellungen",
USPF_SETTINGS_COLOR_GSP_DONE = "Generell - Erledigt",
USPF_SETTINGS_COLOR_GSP_NOT_DONE = "Generell - Offen",
USPF_SETTINGS_COLOR_ZQ_DONE = "Zonenquests - Erledigt",
USPF_SETTINGS_COLOR_ZQ_NOT_DONE = "Zonenquests - Offen",
USPF_SETTINGS_COLOR_SS_DONE = "Himmelsscherben - Erledigt",
USPF_SETTINGS_COLOR_SS_NOT_DONE = "Himmelsscherben - Offen",
USPF_SETTINGS_COLOR_GDQ_DONE = "Gruppenverliese - Erledigt",
USPF_SETTINGS_COLOR_GDQ_NOT_DONE = "Gruppenverliese - Offen",
USPF_SETTINGS_COLOR_PDB_DONE = "Öffentliche Verliese - Erledigt",
USPF_SETTINGS_COLOR_PDB_NOT_DONE = "Öffentliche Verliese - Offen",
USPF_SETTINGS_COLOR_DESC_DONE = "Setzte Farbe für erledigte Eingenschaftspunkte.",
USPF_SETTINGS_COLOR_DESC_NOT_DONE = "Setzte Farbe für offene Eingenschaftspunkte.",


USPF_SETTINGS_SORT_TITLE = "Sortierung Einstellungen",
USPF_SETTINGS_SORT_SQS = "Quest und Himmelsscherben Sortierung",
USPF_SETTINGS_SORT_SQS_DESC = "Setze die Sorierreihenfolge für die Hauptgeschichte Quests und Himmelsscherben Tabelle.",
USPF_SETTINGS_SORT_GDQ = "Gruppenverliese Sortierung",
USPF_SETTINGS_SORT_GDQ_DESC = "Setze die Sorierreihenfolge für die Gruppenverliese Tabelle.",
USPF_SETTINGS_SORT_PDB = "Öffentliche Verliese Sortierung",
USPF_SETTINGS_SORT_PDB_DESC = "Setze die Sorierreihenfolge für die Öffentliche Verliese Tabelle.",


USPF_GUI_CHAR_LEVEL = "Charakter Level",
USPF_GUI_MAIN_QUEST = "Hauptqgeschichten Quest",
USPF_GUI_MW_CHAR = "Morrowind Charakter",
USPF_GUI_AVA_RANK = "Allianzkrieg Rang",
USPF_GUI_MAEL_ARENA = "Maelstrom Arena",


USPF_GUI_TITLE = "Urich's Skill Point Finder",

USPF_GUI_GSP = "Generelle Skill Points",
USPF_GUI_SQS = "Hauptqgeschichten Quests & Himmelsscherben",
USPF_GUI_GDQ = "Gruppenverliese Quests",
USPF_GUI_PDB = "Öffentliche Verliese Gruppenherausforderung Events",
USPF_GUI_SOURCE = "Quelle",
USPF_GUI_PROGRESS = "Fortschritt",
USPF_GUI_ZONE = "Zone",
USPF_GUI_STORYLINE = "Hauptgeschichte",
USPF_GUI_SKYSHARDS = "Himmelsscherben",
USPF_GUI_DUNGEON_NAME = "Verlies Name",

USPF_GUI_TOTAL = "Gesamt",
USPF_GUI_CHAR_TOTAL = "Charakter Gesamt",


SI_BINDING_NAME_USPF_TOGGLE = "Zeige/Verstecke USPF Fenster.",
Hey there, I won't translate the POI names, sorry. Check "my idea" below.

Just a hint:
You should conside reusing your translations in themselves, like creating one translation of "Skyshards" via functions
ZO_CreateStringId(USPF_SKYSHARDS, "Skyshard")
SafeAddVersion(USPF_SKYSHARDS, 1)
and then reuse it via the GetString(USPF_SKYSHARD) in the other translations. Same for each group dungeon, public dungeon, etc. redundancy.

And use ingame available localized string constants via GetString() which can be found here, instead of creating new translations which are all there: https://github.com/esoui/esoui/blob/...tedstrings.lua

An idea
For the different POIs (delves, dungeons, etc.) you can switch the client to another language via chat command, e.g. German:
Code:
SetCVar("language.2", "de")
Available languages would be
en, fr, de, jp and others.

And then open the map, move the mouse over the poi and see the text. You can then use function
Lua Code:
  1. ZO_WorldMapMouseoverName:GetText()
to get the text.

Checking this addon's code (http://www.esoui.com/downloads/info4...KeepNames.html) you could prehook the function "ZO_MapPin.TOOLTIP_CREATORS[MAP_PIN_TYPE_POI_SEEN].creator(pin, ...)" and then use the code above to save the names to your savedvars.

You could use the zoneId of the zone and the poiIndex as array keys like the addon does:
Lua Code:
  1. local poiIndex = pin:GetPOIIndex()
  2.         local zoneId = GetZoneId(pin:GetPOIZoneIndex())

Last edited by Baertram : 01/26/18 at 02:54 PM.
  Reply With Quote