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>
<fieldset><legend><?php echo $langs->trans("ExportOptions"); ?></legend>
<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="ANSI">ANSI</option>
</select><br>

View File

@ -100,7 +100,7 @@ if ($what == 'mysql')
if ($compression == 'gz') $outputfile.='.gz';
if ($compression == 'bz') $outputfile.='.bz2';
$outputerror = $outputfile.'.err';
create_exdir($conf->admin->dir_output.'/backup');
dol_mkdir($conf->admin->dir_output.'/backup');
// Parameteres execution
$command=$cmddump;
@ -154,7 +154,7 @@ if ($what == 'mysql')
$errormsg='';
$result=create_exdir($outputdir);
$result=dol_mkdir($outputdir);
// Debut appel methode execution
$fullcommandcrypted=$command." ".$paramcrypted." 2>&1";
@ -231,7 +231,7 @@ if ($what == 'postgresql')
if ($compression == 'gz') $outputfile.='.gz';
if ($compression == 'bz') $outputfile.='.bz2';
$outputerror = $outputfile.'.err';
create_exdir($conf->admin->dir_output.'/backup');
dol_mkdir($conf->admin->dir_output.'/backup');
// Parameteres execution
$command=$cmddump;
@ -267,7 +267,7 @@ if ($what == 'postgresql')
$paramcrypted.=" -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 '<br>';

View File

@ -140,6 +140,7 @@ GenerateBackup=Generate backup
Backup=Backup
Restore=Restore
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
BackupResult=Backup result
BackupFileSuccessfullyCreated=Backup file successfully generated

View File

@ -141,6 +141,7 @@ GenerateBackup= Générer sauvegarde
Backup= Sauvegarde
Restore= Restauration
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
BackupResult= Résultat sauvegarde
BackupFileSuccessfullyCreated= Fichier backup généré avec succès