New Vars In lang_bbcb_mg.php


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: [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.

Subject: Re: New Vars In lang_bbcb_mg.php
Thanks for the information MG

Profile PM  
Subject: Re: New Vars In Lang_bbcb_mg.php
Thanks for reporting it to us! :mryellow:

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.

Subject: Hi,
Thank you for reporting this. Just to make sure that everything is working properly.

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 ?

Profile PM  
Subject: 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


Profile PM  
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 ^^'

Profile PM  
Subject: 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: 442 Time(s)

Profile PM  
Subject: Re: New Vars In Lang_bbcb_mg.php
Ok thx I will translate once and do put the result in the js file ...

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0868s (PHP: 22% SQL: 78%)
SQL queries: 13 - Debug Off - GZIP Enabled