-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathInit_Post_Locale.lua
64 lines (49 loc) · 1.52 KB
/
Init_Post_Locale.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
-- Post_Locale_Init.lua
-- Written by KyrosKrane Sylvanblade (kyros@kyros.info)
-- Copyright (c) 2023 KyrosKrane Sylvanblade
-- Licensed under the MIT License, as per the included file.
-- Addon version: @project-version@
-- This file initializes settings that require or depend on localized strings for Annoying Popup Remover.
--#########################################
--# Parameters
--#########################################
-- Grab the WoW-defined addon folder name and storage table for our addon
local addonName, APR = ...
-- Get a handle to the localization table for easier reading
local L = APR.L
--#########################################
--# Config settings
--#########################################
-- These are the categories that modules can choose for showing their settings.
-- APR.Categories[100] = L["Items"]
-- APR.Categories[200] = L["Vendoring"]
-- APR.Categories[300] = L["NPC Interaction"]
-- APR.Categories[400] = L["Game Interface"]
-- APR.Categories[500] = L["Addon Options"]
APR.Categories = {
Items = {
name = L["ItemsHeader"],
type = "header",
order = 100,
}, -- Items
Vendoring = {
name = L["VendoringHeader"],
type = "header",
order = 200,
}, -- Vendoring
NPCInteraction = {
name = L["NPCInteractionHeader"],
type = "header",
order = 300,
}, -- NPCInteraction
GameInterface = {
name = L["GameInterfaceHeader"],
type = "header",
order = 400,
}, -- GameInterface
AddonOptions = {
name = L["AddonOptionsHeader"],
type = "header",
order = 600,
}, -- AddonOptions
}