fixing some language issues

This commit is contained in:
Benjamin Sonntag 2017-10-07 19:08:17 +02:00
parent 590faa4708
commit 267d874a0d
7 changed files with 9 additions and 9 deletions

View File

@ -173,7 +173,7 @@ if (!empty($formu) && $formu) {
if (isset($actextract) && $actextract) { if (isset($actextract) && $actextract) {
if ($bro->ExtractFile($R. '/' . $fileextract, $R)) { 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);
} }
} }

View File

@ -54,7 +54,7 @@ if(!empty($confirm_del)) {
foreach($lst_todel as $v) { foreach($lst_todel as $v) {
$r=$ftp->delete_ftp($v); $r=$ftp->delete_ftp($v);
if ($r) { 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"); include("ftp_list.php");

View File

@ -60,9 +60,9 @@ if (!$r) {
exit(); exit();
} else { } else {
if ($create) 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 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"); include("ftp_list.php");
exit(); exit();

View File

@ -50,7 +50,7 @@ echo $msg->msg_html_all();
if ($quota->cancreate("ftp")) { ?> if ($quota->cancreate("ftp")) { ?>
<p> <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> </p>
<?php <?php
} }

View File

@ -33,9 +33,9 @@ getFields($fields);
if ($ftp->switch_enabled($id,$status)) { if ($ftp->switch_enabled($id,$status)) {
if ($status) if ($status)
$msg->raise("INFO", "ftp", _("The ftp account is enabled")); $msg->raise("INFO", "ftp", _("The FTP account is enabled"));
else else
$msg->raise("INFO", "ftp", _("The ftp account is disabled")); $msg->raise("INFO", "ftp", _("The FTP account is disabled"));
} }
require_once('ftp_list.php'); require_once('ftp_list.php');

View File

@ -46,7 +46,7 @@ if(!empty($confirm_del)) {
if ($piwik->user_has_sites()) { 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")); $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) ) { } 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'); include('piwik_userlist.php');

View File

@ -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)); $db->query("INSERT INTO ftpusers (name,password, encrypted_password,homedir,uid) VALUES ( ?, '', ?, ?, ?)", array($full_login, $encrypted_password, $absolute, $cuid));
return true; return true;
} else { } 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; return false;
} }
} }