[Jifty-commit] r2372 - in jifty/trunk/share: web/templates/__jifty/admin/fragments/list

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Dec 11 04:57:24 EST 2006


Author: yves
Date: Mon Dec 11 04:57:24 2006
New Revision: 2372

Modified:
   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
   jifty/trunk/share/web/templates/__jifty/admin/fragments/list/list

Log:
Admin interface: cosmetic changes


Modified: jifty/trunk/share/po/en.po
==============================================================================
--- jifty/trunk/share/po/en.po	(original)
+++ jifty/trunk/share/po/en.po	Mon Dec 11 04:57:24 2006
@@ -19,12 +19,12 @@
 msgid "!=>< allowed"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:115 lib/Jifty/z:26
+#: lib/Jifty/Action/Record/Search.pm:115
 #. ($label)
 msgid "%1 after"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:116 lib/Jifty/z:27
+#: lib/Jifty/Action/Record/Search.pm:116
 #. ($label)
 msgid "%1 before"
 msgstr ""
@@ -34,12 +34,17 @@
 msgid "%1 contains"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:123 lib/Jifty/z:35
+#: share/web/templates/__jifty/admin/fragments/list/list:87
+#. ($collection-> count)
+msgid "%1 entries"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:123
 #. ($label)
 msgid "%1 greater or equal to"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:121 lib/Jifty/z:32
+#: lib/Jifty/Action/Record/Search.pm:121
 #. ($label)
 msgid "%1 greater than"
 msgstr ""
@@ -54,18 +59,19 @@
 msgid "%1 lacks"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:124 lib/Jifty/z:36
+#: lib/Jifty/Action/Record/Search.pm:124
 #. ($label)
 msgid "%1 less or equal to"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:122 lib/Jifty/z:33
+#: lib/Jifty/Action/Record/Search.pm:122
 #. ($label)
 msgid "%1 less than"
 msgstr ""
 
-#: share/web/templates/__jifty/error/mason_internal_error:30 share/web/templates/__jifty/error/mason_internal_error:34 share/web/templates/__jifty/error/mason_internal_error:38
+#: share/web/templates/__jifty/error/mason_internal_error:31 share/web/templates/__jifty/error/mason_internal_error:35 share/web/templates/__jifty/error/mason_internal_error:39
 #. ($path, $line)
+#. ($file, $line)
 msgid "%1 line %2"
 msgstr ""
 
@@ -74,12 +80,12 @@
 msgid "%1 seconds"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:117 lib/Jifty/z:28
+#: lib/Jifty/Action/Record/Search.pm:117
 #. ($label)
 msgid "%1 since"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:118 lib/Jifty/z:29
+#: lib/Jifty/Action/Record/Search.pm:118
 #. ($label)
 msgid "%1 until"
 msgstr ""
@@ -125,7 +131,7 @@
 msgid "Calendar"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/update:28
+#: share/web/templates/__jifty/admin/fragments/list/update:31
 msgid "Cancel"
 msgstr ""
 
@@ -133,11 +139,11 @@
 msgid "Close window"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/view:29
+#: share/web/templates/__jifty/admin/fragments/list/view:31
 msgid "Confirm delete?"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/new_item:17
+#: share/web/templates/__jifty/admin/fragments/list/new_item:25
 msgid "Create"
 msgstr ""
 
@@ -154,7 +160,7 @@
 msgid "Database Administration"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/view:26
+#: share/web/templates/__jifty/admin/fragments/list/view:29
 msgid "Delete"
 msgstr ""
 
@@ -162,7 +168,7 @@
 msgid "Deleted"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/view:37
+#: share/web/templates/__jifty/admin/fragments/list/view:40
 msgid "Edit"
 msgstr ""
 
@@ -200,7 +206,7 @@
 msgid "Models"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/list:73
+#: share/web/templates/__jifty/admin/fragments/list/list:113
 msgid "Next Page"
 msgstr ""
 
@@ -208,6 +214,10 @@
 msgid "No field contains"
 msgstr ""
 
+#: share/web/templates/__jifty/admin/fragments/list/list:85
+msgid "No items found"
+msgstr ""
+
 #: lib/Jifty/Web.pm:297
 msgid "No request to handle"
 msgstr ""
@@ -216,7 +226,7 @@
 msgid "Online Documentation"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/list:45
