Skip to content

Commit

Permalink
feat: add locale scan
Browse files Browse the repository at this point in the history
  • Loading branch information
DengSir committed Mar 29, 2024
1 parent 1daec83 commit 39f039a
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 61 deletions.
119 changes: 62 additions & 57 deletions Localization/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,62 +5,63 @@ end

-- @locale:language=enUS@
L = L or {}
L["Always"] = true
L["Auction price"] = true
L["Auction price time style"] = true
L["Auto open price list"] = true
L["Bid price"] = true
L["Bid unit price"] = true
L["Choose other price"] = true
L["Clear database"] = true
L["Count"] = true
L["Database"] = true
L["Date"] = true
L["Default auction duration"] = true
L["Default stack size"] = true
L["Disenchant price"] = true
L["Duration no deposit"] = true
L["Enable ALT to sell"] = true
L["Enable ALT-CTRL click to buyout"] = true
L["Full"] = true
L["Full scan"] = true
L["Full scaning, elapsed time: %s"] = true
L["Ignore"] = true
L["in about %s"] = true
L["Merchant price"] = true
L["Nerver"] = "Never"
L["New"] = true
L["Next available time:"] = true
L["No price"] = true
L["Now"] = true
L["Pressed SHIFT"] = true
L["Price"] = true
L["Processing data, elapsed time: %s"] = true
L["Scan all"] = true
L["Scan one page"] = true
L["Scan price mode"] = true
L["Show disenchant info"] = true
L["Single price"] = true
L["Start auction:"] = true
L["Start price discount"] = true
L["Start scan"] = true
L["Time"] = true
L["Time different"] = true
L["Toggle column"] = true
L["Tooltip"] = true
L["TOOLTIP_FULLSCAN_DISABLED"] = "An unknown NPC (%s), tdAuction cannot determine whether the auction house is neutral or not."
L["TOOLTIP_PREFIX_AUCTION"] = "Auction"
L["TOOLTIP_PREFIX_DISENCHANT"] = "Disenchant"
L["TOOLTIP_PREFIX_VENDO"] = "Vendor"
L["Total price"] = true
L["Unit price"] = true
L["Unknown"] = true
L["Update"] = true
L["Use history price"] = true
L["Use merchant price x%d"] = true
L["When no price, use merchant price multiply by"] = true
L["When pressed SHIFT, to dislay ..."] = true
L["You are sure to clear the database"] = true
L['Always'] = true
L['Auction price'] = true
L['Auction price time style'] = true
L['Auto open price list'] = true
L['Bid price'] = true
L['Bid unit price'] = true
L['Choose other price'] = true
L['Clear database'] = true
L['Count'] = true
L['Database'] = true
L['Date'] = true
L['Default auction duration'] = true
L['Default stack size'] = true
L['Disenchant price'] = true
L['Duration no deposit'] = true
L['Enable ALT to sell'] = true
L['Enable ALT-CTRL click to buyout'] = true
L['Full'] = true
L['Full scan'] = true
L['Full scaning, elapsed time: %s'] = true
L['Ignore'] = true
L['in about %s'] = true
L['Merchant price'] = true
L['Nerver'] = 'Never'
L['New'] = true
L['Next available time:'] = true
L['No price'] = true
L['Now'] = true
L['Pressed SHIFT'] = true
L['Price'] = true
L['Processing data, elapsed time: %s'] = true
L['Scan all'] = true
L['Scan one page'] = true
L['Scan price mode'] = true
L['Show disenchant info'] = true
L['Single price'] = true
L['Start auction:'] = true
L['Start price discount'] = true
L['Start scan'] = true
L['Time'] = true
L['Time different'] = true
L['Toggle column'] = true
L['Tooltip'] = true
L['TOOLTIP_FULLSCAN_DISABLED'] =
'An unknown NPC (%s), tdAuction cannot determine whether the auction house is neutral or not.'
L['TOOLTIP_PREFIX_AUCTION'] = 'Auction'
L['TOOLTIP_PREFIX_DISENCHANT'] = 'Disenchant'
L['TOOLTIP_PREFIX_VENDO'] = 'Vendor'
L['Total price'] = true
L['Unit price'] = true
L['Unknown'] = true
L['Update'] = true
L['Use history price'] = true
L['Use merchant price x%d'] = true
L['When no price, use merchant price multiply by'] = true
L['When pressed SHIFT, to dislay ...'] = true
L['You are sure to clear the database'] = true

-- @end-locale@

Expand Down Expand Up @@ -128,6 +129,10 @@ L['Time different'] = true
L.TOOLTIP_PREFIX_VENDO = 'Vendor'
L.TOOLTIP_PREFIX_AUCTION = 'Auction'
L.TOOLTIP_PREFIX_DISENCHANT = 'Disenchant'
L.TOOLTIP_FULLSCAN_DISABLED = [[An unknown NPC (%s), tdAuction cannot determine whether the auction house is neutral or not.]]
L.TOOLTIP_FULLSCAN_DISABLED =
[[An unknown NPC (%s), tdAuction cannot determine whether the auction house is neutral or not.]]

-- @locale-fill@

-- @end-import@
-- @end-debug@
6 changes: 5 additions & 1 deletion Localization/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,9 @@ L['Time different'] = '时间差'
L.TOOLTIP_PREFIX_VENDO = '售价'
L.TOOLTIP_PREFIX_AUCTION = '拍卖'
L.TOOLTIP_PREFIX_DISENCHANT = '分解'
L.TOOLTIP_FULLSCAN_DISABLED = [[一个未知的NPC(%s),tdAuction不能确定该拍卖行是否是中立拍卖行。]]
L.TOOLTIP_FULLSCAN_DISABLED =
[[一个未知的NPC(%s),tdAuction不能确定该拍卖行是否是中立拍卖行。]]

-- @locale-fill@

-- @end-import@
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,16 @@
"name": "tdAuction",
"curse_id": 442222,
"changelog": "CHANGELOG.md",
"localizations": {
"enUS": "Localization/enUS.lua",
"zhCN": "Localization/zhCN.lua"
"localization": {
"folder": "Localization",
"ignores": [
"Localization",
"Libs"
],
"imports": {
"zhCN": "zhCN.lua",
"enUS": "enUS.lua"
}
},
"builds": {
"lkc": "30403",
Expand Down

0 comments on commit 39f039a

Please sign in to comment.