Changeset View
Changeset View
Standalone View
Standalone View
src/core/kexi.cpp
Show First 20 Lines • Show All 334 Lines • ▼ Show 20 Line(s) | 332 | { | |||
---|---|---|---|---|---|
335 | return m_msgHandler; | 335 | return m_msgHandler; | ||
336 | } | 336 | } | ||
337 | 337 | | |||
338 | void KEXI_UNFINISHED_INTERNAL(const QString& feature_name, const QString& extra_text, | 338 | void KEXI_UNFINISHED_INTERNAL(const QString& feature_name, const QString& extra_text, | ||
339 | QString* line1, QString* line2) | 339 | QString* line1, QString* line2) | ||
340 | { | 340 | { | ||
341 | if (feature_name.isEmpty()) | 341 | if (feature_name.isEmpty()) | ||
342 | *line1 = xi18n("This function is not available for version %1 of %2 application.", | 342 | *line1 = xi18n("This function is not available for version %1 of %2 application.", | ||
343 | QString(KEXI_VERSION_STRING), QString(KEXI_APP_NAME)); | 343 | QString(KEXI_VERSION_STRING), QApplication::applicationDisplayName()); | ||
344 | else { | 344 | else { | ||
345 | QString feature_name_(feature_name); | 345 | QString feature_name_(feature_name); | ||
346 | *line1 = xi18nc("@info", | 346 | *line1 = xi18nc("@info", | ||
347 | "<resource>%1</resource> function is not available for version %2 of %3 application.", | 347 | "<resource>%1</resource> function is not available for version %2 of %3 application.", | ||
348 | feature_name_.remove('&'), QString(KEXI_VERSION_STRING), QString(KEXI_APP_NAME)); | 348 | feature_name_.remove('&'), QString(KEXI_VERSION_STRING), QApplication::applicationDisplayName()); | ||
349 | } | 349 | } | ||
350 | 350 | | |||
351 | *line2 = extra_text; | 351 | *line2 = extra_text; | ||
352 | } | 352 | } | ||
353 | 353 | | |||
354 | void KEXI_UNFINISHED(const QString& feature_name, const QString& extra_text) | 354 | void KEXI_UNFINISHED(const QString& feature_name, const QString& extra_text) | ||
355 | { | 355 | { | ||
356 | QString line1, line2; | 356 | QString line1, line2; | ||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |