=== jrating.module ================================================================== --- jrating.module (revision 214) +++ jrating.module (revision 220) @@ -21,7 +21,7 @@ * hook_perm(). */ function jrating_perm() { - return array ('rate content'); + return array (t('rate content')); } /** @@ -278,7 +278,7 @@ ); $view->view_args_php = ''; $view->page = TRUE; - $view->page_title = 'Node ratings'; + $view->page_title = t('Node ratings'); $view->page_header = ''; $view->page_header_format = '1'; $view->page_footer = ''; @@ -308,20 +308,20 @@ array ( 'tablename' => 'node', 'field' => 'title', - 'label' => 'Title', + 'label' => t('Title'), 'handler' => 'views_handler_field_nodelink', 'options' => 'link', ), array ( 'tablename' => 'votingapi_cache', 'field' => 'value', - 'label' => 'Average Rating', + 'label' => t('Average Rating'), 'options' => 'a:3:{s:10:"value_type";s:7:"percent";s:3:"tag";s:6:"rating";s:8:"function";s:7:"average";}', ), array ( 'tablename' => 'votingapi_vote', 'field' => 'currentuservoted', - 'label' => 'Voted', + 'label' => t('Voted'), ), ); $view->filter = array ( === votingapi_views.inc ================================================================== --- votingapi_views.inc (revision 214) +++ votingapi_views.inc (revision 220) @@ -312,13 +312,13 @@ array ( 'tablename' => 'votingapi_vote', 'field' => 'uid', - 'label' => 'user', + 'label' => t('user'), 'sortable' => '1', ), array ( 'tablename' => 'votingapi_vote', 'field' => 'timestamp', - 'label' => 'time', + 'label' => t('time'), 'handler' => 'views_handler_field_since', 'sortable' => '1', 'defaultsort' => 'DESC', @@ -326,13 +326,13 @@ array ( 'tablename' => 'votingapi_vote', 'field' => 'tag', - 'label' => 'criteria', + 'label' => t('criteria'), 'sortable' => '1', ), array ( 'tablename' => 'votingapi_vote', 'field' => 'value', - 'label' => 'vote', + 'label' => t('vote'), 'sortable' => '1', ), ); @@ -369,26 +369,26 @@ array ( 'tablename' => 'node', 'field' => 'type', - 'label' => 'type', + 'label' => t('type'), 'sortable' => '1', ), array ( 'tablename' => 'node', 'field' => 'title', - 'label' => 'title', + 'label' => t('title'), 'handler' => 'views_handler_field_nodelink_with_mark', 'sortable' => '1', ), array ( 'tablename' => 'users', 'field' => 'name', - 'label' => 'author', + 'label' => t('author'), 'sortable' => '1', ), array ( 'tablename' => 'node', 'field' => 'created', - 'label' => 'created on', + 'label' => t('created on'), 'handler' => 'views_handler_field_since', 'sortable' => '1', 'defaultsort' => 'DESC', @@ -396,7 +396,7 @@ array ( 'tablename' => 'votingapi_cache', 'field' => 'value', - 'label' => 'current rating', + 'label' => t('current rating'), 'sortable' => '1', ), ); === po/jrating.pot ================================================================== --- po/jrating.pot (revision 214) +++ po/jrating.pot (revision 220) @@ -0,0 +1,135 @@ +# $Id$ +# +# LANGUAGE translation of Drupal (jrating.module) +# Copyright YEAR NAME +# No version information was available in the source files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"POT-Creation-Date: 2007-02-15 14:22+0200\n" +"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" +"Last-Translator: NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" + +#: jrating.module:16 +msgid "Allows users to rate content." +msgstr "" + +#: jrating.module:24;24 +msgid "rate content" +msgstr "" + +#: jrating.module:33 +msgid "Display rating form for teasers" +msgstr "" + +#: jrating.module:36 +msgid "Should a rating form be present when only a node teaser is displayed?" +msgstr "" + +#: jrating.module:41 +msgid "Display rating form for anonymous users" +msgstr "" + +#: jrating.module:44 +msgid "Should a rating form be present when users aren't logged in?" +msgstr "" + +#: jrating.module:49 +msgid "Display average rating" +msgstr "" + +#: jrating.module:52 +msgid "Should the average rating for an item be displayed?" +msgstr "" + +#: jrating.module:64 +msgid "Show a rating control" +msgstr "" + +#: jrating.module:67 +msgid "Yes: display a rating control with nodes of this type" +msgstr "" + +#: jrating.module:68 +msgid "No: do not display a rating control with nodes of this type" +msgstr "" + +#: jrating.module:117 +msgid "---" +msgstr "" + +#: jrating.module:118 +msgid "Excellent!" +msgstr "" + +#: jrating.module:119 +msgid "Great!" +msgstr "" + +#: jrating.module:120 +msgid "Good" +msgstr "" + +#: jrating.module:121 +msgid "Quite good" +msgstr "" + +#: jrating.module:122 +msgid "Not so great" +msgstr "" + +#: jrating.module:130;131 +msgid "Rate this" +msgstr "" + +#: jrating.module:141 +msgid "Submit" +msgstr "" + +#: jrating.module:165 +msgid "Rating saved" +msgstr "" + +#: jrating.module:171 +msgid "Unauthorised: please !login to rate items" +msgstr "" + +#: jrating.module:171 +msgid "login or register" +msgstr "" + +#: jrating.module:256 +msgid "votes" +msgstr "" + +#: jrating.module:258 +msgid "Average rating" +msgstr "" + +#: jrating.module:281 +msgid "Node ratings" +msgstr "" + +#: jrating.module:311 +msgid "Title" +msgstr "" + +#: jrating.module:318 +msgid "Average Rating" +msgstr "" + +#: jrating.module:324 +msgid "Voted" +msgstr "" + +#: jrating.module:0 +msgid "jrating" +msgstr "" + === po/he.po ================================================================== --- po/he.po (revision 214) +++ po/he.po (revision 220) @@ -0,0 +1,136 @@ +# translation of jrating.po to Hebrew +# $Id$ +# LANGUAGE translation of Drupal (jrating.module) +# Copyright YEAR NAME +# No version information was available in the source files. +# +# Haggai Eran , 2007. +msgid "" +msgstr "" +"Project-Id-Version: jrating\n" +"POT-Creation-Date: 2007-02-15 14:22+0200\n" +"PO-Revision-Date: 2007-02-15 14:38+0200\n" +"Last-Translator: Haggai Eran \n" +"Language-Team: Hebrew \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: KBabel 1.11.4\n" + +#: jrating.module:16 +msgid "Allows users to rate content." +msgstr "מאפשר למשתמשים לדרג תוכן." + +#: jrating.module:24;24 +msgid "rate content" +msgstr "דרג תוכן" + +#: jrating.module:33 +msgid "Display rating form for teasers" +msgstr "הצג טופס דירוג לתקצירים" + +#: jrating.module:36 +msgid "Should a rating form be present when only a node teaser is displayed?" +msgstr "האם להציג טופס דירוג כאשר רק תקציר התוכן מוצג?" + +#: jrating.module:41 +msgid "Display rating form for anonymous users" +msgstr "הצג טופס דירוג עבור משתמשים אנונימיים." + +#: jrating.module:44 +msgid "Should a rating form be present when users aren't logged in?" +msgstr "האם להציג טופס דירוג כאשר המשתמשים לא נכנסו למערכת?" + +#: jrating.module:49 +msgid "Display average rating" +msgstr "הצג דירוג משוקלל" + +#: jrating.module:52 +msgid "Should the average rating for an item be displayed?" +msgstr "האם להציג דירוג משוקלל לפריט המוצג?" + +#: jrating.module:64 +msgid "Show a rating control" +msgstr "הצג לחצן דירוג" + +#: jrating.module:67 +msgid "Yes: display a rating control with nodes of this type" +msgstr "כן: הצג לחצן דירוג לפריטי תוכן מסוג זה" + +#: jrating.module:68 +msgid "No: do not display a rating control with nodes of this type" +msgstr "לא: אל תציג לחצן דירוג עבור פריטי תוכן מסוג זה" + +#: jrating.module:117 +msgid "---" +msgstr "" + +#: jrating.module:118 +msgid "Excellent!" +msgstr "מצויין!" + +#: jrating.module:119 +msgid "Great!" +msgstr "נהדר!" + +#: jrating.module:120 +msgid "Good" +msgstr "טוב" + +#: jrating.module:121 +msgid "Quite good" +msgstr "די טוב" + +#: jrating.module:122 +msgid "Not so great" +msgstr "לא כל כך טוב" + +#: jrating.module:130;131 +msgid "Rate this" +msgstr "דרג זאת" + +#: jrating.module:141 +msgid "Submit" +msgstr "שלח" + +#: jrating.module:165 +msgid "Rating saved" +msgstr "הדירוג נשמר" + +#: jrating.module:171 +msgid "Unauthorised: please !login to rate items" +msgstr "לא מורשה: אנא !הכנס כדי לדרג פריטים" + +#: jrating.module:171 +msgid "login or register" +msgstr "כניסה או הרשמה" + +#: jrating.module:256 +msgid "votes" +msgstr "קולות" + +#: jrating.module:258 +msgid "Average rating" +msgstr "דירוג משוקלל" + +#: jrating.module:281 +msgid "Node ratings" +msgstr "דירוג הפריט" + +#: jrating.module:311 +msgid "Title" +msgstr "כותרת" + +#: jrating.module:318 +msgid "Average Rating" +msgstr "דירוג משוקלל" + +#: jrating.module:324 +msgid "Voted" +msgstr "הצביעו" + +#: jrating.module:0 +msgid "jrating" +msgstr "" +