[Jifty-commit] r2234 - in jifty/trunk: lib/Jifty lib/Jifty/Action/Record

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Nov 30 21:45:40 EST 2006


Author: audreyt
Date: Thu Nov 30 21:45:40 2006
New Revision: 2234

Modified:
   jifty/trunk/lib/Jifty/Action/Record/Search.pm
   jifty/trunk/lib/Jifty/Web.pm
   jifty/trunk/share/po/en.po
   jifty/trunk/share/po/fr.po
   jifty/trunk/share/po/ja.po
   jifty/trunk/share/po/zh_cn.po
   jifty/trunk/share/po/zh_tw.po

Log:
* L10N for Action::Record::Search.
* Regenerate PO files; repopulated zh_*.po.

Modified: jifty/trunk/lib/Jifty/Action/Record/Search.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record/Search.pm	(original)
+++ jifty/trunk/lib/Jifty/Action/Record/Search.pm	Thu Nov 30 21:45:40 2006
@@ -86,24 +86,24 @@
         next if($field =~ /^(.*)_id$/ && $self->record->column($1));
 
         my $label = $info->{label} || $field;
-        $args->{"${field}_not"} = {%$info, label => "$label is not"};
+        $args->{"${field}_not"} = { %$info, label => _("%1 is not", $label) };
         my $type = lc($column->type);
         if($type =~ /(?:text|char)/) {
             $info->{render_as} = 'text';
-            $args->{"${field}_contains"} = {%$info, label => "$label contains"};
-            $args->{"${field}_lacks"} = {%$info, label => "$label lacks"};
+            $args->{"${field}_contains"} = { %$info, label => _("%1 contains", $label) };
+            $args->{"${field}_lacks"} = { %$info, label => _("%1 lacks", $label) };
         } elsif($type =~ /(?:date|time)/) {
-            $args->{"${field}_after"} = {%$info, label => "$label after"};
-            $args->{"${field}_before"} = {%$info, label => "$label before"};
+            $args->{"${field}_after"} = { %$info, label => _("%1 after", $label) };
+            $args->{"${field}_before"} = { %$info, label => _("%1 before", $label) };
         } elsif(    $type =~ /(?:int|float|double)/
                 && !$column->refers_to) {
-            $args->{"${field}_gt"} = {%$info, label => "$label greater than"};
-            $args->{"${field}_lt"} = {%$info, label => "$label less than"};
+            $args->{"${field}_gt"} = { %$info, label => _("%1 greater than", $label) };
+            $args->{"${field}_lt"} = { %$info, label => _("%1 less than", $label) };
         }
     }
 
-    $args->{contains} = {type => 'text', label => 'Any field contains'};
-    $args->{lacks} = {type => 'text', label => 'No field contains'};
+    $args->{contains} = { type => 'text', label => _('Any field contains') };
+    $args->{lacks} = { type => 'text', label => _('No field contains') };
 
     return $self->_cached_arguments($args);
 }

Modified: jifty/trunk/lib/Jifty/Web.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web.pm	(original)
+++ jifty/trunk/lib/Jifty/Web.pm	Thu Nov 30 21:45:40 2006
@@ -601,7 +601,7 @@
     # To submit a Jifty::Action::Redirect, we don't need to serialize a continuation,
     # unlike any other kind of actions.
     if (  (grep { not $_->action_class->isa('Jifty::Action::Redirect') }
-                values %{{ $self->response->results }})
+                values %{ { $self->response->results } })
         or $self->request->state_variables
         or $self->{'state_variables'}
         or $self->request->continuation

Modified: jifty/trunk/share/po/en.po
==============================================================================
--- jifty/trunk/share/po/en.po	(original)
+++ jifty/trunk/share/po/en.po	Thu Nov 30 21:45:40 2006
@@ -15,8 +15,39 @@
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: lib/Jifty/Web.pm:572 lib/Jifty/Web.pm~:572
-msgid " $self->response->results "
+#: lib/Jifty/Action/Record/Search.pm:96
+#. ($label)
+msgid "%1 after"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:97
+#. ($label)
+msgid "%1 before"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:93
+#. ($label)
+msgid "%1 contains"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:100
+#. ($label)
+msgid "%1 greater than"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:89
+#. ($label)
+msgid "%1 is not"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:94
+#. ($label)
+msgid "%1 lacks"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:101
+#. ($label)
+msgid "%1 less than"
 msgstr ""
 
 #: share/web/templates/__jifty/halo:119
