From 8857c2e512e62e09cbf56cea858999de7ad06a86 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 21 Dec 2007 21:02:27 +0000 Subject: [PATCH] ebl Add markups to do automatique translation instead of having multiple tpl dirs git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6083 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/tpl/about.tpl | 2 +- gui/bweb/tpl/ach_add.tpl | 21 ++--- gui/bweb/tpl/ach_content.tpl | 34 +++++---- gui/bweb/tpl/add_media.tpl | 14 ++-- gui/bweb/tpl/begin.tpl | 64 ++++++++-------- gui/bweb/tpl/btime.tpl | 68 ++++++++--------- gui/bweb/tpl/change_location.tpl | 8 +- gui/bweb/tpl/client_job_status.tpl | 18 ++--- gui/bweb/tpl/client_list.tpl | 34 ++++----- gui/bweb/tpl/config_edit.tpl | 48 ++++++------ gui/bweb/tpl/config_view.tpl | 52 ++++++------- gui/bweb/tpl/display_client_stats.tpl | 12 +-- gui/bweb/tpl/display_form_job.tpl | 72 ++++++++--------- gui/bweb/tpl/display_form_media.tpl | 24 +++--- gui/bweb/tpl/display_groups.tpl | 20 ++--- gui/bweb/tpl/display_job.tpl | 24 +++--- gui/bweb/tpl/display_job_group.tpl | 20 ++--- gui/bweb/tpl/display_job_zoom.tpl | 62 +++++++-------- gui/bweb/tpl/display_location.tpl | 12 +-- gui/bweb/tpl/display_log.tpl | 2 +- gui/bweb/tpl/display_media.tpl | 24 +++--- gui/bweb/tpl/display_media_zoom.tpl | 34 ++++----- gui/bweb/tpl/display_pool.tpl | 13 ++-- gui/bweb/tpl/display_user.tpl | 28 +++---- gui/bweb/tpl/display_users.tpl | 14 ++-- gui/bweb/tpl/error.tpl | 4 +- gui/bweb/tpl/fileset_view.tpl | 8 +- gui/bweb/tpl/fv_file_attribs.tpl | 2 +- gui/bweb/tpl/general.tpl | 16 ++-- gui/bweb/tpl/graph.tpl | 106 +++++++++++++------------- gui/bweb/tpl/groups_edit.tpl | 8 +- gui/bweb/tpl/help_extern.tpl | 25 +++--- gui/bweb/tpl/help_extern_compute.tpl | 30 ++++---- gui/bweb/tpl/help_intern.tpl | 17 ++--- gui/bweb/tpl/help_intern_compute.tpl | 28 +++---- gui/bweb/tpl/install.tpl | 9 --- gui/bweb/tpl/location_add.tpl | 18 ++--- gui/bweb/tpl/location_edit.tpl | 16 ++-- gui/bweb/tpl/move_media.tpl | 34 ++++----- gui/bweb/tpl/overview.tpl | 2 +- gui/bweb/tpl/run_job.tpl | 12 +-- gui/bweb/tpl/run_job_mod.tpl | 30 ++++---- gui/bweb/tpl/running_job.tpl | 56 +++++++------- gui/bweb/tpl/scheduled_job.tpl | 24 +++--- gui/bweb/tpl/stats.tpl | 4 +- gui/bweb/tpl/update_location.tpl | 22 +++--- gui/bweb/tpl/update_media.tpl | 58 +++++++------- 47 files changed, 622 insertions(+), 631 deletions(-) delete mode 100644 gui/bweb/tpl/install.tpl diff --git a/gui/bweb/tpl/about.tpl b/gui/bweb/tpl/about.tpl index e45868a318..41e8a4bcde 100644 --- a/gui/bweb/tpl/about.tpl +++ b/gui/bweb/tpl/about.tpl @@ -1,6 +1,6 @@
-

About

+

__About__

diff --git a/gui/bweb/tpl/ach_add.tpl b/gui/bweb/tpl/ach_add.tpl
index 6c5912c621..b427397379 100644
--- a/gui/bweb/tpl/ach_add.tpl
+++ b/gui/bweb/tpl/ach_add.tpl
@@ -1,48 +1,49 @@
 
-

New Autochanger

+

__New__ __Autochanger__

- You have to create a Location which will have the same name.

+ __You have to create a Location which will have the same name.__

- + - + - + - + - + -
Name :
__Name:__
Pre-command :
__Pre-command:__ + title='__can be "sudo" or "ssh storage@storagehost"...__' name='precmd'>
mtx command :
__mtx command:__
Device :
__Device:__
Drives
__Drives__
index __index__
- +
diff --git a/gui/bweb/tpl/ach_content.tpl b/gui/bweb/tpl/ach_content.tpl index 9092581298..ac81e69745 100644 --- a/gui/bweb/tpl/ach_content.tpl +++ b/gui/bweb/tpl/ach_content.tpl @@ -1,57 +1,58 @@

-Autochanger : ( Drives - IMPORT/EXPORT)

+__Autochanger:__ ( __Drives__ + __IMPORT/EXPORT__)
- You must run update slot, Autochanger status is different from bacula slots + __You must run update slot, Autochanger status is different from bacula slots__
- Tools + __Tools__
+ title='__run label barcodes__'>__Label__ + title='__put selected media on i/o__'>__Eject__ + title='__Clear I/O__'> __Clear I/O__ + title='__run update slots__'> __Update__

+ title='__mount drive__'> __Mount__ + title='__umount drive__'> __Umount__
- Drives:
+ __Drives:__

- Content:
+ __Content:__
@@ -14,41 +14,41 @@