From 13635722cdf51c1e76dc5ef86391e03594ea49ff Mon Sep 17 00:00:00 2001 From: cweiske Date: Wed, 4 Nov 2009 21:30:55 +0000 Subject: make voting labels translatable git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@511 b3834d28-1941-0410-a4f8-b48e95affb8f --- data/templates/bookmarks-vote-horizontal.inc.tpl.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'data/templates') diff --git a/data/templates/bookmarks-vote-horizontal.inc.tpl.php b/data/templates/bookmarks-vote-horizontal.inc.tpl.php index acdfbf7..c4a9f8e 100644 --- a/data/templates/bookmarks-vote-horizontal.inc.tpl.php +++ b/data/templates/bookmarks-vote-horizontal.inc.tpl.php @@ -20,16 +20,19 @@ if (!isset($row['hasVoted'])) { $classes = 'vote-horiz'; } echo '
'; -echo 'Voting ' . $row['bVoting'] . ' '; +echo sprintf( + T_('Voting %d'), $row['bVoting'] +) . ' '; if (isset($row['hasVoted'])) { if ($row['vote'] != 1) { echo 'Vote for '; + . '>' . T_('Vote for') . ' '; } else { - echo 'Vote for '; + echo '' + . T_('Vote for') . ' '; } @@ -37,9 +40,10 @@ if (isset($row['hasVoted'])) { echo 'Vote against'; + . '>' . T_('Vote against') . ''; } else { - echo 'Vote against'; + echo '' + . T_('Vote against') . ''; } } echo '
'; -- cgit v1.2.3