From 25b01f6c2eea7304bd802f4102c948a93724dd7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Mon, 18 Jun 2007 09:41:30 +0000 Subject: [PATCH] Remove leftover t() from watchdog messages --- includes/locale.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/locale.inc b/includes/locale.inc index db0c453d9eb..6e8f8ccf56a 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))); } }