summaryrefslogtreecommitdiff
path: root/rt/docs/hacking.pod
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-07-09 22:32:26 -0700
committerIvan Kohler <ivan@freeside.biz>2015-07-09 22:32:26 -0700
commit026dc7ad72ba972f230b6709e31fa64397d75ad4 (patch)
treec5af1a7ac9154744afc3660e9a9405892f2bb50b /rt/docs/hacking.pod
parent07b4bc84d1078f7390221d766cdb3142513db4b0 (diff)
parent1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (diff)
merge RT 4.2.11 and Header changes to disable RT javascript, RT#34237
Diffstat (limited to 'rt/docs/hacking.pod')
-rw-r--r--rt/docs/hacking.pod12
1 files changed, 9 insertions, 3 deletions
diff --git a/rt/docs/hacking.pod b/rt/docs/hacking.pod
index 7c50ee901..23ce51e3a 100644
--- a/rt/docs/hacking.pod
+++ b/rt/docs/hacking.pod
@@ -153,8 +153,14 @@ C<#loc_left_pair> is used for declaring that the I<key> of a
particular C<< key => value >> pair is translatable. This is of
very limited usefulness.
-C<#loc_right_pair> does NOT exist. C<#loc> works in such cases since
-its parser does not extend beyond the string at the end of a line.
+C<#loc_right_pair> does NOT exist. C<#loc> works in such cases since its
+parser does not extend beyond the string at the end of a line. However,
+if the string is I<not> at the end of the line, C<#loc{word}> declares
+that the value associated with the key I<word> (earlier on the same
+line) is to be loc'd. This is useful for inline hashes:
+
+ # Note the string "baz" is to be loc'd
+ foo => { bar => "baz", troz => "zort" }, # loc{bar}
=head1 Development tips
@@ -172,7 +178,7 @@ can create and drop databases:
You'll need to configure RT and make sure you have all the dependencies
before running tests. To do this in place without installing:
- ./configure.ac --with-my-user-group --enable-layout=inplace --with-devel-mode
+ ./configure.ac --with-my-user-group --enable-layout=inplace --enable-developer
make testdeps
make fixdeps