+#: share/web/templates/__jifty/admin/fragments/list/list:80
 #. ($page, $collection->pager->last_page)
 msgid "Page %1 of %2"
 msgstr ""
@@ -225,7 +235,7 @@
 msgid "Permission denied"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/list:68
+#: share/web/templates/__jifty/admin/fragments/list/list:108
 msgid "Previous Page"
 msgstr ""
 
@@ -237,7 +247,7 @@
 msgid "SQL Statements"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/update:18
+#: share/web/templates/__jifty/admin/fragments/list/update:21
 msgid "Save"
 msgstr ""
 
@@ -257,7 +267,7 @@
 msgid "Table of Contents"
 msgstr ""
 
-#: lib/Jifty/Action.pm:874
+#: lib/Jifty/Action.pm:873
 msgid "That doesn't look like a correct value"
 msgstr ""
 
@@ -281,7 +291,7 @@
 msgid "To disable this administrative console, add \"AdminMode: 0\" under the \"framework:\" settings in the config file (etc/config.yml)."
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/list:38
+#: share/web/templates/__jifty/admin/fragments/list/list:72
 msgid "Toggle search"
 msgstr ""
 
@@ -301,7 +311,7 @@
 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
+#: lib/Jifty/Action.pm:860
 msgid "You need to fill in this field"
 msgstr ""
 
@@ -313,3 +323,11 @@
 #: share/web/templates/_elements/sidebar:7
 msgid "You're not currently signed in."
 msgstr ""
+
+#: share/web/templates/__jifty/admin/fragments/list/header:22
+msgid "asc"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/fragments/list/header:41
+msgid "desc"
+msgstr ""

Modified: jifty/trunk/share/po/fr.po
==============================================================================
--- jifty/trunk/share/po/fr.po	(original)
+++ jifty/trunk/share/po/fr.po	Mon Dec 11 04:57:24 2006
@@ -19,12 +19,12 @@
 msgid "!=>< allowed"
 msgstr "!=>< autorisés"
 
-#: lib/Jifty/Action/Record/Search.pm:115 lib/Jifty/z:26
+#: lib/Jifty/Action/Record/Search.pm:115
 #. ($label)
 msgid "%1 after"
 msgstr "%1 aprés"
 
-#: lib/Jifty/Action/Record/Search.pm:116 lib/Jifty/z:27
+#: lib/Jifty/Action/Record/Search.pm:116
 #. ($label)
 msgid "%1 before"
 msgstr "%1 avant"
@@ -34,12 +34,17 @@
 msgid "%1 contains"
 msgstr "%1 contient"
 
-#: lib/Jifty/Action/Record/Search.pm:123 lib/Jifty/z:35
+#: share/web/templates/__jifty/admin/fragments/list/list:87
+#. ($collection-> count)
+msgid "%1 entries"
+msgstr "%1 enregistements"
+
+#: lib/Jifty/Action/Record/Search.pm:123
 #. ($label)
 msgid "%1 greater or equal to"
 msgstr "%1 supérieur ou égal à"
 
-#: lib/Jifty/Action/Record/Search.pm:121 lib/Jifty/z:32
+#: lib/Jifty/Action/Record/Search.pm:121
 #. ($label)
 msgid "%1 greater than"
 msgstr "%1 supérieur à"
@@ -54,18 +59,19 @@
 msgid "%1 lacks"
 msgstr "%1 ne contient pas"
 
-#: lib/Jifty/Action/Record/Search.pm:124 lib/Jifty/z:36
+#: lib/Jifty/Action/Record/Search.pm:124
 #. ($label)
 msgid "%1 less or equal to"
 msgstr "%1 inférieur ou égal"
 
-#: lib/Jifty/Action/Record/Search.pm:122 lib/Jifty/z:33
+#: lib/Jifty/Action/Record/Search.pm:122
 #. ($label)
 msgid "%1 less than"
 msgstr "%1 inférieur à"
 
-#: share/web/templates/__jifty/error/mason_internal_error:30 share/web/templates/__jifty/error/mason_internal_error:34 share/web/templates/__jifty/error/mason_internal_error:38
+#: share/web/templates/__jifty/error/mason_internal_error:31 share/web/templates/__jifty/error/mason_internal_error:35 share/web/templates/__jifty/error/mason_internal_error:39
 #. ($path, $line)
+#. ($file, $line)
 msgid "%1 line %2"
 msgstr "%1 ligne %2"
 
@@ -74,12 +80,12 @@
 msgid "%1 seconds"
 msgstr "%1 secondes"
 
-#: lib/Jifty/Action/Record/Search.pm:117 lib/Jifty/z:28
+#: lib/Jifty/Action/Record/Search.pm:117
 #. ($label)
 msgid "%1 since"
 msgstr "%1 depuis le"
 
-#: lib/Jifty/Action/Record/Search.pm:118 lib/Jifty/z:29
+#: lib/Jifty/Action/Record/Search.pm:118
 #. ($label)
 msgid "%1 until"
 msgstr "%1 depuis"
@@ -125,7 +131,7 @@
 msgid "Calendar"
 msgstr "Calendrier"
 
-#: share/web/templates/__jifty/admin/fragments/list/update:28
+#: share/web/templates/__jifty/admin/fragments/list/update:31
 msgid "Cancel"
 msgstr "Annuler"
 
@@ -133,11 +139,11 @@
 msgid "Close window"
 msgstr "Fermer la fenêtre"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:29
+#: share/web/templates/__jifty/admin/fragments/list/view:31
 msgid "Confirm delete?"
 msgstr "Confirmer l'effacement ?"
 
-#: share/web/templates/__jifty/admin/fragments/list/new_item:17
+#: share/web/templates/__jifty/admin/fragments/list/new_item:25
 msgid "Create"
 msgstr "Enregistrer"
 
@@ -154,7 +160,7 @@
 msgid "Database Administration"
 msgstr "Administration de la Base de Données"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:26
+#: share/web/templates/__jifty/admin/fragments/list/view:29
 msgid "Delete"
 msgstr "Effacer"
 
@@ -162,7 +168,7 @@
 msgid "Deleted"
 msgstr "Effacé"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:37
+#: share/web/templates/__jifty/admin/fragments/list/view:40
 msgid "Edit"
 msgstr "Editer"
 
@@ -200,7 +206,7 @@
 msgid "Models"
 msgstr "Modèles"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:73
+#: share/web/templates/__jifty/admin/fragments/list/list:113
 msgid "Next Page"
 msgstr "Page Suivante"
 
@@ -208,6 +214,10 @@
 msgid "No field contains"
 msgstr "Aucun champs contient"
 
+#: share/web/templates/__jifty/admin/fragments/list/list:85
+msgid "No items found"
+msgstr "Aucun enregistrement"
+
 #: lib/Jifty/Web.pm:297
 msgid "No request to handle"
 msgstr "Aucune requête à traiter"
@@ -216,7 +226,7 @@
 msgid "Online Documentation"
 msgstr "Documentation en ligne"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:45
+#: share/web/templates/__jifty/admin/fragments/list/list:80
 #. ($page, $collection->pager->last_page)
 msgid "Page %1 of %2"
 msgstr "Page %1 / %2"
@@ -225,7 +235,7 @@
 msgid "Permission denied"
 msgstr "Autorisation refusée"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:68
+#: share/web/templates/__jifty/admin/fragments/list/list:108
 msgid "Previous Page"
 msgstr "Page précédente"
 
@@ -241,7 +251,7 @@
 msgid "SQL Statements"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/update:18
+#: share/web/templates/__jifty/admin/fragments/list/update:21
 msgid "Save"
 msgstr "Enregistrer"
 
@@ -261,7 +271,7 @@
 msgid "Table of Contents"
 msgstr "Table des matières"
 
-#: lib/Jifty/Action.pm:874
+#: lib/Jifty/Action.pm:873
 msgid "That doesn't look like a correct value"
 msgstr "Valeur incorecte"
 
@@ -285,7 +295,7 @@
 msgid "To disable this administrative console, add \"AdminMode: 0\" under the \"framework:\" settings in the config file (etc/config.yml)."
 msgstr "Pour désactiver cette console d'administration, ajoutez \"AdminMode: 0\" dans la rubrique \"framework:\" du fichier de configuration (etc/config.yml)."
 
-#: share/web/templates/__jifty/admin/fragments/list/list:38
+#: share/web/templates/__jifty/admin/fragments/list/list:72
 msgid "Toggle search"
 msgstr "Rechercher"
 
@@ -305,7 +315,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:861
+#: lib/Jifty/Action.pm:860
 msgid "You need to fill in this field"
 msgstr "Information obligatoire"
 
@@ -317,3 +327,11 @@
 #: share/web/templates/_elements/sidebar:7
 msgid "You're not currently signed in."
 msgstr "Vous n'êtes pas encore connecté."
+
+#: share/web/templates/__jifty/admin/fragments/list/header:22
+msgid "asc"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/fragments/list/header:41
+msgid "desc"
+msgstr ""

Modified: jifty/trunk/share/po/ja.po
==============================================================================
--- jifty/trunk/share/po/ja.po	(original)
+++ jifty/trunk/share/po/ja.po	Mon Dec 11 04:57:24 2006
@@ -19,12 +19,12 @@
 msgid "!=>< allowed"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:115 lib/Jifty/z:26
+#: lib/Jifty/Action/Record/Search.pm:115
 #. ($label)
 msgid "%1 after"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:116 lib/Jifty/z:27
+#: lib/Jifty/Action/Record/Search.pm:116
 #. ($label)
 msgid "%1 before"
 msgstr ""
@@ -34,12 +34,17 @@
 msgid "%1 contains"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:123 lib/Jifty/z:35
+#: share/web/templates/__jifty/admin/fragments/list/list:87
+#. ($collection-> count)
+msgid "%1 entries"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:123
 #. ($label)
 msgid "%1 greater or equal to"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:121 lib/Jifty/z:32
+#: lib/Jifty/Action/Record/Search.pm:121
 #. ($label)
 msgid "%1 greater than"
 msgstr ""
@@ -54,18 +59,19 @@
 msgid "%1 lacks"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:124 lib/Jifty/z:36
+#: lib/Jifty/Action/Record/Search.pm:124
 #. ($label)
 msgid "%1 less or equal to"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:122 lib/Jifty/z:33
+#: lib/Jifty/Action/Record/Search.pm:122
 #. ($label)
 msgid "%1 less than"
 msgstr ""
 
-#: share/web/templates/__jifty/error/mason_internal_error:30 share/web/templates/__jifty/error/mason_internal_error:34 share/web/templates/__jifty/error/mason_internal_error:38
+#: share/web/templates/__jifty/error/mason_internal_error:31 share/web/templates/__jifty/error/mason_internal_error:35 share/web/templates/__jifty/error/mason_internal_error:39
 #. ($path, $line)
+#. ($file, $line)
 msgid "%1 line %2"
 msgstr ""
 
@@ -74,12 +80,12 @@
 msgid "%1 seconds"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:117 lib/Jifty/z:28
+#: lib/Jifty/Action/Record/Search.pm:117
 #. ($label)
 msgid "%1 since"
 msgstr ""
 
-#: lib/Jifty/Action/Record/Search.pm:118 lib/Jifty/z:29
+#: lib/Jifty/Action/Record/Search.pm:118
 #. ($label)
 msgid "%1 until"
 msgstr ""
@@ -125,7 +131,7 @@
 msgid "Calendar"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/update:28
+#: share/web/templates/__jifty/admin/fragments/list/update:31
 msgid "Cancel"
 msgstr ""
 
@@ -133,11 +139,11 @@
 msgid "Close window"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/view:29
+#: share/web/templates/__jifty/admin/fragments/list/view:31
 msgid "Confirm delete?"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/new_item:17
+#: share/web/templates/__jifty/admin/fragments/list/new_item:25
 msgid "Create"
 msgstr ""
 
@@ -154,7 +160,7 @@
 msgid "Database Administration"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/view:26
+#: share/web/templates/__jifty/admin/fragments/list/view:29
 msgid "Delete"
 msgstr ""
 
@@ -162,7 +168,7 @@
 msgid "Deleted"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/view:37
+#: share/web/templates/__jifty/admin/fragments/list/view:40
 msgid "Edit"
 msgstr ""
 
@@ -200,7 +206,7 @@
 msgid "Models"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/list:73
+#: share/web/templates/__jifty/admin/fragments/list/list:113
 msgid "Next Page"
 msgstr ""
 
@@ -208,6 +214,10 @@
 msgid "No field contains"
 msgstr ""
 
+#: share/web/templates/__jifty/admin/fragments/list/list:85
+msgid "No items found"
+msgstr ""
+
 #: lib/Jifty/Web.pm:297
 msgid "No request to handle"
 msgstr ""
@@ -216,7 +226,7 @@
 msgid "Online Documentation"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/list:45
