lang::message::get_embedded_vars (public)

 lang::message::get_embedded_vars message

Defined in packages/acs-lang/tcl/lang-message-procs.tcl

Returns a list of embedded substitution variables on the form %varname% in a message. This is useful if you want to check that the variables used in a translated message also appear in the en_US message. If not, there's likely to be a typo.

Parameters:
message (required)
A message with embedded %varname% notation
Returns:
The list of variables in the message
Author:
Peter Marklund <peter@collaboraid.biz>
Created:
12 November 2002

Partial Call Graph (max 5 caller/called nodes):
%3 test_message__get_embedded_vars message__get_embedded_vars (test acs-lang) lang::message::get_embedded_vars lang::message::get_embedded_vars test_message__get_embedded_vars->lang::message::get_embedded_vars lang::message::embedded_vars_regexp lang::message::embedded_vars_regexp (public) lang::message::get_embedded_vars->lang::message::embedded_vars_regexp lang::message::check lang::message::check (public) lang::message::check->lang::message::get_embedded_vars

Testcases:
message__get_embedded_vars
[ show source ]
Show another procedure: