From: Daniel Karbach Date: Wed, 13 Feb 2013 18:33:06 +0000 (+0100) Subject: added fallback for string resources X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=63a2a96b70a18d08a2714571f79fe7d99612cb9e;p=l2e.git added fallback for string resources --- diff --git a/src/battle/Resources.cpp b/src/battle/Resources.cpp index 621f61e..9db29e1 100644 --- a/src/battle/Resources.cpp +++ b/src/battle/Resources.cpp @@ -52,15 +52,15 @@ Resources::Resources() , magicTargetCursor(0) , itemTargetCursor(0) -, spellMenuHeadline("") +, spellMenuHeadline("MISSING TRANSLATION") , spellMenuProperties(0) -, itemMenuHeadline("") +, itemMenuHeadline("MISSING TRANSLATION") , itemMenuProperties(0) -, ikariMenuHeadline("") +, ikariMenuHeadline("MISSING TRANSLATION") , ikariMenuProperties(0) -, noEquipmentText("") +, noEquipmentText("MISSING TRANSLATION") -, escapeText("") +, escapeText("MISSING TRANSLATION") , numberAnimationPrototype(0) , bigNumberSprite(0) @@ -84,22 +84,22 @@ Resources::Resources() , ikariLabelCol(0) , ikariLabelRow(0) -, victoryGetsText(0) -, victoryExpText(0) -, victoryGoldText(0) -, victoryLevelUpText(0) -, victoryUpgradeText(0) -, victoryNextLevelText(0) - -, victoryMHPText(0) -, victoryMMPText(0) -, victoryATPText(0) -, victoryDFPText(0) -, victorySTRText(0) -, victoryAGLText(0) -, victoryINTText(0) -, victoryGUTText(0) -, victoryMGRText(0) +, victoryGetsText("MISSING TRANSLATION") +, victoryExpText("MISSING TRANSLATION") +, victoryGoldText("MISSING TRANSLATION") +, victoryLevelUpText("MISSING TRANSLATION") +, victoryUpgradeText("MISSING TRANSLATION") +, victoryNextLevelText("MISSING TRANSLATION") + +, victoryMHPText("MISSING TRANSLATION") +, victoryMMPText("MISSING TRANSLATION") +, victoryATPText("MISSING TRANSLATION") +, victoryDFPText("MISSING TRANSLATION") +, victorySTRText("MISSING TRANSLATION") +, victoryAGLText("MISSING TRANSLATION") +, victoryINTText("MISSING TRANSLATION") +, victoryGUTText("MISSING TRANSLATION") +, victoryMGRText("MISSING TRANSLATION") { } diff --git a/src/menu/Resources.cpp b/src/menu/Resources.cpp index 2c75291..f7df71e 100644 --- a/src/menu/Resources.cpp +++ b/src/menu/Resources.cpp @@ -31,49 +31,49 @@ Resources::Resources() , statusFrame(0) , mainMenuProperties(0) -, mainMenuItemText(0) -, mainMenuSpellText(0) -, mainMenuCapsuleText(0) -, mainMenuEquipmentText(0) -, mainMenuStatusText(0) -, mainMenuChangeText(0) -, mainMenuConfigText(0) -, mainMenuScenarioText(0) - -, mainMenuTimeText(0) -, mainMenuGoldText(0) +, mainMenuItemText("MISSING TRANSLATION") +, mainMenuSpellText("MISSING TRANSLATION") +, mainMenuCapsuleText("MISSING TRANSLATION") +, mainMenuEquipmentText("MISSING TRANSLATION") +, mainMenuStatusText("MISSING TRANSLATION") +, mainMenuChangeText("MISSING TRANSLATION") +, mainMenuConfigText("MISSING TRANSLATION") +, mainMenuScenarioText("MISSING TRANSLATION") + +, mainMenuTimeText("MISSING TRANSLATION") +, mainMenuGoldText("MISSING TRANSLATION") , heroCursor(0) , heroCursorBlinkTime(0) -, noEquipmentText(0) +, noEquipmentText("MISSING TRANSLATION") , shoulderNav(0) -, atpLabel(0) -, dfpLabel(0) -, strLabel(0) -, aglLabel(0) -, intLabel(0) -, gutLabel(0) -, mgrLabel(0) +, atpLabel("MISSING TRANSLATION") +, dfpLabel("MISSING TRANSLATION") +, strLabel("MISSING TRANSLATION") +, aglLabel("MISSING TRANSLATION") +, intLabel("MISSING TRANSLATION") +, gutLabel("MISSING TRANSLATION") +, mgrLabel("MISSING TRANSLATION") -, hpLabel(0) -, ipLabel(0) -, levelLabel(0) -, experienceLabel(0) -, nextLevelLabel(0) +, hpLabel("MISSING TRANSLATION") +, ipLabel("MISSING TRANSLATION") +, levelLabel("MISSING TRANSLATION") +, experienceLabel("MISSING TRANSLATION") +, nextLevelLabel("MISSING TRANSLATION") , statusMenuProperties(0) -, nextLabel(0) -, returnLabel(0) +, nextLabel("MISSING TRANSLATION") +, returnLabel("MISSING TRANSLATION") , itemMenuProperties(0) -, itemMenuUseText(0) -, itemMenuSortText(0) -, itemMenuDropText(0) -, itemMenuSelectText(0) +, itemMenuUseText("MISSING TRANSLATION") +, itemMenuSortText("MISSING TRANSLATION") +, itemMenuDropText("MISSING TRANSLATION") +, itemMenuSelectText("MISSING TRANSLATION") , inventoryMenuProperties(0) @@ -81,44 +81,44 @@ Resources::Resources() , equipmentActionMenuProperties(0) , equipmentMenuProperties(0) -, equipMenuEquipLabel(0) -, equipMenuStrongestLabel(0) -, equipMenuRemoveLabel(0) -, equipMenuRemoveAllLabel(0) -, equipMenuDropLabel(0) +, equipMenuEquipLabel("MISSING TRANSLATION") +, equipMenuStrongestLabel("MISSING TRANSLATION") +, equipMenuRemoveLabel("MISSING TRANSLATION") +, equipMenuRemoveAllLabel("MISSING TRANSLATION") +, equipMenuDropLabel("MISSING TRANSLATION") , configMenuProperties(0) -, configMessageSpeedLabel(0) -, configMessageSpeedFast(0) -, configMessageSpeedNormal(0) -, configMessageSpeedSlow(0) -, configBattleCursorLabel(0) -, configStatusCursorLabel(0) -, configCursorClear(0) -, configCursorMemory(0) -, configMusicLabel(0) -, configMusicStereo(0) -, configMusicMono(0) +, configMessageSpeedLabel("MISSING TRANSLATION") +, configMessageSpeedFast("MISSING TRANSLATION") +, configMessageSpeedNormal("MISSING TRANSLATION") +, configMessageSpeedSlow("MISSING TRANSLATION") +, configBattleCursorLabel("MISSING TRANSLATION") +, configStatusCursorLabel("MISSING TRANSLATION") +, configCursorClear("MISSING TRANSLATION") +, configCursorMemory("MISSING TRANSLATION") +, configMusicLabel("MISSING TRANSLATION") +, configMusicStereo("MISSING TRANSLATION") +, configMusicMono("MISSING TRANSLATION") , scenarioMenuProperties(0) -, scenarioMenuHeadline(0) +, scenarioMenuHeadline("MISSING TRANSLATION") , capsulebg(0) , capsuleMenuProperties(0) , capsuleFeedMenuProperties(0) -, capsuleFeedLabel(0) -, capsuleChangeLabel(0) -, capsuleNameLabel(0) -, capsuleClassLabel(0) -, capsuleAlignmentLabel(0) -, capsuleTribeLabel(0) -, capsuleAttack1Label(0) -, capsuleAttack2Label(0) -, capsuleAttack3Label(0) -, capsuleNoAttackText(0) -, capsuleNotHungryText(0) +, capsuleFeedLabel("MISSING TRANSLATION") +, capsuleChangeLabel("MISSING TRANSLATION") +, capsuleNameLabel("MISSING TRANSLATION") +, capsuleClassLabel("MISSING TRANSLATION") +, capsuleAlignmentLabel("MISSING TRANSLATION") +, capsuleTribeLabel("MISSING TRANSLATION") +, capsuleAttack1Label("MISSING TRANSLATION") +, capsuleAttack2Label("MISSING TRANSLATION") +, capsuleAttack3Label("MISSING TRANSLATION") +, capsuleNoAttackText("MISSING TRANSLATION") +, capsuleNotHungryText("MISSING TRANSLATION") , capsuleNameCharSelectTemplate(0)