diff options
Diffstat (limited to '')
-rw-r--r-- | tools/translation_analysis.php | 7 | ||||
-rw-r--r-- | tools/translation_validated.inc.php | 58 |
2 files changed, 64 insertions, 1 deletions
diff --git a/tools/translation_analysis.php b/tools/translation_analysis.php index d5ae444ca..f4cfd1f3a 100644 --- a/tools/translation_analysis.php +++ b/tools/translation_analysis.php @@ -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]; diff --git a/tools/translation_validated.inc.php b/tools/translation_validated.inc.php new file mode 100644 index 000000000..70ab58186 --- /dev/null +++ b/tools/translation_validated.inc.php @@ -0,0 +1,58 @@ +<?php +$validated_keys = array( + 'fr_FR' => array( + 'Dimensions', + 'Identification', + 'Notification', + 'Tag', + 'Tags', + 'admin', + 'identification', + 'redirect_msg', + 'search_date_from', + 'title_menu', + 'IP: %s', + 'Email: %s', + '%d element', + '%d elements', + '%d association', + '%d associations', + '%d tag', + '%d tags', + 'Actions', + 'Description', + 'Informations', + 'Maintenance', + 'Options', + 'Plugins', + 'Position', + 'Validation', + 'Version', + 'config', + 'Date', + 'instructions', + 'is_high_disabled', + 'nbm_content_goto_2', + 'nbm_content_hello_2', + 'nbm_item_notification', + 'nbm_send_options', + 'permissions', + 'public', + 'site_local', + 'update_simulation_title', + 'IP', + 'image', + 'section', + 'tags', + 'high', + 'c13y_Correction', + 'Level 1', + 'Level 8', + 'FORUM', + 'EXTENSIONS', + 'WIKI / DOC', + 'Installation', + 'step1_host_info', + ), + ); +?>
\ No newline at end of file |