fixing some language issues
This commit is contained in:
parent
590faa4708
commit
267d874a0d
|
@ -173,7 +173,7 @@ if (!empty($formu) && $formu) {
|
|||
|
||||
if (isset($actextract) && $actextract) {
|
||||
if ($bro->ExtractFile($R. '/' . $fileextract, $R)) {
|
||||
$msg->raise("INFO", "bro", _("The extraction of the file '%s' was successfull"), $fileextract);
|
||||
$msg->raise("INFO", "bro", _("The extraction of the file '%s' succeeded"), $fileextract);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ if(!empty($confirm_del)) {
|
|||
foreach($lst_todel as $v) {
|
||||
$r=$ftp->delete_ftp($v);
|
||||
if ($r) {
|
||||
$msg->raise("INFO", "ftp", _("The ftp account %s has been successfully deleted"),$r);
|
||||
$msg->raise("INFO", "ftp", _("The FTP account %s has been successfully deleted"),$r);
|
||||
}
|
||||
}
|
||||
include("ftp_list.php");
|
||||
|
|
|
@ -60,9 +60,9 @@ if (!$r) {
|
|||
exit();
|
||||
} else {
|
||||
if ($create)
|
||||
$msg->raise("INFO", "ftp", _("The ftp account has been successfully created"));
|
||||
$msg->raise("INFO", "ftp", _("The FTP account has been successfully created"));
|
||||
else
|
||||
$msg->raise("INFO", "ftp", _("The ftp account has been successfully saved"));
|
||||
$msg->raise("INFO", "ftp", _("The FTP account has been successfully saved"));
|
||||
|
||||
include("ftp_list.php");
|
||||
exit();
|
||||
|
|
|
@ -50,7 +50,7 @@ echo $msg->msg_html_all();
|
|||
|
||||
if ($quota->cancreate("ftp")) { ?>
|
||||
<p>
|
||||
<span class="inb add"><a href="ftp_edit.php?create=1"><?php __("Create a new ftp account"); ?></a></span>
|
||||
<span class="inb add"><a href="ftp_edit.php?create=1"><?php __("Create a new FTP account"); ?></a></span>
|
||||
</p>
|
||||
<?php
|
||||
}
|
||||
|
|
|
@ -33,9 +33,9 @@ getFields($fields);
|
|||
|
||||
if ($ftp->switch_enabled($id,$status)) {
|
||||
if ($status)
|
||||
$msg->raise("INFO", "ftp", _("The ftp account is enabled"));
|
||||
$msg->raise("INFO", "ftp", _("The FTP account is enabled"));
|
||||
else
|
||||
$msg->raise("INFO", "ftp", _("The ftp account is disabled"));
|
||||
$msg->raise("INFO", "ftp", _("The FTP account is disabled"));
|
||||
}
|
||||
|
||||
require_once('ftp_list.php');
|
||||
|
|
|
@ -46,7 +46,7 @@ if(!empty($confirm_del)) {
|
|||
if ($piwik->user_has_sites()) {
|
||||
$msg->raise("ALERT", "piwik", _("To be able to delete the last user account, you must first remove all the piwik sites"));
|
||||
} else if ($piwik->user_delete($login) ) {
|
||||
$msg->raise("INFO", "piwik", _("Account %s is successfully deleted"), $login);
|
||||
$msg->raise("INFO", "piwik", _("Account %s has been successfully deleted"), $login);
|
||||
}
|
||||
|
||||
include('piwik_userlist.php');
|
||||
|
|
|
@ -408,7 +408,7 @@ class m_ftp {
|
|||
$db->query("INSERT INTO ftpusers (name,password, encrypted_password,homedir,uid) VALUES ( ?, '', ?, ?, ?)", array($full_login, $encrypted_password, $absolute, $cuid));
|
||||
return true;
|
||||
} else {
|
||||
$msg->raise("ERROR", "ftp", _("Your FTP account quota is over. You cannot create more ftp accounts"));
|
||||
$msg->raise("ERROR", "ftp", _("Your FTP account quota is over. You cannot create more FTP accounts"));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue