[geeklog-cvs] geeklog: restore Polls plugin language to their previous state

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Apr 4 16:00:32 EDT 2012


changeset 8568:24be270fae02
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/24be270fae02
user: Dirk Haun <dirk at haun-online.de>
date: Wed Apr 04 21:48:32 2012 +0200
description:
restore Polls plugin language to their previous state

diffstat:

 plugins/polls/language/chinese_simplified_utf-8.php  |  180 ++++++++++++++++++-
 plugins/polls/language/chinese_traditional_utf-8.php |  180 ++++++++++++++++++-
 plugins/polls/language/dutch.php                     |  179 ++++++++++++++++++-
 plugins/polls/language/dutch_utf-8.php               |  179 ++++++++++++++++++-
 plugins/polls/language/estonian.php                  |  181 ++++++++++++++++++-
 plugins/polls/language/estonian_utf-8.php            |  181 ++++++++++++++++++-
 plugins/polls/language/french_canada.php             |  180 ++++++++++++++++++-
 plugins/polls/language/french_canada_utf-8.php       |  180 ++++++++++++++++++-
 plugins/polls/language/french_france.php             |  180 ++++++++++++++++++-
 plugins/polls/language/french_france_utf-8.php       |  173 +++++++++++++++++-
 plugins/polls/language/german.php                    |  179 ++++++++++++++++++-
 plugins/polls/language/german_formal.php             |  179 ++++++++++++++++++-
 plugins/polls/language/german_formal_utf-8.php       |  179 ++++++++++++++++++-
 plugins/polls/language/german_utf-8.php              |  179 ++++++++++++++++++-
 plugins/polls/language/hebrew_utf-8.php              |  179 ++++++++++++++++++-
 plugins/polls/language/italian.php                   |  177 ++++++++++++++++++-
 plugins/polls/language/italian_utf-8.php             |  177 ++++++++++++++++++-
 plugins/polls/language/japanese_utf-8.php            |  185 ++++++++++++++++++-
 plugins/polls/language/korean.php                    |  180 ++++++++++++++++++-
 plugins/polls/language/korean_utf-8.php              |  180 ++++++++++++++++++-
 plugins/polls/language/russian.php                   |  177 ++++++++++++++++++-
 plugins/polls/language/russian_utf-8.php             |  177 ++++++++++++++++++-
 plugins/polls/language/slovenian.php                 |  181 ++++++++++++++++++-
 plugins/polls/language/slovenian_utf-8.php           |  181 ++++++++++++++++++-
 plugins/polls/language/spanish.php                   |  182 ++++++++++++++++++-
 plugins/polls/language/spanish_utf-8.php             |  182 ++++++++++++++++++-
 plugins/polls/language/ukrainian.php                 |  177 ++++++++++++++++++-
 plugins/polls/language/ukrainian_koi8-u.php          |  177 ++++++++++++++++++-
 plugins/polls/language/ukrainian_utf-8.php           |  177 ++++++++++++++++++-
 29 files changed, 5169 insertions(+), 29 deletions(-)

diffs (truncated from 5344 to 300 lines):

diff -r 3ba0426743e7 -r 24be270fae02 plugins/polls/language/chinese_simplified_utf-8.php
--- a/plugins/polls/language/chinese_simplified_utf-8.php	Tue Apr 03 21:40:47 2012 +0200
+++ b/plugins/polls/language/chinese_simplified_utf-8.php	Wed Apr 04 21:48:32 2012 +0200
@@ -1,2 +1,180 @@
+<?php
 