+#: share/web/templates/__jifty/admin/fragments/list/list:80
 #. ($page, $collection->pager->last_page)
 msgid "Page %1 of %2"
 msgstr ""
@@ -225,7 +235,7 @@
 msgid "Permission denied"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/list:68
+#: share/web/templates/__jifty/admin/fragments/list/list:108
 msgid "Previous Page"
 msgstr ""
 
@@ -237,7 +247,7 @@
 msgid "SQL Statements"
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/update:18
+#: share/web/templates/__jifty/admin/fragments/list/update:21
 msgid "Save"
 msgstr ""
 
@@ -257,7 +267,7 @@
 msgid "Table of Contents"
 msgstr ""
 
-#: lib/Jifty/Action.pm:874
+#: lib/Jifty/Action.pm:873
 msgid "That doesn't look like a correct value"
 msgstr ""
 
@@ -281,7 +291,7 @@
 msgid "To disable this administrative console, add \"AdminMode: 0\" under the \"framework:\" settings in the config file (etc/config.yml)."
 msgstr ""
 
-#: share/web/templates/__jifty/admin/fragments/list/list:38
+#: share/web/templates/__jifty/admin/fragments/list/list:72
 msgid "Toggle search"
 msgstr ""
 
@@ -301,7 +311,7 @@
 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
+#: lib/Jifty/Action.pm:860
 msgid "You need to fill in this field"
 msgstr ""
 
@@ -313,3 +323,11 @@
 #: share/web/templates/_elements/sidebar:7
 msgid "You're not currently signed in."
 msgstr ""
+
+#: share/web/templates/__jifty/admin/fragments/list/header:22
+msgid "asc"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/fragments/list/header:41
+msgid "desc"
+msgstr ""

Modified: jifty/trunk/share/po/zh_cn.po
==============================================================================
--- jifty/trunk/share/po/zh_cn.po	(original)
+++ jifty/trunk/share/po/zh_cn.po	Mon Dec 11 04:57:24 2006
@@ -18,12 +18,12 @@
 msgid "!=>< allowed"
 msgstr "可使用 !=>< 符号"
 
-#: lib/Jifty/Action/Record/Search.pm:115 lib/Jifty/z:26
+#: lib/Jifty/Action/Record/Search.pm:115
 #. ($label)
 msgid "%1 after"
 msgstr "%1 晚于"
 
-#: lib/Jifty/Action/Record/Search.pm:116 lib/Jifty/z:27
+#: lib/Jifty/Action/Record/Search.pm:116
 #. ($label)
 msgid "%1 before"
 msgstr "%1 早于"
@@ -33,12 +33,17 @@
 msgid "%1 contains"
 msgstr "%1 包含"
 
-#: lib/Jifty/Action/Record/Search.pm:123 lib/Jifty/z:35
+#: share/web/templates/__jifty/admin/fragments/list/list:87
+#. ($collection-> count)
+msgid "%1 entries"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:123
 #. ($label)
 msgid "%1 greater or equal to"
 msgstr "%1 至少为"
 
-#: lib/Jifty/Action/Record/Search.pm:121 lib/Jifty/z:32
+#: lib/Jifty/Action/Record/Search.pm:121
 #. ($label)
 msgid "%1 greater than"
 msgstr "%1 大于"
@@ -53,18 +58,19 @@
 msgid "%1 lacks"
 msgstr "%1 不包含"
 
-#: lib/Jifty/Action/Record/Search.pm:124 lib/Jifty/z:36
+#: lib/Jifty/Action/Record/Search.pm:124
 #. ($label)
 msgid "%1 less or equal to"
 msgstr "%1 至多为"
 
-#: lib/Jifty/Action/Record/Search.pm:122 lib/Jifty/z:33
+#: lib/Jifty/Action/Record/Search.pm:122
 #. ($label)
 msgid "%1 less than"
 msgstr "%1 小于"
 
-#: share/web/templates/__jifty/error/mason_internal_error:30 share/web/templates/__jifty/error/mason_internal_error:34 share/web/templates/__jifty/error/mason_internal_error:38
+#: share/web/templates/__jifty/error/mason_internal_error:31 share/web/templates/__jifty/error/mason_internal_error:35 share/web/templates/__jifty/error/mason_internal_error:39
 #. ($path, $line)
+#. ($file, $line)
 msgid "%1 line %2"
 msgstr "%1 第 %2 列"
 
