lang::util::record_message_lookup (private)
lang::util::record_message_lookup message_key
Defined in packages/acs-lang/tcl/lang-util-procs.tcl
Record a message lookup in translator mode. In translator mode we collect all message lookups at the bottom of the page for translation.
- Parameters:
- message_key (required)
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: global __lang_message_lookups # Only makes sense to offer translation list if we're not in en_US locale if { [ad_conn locale] ne "en_US" } { if { ![info exists __lang_message_lookups] } { lappend __lang_message_lookups $message_key } elseif {$message_key ni $__lang_message_lookups} { lappend __lang_message_lookups $message_key } }XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-lang/tcl/lang-util-procs.xql