Changeset View
Changeset View
Standalone View
Standalone View
src/klocalizedstring.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
48 | /** | 48 | /** | ||
49 | * Wrap string with context for extraction. | 49 | * Wrap string with context for extraction. | ||
50 | * | 50 | * | ||
51 | * See \ref i18n_noop for use cases. | 51 | * See \ref i18n_noop for use cases. | ||
52 | */ | 52 | */ | ||
53 | #define I18NC_NOOP(context, text) context, text | 53 | #define I18NC_NOOP(context, text) context, text | ||
54 | #endif | 54 | #endif | ||
55 | 55 | | |||
56 | #ifndef I18NC_NOOP_STRIP | ||||
57 | /** | ||||
58 | * Wrap string with context for extraction, discarding context. | ||||
59 | * @since 5.64 | ||||
60 | */ | ||||
61 | #define I18NC_NOOP_STRIP(context, text) text | ||||
62 | #endif | ||||
63 | | ||||
56 | #if KI18N_ENABLE_DEPRECATED_SINCE(5, 0) | 64 | #if KI18N_ENABLE_DEPRECATED_SINCE(5, 0) | ||
57 | #ifndef I18N_NOOP2 | 65 | #ifndef I18N_NOOP2 | ||
58 | /** | 66 | /** | ||
59 | * Wrap string with context for extraction, discarding context. | 67 | * Wrap string with context for extraction, discarding context. | ||
60 | * | 68 | * | ||
61 | * \deprecated Since 5.0, use \c I18NC_NOOP. | 69 | * \deprecated Since 5.0, use \c I18NC_NOOP_TRIP. | ||
dfaure: typo: *S*TRIP | |||||
62 | */ | 70 | */ | ||
63 | #define I18N_NOOP2(context, text) text | 71 | #define I18N_NOOP2(context, text) text | ||
64 | #endif | 72 | #endif | ||
65 | 73 | | |||
66 | #ifndef I18N_NOOP2_NOSTRIP | 74 | #ifndef I18N_NOOP2_NOSTRIP | ||
67 | /** | 75 | /** | ||
68 | * Wrap string with context for extraction. | 76 | * Wrap string with context for extraction. | ||
69 | * | 77 | * | ||
▲ Show 20 Lines • Show All 1966 Lines • Show Last 20 Lines |
typo: *S*TRIP