@@ -73,12 +79,12 @@
 msgid "%1 seconds"
 msgstr "%1 秒"
 
-#: lib/Jifty/Action/Record/Search.pm:117 lib/Jifty/z:28
+#: lib/Jifty/Action/Record/Search.pm:117
 #. ($label)
 msgid "%1 since"
 msgstr "%1 自"
 
-#: lib/Jifty/Action/Record/Search.pm:118 lib/Jifty/z:29
+#: lib/Jifty/Action/Record/Search.pm:118
 #. ($label)
 msgid "%1 until"
 msgstr "%1 至"
@@ -124,7 +130,7 @@
 msgid "Calendar"
 msgstr "日历"
 
-#: share/web/templates/__jifty/admin/fragments/list/update:28
+#: share/web/templates/__jifty/admin/fragments/list/update:31
 msgid "Cancel"
 msgstr "取消"
 
@@ -132,11 +138,11 @@
 msgid "Close window"
 msgstr "关闭窗口"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:29
+#: share/web/templates/__jifty/admin/fragments/list/view:31
 msgid "Confirm delete?"
 msgstr "确定要删除?"
 
-#: share/web/templates/__jifty/admin/fragments/list/new_item:17
+#: share/web/templates/__jifty/admin/fragments/list/new_item:25
 msgid "Create"
 msgstr "建立"
 
@@ -153,7 +159,7 @@
 msgid "Database Administration"
 msgstr "数据瘤管理"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:26
+#: share/web/templates/__jifty/admin/fragments/list/view:29
 msgid "Delete"
 msgstr "删除"
 
@@ -165,7 +171,7 @@
 msgid "Dismiss"
 msgstr "关闭"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:37
+#: share/web/templates/__jifty/admin/fragments/list/view:40
 msgid "Edit"
 msgstr "编辑"
 
@@ -203,7 +209,7 @@
 msgid "Models"
 msgstr "模型"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:73
+#: share/web/templates/__jifty/admin/fragments/list/list:113
 msgid "Next Page"
 msgstr "下一页"
 
@@ -211,6 +217,10 @@
 msgid "No field contains"
 msgstr "没有字段包含"
 
+#: share/web/templates/__jifty/admin/fragments/list/list:85
+msgid "No items found"
+msgstr ""
+
 #: lib/Jifty/Web.pm:297
 msgid "No request to handle"
 msgstr "没有可处理的要求"
@@ -219,7 +229,7 @@
 msgid "Online Documentation"
 msgstr "线上文件"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:45
+#: share/web/templates/__jifty/admin/fragments/list/list:80
 #. ($page, $collection->pager->last_page)
 msgid "Page %1 of %2"
 msgstr "第 %1 页, 共 %2 页"
@@ -228,7 +238,7 @@
 msgid "Permission denied"
 msgstr "权限不足."
 
-#: share/web/templates/__jifty/admin/fragments/list/list:68
+#: share/web/templates/__jifty/admin/fragments/list/list:108
 msgid "Previous Page"
 msgstr "上一页"
 
@@ -244,7 +254,7 @@
 msgid "SQL Statements"
 msgstr "SQL 陈述式"
 
-#: share/web/templates/__jifty/admin/fragments/list/update:18
+#: share/web/templates/__jifty/admin/fragments/list/update:21
 msgid "Save"
 msgstr "储存"
 
@@ -264,7 +274,7 @@
 msgid "Table of Contents"
 msgstr "目录"
 
-#: lib/Jifty/Action.pm:874
+#: lib/Jifty/Action.pm:873
 msgid "That doesn't look like a correct value"
 msgstr "字段格式错误."
 
@@ -288,7 +298,7 @@
 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:38
+#: share/web/templates/__jifty/admin/fragments/list/list:72
 msgid "Toggle search"
 msgstr "切换搜寻画面"
 
@@ -308,7 +318,7 @@
 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
+#: lib/Jifty/Action.pm:860
 msgid "You need to fill in this field"
 msgstr "此字段不能留空."
 
@@ -320,3 +330,11 @@
 #: share/web/templates/_elements/sidebar:7
 msgid "You're not currently signed in."
 msgstr "您目前尚未登入."
+
+#: share/web/templates/__jifty/admin/fragments/list/header:22
+msgid "asc"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/fragments/list/header:41
+msgid "desc"
+msgstr ""

