Localized the 'full' and 'incremental' string in the start stop backup module.
authorgfk <gfk>
Tue, 12 Aug 2003 01:16:38 +0000 (01:16 +0000)
committergfk <gfk>
Tue, 12 Aug 2003 01:16:38 +0000 (01:16 +0000)
lib/BackupPC/CGI/StartStopBackup.pm
lib/BackupPC/Lang/en.pm

index e62ced2..578e553 100644 (file)
@@ -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 $type = $doFull ? "full" : "incremental";
+    my $type = $doFull ? $Lang->{Type_full} : $Lang->{Type_incr};
     my $host = $In{host};
     my $Privileged = CheckPermission($host);
 
index 72f975e..3e6f5aa 100644 (file)
@@ -12,6 +12,9 @@ $Lang{Start_Incr_Backup} = "Start Incr Backup";
 $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.";