Unknown YCP Module |
This module has an unstable interface. |
Imports
Global Functions
Local Variables |
Info:
File: modules/SquidErrorMessages.ycp
Package: Configuration of squid
Summary: Handle list of paths to direcotories with error messages
in different languages.
Authors: Daniel Fiser
$Id$
local
err
->
map<string, string>
format: $[ "language" : "path_to_directory", .... ]
local
err_msg_dir
->
string
Directory where is located directories with messages in various languages.
global
GetLanguages ()
->
list<string>
Returns list of all available languages
global
GetLanguagesToComboBox ()
->
list<term>
Returns list of all available languages in form of items of ComboBox.
global
GetPath (string language)
->
string
Returns path to directory containing error messages in given language.
- Parameters:
-
language
global
GetLanguageFromPath (string pth)
->
string
Inverse function to GetPath. Returns languge which has path pth to directory containing error messages.
- Parameters:
-
pth