diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1914ad6..6f8e56e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: diff --git a/Bindings.xml b/Bindings.xml index 830e8eb..92d6b93 100644 --- a/Bindings.xml +++ b/Bindings.xml @@ -1,5 +1,5 @@ - - - MailCommander:OpenConfig() - - + + + MailCommander:OpenConfig() + + diff --git a/embeds.xml b/embeds.xml index a66422b..6183ca0 100644 --- a/embeds.xml +++ b/embeds.xml @@ -1,6 +1,6 @@ - - - - - - + + + + + + diff --git a/localization.lua b/localization.lua index c56a7b9..32df068 100644 --- a/localization.lua +++ b/localization.lua @@ -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 \ No newline at end of file diff --git a/pkgmeta.yaml b/pkgmeta.yaml index db89405..7d77869 100644 --- a/pkgmeta.yaml +++ b/pkgmeta.yaml @@ -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