KDECore
klocalizedstring.h
Go to the documentation of this file.
595extern KLocalizedString KDECORE_EXPORT ki18ncp (const char *ctxt, const char *singular, const char *plural);
740template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7>
760template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8>
761inline QString i18n (const char *text, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8)
781template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9>
782inline QString i18n (const char *text, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9)
908template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7>
909inline QString i18nc (const char *ctxt, const char *text, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7)
928template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8>
929inline QString i18nc (const char *ctxt, const char *text, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8)
949template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9>
950inline QString i18nc (const char *ctxt, const char *text, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9)
1064template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7>
1065inline QString i18np (const char *sing, const char *plur, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7)
1084template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8>
1085inline QString i18np (const char *sing, const char *plur, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8)
1105template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9>
1106inline QString i18np (const char *sing, const char *plur, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9)
1208inline QString i18ncp (const char *ctxt, const char *sing, const char *plur, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6)
1227template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7>
1228inline QString i18ncp (const char *ctxt, const char *sing, const char *plur, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7)
1248template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8>
1249inline QString i18ncp (const char *ctxt, const char *sing, const char *plur, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8)
1270template <typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8, typename A9>
1271inline QString i18ncp (const char *ctxt, const char *sing, const char *plur, const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9)
Definition klocalizedstring.h:616
KLocale provides support for country specific stuff like the national language.
Definition klocale.h:70
Class for producing and handling localized messages.
Definition klocalizedstring.h:300
KLocalizedString subs(int a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const
Substitutes an int argument into the message.
Definition klocalizedstring.cpp:792
QString toString() const
Finalizes the translation, creates QString with placeholders substituted.
Definition klocalizedstring.cpp:192
Definition kaboutdata.h:33
KLocalizedString ki18n(const char *msg)
Creates localized string from a given message.
Definition klocalizedstring.cpp:924
KLocalizedString ki18ncp(const char *ctxt, const char *singular, const char *plural)
Creates localized string from a given plural and singular form, with added context.
Definition klocalizedstring.cpp:939
KLocalizedString ki18nc(const char *ctxt, const char *msg)
Creates localized string from a given message, with added context.
Definition klocalizedstring.cpp:929
KLocalizedString ki18np(const char *singular, const char *plural)
Creates localized string from a given plural and singular form.
Definition klocalizedstring.cpp:934
QString i18n(const char *text)
Returns a localized version of a string.
Definition klocalizedstring.h:630
QString tr2i18n(const char *message, const char *comment=0)
Qt's uic generated translation calls go through numerous indirections unnecessary in our case.
Definition klocalizedstring.h:602
KLocalizedString ki18n(const char *msg)
Creates localized string from a given message.
Definition klocalizedstring.cpp:924
KLocalizedString ki18ncp(const char *ctxt, const char *singular, const char *plural)
Creates localized string from a given plural and singular form, with added context.
Definition klocalizedstring.cpp:939
#define STATIC_ASSERT_NOT_LITERAL_STRING(T)
Definition klocalizedstring.h:618
QString i18np(const char *sing, const char *plur, const A1 &a1)
Returns a localized version of a string with 1 argument using correct plural form.
Definition klocalizedstring.h:966
QString i18nc(const char *ctxt, const char *text)
Returns a localized version of a string and a context.
Definition klocalizedstring.h:797
KLocalizedString ki18nc(const char *ctxt, const char *msg)
Creates localized string from a given message, with added context.
Definition klocalizedstring.cpp:929
KLocalizedString ki18np(const char *singular, const char *plural)
Creates localized string from a given plural and singular form.
Definition klocalizedstring.cpp:934
QString i18ncp(const char *ctxt, const char *sing, const char *plur, const A1 &a1)
Returns a localized version of a string with 1 argument and a context using correct plural form.
Definition klocalizedstring.h:1123
Definition kcatalogname_p.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.