DesktopAppInfo.getLocaleString

Looks up a localized string value in the keyfile backing @info translated to the current locale.

The @key is looked up in the "Desktop Entry" group.

class DesktopAppInfo
string
getLocaleString
(
string key
)

Parameters

key string

the key to look up

Return Value

Type: string

a newly allocated string, or %NULL if the key is not found

Meta

Since

2.56