[jifty-devel] a patch for zh_cn.po

sunnavy sunnavy at gmail.com
Thu May 24 03:49:34 EDT 2007


After creating some simple applications using Jifty, I have to say I like it.
Though I'm not very familiar with it right now, I'd like to help, ;-)

I found zh_cn.po is out of date to some extent, so I updated it yesterday.
(yeah, I'm a Chinese native).

As known to all, there is no one true way for translation, and this's just
my version.  Wish it help, :-)

The patch file is a bit long, so I treated it as an attachment.

sunnavy
-------------- next part --------------
Index: zh_cn.po
===================================================================
--- zh_cn.po	(revision 3299)
+++ zh_cn.po	(working copy)
@@ -27,6 +27,14 @@
 "\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)
@@ -39,6 +47,12 @@
 "\n"
 "%2\n"
 msgstr ""
+"\n"
+"???????????? %1 ????.\n"
+"\n"
+"?????????????????:\n"
+"\n"
+"%2\n"
 
 #: lib/Jifty/Action/Record/Search.pm:125
 msgid "!=>< allowed"
@@ -47,7 +61,7 @@
 #: lib/Jifty/Notification.pm:94
 #. ($appname, Jifty->config->framework('AdminEmail')
 msgid "%1 <%2>"
-msgstr ""
+msgstr "%1 <%2>"
 
 #: lib/Jifty/Action/Record/Search.pm:115
 #. ($label)
@@ -67,7 +81,7 @@
 #: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:141
 #. ($collection-> count)
 msgid "%1 entries"
-msgstr "%1 ???"
+msgstr "? %1 ???"
 
 #: lib/Jifty/Action/Record/Search.pm:123
 #. ($label)
@@ -126,16 +140,16 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/ConfirmEmail.pm:58
 msgid ". Your email address has now been confirmed."
-msgstr ""
+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 ""
+msgstr "?????????????????."
 
 #: lib/Jifty/Notification.pm:96
 #. ($appname)
 msgid "A notification from %1!"
-msgstr ""
+msgstr "? %1 ?????!"
 
 #: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:443
 msgid "Actions"
@@ -143,7 +157,7 @@
 
 #: lib/Jifty/Plugin/SkeletonApp/Dispatcher.pm:28
 msgid "Administration"
-msgstr "????"
+msgstr "????"
 
 #: lib/Jifty/View/Declare/Helpers.pm:363 share/web/templates/_elements/wrapper:11
 msgid "Administration mode is enabled."
@@ -163,7 +177,7 @@
 
 #: lib/Jifty/Plugin/ErrorTemplates/View.pm:131
 msgid "Anyway, the software has logged this error."
-msgstr ""
+msgstr "????????."
 
 #: lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm:19
 msgid "Authentication token"
@@ -179,7 +193,7 @@
 
 #: share/web/templates/__jifty/halo:117
 msgid "Bindings"
-msgstr "???"
+msgstr "???"
 
 #: share/web/templates/helpers/calendar.html:4
 #. (_ &><body class="calpopup"><a href="#" onclick="window.close()
@@ -250,15 +264,15 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:23 lib/Jifty/Plugin/Authentication/Password/Action/SendPasswordReminder.pm:32
 msgid "Email"
-msgstr ""
+msgstr "????"
 
 #: lib/Jifty/Plugin/User/Mixin/Model/User.pm:33
 msgid "Email address"
-msgstr ""
+msgstr "????"
 
 #: lib/Jifty/Plugin/User/Mixin/Model/User.pm:35
 msgid "Email address confirmed?"
-msgstr ""
+msgstr "????????"
 
 #: lib/Jifty/Action.pm:1158
 msgid "Foo cannot contain -, *, +, or ?."
@@ -291,7 +305,7 @@
 #: lib/Jifty/I18N.pm:19 lib/Jifty/I18N.pm:23
 #. ('World')
 msgid "Hello, %1!"
-msgstr ""
+msgstr "%1, ??!"
 
 #: lib/Jifty/Plugin/SkeletonApp/View.pm:31 share/web/templates/_elements/sidebar:5
 #. ($u->$method()
@@ -304,7 +318,7 @@
 
 #: lib/Jifty/Plugin/User/Mixin/Model/User.pm:30
 msgid "How should I display your name to other users?"
-msgstr ""
+msgstr "????????"
 
 #: lib/Jifty/Action.pm:1090
 msgid "I changed $field for you"
@@ -312,15 +326,15 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:64
 msgid "I'm not sure how this happened."
-msgstr ""
+msgstr "?????????."
 
 #: lib/Jifty/Plugin/ErrorTemplates/View.pm:62
 msgid "Internal error"
-msgstr ""
+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 ""
+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?"
@@ -356,23 +370,23 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Dispatcher.pm:106
 msgid "Login"
-msgstr ""
+msgstr "??"
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:55
 msgid "Login with a password"
-msgstr ""
+msgstr "??????"
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:40
 msgid "Login!"
-msgstr ""
+msgstr "??!"
 
 #: lib/Jifty/Plugin/Authentication/Password/Dispatcher.pm:123
 msgid "Logout"