Modified: jifty/trunk/share/po/zh_tw.po
==============================================================================
--- jifty/trunk/share/po/zh_tw.po	(original)
+++ jifty/trunk/share/po/zh_tw.po	Mon Dec 11 04:57:24 2006
@@ -18,12 +18,12 @@
 msgid "!=>< allowed"
 msgstr "可使用 !=>< 符號"
 
-#: lib/Jifty/Action/Record/Search.pm:115 lib/Jifty/z:26
+#: lib/Jifty/Action/Record/Search.pm:115
 #. ($label)
 msgid "%1 after"
 msgstr "%1 晚於"
 
-#: lib/Jifty/Action/Record/Search.pm:116 lib/Jifty/z:27
+#: lib/Jifty/Action/Record/Search.pm:116
 #. ($label)
 msgid "%1 before"
 msgstr "%1 æ—©æ–¼"
@@ -33,12 +33,17 @@
 msgid "%1 contains"
 msgstr "%1 包含"
 
-#: lib/Jifty/Action/Record/Search.pm:123 lib/Jifty/z:35
+#: share/web/templates/__jifty/admin/fragments/list/list:87
+#. ($collection-> count)
+msgid "%1 entries"
+msgstr ""
+
+#: lib/Jifty/Action/Record/Search.pm:123
 #. ($label)
 msgid "%1 greater or equal to"
 msgstr "%1 至少為"
 
-#: lib/Jifty/Action/Record/Search.pm:121 lib/Jifty/z:32
+#: lib/Jifty/Action/Record/Search.pm:121
 #. ($label)
 msgid "%1 greater than"
 msgstr "%1 大於"
@@ -53,18 +58,19 @@
 msgid "%1 lacks"
 msgstr "%1 不包含"
 
-#: lib/Jifty/Action/Record/Search.pm:124 lib/Jifty/z:36
+#: lib/Jifty/Action/Record/Search.pm:124
 #. ($label)
 msgid "%1 less or equal to"
 msgstr "%1 至多為"
 
-#: lib/Jifty/Action/Record/Search.pm:122 lib/Jifty/z:33
+#: lib/Jifty/Action/Record/Search.pm:122
 #. ($label)
 msgid "%1 less than"
 msgstr "%1 小於"
 
-#: share/web/templates/__jifty/error/mason_internal_error:30 share/web/templates/__jifty/error/mason_internal_error:34 share/web/templates/__jifty/error/mason_internal_error:38
+#: share/web/templates/__jifty/error/mason_internal_error:31 share/web/templates/__jifty/error/mason_internal_error:35 share/web/templates/__jifty/error/mason_internal_error:39
 #. ($path, $line)
+#. ($file, $line)
 msgid "%1 line %2"
 msgstr "%1 第 %2 列"
 
@@ -73,12 +79,12 @@
 msgid "%1 seconds"
 msgstr "%1 秒"
 
-#: lib/Jifty/Action/Record/Search.pm:117 lib/Jifty/z:28
+#: lib/Jifty/Action/Record/Search.pm:117
 #. ($label)
 msgid "%1 since"
 msgstr "%1 自"
 
-#: lib/Jifty/Action/Record/Search.pm:118 lib/Jifty/z:29
+#: lib/Jifty/Action/Record/Search.pm:118
 #. ($label)
 msgid "%1 until"
 msgstr "%1 至"
@@ -124,7 +130,7 @@
 msgid "Calendar"
 msgstr "日曆"
 
-#: share/web/templates/__jifty/admin/fragments/list/update:28
+#: share/web/templates/__jifty/admin/fragments/list/update:31
 msgid "Cancel"
 msgstr "取消"
 
@@ -132,11 +138,11 @@
 msgid "Close window"
 msgstr "關閉視窗"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:29
+#: share/web/templates/__jifty/admin/fragments/list/view:31
 msgid "Confirm delete?"
 msgstr "確定要刪除?"
 
-#: share/web/templates/__jifty/admin/fragments/list/new_item:17
+#: share/web/templates/__jifty/admin/fragments/list/new_item:25
 msgid "Create"
 msgstr "建立"
 
@@ -153,7 +159,7 @@
 msgid "Database Administration"
 msgstr "資料瘤管理"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:26
+#: share/web/templates/__jifty/admin/fragments/list/view:29
 msgid "Delete"
 msgstr "刪除"
 
