[Jifty-commit] r6963 - jifty/trunk/lib/Jifty/Manual

Jifty commits jifty-commit at lists.jifty.org
Sat May 9 09:45:18 EDT 2009

Author: c9s
Date: Sat May  9 09:45:14 2009
New Revision: 6963


 zhtw tutorial: translate jifty server section

Modified: jifty/trunk/lib/Jifty/Manual/Tutorial_zhtw.pod
--- jifty/trunk/lib/Jifty/Manual/Tutorial_zhtw.pod	(original)
+++ jifty/trunk/lib/Jifty/Manual/Tutorial_zhtw.pod	Sat May  9 09:45:14 2009
@@ -204,16 +204,19 @@
-Now it's time to tell the model class about posts. Start by giving our post a
-C<body> and a C<title>. (In a future tutorial, the application will become fully
+現在是該說明文章的模型類別 (model class) 了。
+從給我們的文章 C<body> 以及 C<title> 欄位開始吧。
+(In a future tutorial, the application will become fully
 folksonomy-compliant by adding a C<category> and upgrading that C<category> to a
 C<tags> table.)
-Position your cursor right after:
   use MyWeblog::Record schema {
-Add the lines:
   column title =>
         type is 'text',
@@ -225,18 +228,17 @@
         label is 'Content',
         render_as 'Textarea';
-Save your model class.
-=head2 Starting the Jifty application server
+=head2 啟動 Jifty 應用程式伺服
-You now have a working, if simplistic, application. Start up the Jifty web
-server by typing C<jifty server>.
+現在你有了可以運作、簡易的應用程式。積著可以透過 C<jifty server> 啟動你的
+Jifty 應用程式了。
-The first thing you'll see is that Jifty notices you have no database, so it
-creates one for you. By default, Jifty sets up your application with the SQLite
-database engine. If you'd rather use PostgreSQL or MySQL, you need to add some
-content to F<etc/config.yml>. (See L<Jifty::Config> for a bit more
+現在你第一個看到的應該是 Jifty 提示你目前沒有資料庫,所以它會立刻將你建置一個。
+Jifty 會使用 SQLite 作為你預設的資料庫引擎。
+如果你想使用 PostgreSQL 或是 MySQL ,你需要新增一些設定在 F<etc/config.yml>。
+(請參見 L<Jifty::Config> 了解更多資訊)
     # jifty server
     WARN - Application schema has no version in the database.
@@ -248,14 +250,13 @@
     INFO - Set up version 0.0.1, jifty version 0.81208
     INFO - You can connect to your server at http://localhost:8888/
-Everything but the last line was database setup information that you'll only
-see when Jifty changes your database.
+而這些訊息只會在 Jifty 修改你的資料庫時才會顯示。
-The last line tells you the URL you can go to with your web browser. Have a
-look around. Be sure to check out the AJAX-enabled administrative UI, the
-online documentation browser, and the Pony.
+到處看看已啟用 AJAX 的管理介面,還有線上文件瀏覽器以及一隻小馬。
-For some platforms, you may have to type "./bin/jifty server".
+對有些平台而言,你可能需要輸入 "./bin/jifty server" 。
 =head2 Building a user interface

More information about the Jifty-commit mailing list