summaryrefslogtreecommitdiff
path: root/includes/locale.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-06-18 09:41:30 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-06-18 09:41:30 +0000
commit25b01f6c2eea7304bd802f4102c948a93724dd7a (patch)
treefcef8059bfa01d1bbc0aa475f61ead439a223e9e /includes/locale.inc
parentd209601f548e17f9d459dc5d6609c8900b5c4c95 (diff)
downloadbrdo-25b01f6c2eea7304bd802f4102c948a93724dd7a.tar.gz
brdo-25b01f6c2eea7304bd802f4102c948a93724dd7a.tar.bz2
Remove leftover t() from watchdog messages
Diffstat (limited to 'includes/locale.inc')
-rw-r--r--includes/locale.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index db0c453d9..6e8f8ccf5 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -2091,14 +2091,14 @@ function _locale_rebuild_js($langcode = NULL) {
if ($filepath) {
// There has already been a translation file before.
if (!empty($language->javascript)) {
- watchdog('locale', t('Updated JavaScript translation file for the language %language.', array('%language' => t($language->name))));
+ watchdog('locale', 'Updated JavaScript translation file for the language %language.', array('%language' => t($language->name)));
}
else {
- watchdog('locale', t('Created JavaScript translation file for the language %language.', array('%language' => t($language->name))));
+ watchdog('locale', 'Created JavaScript translation file for the language %language.', array('%language' => t($language->name)));
}
}
else {
- watchdog('locale', t('An error occured during creation of the JavaScript translation file for the language %language.', array('%language' => t($language->name))));
+ watchdog('locale', 'An error occured during creation of the JavaScript translation file for the language %language.', array('%language' => t($language->name)));
}
}
}
@@ -2109,7 +2109,7 @@ function _locale_rebuild_js($langcode = NULL) {
// Delete the old JavaScript file
file_delete(file_create_path(variable_get('locale_js_directory', 'languages') .'/'. $language->language .'_'. $language->javascript .'.js'));
db_query("UPDATE {languages} SET javascript = '' WHERE language = '%s'", $language->language);
- watchdog('locale', t('Deleted JavaScript translation file for the locale %language.', array('%language' => t($language->name))));
+ watchdog('locale', 'Deleted JavaScript translation file for the locale %language.', array('%language' => t($language->name)));
}
}