Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced 'R/r' Handling in Text Replacement #4

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

mariogusman
Copy link
Contributor

This PR updates the text replacement logic to ensure that 'r' or 'R' is not replaced when it is the last character in a word or is followed by an 's'.

This preserves the natural pronunciation of certain words. By keeping 'r' and 'R' unchanged when they are at the end of words or followed by 's', we ensure words like "markers" are transformed to "mawkers" instead of "mawkews". The original replacement often distorted the sound, making words less recognizable.

This change keeps the playful 'UwU' style while ensuring words still sound closer to their original form.

Tested in-game by editing my addon's code.

The update will not affect the addon's performance or other features.

updates replacements so that r or R is not replaced when Rr is the last character or followed by an s.
@Ketho Ketho merged commit 72b2fe6 into ketho-wow:master Nov 25, 2023
@Ketho
Copy link
Member

Ketho commented Nov 25, 2023

That does sound a lot better, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants