This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 debian/changelog        |    5 +-
 gui/gui.py              |    7 ++-
 gui/image-creator.glade |    2 +-
 gui/repo_editor.py      |    4 +-
 po/POTFILES.in          |    1 +
 po/ja.po                |  125 +++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 136 insertions(+), 8 deletions(-)

New commits:
commit 55aa1d2b99889f5aee9b952f89689adc2a0ec465
Author: Mitsutaka Amano <[EMAIL PROTECTED]>
Date:   Mon Aug 25 16:33:26 2008 +0900

    * Added Japaense localization in gui/repo_editor.py and more.


Diff in this email is a maximum of 400 lines.
diff --git a/debian/changelog b/debian/changelog
index a873911..deddd5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -147,9 +147,10 @@ moblin-image-creator (0.45) UNRELEASED; urgency=low
 
   [ Mitsutaka Amano ]
   * Droped unnecessary codes. Added a Japanese localization.
-  * Droped unnecessary %files entry in spec file. Cleaned dirty codes. 
+  * Droped unnecessary %files entry in spec file. Cleaned dirty codes.
+  * Added Japaense localization in gui/repo_editor.py and more. 
 
- -- Mitsutaka Amano <[EMAIL PROTECTED]>  Mon, 25 Aug 2008 12:06:50 +0900
+ -- Mitsutaka Amano <[EMAIL PROTECTED]>  Mon, 25 Aug 2008 16:31:57 +0900
 
 moblin-image-creator (0.44) gaston; urgency=low
 
diff --git a/gui/gui.py b/gui/gui.py
index 0b4c6b5..551c660 100644
--- a/gui/gui.py
+++ b/gui/gui.py
@@ -1539,7 +1539,7 @@ class App(object):
     def on_editRepo_activate(self, widget):
         dialog_tree = gtk.glade.XML(self.gladefile, 'fsetsInfo')
         dialog = dialog_tree.get_widget('fsetsInfo')
-        dialog.set_title("Choose a Platform")
+        dialog.set_title(_("Choose a Platform"))
 
         platformComboBox = dialog_tree.get_widget('platform')
         cell = gtk.CellRendererText()
@@ -1648,8 +1648,9 @@ class CommandHistoryDlg(object):
                     break
 
         if os.path.exists (cmds_path) == False:
-            print _("Creating folder /var/lib/moblin-image-creator/cmds ... ")
-            os.popen("mkdir /var/lib/moblin-image-creator/cmds")
+            print _("Creating folder %s ... ") % cmds_path
+            cmd = 'mkdir ' + cmds_path
+            os.popen(cmd)
         
         mic_file = open(cmds_path + '/' + file_name, 'w')
         print >> mic_file, "%s" % self.cmd_txt
diff --git a/gui/image-creator.glade b/gui/image-creator.glade
index 03109ef..b288570 100644
--- a/gui/image-creator.glade
+++ b/gui/image-creator.glade
@@ -3091,7 +3091,7 @@ You may have terminals open in the mounted directory path
                       <widget class="GtkLabel" id="repo_name">
                         <property name="visible">True</property>
                         <property name="events">GDK_POINTER_MOTION_MASK | 
GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | 
GDK_BUTTON_RELEASE_MASK</property>
-                        <property name="label" 
translatable="yes">Name</property>
+                        <property name="label" 
translatable="no">Name</property>
                       </widget>
                       <packing>
                         <property name="x_options"></property>
diff --git a/gui/repo_editor.py b/gui/repo_editor.py
index de8fb97..2f0979e 100644
--- a/gui/repo_editor.py
+++ b/gui/repo_editor.py
@@ -164,12 +164,12 @@ class repoEditor(object):
     def remove_button_clicked(self, widget):
         model, treePathList = 
self.repoListView.get_selection().get_selected_rows()   
         if os.path.isfile(os.path.join(self.repoPath, 
model[treePathList[0]][0])):
-            print _("Removing Repo: %s" % model[treePathList[0]][0])
+            print _("Removing Repo: %s") % model[treePathList[0]][0]
             os.unlink(os.path.join(self.repoPath, model[treePathList[0]][0]))
             self.create_repo_list()
 
     def save_button_clicked(self, widget):
-        print _("Saving: %s" % self.current_repo)
+        print _("Saving: %s") % self.current_repo
         repoFile = open(os.path.join(self.repoPath, self.current_repo))
         fileContent = repoFile.readlines()
         nameWritten = False
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 6447817..e4f9c88 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 gui/gui.py
 gui/image-creator.glade
 gui/project_assistant.py
+gui/repo_editor.py
 image-creator
 libs/InstallImage.py
 libs/Platform.py
diff --git a/po/ja.po b/po/ja.po
index 44ca296..89dc2ec 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -440,6 +440,19 @@ msgstr 
"プロジェクトおよびターゲットの作成"
 msgid "Installing the following fsets: %s"
 msgstr "次に機能セットをインストールします: %s"
 
+#: ../gui/gui.py:1542
+msgid "Choose a Platform"
+msgstr "プラットフォームを選択します"
+
+#: ../gui/gui.py:1569
+msgid "This feature is currently available for Yum based platforms only"
+msgstr 
"この機能は現在Yumベースのプラットフォームのみ使用できます"
+
+#: ../gui/gui.py:1651
+#, python-format
+msgid "Creating folder %s ... "
+msgstr "フォルダ「%s」を作成しています ... "
+
 #: ../gui/gui.py:1391
 msgid "Please Select a Platform"
 msgstr "プラットフォームを選択してください"
@@ -1546,6 +1559,10 @@ msgstr "ミラーサイトの設定"
 msgid "_Fsets Info"
 msgstr "機能セット情報"
 
+#: ../gui/image-creator.glade:152
+msgid "_Edit Repo"
+msgstr "リポジトリの編集"
+
 #: ../gui/image-creator.glade:155
 msgid "_Help"
 msgstr "ヘルプ"
@@ -1590,6 +1607,14 @@ msgstr 
"プロジェクトをアップグレードします"
 msgid "_Upgrade Project"
 msgstr "プロジェクトのアップグレード"
 
+#: ../gui/image-creator.glade:425
+msgid "Record MIC command history"
+msgstr "Moblin Image Creatorのコマンド履歴を記録します"
+
+#: ../gui/image-creator.glade:440
+msgid "Command _History"
+msgstr "コマンド履歴"
+
 #: ../gui/image-creator.glade:426
 msgid "List of existing projects"
 msgstr "存在するプロジェクトの一覧です。"
@@ -1668,6 +1693,10 @@ msgstr 
"ターゲットをアップグレードします。"
 msgid "Up_grade Target"
 msgstr "ターゲットのアップグレード"
 
+#: ../gui/image-creator.glade:829
+msgid "Edit _Repository"
+msgstr "リポジトリの編集"
+
 #: ../gui/image-creator.glade:777
 msgid "List of existing targets"
 msgstr "存在するターゲットの一覧です。"
@@ -1936,6 +1965,102 @@ msgstr "OK"
 msgid "Fsets Info"
 msgstr "機能セット情報"
 
+#: ../gui/image-creator.glade:2969
+msgid "Remove"
+msgstr "削除"
+
+#: ../gui/image-creator.glade:3018
+msgid "url"
+msgstr ""
+
+#: ../gui/image-creator.glade:3044
+msgid "enabled"
+msgstr ""
+
+#: ../gui/image-creator.glade:3070
+msgid "failovermethod"
+msgstr ""
+
+#: ../gui/image-creator.glade:3109 ../gui/image-creator.glade:3224
+msgid "Save"
+msgstr "保存"
+
+#: ../gui/image-creator.glade:3163
+msgid "Command History"
+msgstr "コマンド履歴"
+
+#: ../gui/image-creator.glade:3196
+msgid "Clean history of MIC commands"
+msgstr "Moblin Image Creatorのコマンド履歴を消去します"
+
+#: ../gui/image-creator.glade:3197
+msgid "Clean"
+msgstr "消去"
+
+#: ../gui/image-creator.glade:3208
+msgid "Copy command history to clipboard"
+msgstr "コマンド履歴をクリップボードへコピーします"
+
+#: ../gui/image-creator.glade:3209
+msgid "Copy"
+msgstr "コピー"
+
+#: ../gui/image-creator.glade:3223
+msgid "Save command history into a file in /var/lib/moblin-image-creator/cmds"
+msgstr 
"/var/lib/moblin-image-creator/cmdsディレクトリ以下にコマンド履歴を保存します"
+
+#: ../gui/image-creator.glade:3238
+msgid "Close window"
+msgstr "ウィンドウを閉じます"
+
+#: ../gui/image-creator.glade:3239
+msgid "Close"
+msgstr "閉じる"
+
+#: ../gui/image-creator.glade:3258
+msgid "Save to..."
+msgstr "保存します..."
+
+#: ../gui/image-creator.glade:3269
+msgid " File Name: "
+msgstr " ファイル名: "
+
+#: ../gui/image-creator.glade:3329
+msgid "Existed file name."
+msgstr "存在しているファイル名でした"
+
+#: ../gui/image-creator.glade:3337
+msgid ""
+"\n"
+"File exists. Overwrite it?\n"
+"            "
+msgstr ""
+"\n"
+"ファイルが存在しています。上書きしますか?\n"
+"            "
+
 #: ../image-creator.desktop.in:4
 msgid "Developer tool for creating mobile Linux device stacks"
 msgstr "携帯端末用Linuxを構築するための開発ツール"
+
+#: ../gui/repo_editor.py:63
+msgid "Repository List"
+msgstr "リポジトリ一覧"
+
+#: ../gui/repo_editor.py:139
+msgid "New Repo Name"
+msgstr "新しいリポジトリ名"
+
+#: ../gui/repo_editor.py:142
+msgid "Add New Repo"
+msgstr "新しいリポジトリ名の追加"
+
+#: ../gui/repo_editor.py:167
+#, python-format
+msgid "Removing Repo: %s"
+msgstr "リポジトリを削除しています: %s"
+
+#: ../gui/repo_editor.py:172
+#, python-format
+msgid "Saving: %s"
+msgstr "保存しています: %s"
_______________________________________________
Commits mailing list
[email protected]
https://www.moblin.org/mailman/listinfo/commits

Reply via email to