@@ -24,7 +55,11 @@
 msgid "%1 seconds"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/index.html:49
+#: lib/Jifty/Web/Form/Field.pm:517
+msgid "@{[$self->current_value]}"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/index.html:19
 msgid "Actions"
 msgstr ""
 
@@ -36,35 +71,43 @@
 msgid "Alert"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Create.pm:74 lib/Jifty/Action/Record/Create.pm~:74
+#: lib/Jifty/Action/Record/Create.pm:82
 msgid "An error occurred.  Try again later"
 msgstr ""
 
+#: lib/Jifty/Action/Record/Search.pm:105
+msgid "Any field contains"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/fragments/list/update:28
+msgid "Cancel"
+msgstr ""
+
 #: share/web/templates/helpers/calendar.html:4
 msgid "Close window"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Create.pm:75 lib/Jifty/Action/Record/Create.pm~:75
+#: share/web/templates/__jifty/admin/fragments/list/view:29
+msgid "Confirm delete?"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Create.pm:81
 #. (ref($record)
 msgid "Create of %1 failed: %2"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Create.pm:97 lib/Jifty/Action/Record/Create.pm~:97
+#: lib/Jifty/Action/Record/Create.pm:105
 msgid "Created"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/index.html:34
+#: share/web/templates/__jifty/admin/index.html:3
 msgid "Database Administration"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Delete.pm:75
+#: lib/Jifty/Action/Record/Delete.pm:76
 msgid "Deleted"
 msgstr ""
 
-#: lib/Jifty/Web.pm:769 lib/Jifty/Web.pm~:768
-msgid "Dismiss"
-msgstr ""
-
 #: lib/Jifty/Mason/Halo.pm:104
 #. ($comp_name)
 msgid "Edit %1"
@@ -74,8 +117,8 @@
 msgid "Go back home..."
 msgstr ""
 
-#: share/web/templates/_elements/sidebar:3
-#. (Jifty->web->current_user->user_object->name)
+#: share/web/templates/_elements/sidebar:5
+#. ($u->$method()
 msgid "Hiya, %1."
 msgstr ""
 
@@ -91,11 +134,15 @@
 msgid "Loading..."
 msgstr ""
 
-#: share/web/templates/__jifty/admin/index.html:40
+#: share/web/templates/__jifty/admin/index.html:9
 msgid "Models"
 msgstr ""
 
-#: lib/Jifty/Web.pm:273 lib/Jifty/Web.pm~:273
+#: lib/Jifty/Action/Record/Search.pm:106
+msgid "No field contains"
+msgstr ""
+
+#: lib/Jifty/Web.pm:297
 msgid "No request to handle"
 msgstr ""
 
@@ -103,18 +150,18 @@
 msgid "Online Documentation"
 msgstr ""
 
-#: lib/Jifty/Record.pm:223 lib/Jifty/Record.pm:282 lib/Jifty/Record.pm:61
+#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:319 lib/Jifty/Record.pm:60
 msgid "Permission denied"
 msgstr ""
 
-#: lib/Jifty/Record.pm:84
-msgid "Record created"
-msgstr ""
-
 #: share/web/templates/__jifty/halo:111
 msgid "SQL Statements"
 msgstr ""
 
+#: share/web/templates/__jifty/admin/fragments/list/update:18
+msgid "Save"
+msgstr ""
+
 #: share/web/templates/__jifty/online_docs/content.html:50
 msgid "Schema"
 msgstr ""
@@ -127,11 +174,27 @@
 msgid "Table of Contents"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/index.html:36
+#: lib/Jifty/Action.pm:874
+msgid "That doesn't look like a correct value"
+msgstr ""
+
+#: lib/Jifty/Action/Record.pm:247
+msgid "That doesn't look right, but I don't know why"
+msgstr ""
+
+#: lib/Jifty/Action/Record.pm:179
+msgid "The passwords you typed didn't match each other"
+msgstr ""
+
+#: lib/Jifty/Web.pm:360
+msgid "There was an error completing the request.  Please try again later."
+msgstr ""
+
+#: share/web/templates/__jifty/admin/index.html:5
 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 ""
 
-#: lib/Jifty/Action/Record/Update.pm:152
+#: lib/Jifty/Action/Record/Update.pm:156
 msgid "Updated"
 msgstr ""
 
@@ -143,6 +206,10 @@
 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:861
+msgid "You need to fill in this field"
+msgstr ""
+
 #: share/web/templates/index.html:3
 #. ('http://hdl.loc.gov/loc.pnp/cph.3c13461')
 msgid "You said you wanted a pony. (Source %1)"

Modified: jifty/trunk/share/po/fr.po
==============================================================================
--- jifty/trunk/share/po/fr.po	(original)
+++ jifty/trunk/share/po/fr.po	Thu Nov 30 21:45:40 2006
@@ -15,8 +15,39 @@
 "Content-Type: text/plain; charset=ISO8859-15\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: lib/Jifty/Web.pm:583
-msgid " $self->response->results "
+#: lib/Jifty/Action/Record/Search.pm:96
+#. ($label)
+msgid "%1 after"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:97
+#. ($label)
+msgid "%1 before"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:93
+#. ($label)
+msgid "%1 contains"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:100
+#. ($label)
+msgid "%1 greater than"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:89
+#. ($label)
+msgid "%1 is not"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:94
+#. ($label)
+msgid "%1 lacks"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:101
+#. ($label)
+msgid "%1 less than"
 msgstr ""
 
 #: share/web/templates/__jifty/halo:119
@@ -24,6 +55,10 @@
 msgid "%1 seconds"
 msgstr "%1 secondes"
 
+#: lib/Jifty/Web/Form/Field.pm:517
+msgid "@{[$self->current_value]}"
+msgstr ""
+
 #: share/web/templates/__jifty/admin/index.html:19
 msgid "Actions"
 msgstr ""
@@ -40,10 +75,22 @@
 msgid "An error occurred.  Try again later"
 msgstr "Erreur. Ré-essayez plus tard"
 
+#: lib/Jifty/Action/Record/Search.pm:105
+msgid "Any field contains"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/fragments/list/update:28
+msgid "Cancel"
+msgstr ""
+
 #: share/web/templates/helpers/calendar.html:4
 msgid "Close window"
 msgstr "Fermer la fenêtre"
 
+#: share/web/templates/__jifty/admin/fragments/list/view:29
+msgid "Confirm delete?"
+msgstr ""
+
 #: lib/Jifty/Action/Record/Create.pm:81
 #. (ref($record)
 msgid "Create of %1 failed: %2"
@@ -91,7 +138,11 @@
 msgid "Models"
 msgstr "Modèles"
 
-#: lib/Jifty/Web.pm:276
+#: lib/Jifty/Action/Record/Search.pm:106
+msgid "No field contains"
+msgstr ""
+
+#: lib/Jifty/Web.pm:297
 msgid "No request to handle"
 msgstr "Aucune requête à traiter"
 
@@ -99,7 +150,7 @@
 msgid "Online Documentation"
 msgstr "Documentation en ligne"
 
-#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:316 lib/Jifty/Record.pm:60
+#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:319 lib/Jifty/Record.pm:60
 msgid "Permission denied"
 msgstr "Autorisation refusée"
 
@@ -111,6 +162,10 @@
 msgid "SQL Statements"
 msgstr ""
 
+#: share/web/templates/__jifty/admin/fragments/list/update:18
+msgid "Save"
+msgstr ""
+
 #: share/web/templates/__jifty/online_docs/content.html:50
 msgid "Schema"
 msgstr "Schéma"
@@ -123,19 +178,19 @@
 msgid "Table of Contents"
 msgstr "Table des matières"
 
-#: lib/Jifty/Action.pm:854
+#: lib/Jifty/Action.pm:874
 msgid "That doesn't look like a correct value"
 msgstr "Valeur incorecte"
 
-#: lib/Jifty/Action/Record.pm:249
+#: lib/Jifty/Action/Record.pm:247
 msgid "That doesn't look right, but I don't know why"
 msgstr "Problème"
 
-#: lib/Jifty/Action/Record.pm:181
+#: lib/Jifty/Action/Record.pm:179
 msgid "The passwords you typed didn't match each other"
 msgstr "Les mots de passe tapés ne sont pas identiques"
 
-#: lib/Jifty/Web.pm:339
+#: lib/Jifty/Web.pm:360
 msgid "There was an error completing the request.  Please try again later."
 msgstr "Problème lors de l'exécution de cette requête. Ré-essayez plus tard."
 
@@ -155,7 +210,7 @@
 msgid "You got to a page that we don't think exists.  Anyway, the software has logged this error. Sorry about this."
 msgstr "Cette page n'existe pas."
 
-#: lib/Jifty/Action.pm:841
+#: lib/Jifty/Action.pm:861
 msgid "You need to fill in this field"
 msgstr "Information obligatoire"
 
@@ -163,4 +218,3 @@
 #. ('http://hdl.loc.gov/loc.pnp/cph.3c13461')
 msgid "You said you wanted a pony. (Source %1)"
 msgstr ""
-

Modified: jifty/trunk/share/po/ja.po
==============================================================================
--- jifty/trunk/share/po/ja.po	(original)
+++ jifty/trunk/share/po/ja.po	Thu Nov 30 21:45:40 2006
@@ -15,8 +15,39 @@
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: lib/Jifty/Web.pm:572 lib/Jifty/Web.pm~:572
-msgid " $self->response->results "
+#: lib/Jifty/Action/Record/Search.pm:96
+#. ($label)
+msgid "%1 after"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:97
+#. ($label)
+msgid "%1 before"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:93
+#. ($label)
+msgid "%1 contains"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:100
+#. ($label)
+msgid "%1 greater than"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:89
+#. ($label)
+msgid "%1 is not"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:94
+#. ($label)
+msgid "%1 lacks"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:101
+#. ($label)
+msgid "%1 less than"
 msgstr ""
 
 #: share/web/templates/__jifty/halo:119
@@ -24,7 +55,11 @@
 msgid "%1 seconds"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/index.html:49
+#: lib/Jifty/Web/Form/Field.pm:517
+msgid "@{[$self->current_value]}"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/index.html:19
 msgid "Actions"
 msgstr ""
 
@@ -36,35 +71,43 @@
 msgid "Alert"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Create.pm:74 lib/Jifty/Action/Record/Create.pm~:74
+#: lib/Jifty/Action/Record/Create.pm:82
 msgid "An error occurred.  Try again later"
 msgstr ""
 
+#: lib/Jifty/Action/Record/Search.pm:105
+msgid "Any field contains"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/fragments/list/update:28
+msgid "Cancel"
+msgstr ""
+
 #: share/web/templates/helpers/calendar.html:4
 msgid "Close window"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Create.pm:75 lib/Jifty/Action/Record/Create.pm~:75
+#: share/web/templates/__jifty/admin/fragments/list/view:29
+msgid "Confirm delete?"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Create.pm:81
 #. (ref($record)
 msgid "Create of %1 failed: %2"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Create.pm:97 lib/Jifty/Action/Record/Create.pm~:97
+#: lib/Jifty/Action/Record/Create.pm:105
 msgid "Created"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/index.html:34
+#: share/web/templates/__jifty/admin/index.html:3
 msgid "Database Administration"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Delete.pm:75
+#: lib/Jifty/Action/Record/Delete.pm:76
 msgid "Deleted"
 msgstr ""
 
-#: lib/Jifty/Web.pm:769 lib/Jifty/Web.pm~:768
-msgid "Dismiss"
-msgstr ""
-
 #: lib/Jifty/Mason/Halo.pm:104
 #. ($comp_name)
 msgid "Edit %1"
@@ -74,8 +117,8 @@
 msgid "Go back home..."
 msgstr ""
 
-#: share/web/templates/_elements/sidebar:3
-#. (Jifty->web->current_user->user_object->name)
+#: share/web/templates/_elements/sidebar:5
+#. ($u->$method()
 msgid "Hiya, %1."
 msgstr ""
 
@@ -91,11 +134,15 @@
 msgid "Loading..."
 msgstr ""
 
-#: share/web/templates/__jifty/admin/index.html:40
+#: share/web/templates/__jifty/admin/index.html:9
 msgid "Models"
 msgstr ""
 
-#: lib/Jifty/Web.pm:273 lib/Jifty/Web.pm~:273
+#: lib/Jifty/Action/Record/Search.pm:106
+msgid "No field contains"
+msgstr ""
+
+#: lib/Jifty/Web.pm:297
 msgid "No request to handle"
 msgstr ""
 
@@ -103,18 +150,18 @@
 msgid "Online Documentation"
 msgstr ""
 
-#: lib/Jifty/Record.pm:223 lib/Jifty/Record.pm:282 lib/Jifty/Record.pm:61
+#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:319 lib/Jifty/Record.pm:60
 msgid "Permission denied"
 msgstr ""
 
-#: lib/Jifty/Record.pm:84
-msgid "Record created"
-msgstr ""
-
 #: share/web/templates/__jifty/halo:111
 msgid "SQL Statements"
 msgstr ""
 
+#: share/web/templates/__jifty/admin/fragments/list/update:18
+msgid "Save"
+msgstr ""
+
 #: share/web/templates/__jifty/online_docs/content.html:50
 msgid "Schema"
 msgstr ""
@@ -127,11 +174,27 @@
 msgid "Table of Contents"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/index.html:36
+#: lib/Jifty/Action.pm:874
+msgid "That doesn't look like a correct value"
+msgstr ""
+
+#: lib/Jifty/Action/Record.pm:247
+msgid "That doesn't look right, but I don't know why"
+msgstr ""
+
+#: lib/Jifty/Action/Record.pm:179
+msgid "The passwords you typed didn't match each other"
+msgstr ""
+
+#: lib/Jifty/Web.pm:360
+msgid "There was an error completing the request.  Please try again later."
+msgstr ""
+
+#: share/web/templates/__jifty/admin/index.html:5
 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 ""
 
-#: lib/Jifty/Action/Record/Update.pm:152
+#: lib/Jifty/Action/Record/Update.pm:156
 msgid "Updated"
 msgstr ""
 
@@ -143,6 +206,10 @@
 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:861
+msgid "You need to fill in this field"
+msgstr ""
+
 #: share/web/templates/index.html:3
 #. ('http://hdl.loc.gov/loc.pnp/cph.3c13461')
 msgid "You said you wanted a pony. (Source %1)"

Modified: jifty/trunk/share/po/zh_cn.po
==============================================================================
--- jifty/trunk/share/po/zh_cn.po	(original)
+++ jifty/trunk/share/po/zh_cn.po	Thu Nov 30 21:45:40 2006
@@ -9,17 +9,56 @@
 "POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Audrey Tang <audreyt at audreyt.org>\n"
-"Language-Team: simplified Chinese\n"
+"Language-Team: Traditional Chinese\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#. ($_->[3])
+#: lib/Jifty/Action/Record/Search.pm:96
+#. ($label)
+msgid "%1 after"
+msgstr "%1 晚于"
+
+#: lib/Jifty/Action/Record/Search.pm:97
+#. ($label)
+msgid "%1 before"
+msgstr "%1 早于"
+
+#: lib/Jifty/Action/Record/Search.pm:93
+#. ($label)
+msgid "%1 contains"
+msgstr "%1 包含"
+
+#: lib/Jifty/Action/Record/Search.pm:100
+#. ($label)
+msgid "%1 greater than"
+msgstr "%1 大于"
+
+#: lib/Jifty/Action/Record/Search.pm:89
+#. ($label)
+msgid "%1 is not"
+msgstr "%1 不等于"
+
+#: lib/Jifty/Action/Record/Search.pm:94
+#. ($label)
+msgid "%1 lacks"
+msgstr "%1 不包含"
+
+#: lib/Jifty/Action/Record/Search.pm:101
+#. ($label)
+msgid "%1 less than"
+msgstr "%1 小于"
+
 #: share/web/templates/__jifty/halo:119
+#. ($_->[3])
 msgid "%1 seconds"
 msgstr "%1 秒"
 
-#: share/web/templates/__jifty/admin/index.html:49
+#: lib/Jifty/Web/Form/Field.pm:517
+msgid "@{[$self->current_value]}"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/index.html:19
 msgid "Actions"
 msgstr "操作"
 
@@ -31,37 +70,49 @@
 msgid "Alert"
 msgstr "请注意"
 
-#: lib/Jifty/Action/Record/Create.pm:74 lib/Jifty/Action/Record/Create.pm~:74
+#: lib/Jifty/Action/Record/Create.pm:82
 msgid "An error occurred.  Try again later"
 msgstr "系统无法执行此项操作, 请稍后再试"
 
+#: lib/Jifty/Action/Record/Search.pm:105
+msgid "Any field contains"
+msgstr "任意字段包含"
+
+#: share/web/templates/__jifty/admin/fragments/list/update:28
+msgid "Cancel"
+msgstr "取消"
+
 #: share/web/templates/helpers/calendar.html:4
 msgid "Close window"
 msgstr "关闭窗口"
 
