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:
parent
1850b89a2b
commit
19f47434a7
3 changed files with 10 additions and 6 deletions
|
|
@ -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' => '',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -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>';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue