aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaolo Tacconi <p.tacconi@giunti.it>2014-06-25 12:07:36 +0200
committerPaolo Tacconi <p.tacconi@giunti.it>2014-06-25 12:07:36 +0200
commitdda949ee3b6f81662762f6598348bd68cf40ae83 (patch)
treeb95ea6505599c4aa6221ca026627a1929aaf5e3a
parenta2629258ae325adb1f2d11d1b2ce2cc6ecef40e1 (diff)
downloadvolse-hubzilla-dda949ee3b6f81662762f6598348bd68cf40ae83.tar.gz
volse-hubzilla-dda949ee3b6f81662762f6598348bd68cf40ae83.tar.bz2
volse-hubzilla-dda949ee3b6f81662762f6598348bd68cf40ae83.zip
Delete confirmation is translatable
-rw-r--r--include/reddav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/reddav.php b/include/reddav.php
index 37fa49c20..d3c4b2866 100644
--- a/include/reddav.php
+++ b/include/reddav.php
@@ -1034,7 +1034,7 @@ class RedBrowser extends DAV\Browser\Plugin {
if($is_owner) {
$html .= "<td>" . (($size) ? $attachIcon : '') . "</td>
<td><a href=\"".$fileStorageUrl."/".$attachId."/edit\" title=\"".t('Edit')."\"><i class=\"icon-pencil btn btn-default\"></i></a></td>
- <td><a href=\"".$fileStorageUrl."/".$attachId."/delete\" title=\"".t('Delete')."\" onclick=\"return confirm(".t('Are you sure you want to delete this item?').");\"><i class=\"icon-remove btn btn-default drop-icons\"></i></a></td>";
+ <td><a href=\"".$fileStorageUrl."/".$attachId."/delete\" title=\"".t('Delete')."\" onclick=\"return confirm('".t('Are you sure you want to delete this item?')."');\"><i class=\"icon-remove btn btn-default drop-icons\"></i></a></td>";
}
else {
$html .= "<td></td><td></td><td></td>";