forum.coppermine-gallery.net
Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: hfohrman on December 12, 2005, 04:58:17 pm
-
Yes I found that afterwords and I have been in contact with them. No problem.
But I still have the 2 bugs that i Found. And I werifyed that with one of the other translaters yesterday.
1. In file picEditor.php. Line 214. There you have hardcoded text that are displayed. $message = "Thumbnail successfully saved - you can close this window now";
2. This one I have been doing test with the other translated languages and it's there all the time. After logged in if I switch from admin to user mode and back. There is a confirmation message displayed. And If fallback is on in the config this text is always displayed in englich. Even if there is a translation in the language file.
If I switch of fallback. Then it reads the local file. And I done tests with Swedish , German . Same procedure.
Hans
-
Lang fallback doesn't work so well with numeric keys, change langfallback.inc.php
if (defined('MODE_PHP')) {
$lang_mode_php_en = cpg_get_default_lang_var('lang_mode_php','english');
$lang_mode_php = array_merge($lang_mode_php_en, $lang_mode_php);
}
to
if (defined('MODE_PHP')) {
$lang_mode_php_en = cpg_get_default_lang_var('lang_mode_php','english');
$lang_mode_php = isset($lang_mode_php) ? $lang_mode_php : $lang_mode_php_en;
}
-
Fix committed to CVS.
-
Hi guys !!!
I have almost the same problem ... please read this thread
http://forum.coppermine-gallery.net/index.php?topic=25415.0 (http://forum.coppermine-gallery.net/index.php?topic=25415.0)
Hope you can help me :)
-
don't try to hijack threads. You already got an answer on the other thread, no need to advertize your thread here.