New Vars In lang_bbcb_mg.php »  Show posts from    to     

Icy Phoenix


Translations - New Vars In lang_bbcb_mg.php



Mighty Gorgon [ Wed 01 Apr, 2009 20:17 ]
Post subject: New Vars In lang_bbcb_mg.php
I just wanted to inform all translators that I have finally removed the js file in lang folder...

We now have a single JS file which import lang vars from a standard lang file which is lang_bbcb_mg.php.

I have recoded this file in the RC so you will need to translate it again... and please pay attention at the special code at the bottom of this file since it must remain as is:

Code: [Hide] [Select]
// Please do not remove this!!!
foreach ($js_lang as $k => $v)
{
$lang[$k] = $v;
}

$javascript_lang_vars = '';
foreach ($js_lang as $k => $v)
{
$javascript_lang_vars .= 'var ' . $k . ' = \'' . str_replace("'", "\'", $v) . '\';' . "\n";
}

$lang['JAVASCRIPT_LANG_VARS'] = $javascript_lang_vars;
unset($js_lang);
// JavaScript Text - END



I strongly recommend all translator to carefully review this file and update the packages... or you could have errors in all posting forms in Icy Phoenix.


TheSteffen [ Thu 02 Apr, 2009 12:37 ]
Post subject: Re: New Vars In lang_bbcb_mg.php
Thanks for the information MG


brandsrus [ Thu 02 Apr, 2009 17:24 ]
Post subject: Re: New Vars In Lang_bbcb_mg.php
Thanks for reporting it to us!


Mighty Gorgon [ Fri 03 Apr, 2009 12:46 ]
Post subject: Re: New Vars In lang_bbcb_mg.php
Please test the BBCode Box after having translated that file... just to make sure that everything is working properly.

Thanks.


Gadner2 [ Wed 22 Jul, 2009 09:51 ]
Post subject: Hi,
Thank you for reporting this. Just to make sure that everything is working properly.


Informpro [ Sat 03 Oct, 2009 10:03 ]
Post subject: Re: New Vars In Lang_bbcb_mg.php
I want to know ... I have this file on my lang_french folder: Did I have to translate it ?


TheSteffen [ Wed 07 Oct, 2009 10:25 ]
Post subject: Re: New Vars In lang_bbcb_mg.php
Yes, but not this part of the file

Mighty Gorgon wrote: [View Post]
Code: [Hide] [Select]
// Please do not remove this!!!
foreach ($js_lang as $k => $v)
{
$lang[$k] = $v;
}

$javascript_lang_vars = '';
foreach ($js_lang as $k => $v)
{
$javascript_lang_vars .= 'var ' . $k . ' = \'' . str_replace("'", "\'", $v) . '\';' . "\n";
}

$lang['JAVASCRIPT_LANG_VARS'] = $javascript_lang_vars;
unset($js_lang);
// JavaScript Text - END



Informpro [ Wed 07 Oct, 2009 13:15 ]
Post subject: Re: New Vars In Lang_bbcb_mg.php
... I don't understand.
*EDIT: This file have 100 lines, but there is the same var in lang_bbcb_mg.php !

so, I don't understand, thanks ^^'


TheSteffen [ Thu 08 Oct, 2009 00:24 ]
Post subject: Re: New Vars In lang_bbcb_mg.php
Hm, now I understand what you mean...

For german we have translated both files.


Informpro [ Thu 08 Oct, 2009 09:04 ]
Post subject: Re: New Vars In Lang_bbcb_mg.php
Ok thx I will translate once and do put the result in the js file ...




Powered by Icy Phoenix