+#: share/web/templates/__jifty/admin/fragments/list/view:29
+msgid "Confirm delete?"
+msgstr "确定要删除?"
+
+#: lib/Jifty/Action/Record/Create.pm:81
 #. (ref($record)
-#: lib/Jifty/Action/Record/Create.pm:75 lib/Jifty/Action/Record/Create.pm~:75
 msgid "Create of %1 failed: %2"
 msgstr "无法建立 %1: %2"
 
-#: lib/Jifty/Action/Record/Create.pm:97 lib/Jifty/Action/Record/Create.pm~:97
+#: lib/Jifty/Action/Record/Create.pm:105
 msgid "Created"
 msgstr "成功建立项目."
 
-#: share/web/templates/__jifty/admin/index.html:34
+#: share/web/templates/__jifty/admin/index.html:3
 msgid "Database Administration"
 msgstr "数据瘤管理"
 
-#: lib/Jifty/Action/Record/Delete.pm:75
+#: lib/Jifty/Action/Record/Delete.pm:76
 msgid "Deleted"
 msgstr "成功删除项目."
 
-#: lib/Jifty/Web.pm:769 lib/Jifty/Web.pm~:768
+#:
 msgid "Dismiss"
 msgstr "关闭"
 
-#. ($comp_name)
 #: lib/Jifty/Mason/Halo.pm:104
+#. ($comp_name)
 msgid "Edit %1"
 msgstr "编辑 %1"
 
@@ -69,8 +120,8 @@
 msgid "Go back home..."
 msgstr "回首页..."
 
-#. (Jifty->web->current_user->user_object->name)
-#: share/web/templates/_elements/sidebar:3
+#: share/web/templates/_elements/sidebar:5
+#. ($u->$method()
 msgid "Hiya, %1."
 msgstr "%1 您好."
 
@@ -86,11 +137,15 @@
 msgid "Loading..."
 msgstr "请稍候..."
 
-#: share/web/templates/__jifty/admin/index.html:40
+#: share/web/templates/__jifty/admin/index.html:9
 msgid "Models"
 msgstr "模型"
 
-#: lib/Jifty/Web.pm:273 lib/Jifty/Web.pm~:273
+#: lib/Jifty/Action/Record/Search.pm:106
+msgid "No field contains"
+msgstr "没有字段包含"
+
+#: lib/Jifty/Web.pm:297
 msgid "No request to handle"
 msgstr "没有可处理的要求"
 
@@ -98,11 +153,11 @@
 msgid "Online Documentation"
 msgstr "线上文件"
 
-#: lib/Jifty/Record.pm:223 lib/Jifty/Record.pm:282 lib/Jifty/Record.pm:61
+#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:319 lib/Jifty/Record.pm:60
 msgid "Permission denied"
 msgstr "权限不足."
 
-#: lib/Jifty/Record.pm:84
+#:
 msgid "Record created"
 msgstr "成功建立项目."
 
@@ -110,6 +165,10 @@
 msgid "SQL Statements"
 msgstr "SQL 陈述式"
 
+#: share/web/templates/__jifty/admin/fragments/list/update:18
+msgid "Save"
+msgstr "储存"
+
 #: share/web/templates/__jifty/online_docs/content.html:50
 msgid "Schema"
 msgstr "纲要"
@@ -118,19 +177,31 @@
 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
+#: share/web/templates/__jifty/online_docs/index.html:16 share/web/templates/__jifty/online_docs/index.html:18
 msgid "Table of Contents"
 msgstr "目录"
 
-#: share/web/templates/__jifty/admin/index.html:36
-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."
+#: lib/Jifty/Action.pm:874
+msgid "That doesn't look like a correct value"
+msgstr "字段格式错误."
+
+#: lib/Jifty/Action/Record.pm:247
+msgid "That doesn't look right, but I don't know why"
+msgstr "字段内容错误."
+
+#: lib/Jifty/Action/Record.pm:179
+msgid "The passwords you typed didn't match each other"
+msgstr "两组口令不符合."
+
+#: lib/Jifty/Web.pm:360
+msgid "There was an error completing the request.  Please try again later."
+msgstr "系统执行错误, 请稍候再试."
+
+#: share/web/templates/__jifty/admin/index.html:5
+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 "您可利用此界面来管理数据库的内容. 请点选表格名称, 进行增删及编辑."
 
-#: lib/Jifty/Action/Record/Update.pm:152
+#: lib/Jifty/Action/Record/Update.pm:156
 msgid "Updated"
 msgstr "成功更新项目."
 
@@ -139,13 +210,14 @@
 msgstr "欢迎光临您崭新的 Jifty 应用程序"
 
 #: 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."
+msgid "You got to a page that we don't think exists.  Anyway, the software has logged this error. Sorry about this."
 msgstr "抱歉, 此页面不存在, 系统已留下纪录."
 
-#. ('http://hdl.loc.gov/loc.pnp/cph.3c13461')
+#: lib/Jifty/Action.pm:861
+msgid "You need to fill in this field"
+msgstr "此字段不能留空."
+
 #: 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)"
-

Modified: jifty/trunk/share/po/zh_tw.po
==============================================================================
--- jifty/trunk/share/po/zh_tw.po	(original)
+++ jifty/trunk/share/po/zh_tw.po	Thu Nov 30 21:45:40 2006
@@ -14,12 +14,51 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#. ($_->[3])
+#: lib/Jifty/Action/Record/Search.pm:96
+#. ($label)
+msgid "%1 after"
+msgstr "%1 晚於"
+
+#: lib/Jifty/Action/Record/Search.pm:97
+#. ($label)
+msgid "%1 before"
+msgstr "%1 æ—©æ–¼"
+
+#: lib/Jifty/Action/Record/Search.pm:93
+#. ($label)
+msgid "%1 contains"
+msgstr "%1 包含"
+
+#: lib/Jifty/Action/Record/Search.pm:100
+#. ($label)
+msgid "%1 greater than"
+msgstr "%1 大於"
+
+#: lib/Jifty/Action/Record/Search.pm:89
+#. ($label)
+msgid "%1 is not"
+msgstr "%1 不等於"
+
+#: lib/Jifty/Action/Record/Search.pm:94
+#. ($label)
+msgid "%1 lacks"
+msgstr "%1 不包含"
+
+#: lib/Jifty/Action/Record/Search.pm:101
+#. ($label)
+msgid "%1 less than"
+msgstr "%1 小於"
+
 #: share/web/templates/__jifty/halo:119
+#. ($_->[3])
 msgid "%1 seconds"
 msgstr "%1 秒"
 
-#: share/web/templates/__jifty/admin/index.html:49
+#: lib/Jifty/Web/Form/Field.pm:517
+msgid "@{[$self->current_value]}"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/index.html:19
 msgid "Actions"
 msgstr "操作"
 
@@ -31,37 +70,49 @@
 msgid "Alert"
 msgstr "請注意"
 
-#: lib/Jifty/Action/Record/Create.pm:74 lib/Jifty/Action/Record/Create.pm~:74
+#: lib/Jifty/Action/Record/Create.pm:82
 msgid "An error occurred.  Try again later"
 msgstr "系統無法執行此項操作, 請稍後再試"
 
+#: lib/Jifty/Action/Record/Search.pm:105
+msgid "Any field contains"
+msgstr "任意欄位包含"
+
+#: share/web/templates/__jifty/admin/fragments/list/update:28
+msgid "Cancel"
+msgstr "取消"
+
 #: share/web/templates/helpers/calendar.html:4
 msgid "Close window"
 msgstr "關閉視窗"
 
+#: share/web/templates/__jifty/admin/fragments/list/view:29
+msgid "Confirm delete?"
+msgstr "確定要刪除?"
+
+#: lib/Jifty/Action/Record/Create.pm:81
 #. (ref($record)
-#: lib/Jifty/Action/Record/Create.pm:75 lib/Jifty/Action/Record/Create.pm~:75
 msgid "Create of %1 failed: %2"
 msgstr "無法建立 %1: %2"
 
-#: lib/Jifty/Action/Record/Create.pm:97 lib/Jifty/Action/Record/Create.pm~:97
+#: lib/Jifty/Action/Record/Create.pm:105
 msgid "Created"
 msgstr "成功建立項目."
 
-#: share/web/templates/__jifty/admin/index.html:34
+#: share/web/templates/__jifty/admin/index.html:3
 msgid "Database Administration"
 msgstr "資料瘤管理"
 
