diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-12-17 21:49:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-12-17 21:49:24 +0000 |
commit | 6dd4ea0164a8ed5dcc5807cb3b15c48043c78d0a (patch) | |
tree | bb3595e7629b4df3f00d80b58528107f5752ccdb /modules/node | |
parent | c1f9032c9170940dbf01f161b52d0067ad0cf7c1 (diff) | |
download | brdo-6dd4ea0164a8ed5dcc5807cb3b15c48043c78d0a.tar.gz brdo-6dd4ea0164a8ed5dcc5807cb3b15c48043c78d0a.tar.bz2 |
- Patch #103784 by Gabor: fixed translation problems.
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/content_types.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 .= '<p>'. t('<strong>Warning:</strong> 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'))) .'</p>'; + $caption .= '<p>'. strtr(format_plural($num_nodes, '<strong>Warning:</strong> 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.', '<strong>Warning:</strong> 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))) .'</p>'; } $caption .= '<p>'. t('This action cannot be undone.') .'</p>'; |