[Rt-commit] rt branch, 4.0/loc-cleanups, updated. rt-4.0.1rc1-15-g9839aaf

Shawn Moore sartak at bestpractical.com
Mon May 23 19:11:01 EDT 2011


The branch, 4.0/loc-cleanups has been updated
       via  9839aaf8e828de8a0d245405c5ebd70c712bd9b4 (commit)
      from  cf837db79e4bf32d790d76b740731aaeea92f48b (commit)

Summary of changes:
 .../Admin/Tools/Shredder/Elements/Error/NoStorage  |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 9839aaf8e828de8a0d245405c5ebd70c712bd9b4
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon May 23 19:08:05 2011 -0400

    Factor the <span> out of a Shredder error message
    
        Also improve its verbiage a little

diff --git a/share/html/Admin/Tools/Shredder/Elements/Error/NoStorage b/share/html/Admin/Tools/Shredder/Elements/Error/NoStorage
index ea6e0b9..70f88ba 100644
--- a/share/html/Admin/Tools/Shredder/Elements/Error/NoStorage
+++ b/share/html/Admin/Tools/Shredder/Elements/Error/NoStorage
@@ -51,5 +51,6 @@ $Path => ''
 <& /Admin/Elements/Header, Title => 'Error' &>
 <& /Elements/Tabs &>
 <div class="error">
-<% loc('Shredder needs a directory to write dumps to. Please check that you have <span class="file-path">[_1]</span> and it is writable by your web server.',  $m->interp->apply_escapes( $Path ) ) |n%>
+% my $path_tag = q{<span class="file-path">} . $m->interp->apply_escapes($Path, 'h') . q{</span>};
+<&|/l, $path_tag &>Shredder needs a directory to write dumps to. Please ensure that the directory [_1] exists and that it is writable by your web server.</&>
 </div>

-----------------------------------------------------------------------


More information about the Rt-commit mailing list