lang::message::edit (private)
lang::message::edit [ -update_sync ] package_key message_key locale \ edit_array_list
Defined in packages/acs-lang/tcl/lang-message-procs.tcl
Edit properties (meta data) of a language catalog message, but not the message text itself. To update or add message catalog text, use the lang::message::register proc. Implementation note: some of the dynamic sql edit code of this proc was copied from the auth::authority::edit proc and should probably be broken out into a general API.
- Switches:
- -update_sync
(boolean) (optional)- If this switch is provided the sync_time of the message will be updated to current time. If not provided no update to sync_time will be made. If sync_time is contained in the edit_array_list then that value will override the update_sync flag.
- Parameters:
- package_key - The package_key of the message to update
message_key - The message_key of the message to update
locale - The locale of the message to update
edit_array_list - An array list holding names of columns and the values to set them to. Valid keys in this array list are any column names in the lang_messages table.
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- upgrade