7 - Instance name abbreviation on German clients
There is a small issue with the instance name abbreviations when there are special characters in the name like German umlauts (äöü). Somehow your generic search pattern recognizes special characters as a single word. An example:
"Prüfungen des Kreuzfahres" ("Trial of The Crusader") becomes "PüfdK" but it should become to "PdK".
There is small workaround at least for the German client:
After the line
instanceNameAbbr = string_gsub(instanceName, "(%a)[%l%p]*[%s%-]*", "%1")
just add the line
instanceNameAbbr = string_gsub(instanceNameAbbr, "[äöü]..", "")
Yes, you must delete the two following characters after the umlaut, there seems to be another special invisible character.
Well, this works for German clients only.
- 5 comments
- 5 comments
Facts
- Last updated
- Oct 27, 2009
- Reported
- Oct 25, 2009
- Status
- Fixed - Developer made requested changes. QA should verify.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- Votes
- 0
- Reply
- #5
Starfox Oct 27, 2009 at 20:10 UTC - 0 likesIn the latest revision (r54) I added the possibility to change the abbreviations used in the tooltip
- Reply
- #4
Starfox Oct 27, 2009 at 18:53 UTC - 0 likes@HatteSould:
That's something I want to make, an additional config where it puts all knows instance names and you can set your own abbreviations if you want.
- Reply
- #3
HatteSoul Oct 27, 2009 at 17:04 UTC - 0 likesNow it works! Well, somehow...
The good news: Prüfungen des Kreuzfahres -> PdK
The bad news: Tempel von Ahn'Qiraj -> TvA But I like the old abbreviation better which was "TvAQ" So, now it is a bit too less restrictive :)
An Option for custom abbreviations would also be very nice!
- Reply
- #2
Starfox Oct 26, 2009 at 22:38 UTC - 0 likesCan you try it with http://www.wowace.com/addons/ailo/files/51-r47/
I changed the pattern to be less restrictive in what it thinks is a new string, as long as it does not start with an umlaut it shoudl be ok for now.
But I thought about an option so the user can make his own abbreviations for instances
- Reply
- #1
Starfox Oct 26, 2009 at 21:46 UTC - 0 likesSo the patter does not handle umlauts correctly?
I'll look into it.