mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 03:03:01 +02:00
feature 1374 related: don't display the validated keys as "untranslated yet".
git-svn-id: http://piwigo.org/svn/branches/2.0@4646 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
define('PHPWG_ROOT_PATH', '../');
|
||||
include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
|
||||
|
||||
include_once( PHPWG_ROOT_PATH.'tools/translation_validated.inc.php' );
|
||||
$languages = array_keys(get_languages());
|
||||
|
||||
$page['ref_compare'] = 'en_UK';
|
||||
@@ -70,6 +70,11 @@ foreach ($languages as $language)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (isset($validated_keys[$language]) and in_array($key, $validated_keys[$language]))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$local_value = $metalang[$language][$file][$key];
|
||||
$ref_value = $metalang[ $page['ref_default_values'] ][$file][$key];
|
||||
|
||||
Reference in New Issue
Block a user