merging from central

This commit is contained in:
Greg Von Kuster
2009-03-17 23:57:08 -04:00
32 changed files with 1591 additions and 211 deletions
+2
View File
@@ -47,6 +47,7 @@ WebError = 0.8a
WebHelpers = 0.2
WebOb = 0.8.5
wsgiref = 0.1.2
Babel = 0.9.4
; extra version information
[tags]
@@ -92,3 +93,4 @@ WebError = http://pypi.python.org/packages/source/W/WebError/WebError-0.8a.tar.g
WebHelpers = http://pypi.python.org/packages/source/W/WebHelpers/WebHelpers-0.2.tar.gz
WebOb = http://pypi.python.org/packages/source/W/WebOb/WebOb-0.8.5.tar.gz
wsgiref = http://pypi.python.org/packages/source/w/wsgiref/wsgiref-0.1.2.zip
Babel = http://ftp.edgewall.com/pub/babel/Babel-0.9.4.zip
-2
View File
@@ -183,5 +183,3 @@ def configure_logging( config ):
# Hook everything up
handler.setFormatter( formatter )
root.addHandler( handler )
+14
View File
@@ -24,6 +24,9 @@ pkg_resources.require( "Mako" )
import mako.template
import mako.lookup
pkg_resources.require( "Babel" )
from babel.support import Translations
pkg_resources.require( "SQLAlchemy >= 0.4" )
from sqlalchemy import and_
@@ -134,6 +137,7 @@ class UniverseWebTransaction( base.DefaultWebTransaction ):
self.__history = NOT_SET
self.__galaxy_session = NOT_SET
base.DefaultWebTransaction.__init__( self, environ )
self.setup_i18n()
self.sa_session.clear()
self.debug = asbool( self.app.config.get( 'debug', False ) )
# Flag indicating whether we are in workflow building mode (means
@@ -144,6 +148,16 @@ class UniverseWebTransaction( base.DefaultWebTransaction ):
self.__ensure_valid_session( session_cookie )
if self.app.config.require_login:
self.__ensure_logged_in_user( environ )
def setup_i18n( self ):
if 'HTTP_ACCEPT_LANGUAGE' in self.environ:
# locales looks something like: ['en', 'en-us;q=0.7', 'ja;q=0.3']
locales = self.environ['HTTP_ACCEPT_LANGUAGE'].split( ',' )
locales = [ l.split( ';' )[0] for l in locales ]
else:
# Default to English
locales = 'en'
t = Translations.load( dirname='locale', locales=locales, domain='ginga' )
self.template_context.update ( dict( _=t.gettext, n_=t.gettext, N_=t.ngettext ) )
@property
def sa_session( self ):
"""
Binary file not shown.
+299
View File
@@ -0,0 +1,299 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2009 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-21 18:33+0900\n"
"PO-Revision-Date: 2009-03-17 03:55-0400\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: en <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 0.9.4\n"
#: templates/history/options.mako:17
msgid " a new empty history"
msgstr ""
#: templates/history/options.mako:22 templates/history/options.mako:24
msgid " current history"
msgstr ""
#: templates/history/options.mako:14
#, python-format
msgid " current history (stored as \"%s\")"
msgstr ""
#: templates/history/options.mako:20
msgid " from the current history"
msgstr ""
#: templates/history/options.mako:15
msgid " previously stored histories"
msgstr ""
#: templates/history/options.mako:8
msgid " to store or switch histories."
msgstr ""
#: templates/user/index.mako:9 templates/user/index.mako:11
msgid "Account settings"
msgstr ""
#: templates/root/masthead.mako:39
msgid "Account: "
msgstr ""
#: templates/admin_main.mako:16
msgid "Admin password: "
msgstr ""
#: templates/root/history_common.mako:41
msgid "An error occurred running this job: "
msgstr ""
#: templates/history/options.mako:24
msgid "Are you sure you want to delete the current history?"
msgstr ""
#: templates/user/index.mako:16
msgid "Change your password"
msgstr ""
#: templates/history/options.mako:20
msgid "Construct workflow"
msgstr ""
#: templates/history/options.mako:17
msgid "Create"
msgstr ""
#: templates/user/index.mako:24
msgid "Create new account"
msgstr ""
#: templates/history/rename.mako:9
msgid "Current Name"
msgstr ""
#: templates/history/options.mako:24
msgid "Delete"
msgstr ""
#: templates/history/share.mako:23
msgid "Email of User to share with:"
msgstr ""
#: templates/root/history_common.mako:76
#, python-format
msgid "Error: unknown dataset state \"%s\"."
msgstr ""
#: templates/admin_main.mako:2 templates/admin_main.mako:7
msgid "Galaxy Administration"
msgstr ""
#: templates/root/history.mako:12
msgid "Galaxy History"
msgstr ""
#: templates/root/tool_menu.mako:11
msgid "Galaxy Tools"
msgstr ""
#: templates/root/index.mako:34
msgid "History"
msgstr ""
#: templates/history/share.mako:8
msgid "History Name:"
msgstr ""
#: templates/history/options.mako:4
msgid "History Options"
msgstr ""
#: templates/root/history_common.mako:57 templates/root/masthead.mako:25
msgid "Info: "
msgstr ""
#: templates/root/history_common.mako:38
msgid "Job is currently running"
msgstr ""
#: templates/root/history_common.mako:36
msgid "Job is waiting to run"
msgstr ""
#: templates/history/options.mako:15
msgid "List"
msgstr ""
#: templates/root/masthead.mako:36
#, python-format
msgid "Logged in as %s: "
msgstr ""
#: templates/user/index.mako:23
msgid "Login"
msgstr ""
#: templates/user/index.mako:18
msgid "Logout"
msgstr ""
#: templates/root/tool_menu.mako:100
msgid "Manage"
msgstr ""
#: templates/history/rename.mako:9
msgid "New Name"
msgstr ""
#: templates/root/history_common.mako:45
msgid "No data: "
msgstr ""
#: templates/history/share.mako:8
msgid "Number of Datasets:"
msgstr ""
#: templates/root/index.mako:32
msgid "Options"
msgstr ""
#: templates/admin_main.mako:27
msgid "Reload"
msgstr ""
#: templates/admin_main.mako:18
msgid "Reload tool: "
msgstr ""
#: templates/history/options.mako:14
msgid "Rename"
msgstr ""
#: templates/history/rename.mako:2 templates/history/rename.mako:5
msgid "Rename History"
msgstr ""
#: templates/history/options.mako:22
msgid "Share"
msgstr ""
#: templates/history/share.mako:5
msgid "Share Histories"
msgstr ""
#: templates/history/share.mako:8
msgid "Share Link"
msgstr ""
#: templates/history/share.mako:2
msgid "Share histories"
msgstr ""
#: templates/history/share.mako:14
msgid "This history contains no data."
msgstr ""
#: templates/root/index.mako:5
msgid "Tools"
msgstr ""
#: templates/user/index.mako:17
msgid "Update your email address"
msgstr ""
#: templates/root/tool_menu.mako:95
msgid "Workflow"
msgstr ""
#: templates/user/index.mako:14
#, python-format
msgid "You are currently logged in as %s."
msgstr ""
#: templates/user/index.mako:21
msgid "You are currently not logged in."
msgstr ""
#: templates/root/history.mako:223
msgid "You are currently viewing a deleted history!"
msgstr ""
#: templates/history/options.mako:8
msgid "You must be "
msgstr ""
#: templates/root/history.mako:252
msgid "Your history is empty. Click 'Get Data' on the left pane to start"
msgstr ""
#: templates/root/masthead.mako:28
msgid "blog"
msgstr ""
#: templates/history/share.mako:20
msgid "copy link to share"
msgstr ""
#: templates/root/masthead.mako:39
msgid "create"
msgstr ""
#: templates/root/history_common.mako:50
msgid "database: "
msgstr ""
#: templates/root/history_common.mako:49
msgid "format: "
msgstr ""
#: templates/history/options.mako:8
msgid "logged in"
msgstr ""
#: templates/root/masthead.mako:40
msgid "login"
msgstr ""
#: templates/root/masthead.mako:37
msgid "logout"
msgstr ""
#: templates/root/masthead.mako:36
msgid "manage"
msgstr ""
#: templates/root/history.mako:218
msgid "refresh"
msgstr ""
#: templates/root/masthead.mako:25
msgid "report bugs"
msgstr ""
#: templates/root/history_common.mako:42
msgid "report this error"
msgstr ""
#: templates/root/masthead.mako:27
msgid "screencasts"
msgstr ""
#: templates/root/masthead.mako:26
msgid "wiki"
msgstr ""
#: templates/root/tool_menu.mako:100
msgid "workflows"
msgstr ""
Binary file not shown.
+85
View File
@@ -0,0 +1,85 @@
# English translations for PROJECT.
# Copyright (C) 2009 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2009-03-17 04:07-0400\n"
"PO-Revision-Date: 2009-03-17 04:07-0400\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: en <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 0.9.4\n"
msgid "Get Data"
msgstr ""
msgid "Get ENCODE Data"
msgstr ""
msgid "ENCODE Tools"
msgstr ""
msgid "Lift-Over"
msgstr ""
msgid "Text Manipulation"
msgstr ""
msgid "Filter and Sort"
msgstr ""
msgid "Join, Subtract and Group"
msgstr ""
msgid "Convert Formats"
msgstr ""
msgid "Extract Features"
msgstr ""
msgid "Fetch Sequences"
msgstr ""
msgid "Fetch Alignments"
msgstr ""
msgid "Get Genomic Scores"
msgstr ""
msgid "Operate on Genomic Intervals"
msgstr ""
msgid "Statistics"
msgstr ""
msgid "Graph/Display Data"
msgstr ""
msgid "Regional Variation"
msgstr ""
msgid "Evolution: HyPhy"
msgstr ""
msgid "Taxonomy manipulation"
msgstr ""
msgid "Solexa tools"
msgstr ""
msgid "FASTA manipulation"
msgstr ""
msgid "Short Read QC and Manipulation"
msgstr ""
msgid "Short Read Mapping"
msgstr ""
+296
View File
@@ -0,0 +1,296 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-21 18:33+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: templates/history/options.mako:17
msgid " a new empty history"
msgstr ""
#: templates/history/options.mako:22 templates/history/options.mako:24
msgid " current history"
msgstr ""
#: templates/history/options.mako:14
#, python-format
msgid " current history (stored as \"%s\")"
msgstr ""
#: templates/history/options.mako:20
msgid " from the current history"
msgstr ""
#: templates/history/options.mako:15
msgid " previously stored histories"
msgstr ""
#: templates/history/options.mako:8
msgid " to store or switch histories."
msgstr ""
#: templates/user/index.mako:9 templates/user/index.mako:11
msgid "Account settings"
msgstr ""
#: templates/root/masthead.mako:39
msgid "Account: "
msgstr ""
#: templates/admin_main.mako:16
msgid "Admin password: "
msgstr ""
#: templates/root/history_common.mako:41
msgid "An error occurred running this job: "
msgstr ""
#: templates/history/options.mako:24
msgid "Are you sure you want to delete the current history?"
msgstr ""
#: templates/user/index.mako:16
msgid "Change your password"
msgstr ""
#: templates/history/options.mako:20
msgid "Construct workflow"
msgstr ""
#: templates/history/options.mako:17
msgid "Create"
msgstr ""
#: templates/user/index.mako:24
msgid "Create new account"
msgstr ""
#: templates/history/rename.mako:9
msgid "Current Name"
msgstr ""
#: templates/history/options.mako:24
msgid "Delete"
msgstr ""
#: templates/history/share.mako:23
msgid "Email of User to share with:"
msgstr ""
#: templates/root/history_common.mako:76
#, python-format
msgid "Error: unknown dataset state \"%s\"."
msgstr ""
#: templates/admin_main.mako:2 templates/admin_main.mako:7
msgid "Galaxy Administration"
msgstr ""
#: templates/root/history.mako:12
msgid "Galaxy History"
msgstr ""
#: templates/root/tool_menu.mako:11
msgid "Galaxy Tools"
msgstr ""
#: templates/root/index.mako:34
msgid "History"
msgstr ""
#: templates/history/share.mako:8
msgid "History Name:"
msgstr ""
#: templates/history/options.mako:4
msgid "History Options"
msgstr ""
#: templates/root/history_common.mako:57 templates/root/masthead.mako:25
msgid "Info: "
msgstr ""
#: templates/root/history_common.mako:38
msgid "Job is currently running"
msgstr ""
#: templates/root/history_common.mako:36
msgid "Job is waiting to run"
msgstr ""
#: templates/history/options.mako:15
msgid "List"
msgstr ""
#: templates/root/masthead.mako:36
#, python-format
msgid "Logged in as %s: "
msgstr ""
#: templates/user/index.mako:23
msgid "Login"
msgstr ""
#: templates/user/index.mako:18
msgid "Logout"
msgstr ""
#: templates/root/tool_menu.mako:100
msgid "Manage"
msgstr ""
#: templates/history/rename.mako:9
msgid "New Name"
msgstr ""
#: templates/root/history_common.mako:45
msgid "No data: "
msgstr ""
#: templates/history/share.mako:8
msgid "Number of Datasets:"
msgstr ""
#: templates/root/index.mako:32
msgid "Options"
msgstr ""
#: templates/admin_main.mako:27
msgid "Reload"
msgstr ""
#: templates/admin_main.mako:18
msgid "Reload tool: "
msgstr ""
#: templates/history/options.mako:14
msgid "Rename"
msgstr ""
#: templates/history/rename.mako:2 templates/history/rename.mako:5
msgid "Rename History"
msgstr ""
#: templates/history/options.mako:22
msgid "Share"
msgstr ""
#: templates/history/share.mako:5
msgid "Share Histories"
msgstr ""
#: templates/history/share.mako:8
msgid "Share Link"
msgstr ""
#: templates/history/share.mako:2
msgid "Share histories"
msgstr ""
#: templates/history/share.mako:14
msgid "This history contains no data."
msgstr ""
#: templates/root/index.mako:5
msgid "Tools"
msgstr ""
#: templates/user/index.mako:17
msgid "Update your email address"
msgstr ""
#: templates/root/tool_menu.mako:95
msgid "Workflow"
msgstr ""
#: templates/user/index.mako:14
#, python-format
msgid "You are currently logged in as %s."
msgstr ""
#: templates/user/index.mako:21
msgid "You are currently not logged in."
msgstr ""
#: templates/root/history.mako:223
msgid "You are currently viewing a deleted history!"
msgstr ""
#: templates/history/options.mako:8
msgid "You must be "
msgstr ""
#: templates/root/history.mako:252
msgid "Your history is empty. Click 'Get Data' on the left pane to start"
msgstr ""
#: templates/root/masthead.mako:28
msgid "blog"
msgstr ""
#: templates/history/share.mako:20
msgid "copy link to share"
msgstr ""
#: templates/root/masthead.mako:39
msgid "create"
msgstr ""
#: templates/root/history_common.mako:50
msgid "database: "
msgstr ""
#: templates/root/history_common.mako:49
msgid "format: "
msgstr ""
#: templates/history/options.mako:8
msgid "logged in"
msgstr ""
#: templates/root/masthead.mako:40
msgid "login"
msgstr ""
#: templates/root/masthead.mako:37
msgid "logout"
msgstr ""
#: templates/root/masthead.mako:36
msgid "manage"
msgstr ""
#: templates/root/history.mako:218
msgid "refresh"
msgstr ""
#: templates/root/masthead.mako:25
msgid "report bugs"
msgstr ""
#: templates/root/history_common.mako:42
msgid "report this error"
msgstr ""
#: templates/root/masthead.mako:27
msgid "screencasts"
msgstr ""
#: templates/root/masthead.mako:26
msgid "wiki"
msgstr ""
#: templates/root/tool_menu.mako:100
msgid "workflows"
msgstr ""
Binary file not shown.
+518
View File
@@ -0,0 +1,518 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: ginga 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-15 13:58+0900\n"
"PO-Revision-Date: 2008-09-21 19:13+0900\n"
"Last-Translator: Mitsuteru Nakao <mn@kazusa.or.jp>\n"
"Language-Team: Japanese\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#:
msgid "iso-8859-1"
msgstr "utf-8"
#:
msgid "lang=\"en\""
msgstr "lang=\"ja\""
#: templates/base_panels.mako:5
msgid "Galaxy"
msgstr "Galaxy"
#: templates/history/options.mako:24
msgid "Are you sure you want to delete the current history?"
msgstr "現在のヒストリーを消すことに同意しますか?"
#: templates/root/history.mako:38
msgid "collapse all"
msgstr "すべてをおりたたむ"
#: templates/root/index.mako:5
msgid "Tools"
msgstr "ツール"
#: tools/**.xml
msgid "Get Data"
msgstr "データ取得"
msgid "Get ENCODE Data"
msgstr "ENCODEデータ取得"
msgid "ENCODE Tools"
msgstr "ENCODEツール"
msgid "Lift-Over"
msgstr ""
msgid "Text Manipulation"
msgstr "テキスト操作"
msgid "Filter and Sort"
msgstr "フィルターとソート"
msgid "Join, Subtract and Group"
msgstr "結合、差分、集合演算"
msgid "Convert Formats"
msgstr "フォーマット変換"
msgid "Extract Features"
msgstr "Features抽出"
msgid "Fetch Sequences"
msgstr "配列の取得"
msgid "Fetch Alignments"
msgstr "アラインメントの取得"
msgid "Get Genomic Scores"
msgstr "ゲノムスコア取得"
msgid "Operate on Genomic Intervals"
msgstr "ゲノム間隔での操作"
msgid "Statistics"
msgstr "統計量"
msgid "Graph/Display Data"
msgstr "グラフ/データ表示"
msgid "Regional Variation"
msgstr "領域的多型"
msgid "Evolution: HyPhy"
msgstr "進化: HyPhy"
msgid "Taxonomy manipulation"
msgstr "系統学的操作"
msgid "Solexa tools"
msgstr "Solexaツールス"
msgid "FASTA manipulation"
msgstr "FASTA操作"
msgid "Short Read QC and Manipulation"
msgstr "Short Read QCと操作"
msgid "Short Read Mapping"
msgstr "Short Readマッピング"
#: templates/admin_main.mako:3 templates/admin_main.mako:8
msgid "Galaxy Administration"
msgstr "Galaxy 管理"
#: templates/admin_main.mako:17
msgid "Admin password: "
msgstr "管理者パスワード: "
#: templates/admin_main.mako:19
msgid "Reload tool: "
msgstr ""
#: templates/admin_main.mako:35
msgid "Reload"
msgstr "再読込する"
#: templates/dataset/edit_attributes.mako:2
msgid "History Item Attributes"
msgstr "ヒストリーアイテム変数"
#: templates/dataset/edit_attributes.mako:19
msgid "Edit Attributes"
msgstr "変数を編集する"
#: templates/dataset/edit_attributes.mako:64
msgid ""
"This will inspect the dataset and attempt to correct the above column values "
"if they are not accurate."
msgstr "これはデータセットを調査して上記のカラムの値を修正することを試みます。"
#: templates/dataset/edit_attributes.mako:68
msgid ""
"Required metadata values are missing. Some of these values may not be "
"editable by the user. Selecting \"Auto-detect\" will attempt to fix these "
"values."
msgstr "必要なメタデータの値が不明です。それらのいくつかの値はユーザによって編集可能にはなっていません。「自動判定」を選択するとそれらの値をただしくできるかもしれません。"
#: templates/dataset/edit_attributes.mako:78
msgid "Convert to new format"
msgstr "新しいフォーマットに変換する"
#: templates/dataset/edit_attributes.mako:84
msgid "Convert to"
msgstr "変換する"
#: templates/dataset/edit_attributes.mako:95
msgid ""
"This will create a new dataset with the contents of this dataset converted "
"to a new format."
msgstr "新しいフォーマットに変換したデータセットを新規作成します。"
#: templates/dataset/edit_attributes.mako:111
msgid "Change data type"
msgstr "データタイプを変更する"
#: templates/dataset/edit_attributes.mako:117
msgid "New Type"
msgstr "新しいタイプ"
#: templates/dataset/edit_attributes.mako:124
msgid ""
"This will change the datatype of the existing dataset but <i>not</i> modify "
"its contents. Use this if Galaxy has incorrectly guessed the type of your "
"dataset."
msgstr "これは既存のデータセットのデータタイプを変更します。しかしデータセットの中身は変更しません。データセットのタイプの誤判定があったときに使用します。"
#: templates/dataset/edit_attributes.mako:137
msgid "Copy History Item"
msgstr "ヒストリーアイテムをコピーする"
#: templates/history/list.mako:3
msgid "Your saved histories"
msgstr "保存したヒストリー"
#: templates/history/list.mako:19
msgid "Stored Histories"
msgstr "格納してあるヒストリー"
#: templates/history/list.mako:21 templates/root/history.mako:239
msgid "hide deleted"
msgstr "削除したヒストリーを隠す"
#: templates/history/list.mako:23
msgid "show deleted"
msgstr "削除したヒストリーを表示する"
#: templates/history/list.mako:27
msgid "Name"
msgstr "名前"
#: templates/history/list.mako:27
msgid "Size"
msgstr "サイズ"
#: templates/history/list.mako:27
msgid "Last modified"
msgstr "最終更新日"
#: templates/history/list.mako:27
msgid "Actions"
msgstr "操作"
#: templates/history/list.mako:45
msgid "rename"
msgstr "名称変更する"
#: templates/history/list.mako:46
msgid "switch to"
msgstr "変更する"
#: templates/history/list.mako:47
msgid "delete"
msgstr "削除する"
#: templates/history/list.mako:49
msgid "undelete"
msgstr "削除から戻す"
#: templates/history/list.mako:55
msgid "Action"
msgstr "操作"
#: templates/history/list.mako:56 templates/history/options.mako:21
msgid "Share"
msgstr "共有"
#: templates/history/list.mako:56 templates/history/options.mako:15
msgid "Rename"
msgstr "名称変更する"
#: templates/history/list.mako:56 templates/history/options.mako:24
msgid "Delete"
msgstr "削除する"
#: templates/history/list.mako:58
msgid "Undelete"
msgstr "削除から戻す"
#: templates/history/list.mako:65
msgid "You have no stored histories"
msgstr "保管してあるヒストリーはありません"
#: templates/history/options.mako:5
msgid "History Options"
msgstr "ヒストリーオプション"
#: templates/history/options.mako:9
msgid "You must be "
msgstr "あなたは"
#: templates/history/options.mako:9
msgid "logged in"
msgstr "ログイン"
#: templates/history/options.mako:9
msgid " to store or switch histories."
msgstr "しないとヒストリーの保管や変更ができません。"
#: templates/history/options.mako:15
#, python-format
msgid " current history (stored as \"%s\")"
msgstr " 現在のヒストリー(\"%s\" として保管されています)"
#: templates/history/options.mako:16
msgid "List"
msgstr "リストする"
#: templates/history/options.mako:16
msgid " previously stored histories"
msgstr " 以前に保管したヒストリー"
#: templates/history/options.mako:18
msgid "Create"
msgstr "作成する"
#: templates/history/options.mako:18
msgid " a new empty history"
msgstr " 新規ヒストリー"
#: templates/history/options.mako:20
msgid "Construct workflow"
msgstr "ワークフローを構築する"
#: templates/history/options.mako:20
msgid " from the current history"
msgstr " 現在のヒストリーから"
#: templates/history/options.mako:21 templates/history/options.mako:24
msgid " current history"
msgstr " 現在のヒストリー"
#: templates/history/options.mako:23
msgid "Show deleted"
msgstr "削除したヒストリーを表示する"
#: templates/history/options.mako:23
msgid " datasets in history"
msgstr " ヒストリーのデータセット"
#: templates/history/rename.mako:3 templates/history/rename.mako:6
msgid "Rename History"
msgstr "ヒストリーの名称変更をする"
msgid "Rename Histories"
msgstr "名称変更する"
msgid "Perform Action"
msgstr "操作を実行する"
msgid "Submit"
msgstr "登録する"
#: templates/history/rename.mako:10
msgid "Current Name"
msgstr "現在の名称"
#: templates/history/rename.mako:10
msgid "New Name"
msgstr "新しい名称"
#: templates/history/share.mako:3
msgid "Share histories"
msgstr "ヒストリーを共有する"
#: templates/history/share.mako:6
msgid "Share Histories"
msgstr "ヒストリーを共有する"
#: templates/history/share.mako:9
msgid "History Name:"
msgstr "ヒストリー名"
#: templates/history/share.mako:9
msgid "Number of Datasets:"
msgstr "データセット数"
#: templates/history/share.mako:9
msgid "Share Link"
msgstr "共有リンク"
#: templates/history/share.mako:15
msgid "This history contains no data."
msgstr "このヒストリーにはデータがありません。"
#: templates/history/share.mako:21
msgid "copy link to share"
msgstr "共有リンクをコピーする"
#: templates/history/share.mako:24
msgid "Email of User to share with:"
msgstr "共有したいユーザのEメール:"
#msgstr "つぎのヒストリーを共有するユーザのEメールアドレス:"
#: templates/root/history.mako:7
msgid "Galaxy History"
msgstr "Galaxy ヒストリー"
#: templates/root/history.mako:237
msgid "refresh"
msgstr "リフレッシュ"
#: templates/root/history.mako:245
msgid "You are currently viewing a deleted history!"
msgstr "消去したヒストリーをみています。"
#: templates/root/history.mako:289
msgid "Your history is empty. Click 'Get Data' on the left pane to start"
msgstr "ヒストリーは空です。解析をはじめるには、左パネルの 'データ取得' をクリック"
#: templates/root/history_common.mako:41
msgid "Job is waiting to run"
msgstr "ジョブは実行待ちです"
#: templates/root/history_common.mako:43
msgid "Job is currently running"
msgstr "ジョブは実行中です"
#: templates/root/history_common.mako:46
msgid "An error occurred running this job: "
msgstr "このジョブの実行中に発生したエラー: "
#: templates/root/history_common.mako:47
msgid "report this error"
msgstr "このエラーを報告する"
#: templates/root/history_common.mako:54
msgid "No data: "
msgstr "データ無し: "
#: templates/root/history_common.mako:58
msgid "format: "
msgstr "フォーマット: "
#: templates/root/history_common.mako:59
msgid "database: "
msgstr "データベース: "
#: templates/root/history_common.mako:66 templates/root/masthead.mako:20
msgid "Info: "
msgstr "情報: "
#: templates/root/history_common.mako:85
#, python-format
msgid "Error: unknown dataset state \"%s\"."
msgstr "エラー: 不明なデータ状態 \"%s\"。"
#: templates/root/index.mako:32
msgid "Options"
msgstr "オプション"
#: templates/root/index.mako:34
msgid "History"
msgstr "ヒストリー"
#: templates/root/masthead.mako:20
msgid "report bugs"
msgstr "バグを報告する"
#: templates/root/masthead.mako:21
msgid "wiki"
msgstr "wiki"
#: templates/root/masthead.mako:22
msgid "screencasts"
msgstr "スクリーンキャスト"
#: templates/root/masthead.mako:23
msgid "blog"
msgstr "ブログ"
#: templates/root/masthead.mako:31
#, python-format
msgid "Logged in as %s: "
msgstr "%s としてログイン中: "
#: templates/root/masthead.mako:31
msgid "manage"
msgstr "管理"
#: templates/root/masthead.mako:32
msgid "logout"
msgstr "ログアウト"
#: templates/root/masthead.mako:34
msgid "Account: "
msgstr "アカウント: "
#: templates/root/masthead.mako:34
msgid "create"
msgstr "作成"
#: templates/root/masthead.mako:35
msgid "login"
msgstr "ログイン"
#: templates/root/tool_menu.mako:52
msgid "Galaxy Tools"
msgstr "Galaxy ツール群"
#: templates/root/tool_menu.mako:129
msgid "Workflow"
msgstr "ワークフロー"
#: templates/root/tool_menu.mako:134
msgid "Manage"
msgstr "管理"
#: templates/root/tool_menu.mako:134
msgid "workflows"
msgstr "ワークフロー"
#: templates/user/index.mako:2 templates/user/index.mako:4
msgid "Account settings"
msgstr "アカウント設定"
#: templates/user/index.mako:7
#, python-format
msgid "You are currently logged in as %s."
msgstr "%s としてログイン中。"
#: templates/user/index.mako:9
msgid "Change your password"
msgstr "パスワード変更"
#: templates/user/index.mako:10
msgid "Update your email address"
msgstr "メールアドレス変更"
#: templates/user/index.mako:11
msgid "Logout"
msgstr "ログアウト"
#: templates/user/index.mako:16
msgid "Login"
msgstr "ログイン"
#: templates/user/index.mako:17
msgid "Create new account"
msgstr "新規アカウントを作成する"
Binary file not shown.
+85
View File
@@ -0,0 +1,85 @@
# Japanese translations for PROJECT.
# Copyright (C) 2009 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2009-03-17 04:06-0400\n"
"PO-Revision-Date: 2009-03-17 04:06-0400\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: ja <LL@li.org>\n"
"Plural-Forms: nplurals=1; plural=0\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 0.9.4\n"
msgid "Get Data"
msgstr ""
msgid "Get ENCODE Data"
msgstr ""
msgid "ENCODE Tools"
msgstr ""
msgid "Lift-Over"
msgstr ""
msgid "Text Manipulation"
msgstr ""
msgid "Filter and Sort"
msgstr ""
msgid "Join, Subtract and Group"
msgstr ""
msgid "Convert Formats"
msgstr ""
msgid "Extract Features"
msgstr ""
msgid "Fetch Sequences"
msgstr ""
msgid "Fetch Alignments"
msgstr ""
msgid "Get Genomic Scores"
msgstr ""
msgid "Operate on Genomic Intervals"
msgstr ""
msgid "Statistics"
msgstr ""
msgid "Graph/Display Data"
msgstr ""
msgid "Regional Variation"
msgstr ""
msgid "Evolution: HyPhy"
msgstr ""
msgid "Taxonomy manipulation"
msgstr ""
msgid "Solexa tools"
msgstr ""
msgid "FASTA manipulation"
msgstr ""
msgid "Short Read QC and Manipulation"
msgstr ""
msgid "Short Read Mapping"
msgstr ""
+66
View File
@@ -0,0 +1,66 @@
#: tools/**.xml
msgid "Get Data"
msgstr ""
msgid "Get ENCODE Data"
msgstr ""
msgid "ENCODE Tools"
msgstr ""
msgid "Lift-Over"
msgstr ""
msgid "Text Manipulation"
msgstr ""
msgid "Filter and Sort"
msgstr ""
msgid "Join, Subtract and Group"
msgstr ""
msgid "Convert Formats"
msgstr ""
msgid "Extract Features"
msgstr ""
msgid "Fetch Sequences"
msgstr ""
msgid "Fetch Alignments"
msgstr ""
msgid "Get Genomic Scores"
msgstr ""
msgid "Operate on Genomic Intervals"
msgstr ""
msgid "Statistics"
msgstr ""
msgid "Graph/Display Data"
msgstr ""
msgid "Regional Variation"
msgstr ""
msgid "Evolution: HyPhy"
msgstr ""
msgid "Taxonomy manipulation"
msgstr ""
msgid "Solexa tools"
msgstr ""
msgid "FASTA manipulation"
msgstr ""
msgid "Short Read QC and Manipulation"
msgstr ""
msgid "Short Read Mapping"
msgstr ""
+1
View File
@@ -7,6 +7,7 @@ top level directly.
import os, sys
sys.setdefaultencoding( 'utf_8' )
assert sys.version_info[:2] >= ( 2, 4 )
new_path = [ os.path.join( os.getcwd(), "lib" ) ]
+7 -6
View File
@@ -1,12 +1,13 @@
<% _=n_ %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>${self.title()}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
${self.stylesheets()}
${self.javascripts()}
</head>
<head>
<title>a ${self.title()}</title>
<meta http-equiv="Content-Type" content="text/html; charset=${_('iso-8859-1')}" />
${self.stylesheets()}
${self.javascripts()}
</head>
<body>
${next.body()}
+5 -6
View File
@@ -199,14 +199,13 @@
</%def>
## Document
<html lang="en">
<html>
${self.init()}
<head>
<title>${self.title()}</title>
${self.javascripts()}
${self.stylesheets()}
<title>${self.title()}</title>
<meta http-equiv="Content-Type" content="text/html; charset=${_('iso-8859-1')}" />
${self.javascripts()}
${self.stylesheets()}
</head>
<body scroll="no">
+104 -109
View File
@@ -1,8 +1,7 @@
<%inherit file="/base.mako"/>
<%namespace file="/message.mako" import="render_msg" />
<%def name="title()">Edit Dataset Attributes</%def>
<%def name="title()">${_('Edit Dataset Attributes')}</%def>
<%def name="datatype( dataset, datatypes )">
<select name="datatype">
@@ -18,118 +17,95 @@
</%def>
<div class="toolForm">
<div class="toolFormTitle">Edit Attributes</div>
<div class="toolFormBody">
<form name="edit_attributes" action="${h.url_for( controller='root', action='edit' )}" method="post">
<input type="hidden" name="id" value="${data.id}"/>
<div class="form-row">
<div class="toolFormTitle">${_('Edit Attributes')}</div>
<div class="toolFormBody">
<form name="edit_attributes" action="${h.url_for( action='edit' )}" method="post">
<input type="hidden" name="id" value="${data.id}">
<div class="form-row">
<label>
Name:
</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="name" value="${data.name}" size="40">
</div>
<div style="clear: both"></div>
</div>
<div class="form-row">
<label>
Info:
</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="info" value="${data.info}" size="40">
</div>
<div style="clear: both"></div>
</div>
%for name, spec in data.metadata.spec.items():
%if spec.visible:
<div class="form-row">
<label>
${spec.desc}:
</label>
<div style="float: left; width: 250px; margin-right: 10px;">
${data.metadata.get_html_by_name( name )}
</div>
<div style="clear: both"></div>
</div>
%endif
%endfor
<div class="form-row">
<input type="submit" name="save" value="${_('Save')}">
</div>
</form>
<form name="auto_detect" action="${h.url_for( action='edit' )}" method="post">
<input type="hidden" name="id" value="${data.id}">
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="submit" name="detect" value="${_('Auto-detect')}">
</div>
<div class="toolParamHelp" style="clear: both;">
${_('This will inspect the dataset and attempt to correct the above column values if they are not accurate.')}
</div>
</form>
%if data.missing_meta():
<div class="errormessagesmall">${_('Required metadata values are missing. Some of these values may not be editable by the user. Selecting "Auto-detect" will attempt to fix these values.')}</div>
%endif
</div>
</div>
<p />
<% converters = data.get_converter_types() %>
%if len( converters ) > 0:
<div class="toolForm">
<div class="toolFormTitle">${_('Convert to new format')}</div>
<div class="toolFormBody">
<form name="convert_data" action="${h.url_for( action='edit' )}" method="post">
<input type="hidden" name="id" value="${data.id}">
<div class="form-row">
<label>
Name:
${_('Convert to')}:
</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="name" value="${data.name}" size="40"/>
</div>
<div style="clear: both"></div>
</div>
<div class="form-row">
<label>
Info:
</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="text" name="info" value="${data.info}" size="40"/>
</div>
<div style="clear: both"></div>
</div>
%for name, spec in data.metadata.spec.items():
%if spec.visible:
<div class="form-row">
<label>
${spec.desc}:
</label>
<div style="float: left; width: 250px; margin-right: 10px;">
${data.metadata.get_html_by_name( name )}
</div>
<div style="clear: both"></div>
</div>
%endif
%endfor
<div class="form-row">
<input type="submit" name="save" value="Save"/>
</div>
</form>
<form name="auto_detect" action="${h.url_for( controller='root', action='edit' )}" method="post">
<input type="hidden" name="id" value="${data.id}"/>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="submit" name="detect" value="Auto-detect"/>
</div>
<div class="toolParamHelp" style="clear: both;">
This will inspect the dataset and attempt to correct the above column values if they are not accurate.
</div>
</form>
%if data.missing_meta():
<div class="errormessagesmall">Required metadata values are missing. Some of these values may not be changeable by the user. Selecting "Auto-detect" will attempt to fix these values.</div>
%endif
</div>
</div>
<p />
<% converters = data.get_converter_types() %>
%if len( converters ) > 0:
<div class="toolForm">
<div class="toolFormTitle">Convert to new format</div>
<div class="toolFormBody">
<form name="convert_data" action="${h.url_for( controller='root', action='edit' )}" method="post">
<input type="hidden" name="id" value="${data.id}"/>
<div class="form-row">
<label>
Convert to:
</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<select name="target_type">
%for key, value in converters.items():
<option value="${key}">${value.name[8:]}</option>
%endfor
</select>
</div>
<div class="toolParamHelp" style="clear: both;">
This will create a new dataset with the contents of this dataset converted to a new format.
</div>
<div style="clear: both"></div>
</div>
<div class="form-row">
<input type="submit" name="convert_data" value="Convert"/>
</div>
</form>
</div>
</div>
<p />
%endif
<div class="toolForm">
<div class="toolFormTitle">Change data type</div>
<div class="toolFormBody">
<form name="change_datatype" action="${h.url_for( controller='root', action='edit' )}" method="post">
<input type="hidden" name="id" value="${data.id}"/>
<div class="form-row">
<label>
New Type:
</label>
<div style="float: left; width: 250px; margin-right: 10px;">
${datatype( data, datatypes )}
<select name="target_type">
%for key, value in converters.items():
<option value="${key}">${value.name[8:]}</option>
%endfor
</select>
</div>
<div class="toolParamHelp" style="clear: both;">
This will change the datatype of the existing dataset
but <i>not</i> modify its contents. Use this if Galaxy
has incorrectly guessed the type of your dataset.
${_('This will create a new dataset with the contents of this dataset converted to a new format.')}
</div>
<div style="clear: both"></div>
</div>
<div class="form-row">
<input type="submit" name="change" value="Save"/>
</div>
</form>
</div>
</div>
<p />
</div>
<div class="form-row">
<input type="submit" name="convert_data" value="${_('Convert')}">
</div>
</form>
</div>
</div>
<p />
%endif
%if trans.app.security_agent.allow_action( trans.user, data.permitted_actions.DATASET_MANAGE_PERMISSIONS, dataset = data ):
<%namespace file="/dataset/security_common.mako" import="render_permission_form" />
${render_permission_form( data.dataset, data.name, h.url_for( controller='root', action='edit', id=data.id ), trans.user.all_roles() )}
@@ -154,7 +130,26 @@
%else:
<p>This dataset is accessible by everyone (it is public).</p>
%endif
<div class="toolForm">
<div class="toolFormTitle">${_('Change data type')}</div>
<div class="toolFormBody">
<form name="change_datatype" action="${h.url_for( action='edit' )}" method="post">
<input type="hidden" name="id" value="${data.id}">
<div class="form-row">
<label>
${_('New Type')}:
</label>
<div style="float: left; width: 250px; margin-right: 10px;">
${datatype( data, datatypes )}
</div>
</div>
</div>
%endif
<div class="toolParamHelp" style="clear: both;">
${_('This will change the datatype of the existing dataset but <i>not</i> modify its contents. Use this if Galaxy has incorrectly guessed the type of your dataset.')}
</div>
<div style="clear: both"></div>
</div>
<div class="form-row">
<input type="submit" name="change" value="${_('Save')}">
</div>
</form>
</div>
</div>
+28 -27
View File
@@ -1,3 +1,4 @@
<% _=n_ %>
<%inherit file="/base.mako"/>
<%def name="title()">${form.title}</%def>
@@ -15,33 +16,33 @@ $(function(){
%endif
<div class="form">
<div class="form-title">${form.title}</div>
<div class="form-body">
<form name="${form.name}" action="${form.action}" method="post" >
%for input in form.inputs:
<%
cls = "form-row"
if input.error:
cls += " form-row-error"
%>
<div class="${cls}">
%if input.use_label:
<label>
${input.label}:
</label>
%endif
<div class="form-row-input">
<input type="${input.type}" name="${input.name}" value="${input.value}" size="40">
</div>
%if input.error:
<div class="form-row-error-message">${input.error}</div>
%endif
%if input.help:
<div class="toolParamHelp" style="clear: both;">
${input.help}
</div>
%endif
<div class="toolFormTitle">${form.title}</div>
<div class="toolFormBody">
<form name="${form.name}" action="${form.action}" method="post" >
%for input in form.inputs:
<%
cls = "form-row"
if input.error:
cls += " form-row-error"
%>
<div class="${cls}">
<label>
${_(input.label)}:
</label>
<div style="float: left; width: 250px; margin-right: 10px;">
<input type="${input.type}" name="${input.name}" value="${input.value}" size="40">
</div>
%if input.error:
<div style="float: left; color: red; font-weight: bold; padding-top: 1px; padding-bottom: 3px;">
<div style="width: 300px;"><img style="vertical-align: middle;" src="${h.url_for('/static/style/error_small.png')}">&nbsp;<span style="vertical-align: middle;">${input.error}</span></div>
</div>
%endif
%if input.help:
<div class="toolParamHelp" style="clear: both;">
${input.help}
</div>
%endif
<div style="clear: both"></div>
+3 -1
View File
@@ -1,3 +1,4 @@
<% _=n_ %>
<%inherit file="/base.mako"/>
<%def name="title()">Your saved histories</%def>
@@ -62,7 +63,7 @@
</%def>
<h2>Stored Histories</h2>
<h2>${_('Stored Histories')}</h2>
<ul class="manage-table-actions">
<li>
@@ -199,3 +200,4 @@
+1
View File
@@ -24,3 +24,4 @@
<li><a href="${h.url_for( controller='history', action='list', operation="delete", id=history.id )}" confirm="Are you sure you want to delete the current history?">Delete</a> current history</div>
</ul>
+5 -4
View File
@@ -1,16 +1,17 @@
<% _=n_ %>
<%inherit file="/base.mako"/>
<%def name="title()">Rename History</%def>
<%def name="title()">${_('Rename History')}</%def>
<div class="toolForm">
<div class="toolFormTitle">Rename History</div>
<div class="toolFormTitle">${_('Rename History')}</div>
<div class="toolFormBody">
<form action="${h.url_for( controller='history', action='rename' )}" method="post" >
<table>
<tr><th>Current Name</th><th>New Name</th></tr>
<tr><th>${_('Current Name')}</th><th>${_('New Name')}</th></tr>
%for history in histories:
<tr><td>${history.name}<input type="hidden" name="id" value="${history.id}"></td><td><input type="text" name="name" value="${history.name}" size="40"></td></tr>
%endfor
<tr><td colspan="2"><input type="submit" name="history_rename_btn" value="Rename Histories"></td></tr>
<tr><td colspan="2"><input type="submit" name="history_rename_btn" value="${_('Rename Histories')}"></td></tr>
</table>
</form>
</div>
+1
View File
@@ -115,3 +115,4 @@
</div>
</form>
%endif
+1
View File
@@ -51,3 +51,4 @@
<div class="${messagetype}message">${msg}</div>
<br/>
</%def>
+51 -50
View File
@@ -1,16 +1,17 @@
<% _=n_ %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Galaxy History</title>
<title>${_('Galaxy History')}</title>
## This is now only necessary for tests
%if bool( [ data for data in history.active_datasets if data.state in ['running', 'queued', '', None ] ] ):
<!-- running: do not change this comment, used by TwillTestCase.wait -->
%endif
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Type" content="text/html; charset=${_('iso-8859-1')}" />
<meta http-equiv="Pragma" content="no-cache">
<link href="${h.url_for('/static/style/base.css')}" rel="stylesheet" type="text/css" />
<link href="${h.url_for('/static/style/history.css')}" rel="stylesheet" type="text/css" />
@@ -29,7 +30,7 @@
initShowHide();
setupHistoryItem( q("div.historyItemWrapper") );
// Collapse all
q("#top-links").append( "|&nbsp;" ).append( q("<a href='#'>collapse all</a>").click( function() {
q("#top-links").append( "|&nbsp;" ).append( q("<a href='#'>${_('collapse all')}</a>").click( function() {
q( "div.historyItemBody:visible" ).each( function() {
if ( q.browser.mozilla )
{
@@ -39,7 +40,7 @@
})
var state = new CookieSet( "galaxy.history.expand_state" );
state.removeAll().save();
return false;
return false;
}));
$("#history-rename").click( function() {
var old_name = $("#history-name").text()
@@ -72,13 +73,13 @@
return false;
})
})
// Functionized so AJAX'd datasets can call them
//' Functionized so AJAX'd datasets can call them
// Get shown/hidden state from cookie
function initShowHide() {
q( "div.historyItemBody" ).hide();
// Load saved state and show as neccesary
var state = new CookieSet( "galaxy.history.expand_state" );
for ( id in state.store ) { q( "#" + id ).children( "div.historyItemBody" ).show(); }
for ( id in state.store ) { q( "#" + id ).children( "div.historyItemBody" ).show(); }
// If Mozilla, hide scrollbars in hidden items since they cause animation bugs
if ( q.browser.mozilla ) {
q( "div.historyItemBody" ).each( function() {
@@ -110,51 +111,51 @@
state.add( id ); state.save();
delete state;
}
return false;
return false;
});
// Delete link
q(this).find( "a.historyItemDelete" ).each( function() {
var data_id = this.id.split( "-" )[1];
q(this).click( function() {
q( '#progress-' + data_id ).show();
q.ajax({
url: "${h.url_for( action='delete_async', id='XXX' )}".replace( 'XXX', data_id ),
error: function() { alert( "Delete failed" ) },
success: function() {
%if show_deleted:
var to_update = {};
to_update[data_id] = "none";
updater( to_update );
%else:
q( "#historyItem-" + data_id ).fadeOut( "fast", function() {
q( "div#historyItemContainer-" + data_id ).remove();
if ( q( "div.historyItemContainer" ).length < 1 ) {
q ( "div#emptyHistoryMessage" ).show();
}
});
%endif
}
});
return false;
});
});
var data_id = this.id.split( "-" )[1];
q(this).click( function() {
q( '#progress-' + data_id ).show();
q.ajax({
url: "${h.url_for( action='delete_async', id='XXX' )}".replace( 'XXX', data_id ),
error: function() { alert( "Delete failed" ) },
success: function() {
%if show_deleted:
var to_update = {};
to_update[data_id] = "none";
updater( to_update );
%else:
q( "#historyItem-" + data_id ).fadeOut( "fast", function() {
q( "div#historyItemContainer-" + data_id ).remove();
if ( q( "div.historyItemContainer" ).length < 1 ) {
q ( "div#emptyHistoryMessage" ).show();
}
});
%endif
}
});
return false;
});
});
// Undelete link
q(this).find( "a.historyItemUndelete" ).each( function() {
var data_id = this.id.split( "-" )[1];
q(this).click( function() {
q( '#progress-' + data_id ).show();
q.ajax({
url: "${h.url_for( controller='dataset', action='undelete_async', id='XXX' )}".replace( 'XXX', data_id ),
error: function() { alert( "Undelete failed" ) },
success: function() {
var to_update = {};
to_update[data_id] = "none";
updater( to_update );
}
});
return false;
});
});
var data_id = this.id.split( "-" )[1];
q(this).click( function() {
q( '#progress-' + data_id ).show();
q.ajax({
url: "${h.url_for( controller='dataset', action='undelete_async', id='XXX' )}".replace( 'XXX', data_id ),
error: function() { alert( "Undelete failed" ) },
success: function() {
var to_update = {};
to_update[data_id] = "none";
updater( to_update );
}
});
return false;
});
});
});
};
// Looks for changes in dataset state using an async request. Keeps
@@ -237,9 +238,9 @@
<body class="historyPage">
<div id="top-links" class="historyLinks">
<a href="${h.url_for('history', show_deleted=show_deleted)}">refresh</a>
<a href="${h.url_for('history', show_deleted=show_deleted)}">${_('refresh')}</a>
%if show_deleted:
| <a href="${h.url_for('history', show_deleted=False)}">hide deleted</a>
| <a href="${h.url_for('history', show_deleted=False)}">${_('hide deleted')}</a>
%endif
</div>
@@ -250,7 +251,7 @@
%if history.deleted:
<div class="warningmessagesmall">
You are currently viewing a deleted history!
${_('You are currently viewing a deleted history!')}
</div>
<p></p>
%endif
@@ -289,7 +290,7 @@
</script>
<div class="infomessagesmall" id="emptyHistoryMessage" style="display:none;">
%endif
Your history is empty. Click 'Get Data' on the left pane to start
${_("Your history is empty. Click 'Get Data' on the left pane to start")}
</div>
</body>
+1 -1
View File
@@ -2,7 +2,7 @@
<history>
%for data in history.active_datasets:
<data id="${data.id}" hid="${data.hid}" name="${data.name}" state="${data.state}" dbkey="${data.dbkey}">
${data.blurb}
${_(data.blurb)}
</data>
%endfor
</history>
+5
View File
@@ -25,6 +25,8 @@
</div>
%if data_state == 'running':
<div><img src="${h.url_for('/static/style/data_running.gif')}" border="0" align="middle"></div>
%elif data_state == 'upload':
<div><img src="${h.url_for('/static/style/data_upload.gif')}" border="0" align="middle"></div>
%elif data_state != 'ok':
<div><img src="${h.url_for( "/static/style/data_%s.png" % data_state )}" border="0" align="middle"></div>
%endif
@@ -42,6 +44,8 @@
<div id="info${data.id}" class="historyItemBody">
%if not trans.app.security_agent.allow_action( trans.user, data.permitted_actions.DATASET_ACCESS, dataset = data.dataset ):
<div>You do not have permission to view this dataset.</div>
%elif data_state == "upload":
<div>Dataset is uploading</div>
%elif data_state == "queued":
<div>Job is waiting to run</div>
%elif data_state == "running":
@@ -115,3 +119,4 @@
</div>
</%def>
+1
View File
@@ -57,3 +57,4 @@
<iframe name="galaxy_history" width="100%" height="100%" frameborder="0" style="position: absolute; margin: 0; border: 0 none; height: 100%;" src="${h.url_for( controller='root', action='history' )}"></iframe>
</div>
</%def>
+1
View File
@@ -79,3 +79,4 @@
</body>
</html>
+1
View File
@@ -119,3 +119,4 @@
</body>
</html>
+1
View File
@@ -18,3 +18,4 @@
<li><a href="${h.url_for( action='create' )}">Register</a></li>
</ul>
%endif
@@ -1,3 +1,4 @@
<% _ = t.gettext %>
<!-- -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
@@ -49,7 +50,7 @@ th {
</table>
%if disabled:
<hr>
<div><input type="checkbox" name="dataset_ids" value="${data.hid}" checked="true" />Treat as input dataset</div>
<div><input type="checkbox" name="dataset_ids" value="${data.hid}" checked="true" />${_('Treat as input dataset')}</div>
%endif
</div>
</%def>
@@ -67,17 +68,17 @@ into a workflow will be shown in gray.</p>
<form method="post" action="${h.url_for()}">
<div class='form-row'>
<label>Workflow name</label>
<label>${_('Workflow name')}</label>
<input name="workflow_name" type="text" value="Workflow constructed from history '${history.name}'" size="60"/>
</div>
<p><input type="submit" value="Create Workflow" /></p>
<p><input type="submit" value="${_('Create Workflow')}" /></p>
<table border="0" cellspacing="0">
<tr>
<th style="width: 47.5%">Tool</th>
<th style="width: 47.5%">${_('Tool')}</th>
<th style="width: 5%"></th>
<th style="width: 47.5%">History items created</th>
<th style="width: 47.5%">${_('History items created')}</th>
</tr>
%for job, datasets in jobs.iteritems():
+3
View File
@@ -25,6 +25,7 @@ log = logging.getLogger( __name__ )
default_galaxy_test_host = "localhost"
default_galaxy_test_port = "9999"
default_galaxy_locales = 'en'
galaxy_test_file_dir = "test-data"
server = None
app = None
@@ -35,6 +36,8 @@ def setup():
galaxy_test_host = os.environ.get( 'GALAXY_TEST_HOST', default_galaxy_test_host )
galaxy_test_port = os.environ.get( 'GALAXY_TEST_PORT', default_galaxy_test_port )
if 'HTTP_ACCEPT_LANGUAGE' not in os.environ:
os.environ['HTTP_ACCEPT_LANGUAGE'] = default_galaxy_locales
start_server = 'GALAXY_TEST_EXTERNAL' not in os.environ
if start_server: