summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-12-27 13:02:34 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-12-27 13:02:34 +0000
commit613b561668e8b55eb33761940fa23a436ef6f587 (patch)
tree15f0085a7cbf9e6d870aa1a6f906edb55e93f5df /includes
parent9d3685009b124705a5ccd33cd6310a4406f8d566 (diff)
downloadbrdo-613b561668e8b55eb33761940fa23a436ef6f587.tar.gz
brdo-613b561668e8b55eb33761940fa23a436ef6f587.tar.bz2
#105303 by Gábor Hojtsy. Improve translation converage for installation.
Diffstat (limited to 'includes')
-rw-r--r--includes/install.mysql.inc2
-rw-r--r--includes/install.mysqli.inc2
-rw-r--r--includes/install.pgsql.inc2
-rw-r--r--includes/theme.inc8
4 files changed, 7 insertions, 7 deletions
diff --git a/includes/install.mysql.inc b/includes/install.mysql.inc
index 9bab82c7a..7fe8ab7a9 100644
--- a/includes/install.mysql.inc
+++ b/includes/install.mysql.inc
@@ -21,7 +21,7 @@ function mysql_is_available() {
*/
function drupal_test_mysql($url, &$success) {
if (!mysql_is_available()) {
- drupal_set_message('PHP MySQL support not enabled.', 'error');
+ drupal_set_message(st('PHP MySQL support not enabled.'), 'error');
return FALSE;
}
diff --git a/includes/install.mysqli.inc b/includes/install.mysqli.inc
index ae5831f4e..0d243752f 100644
--- a/includes/install.mysqli.inc
+++ b/includes/install.mysqli.inc
@@ -21,7 +21,7 @@ function mysqli_is_available() {
*/
function drupal_test_mysqli($url, &$success) {
if (!mysqli_is_available()) {
- drupal_set_message('PHP MySQLi support not enabled.', 'error');
+ drupal_set_message(st('PHP MySQLi support not enabled.'), 'error');
return FALSE;
}
diff --git a/includes/install.pgsql.inc b/includes/install.pgsql.inc
index cc9da3998..6a37e06ed 100644
--- a/includes/install.pgsql.inc
+++ b/includes/install.pgsql.inc
@@ -21,7 +21,7 @@ function pgsql_is_available() {
*/
function drupal_test_pgsql($url, &$success) {
if (!pgsql_is_available()) {
- drupal_set_message('PHP PostgreSQL support not enabled.', 'error');
+ drupal_set_message(st('PHP PostgreSQL support not enabled.'), 'error');
return FALSE;
}
diff --git a/includes/theme.inc b/includes/theme.inc
index 0b475d4f6..6581b5cdb 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -453,14 +453,14 @@ function theme_install_page($content) {
$messages = drupal_set_message();
if (isset($messages['error'])) {
- $errors = count($messages['error']) > 1 ? 'errors' : 'error';
- $output .= "<h3>The following $errors must be resolved before you can continue the installation process:</h3>";
+ $title = count($messages['error']) > 1 ? st('The following errors must be resolved before you can continue the installation process') : st('The following error must be resolved before you can continue the installation process');
+ $output .= '<h3>' .$title. ':</h3>';
$output .= theme('status_messages', 'error');
}
if (isset($messages['status'])) {
- $warnings = count($messages['status']) > 1 ? 'warnings' : 'warning';
- $output .= "<h4>The following installation $warnings should be carefully reviewed, but in most cases may be safely ignored:</h4>";
+ $warnings = count($messages['status']) > 1 ? st('The following installation warnings should be carefully reviewed, but in most cases may be safely ignored') : st('The following installation warning should be carefully reviewed, but in most cases may be safely ignored');
+ $output .= '<h4>' .$title. ':</h4>';
$output .= theme('status_messages', 'status');
}