WordPress.org

Plugin Directory

Changeset 190737


Ignore:
Timestamp:
01/07/10 02:04:35 (8 years ago)
Author:
jiangxin
Message:

Promotion to 0.2.1: Add i18n related header; Fix typo.

Location:
cosign-sso/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cosign-sso/trunk/cosign-sso.php

    r189838 r190737  
    44Plugin URI:  http://redmine.ossxp.com/redmine/projects/show/wp 
    55Description: Alternative authentication plugin for WordPress. This plugin add two login method: LDAP login and CoSign Single Sign-on(SSO) login. 
    6 Version: 0.2 
     6Version: 0.2.1 
    77Author: Jiang Xin <jiangxin AT ossxp.com> 
    88Author URI: http://www.ossxp.com/ 
     9Text Domain: cosign_sso 
     10Domain Path: languages 
    911Licensed under the The GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html 
    1012*/  
     
    388390             "<strong>Bad configuration will ban all users!!!</strong><br />". 
    389391                "If you are banned cause of the bad cosign sso login configurations, ". 
    390                 "simply create a file named <em>'DISABLE'</em> under this plugin directory ". 
    391                 "or modify the database record by hands.", 
     392                "simply create a file named <em>\"FALLBACK\"</em> (blank file or contains \"LDAP\") ". 
     393                "under this plugin directory, or modify the database record by hands.", 
    392394                "cosign_sso"); 
    393395    ?> 
  • cosign-sso/trunk/languages/cosign_sso-zh_CN.po

    r189838 r190737  
    99"Project-Id-Version: CoSign SSO 0.1\n" 
    1010"Report-Msgid-Bugs-To: http://wordpress.org/tag/cosign-sso\n" 
    11 "POT-Creation-Date: 2010-01-05 13:42+0800\n" 
    12 "PO-Revision-Date: 2010-01-05 13:46+0800\n" 
     11"POT-Creation-Date: 2010-01-07 09:57+0800\n" 
     12"PO-Revision-Date: 2010-01-07 10:00+0800\n" 
    1313"Last-Translator: Jiang Xin <worldhello.net@gmail.com>\n" 
    1414"Language-Team: Chinese Simplified <kde-i18n-doc@kde.org>\n" 
     
    2121#. #-#-#-#-#  cosign_sso.pot (CoSign SSO 0.2)  #-#-#-#-# 
    2222#. Plugin Name of an extension 
    23 #: cosign-sso.php:138 
     23#: cosign-sso.php:140 
    2424msgid "CoSign SSO" 
    2525msgstr "单点登录" 
    2626 
    27 #: cosign-sso.php:224 
     27#: cosign-sso.php:226 
    2828msgid "CoSign login failed, no REMOTE_USER defined." 
    2929msgstr "单点登录失败,无法找到 REMOTE_USER 环境变量。" 
    3030 
    31 #: cosign-sso.php:224 cosign-sso.php:258 
     31#: cosign-sso.php:226 cosign-sso.php:260 
    3232msgid "login failed" 
    3333msgstr "登录失败" 
    3434 
    35 #: cosign-sso.php:234 
     35#: cosign-sso.php:236 
    3636msgid "<strong>ERROR</strong>: The username field is empty." 
    3737msgstr "<strong>错误</strong>: 用户名字段为空。" 
    3838 
    39 #: cosign-sso.php:237 
     39#: cosign-sso.php:239 
    4040msgid "<strong>ERROR</strong>: The password field is empty." 
    4141msgstr "<strong>错误</strong>: 口令字段为空。" 
    4242 
    43 #: cosign-sso.php:244 
     43#: cosign-sso.php:246 
    4444#, php-format 
    4545msgid "" 
     
    5050"Found\">忘记口令</a>?" 
    5151 
    52 #: cosign-sso.php:258 
     52#: cosign-sso.php:260 
    5353msgid "" 
    5454"Invalid username. Turn on auto_user to create user account automatically." 
    5555msgstr "错误用户名。打开 auto_user 实现用户自动创建。" 
    5656 
    57 #: cosign-sso.php:299 
     57#: cosign-sso.php:301 
    5858msgid "" 
    5959"Note: Some fields of profile store in LDAP and can not be changed here. " 
     
    6161msgstr "注意:一些字段保存在 LDAP 中,不能在此界面中修改。" 
    6262 
    63 #: cosign-sso.php:364 
     63#: cosign-sso.php:366 
    6464msgid "Disabled" 
    6565msgstr "禁用" 
    6666 
    67 #: cosign-sso.php:365 
     67#: cosign-sso.php:367 
    6868msgid "LDAP" 
    6969msgstr "LDAP认证" 
    7070 
    71 #: cosign-sso.php:366 
     71#: cosign-sso.php:368 
    7272msgid "SSO" 
    7373msgstr "单点登录认证" 
    7474 
    75 #: cosign-sso.php:382 cosign-sso.php:414 
     75#: cosign-sso.php:384 cosign-sso.php:416 
    7676msgid "CoSign SSO Options" 
    7777msgstr "单点登录选项" 
    7878 
    79 #: cosign-sso.php:387 
     79#: cosign-sso.php:389 
    8080msgid "" 
    8181"Checking the <em>CoSign SSO</em> option below, it will change login method " 
    8282"and will affect all users including yourself.<br /><strong>Bad configuration " 
    8383"will ban all users!!!</strong><br />If you are banned cause of the bad " 
    84 "cosign sso login configurations, simply create a file named <em>'DISABLE'</" 
    85 "em> under this plugin directory or modify the database record by hands." 
    86 msgstr "" 
    87 "检查下面的 <em>单点登录</em> 设置,将会改变认证方式,影响所有用户包括你自" 
     84"cosign sso login configurations, simply create a file named <em>\"FALLBACK" 
     85"\"</em> (blank file or contains \"LDAP\") under this plugin directory, or " 
     86"modify the database record by hands." 
     87msgstr "" 
     88"检查下面的 <em>单点登录</em> 设置,它将改变认证方式,会影响所有用户包括你自" 
    8889"己。 <br /><strong>错误的设置将会让所有用户无法登录!!!</strong><br />如果" 
    89 "您因此而无法登录系统,可以在服务器端本插件目录下创建一个名为 <em>'DISABLE'</" 
    90 "em> 的文件,或者通过修改数据库恢复原有认证方式。" 
    91  
    92 #: cosign-sso.php:397 
     90"您因此而无法登录系统,可以在服务器端本插件目录下创建一个名为 <em>\"FALLBACK\"</" 
     91"em> 的文件(空文件或者包含\"LDAP\"),或者您也可以通过修改数据库恢复原有认证方式。" 
     92 
     93#: cosign-sso.php:399 
    9394msgid "Login method" 
    9495msgstr "登录方式" 
    9596 
    96 #: cosign-sso.php:403 
     97#: cosign-sso.php:405 
    9798#, php-format 
    9899msgid "" 
     
    101102msgstr "单点登录因为文件 '%s' 而禁用。重新启用单点登录,请删除该文件。" 
    102103 
    103 #: cosign-sso.php:405 
     104#: cosign-sso.php:407 
    104105#, php-format 
    105106msgid "" 
     
    108109msgstr "回退到 LDAP 认证模式。重新启用单点登录,请删除文件 '%s'。" 
    109110 
    110 #: cosign-sso.php:406 
     111#: cosign-sso.php:408 
    111112msgid "" 
    112113"Choose to disable internale auth login and authenticate all users using " 
     
    114115msgstr "选择不同的登录方式。缺省禁用单点登录。" 
    115116 
    116 #: cosign-sso.php:417 
     117#: cosign-sso.php:419 
    117118msgid "CoSign Login URL" 
    118119msgstr "单点登录的登录URL地址" 
    119120 
    120 #: cosign-sso.php:422 
     121#: cosign-sso.php:424 
    121122msgid "CoSign Logout URL" 
    122123msgstr "单点登录的退出URL地址" 
    123124 
    124 #: cosign-sso.php:427 
     125#: cosign-sso.php:429 
    125126msgid "CoSign Service Name" 
    126127msgstr "单点登录的服务名" 
    127128 
    128 #: cosign-sso.php:433 
     129#: cosign-sso.php:435 
    129130msgid "User Account" 
    130131msgstr "用户帐号" 
    131132 
    132 #: cosign-sso.php:436 
     133#: cosign-sso.php:438 
    133134msgid "Auto create user account" 
    134135msgstr "自动创建用户帐号" 
    135136 
    136 #: cosign-sso.php:439 
     137#: cosign-sso.php:441 
    137138msgid "new user as" 
    138139msgstr "新用户角色" 
    139140 
    140 #: cosign-sso.php:447 cosign-sso.php:449 
     141#: cosign-sso.php:449 cosign-sso.php:451 
    141142msgid "&mdash; No role for this blog &mdash;" 
    142143msgstr "&mdash; 本博客中无权限 &mdash;" 
    143144 
    144 #: cosign-sso.php:456 
     145#: cosign-sso.php:458 
    145146msgid "LDAP Options" 
    146147msgstr "LDAP 选项" 
    147148 
    148 #: cosign-sso.php:459 
     149#: cosign-sso.php:461 
    149150msgid "LDAP hostname" 
    150151msgstr "LDAP 主机名" 
    151152 
    152 #: cosign-sso.php:464 
     153#: cosign-sso.php:466 
    153154msgid "LDAP port" 
    154155msgstr "LDAP 端口" 
    155156 
    156 #: cosign-sso.php:470 
     157#: cosign-sso.php:472 
    157158msgid "LDAP BaseDN" 
    158159msgstr "LDAP BaseDN" 
    159160 
    160 #: cosign-sso.php:475 
     161#: cosign-sso.php:477 
    161162msgid "LDAP Bind Username" 
    162163msgstr "LDAP 绑定用户名" 
    163164 
    164 #: cosign-sso.php:480 
     165#: cosign-sso.php:482 
    165166msgid "LDAP Bind Password" 
    166167msgstr "LDAP 绑定口令" 
    167168 
    168 #: cosign-sso.php:485 
     169#: cosign-sso.php:487 
    169170msgid "LDAP Search Filter" 
    170171msgstr "LDAP 搜索过滤器" 
    171172 
    172 #: cosign-sso.php:490 
     173#: cosign-sso.php:492 
    173174msgid "Login Name" 
    174175msgstr "登录名字段" 
    175176 
    176 #: cosign-sso.php:495 
     177#: cosign-sso.php:497 
    177178msgid "Given Name" 
    178179msgstr "名字字段" 
    179180 
    180 #: cosign-sso.php:500 
     181#: cosign-sso.php:502 
    181182msgid "Surname" 
    182 msgstr "姓字段" 
    183  
    184 #: cosign-sso.php:505 
     183msgstr "姓字段" 
     184 
     185#: cosign-sso.php:507 
    185186msgid "Nick Name" 
    186187msgstr "别名字段" 
    187188 
    188 #: cosign-sso.php:510 
     189#: cosign-sso.php:512 
    189190msgid "Email" 
    190191msgstr "Email 字段" 
    191192 
    192 #: cosign-sso.php:519 
     193#: cosign-sso.php:521 
    193194msgid "Update Options" 
    194195msgstr "保存" 
     
    196197#. Plugin URI of an extension 
    197198msgid "http://redmine.ossxp.com/redmine/projects/show/wp" 
    198 msgstr "" 
     199msgstr "http://redmine.ossxp.com/redmine/projects/show/wp" 
    199200 
    200201#. Description of an extension 
     
    208209#. Author of an extension 
    209210msgid "Jiang Xin <jiangxin AT ossxp.com>" 
    210 msgstr "" 
     211msgstr "蒋鑫 <jiangxin AT ossxp.com>" 
    211212 
    212213#. Author URI of an extension 
  • cosign-sso/trunk/languages/cosign_sso.pot

    r189838 r190737  
    99"Project-Id-Version: CoSign SSO 0.2\n" 
    1010"Report-Msgid-Bugs-To: http://wordpress.org/tag/cosign-sso\n" 
    11 "POT-Creation-Date: 2010-01-05 13:42+0800\n" 
     11"POT-Creation-Date: 2010-01-07 09:57+0800\n" 
    1212"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n" 
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
     
    1919#. #-#-#-#-#  cosign_sso.pot (CoSign SSO 0.2)  #-#-#-#-# 
    2020#. Plugin Name of an extension 
    21 #: cosign-sso.php:138 
     21#: cosign-sso.php:140 
    2222msgid "CoSign SSO" 
    2323msgstr "" 
    2424 
    25 #: cosign-sso.php:224 
     25#: cosign-sso.php:226 
    2626msgid "CoSign login failed, no REMOTE_USER defined." 
    2727msgstr "" 
    2828 
    29 #: cosign-sso.php:224 cosign-sso.php:258 
     29#: cosign-sso.php:226 cosign-sso.php:260 
    3030msgid "login failed" 
    3131msgstr "" 
    3232 
    33 #: cosign-sso.php:234 
     33#: cosign-sso.php:236 
    3434msgid "<strong>ERROR</strong>: The username field is empty." 
    3535msgstr "" 
    3636 
    37 #: cosign-sso.php:237 
     37#: cosign-sso.php:239 
    3838msgid "<strong>ERROR</strong>: The password field is empty." 
    3939msgstr "" 
    4040 
    41 #: cosign-sso.php:244 
     41#: cosign-sso.php:246 
    4242#, php-format 
    4343msgid "" 
     
    4646msgstr "" 
    4747 
    48 #: cosign-sso.php:258 
     48#: cosign-sso.php:260 
    4949msgid "" 
    5050"Invalid username. Turn on auto_user to create user account automatically." 
    5151msgstr "" 
    5252 
    53 #: cosign-sso.php:299 
     53#: cosign-sso.php:301 
    5454msgid "" 
    5555"Note: Some fields of profile store in LDAP and can not be changed here. " 
     
    5757msgstr "" 
    5858 
    59 #: cosign-sso.php:364 
     59#: cosign-sso.php:366 
    6060msgid "Disabled" 
    6161msgstr "" 
    6262 
    63 #: cosign-sso.php:365 
     63#: cosign-sso.php:367 
    6464msgid "LDAP" 
    6565msgstr "" 
    6666 
    67 #: cosign-sso.php:366 
     67#: cosign-sso.php:368 
    6868msgid "SSO" 
    6969msgstr "" 
    7070 
    71 #: cosign-sso.php:382 cosign-sso.php:414 
     71#: cosign-sso.php:384 cosign-sso.php:416 
    7272msgid "CoSign SSO Options" 
    7373msgstr "" 
    7474 
    75 #: cosign-sso.php:387 
     75#: cosign-sso.php:389 
    7676msgid "" 
    7777"Checking the <em>CoSign SSO</em> option below, it will change login method " 
    7878"and will affect all users including yourself.<br /><strong>Bad configuration " 
    7979"will ban all users!!!</strong><br />If you are banned cause of the bad " 
    80 "cosign sso login configurations, simply create a file named <em>'DISABLE'</" 
    81 "em> under this plugin directory or modify the database record by hands." 
    82 msgstr "" 
    83  
    84 #: cosign-sso.php:397 
     80"cosign sso login configurations, simply create a file named <em>\"FALLBACK" 
     81"\"</em> (blank file or contains \"LDAP\") under this plugin directory, or " 
     82"modify the database record by hands." 
     83msgstr "" 
     84 
     85#: cosign-sso.php:399 
    8586msgid "Login method" 
    8687msgstr "" 
    8788 
    88 #: cosign-sso.php:403 
     89#: cosign-sso.php:405 
    8990#, php-format 
    9091msgid "" 
     
    9394msgstr "" 
    9495 
    95 #: cosign-sso.php:405 
     96#: cosign-sso.php:407 
    9697#, php-format 
    9798msgid "" 
     
    100101msgstr "" 
    101102 
    102 #: cosign-sso.php:406 
     103#: cosign-sso.php:408 
    103104msgid "" 
    104105"Choose to disable internale auth login and authenticate all users using " 
     
    106107msgstr "" 
    107108 
    108 #: cosign-sso.php:417 
     109#: cosign-sso.php:419 
    109110msgid "CoSign Login URL" 
    110111msgstr "" 
    111112 
    112 #: cosign-sso.php:422 
     113#: cosign-sso.php:424 
    113114msgid "CoSign Logout URL" 
    114115msgstr "" 
    115116 
    116 #: cosign-sso.php:427 
     117#: cosign-sso.php:429 
    117118msgid "CoSign Service Name" 
    118119msgstr "" 
    119120 
    120 #: cosign-sso.php:433 
     121#: cosign-sso.php:435 
    121122msgid "User Account" 
    122123msgstr "" 
    123124 
    124 #: cosign-sso.php:436 
     125#: cosign-sso.php:438 
    125126msgid "Auto create user account" 
    126127msgstr "" 
    127128 
    128 #: cosign-sso.php:439 
     129#: cosign-sso.php:441 
    129130msgid "new user as" 
    130131msgstr "" 
    131132 
    132 #: cosign-sso.php:447 cosign-sso.php:449 
     133#: cosign-sso.php:449 cosign-sso.php:451 
    133134msgid "&mdash; No role for this blog &mdash;" 
    134135msgstr "" 
    135136 
    136 #: cosign-sso.php:456 
     137#: cosign-sso.php:458 
    137138msgid "LDAP Options" 
    138139msgstr "" 
    139140 
    140 #: cosign-sso.php:459 
     141#: cosign-sso.php:461 
    141142msgid "LDAP hostname" 
    142143msgstr "" 
    143144 
    144 #: cosign-sso.php:464 
     145#: cosign-sso.php:466 
    145146msgid "LDAP port" 
    146147msgstr "" 
    147148 
    148 #: cosign-sso.php:470 
     149#: cosign-sso.php:472 
    149150msgid "LDAP BaseDN" 
    150151msgstr "" 
    151152 
    152 #: cosign-sso.php:475 
     153#: cosign-sso.php:477 
    153154msgid "LDAP Bind Username" 
    154155msgstr "" 
    155156 
    156 #: cosign-sso.php:480 
     157#: cosign-sso.php:482 
    157158msgid "LDAP Bind Password" 
    158159msgstr "" 
    159160 
    160 #: cosign-sso.php:485 
     161#: cosign-sso.php:487 
    161162msgid "LDAP Search Filter" 
    162163msgstr "" 
    163164 
    164 #: cosign-sso.php:490 
     165#: cosign-sso.php:492 
    165166msgid "Login Name" 
    166167msgstr "" 
    167168 
    168 #: cosign-sso.php:495 
     169#: cosign-sso.php:497 
    169170msgid "Given Name" 
    170171msgstr "" 
    171172 
    172 #: cosign-sso.php:500 
     173#: cosign-sso.php:502 
    173174msgid "Surname" 
    174175msgstr "" 
    175176 
    176 #: cosign-sso.php:505 
     177#: cosign-sso.php:507 
    177178msgid "Nick Name" 
    178179msgstr "" 
    179180 
    180 #: cosign-sso.php:510 
     181#: cosign-sso.php:512 
    181182msgid "Email" 
    182183msgstr "" 
    183184 
    184 #: cosign-sso.php:519 
     185#: cosign-sso.php:521 
    185186msgid "Update Options" 
    186187msgstr "" 
Note: See TracChangeset for help on using the changeset viewer.