lang::catalog::messages_in_db (private)

 lang::catalog::messages_in_db -package_key package_key -locale locale

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

Return a list of all messages for a certain package and locale.

Switches:
-package_key (required)
-locale (required)
Returns:
An array list with message keys as keys and messages as values.
Author:
Peter Marklund
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 lang::catalog::import_messages lang::catalog::import_messages (private) lang::catalog::messages_in_db lang::catalog::messages_in_db lang::catalog::import_messages->lang::catalog::messages_in_db lang::test::execute_upgrade lang::test::execute_upgrade (private) lang::test::execute_upgrade->lang::catalog::messages_in_db lang::catalog::all_messages_for_package_and_locale lang::catalog::all_messages_for_package_and_locale (private) lang::catalog::messages_in_db->lang::catalog::all_messages_for_package_and_locale

Testcases:
No testcase defined.
Source code:
    set message_list [list]

    foreach message_tuple [all_messages_for_package_and_locale $package_key $locale] {
        lassign $message_tuple message_key message description
        lappend message_list $message_key $message
    }
    return $message_list
Generic XQL file:
packages/acs-lang/tcl/lang-catalog-procs.xql

PostgreSQL XQL file:
packages/acs-lang/tcl/lang-catalog-procs-postgresql.xql

Oracle XQL file:
packages/acs-lang/tcl/lang-catalog-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: