/[smeserver]/rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-localise_fix.patch
ViewVC logotype

Contents of /rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-localise_fix.patch

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


Revision 1.1 - (show annotations) (download)
Thu Oct 9 20:36:24 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-backup-2_2_0-62_el5_sme, e-smith-backup-2_2_0-72_el5_sme, e-smith-backup-2_2_0-27_el5_sme, e-smith-backup-2_2_0-60_el5_sme, e-smith-backup-2_2_0-66_el5_sme, e-smith-backup-2_2_0-29_el5_sme, e-smith-backup-2_2_0-41_el5_sme, e-smith-backup-2_2_0-52_el5_sme, e-smith-backup-2_2_0-21_el5_sme, e-smith-backup-2_2_0-74_el5_sme, e-smith-backup-2_2_0-55_el5_sme, e-smith-backup-2_2_0-48_el5_sme, e-smith-backup-2_2_0-7_el5_sme, e-smith-backup-2_2_0-87_el5_sme, e-smith-backup-2_2_0-36_el5_sme, e-smith-backup-2_2_0-61_el5_sme, e-smith-backup-2_2_0-15_el5_sme, e-smith-backup-2_2_0-79_el5_sme, e-smith-backup-2_2_0-58_el5_sme, e-smith-backup-2_2_0-45_el5_sme, e-smith-backup-2_2_0-42_el5_sme, e-smith-backup-2_2_0-54_el5_sme, e-smith-backup-2_2_0-49_el5_sme, e-smith-backup-2_2_0-25_el5_sme, e-smith-backup-2_2_0-31_el5_sme, e-smith-backup-2_2_0-8_el5_sme, e-smith-backup-2_2_0-26_el5_sme, e-smith-backup-2_2_0-83_el5_sme, e-smith-backup-2_2_0-82_el5_sme, e-smith-backup-2_2_0-44_el5_sme, e-smith-backup-2_2_0-63_el5_sme, e-smith-backup-2_2_0-64_el5_sme, e-smith-backup-2_2_0-43_el5_sme, e-smith-backup-2_2_0-24_el5_sme, e-smith-backup-2_2_0-22_el5_sme, e-smith-backup-2_2_0-23_el5_sme, e-smith-backup-2_2_0-78_el5_sme, e-smith-backup-2_2_0-73_el5_sme, e-smith-backup-2_2_0-33_el5_sme, e-smith-backup-2_2_0-39_el5_sme, e-smith-backup-2_2_0-56_el5_sme, e-smith-backup-2_2_0-32_el5_sme, e-smith-backup-2_2_0-16_el5_sme, e-smith-backup-2_2_0-11_el5_sme, e-smith-backup-2_2_0-4_el5_sme, e-smith-backup-2_2_0-47_el5_sme, e-smith-backup-2_2_0-20_el5_sme, e-smith-backup-2_2_0-65_el5_sme, e-smith-backup-2_2_0-38_el5_sme, e-smith-backup-2_2_0-84_el5_sme, e-smith-backup-2_2_0-2_el5_sme, e-smith-backup-2_2_0-17_el5_sme, e-smith-backup-2_2_0-57_el5_sme, e-smith-backup-2_2_0-35_el5_sme, e-smith-backup-2_2_0-19_el5_sme, e-smith-backup-2_2_0-13_el5_sme, e-smith-backup-2_2_0-10_el5_sme, e-smith-backup-2_2_0-59_el5_sme, e-smith-backup-2_2_0-18_el5_sme, e-smith-backup-2_2_0-53_el5_sme, e-smith-backup-2_2_0-67_el5_sme, e-smith-backup-2_2_0-70_el5_sme, e-smith-backup-2_2_0-77_el5_sme, e-smith-backup-2_2_0-85_el5_sme, e-smith-backup-2_2_0-69_el5_sme, e-smith-backup-2_2_0-37_el5_sme, e-smith-backup-2_2_0-30_el5_sme, e-smith-backup-2_2_0-14_el5_sme, e-smith-backup-2_2_0-40_el5_sme, e-smith-backup-2_2_0-3_el5_sme, e-smith-backup-2_2_0-80_el5_sme, e-smith-backup-2_2_0-88_el5_sme, e-smith-backup-2_2_0-12_el5_sme, e-smith-backup-2_2_0-28_el5_sme, e-smith-backup-2_2_0-81_el5_sme, e-smith-backup-2_2_0-68_el5_sme, e-smith-backup-2_2_0-86_el5_sme, e-smith-backup-2_2_0-50_el5_sme, e-smith-backup-2_2_0-51_el5_sme, e-smith-backup-2_2_0-71_el5_sme, e-smith-backup-2_2_0-34_el5_sme, e-smith-backup-2_2_0-9_el5_sme, e-smith-backup-2_2_0-75_el5_sme, e-smith-backup-2_2_0-76_el5_sme, e-smith-backup-2_2_0-46_el5_sme, HEAD
Fix localization

