diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-10 11:59:53 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-10 11:59:53 +0200 |
commit | 6bb376d57d4a5f8ed0e54039ffefa94ea5e61baf (patch) | |
tree | f2e665e15c7d169205f56dc88f4849cfffcb489a /pyload/web | |
parent | new account page layout, added translations for webui (diff) | |
download | pyload-6bb376d57d4a5f8ed0e54039ffefa94ea5e61baf.tar.xz |
parse string from template files, added some translations for webu
Diffstat (limited to 'pyload/web')
8 files changed, 24 insertions, 24 deletions
diff --git a/pyload/web/app/templates/default/accounts/actionbar.html b/pyload/web/app/templates/default/accounts/actionbar.html index 239254dc1..d16f6d6e0 100644 --- a/pyload/web/app/templates/default/accounts/actionbar.html +++ b/pyload/web/app/templates/default/accounts/actionbar.html @@ -1,5 +1,5 @@ <ul class="actionbar nav span8 offset3"> <li> - <button class="btn btn-small btn-blue btn-add">Add Account</button> + <button class="btn btn-small btn-blue btn-add">{{ _ "Add Account" }}</button> </li> </ul>
\ No newline at end of file diff --git a/pyload/web/app/templates/default/dashboard/actionbar.html b/pyload/web/app/templates/default/dashboard/actionbar.html index 341ece0bc..25b7676e5 100644 --- a/pyload/web/app/templates/default/dashboard/actionbar.html +++ b/pyload/web/app/templates/default/dashboard/actionbar.html @@ -7,7 +7,7 @@ <li> <ul class="breadcrumb"> - <li><a href="#">Local</a> <span class="divider">/</span></li> + <li><a href="#">{{_ "Local"}}</a> <span class="divider">/</span></li> <li class="active"></li> </ul> </li> @@ -16,7 +16,7 @@ <form class="form-search" action="#"> <div class="input-append"> <input type="text" class="search-query" style="width: 120px"> - <button type="submit" class="btn">Search</button> + <button type="submit" class="btn">{{ _ "Search" }}</button> </div> </form> </li> @@ -24,7 +24,7 @@ <a class="dropdown-toggle type" data-toggle="dropdown" href="#"> - Type + {{_ "Type" }} <b class="caret"></b> </a> <ul class="dropdown-menu"> @@ -42,15 +42,15 @@ data-toggle="dropdown" href="#"> <span class="state"> - All + {{ _ "All" }} </span> <b class="caret"></b> </a> <ul class="dropdown-menu"> - <li><a class="filter-state" data-state="0" href="#">All</a></li> - <li><a class="filter-state" data-state="1" href="#">Finished</a></li> - <li><a class="filter-state" data-state="2" href="#">Unfinished</a></li> - <li><a class="filter-state" data-state="3" href="#">Failed</a></li> + <li><a class="filter-state" data-state="0" href="#">{{ _ "All" }}</a></li> + <li><a class="filter-state" data-state="1" href="#">{{ _ "Finished" }}</a></li> + <li><a class="filter-state" data-state="2" href="#">{{ _ "Unfinished" }}</a></li> + <li><a class="filter-state" data-state="3" href="#">{{ _ "Failed" }}</a></li> </ul> </li> </ul>
\ No newline at end of file diff --git a/pyload/web/app/templates/default/dialogs/addAccount.html b/pyload/web/app/templates/default/dialogs/addAccount.html index bdc8a609a..ff4851d1d 100755 --- a/pyload/web/app/templates/default/dialogs/addAccount.html +++ b/pyload/web/app/templates/default/dialogs/addAccount.html @@ -1,11 +1,11 @@ <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> - <h3>Add an account</h3> + <h3>{{_ "Add an account" }}</h3> </div> <div class="modal-body"> <form class="form-horizontal" autocomplete="off"> <legend> - Please enter your account data + {{_ "Please enter your account data" }} </legend> <div class="control-group"> <label class="control-label" for="pluginSelect"> diff --git a/pyload/web/app/templates/default/dialogs/addPluginConfig.html b/pyload/web/app/templates/default/dialogs/addPluginConfig.html index e7a42a208..815a704f7 100755 --- a/pyload/web/app/templates/default/dialogs/addPluginConfig.html +++ b/pyload/web/app/templates/default/dialogs/addPluginConfig.html @@ -1,13 +1,13 @@ <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3> - Choose a plugin + {{_ "Choose a plugin" }} </h3> </div> <div class="modal-body"> <form class="form-horizontal"> <legend> - Please choose a plugin, which you want to configure + {{_ "Please choose a plugin, which you want to configure" }} </legend> <div class="control-group"> <label class="control-label" for="pluginSelect"> @@ -21,6 +21,6 @@ </form> </div> <div class="modal-footer"> - <a class="btn btn-success btn-add">Add</a> - <a class="btn btn-close">Close</a> + <a class="btn btn-success btn-add">{{_ "Add"}}</a> + <a class="btn btn-close">{{_ "Close"}}</a> </div>
\ No newline at end of file diff --git a/pyload/web/app/templates/default/dialogs/confirmDelete.html b/pyload/web/app/templates/default/dialogs/confirmDelete.html index 65ae1cb21..a12c5f326 100644 --- a/pyload/web/app/templates/default/dialogs/confirmDelete.html +++ b/pyload/web/app/templates/default/dialogs/confirmDelete.html @@ -1,11 +1,11 @@ <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> - <h3>Please confirm</h3> + <h3>{{_ "Please confirm"}}</h3> </div> <div class="modal-body"> - Do you want to delete the selected items? + {{_ "Do you want to delete the selected items?"}} </div> <div class="modal-footer"> - <a class="btn btn-danger btn-confirm"><i class="icon-trash icon-white"></i> Delete</a> - <a class="btn btn-close">Cancel</a> + <a class="btn btn-danger btn-confirm"><i class="icon-trash icon-white"></i> {{_ "Delete"}}</a> + <a class="btn btn-close">{{_ "Cancel"}}</a> </div>
\ No newline at end of file diff --git a/pyload/web/app/templates/default/dialogs/interactionTask.html b/pyload/web/app/templates/default/dialogs/interactionTask.html index a152a5046..722d43365 100755 --- a/pyload/web/app/templates/default/dialogs/interactionTask.html +++ b/pyload/web/app/templates/default/dialogs/interactionTask.html @@ -32,6 +32,6 @@ </form> </div> <div class="modal-footer"> - <a class="btn btn-success">Submit</a> - <a class="btn btn-close">Close</a> + <a class="btn btn-success">{{_ "Submit"}}</a> + <a class="btn btn-close">{{_ "Close"}}</a> </div>
\ No newline at end of file diff --git a/pyload/web/app/templates/default/dialogs/linkgrabber.html b/pyload/web/app/templates/default/dialogs/linkgrabber.html index 08418cf03..8d90131ac 100755 --- a/pyload/web/app/templates/default/dialogs/linkgrabber.html +++ b/pyload/web/app/templates/default/dialogs/linkgrabber.html @@ -44,6 +44,6 @@ </div> <div class="modal-footer"> - <a class="btn btn-success"><i class="icon-plus icon-white"></i> Add</a> - <a class="btn btn-close">Close</a> + <a class="btn btn-success"><i class="icon-plus icon-white"></i> {{_ "Add"}}</a> + <a class="btn btn-close">{{_ "Close"}}</a> </div>
\ No newline at end of file diff --git a/pyload/web/app/templates/default/header/layout.html b/pyload/web/app/templates/default/header/layout.html index 14a7f0424..30df742fa 100644 --- a/pyload/web/app/templates/default/header/layout.html +++ b/pyload/web/app/templates/default/header/layout.html @@ -10,7 +10,7 @@ <div class="arrow"></div> <div class="popover-inner"> <h3 class="popover-title"> - Running... + {{_ "Running..."}} <button type="button" class="close" aria-hidden="true">×</button> </h3> <div class="popover-content"> |