@@ -165,7 +171,7 @@
 msgid "Dismiss"
 msgstr "關閉"
 
-#: share/web/templates/__jifty/admin/fragments/list/view:37
+#: share/web/templates/__jifty/admin/fragments/list/view:40
 msgid "Edit"
 msgstr "編輯"
 
@@ -203,7 +209,7 @@
 msgid "Models"
 msgstr "模型"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:73
+#: share/web/templates/__jifty/admin/fragments/list/list:113
 msgid "Next Page"
 msgstr "下一頁"
 
@@ -211,6 +217,10 @@
 msgid "No field contains"
 msgstr "沒有欄位包含"
 
+#: share/web/templates/__jifty/admin/fragments/list/list:85
+msgid "No items found"
+msgstr ""
+
 #: lib/Jifty/Web.pm:297
 msgid "No request to handle"
 msgstr "沒有可處理的要求"
@@ -219,7 +229,7 @@
 msgid "Online Documentation"
 msgstr "線上文件"
 
-#: share/web/templates/__jifty/admin/fragments/list/list:45
+#: share/web/templates/__jifty/admin/fragments/list/list:80
 #. ($page, $collection->pager->last_page)
 msgid "Page %1 of %2"
 msgstr "第 %1 頁, 共 %2 頁"
@@ -228,7 +238,7 @@
 msgid "Permission denied"
 msgstr "權限不足."
 
-#: share/web/templates/__jifty/admin/fragments/list/list:68
+#: share/web/templates/__jifty/admin/fragments/list/list:108
 msgid "Previous Page"
 msgstr "上一頁"
 
@@ -244,7 +254,7 @@
 msgid "SQL Statements"
 msgstr "SQL 陳述式"
 
-#: share/web/templates/__jifty/admin/fragments/list/update:18
+#: share/web/templates/__jifty/admin/fragments/list/update:21
 msgid "Save"
 msgstr "儲存"
 
@@ -264,7 +274,7 @@
 msgid "Table of Contents"
 msgstr "目錄"
 
-#: lib/Jifty/Action.pm:874
+#: lib/Jifty/Action.pm:873
 msgid "That doesn't look like a correct value"
 msgstr "欄位格式錯誤."
 
@@ -288,7 +298,7 @@
 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:38
+#: share/web/templates/__jifty/admin/fragments/list/list:72
 msgid "Toggle search"
 msgstr "切換搜尋畫面"
 
@@ -308,7 +318,7 @@
 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
+#: lib/Jifty/Action.pm:860
 msgid "You need to fill in this field"
 msgstr "此欄位不能留空."
 
@@ -320,3 +330,11 @@
 #: share/web/templates/_elements/sidebar:7
 msgid "You're not currently signed in."
 msgstr "您目前尚未登入."
+
+#: share/web/templates/__jifty/admin/fragments/list/header:22
+msgid "asc"
+msgstr ""
+
+#: share/web/templates/__jifty/admin/fragments/list/header:41
+msgid "desc"
+msgstr ""

Modified: jifty/trunk/share/web/templates/__jifty/admin/fragments/list/list
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/admin/fragments/list/list	(original)
+++ jifty/trunk/share/web/templates/__jifty/admin/fragments/list/list	Mon Dec 11 04:57:24 2006
@@ -15,6 +15,7 @@
 
 limit_field, limit_val allow add to your sql query 
  ... WHERE $limit_field = $limit_val
+so you can make "sub views" on a table limited by limit_field / limit_val
 
 </%doc>
 <%args>
@@ -79,13 +80,15 @@
     <span class="page-count"><%_('Page %1 of %2', $page, $collection->pager->last_page) %></span>   
 % }
 
+<div class="list">
 % if ($collection->pager->total_entries == 0) {
-  No items found
+ <% _('No items found') %>
+% } else {
+  <% _('%1 entries', $collection-> count) %> 
+  <& $list_path.'header', object_type => $object_type, list_path => $list_path, 
+    mask_field => $limit_field, mask_val => $limit_val, sort_by => $sort_by, order => $order &>
 % }
 
-<div class="list">
-<& $list_path.'header', object_type => $object_type, list_path => $list_path, 
-    mask_field => $limit_field, mask_val => $limit_val, sort_by => $sort_by, order => $order &>
 <%perl>
 while ( my $item = $collection->next ) {
     Jifty->web->region(


More information about the Jifty-commit mailing list