From 6dd4ea0164a8ed5dcc5807cb3b15c48043c78d0a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 17 Dec 2006 21:49:24 +0000 Subject: - Patch #103784 by Gabor: fixed translation problems. --- modules/node/content_types.inc | 2 +- modules/system/system.module | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index 916426ecd..c74b33f2c 100644 --- a/modules/node/content_types.inc +++ b/modules/node/content_types.inc @@ -383,7 +383,7 @@ function node_type_delete_confirm($type) { $num_nodes = db_num_rows(db_query("SELECT * FROM {node} WHERE type = '%s'", $type->type)); if ($num_nodes) { - $caption .= '

'. t('Warning: there %are currently %num_nodes %type %nodes on your site. %they may not be able to be displayed or edited correctly, once you have removed this content type.', array('%are' => format_plural($num_nodes, 'is', 'are'), '%num_nodes' => $num_nodes, '%type' => $type->name, '%nodes' => format_plural($num_nodes, 'node', 'nodes'), '%they' => format_plural($num_nodes, 'It', 'They'))) .'

'; + $caption .= '

'. strtr(format_plural($num_nodes, 'Warning: there is currently @count %type node on your site. It may not be able to be displayed or edited correctly, once you have removed this content type.', 'Warning: there are currently @count %type nodes on your site. They may not be able to be displayed or edited correctly, once you have removed this content type.'), array('%type' => theme('placeholder', $type->name))) .'

'; } $caption .= '

'. t('This action cannot be undone.') .'

'; diff --git a/modules/system/system.module b/modules/system/system.module index 238deb75d..0963745d4 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1399,9 +1399,8 @@ function system_modules_confirm_form($modules, $form_values = array()) { $t_argument = array( '%module' => $modules[$name]->info['name'], '%dependencies' => implode(', ', $missing_dependencies), - '!modules' => format_plural(count($missing_dependencies), ' module', ' modules'), ); - $items[] = t('You must enable the %dependencies !modules to install %module.', $t_argument); + $items[] = strtr(format_plural(count($missing_dependencies), 'You must enable the %dependencies module to install %module.', 'You must enable the %dependencies modules to install %module.'), $t_argument); } $form['text'] = array('#value' => theme('item_list', $items)); } -- cgit v1.2.3