[Rt-commit] rt branch, 4.0/loc-escape-squares, created. rt-4.0.4-151-g1248d48

? sunnavy sunnavy at bestpractical.com
Mon Jan 9 07:21:55 EST 2012


The branch, 4.0/loc-escape-squares has been created
        at  1248d487add8cc89030f7bd8acd05c5820a9ee81 (commit)

- Log -----------------------------------------------------------------
commit 1248d487add8cc89030f7bd8acd05c5820a9ee81
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Jan 9 20:19:06 2012 +0800

    "[" and "]" need to be escaped in loc

diff --git a/share/html/Elements/RT__CustomField/ColumnMap b/share/html/Elements/RT__CustomField/ColumnMap
index c0e17f2..d4c9bcd 100644
--- a/share/html/Elements/RT__CustomField/ColumnMap
+++ b/share/html/Elements/RT__CustomField/ColumnMap
@@ -160,10 +160,10 @@ my $COLUMN_MAP = {
             my @res = (
                 \'<a href="',
                 $uri .'?'. $m->comp("/Elements/QueryString", %pass, MoveCustomFieldUp => $id ),
-                \'">', loc('[Up]'), \'</a>',
+                \'">', loc('~[Up~]'), \'</a>',
                 \' <a href="',
                 $uri .'?'. $m->comp("/Elements/QueryString", %pass, MoveCustomFieldDown => $id ),
-                \'">', loc('[Down]'), \'</a>'
+                \'">', loc('~[Down~]'), \'</a>'
             );
 
             return @res;

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


More information about the Rt-commit mailing list