diff options
Diffstat (limited to 'drakpxelinux.pl')
-rw-r--r-- | drakpxelinux.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl index 42da471..cfb829c 100644 --- a/drakpxelinux.pl +++ b/drakpxelinux.pl @@ -464,9 +464,9 @@ sub edit_box_item { $fd->ok_button->signal_connect(clicked => sub { my $file = $fd->get_filename; if ($test eq "dir") { - -d $file or err_dialog(N("Error !"), "Should be a directory.") and return; + -d $file or err_dialog(N("Error !"), N("Should be a directory.")) and return; } else { - -f $file or err_dialog(N("Error !"), "Should be a file") and return; + -f $file or err_dialog(N("Error !"), N("Should be a file")) and return; $file = "images/" . basename($file); } $data->set_text($file); |