Unknown YCP Module |
This module has an unstable interface. |
Imports
Includes
StructuresLocal Functions |
local
NormalizeURL (string url_string)
->
string
Removes slashes from the end of the URL (or just string). Needed to fix bug #329629.
- Parameters:
-
url_string
local
IsAddOnAlreadySelected (string s_url, string s_path)
->
integer
Returns whether this URL/Path is already added as a source -1 == not added 0 or 1 or 2 ... or 'n' means 'added as source $id'
- Parameters:
-
s_url s_path
local
GetLocalizedString (string current_id, list <string> possible_keys)
->
string
Returns a localized string using given parametters.
Structure $[
// key "description" : "repository description", // "localized" + key "localized_description" : $[ "en_GB" : "repository description (localized to en_GB)", ... ], ]
- Parameters:
-
current_id possible_keys