flowdee / hearthstone-cards

Hearthstone Cards for WordPress automatically adds an overlay to written card names and displays the associated image while hovering them.
https://wordpress.org/plugins/hearthstone-cards/
GNU General Public License v3.0
7 stars 4 forks source link

In the Russian version of the plug-in does not display the card #33

Open Soomei opened 8 years ago

Soomei commented 8 years ago

In the Russian version of the plug-in does not display the card.

Here is a list of some of them: [Пленный йормунгар] [Боец арены] [Ледяной яростень] [Грозный демон] [Просоленный моряк] [Танк-паук] [Грязевик] [Речной кроколиск] [Правосудие Света] [Огр Тяжелого Кулака] [Огненная секира] [Ящер Кровавой Топи] [Оазисный хрустогрыз] [Мурлок-налетчик] [Магмовый яростень] [Огонек] [Морозный йети] [Арканитовый жнец] [Боевой голем] [Гончая Недр] [Клинок убийцы]

Можете самостоятельно проверить это здесь в списке: http://mulligan.ru/o-nas/

Soomei commented 8 years ago

It is also activated, but no images are displayed on cards: [Боевой настрой] [Королевский поборник] [Лавовый шок] [Улучшение] [Внутренняя ярость]

And many others...

Screenshot: http://prntscr.com/9jgzj6

flowdee commented 8 years ago

Hey Soomei,

The plugin combines the card database of https://hearthstonejson.com/ with the card images from http://ru.hearthhead.com/. In case the card names are written exactly like in the json files AND hearthead hosts the image under the exact same name, it will match.

Anyway there can be some issues with special characters of your language and the wordpress editor/output.

Summing up I cannot read/speak Russian and I'm personally not able to debug this in your case. Sorry.

Soomei commented 8 years ago

If I fix this problem, I will tell you

flowdee commented 8 years ago

:+1:

Soomei commented 8 years ago

You plug-in a reference image : http://wow.zamimg.com/images/hearthstone/cards/ruru/medium/CS2_004e.png

A website http://ru.hearthhead.com/ : http://wow.zamimg.com/images/hearthstone/cards/ruru/original/CS2_004.png?10833

http://ru.hearthhead.com/card=613&text

The problem is probably in this, how to fix it?

flowdee commented 8 years ago

Oh yeah thanks for the tip. Seems to be the fact that some cards are not yet available in medium size on hearthhead.

Is this the only problem for the others examples too? Then I'm going think about a workaround for this.

Soomei commented 8 years ago

No, these cards are many. Also, some cards are not activated in brackets [] If you need a list, I gather in my spare time.

flowdee commented 8 years ago

It would help if you find a pattern for those lacking cards. I can imagine that it's a problem when the script tries to recognize the characters of your language.

Soomei commented 8 years ago

where to place the list of ID cards that do not work? task # 33 or # 36 ? In what form they need to provide?

flowdee commented 8 years ago

just post them here