From 52a1d1bbe80422ca7a8c79dde6fd92db542b9b2d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 17 Feb 2001 12:59:24 +0000 Subject: - More updates on the translation support --- includes/theme.inc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'includes/theme.inc') diff --git a/includes/theme.inc b/includes/theme.inc index 57b2f7d29..5791ed049 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -32,7 +32,7 @@ function theme_account($theme) { // Display account settings: $content .= "
  • ". t("track your comments") ."
  • \n"; $content .= "
  • ". t("track your stories") ."
  • \n"; - $content .= "
  • ". t("track") ." $site_name
  • \n"; + $content .= "
  • ". strtr(t("track %a"), array("%a" => $site_name)) ."
  • \n"; $content .= "

    \n"; $content .= "

  • ". t("edit your information") ."
  • \n"; $content .= "
  • ". t("edit your preferences") ."
  • \n"; @@ -54,15 +54,15 @@ function theme_account($theme) { $content .= "
  • ". t("logout") ."
  • \n"; - $theme->box(strtr(t("%s's configuration"), array("%s" => $user->userid)), "$content"); + $theme->box(strtr(t("%a's configuration"), array("%a" => $user->userid)), "$content"); } else { $output .= "
    \n"; - $output .= "
    \n"; - $output .= "

    ". t("Username") .":

    \n"; - $output .= "

    ". t("Password") .":

    \n"; - $output .= "

    \n"; - $output .= "

    ". t("REGISTER") ."

    \n"; + $output .= " \n"; + $output .= " ". t("Username") .":

    \n"; + $output .= " ". t("Password") .":

    \n"; + $output .= "
    \n"; + $output .= " ". t("REGISTER") ."\n"; $output .= "

    \n"; $output .= "
    \n"; @@ -92,7 +92,7 @@ function theme_blocks($region, $theme) { } function theme_morelink($theme, $story) { - return ($story->article) ? "[ id\">link\">read more | ". strlen($story->article) ." bytes | id\">link\">". format_plural($story->comments, "comment", "comments") ." ]" : "[ id\">link\">". format_plural($story->comments, "comment", "comments") ." ]"; + return ($story->article) ? "[ id\">link\">". t("read more") ." | ". sizeof(explode(" ", $story->article)) ." ". t("words") ." | id\">link\">". format_plural($story->comments, "comment", "comments") ." ]" : "[ id\">link\">". format_plural($story->comments, "comment", "comments") ." ]"; } function theme_moderation_results($theme, $story) { -- cgit v1.2.3