Changeset View
Changeset View
Standalone View
Standalone View
src/main/KexiRegisterResource_p.h
Show First 20 Lines • Show All 137 Lines • ▼ Show 20 Line(s) | 134 | { | |||
---|---|---|---|---|---|
138 | } | 138 | } | ||
139 | const QString triedLocationsString = QLocale().createSeparatedList(triedLocations); | 139 | const QString triedLocationsString = QLocale().createSeparatedList(triedLocations); | ||
140 | #ifdef QT_ONLY | 140 | #ifdef QT_ONLY | ||
141 | *errorMessage = QString("Could not open icon resource file %1.").arg(path); | 141 | *errorMessage = QString("Could not open icon resource file %1.").arg(path); | ||
142 | *detailsErrorMessage = QString("Tried to find in %1.").arg(triedLocationsString); | 142 | *detailsErrorMessage = QString("Tried to find in %1.").arg(triedLocationsString); | ||
143 | #else | 143 | #else | ||
144 | *errorMessage = kxi18nc("@info", | 144 | *errorMessage = kxi18nc("@info", | ||
145 | "<para>Could not open icon resource file <filename>%1</filename>.</para>" | 145 | "<para>Could not open icon resource file <filename>%1</filename>.</para>" | ||
146 | "<para><application>Kexi</application> will not start. " | 146 | "<para><application>%2</application> will not start. " | ||
147 | "Please check if <application>Kexi</application> is properly installed.</para>") | 147 | "Please check if it is properly installed.</para>") | ||
148 | .subs(QFileInfo(path).fileName()); | 148 | .subs(QFileInfo(path).fileName()).subs(QApplication::applicationDisplayName()); | ||
149 | *detailsErrorMessage = kxi18nc("@info Tried to find files in <dir list>", | 149 | *detailsErrorMessage = kxi18nc("@info Tried to find files in <dir list>", | ||
150 | "Tried to find in %1.").subs(triedLocationsString); | 150 | "Tried to find in %1.").subs(triedLocationsString); | ||
151 | #endif | 151 | #endif | ||
152 | return false; | 152 | return false; | ||
153 | } | 153 | } | ||
154 | *errorMessage = KLocalizedString(); | 154 | *errorMessage = KLocalizedString(); | ||
155 | *detailsErrorMessage = KLocalizedString(); | 155 | *detailsErrorMessage = KLocalizedString(); | ||
156 | return true; | 156 | return true; | ||
▲ Show 20 Lines • Show All 191 Lines • Show Last 20 Lines |