Last steps to make the conversion remove the obsolete language keys.

git-svn-id: http://piwigo.org/svn/trunk@5563 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2010-04-02 08:01:13 +00:00
parent 1850b89a2b
commit 19f47434a7
3 changed files with 10 additions and 6 deletions
-4
View File
@@ -66,8 +66,6 @@ $lang['Caddie management'] = 'Caddie management';
$lang['Caddie'] = 'Caddie';
$lang['Categories authorized thanks to group associations'] = 'Categories authorized thanks to group associations';
$lang['Categories manual order was saved'] = 'Categories manual order was saved';
$lang['Categories ordered alphanumerically'] = 'Categories ascending alphanumerically ordered';
$lang['Categories ordered alphanumerically reverse'] = 'Categories descending alphanumerically ordered';
$lang['Category elements associated to the following categories: %s'] = 'Category elements associated to the following categories: %s';
$lang['Check for upgrade failed for unknown reasons.'] = 'Check for upgrade failed for unknown reasons.';
$lang['Check for upgrade'] = 'Check for upgrade';
@@ -132,8 +130,6 @@ $lang['Number of thumbnails to create'] = 'Number of thumbnails to create';
$lang['Only private categories are listed'] = 'Only private categories are listed';
$lang['Operating system'] = 'Operating system';
$lang['Options'] = 'Options';
$lang['Order alphanumerically'] = 'Categories sorted in ascending order ⇓';
$lang['Order alphanumerically reverse'] = 'Categories sorted in descending order ⇑';
$lang['Other private categories'] = 'Other private categories';
$lang['Page banner'] = 'Page banner';
$lang['Parent category'] = 'Parent category';
+8 -1
View File
@@ -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' => '',
}
);
+2 -1
View File
@@ -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>';
}