-#: lib/Jifty/Action/Record/Delete.pm:75
+#: lib/Jifty/Action/Record/Delete.pm:76
 msgid "Deleted"
 msgstr "成功刪除項目."
 
-#: lib/Jifty/Web.pm:769 lib/Jifty/Web.pm~:768
+#:
 msgid "Dismiss"
 msgstr "關閉"
 
-#. ($comp_name)
 #: lib/Jifty/Mason/Halo.pm:104
+#. ($comp_name)
 msgid "Edit %1"
 msgstr "編輯 %1"
 
@@ -69,8 +120,8 @@
 msgid "Go back home..."
 msgstr "回首頁..."
 
-#. (Jifty->web->current_user->user_object->name)
-#: share/web/templates/_elements/sidebar:3
+#: share/web/templates/_elements/sidebar:5
+#. ($u->$method()
 msgid "Hiya, %1."
 msgstr "%1 您好."
 
@@ -86,11 +137,15 @@
 msgid "Loading..."
 msgstr "請稍候..."
 
-#: share/web/templates/__jifty/admin/index.html:40
+#: share/web/templates/__jifty/admin/index.html:9
 msgid "Models"
 msgstr "模型"
 
-#: lib/Jifty/Web.pm:273 lib/Jifty/Web.pm~:273
+#: lib/Jifty/Action/Record/Search.pm:106
+msgid "No field contains"
+msgstr "沒有欄位包含"
+
+#: lib/Jifty/Web.pm:297
 msgid "No request to handle"
 msgstr "沒有可處理的要求"
 
@@ -98,11 +153,11 @@
 msgid "Online Documentation"
 msgstr "線上文件"
 
-#: lib/Jifty/Record.pm:223 lib/Jifty/Record.pm:282 lib/Jifty/Record.pm:61
+#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:319 lib/Jifty/Record.pm:60
 msgid "Permission denied"
 msgstr "權限不足."
 
-#: lib/Jifty/Record.pm:84
+#:
 msgid "Record created"
 msgstr "成功建立項目."
 
@@ -110,6 +165,10 @@
 msgid "SQL Statements"
 msgstr "SQL 陳述式"
 
+#: share/web/templates/__jifty/admin/fragments/list/update:18
+msgid "Save"
+msgstr "儲存"
+
 #: share/web/templates/__jifty/online_docs/content.html:50
 msgid "Schema"
 msgstr "綱要"
@@ -118,19 +177,31 @@
 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
+#: share/web/templates/__jifty/online_docs/index.html:16 share/web/templates/__jifty/online_docs/index.html:18
 msgid "Table of Contents"
 msgstr "目錄"
 
-#: share/web/templates/__jifty/admin/index.html:36
-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."
+#: lib/Jifty/Action.pm:874
+msgid "That doesn't look like a correct value"
+msgstr "欄位格式錯誤."
+
+#: lib/Jifty/Action/Record.pm:247
+msgid "That doesn't look right, but I don't know why"
+msgstr "欄位內容錯誤."
+
+#: lib/Jifty/Action/Record.pm:179
+msgid "The passwords you typed didn't match each other"
+msgstr "兩組密碼不符合."
+
+#: lib/Jifty/Web.pm:360
+msgid "There was an error completing the request.  Please try again later."
+msgstr "系統執行錯誤, 請稍候再試."
+
+#: share/web/templates/__jifty/admin/index.html:5
+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 "您可利用此界面來管理資料庫的內容. 請點選表格名稱, 進行增刪及編輯."
 
-#: lib/Jifty/Action/Record/Update.pm:152
+#: lib/Jifty/Action/Record/Update.pm:156
 msgid "Updated"
 msgstr "成功更新項目."
 
@@ -139,13 +210,14 @@
 msgstr "歡迎光臨您嶄新的 Jifty 應用程式"
 
 #: 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."
+msgid "You got to a page that we don't think exists.  Anyway, the software has logged this error. Sorry about this."
 msgstr "抱歉, 此頁面不存在, 系統已留下紀錄."
 
-#. ('http://hdl.loc.gov/loc.pnp/cph.3c13461')
+#: lib/Jifty/Action.pm:861
+msgid "You need to fill in this field"
+msgstr "此欄位不能留空."
+
 #: 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)"
-


More information about the Jifty-commit mailing list