Mercurial > defr > drupal > core
comparison modules/translation/translation.pages.inc @ 11:589fb7c02327 6.5
Drupal 6.5
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:32:19 +0100 |
parents | c1f4ac30525a |
children |
comparison
equal
deleted
inserted
replaced
10:6f15c9d74937 | 11:589fb7c02327 |
---|---|
1 <?php | 1 <?php |
2 // $Id: translation.pages.inc,v 1.2 2008/01/07 13:18:40 goba Exp $ | 2 // $Id: translation.pages.inc,v 1.2.2.1 2008/09/30 10:50:43 goba Exp $ |
3 | 3 |
4 /** | 4 /** |
5 * @file | 5 * @file |
6 * User page callbacks for the translation module. | 6 * User page callbacks for the translation module. |
7 */ | 7 */ |
38 $options[] = l(t('edit'), "node/$translation_node->nid/edit"); | 38 $options[] = l(t('edit'), "node/$translation_node->nid/edit"); |
39 } | 39 } |
40 $status = $translation_node->status ? t('Published') : t('Not published'); | 40 $status = $translation_node->status ? t('Published') : t('Not published'); |
41 $status .= $translation_node->translate ? ' - <span class="marker">'. t('outdated') .'</span>' : ''; | 41 $status .= $translation_node->translate ? ' - <span class="marker">'. t('outdated') .'</span>' : ''; |
42 if ($translation_node->nid == $tnid) { | 42 if ($translation_node->nid == $tnid) { |
43 $language_name = '<strong>'. $language_name .'</strong> (source)'; | 43 $language_name = t('<strong>@language_name</strong> (source)', array('@language_name' => $language_name)); |
44 } | 44 } |
45 } | 45 } |
46 else { | 46 else { |
47 // No such translation in the set yet: help user to create it. | 47 // No such translation in the set yet: help user to create it. |
48 $title = t('n/a'); | 48 $title = t('n/a'); |