Butter Quest Tracker

Butter Quest Tracker

97.1k Downloads

These two labels and some text may also need to be localized.

yaoenqi opened this issue ยท 2 comments

commented

Question

These two labels may also need to be localized.
ButterQuestTracker.lua:
line:752 label = ' - Ready to turn in',
line:762 label = ' - Quest failed, abandon to restart.',

        elseif quest.completed then
            self.tracker:Font({
                label = ' - Ready to turn in',
                size = self.db.global.ObjectiveFontSize,
                color = "00b205",
                container = questContainer,
                margin = {
                    bottom = 2.5
                }
            });
        elseif quest.failed then
            self.tracker:Font({
                label = ' - Quest failed, abandon to restart.',
                size = self.db.global.ObjectiveFontSize,
                color = { r = 1, g = 0.1, b = 0.1 },
                container = questContainer,
                margin = {
                    bottom = 2.5
                }
            });`

and some text such as line 326

               objectives = {
                    [1] = {
                        text = "Sapphire of Aku'Mai: 5/20",
                        fulfilled = 5,
                        required = 20,
                        completed = false
                    }
                }

or line 807

        UIDropDownMenu_AddButton({
            text = "Untrack Quest",
            notCheckable = true,
            func = function()
                self.db.char.MANUALLY_TRACKED_QUESTS[self.contextMenu.quest.questID] = false;
                RemoveQuestWatch(self.contextMenu.quest.index);
            end
        });
commented

Hey @yaoenqi the new locale variables have been added.
However I didn't end up adding any for the "virtual / dummy quests" since it could get a bit overwhelming as we add more examples to that list.

Here are the new locale variables:

    ['QT_QUESTS'] = "Quests",
    ['QT_READY_TO_TURN_IN'] = "Ready to turn in",
    ['QT_FAILED'] = "Quest failed, abandon to restart.",
    ['QT_UNTRACK_QUEST'] = "Untrack Quest",
    ['QT_VIEW_QUEST'] = "View Quest",
    ['QT_WOWHEAD_URL'] = "|cff33ff99Wowhead|r URL",
    ['QT_SHARE_QUEST'] = "Share Quest",
    ['QT_CANCEL_QUEST'] = "Cancel Quest",
    ['QT_ABANDON_QUEST'] = "Abandon Quest",
commented

Hey @yaoenqi! Thanks for the heads up, I'll add a couple of new locale variables for these bits of text.