summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/functions/functions.php2
-rw-r--r--includes/functions/functions_print.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/functions/functions.php b/includes/functions/functions.php
index 7cb60179f4..a154d397cd 100644
--- a/includes/functions/functions.php
+++ b/includes/functions/functions.php
@@ -59,7 +59,7 @@ function file_upload_error_text($error_code) {
return WT_I18N::translate('File was only partially uploaded, please try again');
case UPLOAD_ERR_NO_FILE:
// I18N: PHP internal error message - php.net/manual/en/features.file-upload.errors.php
- return WT_I18N::translate('No file was received. Please upload again.');
+ return WT_I18N::translate('No file was received. Please upload again.');
case UPLOAD_ERR_NO_TMP_DIR:
// I18N: PHP internal error message - php.net/manual/en/features.file-upload.errors.php
return WT_I18N::translate('Missing PHP temporary directory');
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php
index dca702704d..04bec2c231 100644
--- a/includes/functions/functions_print.php
+++ b/includes/functions/functions_print.php
@@ -230,7 +230,7 @@ function execution_stats() {
return
'<div class="execution_stats">'.
WT_I18N::translate(
- 'Execution time: %1$s seconds. Database queries: %2$s. Memory usage: %3$s KB.',
+ 'Execution time: %1$s seconds. Database queries: %2$s. Memory usage: %3$s KB.',
WT_I18N::number(microtime(true) - $start_time, 3),
WT_I18N::number(WT_DB::getQueryCount()),
WT_I18N::number(memory_get_peak_usage(true)/1024)
@@ -294,7 +294,7 @@ function whoisonline() {
$content .= '<div class="logged_in_name">';
$content .= WT_Filter::escapeHtml($user->getRealName()) . ' - ' . WT_Filter::escapeHtml($user->getUserName());
if (WT_USER_ID != $user->getUserId() && $user->getPreference('contactmethod') != 'none') {
- $content .= ' <a class="icon-email" href="#" onclick="return message(\'' . WT_Filter::escapeJs($user->getUserName()) . '\', \'\', \'' . WT_Filter::escapeJs(get_query_url()) . '\');" title="' . WT_I18N::translate('Send message').'"></a>';
+ $content .= ' <a class="icon-email" href="#" onclick="return message(\'' . WT_Filter::escapeJs($user->getUserName()) . '\', \'\', \'' . WT_Filter::escapeJs(get_query_url()) . '\');" title="' . WT_I18N::translate('Send a message').'"></a>';
}
$content .= '</div>';
}