diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/convert_language_to_2.1.pl | 9 | ||||
-rw-r--r-- | tools/translation_analysis.php | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/tools/convert_language_to_2.1.pl b/tools/convert_language_to_2.1.pl index 353e801e4..b78547a33 100644 --- a/tools/convert_language_to_2.1.pl +++ b/tools/convert_language_to_2.1.pl @@ -43,11 +43,13 @@ my %ignore_keys = ( my %remove_keys = ( common => { - 'You can\'t upload pictures in this category' => '', + "You can\\'t upload pictures in this category" => '', 'display pictures added on' => '', 'Email address is missing' => '', 'Delete: %s' => '', 'All tags must match' => '', + 'Validate: %s' => '', + 'Upgrade from %s to %s' => '', }, admin => { 'nbm_content_goto_2' => '', @@ -77,6 +79,9 @@ my %remove_keys = ( 'Categories sorted in descending order ⇑' => '', 'Bugs' => '', 'Automatic installation' => '', + 'Upgrade from version %s to %s' => '', + 'Upgrade from %s to %s' => '', + 'Upload Form' => '', }, upgrade => { 'Are you sure?' => '', @@ -85,6 +90,8 @@ my %remove_keys = ( install => { 'Parameters are correct' => '', 'Installation finished' => '', + 'The next step of the installation is now possible' => '', + 'next step' => '', } ); diff --git a/tools/translation_analysis.php b/tools/translation_analysis.php index 18e943020..da7a82463 100644 --- a/tools/translation_analysis.php +++ b/tools/translation_analysis.php @@ -113,6 +113,8 @@ foreach ($languages as $language) } } + echo '<h3>'.$file.'.lang.php</h3>'; + if ('' != $output_missing or '' != $output_duplicated) { $output = ''; @@ -124,7 +126,6 @@ foreach ($languages as $language) { $output.= "\n// untranslated yet\n".$output_duplicated; } - echo '<h3>'.$file.'.lang.php</h3>'; echo '<textarea style="width:100%;height:250px;">'.$output.'</textarea>'; } |