|
|||
|
Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Format String Validators firing incorrectly
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| Format String Validators firing incorrectly - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
mdunmill Member
|
In some situations the Inconsistent Format String and the Possibly Extra Format string validation rules fire when there is no real validation error. See the attached image for some examples of where this is the case. Attachment: ErrorMessages02.PNG (Downloaded 27 times)
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Ilkka.Salmenius Administrator
|
Could you send that SLP file to me please. support (at) sisulizer.fi
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Janusz Grzybek Super Moderator
|
Hello, You don't need to send your Sisulizer project to us, because I reproduced it with my sample project. Best, Janusz
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Janusz Grzybek Super Moderator
|
You don't need to send your Sisulizer project to us, because I reproduced it with my sample project.Ignore my previous post, because my placeholder value incorrectly reported as bug has other format, and for this reason your SLP could be useful for us. Janusz
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
mdunmill Member
|
I have sent the project file to support as requested. Thanks in advance. Mark
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
What is the format function that you use? Your message patterns do not seem to be valid printf/sprinft patterns. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
mdunmill Member
|
We are using the Windows FormatMessage function. see http://msdn.microsoft.com/en-us/library/ms679351.aspx There are certainly some instances where Sisulizer is reporting validation errors correctly. e.g. when %s is in the original and %1 in the translation etc. However, Sisulizer is getting it wrong with other strings. e.g. when "%%" is in both the original and the translation etc. See the previous posts for more examples of where Sisulizer is reporting false positives. From http://msdn.microsoft.com/en-us/library/ms679351.aspx comes the following section on the valid format specifiers.
|
|||||||||||||
| ||||||||||||||
| Current time is 07:54 am | |
| Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Format String Validators firing incorrectly | |
Sisulizer software localization tool - Three simple steps to localize