Icy Phoenix

     
 

New Vars In lang_bbcb_mg.php

New Vars In lang_bbcb_mg.php

Article
Reply with quote    Download Post  
Post 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: [Download] [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.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Wed 01 Apr, 2009 20:17 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


New Vars In lang_bbcb_mg.php

Comments
Reply with quote    Download Post  
Post Re: New Vars In lang_bbcb_mg.php 
 
Thanks for the information MG



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Thu 02 Apr, 2009 12:37 ]
Reply with quote    Download Post  
Post Re: New Vars In Lang_bbcb_mg.php 
 
Thanks for reporting it to us!



 
brandsrus - View user's profile Send private message  
brandsrus [ Thu 02 Apr, 2009 17:24 ]
Reply with quote    Download Post  
Post 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.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Fri 03 Apr, 2009 12:46 ]
Reply with quote    Download Post  
Post Hi, 
 
Thank you for reporting this. Just to make sure that everything is working properly.



 
Gadner2 - View user's profile Send private message  
Gadner2 [ Wed 22 Jul, 2009 09:51 ]
Reply with quote    Download Post  
Post 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 ?



 
Informpro - View user's profile Send private message  
Informpro [ Sat 03 Oct, 2009 10:03 ]
Reply with quote    Download Post  
Post Re: New Vars In lang_bbcb_mg.php 
 
Yes, but not this part of the file

Mighty Gorgon wrote: [View Post]
Code: [Download] [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





 
TheSteffen - View user's profile Send private message  
TheSteffen [ Wed 07 Oct, 2009 10:25 ]
Reply with quote    Download Post  
Post 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 ^^'



 
Informpro - View user's profile Send private message  
Informpro [ Wed 07 Oct, 2009 13:15 ]
Reply with quote    Download Post  
Post Re: New Vars In lang_bbcb_mg.php 
 
Hm, now I understand what you mean...

For german we have translated both files.

bbcb_mg.zip
Description:  
Download
Filename: bbcb_mg.zip
Filesize: 12.97 KB
Downloaded: 381 Time(s)




 
TheSteffen - View user's profile Send private message  
TheSteffen [ Thu 08 Oct, 2009 00:24 ]
Reply with quote    Download Post  
Post Re: New Vars In Lang_bbcb_mg.php 
 
Ok thx I will translate once and do put the result in the js file ...



 
Informpro - View user's profile Send private message  
Informpro [ Thu 08 Oct, 2009 09:04 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1