Skip to Content Skip to Menu

[Solved] imgToolbox.class.php is not translated

  • rainweb
  • rainweb
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
12 years 9 months ago - 12 years 9 months ago #188316 by rainweb
Hi,
how can i fix missing translation strings for imgToolbox.class.php?
This bug is still there in version CB 1.7
Code:
if(!$this->checkFilesize( $image['tmp_name'], $this->_maxsize * 1024, $copyMethod ) ) { $this->raiseError(sprintf(CBTxt::T('The file exceeds the maximum size of %s kilobytes'), $this->_maxsize)); return false; }
Thanks.
Last edit: 12 years 9 months ago by rainweb.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 9 months ago #188319 by nant
No bug.

See english language plugin for CB171 here:
forge.joomlapolis.com/projects/lan-cb-en/files

this string is in the language file.

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

  • rainweb
  • rainweb
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
12 years 9 months ago #188320 by rainweb
Replied by rainweb on topic Re: imgToolbox.class.php is not translated
Sorry,
but if i use another language plugin different from english like italian the string isn't translated and it remains in english
This was a bug as it was reported in other post
www.joomlapolis.com/forum/146-general/148442-2151hardcoded-message-in-imgtoolboxclassphp
www.joomlapolis.com/forum/6-news-and-publicity/154070-cb-14-released

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 9 months ago #188325 by nant

rainweb wrote: Sorry,
but if i use another language plugin different from english like italian the string isn't translated and it remains in english
This was a bug as it was reported in other post
www.joomlapolis.com/forum/146-general/148442-2151hardcoded-message-in-imgtoolboxclassphp
www.joomlapolis.com/forum/6-news-and-publicity/154070-cb-14-released


You need to upgrade to CB171 and perhaps fix your Italian plugin.

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

  • rainweb
  • rainweb
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
12 years 9 months ago #188329 by rainweb
Replied by rainweb on topic Re: imgToolbox.class.php is not translated
I'm using CB 1.7.1 and i have translated strings in

components/com_comprofiler/plugin/language/italian/admin_language.php
components/com_comprofiler/plugin/language/italian/admin_reference_language.php
components/com_comprofiler/plugin/language/italian/cbteamplugins_language.php
Code:
'The file exceeds the maximum size of %s kilobytes' => 'Il file eccede la dimensione massima di %s kilobytes',

Any suggestion?

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 9 months ago #188330 by nant

rainweb wrote: I'm using CB 1.7.1 and i have translated strings in

components/com_comprofiler/plugin/language/italian/admin_language.php
components/com_comprofiler/plugin/language/italian/admin_reference_language.php
components/com_comprofiler/plugin/language/italian/cbteamplugins_language.php

Code:
'The file exceeds the maximum size of %s kilobytes' => 'Il file eccede la dimensione massima di %s kilobytes',

Any suggestion?


Suggest you study this:
forge.joomlapolis.com/projects/lan-cb/wiki

and construct a proper italian language plugin for CB171

or perhaps try one from here:
forge.joomlapolis.com/projects/lan-cb-it/files


I tested and it works just fine if one follows wiki instructions.

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

Moderators: beatnantkrileon
Powered by Kunena Forum