-msgstr ""
+msgstr "??"
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:63
 msgid "Lost your password?"
-msgstr ""
+msgstr "?????"
 
 #:
 msgid "Manage %1 records"
@@ -380,12 +394,12 @@
 
 #:
 msgid "Manage records:"
-msgstr "?????"
+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 ""
+msgstr "????: [_1]"
 
 #: share/web/templates/__jifty/error/mason_internal_error:1
 msgid "Mason error"
@@ -397,7 +411,7 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:81
 msgid "New password"
-msgstr ""
+msgstr "???"
 
 #: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:172
 msgid "Next Page"
@@ -405,11 +419,11 @@
 
 #: lib/Jifty/Plugin/User/Mixin/Model/User.pm:29
 msgid "Nickname"
-msgstr ""
+msgstr "??"
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:52
 msgid "No account yet? It's quick and easy. "
-msgstr ""
+msgstr "????????????????. "
 
 #: lib/Jifty/Action/Record/Search.pm:130
 msgid "No field contains"
@@ -425,11 +439,11 @@
 
 #:
 msgid "Online Documentation"
-msgstr "????"
+msgstr "????"
 
 #: lib/Jifty/Plugin/OnlineDocs/Dispatcher.pm:26
 msgid "Online docs"
-msgstr "????"
+msgstr "????"
 
 #: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:134
 #. ($page, $collection->pager->last_page)
@@ -442,15 +456,15 @@
 
 #: share/web/templates/__jifty/halo:72
 msgid "Parent"
-msgstr "????"
+msgstr "???"
 
 #: 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 ""
+msgstr "??"
 
 #: lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm:88
 msgid "Passwords need to be at least six characters long"
-msgstr ""
+msgstr "???????6?"
 
 #: lib/Jifty/Record.pm:272 lib/Jifty/Record.pm:351 lib/Jifty/Record.pm:70
 msgid "Permission denied"
@@ -458,15 +472,15 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:66
 msgid "Please email us!"
-msgstr ""
+msgstr "????????!"
 
 #: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:163
 msgid "Previous Page"
-msgstr "???"
+msgstr "???"
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:65
 msgid "Really, really sorry."
-msgstr ""
+msgstr "??????"
 
 #:
 msgid "Record created"
@@ -474,16 +488,16 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:37
 msgid "Remember me?"
-msgstr ""
+msgstr "????"
 
 #: share/web/templates/__jifty/halo:69
 #. ($frame->{'render_time'})
 msgid "Rendered in %1s"
-msgstr "??????: %1 ?"
+msgstr "??????: %1 ?"
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:78
 msgid "Reset lost password"
-msgstr ""
+msgstr "????"
 
 #: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:53
 msgid "Run the action"
@@ -491,7 +505,7 @@
 
 #: share/web/templates/__jifty/halo:111
 msgid "SQL Statements"
-msgstr "SQL ???"
+msgstr "SQL ??"
 
 #: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:327
 msgid "Save"
@@ -499,7 +513,7 @@
 
 #:
 msgid "Schema"
-msgstr "??"
+msgstr "??"
 
 #: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:304
 msgid "Search"
@@ -507,27 +521,27 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:119
 msgid "Send"
-msgstr ""
+msgstr "??"
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:97
 msgid "Send a link to reset your password"
-msgstr ""
+msgstr "?????????"
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:109 lib/Jifty/Plugin/Authentication/Password/View.pm:114
 msgid "Send a password reminder"
-msgstr ""
+msgstr "??????"
 
 #: lib/Jifty/Plugin/Authentication/Password/Dispatcher.pm:111
 msgid "Sign up"
-msgstr ""
+msgstr "??"
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:53
 msgid "Sign up for an account!"
-msgstr ""
+msgstr "?????!"
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:30 lib/Jifty/Plugin/Authentication/Password/View.pm:35
 msgid "Signup"
-msgstr ""
+msgstr "??"
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:108
 #. ($msg)
@@ -544,7 +558,7 @@
 
 #: lib/Jifty/Plugin/ErrorTemplates/View.pm:132
 msgid "Sorry about this."
-msgstr ""
+msgstr "????"
 
 #:
 msgid "Table of Contents"
@@ -553,7 +567,7 @@
 #: lib/Jifty/Plugin/User/Mixin/Model/User.pm:82
 #. ($new_email)
 msgid "That %1 doesn't look like an email address."
-msgstr ""
+msgstr "%1 ?????????"
 
 #: lib/Jifty/Action.pm:878
 msgid "That doesn't look like a correct value"
@@ -561,7 +575,7 @@
 
 #: 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 ""
+msgstr "??????????."
 
 #: lib/Jifty/Action/Record.pm:249
 msgid "That doesn't look right, but I don't know why"
@@ -569,7 +583,7 @@
 
 #: lib/Jifty/Action/Record.pm:181
 msgid "The passwords you typed didn't match each other"
-msgstr "???????."
+msgstr "???????."
 
 #: lib/Jifty/Web.pm:365
 msgid "There was an error completing the request.  Please try again later."
@@ -577,7 +591,7 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:81
 msgid "There was an error setting your password."
