CARB_LOCALIZE#
Defined in carb/l10n/IL10n.h
-
CARB_LOCALIZE(string)#
Look up a string from the localization database for the current plugin.
- Parameters:
string – A string literal. This must not be nullptr. This is the key string to look up in the database.
- Returns:
The localized string for the keystring
string
, given the current localization that has been set for the process.- Returns:
If there is no localized string for the given keystring
string
, the US English string will be returned.- Returns:
If
string
is not found in the localization database at all,string
will be returned.- Returns:
An error message if the localized string is found and the config setting to return noticeable failure strings is enabled.