1 --- e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup.localise_fix 2008-10-07 11:34:33.000000000 -0600
2 +++ e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup 2008-10-09 14:32:01.000000000 -0600
3 @@ -975,13 +975,13 @@
4
5 unless(system("/sbin/e-smith/signal-event", "pre-restore") == 0)
6 {
7 - $rec->set_prop('errmsg', $fm->localize('ERR_PRE_RESTORE'));
8 + $rec->set_prop('errmsg', $fm->localise('ERR_PRE_RESTORE'));
9 $rec->delete_prop('state');
10 die ($fm->localise('ERR_PRE_RESTORE'),"\n");
11 }
12 unless(system("/sbin/e-smith/signal-event", "restore-tape") == 0)
13 {
14 - $rec->set_prop('errmsg', $fm->localize('ERR_RESTORING_FROM_TAPE'));
15 + $rec->set_prop('errmsg', $fm->localise('ERR_RESTORING_FROM_TAPE'));
16 $rec->delete_prop('state');
17 die ($fm->localise('ERR_RESTORING_FROM_TAPE')."\n");
18 }
19 @@ -993,19 +993,19 @@
20 unless(system("/usr/sbin/groupmod", "-g", "$www_gid", "www") == 0)
21 {
22 $rec->set_prop('errmsg', $rec->prop('errmsg').'<br>'.
23 - $fm->localize('ERR_RESTORING_GID'));
24 + $fm->localise('ERR_RESTORING_GID'));
25 warn ($fm->localise('ERR_RESTORING_GID')."\n");
26 }
27 unless(system("/usr/sbin/usermod", "-g", "$www_gid", "www") == 0)
28 {
29 $rec->set_prop('errmsg', $rec->prop('errmsg').'<br>'.
30 - $fm->localize('ERR_RESTORING_INITIAL_GRP'));
31 + $fm->localise('ERR_RESTORING_INITIAL_GRP'));
32 warn ($fm->localise('ERR_RESTORING_INITIAL_GRP')."\n");
33 }
34 unless(system("/sbin/e-smith/signal-event", "post-upgrade") == 0)
35 {
36 $rec->set_prop('errmsg', $rec->prop('errmsg').'<br>'.
37 - $fm->localize('ERR_UPDATING_CONF_AFTER_TAPE_RESTORE'));
38 + $fm->localise('ERR_UPDATING_CONF_AFTER_TAPE_RESTORE'));
39 $rec->delete_prop('state');
40 die ($fm->localise('ERR_UPDATING_CONF_AFTER_TAPE_RESTORE'));
41 }
42 @@ -1027,7 +1027,7 @@
43 # Error
44
45 $rec->delete_prop('state');
46 - $rec->set_prop('errmsg', $fm->localize('COULD_NOT_FORK'));
47 + $rec->set_prop('errmsg', $fm->localise('COULD_NOT_FORK'));
48 die ($fm->localise("COULD_NOT_FORK")."$!\n");
49 }
50 }
51 @@ -1777,7 +1777,7 @@
52 or die($fm->localise('ERR_WHILE_UNMOUNTING'),"\n");
53 }
54 esmith::cgi::genResult(
55 - $q, $fm->localise('ERR_NO_HOST_DIR'.$id)
56 + $q, $fm->localise('ERR_NO_HOST_DIR'), $id
57 );
58 return;
59 }
60 @@ -1892,7 +1892,7 @@
61 system("/bin/umount", "$mntdir") == 0
62 or die($fm->localise('ERR_WHILE_UNMOUNTING'),"\n");
63 }
64 - esmith::cgi::genResult($q, $fm->localise('ERR_NO_HOST_DIR'.$id));
65 + esmith::cgi::genResult($q, $fm->localise('ERR_NO_HOST_DIR'), $id);
66 return;
67 }
68
69 @@ -2028,7 +2028,7 @@
70 system("/bin/umount", "$mntdir") == 0
71 or die($fm->localise('ERR_WHILE_UNMOUNTING'),"\n");
72 }
73 - esmith::cgi::genResult($q, $fm->localise('ERR_NO_HOST_DIR'.$id));
74 + esmith::cgi::genResult($q, $fm->localise('ERR_NO_HOST_DIR'), $id);
75 return;
76 }
77
78 @@ -2183,7 +2183,7 @@
79 or die($fm->localise('ERR_WHILE_UNMOUNTING'),"\n");
80 }
81 esmith::cgi::genResult(
82 - $q, $fm->localise('ERR_NO_HOST_DIR'.$id)
83 + $q, $fm->localise('ERR_NO_HOST_DIR'), $id
84 );
85 return;
86 }
87 @@ -2417,7 +2417,7 @@
88 or die($fm->localise('ERR_WHILE_UNMOUNTING'),"\n");
89 }
90 esmith::cgi::genResult(
91 - $q, $fm->localise('ERR_NO_HOST_DIR'.$id)
92 + $q, $fm->localise('ERR_NO_HOST_DIR'), $id
93 );
94 return;
95 }
96 @@ -2645,7 +2645,7 @@
97 or die($fm->localise('ERR_WHILE_UNMOUNTING'),"\n");
98 }
99 esmith::cgi::genResult(
100 - $q, $fm->localise('ERR_NO_HOST_DIR'.$id)
101 + $q, $fm->localise('ERR_NO_HOST_DIR'), $id
102 );
103 return;
104 }
105 @@ -2813,7 +2813,7 @@
106 or die($fm->localise('ERR_WHILE_UNMOUNTING'),"\n");
107 }
108 esmith::cgi::genResult(
109 - $q, $fm->localise('ERR_NO_HOST_DIR'.$id)
110 + $q, $fm->localise('ERR_NO_HOST_DIR'), $id
111 );
112 return;
113 }

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