Am I locked out?

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.

User When Change
Starfox Oct 27, 2009 at 20:10 UTC Changed status from Started to Fixed
Starfox Oct 27, 2009 at 18:54 UTC Changed status from New to Started
HatteSoul Oct 25, 2009 at 07:43 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 5 comments
  • Avatar of Starfox Starfox Oct 27, 2009 at 20:10 UTC - 0 likes

    In the latest revision (r54) I added the possibility to change the abbreviations used in the tooltip

  • Avatar of Starfox 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.

    Last edited Oct 27, 2009 by Starfox
  • Avatar of HatteSoul HatteSoul Oct 27, 2009 at 17:04 UTC - 0 likes

    Now 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!

  • Avatar of Starfox Starfox Oct 26, 2009 at 22:38 UTC - 0 likes

    Can 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

  • Avatar of Starfox Starfox Oct 26, 2009 at 21:46 UTC - 0 likes

    So the patter does not handle umlauts correctly?
    I'll look into it.

  • 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

Reported by

Possible assignees