mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 22:52:34 +01:00
Fix internationalized format string warnings
A few internationalized format strings have only one %s in the default while two strings are being passed. Change those defaults to have two %s's, which means we also have to update the .po files to match. May as well throw in the extra %s in the translated version while we're at it.
This commit is contained in:
committed by
Carlos R. Mafra
parent
6082f2d243
commit
35bcfa6a02
@@ -216,7 +216,7 @@ WIcon *wIconCreateWithIconFile(WScreen * scr, char *iconfile, int tile)
|
||||
if (iconfile) {
|
||||
icon->image = RLoadImage(scr->rcontext, iconfile, 0);
|
||||
if (!icon->image) {
|
||||
wwarning(_("error loading image file \"%s\""), iconfile, RMessageForError(RErrorCode));
|
||||
wwarning(_("error loading image file \"%s\": %s"), iconfile, RMessageForError(RErrorCode));
|
||||
}
|
||||
|
||||
icon->image = wIconValidateIconSize(scr, icon->image);
|
||||
|
||||
Reference in New Issue
Block a user