Kross
translation.cpp
Go to the documentation of this file.
62 KLocalizedString TranslationModule::substituteArguments( const KLocalizedString &kls, const QVariantList &arguments, int max ) const
86 QString TranslationModule::i18nc( const QString &context, const QString &text, const QVariantList &arguments ) const
92 QString TranslationModule::i18np( const QString &singular, const QString &plural, int number, const QVariantList &arguments ) const
98 QString TranslationModule::i18ncp( const QString &context, const QString &singular, const QString &plural, int number, const QVariantList &arguments ) const
100 KLocalizedString ls = ki18ncp(context.toUtf8(), singular.toUtf8(), plural.toUtf8()).subs( number );
QString toString() const
virtual ~TranslationModule()
Definition: translation.cpp:57
KLocalizedString ki18n(const char *msg)
QString i18ncp(const QString &context, const QString &singular, const QString &plural, int number, const QVariantList &arguments=QVariantList()) const
Creates localized string from a given plural and singular form dependent on number, with added context. Substitute arguments (may be empty)
Definition: translation.cpp:98
KLocalizedString ki18np(const char *singular, const char *plural)
QString i18np(const QString &singular, const QString &plural, int number, const QVariantList &arguments=QVariantList()) const
Creates localized string from a given plural and singular form dependent on number. Substitute arguments (may be empty)
Definition: translation.cpp:92
KLocalizedString ki18ncp(const char *ctxt, const char *singular, const char *plural)
QString i18n(const QString &text, const QVariantList &arguments=QVariantList()) const
Creates localized string from a given text. Substitute arguments (may be empty)
Definition: translation.cpp:80
KLocalizedString ki18nc(const char *ctxt, const char *msg)
QString i18nc(const QString &context, const QString &text, const QVariantList &arguments=QVariantList()) const
Creates localized string from a given text, with added context. Substitute arguments (may be empty) ...
Definition: translation.cpp:86
KLocalizedString subs(int a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const
The TranslationModule provides access to KDE translation and internationalization facilities...
Definition: translation.h:43
KLocalizedString substituteArguments(const KLocalizedString &kls, const QVariantList &arguments, int max=99) const
Definition: translation.cpp:62
#define KDE_EXPORT
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.