home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
boot
/
i386
/
root
/
usr
/
share
/
YaST2
/
clients
/
language_simple_proposal.ycp
< prev
next >
Wrap
Text File
|
2006-11-29
|
591b
|
25 lines
/**
* File: language_simple_proposal.ycp
* Author: Jiri Suchomel <jsuchome@suse.cz>
* Purpose: Simple language proposal.
*
* $Id: language_simple_proposal.ycp 27936 2006-02-13 20:01:14Z olh $
*/
{
import "Language";
string func = (string) WFM::Args(0);
map param = (map) WFM::Args(1);
map ret = $[];
if ( func == "MakeProposal" )
{
ret = $[
"preformatted_proposal" : Language::MakeSimpleProposal (),
"language_changed" : false
];
}
else ret = (map) WFM::CallFunction ("language_proposal", [func, param]);
return ret;
}