forum::format::reply_subject (public)
forum::format::reply_subject parent_subject
Defined in packages/forums/tcl/messages-format-procs.tcl
Generates a subject string for a reply to an existing message. The prefix is always added using the system-wide locale to avoid the uncontrollable growth of the subject in a multi-language environment.
- Parameters:
- parent_subject (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set prefix [lang::message::lookup [lang::system::site_wide_locale] forums.Re] set prefix "[string trim $prefix] " # trim multiple leading prefixes: regsub "^($prefix)+" $parent_subject {} parent_subject set subject [concat $prefix $parent_subject] return $subjectXQL Not present: Generic, PostgreSQL, Oracle