Hi,
For info...
When you try to delete requirement on a package, this make crash << invalid argument index in format "". >>

Mailing lists / lazarus / 2009-10
7 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
For info...
When you try to delete requirement on a package, this make crash << invalid argument index in format "". >>
I guess we need a function to check for broken po files.
Mattias
Not for PO, try to remove IDEintf in lazc.lpk for example !!! I have tryed on win and linux with 0.9.28 and last svn.
2009/10/29 Mattias Gaertner
wile64 wroteNot for PO, try to remove IDEintf in lazc.lpk for example !!! I have tryed on win and linux with 0.9.28 and last svn.
Do you use the english translations?
If not, suppose you get the warning:
Do you want to remove the package "MyPackage"?
It may be implemented like:
showmessage(format('"Do you want to remove the packages %s%s%s?',['"','MyPackage','"'));Now if your french string contains only two %s you get this error.
Vincent
Not for PO, try to remove IDEintf in lazc.lpk for example !!! I have tryed on win and…
Not for PO, try to remove IDEintf in lazc.lpk for example !!! I have tryed on win and linux with 0.9.28 and last svn.
It works here with English language.
"invalid argument index in format" comes from the Format function. Somewhere a resourcestring was translated without the %s placeholders. This can be checked by comparing the original string with the translated string from the po file.
Mattias
Ok, I see and Patch this week-end,
thanks two
2009/10/29 Mattias Gaertner
Updated in 22365, please insert into next release 0.9.28 !
2009/10/29 wile64