Kross
translation.h
Go to the documentation of this file.
55 QString i18nc( const QString &context, const QString &text, const QVariantList &arguments = QVariantList() ) const;
57 QString i18np( const QString &singular, const QString &plural, int number, const QVariantList &arguments = QVariantList() ) const;
59 QString i18ncp( const QString &context, const QString &singular, const QString &plural, int number, const QVariantList &arguments = QVariantList() ) const;
62 KLocalizedString substituteArguments( const KLocalizedString &kls, const QVariantList &arguments, int max = 99 ) const;
virtual ~TranslationModule()
Definition: translation.cpp:57
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
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
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
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
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.