Skip to content

Commit

Permalink
Merge pull request #39 from MuMuQ/feature/craftstore-module-tooltips
Browse files Browse the repository at this point in the history
Add tooltips to options for enabling different CraftStore modules
  • Loading branch information
Rhyono committed Aug 24, 2023
2 parents f7a9e10 + 488abab commit 64945c2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CraftStore_LAM.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ CS.OptionsTable = {
[8] = {
type = "checkbox",
name = CS.Loc.options.usequest,
tooltip = "",
tooltip = CS.Loc.options.usequestTooltip,
getFunc = function() return CS.Account.options.usequest end,
setFunc = function(value) CS.SettingsUpdate('usequest',value) end,
default = CS.AccountInit.options.usequest,
},
[9] = {
type = "checkbox",
name = CS.Loc.options.usecook,
tooltip = "",
tooltip = CS.Loc.options.usecookTooltip,
getFunc = function() return CS.Account.options.usecook end,
setFunc = function(value) CS.SettingsUpdate('usecook',value) end,
default = CS.AccountInit.options.usecook,
Expand All @@ -144,15 +144,15 @@ CS.OptionsTable = {
[12] = {
type = "checkbox",
name = CS.Loc.options.userune,
tooltip = "",
tooltip = CS.Loc.options.useruneTooltip,
getFunc = function() return CS.Account.options.userune end,
setFunc = function(value) CS.SettingsUpdate('userune',value) end,
default = CS.AccountInit.options.userune,
},
[13] = {
type = "checkbox",
name = CS.Loc.options.userunecreation,
tooltip = "",
tooltip = CS.Loc.options.userunecreationTooltip,
getFunc = function() return CS.Account.options.userunecreation end,
setFunc = function(value) CS.SettingsUpdate('userunecreation',value) end,
default = CS.AccountInit.options.userunecreation,
Expand All @@ -161,7 +161,7 @@ CS.OptionsTable = {
[14] = {
type = "checkbox",
name = CS.Loc.options.useruneextraction,
tooltip = "",
tooltip = CS.Loc.options.useruneextractionTooltip,
getFunc = function() return CS.Account.options.useruneextraction end,
setFunc = function(value) CS.SettingsUpdate('useruneextraction',value) end,
default = CS.AccountInit.options.useruneextraction,
Expand All @@ -170,7 +170,7 @@ CS.OptionsTable = {
[15] = {
type = "checkbox",
name = CS.Loc.options.userunerecipe,
tooltip = "",
tooltip = CS.Loc.options.userunerecipeTooltip,
getFunc = function() return CS.Account.options.userunerecipe end,
setFunc = function(value) CS.SettingsUpdate('userunerecipe',value) end,
default = CS.AccountInit.options.userunerecipe,
Expand Down
12 changes: 12 additions & 0 deletions CraftStore_Lang.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ de = {
useartisan = 'CraftStoreArtisan benutzen (fehlt)',
useflask = 'CraftStoreFlask benutzen (fehlt)',
usequest = 'CraftStoreQuest anzeigen',
usequestTooltip = 'Zeigt an Werkbänken die jeweils aktive Handwerksquest an',
usecook = 'CraftStoreCook benutzen',
usecookTooltip = 'Ersetzt die normale Benutzeroberfläche an Kochstellen durch das Craftstore UI',
userune = 'CraftStoreRune benutzen',
useruneTooltip = 'Ersetzt die normale Benutzeroberfläche an Verzauberungstischen durch das Craftstore UI',
displaystyles = 'Itemstil im Tooltip anzeigen',
markitems = 'Bedarf-Markierungen anzeigen',
showsymbols = i..'/'..o..'-Symbole anzeigen',
Expand All @@ -36,8 +39,11 @@ de = {
bulkcraftlimit = 'Die Massenproduktion begrenzen',
overviewstyle = 'Zeichenübersicht Stil',
userunecreation = 'CraftStoreRune Schöpfung benutzen',
userunecreationTooltip = 'Ersetzt die normale Benutzeroberfläche für das Herstellen von Glyphen durch das Craftstore UI',
useruneextraction = 'CraftStoreRune Extraktion benutzen',
useruneextractionTooltip = 'Ersetzt die normale Benutzeroberfläche für das Zerlegen von Glyphen durch das Craftstore UI',
userunerecipe = 'CraftStoreRune Möbel benutzen',
userunerecipeTooltip = 'Ersetzt die normale Benutzeroberfläche für das Herstellen von Einrichtungsgegenständen an Verzauberungstischen durch das Craftstore UI',
displayunknown = 'Anzeigen unbekannt in Tooltips',
displayknown = 'Anzeigen bekannt in Tooltips',
displaycount = 'Anzeigen bekannt/unbekannt anzahl in Tooltips',
Expand Down Expand Up @@ -142,8 +148,11 @@ en = {
useartisan = 'Use CraftStoreArtisan (not ready)',
useflask = 'Use CraftStoreFlask (not ready)',
usequest = 'Use CraftStoreQuest',
usequestTooltip = 'Displays the current active crafting writ quest when opening a crafting bench',
usecook = 'Use CraftStoreCook',
usecookTooltip = 'Replaces the default user interface of cooking stations with the Craftstore UI',
userune = 'Use CraftStoreRune',
useruneTooltip = 'Replaces the default user interface of enchanting tables with the Craftstore UI',
displaystyles = 'Display itemstyle in tooltips',
markitems = 'Mark needed items',
showsymbols = 'Show '..i..'/'..o..'-symbols',
Expand All @@ -166,8 +175,11 @@ en = {
bulkcraftlimit = 'Bulk craft limit',
overviewstyle = 'Character overview style',
userunecreation = 'Use CraftStoreRune Creation',
userunecreationTooltip = 'Replaces the default user interface for rune crafting with the Craftstore UI',
useruneextraction = 'Use CraftStoreRune Extraction',
useruneextractionTooltip = 'Replaces the default user interface for rune extraction with the Craftstore UI',
userunerecipe = 'Use CraftStoreRune Furniture',
userunerecipeTooltip = 'Replaces the default user interface for furniture blueprint crafting at enchanting tables with the Craftstore UI',
displayunknown = 'Display unknown in tooltips',
displayknown = 'Display known in tooltips',
displaycount = 'Display known/unknown counts in tooltips',
Expand Down

0 comments on commit 64945c2

Please sign in to comment.