[Jifty-commit] r3123 - in jifty/trunk: lib/Jifty/Plugin/Authentication/Password lib/Jifty/Plugin/Authentication/Password/Action lib/Jifty/Plugin/User/Mixin/Model share/po

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Apr 13 19:54:25 EDT 2007


Author: audreyt
Date: Fri Apr 13 19:54:24 2007
New Revision: 3123

Modified:
   jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm
   jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm
   jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm
   jifty/trunk/lib/Jifty/Plugin/User/Mixin/Model/User.pm
   jifty/trunk/share/po/zh_tw.po

Log:
* zh-tw L10N for authen/passwd/user plugins.

Modified: jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Action/Login.pm	Fri Apr 13 19:54:24 2007
@@ -20,22 +20,22 @@
 =cut
 
 sub arguments { 
-    return( { email => { label => 'Email',
+    return( { email => { label => _('Email'),
                            mandatory => 1,
                            ajax_validates => 1,
                             }  ,
 
               password => { type => 'password',
-                            label => 'Password',
+                            label => _('Password'),
 			    # mandatory in some cases; see validate_password
                             mandatory => 0,
                         },
               hashed_password => { type => 'hidden',
-                            label => 'Hashed Password',
+                            label => _('Hashed Password'),
                         },
               remember => { type => 'checkbox',
-                            label => 'Remember me?',
-                            hints => 'Your browser can remember your login for you',
+                            label => _('Remember me?'),
+                            hints => _('Your browser can remember your login for you'),
                             default => 0,
                           },
 	      token => { type => 'hidden',

Modified: jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm	Fri Apr 13 19:54:24 2007
@@ -16,16 +16,16 @@
   render_as 'unrendered',
   type is 'varchar',
   default is '',
-  label is 'Authentication token';
+  label is _('Authentication token');
     
 
 
 column password =>
   is mandatory,
   is unreadable,
-  label is 'Password',
+  label is _('Password'),
   type is 'varchar',
-  hints is 'Your password should be at least six characters',
+  hints is _('Your password should be at least six characters'),
   render_as 'password',
   filters are 'Jifty::DBI::Filter::SaltHash';
 
@@ -85,7 +85,7 @@
     my $self      = shift;
     my $new_value = shift;
 
-    return ( 0, q{Passwords need to be at least six characters long} )
+    return ( 0, _('Passwords need to be at least six characters long') )
         if length($new_value) < 6;
 
     return 1;

Modified: jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm	Fri Apr 13 19:54:24 2007
@@ -27,7 +27,7 @@
 
 
 template 'signup' => page {
-    title is 'Signup';
+    title is _('Signup');
     my ( $action, $next ) = get(qw(action next));
     Jifty->web->form->start( call => $next );
     render_param( $action => 'name' , focus => 1);
@@ -37,7 +37,7 @@
 };
 
 template login => page {
-    { title is 'Login!' };
+    { title is _('Login!') };
     show('login_widget');
 };
 
@@ -49,10 +49,10 @@
         request => Jifty::Request->new( path => "/" ) );
     unless ( Jifty->web->current_user->id ) {
         p {
-            outs( _(        qq{No account yet? It's quick and easy.} ));
+            outs( _( "No account yet? It's quick and easy. " ));
             tangent( label => _("Sign up for an account!"), url   => '/signup');
         };
-        h3  { _(qq{Login with a password}) };
+        h3  { _('Login with a password') };
         div {
             attr { id => 'jifty-login' };
             Jifty->web->form->start( call => $next );
@@ -106,7 +106,7 @@
 
 template 'passwordreminder' => page {
     my $next = get('next');
-    attr { title => 'Send Password Reminder' };
+    attr { title => _('Send a password reminder') };
     my $action = Jifty->web->new_action(
         moniker => 'password_reminder',
         class   => 'SendPasswordReminder',

Modified: jifty/trunk/lib/Jifty/Plugin/User/Mixin/Model/User.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/User/Mixin/Model/User.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/User/Mixin/Model/User.pm	Fri Apr 13 19:54:24 2007
@@ -26,13 +26,13 @@
 use Jifty::Plugin::User::Record schema {
     column
         name => type is 'text',
-        label is 'Nickname',
-        hints is 'How should I display your name to other users?';
+        label is _('Nickname'),
+        hints is _('How should I display your name to other users?');
     column
         email => type is 'text',
-        label is 'Email address', default is '', is immutable, is distinct;
+        label is _('Email address'), default is '', is immutable, is distinct;
     column
-        email_confirmed => label is 'Email address confirmed?',
+        email_confirmed => label is _('Email address confirmed?'),
         type is 'boolean';
 
 };
@@ -79,14 +79,14 @@
     my $self      = shift;
     my $new_email = shift;
     
-    return ( 0, "That $new_email doesn't look like an email address." )
+    return ( 0, _("That %1 doesn't look like an email address.", $new_email) )
         if $new_email !~ /\S\@\S/;
     
     my $temp_user = Jifty->app_class('Model','User')->new( current_user => Jifty->app_class('CurrentUser')->superuser );
     $temp_user->load_by_cols( 'email' => $new_email );
     
     # It's ok if *we* have the address we're looking for
-    return ( 0, q{It looks like somebody else is using that address. Is there a chance you have another account?} )
+    return ( 0, _('It looks like somebody else is using that address. Is there a chance you have another account?') )
         if $temp_user->id && ( !$self->id || $temp_user->id != $self->id );
     
     return 1;

Modified: jifty/trunk/share/po/zh_tw.po
==============================================================================
--- jifty/trunk/share/po/zh_tw.po	(original)
+++ jifty/trunk/share/po/zh_tw.po	Fri Apr 13 19:54:24 2007
@@ -14,10 +14,55 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#: lib/Jifty/Plugin/Authentication/Password/Notification/ConfirmLostPassword.pm:38
+#. ($appname,$confirm_url)
+msgid ""
+"\n"
+"You're getting this message because you (or somebody claiming to be you)\n"
+"request to reset your password for %1.\n"
+"\n"
+"If you don't want to reset your password just ignore this message.\n"
+"\n"
+"To reset your password, click on the link below:\n"
+"\n"
+"%2\n"
+msgstr ""
+"\n"
+"您 (或自稱是您的某人) 要求重設您在 %1 的密碼.\n"
+"\n"
+"如果您不想重設密碼, 請忽略這封信.\n"
+"\n"
+"若要重設密碼, 請點擊以下鏈結:\n"
+"\n"
+"%2\n"
+
+#: lib/Jifty/Plugin/Authentication/Password/Notification/ConfirmEmail.pm:41
+#. ($appname,$confirm_url)
+msgid ""
+"\n"
+"You're getting this message because you (or somebody claiming to be you)\n"
+"wants to use %1. \n"
+"\n"
+"We need to make sure that we got your email address right.  Click on the link below to get started:\n"
+"\n"
+"%2\n"
+msgstr ""
+"\n"
+"您 (或自稱是您的某人) 在 %1 申請註冊.\n"
+"\n"
+"請點擊以下鏈結, 以確認您的電郵帳號:\n"
+"\n"
+"%2\n"
+
 #: lib/Jifty/Action/Record/Search.pm:125
 msgid "!=>< allowed"
 msgstr "可使用 !=>< 符號"
 
+#: lib/Jifty/Notification.pm:94
+#. ($appname, Jifty->config->framework('AdminEmail')
+msgid "%1 <%2>"
+msgstr "%1 <%2>"
+
 #: lib/Jifty/Action/Record/Search.pm:115
 #. ($label)
 msgid "%1 after"
@@ -33,7 +78,7 @@
 msgid "%1 contains"
 msgstr "%1 包含"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:87
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:141
 #. ($collection-> count)
 msgid "%1 entries"
 msgstr "共 %1 筆"
@@ -93,23 +138,32 @@
 msgid "(any)"
 msgstr "(不限)"
 
-#: lib/Jifty/Web/Form/.Field.pm.swp:44 lib/Jifty/Web/Form/Field.pm:549
-msgid "@{[$self->current_value]}"
-msgstr ""
+#: lib/Jifty/Plugin/Authentication/Password/Action/ConfirmEmail.pm:58
+msgid ". Your email address has now been confirmed."
+msgstr ". 現已成功確認您的電郵地址."
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/SendPasswordReminder.pm:96
+msgid "A link to reset your password has been sent to your email account."
+msgstr "重設密碼的通知信已送到您的電郵地址."
+
+#: lib/Jifty/Notification.pm:96
+#. ($appname)
+msgid "A notification from %1!"
+msgstr "%1 捎來的訊息!"
 
-#: share/web/templates/__jifty/admin/index.html:19
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:443
 msgid "Actions"
 msgstr "操作"
 
-#: share/web/templates/_elements/nav:5
+#: lib/Jifty/Plugin/SkeletonApp/Dispatcher.pm:28
 msgid "Administration"
 msgstr "管理介面"
 
-#: share/web/templates/_elements/wrapper:11
+#: lib/Jifty/View/Declare/Helpers.pm:363 share/web/templates/_elements/wrapper:11
 msgid "Administration mode is enabled."
 msgstr "系統管理模式開啟中."
 
-#: share/web/templates/_elements/wrapper:11
+#: lib/Jifty/View/Declare/Helpers.pm:360 share/web/templates/_elements/wrapper:11
 msgid "Alert"
 msgstr "請注意"
 
@@ -121,11 +175,19 @@
 msgid "Any field contains"
 msgstr "任意欄位包含"
 
-#: share/web/templates/__jifty/admin/action/dhandler:25 share/web/templates/__jifty/admin/model/dhandler:21
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:131
+msgid "Anyway, the software has logged this error."
+msgstr ""
+
+#: lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm:19
+msgid "Authentication token"
+msgstr ""
+
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:489 lib/Jifty/Plugin/AdminUI/View-not-yet.pm:59
 msgid "Back to the admin console"
 msgstr "回到管理介面"
 
-#: share/web/templates/__jifty/admin/index.html:29
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:461
 msgid "Back to the application"
 msgstr "回到應用程式"
 
@@ -138,7 +200,7 @@
 msgid "Calendar"
 msgstr "日曆"
 
-#: share/web/templates/__jifty/admin/fragments/list/update:31
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:338
 msgid "Cancel"
 msgstr "取消"
 
@@ -150,11 +212,15 @@
 msgid "Close window"
 msgstr "關閉視窗"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:31
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:382
 msgid "Confirm delete?"
 msgstr "是否確定刪除?"
 
-#: share/web/templates/__jifty/admin/fragments/list/new_item:25
+#: lib/Jifty/Plugin/Authentication/Password/Action/SendAccountConfirmation.pm:97
+msgid "Confirmation resent."
+msgstr ""
+
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:213
 msgid "Create"
 msgstr "建立"
 
@@ -167,11 +233,11 @@
 msgid "Created"
 msgstr "成功建立項目."
 
-#: share/web/templates/__jifty/admin/index.html:3
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:415
 msgid "Database Administration"
 msgstr "資料庫管理"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:29
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:380
 msgid "Delete"
 msgstr "刪除"
 
@@ -183,11 +249,11 @@
 msgid "Dismiss"
 msgstr "關閉"
 
-#: share/web/templates/__jifty/admin/index.html:28 share/web/templates/__jifty/admin/model/dhandler:20
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:458 lib/Jifty/Plugin/AdminUI/View-not-yet.pm:486 lib/Jifty/Plugin/AdminUI/View-not-yet.pm:56
 msgid "Done?"
 msgstr "設定完畢?"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:40 share/web/templates/__jifty/halo:20
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:388 share/web/templates/__jifty/halo:126 share/web/templates/__jifty/halo:20
 msgid "Edit"
 msgstr "編輯"
 
@@ -196,77 +262,190 @@
 msgid "Edit %1"
 msgstr "編輯 %1"
 
-#: share/web/templates/dhandler:7
+#: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:23 lib/Jifty/Plugin/Authentication/Password/Action/SendPasswordReminder.pm:32
+msgid "Email"
+msgstr "電郵"
+
+#: lib/Jifty/Plugin/User/Mixin/Model/User.pm:33
+msgid "Email address"
+msgstr "電郵地址"
+
+#: lib/Jifty/Plugin/User/Mixin/Model/User.pm:35
+msgid "Email address confirmed?"
+msgstr "已確認電郵地址?"
+
+#: lib/Jifty/Action.pm:1158
+msgid "Foo cannot contain -, *, +, or ?."
+msgstr ""
+
+#: lib/Jifty/Action.pm:1152
+msgid "Foo cannot contain uppercase letters."
+msgstr ""
+
+#: lib/Jifty/Action.pm:1136
+msgid "Foo values are always in lowercase."
+msgstr ""
+
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:27
+msgid "For one reason or another, you got to a web page that caused a bit of an error. And then you got to our 'basic' error handler. Which means we haven't written a pretty, easy to understand error message for you just yet. The message we do have is :"
+msgstr ""
+
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:138 share/web/templates/dhandler:7
 msgid "Go back home..."
 msgstr "回首頁..."
 
-#: share/web/templates/_elements/sidebar:5
+#: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:34
+msgid "Hashed Password"
+msgstr ""
+
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:44
+msgid "Head on back home"
+msgstr "回首頁"
+
+#: lib/Jifty/I18N.pm:19 lib/Jifty/I18N.pm:23
+#. ('World')
+msgid "Hello, %1!"
+msgstr "%1 您好!"
+
+#: lib/Jifty/Plugin/SkeletonApp/View.pm:31 share/web/templates/_elements/sidebar:5
 #. ($u->$method()
 msgid "Hiya, %1."
 msgstr "%1 您好."
 
-#: share/web/templates/_elements/nav:3
+#: lib/Jifty/Plugin/SkeletonApp/Dispatcher.pm:23
 msgid "Home"
 msgstr "首頁"
 
-#: share/web/templates/__jifty/admin/index.html:1
+#: lib/Jifty/Plugin/User/Mixin/Model/User.pm:30
+msgid "How should I display your name to other users?"
+msgstr "您在本系統的代號"
+
+#: lib/Jifty/Action.pm:1090
+msgid "I changed $field for you"
+msgstr ""
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:64
+msgid "I'm not sure how this happened."
+msgstr ""
+
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:62
+msgid "Internal error"
+msgstr ""
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/SendAccountConfirmation.pm:78 lib/Jifty/Plugin/Authentication/Password/Action/SendPasswordReminder.pm:79
+msgid "It doesn't look like there's an account by that name."
+msgstr ""
+
+#: lib/Jifty/Plugin/User/Mixin/Model/User.pm:89
+msgid "It looks like somebody else is using that address. Is there a chance you have another account?"
+msgstr ""
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:75
+msgid "It looks like you already have an account. Perhaps you want to <a href=\"/login\">log in</a> instead?"
+msgstr ""
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:75
+msgid "It looks like you didn't enter the same password into both boxes. Give it another shot?"
+msgstr ""
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/SendAccountConfirmation.pm:82
+msgid "It looks like you're already confirmed."
+msgstr ""
+
+#:
 msgid "Jifty Administrative Console"
 msgstr "Jifty 管理介面"
 
-#: share/web/templates/__jifty/online_docs/toc.html:6
+#:
 msgid "Jifty Developer Documentation Online"
 msgstr "Jifty 線上開發文件"
 
-#: share/web/templates/__jifty/online_docs/content.html:6
+#:
 msgid "Jifty Pod Online"
 msgstr "Jifty 線上 POD 文件"
 
-#: share/web/templates/_elements/wrapper:18
+#: lib/Jifty/View/Declare/Helpers.pm:375 share/web/templates/_elements/wrapper:18
 msgid "Loading..."
 msgstr "請稍候..."
 
-#: share/web/templates/__jifty/admin/model/dhandler:9
-#. ($object_type)
+#: lib/Jifty/Plugin/Authentication/Password/Dispatcher.pm:106
+msgid "Login"
+msgstr "登入"
+
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:55
+msgid "Login with a password"
+msgstr "使用密碼登入"
+
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:40
+msgid "Login!"
+msgstr "登入!"
+
+#: lib/Jifty/Plugin/Authentication/Password/Dispatcher.pm:123
+msgid "Logout"
+msgstr "登出"
+
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:63
+msgid "Lost your password?"
+msgstr "忘記密碼了?"
+
+#:
 msgid "Manage %1 records"
 msgstr "管理 %1 記錄"
 
-#: share/web/templates/__jifty/admin/model/dhandler:11
+#:
 msgid "Manage records:"
 msgstr "管理記錄:"
 
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:46 lib/Jifty/Plugin/AdminUI/View-not-yet.pm:473
+#. ($object_type)
+msgid "Manage records: [_1]"
+msgstr ""
+
 #: share/web/templates/__jifty/error/mason_internal_error:1
 msgid "Mason error"
 msgstr "Mason 系統錯誤"
 
-#: share/web/templates/__jifty/admin/index.html:9
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:429
 msgid "Models"
 msgstr "模型"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:113
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:81
+msgid "New password"
+msgstr "新的密碼"
+
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:172
 msgid "Next Page"
 msgstr "下一頁"
 
+#: lib/Jifty/Plugin/User/Mixin/Model/User.pm:29
+msgid "Nickname"
+msgstr "暱稱"
+
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:52
+msgid "No account yet? It's quick and easy. "
+msgstr "還沒有註冊帳號嗎? "
+
 #: lib/Jifty/Action/Record/Search.pm:130
 msgid "No field contains"
 msgstr "沒有欄位包含"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:85
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:139
 msgid "No items found"
 msgstr "未找到記錄"
 
-#: lib/Jifty/Web.pm:300
+#: lib/Jifty/Web.pm:302
 msgid "No request to handle"
 msgstr "沒有可處理的要求"
 
-#: share/web/templates/__jifty/online_docs/index.html:5
+#:
 msgid "Online Documentation"
 msgstr "線上文件"
 
-#: share/web/templates/_elements/nav:6
+#: lib/Jifty/Plugin/OnlineDocs/Dispatcher.pm:26
 msgid "Online docs"
 msgstr "線上文件"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:80
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:134
 #. ($page, $collection->pager->last_page)
 msgid "Page %1 of %2"
 msgstr "第 %1 頁, 共 %2 頁"
@@ -279,24 +458,48 @@
 msgid "Parent"
 msgstr "上層元件"
 
-#: lib/Jifty/Record.pm:264 lib/Jifty/Record.pm:343 lib/Jifty/Record.pm:68
+#: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:29 lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:32 lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm:26
+msgid "Password"
+msgstr "密碼"
+
+#: lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm:88
+msgid "Passwords need to be at least six characters long"
+msgstr "密碼至少需要有六個字"
+
+#: lib/Jifty/Record.pm:272 lib/Jifty/Record.pm:351 lib/Jifty/Record.pm:70
 msgid "Permission denied"
 msgstr "權限不足."
 
-#: share/web/templates/__jifty/admin/fragments/list/list:108
+#: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:66
+msgid "Please email us!"
+msgstr "請寫信通知我們!"
+
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:163
 msgid "Previous Page"
 msgstr "上一頁"
 
+#: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:65
+msgid "Really, really sorry."
+msgstr "十二萬分抱歉."
+
 #:
 msgid "Record created"
 msgstr "成功建立項目."
 
+#: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:37
+msgid "Remember me?"
+msgstr "記住我?"
+
 #: share/web/templates/__jifty/halo:69
 #. ($frame->{'render_time'})
 msgid "Rendered in %1s"
 msgstr "頁面繪製時間: %1 秒"
 
-#: share/web/templates/__jifty/admin/action/dhandler:20
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:78
+msgid "Reset lost password"
+msgstr "重設密碼"
+
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:53
 msgid "Run the action"
 msgstr "執行動作"
 
@@ -304,58 +507,120 @@
 msgid "SQL Statements"
 msgstr "SQL 陳述式"
 
-#: share/web/templates/__jifty/admin/fragments/list/update:21
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:327
 msgid "Save"
 msgstr "儲存"
 
-#: share/web/templates/__jifty/online_docs/content.html:50
+#:
 msgid "Schema"
 msgstr "綱要"
 
-#: share/web/templates/__jifty/admin/fragments/list/search:18
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:304
 msgid "Search"
 msgstr "搜尋"
 
-#: share/web/templates/dhandler:1
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:119
+msgid "Send"
+msgstr "寄出"
+
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:97
+msgid "Send a link to reset your password"
+msgstr "寄送重設密碼的鏈結"
+
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:109 lib/Jifty/Plugin/Authentication/Password/View.pm:114
+msgid "Send a password reminder"
+msgstr "重設密碼"
+
+#: lib/Jifty/Plugin/Authentication/Password/Dispatcher.pm:111
+msgid "Sign up"
+msgstr "註冊"
+
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:53
+msgid "Sign up for an account!"
+msgstr "現在就註冊!"
+
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:30 lib/Jifty/Plugin/Authentication/Password/View.pm:35
+msgid "Signup"
+msgstr "註冊"
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:108
+#. ($msg)
+msgid "Something bad happened and we couldn't create your account: %1"
+msgstr ""
+
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:149
+msgid "Something went awry"
+msgstr ""
+
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:124 share/web/templates/dhandler:1
 msgid "Something's not quite right"
 msgstr "系統錯誤"
 
-#: share/web/templates/__jifty/online_docs/index.html:16 share/web/templates/__jifty/online_docs/index.html:18
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:132
+msgid "Sorry about this."
+msgstr "非常抱歉."
+
+#:
 msgid "Table of Contents"
 msgstr "目錄"
 
-#: lib/Jifty/Action.pm:876
+#: lib/Jifty/Plugin/User/Mixin/Model/User.pm:82
+#. ($new_email)
+msgid "That %1 doesn't look like an email address."
+msgstr ""
+
+#: lib/Jifty/Action.pm:878
 msgid "That doesn't look like a correct value"
 msgstr "欄位格式錯誤."
 
-#: lib/Jifty/Action/Record.pm:248
+#: lib/Jifty/Plugin/Authentication/Password/Action/SendAccountConfirmation.pm:71 lib/Jifty/Plugin/Authentication/Password/Action/SendPasswordReminder.pm:72 lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:70
+msgid "That doesn't look like an email address."
+msgstr ""
+
+#: lib/Jifty/Action/Record.pm:249
 msgid "That doesn't look right, but I don't know why"
 msgstr "欄位內容錯誤."
 
-#: lib/Jifty/Action/Record.pm:180
+#: lib/Jifty/Action/Record.pm:181
 msgid "The passwords you typed didn't match each other"
 msgstr "兩組密碼不符合."
 
-#: lib/Jifty/Web.pm:363
+#: lib/Jifty/Web.pm:365
 msgid "There was an error completing the request.  Please try again later."
 msgstr "系統執行錯誤, 請稍候再試."
 
-#: share/web/templates/__jifty/admin/index.html:5
+#: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:81
+msgid "There was an error setting your password."
+msgstr ""
+
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:37
+msgid "There's a pretty good chance that error message doesn't mean anything to you, but we'd rather you have a little bit of information about what went wrong than nothing. We've logged this error, so we know we need to write something friendly explaining just what happened and how to fix it."
+msgstr ""
+
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:419
 msgid "This console lets you manage the records in your Jifty database. Below, you should see a list of all your database tables. Feel free to go through and add, delete or modify records."
 msgstr "您可利用此介面來管理資料庫的內容. 請點選表格名稱, 進行增刪及編輯."
 
-#: share/web/templates/__jifty/admin/index.html:7
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:425
 msgid "To disable this administrative console, add \"AdminMode: 0\" under the \"framework:\" settings in the config file (etc/config.yml)."
 msgstr "如欲停用管理介面, 請在設定檔 (etc/config.yml) 的 \"framework:\" 設定內加上 \"AdminMode: 0\" 即可."
 
-#: share/web/templates/__jifty/admin/fragments/list/list:72
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:127
 msgid "Toggle search"
 msgstr "切換搜尋畫面"
 
-#: share/web/templates/__jifty/error/mason_internal_error:6
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:173 share/web/templates/__jifty/error/mason_internal_error:6
 msgid "Try again"
 msgstr "再試一下"
 
+#: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:108
+msgid "Try again later. We're really, really sorry."
+msgstr ""
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:53
+msgid "Type that again?"
+msgstr "請再輸入一次"
+
 #: lib/Jifty/Action/Record/Update.pm:156
 msgid "Updated"
 msgstr "成功更新項目."
@@ -364,34 +629,119 @@
 msgid "Variables"
 msgstr "變數"
 
-#: share/web/templates/index.html:1
+#: lib/Jifty.pm:27
+msgid "W00t"
+msgstr "喔耶"
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:114
+msgid "We've sent a confirmation message to your email box."
+msgstr "系統已將確認信寄送到您的電郵信箱."
+
+#: lib/Jifty/I18N.pm:31
+#. ('Bob', 'World')
+msgid "Welcome %1 to the %2"
+msgstr "歡迎 %1 蒞臨 %2"
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:181
+#. ($user->name)
+msgid "Welcome back, %1."
+msgstr "歡迎回來, %1."
+
+#: lib/Jifty/Plugin/Authentication/Password/Notification/ConfirmEmail.pm:40
+#. ($appname)
+msgid "Welcome to %1!"
+msgstr "歡迎光臨 %1!"
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:113
+#. (Jifty->config->framework('ApplicationName')
+msgid "Welcome to %1, %2."
+msgstr "歡迎光臨 %1, %2!"
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/ConfirmEmail.pm:57
+#. (Jifty->config->framework('ApplicationName')
+msgid "Welcome to %1, %2. "
+msgstr "歡迎光臨 %1, %2. "
+
+#: lib/Jifty/Plugin/SkeletonApp/View.pm:75 share/web/templates/index.html:1
 msgid "Welcome to your new Jifty application"
 msgstr "歡迎光臨您嶄新的 Jifty 應用程式"
 
+#: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:63
+msgid "You don't exist."
+msgstr "您不存在."
+
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:130
+msgid "You got to a page that we don't think exists."
+msgstr "此頁面不存在."
+
 #: share/web/templates/dhandler:5
 msgid "You got to a page that we don't think exists.  Anyway, the software has logged this error. Sorry about this."
 msgstr "抱歉, 此頁面不存在, 系統已留下紀錄."
 
-#: lib/Jifty/Action.pm:863
+#: lib/Jifty/Plugin/Authentication/Password/Action/ConfirmEmail.pm:44
+msgid "You have already confirmed your account."
+msgstr "您已經確認過這個帳號了."
+
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:98
+msgid "You lost your password. A link to reset it will be sent to the following email address:"
+msgstr ""
+
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:115
+msgid "You lost your password. A reminder will be send to the following mail:"
+msgstr ""
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:152
+msgid "You may have mistyped your email address or password. Give it another shot."
+msgstr ""
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:146
+msgid "You may have mistyped your email or password. Give it another shot."
+msgstr ""
+
+#: lib/Jifty/Action.pm:865
 msgid "You need to fill in this field"
 msgstr "此欄位不能留空."
 
-#: share/web/templates/index.html:3
+#: lib/Jifty/Plugin/SkeletonApp/View.pm:75 share/web/templates/index.html:3
 #. ('http://hdl.loc.gov/loc.pnp/cph.3c13461')
 msgid "You said you wanted a pony. (Source %1)"
 msgstr "您可不正是想要一匹小馬嗎? (參見 %1)"
 
-#: share/web/templates/_elements/sidebar:7
+#: lib/Jifty/Plugin/Authentication/Password/View.pm:69
+msgid "You're already logged in."
+msgstr "您已經登入了."
+
+#: lib/Jifty/Plugin/SkeletonApp/View.pm:34 share/web/templates/_elements/sidebar:7
 msgid "You're not currently signed in."
 msgstr "您目前尚未登入."
 
-#: share/web/templates/__jifty/admin/fragments/list/header:22
+#: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:38
+msgid "Your browser can remember your login for you"
+msgstr "下次開啟瀏覽器時, 是否保留您的登入狀態?"
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:87
+msgid "Your password has been reset.  Welcome back."
+msgstr "成功重設您的密碼. 歡迎回來."
+
+#: lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm:28
+msgid "Your password should be at least six characters"
+msgstr "您的密碼必須至少有六個字"
+
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:246
 msgid "asc"
-msgstr "昇冪"
+msgstr "遞增"
 
-#: share/web/templates/__jifty/admin/fragments/list/header:41
+#: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:264
 msgid "desc"
-msgstr "降冪"
+msgstr "遞減"
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/SendAccountConfirmation.pm:31
+msgid "email address"
+msgstr "電郵地址"
+
+#: lib/Jifty/Plugin/ErrorTemplates/View.pm:46
+msgid "for now, and try to forget that we let you down."
+msgstr ""
 
 #: lib/Jifty/Manual/PageRegions.pod:188
 msgid "text of the link"
@@ -400,3 +750,11 @@
 #: lib/Jifty/Manual/PageRegions.pod:225
 msgid "text of the link that hides"
 msgstr "隱藏連結文字"
+
+#: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:37
+msgid "type your password again"
+msgstr "請再次鍵入您的密碼"
+
+#: lib/Jifty/Action.pm:1050
+msgid "warning"
+msgstr ""


More information about the Jifty-commit mailing list