Translation for postgres

This commit is contained in:
Laurent Destailleur 2011-06-15 07:44:02 +00:00
parent 45823ab7a6
commit de9abf2eae
4 changed files with 7 additions and 5 deletions

View File

@ -226,7 +226,7 @@ if ($_GET["msg"])
<br> <br>
<fieldset><legend><?php echo $langs->trans("ExportOptions"); ?></legend> <fieldset><legend><?php echo $langs->trans("ExportOptions"); ?></legend>
<label for="select_sql_compat"> <?php echo $langs->trans("ExportCompatibility"); ?></label> <label for="select_sql_compat"> <?php echo $langs->trans("ExportCompatibility"); ?></label>
<select name="sql_compat" id="select_sql_compat"> <select name="sql_compat" id="select_sql_compat" class="flat">
<option value="POSTGRESQL" selected="selected">POSTGRESQL</option> <option value="POSTGRESQL" selected="selected">POSTGRESQL</option>
<option value="ANSI">ANSI</option> <option value="ANSI">ANSI</option>
</select><br> </select><br>

View File

@ -100,7 +100,7 @@ if ($what == 'mysql')
if ($compression == 'gz') $outputfile.='.gz'; if ($compression == 'gz') $outputfile.='.gz';
if ($compression == 'bz') $outputfile.='.bz2'; if ($compression == 'bz') $outputfile.='.bz2';
$outputerror = $outputfile.'.err'; $outputerror = $outputfile.'.err';
create_exdir($conf->admin->dir_output.'/backup'); dol_mkdir($conf->admin->dir_output.'/backup');
// Parameteres execution // Parameteres execution
$command=$cmddump; $command=$cmddump;
@ -154,7 +154,7 @@ if ($what == 'mysql')
$errormsg=''; $errormsg='';
$result=create_exdir($outputdir); $result=dol_mkdir($outputdir);
// Debut appel methode execution // Debut appel methode execution
$fullcommandcrypted=$command." ".$paramcrypted." 2>&1"; $fullcommandcrypted=$command." ".$paramcrypted." 2>&1";
@ -231,7 +231,7 @@ if ($what == 'postgresql')
if ($compression == 'gz') $outputfile.='.gz'; if ($compression == 'gz') $outputfile.='.gz';
if ($compression == 'bz') $outputfile.='.bz2'; if ($compression == 'bz') $outputfile.='.bz2';
$outputerror = $outputfile.'.err'; $outputerror = $outputfile.'.err';
create_exdir($conf->admin->dir_output.'/backup'); dol_mkdir($conf->admin->dir_output.'/backup');
// Parameteres execution // Parameteres execution
$command=$cmddump; $command=$cmddump;
@ -267,7 +267,7 @@ if ($what == 'postgresql')
$paramcrypted.=" -w ".$dolibarr_main_db_name; $paramcrypted.=" -w ".$dolibarr_main_db_name;
$paramclear.=" -w ".$dolibarr_main_db_name; $paramclear.=" -w ".$dolibarr_main_db_name;
print $langs->trans("RunCommandSummary").':<br>'."\n"; print $langs->trans("RunCommandSummaryToLaunch").':<br>'."\n";
print '<textarea rows="'.ROWS_3.'" cols="120">'.$command." ".$paramcrypted.'</textarea><br>'."\n"; print '<textarea rows="'.ROWS_3.'" cols="120">'.$command." ".$paramcrypted.'</textarea><br>'."\n";
print '<br>'; print '<br>';

View File

@ -140,6 +140,7 @@ GenerateBackup=Generate backup
Backup=Backup Backup=Backup
Restore=Restore Restore=Restore
RunCommandSummary=Backup has been launched with the following command RunCommandSummary=Backup has been launched with the following command
RunCommandSummaryToLaunch=Backup can be launched with the following command
WebServerMustHavePermissionForCommand=Your web server must have the permission to run such commands WebServerMustHavePermissionForCommand=Your web server must have the permission to run such commands
BackupResult=Backup result BackupResult=Backup result
BackupFileSuccessfullyCreated=Backup file successfully generated BackupFileSuccessfullyCreated=Backup file successfully generated

View File

@ -141,6 +141,7 @@ GenerateBackup= Générer sauvegarde
Backup= Sauvegarde Backup= Sauvegarde
Restore= Restauration Restore= Restauration
RunCommandSummary= La sauvegarde sera exécutée par la commande suivante RunCommandSummary= La sauvegarde sera exécutée par la commande suivante
RunCommandSummaryToLaunch=La sauvegarde peut etre exécutée par la commande suivante
WebServerMustHavePermissionForCommand= Votre serveur web doit avoir les droits pour exécuter une telle commande WebServerMustHavePermissionForCommand= Votre serveur web doit avoir les droits pour exécuter une telle commande
BackupResult= Résultat sauvegarde BackupResult= Résultat sauvegarde
BackupFileSuccessfullyCreated= Fichier backup généré avec succès BackupFileSuccessfullyCreated= Fichier backup généré avec succès