-Fatal error: Call to undefined function SEC_getUserGroups() in /Users/dirk/darwin/hg.geeklog.net/geeklog/translate/plugins/polls/language/english.php on line 184
+###############################################################################
+# chinese_simplified_utf-8.php
+# This is the Chinese Simplified UTF-8 language page for 
+# the Geeklog Polls Plug-in!
+#
+# Last updated on January 10, 2006
+#
+# Copyright (C) 2005 Samuel Maung Stone
+# sam at stonemicro.com
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+###############################################################################
+
+global $LANG32;
+
+###############################################################################
+# Array Format:
+# $LANGXX[YY]:  $LANG - variable name
+#               XX    - file id number
+#               YY    - phrase id number
+###############################################################################
+
+$LANG_POLLS = array(
+    'polls' => '民意调查',
+    'results' => '结果',
+    'pollresults' => '调查结果',
+    'votes' => '票',
+    'voters' => 'voters',
+    'vote' => '票',
+    'pastpolls' => '过去的调查',
+    'savedvotetitle' => '投票已存续',
+    'savedvotemsg' => '你投的票已经收存了',
+    'pollstitle' => '个民意调查在这系统里',
+    'polltopics' => 'Other polls',
+    'stats_top10' => '最高十个民意调查',
+    'stats_topics' => 'Poll Topic',
+    'stats_votes' => '投票数',
+    'stats_none' => '看来此站没有民意调查,或没有人曾投过票.',
+    'stats_summary' => '这系统里的调查(答案)',
+    'open_poll' => '开放投票',
+    'answer_all' => 'Please answer all remaining questions',
+    'not_saved' => 'Result not saved',
+    'upgrade1' => 'You installed a new version of the Polls plugin. Please',
+    'upgrade2' => 'upgrade',
+    'editinstructions' => 'Please fill in the Poll ID, at least one question and two answers for it.',
+    'pollclosed' => 'This poll is closed for voting.',
+    'pollhidden' => 'You have already voted. This poll results will only be shown when voting is closed.',
+    'start_poll' => 'Start Poll',
+    'no_new_polls' => 'No new polls',
+    'autotag_desc_poll' => '[poll: id alternate title] - Displays a link to a poll using the Poll Topic as the title. An alternate title may be specified but is not required.',
+    'autotag_desc_poll_vote' => '[poll_vote: id class:poll-autotag showall:1] - Displays a poll for voting. Class and showall not required. Class specifies the css class and Showall if set to 1, shows all questions',
+    'autotag_desc_poll_result' => '[poll_result: id class:poll-autotag] - Displays the poll results. Class not required. Class specifies the css class.',
+    'deny_msg' => 'Access to this poll is denied.  Either the poll has been moved/removed or you do not have sufficient permissions.'
+);
+
+###############################################################################
+# admin/plugins/polls/index.php
+
+$LANG25 = array(
+    1 => 'Mode',
+    2 => 'Please enter a topic, at least one question and at least one answer for that question.',
+    3 => 'Poll Created',
+    4 => 'Poll %s saved',
+    5 => 'Edit Poll',
+    6 => 'Poll ID',
+    7 => '(do not use spaces)',
+    8 => 'Appears on Pollblock',
+    9 => 'Topic',
+    10 => 'Answers / Votes / Remark',
+    11 => 'There was an error getting poll answer data about the poll %s',
+    12 => 'There was an error getting poll question data about the poll %s',
+    13 => 'Create Poll',
+    14 => 'save',
+    15 => 'cancel',
+    16 => 'delete',
+    17 => 'Please enter a Poll ID',
+    18 => 'Poll List',
+    19 => 'To modify or delete a poll, click on the edit icon of the poll.  To create a new poll, click on "Create New" above.',
+    20 => 'Voters',
+    21 => 'Access Denied',
+    22 => "You are trying to access a poll that you don't have rights to.  This attempt has been logged. Please <a href=\"{$_CONF['site_admin_url']}/poll.php\">go back to the poll administration screen</a>.",
+    23 => 'New Poll',
+    24 => 'Admin Home',
+    25 => 'Yes',
+    26 => 'No',
+    27 => 'Edit',
+    28 => 'Submit',
+    29 => 'Search',
+    30 => 'Limit Results',
+    31 => 'Question',
+    32 => 'To remove this question from the poll, remove its question text',
+    33 => 'Open for voting',
+    34 => 'Poll Topic:',
+    35 => 'This poll has',
+    36 => 'more questions.',
+    37 => 'Hide results while poll is open',
+    38 => 'While the poll is open, only the owner & root can see the results',
+    39 => 'The topic will only be displayed if there is more than 1 question.',
+    40 => 'See all answers to this poll'
+);
+
+$PLG_polls_MESSAGE15 = 'Your comment has been submitted for review and will be published when approved by a moderator.';
+$PLG_polls_MESSAGE19 = '你的民意调查已顺利的存续了.';
+$PLG_polls_MESSAGE20 = 'Your poll has been successfully deleted.';
+
+// Messages for the plugin upgrade
+$PLG_polls_MESSAGE3001 = 'Plugin upgrade not supported.';
+$PLG_polls_MESSAGE3002 = $LANG32[9];
+
+// Localization of the Admin Configuration UI
+$LANG_configsections['polls'] = array(
+    'label' => 'Polls',
+    'title' => 'Polls Configuration'
+);
+
+$LANG_confignames['polls'] = array(
+    'pollsloginrequired' => 'Polls Login Required?',
+    'hidepollsmenu' => 'Hide Polls Menu Entry?',
+    'maxquestions' => 'Max. Questions per Poll',
+    'maxanswers' => 'Max. Options per Question',
+    'answerorder' => 'Sort Results ...',
+    'pollcookietime' => 'Voter Cookie valid for',
+    'polladdresstime' => 'Voter IP Address valid for',
+    'delete_polls' => 'Delete Polls with Owner?',
+    'aftersave' => 'After Saving Poll',
+    'default_permissions' => 'Poll Default Permissions',
+    'autotag_permissions_poll' => '[poll: ] Permissions',
+    'autotag_permissions_poll_vote' => '[poll_vote: ] Permissions',
+    'autotag_permissions_poll_result' => '[poll_result: ] Permissions',
+    'newpollsinterval' => 'New Polls Interval',
+    'hidenewpolls' => 'New Polls',
+    'title_trim_length' => 'Title Trim Length',
+    'meta_tags' => 'Enable Meta Tags'
+);
+
+$LANG_configsubgroups['polls'] = array(
+    'sg_main' => 'Main Settings'
+);
+
+$LANG_tab['polls'] = array(
+    'tab_main' => 'General Polls Settings',
+    'tab_whatsnew' => 'What\'s New Block',
+    'tab_permissions' => 'Default Permissions',
+    'tab_autotag_permissions' => 'Autotag Usage Permissions'
+);
+
+$LANG_fs['polls'] = array(
+    'fs_main' => 'General Polls Settings',
+    'fs_whatsnew' => 'What\'s New Block',
+    'fs_permissions' => 'Default Permissions',
+    'fs_autotag_permissions' => 'Autotag Usage Permissions'
+);
+
+// Note: entries 0, 1, and 12 are the same as in $LANG_configselects['Core']
+$LANG_configselects['polls'] = array(
+    0 => array('True' => 1, 'False' => 0),
+    1 => array('True' => true, 'False' => false),
+    2 => array('As Submitted' => 'submitorder', 'By Votes' => 'voteorder'),
+    5 => array('Hide' => 'hide', 'Show - Use Modified Date' => 'modified', 'Show - Use Created Date' => 'created'),
+    9 => array('Forward to Poll' => 'item', 'Display Admin List' => 'list', 'Display Public List' => 'plugin', 'Display Home' => 'home', 'Display Admin' => 'admin'),
+    12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3),
+    13 => array('No access' => 0, 'Use' => 2)
+);
+
+?>
diff -r 3ba0426743e7 -r 24be270fae02 plugins/polls/language/chinese_traditional_utf-8.php
--- a/plugins/polls/language/chinese_traditional_utf-8.php	Tue Apr 03 21:40:47 2012 +0200
+++ b/plugins/polls/language/chinese_traditional_utf-8.php	Wed Apr 04 21:48:32 2012 +0200
@@ -1,2 +1,180 @@
+<?php
 
