Skip to content

Commit

Permalink
2.0.55-Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldpaw committed Mar 22, 2024
1 parent 7e73f94 commit d669eca
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 9 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ All notable changes to this project will be documented in this file. Be aware th
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased] 2024-03-17
### Changed
- Messages when changing zone channels are for the time being displayed in full.
## [2.0.55-Release] 2024-03-22
- Updated for WoW Client Patch 10.2.6.
- Updated for WoW Client Patch 4.4.0.

### Fixed
- Zone changes for general public channels are now correctly abbreviated.

## [2.0.54-Release] 2024-03-11
### Added
Expand Down
2 changes: 1 addition & 1 deletion ChatCleaner/ChatCleaner.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100205
## Interface: 100206
## IconTexture: Interface\ICONS\Pet_Type_Mechanical

## Title: Cleaner: |cffffffffChat|r
Expand Down
26 changes: 26 additions & 0 deletions ChatCleaner/ChatCleaner_Cata.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Interface: 40400

## Title: Cleaner: |cffffffffChat|r
## Notes: |cff666666By Lars Norberg|r|n|nCleans up the chat, makes it prettier and easier on the eye.|n|n|cff4488ffPayPal|r|cffffffff:|r |n|cffffffffwww.paypal.me/GoldpawsStuff|r|n|n|cff4488ffPatreon|r|cffffffff:|r |n|cffffffffwww.patreon.com/GoldpawsStuff|r
## Version: @project-version@
## Author: Lars Norberg

## X-Category: Interface Enhancements
## X-Curse-Project-ID: 531109
## X-Wago-ID: baNDwAGo
## X-License: Custom

## SavedVariables: ChatCleaner_DB
## OptionalDeps: TaintLess, Ace3, LibMoreEvents-1.0

# Libraries
Embeds.xml

# Addon localization
Locale\Locale.xml

# Addon core
Core\Core.xml

# Filters & Modules
Components\Components.xml
12 changes: 7 additions & 5 deletions ChatCleaner/Components/Channels.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,16 @@ Module.OnInitialize = function(self)
-- Turns "[1. General - The Barrens]" into "General"
--table_insert(self.replacements, {"|Hchannel:(.-):(%d+)|h%[(%d)%. (.-)(%s%-%s.-)%]|h", "|Hchannel:%1:%2|h%4.|h"})

-- Turns "[1. General - The Barrens]" into "1."
-- *Only works half of the time. What is wrong?
table_insert(self.replacements, {"^|Hchannel:(.-):(%d+)|h%[(%d)%. (.-)(%s%-%s.-)%]|h", "|Hchannel:%1:%2|h%3.|h"})

-- Only works for English, will add a better solution later.
--table_insert(self.replacements, { "^Changed Channel:.*(.-)", "%1" })
--table_insert(self.replacements, { "^Changed Channel: |Hchannel:(.-):(%d+)|h%[(%d)%. (.-)(%s%-%s.-)%]|h", "|Hchannel:%1:%2|h%3. %5|h" })
table_insert(self.replacements, { "^Changed Channel: |Hchannel:(.-):(%d+)|h%[(%d)%. (.-)%]|h", "|Hchannel:%1:%2|h%3. %4|h" })
-- |Hchannel:%d|h[%s]|h

-- Turns "[1. General - The Barrens]" into "1."
-- *Only works half of the time. What is wrong?
table_insert(self.replacements, {"|Hchannel:(.-):(%d+)|h%[(%d)%. (.-)(%s%-%s.-)%]|h", "|Hchannel:%1:%2|h%3.|h"})
table_insert(self.replacements, {"|Hchannel:(.-):(%d+)|h%[(%d)%. (.-)%]|h", "|Hchannel:%1:%2|h%3.|h"})

end

Module.OnEnable = function(self)
Expand Down

0 comments on commit d669eca

Please sign in to comment.