Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-10

Little Bug on package manager

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to wile64
Show quoted text 6 lines
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

Reply by email

wile64
to Mattias Gaertner

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

Show quoted text 20 lines
On Wed, 28 Oct 2009 23:34:48 +0100 wile64 wrote: > 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 -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Laurent. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20091029/5b1a8c73/attachment-0001.html>

Reply by email

Vincent Snijders
to wile64
wile64 wrote
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.

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

Reply by email

Mattias Gaertner
to wile64: 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

Show quoted text 27 lines
2009/10/29 Mattias Gaertner > On Wed, 28 Oct 2009 23:34:48 +0100 > wile64 wrote: > > > 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 > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >

Reply by email

wile64
to Mattias Gaertner

Ok, I see and Patch this week-end,

thanks two

2009/10/29 Mattias Gaertner

Show quoted text 53 lines
On Thu, 29 Oct 2009 16:11:41 +0100 wile64 wrote: > 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 > > > 2009/10/29 Mattias Gaertner > > > On Wed, 28 Oct 2009 23:34:48 +0100 > > wile64 wrote: > > > > > 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 > > > > -- > > _______________________________________________ > > Lazarus mailing list > > > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > > > > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Laurent. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20091029/c0d906e7/attachment.html>

Reply by email

wile64
to wile64

Updated in 22365, please insert into next release 0.9.28 !

2009/10/29 wile64

Show quoted text 67 lines
Ok, I see and Patch this week-end, thanks two 2009/10/29 Mattias Gaertner > On Thu, 29 Oct 2009 16:11:41 +0100 > wile64 wrote: > > > 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 > > > > > > > > > > 2009/10/29 Mattias Gaertner > > > > > On Wed, 28 Oct 2009 23:34:48 +0100 > > > wile64 wrote: > > > > > > > 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 > > > > > > -- > > > _______________________________________________ > > > Lazarus mailing list > > > > > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > > > > > > > > > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- Laurent.
Laurent. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20091031/4109a5b2/attachment.html>

Reply by email