diff options
author | Haru <haru@dotalux.com> | 2016-05-17 15:11:00 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-06-25 17:29:49 +0200 |
commit | 17f4709adeb4d9159359d901b1743de56348e7e4 (patch) | |
tree | 3fc1f6e69b85de8d31ce9ef5ec37c3aec149d81f /doc/script_commands.txt | |
parent | d77c30e5b348a0a9f960a0c16826432c5d85548f (diff) | |
download | hercules-17f4709adeb4d9159359d901b1743de56348e7e4.tar.gz hercules-17f4709adeb4d9159359d901b1743de56348e7e4.tar.bz2 hercules-17f4709adeb4d9159359d901b1743de56348e7e4.tar.xz hercules-17f4709adeb4d9159359d901b1743de56348e7e4.zip |
Added _$() macro to the script engine to mark a translatable string as format string
- Strings passed to sprintf should use the _$() macro instead of _(), to
generate the .pot translation template with a directive to correctly
handle the % sign.
- Strings passed through _() are instead explicitly marked as regular
(non format) strings if they contain '%'.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc/script_commands.txt')
0 files changed, 0 insertions, 0 deletions