-Fatal error: Call to undefined function SEC_getUserGroups() in /Users/dirk/darwin/hg.geeklog.net/geeklog/translate/plugins/polls/language/english.php on line 184
+###############################################################################
+# chinese_traditional_utf-8.php
+# This is the Chinese Traditional UTF-8 language page for 
+# the Geeklog Polls Plug-in!
+#
+# Last updated on January 10, 2006
+#
+# Copyright (C) 2005 Samuel Maung Stone
+# sam at stonemicro.com
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+###############################################################################
+
+global $LANG32;
+
+###############################################################################
+# Array Format:
+# $LANGXX[YY]:  $LANG - variable name
+#               XX    - file id number
+#               YY    - phrase id number
+###############################################################################
+
+$LANG_POLLS = array(
+    'polls' => '民意調查',
+    'results' => '結果',
+    'pollresults' => '調查結果',
+    'votes' => '票',
+    'voters' => 'voters',
+    'vote' => '票',
+    'pastpolls' => '過去的調查',
+    'savedvotetitle' => '投票已存續',
+    'savedvotemsg' => '你投的票已經收存了',
+    'pollstitle' => '個民意調查在這系統裏',
+    'polltopics' => 'Other polls',
+    'stats_top10' => '最高十個民意調查',
+    'stats_topics' => 'Poll Topic',
+    'stats_votes' => '投票數',
+    'stats_none' => '看來此站沒有民意調查,或沒有人曾投過票.',
+    'stats_summary' => '這系統裏的調查(答案)',
+    'open_poll' => '開放投票',
+    'answer_all' => 'Please answer all remaining questions',
+    'not_saved' => 'Result not saved',
+    'upgrade1' => 'You installed a new version of the Polls plugin. Please',
+    'upgrade2' => 'upgrade',
+    'editinstructions' => 'Please fill in the Poll ID, at least one question and two answers for it.',
+    'pollclosed' => 'This poll is closed for voting.',
+    'pollhidden' => 'You have already voted. This poll results will only be shown when voting is closed.',
+    'start_poll' => 'Start Poll',
+    'no_new_polls' => 'No new polls',
+    'autotag_desc_poll' => '[poll: id alternate title] - Displays a link to a poll using the Poll Topic as the title. An alternate title may be specified but is not required.',
+    'autotag_desc_poll_vote' => '[poll_vote: id class:poll-autotag showall:1] - Displays a poll for voting. Class and showall not required. Class specifies the css class and Showall if set to 1, shows all questions',
+    'autotag_desc_poll_result' => '[poll_result: id class:poll-autotag] - Displays the poll results. Class not required. Class specifies the css class.',
+    'deny_msg' => 'Access to this poll is denied.  Either the poll has been moved/removed or you do not have sufficient permissions.'
+);
+
+###############################################################################
+# admin/plugins/polls/index.php
+
+$LANG25 = array(
+    1 => 'Mode',
+    2 => 'Please enter a topic, at least one question and at least one answer for that question.',
+    3 => 'Poll Created',
+    4 => 'Poll %s saved',
+    5 => 'Edit Poll',
+    6 => 'Poll ID',
+    7 => '(do not use spaces)',
+    8 => 'Appears on Pollblock',
+    9 => 'Topic',
+    10 => 'Answers / Votes / Remark',
+    11 => 'There was an error getting poll answer data about the poll %s',
+    12 => 'There was an error getting poll question data about the poll %s',
+    13 => 'Create Poll',
+    14 => 'save',
+    15 => 'cancel',
+    16 => 'delete',
+    17 => 'Please enter a Poll ID',
+    18 => 'Poll List',
+    19 => 'To modify or delete a poll, click on the edit icon of the poll.  To create a new poll, click on "Create New" above.',
+    20 => 'Voters',
+    21 => 'Access Denied',
+    22 => "You are trying to access a poll that you don't have rights to.  This attempt has been logged. Please <a href=\"{$_CONF['site_admin_url']}/poll.php\">go back to the poll administration screen</a>.",
+    23 => 'New Poll',
+    24 => 'Admin Home',
+    25 => 'Yes',
+    26 => 'No',
+    27 => 'Edit',
+    28 => 'Submit',
+    29 => 'Search',
+    30 => 'Limit Results',
+    31 => 'Question',
+    32 => 'To remove this question from the poll, remove its question text',
+    33 => 'Open for voting',
+    34 => 'Poll Topic:',
+    35 => 'This poll has',
+    36 => 'more questions.',



More information about the geeklog-cvs mailing list