org.kde.koala
public class KCatalogue extends Object implements QtSupport
See Also: KLocale
UNKNOWN: This class abstracts a gettext message catalog.
Constructor Summary | |
---|---|
protected | KCatalogue(Class dummy) |
KCatalogue(String name, String language)
Constructor. | |
KCatalogue(String name) | |
KCatalogue() | |
KCatalogue(KCatalogue rhs)
Copy constructor. |
Method Summary | |
---|---|
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
String | language()
Returns the language of the catalog. |
String | name()
Returns the name of the catalog. |
int | pluralType()
Returns the plural type for the catalog. |
void | setPluralType(int pluralType)
Sets the plural type for the catalog. |
String | translate(String msgid)
Retrieves a translation of the specified message id.
|
Parameters: name The name of the catalog language The language of this catalog
UNKNOWN: Constructor.
UNKNOWN: Copy constructor.
Returns: The language of the catalog
UNKNOWN: Returns the language of the catalog.
Returns: The name of the catalog
UNKNOWN: Returns the name of the catalog.
Returns: The plural type for the catalog
UNKNOWN: Returns the plural type for the catalog.
Returns: The plural type for the catalog
UNKNOWN: Sets the plural type for the catalog.
Parameters: msgid The message id
Returns: The translated message, in utf8 encoding, or 0 if not found
UNKNOWN: Retrieves a translation of the specified message id.