Skip to main content

strings when adding articles don't get translated

More
13 years 10 months ago #78848 by Ch3vr0n
When starting to add articles in my shop i noticed the following. There are a couple of buttons that don't get properly translated. See attachment

Attachment not found

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #78921 by Xavier
Hi,

Thanks for the report, can you check in you language file "HikaShop > Configuration > Language" if the text, for example, "HIKA_APPLY" is translated ?

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #78962 by Ch3vr0n
They are.

HIKA_EDIT="Bewerken"
HIKA_SAVE="Opslaan"
HIKA_CLOSE="Sluiten"
HIKA_FILES="Bestanden"
HIKA_APPLY="Toepassen"

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #79004 by Jerome
Hi,

Please edit the file administrator/com_hikashop/helper/toolbar.php and add
Code:
if(HIKASHOP_J16 && substr($alt, 0, 5) != 'JTOOL') { $alt = 'JTOOLBAR_' . strtoupper($alt); }
Just before
Code:
if(isset($standard[$toolname])) { $icon = $standard[$toolname][0]; $task = $standard[$toolname][1]; $alt = $standard[$toolname][2];

This fix would be include in the next release of HikaShop.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #79119 by Ch3vr0n
didn't work, buttons still untranslated. file now looks like this.
Code:
if(HIKASHOP_J16) { $standard['save'][2] = 'JTOOLBAR_SAVE'; } if(HIKASHOP_J16 && substr($alt, 0, 5) != 'JTOOL') { $alt = 'JTOOLBAR_' . strtoupper($alt); } if(isset($standard[$toolname])) { $icon = $standard[$toolname][0]; $task = $standard[$toolname][1];

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #79122 by Jerome
Hi,

Sorry.. I wanted to say : just after.
Like that:
Code:
if(isset($standard[$toolname])) { $icon = $standard[$toolname][0]; $task = $standard[$toolname][1]; $alt = $standard[$toolname][2]; if(HIKASHOP_J16 && substr($alt, 0, 5) != 'JTOOL') { $alt = 'JTOOLBAR_' . strtoupper($alt); }
Sorry for my mistake.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: Ch3vr0n

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #79124 by Ch3vr0n
File now looks like this
Code:
if(HIKASHOP_J16) { $standard['save'][2] = 'JTOOLBAR_SAVE'; } if(isset($standard[$toolname])) { $icon = $standard[$toolname][0]; $task = $standard[$toolname][1]; $alt = $standard[$toolname][2]; if(HIKASHOP_J16 && substr($alt, 0, 5) != 'JTOOL') { $alt = 'JTOOLBAR_' . strtoupper($alt); }

Fix confirmed, buttons are translated. Issue resolved

Please Log in or Create an account to join the conversation.

Time to create page: 0.276 seconds
Powered by Kunena Forum