diff options
Diffstat (limited to 'en/doc/doc.php')
-rw-r--r-- | en/doc/doc.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/en/doc/doc.php b/en/doc/doc.php index 98e44ce54..d0cb4f150 100644 --- a/en/doc/doc.php +++ b/en/doc/doc.php @@ -50,11 +50,11 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null if ($link_locale == $lng) { $your_language_present = TRUE; if (is_null($epub_link) or is_null($pdf_link) or $hide_epub_pdf) { - $your_language = sprintf(_t('%s available in %s') . '<br/>%s', + $your_language = sprintf(_r('%s available in %s') . '<br/>%s', '<span style="font-weight:bold">' . $documentation_name . '</span>', $lng_name, sprintf($link, $lng)); } else { - $your_language = sprintf(_t('%s available in %s') . '<br/>%s <span style="font-size: 07pt;">('. - _t('also as') . '%s , %s)</span>', + $your_language = sprintf(_r('%s available in %s') . '<br/>%s <span style="font-size: 07pt;">('. + _r('also as') . '%s , %s)</span>', '<span style="font-weight:bold">' . $documentation_name . '</span>', $lng_name, sprintf($link, $lng), sprintf($epub_link, $lng), sprintf($pdf_link, $lng)); } @@ -64,7 +64,7 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null $others[] = sprintf('%s<br/>%s', $lng_name, sprintf($link, $lng)); } else { if(!$note_printed) { - $note = _t('also as'); + $note = _r('also as'); $note_printed = TRUE; } else { $note = ''; @@ -75,9 +75,9 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null } } if ($your_language_present) { - $text_your_language = '<span style="font-weight:bold">' . _t('Documentation in your language:') . '</span><br/>'; + $text_your_language = '<span style="font-weight:bold">' . _r('Documentation in your language:') . '</span><br/>'; if ($other_languages_present) { - $text_others = '<span style="font-weight:bold">' . _t('Other languages:') . '</span>'; + $text_others = '<span style="font-weight:bold">' . _r('Other languages:') . '</span>'; } $table .= sprintf("\t\t<tr><td>%s</td></tr>" . PHP_EOL . "\t\t<tr><td> </td></tr>" . PHP_EOL . @@ -87,14 +87,14 @@ function doc_list($documentation_name, $type, $version, $link, $epub_link = null foreach($documentation[$type] as $single_version => $all_languages) { if($single_version < $version && in_array($link_locale, $all_languages)) { $language_present_before = "\t\t<tr><td>" . - sprintf(_t('Translation was present in %s before.<br/>Maybe you can check documentation for %s in Mageia %s.'), + sprintf(_r('Translation was present in %s before.<br/>Maybe you can check documentation for %s in Mageia %s.'), $langs[$locale], $documentation_name, $single_version) . "</td></tr>" . PHP_EOL; break; } else { $language_present_before = ''; } } - $text_your_language = _t('Please help <a href="../community/">us</a> translate it in your language.') . '<br/>'; + $text_your_language = _r('Please help <a href="../community/">us</a> translate it in your language.') . '<br/>'; $table .= sprintf("\t\t<tr><td>%s</td></tr>" . PHP_EOL . "\t\t<tr><td>%s</td></tr>" . PHP_EOL . '%s' . "\t\t<tr><td> </td></tr>" . PHP_EOL, |