projects
/
BackupPC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c925d6
)
Localized the 'full' and 'incremental' string in the start stop backup module.
author
gfk
<gfk>
Tue, 12 Aug 2003 01:16:38 +0000
(
01:16
+0000)
committer
gfk
<gfk>
Tue, 12 Aug 2003 01:16:38 +0000
(
01:16
+0000)
lib/BackupPC/CGI/StartStopBackup.pm
patch
|
blob
|
history
lib/BackupPC/Lang/en.pm
patch
|
blob
|
history
diff --git
a/lib/BackupPC/CGI/StartStopBackup.pm
b/lib/BackupPC/CGI/StartStopBackup.pm
index
e62ced2
..
578e553
100644
(file)
--- a/
lib/BackupPC/CGI/StartStopBackup.pm
+++ b/
lib/BackupPC/CGI/StartStopBackup.pm
@@
-46,7
+46,7
@@
sub action
my $start = 1 if ( $In{action} eq $Lang->{Start_Incr_Backup}
|| $In{action} eq $Lang->{Start_Full_Backup} );
my $doFull = $In{action} eq $Lang->{Start_Full_Backup} ? 1 : 0;
my $start = 1 if ( $In{action} eq $Lang->{Start_Incr_Backup}
|| $In{action} eq $Lang->{Start_Full_Backup} );
my $doFull = $In{action} eq $Lang->{Start_Full_Backup} ? 1 : 0;
- my $type = $doFull ?
"full" : "incremental"
;
+ my $type = $doFull ?
$Lang->{Type_full} : $Lang->{Type_incr}
;
my $host = $In{host};
my $Privileged = CheckPermission($host);
my $host = $In{host};
my $Privileged = CheckPermission($host);
diff --git
a/lib/BackupPC/Lang/en.pm
b/lib/BackupPC/Lang/en.pm
index
72f975e
..
3e6f5aa
100644
(file)
--- a/
lib/BackupPC/Lang/en.pm
+++ b/
lib/BackupPC/Lang/en.pm
@@
-12,6
+12,9
@@
$Lang{Start_Incr_Backup} = "Start Incr Backup";
$Lang{Stop_Dequeue_Backup} = "Stop/Dequeue Backup";
$Lang{Restore} = "Restore";
$Lang{Stop_Dequeue_Backup} = "Stop/Dequeue Backup";
$Lang{Restore} = "Restore";
+$Lang{Type_full} = "full";
+$Lang{Type_incr} = "incremental";
+
# -----
$Lang{Only_privileged_users_can_view_admin_options} = "Only privileged users can view admin options.";
# -----
$Lang{Only_privileged_users_can_view_admin_options} = "Only privileged users can view admin options.";