Skip to content

Commit

Permalink
Updated action
Browse files Browse the repository at this point in the history
  • Loading branch information
Alar of Runetotem committed Mar 13, 2024
1 parent 98d5475 commit 891b15b
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 95 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
push:
tags:
- '**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# a workflow is built up as jobs, and within these jobs are steps
jobs:
Expand Down
10 changes: 5 additions & 5 deletions Bindings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Bindings>
<Binding name="MCConfig" header="MAILCOMMANDER" category="ADDONS">
MailCommander:OpenConfig()
</Binding>
</Bindings>
<Bindings>
<Binding name="MCConfig" header="MAILCOMMANDER" category="ADDONS">
MailCommander:OpenConfig()
</Binding>
</Bindings>
12 changes: 6 additions & 6 deletions embeds.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Include file="libs\LibInit\LibInit.xml"/>
<Include file="libs\Ace3\AceBucket-3.0\AceBucket-3.0.xml" />
<Include file="libs\LibItemUpgradeInfo-1.0\LibItemUpgradeInfo-1.0.xml"/>
<Include file="libs\LibDBIcon-1.0\lib.xml" />
</Ui>
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Include file="libs\LibInit\LibInit.xml"/>
<Include file="libs\Ace3\AceBucket-3.0\AceBucket-3.0.xml" />
<Include file="libs\LibItemUpgradeInfo-1.0\LibItemUpgradeInfo-1.0.xml"/>
<Include file="libs\LibDBIcon-1.0\lib.xml" />
</Ui>
108 changes: 54 additions & 54 deletions localization.lua
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
local me,ns=...
local lang=GetLocale()
local l=LibStub("AceLocale-3.0")
local L=l:NewLocale(me,"enUS",true,true)
--@localization(locale="enUS", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
L=l:NewLocale(me,"ptBR")
if (L) then
--@localization(locale="ptBR", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"frFR")
if (L) then
--@localization(locale="frFR", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"deDE")
if (L) then
--@localization(locale="deDE", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"itIT")
if (L) then
--@localization(locale="itIT", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"koKR")
if (L) then
--@localization(locale="koKR", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"esMX")
if (L) then
--@localization(locale="esMX", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"ruRU")
if (L) then
--@localization(locale="ruRU", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"zhCN")
if (L) then
--@localization(locale="zhCN", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"esES")
if (L) then
--@localization(locale="esES", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"zhTW")
if (L) then
--@localization(locale="zhTW", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
local me,ns=...
local lang=GetLocale()
local l=LibStub("AceLocale-3.0")
local L=l:NewLocale(me,"enUS",true,true)
--@localization(locale="enUS", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
L=l:NewLocale(me,"ptBR")
if (L) then
--@localization(locale="ptBR", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"frFR")
if (L) then
--@localization(locale="frFR", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"deDE")
if (L) then
--@localization(locale="deDE", format="lua_additive_table" , same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"itIT")
if (L) then
--@localization(locale="itIT", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"koKR")
if (L) then
--@localization(locale="koKR", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"esMX")
if (L) then
--@localization(locale="esMX", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"ruRU")
if (L) then
--@localization(locale="ruRU", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"zhCN")
if (L) then
--@localization(locale="zhCN", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"esES")
if (L) then
--@localization(locale="esES", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
L=l:NewLocale(me,"zhTW")
if (L) then
--@localization(locale="zhTW", format="lua_additive_table", same-key-is-true=true, handle-unlocalized="english" )@
return
end
65 changes: 35 additions & 30 deletions pkgmeta.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,35 @@
package-as: MailCommander
enable-nolib-creation: no
enable-toc-creation: yes

optional-dependencies:
- datastore
- datastore_characters
- datastore_crafts
- datastore_containers

externals:
libs/LibInit:
url: https://github.com/alarofrunetotem/LibInit.git/LibInit
tag: latest

libs/Ace3/AceBucket-3.0:
url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceBucket-3.0
tag: latest

libs/LibItemUpgradeInfo-1.0:
url: https://github.com/alarofrunetotem/LibItemUpgradeInfo.git
tag: latest

libs/LibDBIcon-1.0:
url: https://repos.wowace.com/wow/libdbicon-1-0/trunk/LibDBIcon-1.0

ignore:
- Debug.lua
- info.txt
- wowhead.sh
package-as: MailCommander
enable-nolib-creation: no
enable-toc-creation: yes

optional-dependencies:
- datastore
- datastore_characters
- datastore_crafts
- datastore_containers

externals:
libs/LibInitRoot:
url: https://github.com/alarofrunetotem/LibInit.git
tag: latest

libs/Ace3/AceBucket-3.0:
url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceBucket-3.0
tag: latest

libs/LibItemUpgradeInfo-1.0:
url: https://github.com/alarofrunetotem/LibItemUpgradeInfo.git
tag: latest

libs/LibDBIcon-1.0:
url: https://repos.wowace.com/wow/libdbicon-1-0/trunk/LibDBIcon-1.0

move-folders:
libs/LibInitRoot/LibInit
libs/LibInit

ignore:
- Debug.lua
- info.txt
- wowhead.sh
- pkgmeta.yaml

0 comments on commit 891b15b

Please sign in to comment.