-msgstr ""
+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."
@@ -585,7 +599,7 @@
 
 #: 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 "????????????????. ???????, ???????."
+msgstr "????????????????. ???????, ???????."
 
 #: 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)."
@@ -593,19 +607,19 @@
 
 #: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:127
 msgid "Toggle search"
-msgstr "??????"
+msgstr "??????"
 
 #: lib/Jifty/Plugin/ErrorTemplates/View.pm:173 share/web/templates/__jifty/error/mason_internal_error:6
 msgid "Try again"
-msgstr "????"
+msgstr "??"
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:108
 msgid "Try again later. We're really, really sorry."
-msgstr ""
+msgstr "????????."
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:53
 msgid "Type that again?"
-msgstr ""
+msgstr "??????"
 
 #: lib/Jifty/Action/Record/Update.pm:156
 msgid "Updated"
@@ -613,7 +627,7 @@
 
 #: share/web/templates/__jifty/halo:93
 msgid "Variables"
-msgstr "??"
+msgstr "??"
 
 #: lib/Jifty.pm:27
 msgid "W00t"
@@ -621,52 +635,52 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:114
 msgid "We've sent a confirmation message to your email box."
-msgstr ""
+msgstr "????????????????."
 
 #: lib/Jifty/I18N.pm:31
 #. ('Bob', 'World')
 msgid "Welcome %1 to the %2"
-msgstr ""
+msgstr "%2, ???? %1"
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:181
 #. ($user->name)
 msgid "Welcome back, %1."
-msgstr ""
+msgstr "????, %1."
 
 #: lib/Jifty/Plugin/Authentication/Password/Notification/ConfirmEmail.pm:40
 #. ($appname)
 msgid "Welcome to %1!"
-msgstr ""
+msgstr "???? %1!"
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Signup.pm:113
 #. (Jifty->config->framework('ApplicationName')
 msgid "Welcome to %1, %2."
-msgstr ""
+msgstr "%2, ???? %1"
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/ConfirmEmail.pm:57
 #. (Jifty->config->framework('ApplicationName')
 msgid "Welcome to %1, %2. "
-msgstr ""
+msgstr "%2, ???? %1"
 
 #: lib/Jifty/Plugin/SkeletonApp/View.pm:75 share/web/templates/index.html:1
 msgid "Welcome to your new Jifty application"
-msgstr "????????? Jifty ????"
+msgstr "???????? Jifty ????"
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:63
 msgid "You don't exist."
-msgstr ""
+msgstr "??????."
 
 #: lib/Jifty/Plugin/ErrorTemplates/View.pm:130
 msgid "You got to a page that we don't think exists."
-msgstr ""
+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 "??, ??????, ???????."
+msgstr "??, ??????, ????????."
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/ConfirmEmail.pm:44
 msgid "You have already confirmed your account."
-msgstr ""
+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:"
@@ -678,11 +692,11 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:152
 msgid "You may have mistyped your email address or password. Give it another shot."
-msgstr ""
+msgstr "?????????????????."
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:146
 msgid "You may have mistyped your email or password. Give it another shot."
-msgstr ""
+msgstr "?????????????????."
 
 #: lib/Jifty/Action.pm:865
 msgid "You need to fill in this field"
@@ -691,11 +705,11 @@
 #: 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)"
+msgstr "??????????? (?? %1)"
 
 #: lib/Jifty/Plugin/Authentication/Password/View.pm:69
 msgid "You're already logged in."
-msgstr ""
+msgstr "??????."
 
 #: lib/Jifty/Plugin/SkeletonApp/View.pm:34 share/web/templates/_elements/sidebar:7
 msgid "You're not currently signed in."
@@ -703,15 +717,15 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/Login.pm:38
 msgid "Your browser can remember your login for you"
-msgstr ""
+msgstr "????????, ?????????"
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:87
 msgid "Your password has been reset.  Welcome back."
-msgstr ""
+msgstr "????????. ????."
 
 #: lib/Jifty/Plugin/Authentication/Password/Mixin/Model/User.pm:28
 msgid "Your password should be at least six characters"
-msgstr ""
+msgstr "???????6?"
 
 #: lib/Jifty/Plugin/AdminUI/View-not-yet.pm:246
 msgid "asc"
@@ -723,7 +737,7 @@
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/SendAccountConfirmation.pm:31
 msgid "email address"
-msgstr ""
+msgstr "????"
 
 #: lib/Jifty/Plugin/ErrorTemplates/View.pm:46
 msgid "for now, and try to forget that we let you down."
@@ -731,16 +745,16 @@
 
 #: lib/Jifty/Manual/PageRegions.pod:188
 msgid "text of the link"
-msgstr "????"
+msgstr "????"
 
 #: lib/Jifty/Manual/PageRegions.pod:225
 msgid "text of the link that hides"
-msgstr "??????"
+msgstr "??????"
 
 #: lib/Jifty/Plugin/Authentication/Password/Action/ResetLostPassword.pm:37
 msgid "type your password again"
-msgstr ""
+msgstr "??????"
 
 #: lib/Jifty/Action.pm:1050
 msgid "warning"
-msgstr ""
+msgstr "??"


More information about the jifty-devel mailing list