/[smeserver]/rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-localize-backup-share-target-vfst.patch
ViewVC logotype

Annotation of /rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-localize-backup-share-target-vfst.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Mar 20 10:46:35 2011 UTC (13 years, 7 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-backup-2_2_0-50_el5_sme
* Sun Mar 20 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-50
- Localize dropdown box of backup destination type [SME: 6575]

1 snetram 1.1 diff -up e-smith-backup-2.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/backup.localize-backup-share-target-vfst e-smith-backup-2.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/backup
2     --- e-smith-backup-2.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/backup.localize-backup-share-target-vfst 2011-03-18 16:43:50.000000000 +0100
3     +++ e-smith-backup-2.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/backup 2011-03-20 11:26:03.000000000 +0100
4     @@ -896,5 +896,17 @@
5     <base>CHECK_INTEGRITY_WARNING</base>
6     <trans>Warning : For large backups, checking integrity may be a long task and should be made with daily workstation backup disabled.</trans>
7     </entry>
8     + <entry>
9     + <base>VFS_CIFS</base>
10     + <trans>cifs</trans>
11     + </entry>
12     + <entry>
13     + <base>VFS_NFS</base>
14     + <trans>nfs</trans>
15     + </entry>
16     + <entry>
17     + <base>VFS_USB</base>
18     + <trans>local removable disk</trans>
19     + </entry>
20     </lexicon>
21    
22     diff -up e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup.localize-backup-share-target-vfst e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup
23     --- e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup.localize-backup-share-target-vfst 2011-03-18 16:43:50.000000000 +0100
24     +++ e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup 2011-03-20 11:25:32.000000000 +0100
25     @@ -1041,7 +1041,7 @@ sub WorkstnBackupConfig
26     my $dof;
27     my @dlabels = split(' ', $fm->localise('DOW'));
28     my @VFST = ('cifs', 'nfs', 'usb');
29     - my %VFST = ('cifs', 'cifs', 'nfs', 'nfs', 'usb', 'local usb disk');
30     + my %VFST = ('cifs', $fm->localise('VFS_CIFS'), 'nfs', $fm->localise('VFS_NFS'), 'usb', $fm->localise('VFS_USB'));
31    
32     # Obtain backup informations from configuration
33     my $rec = $conf->get('backupwk');

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed