X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fdocs%2Fhacking.pod;h=23ce51e3a619db835fabec1f58fed928f56228aa;hb=7903b3fb9ae73fc5fb46f98575141fbe9713f880;hp=7c50ee901c9a2003ad81c94d6f2f8188a5671c33;hpb=7588a4ac90a9b07c08a3107cd1107d773be1c991;p=freeside.git 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 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 at the end of the line, C<#loc{word}> declares +that the value associated with the key I (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