diff --git a/tinyfilemanager.php b/tinyfilemanager.php
index 9dfa94cf9..9b5672b61 100644
--- a/tinyfilemanager.php
+++ b/tinyfilemanager.php
@@ -814,9 +814,9 @@ function get_file_path()
$loop_count++;
}
if (fm_rcopy($from, $fn_duplicate, False)) {
- fm_set_msg(sprintf('Copied from %s to %s', fm_enc($copy), fm_enc($fn_duplicate)));
+ fm_set_msg(sprintf(lng('Copied from').' %s '.lng('to').' %s', fm_enc($copy), fm_enc($fn_duplicate)));
} else {
- fm_set_msg(sprintf('Error while copying from %s to %s', fm_enc($copy), fm_enc($fn_duplicate)), 'error');
+ fm_set_msg(sprintf(lng('Error while copying from').' %s '.lng('to').' %s', fm_enc($copy), fm_enc($fn_duplicate)), 'error');
}
} else {
fm_set_msg(lng('Paths must be not equal'), 'alert');
@@ -1846,7 +1846,7 @@ function getSelected($l)
- Delete
+
'Path',
+ 'label' => lng('Path'),
'path' => fm_enc(fm_convert_win(str_replace($root_path, '', $file_path)))
);
case 'host':
$relative_path = str_replace($root_path, '', $file_path);
return array(
- 'label' => 'Host Path',
+ 'label' => lng('Host Path'),
'path' => fm_enc(fm_convert_win('/' . $root_url . '/' . ltrim(str_replace('\\', '/', $relative_path), '/')))
);
case 'full':
default:
return array(
- 'label' => 'Full Path',
+ 'label' => lng('Full Path'),
'path' => fm_enc(fm_convert_win($file_path))
);
}