[Jifty-commit] r2762 - in jifty/trunk/share: web/templates/__jifty
web/templates/_elements
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Feb 8 02:36:22 EST 2007
Author: audreyt
Date: Thu Feb 8 02:36:21 2007
New Revision: 2762
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/halo
jifty/trunk/share/web/templates/_elements/nav
Log:
* I18N and zh-* L10N for menu and halo.
Modified: jifty/trunk/share/po/en.po
==============================================================================
--- jifty/trunk/share/po/en.po (original)
+++ jifty/trunk/share/po/en.po Thu Feb 8 02:36:21 2007
@@ -94,7 +94,7 @@
msgid "(any)"
msgstr ""
-#: lib/Jifty/Web/Form/Field.pm:549
+#: lib/Jifty/Web/Form/.Field.pm.swp:44 lib/Jifty/Web/Form/Field.pm:549
msgid "@{[$self->current_value]}"
msgstr ""
@@ -102,6 +102,10 @@
msgid "Actions"
msgstr ""
+#: share/web/templates/_elements/nav:5
+msgid "Administration"
+msgstr ""
+
#: share/web/templates/_elements/wrapper:11
msgid "Administration mode is enabled."
msgstr ""
@@ -126,6 +130,10 @@
msgid "Back to the application"
msgstr ""
+#: share/web/templates/__jifty/halo:117
+msgid "Bindings"
+msgstr ""
+
#: share/web/templates/helpers/calendar.html:4
#. (_ &><body class="calpopup"><a href="#" onclick="window.close()
msgid "Calendar"
@@ -135,6 +143,10 @@
msgid "Cancel"
msgstr ""
+#: share/web/templates/__jifty/halo:81
+msgid "Children"
+msgstr ""
+
#: share/web/templates/helpers/calendar.html:4
msgid "Close window"
msgstr ""
@@ -172,7 +184,7 @@
msgid "Done?"
msgstr ""
-#: share/web/templates/__jifty/admin/fragments/list/view:40
+#: share/web/templates/__jifty/admin/fragments/list/view:40 share/web/templates/__jifty/halo:20
msgid "Edit"
msgstr ""
@@ -190,6 +202,10 @@
msgid "Hiya, %1."
msgstr ""
+#: share/web/templates/_elements/nav:3
+msgid "Home"
+msgstr ""
+
#: share/web/templates/__jifty/admin/index.html:1
msgid "Jifty Administrative Console"
msgstr ""
@@ -235,7 +251,7 @@
msgid "No items found"
msgstr ""
-#: lib/Jifty/Web.pm:299
+#: lib/Jifty/Web.pm:300
msgid "No request to handle"
msgstr ""
@@ -243,12 +259,24 @@
msgid "Online Documentation"
msgstr ""
+#: share/web/templates/_elements/nav:6
+msgid "Online docs"
+msgstr ""
+
#: share/web/templates/__jifty/admin/fragments/list/list:80
#. ($page, $collection->pager->last_page)
msgid "Page %1 of %2"
msgstr ""
-#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:319 lib/Jifty/Record.pm:60
+#: share/web/templates/__jifty/halo:1
+msgid "Page info"
+msgstr ""
+
+#: share/web/templates/__jifty/halo:72
+msgid "Parent"
+msgstr ""
+
+#: lib/Jifty/Record.pm:264 lib/Jifty/Record.pm:343 lib/Jifty/Record.pm:68
msgid "Permission denied"
msgstr ""
@@ -256,6 +284,11 @@
msgid "Previous Page"
msgstr ""
+#: share/web/templates/__jifty/halo:69
+#. ($frame->{'render_time'})
+msgid "Rendered in %1s"
+msgstr ""
+
#: share/web/templates/__jifty/admin/action/dhandler:20
msgid "Run the action"
msgstr ""
@@ -296,7 +329,7 @@
msgid "The passwords you typed didn't match each other"
msgstr ""
-#: lib/Jifty/Web.pm:362
+#: lib/Jifty/Web.pm:363
msgid "There was an error completing the request. Please try again later."
msgstr ""
@@ -320,6 +353,10 @@
msgid "Updated"
msgstr ""
+#: share/web/templates/__jifty/halo:93
+msgid "Variables"
+msgstr ""
+
#: share/web/templates/index.html:1
msgid "Welcome to your new Jifty application"
msgstr ""
@@ -348,3 +385,11 @@
#: share/web/templates/__jifty/admin/fragments/list/header:41
msgid "desc"
msgstr ""
+
+#: lib/Jifty/Manual/PageRegions.pod:188
+msgid "text of the link"
+msgstr ""
+
+#: lib/Jifty/Manual/PageRegions.pod:225
+msgid "text of the link that hides"
+msgstr ""
Modified: jifty/trunk/share/po/fr.po
==============================================================================
--- jifty/trunk/share/po/fr.po (original)
+++ jifty/trunk/share/po/fr.po Thu Feb 8 02:36:21 2007
@@ -94,7 +94,7 @@
msgid "(any)"
msgstr ""
-#: lib/Jifty/Web/Form/Field.pm:549
+#: lib/Jifty/Web/Form/.Field.pm.swp:44 lib/Jifty/Web/Form/Field.pm:549
msgid "@{[$self->current_value]}"
msgstr ""
@@ -102,6 +102,10 @@
msgid "Actions"
msgstr ""
+#: share/web/templates/_elements/nav:5
+msgid "Administration"
+msgstr ""
+
#: share/web/templates/_elements/wrapper:11
msgid "Administration mode is enabled."
msgstr "Mode d'administration activé."
@@ -126,6 +130,10 @@
msgid "Back to the application"
msgstr "Retour à l'application"
+#: share/web/templates/__jifty/halo:117
+msgid "Bindings"
+msgstr ""
+
#: share/web/templates/helpers/calendar.html:4
#. (_ &><body class="calpopup"><a href="#" onclick="window.close()
msgid "Calendar"
@@ -135,6 +143,10 @@
msgid "Cancel"
msgstr "Annuler"
+#: share/web/templates/__jifty/halo:81
+msgid "Children"
+msgstr ""
+
#: share/web/templates/helpers/calendar.html:4
msgid "Close window"
msgstr "Fermer la fenêtre"
@@ -172,7 +184,7 @@
msgid "Done?"
msgstr ""
-#: share/web/templates/__jifty/admin/fragments/list/view:40
+#: share/web/templates/__jifty/admin/fragments/list/view:40 share/web/templates/__jifty/halo:20
msgid "Edit"
msgstr "Editer"
@@ -190,6 +202,10 @@
msgid "Hiya, %1."
msgstr "Bonjour, %1"
+#: share/web/templates/_elements/nav:3
+msgid "Home"
+msgstr ""
+
#: share/web/templates/__jifty/admin/index.html:1
msgid "Jifty Administrative Console"
msgstr ""
@@ -235,7 +251,7 @@
msgid "No items found"
msgstr "Aucun enregistrement"
-#: lib/Jifty/Web.pm:299
+#: lib/Jifty/Web.pm:300
msgid "No request to handle"
msgstr "Aucune requête à traiter"
@@ -243,12 +259,24 @@
msgid "Online Documentation"
msgstr "Documentation en ligne"
+#: share/web/templates/_elements/nav:6
+msgid "Online docs"
+msgstr ""
+
#: share/web/templates/__jifty/admin/fragments/list/list:80
#. ($page, $collection->pager->last_page)
msgid "Page %1 of %2"
msgstr "Page %1 / %2"
-#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:319 lib/Jifty/Record.pm:60
+#: share/web/templates/__jifty/halo:1
+msgid "Page info"
+msgstr ""
+
+#: share/web/templates/__jifty/halo:72
+msgid "Parent"
+msgstr ""
+
+#: lib/Jifty/Record.pm:264 lib/Jifty/Record.pm:343 lib/Jifty/Record.pm:68
msgid "Permission denied"
msgstr "Autorisation refusée"
@@ -260,6 +288,11 @@
msgid "Record created"
msgstr "Enregistrement créé"
+#: share/web/templates/__jifty/halo:69
+#. ($frame->{'render_time'})
+msgid "Rendered in %1s"
+msgstr ""
+
#: share/web/templates/__jifty/admin/action/dhandler:20
msgid "Run the action"
msgstr "Exécuter l'action"
@@ -300,7 +333,7 @@
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:362
+#: lib/Jifty/Web.pm:363
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."
@@ -324,6 +357,10 @@
msgid "Updated"
msgstr "Modification"
+#: share/web/templates/__jifty/halo:93
+msgid "Variables"
+msgstr ""
+
#: share/web/templates/index.html:1
msgid "Welcome to your new Jifty application"
msgstr "Bienvenue sur votre nouvelle application Jifty"
@@ -352,3 +389,11 @@
#: share/web/templates/__jifty/admin/fragments/list/header:41
msgid "desc"
msgstr ""
+
+#: lib/Jifty/Manual/PageRegions.pod:188
+msgid "text of the link"
+msgstr ""
+
+#: lib/Jifty/Manual/PageRegions.pod:225
+msgid "text of the link that hides"
+msgstr ""
Modified: jifty/trunk/share/po/ja.po
==============================================================================
--- jifty/trunk/share/po/ja.po (original)
+++ jifty/trunk/share/po/ja.po Thu Feb 8 02:36:21 2007
@@ -94,7 +94,7 @@
msgid "(any)"
msgstr "(指定なし)"
-#: lib/Jifty/Web/Form/Field.pm:549
+#: lib/Jifty/Web/Form/.Field.pm.swp:44 lib/Jifty/Web/Form/Field.pm:549
msgid "@{[$self->current_value]}"
msgstr ""
@@ -102,6 +102,10 @@
msgid "Actions"
msgstr "操作"
+#: share/web/templates/_elements/nav:5
+msgid "Administration"
+msgstr ""
+
#: share/web/templates/_elements/wrapper:11
msgid "Administration mode is enabled."
msgstr "管理モードが有効になっています"
@@ -126,6 +130,10 @@
msgid "Back to the application"
msgstr "アプリケーションに戻る"
+#: share/web/templates/__jifty/halo:117
+msgid "Bindings"
+msgstr ""
+
#: share/web/templates/helpers/calendar.html:4
#. (_ &><body class="calpopup"><a href="#" onclick="window.close()
msgid "Calendar"
@@ -135,6 +143,10 @@
msgid "Cancel"
msgstr "キャンセル"
+#: share/web/templates/__jifty/halo:81
+msgid "Children"
+msgstr ""
+
#: share/web/templates/helpers/calendar.html:4
msgid "Close window"
msgstr "閉じる"
@@ -172,7 +184,7 @@
msgid "Done?"
msgstr ""
-#: share/web/templates/__jifty/admin/fragments/list/view:40
+#: share/web/templates/__jifty/admin/fragments/list/view:40 share/web/templates/__jifty/halo:20
msgid "Edit"
msgstr "編集"
@@ -190,6 +202,10 @@
msgid "Hiya, %1."
msgstr "%1 さん、こんにちは"
+#: share/web/templates/_elements/nav:3
+msgid "Home"
+msgstr ""
+
#: share/web/templates/__jifty/admin/index.html:1
msgid "Jifty Administrative Console"
msgstr ""
@@ -235,7 +251,7 @@
msgid "No items found"
msgstr "見つかりませんでした"
-#: lib/Jifty/Web.pm:299
+#: lib/Jifty/Web.pm:300
msgid "No request to handle"
msgstr "処理できるリクエストがありません"
@@ -243,12 +259,24 @@
msgid "Online Documentation"
msgstr "オンラインドキュメント"
+#: share/web/templates/_elements/nav:6
+msgid "Online docs"
+msgstr ""
+
#: share/web/templates/__jifty/admin/fragments/list/list:80
#. ($page, $collection->pager->last_page)
msgid "Page %1 of %2"
msgstr "%1 / %2 ページ"
-#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:319 lib/Jifty/Record.pm:60
+#: share/web/templates/__jifty/halo:1
+msgid "Page info"
+msgstr ""
+
+#: share/web/templates/__jifty/halo:72
+msgid "Parent"
+msgstr ""
+
+#: lib/Jifty/Record.pm:264 lib/Jifty/Record.pm:343 lib/Jifty/Record.pm:68
msgid "Permission denied"
msgstr "権限がありません"
@@ -256,6 +284,11 @@
msgid "Previous Page"
msgstr "前のページ"
+#: share/web/templates/__jifty/halo:69
+#. ($frame->{'render_time'})
+msgid "Rendered in %1s"
+msgstr ""
+
#: share/web/templates/__jifty/admin/action/dhandler:20
msgid "Run the action"
msgstr "実行"
@@ -296,7 +329,7 @@
msgid "The passwords you typed didn't match each other"
msgstr "パスワードが一致しません"
-#: lib/Jifty/Web.pm:362
+#: lib/Jifty/Web.pm:363
msgid "There was an error completing the request. Please try again later."
msgstr "リクエストの処理中にエラーが発生しました。しばらく待ってから再度試してみてください"
@@ -320,6 +353,10 @@
msgid "Updated"
msgstr "更新しました"
+#: share/web/templates/__jifty/halo:93
+msgid "Variables"
+msgstr ""
+
#: share/web/templates/index.html:1
msgid "Welcome to your new Jifty application"
msgstr "Jifty の新規アプリケーションです"
@@ -348,3 +385,11 @@
#: share/web/templates/__jifty/admin/fragments/list/header:41
msgid "desc"
msgstr "降順"
+
+#: lib/Jifty/Manual/PageRegions.pod:188
+msgid "text of the link"
+msgstr ""
+
+#: lib/Jifty/Manual/PageRegions.pod:225
+msgid "text of the link that hides"
+msgstr ""
Modified: jifty/trunk/share/po/zh_cn.po
==============================================================================
--- jifty/trunk/share/po/zh_cn.po (original)
+++ jifty/trunk/share/po/zh_cn.po Thu Feb 8 02:36:21 2007
@@ -93,7 +93,7 @@
msgid "(any)"
msgstr "(任意)"
-#: lib/Jifty/Web/Form/Field.pm:549
+#: lib/Jifty/Web/Form/.Field.pm.swp:44 lib/Jifty/Web/Form/Field.pm:549
msgid "@{[$self->current_value]}"
msgstr ""
@@ -101,6 +101,10 @@
msgid "Actions"
msgstr "操作"
+#: share/web/templates/_elements/nav:5
+msgid "Administration"
+msgstr "管理接口"
+
#: share/web/templates/_elements/wrapper:11
msgid "Administration mode is enabled."
msgstr "系统管理模式开启中."
@@ -125,6 +129,10 @@
msgid "Back to the application"
msgstr "回到应用程序"
+#: share/web/templates/__jifty/halo:117
+msgid "Bindings"
+msgstr "快速键"
+
#: share/web/templates/helpers/calendar.html:4
#. (_ &><body class="calpopup"><a href="#" onclick="window.close()
msgid "Calendar"
@@ -134,6 +142,10 @@
msgid "Cancel"
msgstr "取消"
+#: share/web/templates/__jifty/halo:81
+msgid "Children"
+msgstr "子组件"
+
#: share/web/templates/helpers/calendar.html:4
msgid "Close window"
msgstr "关闭窗口"
@@ -175,7 +187,7 @@
msgid "Done?"
msgstr "已完成?"
-#: share/web/templates/__jifty/admin/fragments/list/view:40
+#: share/web/templates/__jifty/admin/fragments/list/view:40 share/web/templates/__jifty/halo:20
msgid "Edit"
msgstr "编辑"
@@ -193,6 +205,10 @@
msgid "Hiya, %1."
msgstr "您好,%1。"
+#: share/web/templates/_elements/nav:3
+msgid "Home"
+msgstr "首页"
+
#: share/web/templates/__jifty/admin/index.html:1
msgid "Jifty Administrative Console"
msgstr "Jifty 管理界面"
@@ -238,7 +254,7 @@
msgid "No items found"
msgstr "未找到记录"
-#: lib/Jifty/Web.pm:299
+#: lib/Jifty/Web.pm:300
msgid "No request to handle"
msgstr "没有可处理的请求"
@@ -246,12 +262,24 @@
msgid "Online Documentation"
msgstr "线上文件"
+#: share/web/templates/_elements/nav:6
+msgid "Online docs"
+msgstr "线上文件"
+
#: share/web/templates/__jifty/admin/fragments/list/list:80
#. ($page, $collection->pager->last_page)
msgid "Page %1 of %2"
msgstr "第 %1 页, 共 %2 页"
-#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:319 lib/Jifty/Record.pm:60
+#: share/web/templates/__jifty/halo:1
+msgid "Page info"
+msgstr "页面信息"
+
+#: share/web/templates/__jifty/halo:72
+msgid "Parent"
+msgstr "上层组件"
+
+#: lib/Jifty/Record.pm:264 lib/Jifty/Record.pm:343 lib/Jifty/Record.pm:68
msgid "Permission denied"
msgstr "权限不足"
@@ -263,6 +291,11 @@
msgid "Record created"
msgstr "成功建立记录."
+#: share/web/templates/__jifty/halo:69
+#. ($frame->{'render_time'})
+msgid "Rendered in %1s"
+msgstr "页面绘制时间: %1 秒"
+
#: share/web/templates/__jifty/admin/action/dhandler:20
msgid "Run the action"
msgstr "执行动作"
@@ -303,7 +336,7 @@
msgid "The passwords you typed didn't match each other"
msgstr "两组口令不匹配."
-#: lib/Jifty/Web.pm:362
+#: lib/Jifty/Web.pm:363
msgid "There was an error completing the request. Please try again later."
msgstr "系统执行错误, 请稍候再试."
@@ -327,6 +360,10 @@
msgid "Updated"
msgstr "成功更新项目."
+#: share/web/templates/__jifty/halo:93
+msgid "Variables"
+msgstr "变項"
+
#: share/web/templates/index.html:1
msgid "Welcome to your new Jifty application"
msgstr "欢迎光临您的崭新的 Jifty 应用程序"
@@ -355,3 +392,11 @@
#: share/web/templates/__jifty/admin/fragments/list/header:41
msgid "desc"
msgstr "降序"
+
+#: lib/Jifty/Manual/PageRegions.pod:188
+msgid "text of the link"
+msgstr "连结文字"
+
+#: lib/Jifty/Manual/PageRegions.pod:225
+msgid "text of the link that hides"
+msgstr "隐藏连结文字"
Modified: jifty/trunk/share/po/zh_tw.po
==============================================================================
--- jifty/trunk/share/po/zh_tw.po (original)
+++ jifty/trunk/share/po/zh_tw.po Thu Feb 8 02:36:21 2007
@@ -36,7 +36,7 @@
#: share/web/templates/__jifty/admin/fragments/list/list:87
#. ($collection-> count)
msgid "%1 entries"
-msgstr ""
+msgstr "共 %1 筆"
#: lib/Jifty/Action/Record/Search.pm:123
#. ($label)
@@ -93,7 +93,7 @@
msgid "(any)"
msgstr "(不限)"
-#: lib/Jifty/Web/Form/Field.pm:549
+#: lib/Jifty/Web/Form/.Field.pm.swp:44 lib/Jifty/Web/Form/Field.pm:549
msgid "@{[$self->current_value]}"
msgstr ""
@@ -101,6 +101,10 @@
msgid "Actions"
msgstr "操作"
+#: share/web/templates/_elements/nav:5
+msgid "Administration"
+msgstr "管理介面"
+
#: share/web/templates/_elements/wrapper:11
msgid "Administration mode is enabled."
msgstr "系統管理模式開啟中."
@@ -119,12 +123,16 @@
#: share/web/templates/__jifty/admin/action/dhandler:25 share/web/templates/__jifty/admin/model/dhandler:21
msgid "Back to the admin console"
-msgstr "回到管理界面"
+msgstr "回到管理介面"
#: share/web/templates/__jifty/admin/index.html:29
msgid "Back to the application"
msgstr "回到應用程式"
+#: share/web/templates/__jifty/halo:117
+msgid "Bindings"
+msgstr "快速鍵"
+
#: share/web/templates/helpers/calendar.html:4
#. (_ &><body class="calpopup"><a href="#" onclick="window.close()
msgid "Calendar"
@@ -134,13 +142,17 @@
msgid "Cancel"
msgstr "取消"
+#: share/web/templates/__jifty/halo:81
+msgid "Children"
+msgstr "子元件"
+
#: share/web/templates/helpers/calendar.html:4
msgid "Close window"
msgstr "關閉視窗"
#: share/web/templates/__jifty/admin/fragments/list/view:31
msgid "Confirm delete?"
-msgstr "確定要刪除?"
+msgstr "是否確定刪除?"
#: share/web/templates/__jifty/admin/fragments/list/new_item:25
msgid "Create"
@@ -173,9 +185,9 @@
#: share/web/templates/__jifty/admin/index.html:28 share/web/templates/__jifty/admin/model/dhandler:20
msgid "Done?"
-msgstr "已完成?"
+msgstr "設定完畢?"
-#: share/web/templates/__jifty/admin/fragments/list/view:40
+#: share/web/templates/__jifty/admin/fragments/list/view:40 share/web/templates/__jifty/halo:20
msgid "Edit"
msgstr "編輯"
@@ -193,6 +205,10 @@
msgid "Hiya, %1."
msgstr "%1 您好."
+#: share/web/templates/_elements/nav:3
+msgid "Home"
+msgstr "首頁"
+
#: share/web/templates/__jifty/admin/index.html:1
msgid "Jifty Administrative Console"
msgstr "Jifty 管理介面"
@@ -238,7 +254,7 @@
msgid "No items found"
msgstr "未找到記錄"
-#: lib/Jifty/Web.pm:299
+#: lib/Jifty/Web.pm:300
msgid "No request to handle"
msgstr "沒有可處理的要求"
@@ -246,12 +262,24 @@
msgid "Online Documentation"
msgstr "線上文件"
+#: share/web/templates/_elements/nav:6
+msgid "Online docs"
+msgstr "線上文件"
+
#: share/web/templates/__jifty/admin/fragments/list/list:80
#. ($page, $collection->pager->last_page)
msgid "Page %1 of %2"
msgstr "第 %1 頁, 共 %2 頁"
-#: lib/Jifty/Record.pm:240 lib/Jifty/Record.pm:319 lib/Jifty/Record.pm:60
+#: share/web/templates/__jifty/halo:1
+msgid "Page info"
+msgstr "頁面資訊"
+
+#: share/web/templates/__jifty/halo:72
+msgid "Parent"
+msgstr "上層元件"
+
+#: lib/Jifty/Record.pm:264 lib/Jifty/Record.pm:343 lib/Jifty/Record.pm:68
msgid "Permission denied"
msgstr "權限不足."
@@ -263,6 +291,11 @@
msgid "Record created"
msgstr "成功建立項目."
+#: share/web/templates/__jifty/halo:69
+#. ($frame->{'render_time'})
+msgid "Rendered in %1s"
+msgstr "頁面繪製時間: %1 秒"
+
#: share/web/templates/__jifty/admin/action/dhandler:20
msgid "Run the action"
msgstr "執行動作"
@@ -303,17 +336,17 @@
msgid "The passwords you typed didn't match each other"
msgstr "兩組密碼不符合."
-#: lib/Jifty/Web.pm:362
+#: lib/Jifty/Web.pm:363
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 "您可利用此界面來管理資料庫的內容. 請點選表格名稱, 進行增刪及編輯."
+msgstr "您可利用此介面來管理資料庫的內容. 請點選表格名稱, 進行增刪及編輯."
#: share/web/templates/__jifty/admin/index.html: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\" 即可."
+msgstr "如欲停用管理介面, 請在設定檔 (etc/config.yml) 的 \"framework:\" 設定內加上 \"AdminMode: 0\" 即可."
#: share/web/templates/__jifty/admin/fragments/list/list:72
msgid "Toggle search"
@@ -327,6 +360,10 @@
msgid "Updated"
msgstr "成功更新項目."
+#: share/web/templates/__jifty/halo:93
+msgid "Variables"
+msgstr "變數"
+
#: share/web/templates/index.html:1
msgid "Welcome to your new Jifty application"
msgstr "歡迎光臨您嶄新的 Jifty 應用程式"
@@ -355,3 +392,11 @@
#: share/web/templates/__jifty/admin/fragments/list/header:41
msgid "desc"
msgstr "降冪"
+
+#: lib/Jifty/Manual/PageRegions.pod:188
+msgid "text of the link"
+msgstr "連結文字"
+
+#: lib/Jifty/Manual/PageRegions.pod:225
+msgid "text of the link that hides"
+msgstr "隱藏連結文字"
Modified: jifty/trunk/share/web/templates/__jifty/halo
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/halo (original)
+++ jifty/trunk/share/web/templates/__jifty/halo Thu Feb 8 02:36:21 2007
@@ -1,4 +1,4 @@
-<div><a href="#" id="render_info" onclick="Element.toggle('render_info_tree'); return false">Page info</a></div>
+<div><a href="#" id="render_info" onclick="Element.toggle('render_info_tree'); return false"><%_('Page info')%></a></div>
<div style="display: none" id="render_info_tree">
% foreach my $item (@stack) {
% if ( $item->{depth} > $depth ) {
@@ -17,7 +17,7 @@
onclick="halo_toggle('<% $item->{id} %>'); return false;">
<% $item->{'name'} %> - <% $item->{'render_time'} %></a>
% unless ($item->{subcomponent}) {
-<% Jifty->web->tangent( url =>"/__jifty/edit/mason_component/".$item->{'path'}, label => 'Edit') %>
+<% Jifty->web->tangent( url =>"/__jifty/edit/mason_component/".$item->{'path'}, label => _('Edit')) %>
% }
% $depth = $item->{'depth'};
% }
@@ -66,10 +66,10 @@
<div class="body">
<div class="path"><% $frame->{path} %></div>
-<div class="time">Rendered in <% $frame->{'render_time'} %>s</div>
+<div class="time"><%_('Rendered in %1s', $frame->{'render_time'})%></div>
</div>
% if ($frame->{parent}) {
-<div class="section">Parent</div>
+<div class="section"><%_('Parent')%></div>
<div class="body"><ul>
<li><a href="#" class="halo_comp_info" onmouseover="halo_over('<% $frame->{parent}{id} %>')"
onmouseout="halo_out('<% $frame->{parent}{id} %>')"
@@ -78,7 +78,7 @@
</ul></div>
% }
% if (@{$frame->{kids}}) {
-<div class="section">Children</div>
+<div class="section"><%_('Children')%></div>
<div class="body"><ul>
% for my $item (@{$frame->{kids}}) {
<li><a href="#" class="halo_comp_info" onmouseover="halo_over('<% $item->{id} %>')"
@@ -90,7 +90,7 @@
</div>
% }
% if (@args) {
-<div class="section">Variables</div>
+<div class="section"><%_('Variables')%></div>
<div class="body"><ul class="fixed">
% for my $e (@args) {
<li><b><% $e->[0] %></b>:
@@ -114,7 +114,7 @@
<li>
<span class="fixed"><% $_->[1] %></span><br />
% if (@{$_->[2]}) {
-<b>Bindings:</b> <tt><% join(',', map {defined $_ ? ($_ =~ /[^[:space:][:graph:]]/ ? "*BLOB*" : $_ ) : "undef"} @{$_->[2]}) %></tt><br />
+<b><%_('Bindings')%>:</b> <tt><% join(',', map {defined $_ ? ($_ =~ /[^[:space:][:graph:]]/ ? "*BLOB*" : $_ ) : "undef"} @{$_->[2]}) %></tt><br />
% }
<i><% _('%1 seconds', $_->[3]) %></i>
</li>
@@ -123,7 +123,7 @@
% }
<div class="section">
% unless ($frame->{subcomponent}) {
-<% Jifty->web->tangent( url =>"/__jifty/edit/mason_component/".$frame->{'path'}, label => 'Edit') %>
+<% Jifty->web->tangent( url =>"/__jifty/edit/mason_component/".$frame->{'path'}, label => _('Edit')) %>
% } else {
% }
Modified: jifty/trunk/share/web/templates/_elements/nav
==============================================================================
--- jifty/trunk/share/web/templates/_elements/nav (original)
+++ jifty/trunk/share/web/templates/_elements/nav Thu Feb 8 02:36:21 2007
@@ -1,9 +1,9 @@
<%init>
my $top = Jifty->web->navigation;
-$top->child(Home => url => "/", sort_order => 1);
+$top->child(Home => label => _('Home'), url => "/", sort_order => 1);
if (Jifty->config->framework('AdminMode') ) {
- $top->child(Administration => url => "/__jifty/admin/", sort_order => 998);
- $top->child(OnlineDocs => url => "/__jifty/online_docs/", label => 'Online docs', sort_order => 999);
+ $top->child(Administration => url => "/__jifty/admin/", label => _('Administration'), sort_order => 998);
+ $top->child(OnlineDocs => url => "/__jifty/online_docs/", label => _('Online docs'), sort_order => 999);
}
return();
</%init>
More information about the Jifty-commit
mailing list