Hello,
I've finished translating cryptui's resources, checked control sizes with resource editor and adjusted them where it was needed.
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
On 07/04/2009 11:29 PM, Aurimas Fišeras wrote:
Hello,
I've finished translating cryptui's resources, checked control sizes with resource editor and adjusted them where it was needed.
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
You can always run ResHacker (see http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... for more information). I've used it and it works reasonably well (at least on generated *.res files). One problem I spotted however (probably a bug in Wine) is that you've to use to "All Files (*.*)" filter to view the files.
Hope this helps,
Frédéric
On 07/05/2009 03:36 AM, Frédéric Delanoy wrote:
On 07/04/2009 11:29 PM, Aurimas Fišeras wrote:
Hello,
I've finished translating cryptui's resources, checked control sizes with resource editor and adjusted them where it was needed.
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
You can always run ResHacker (see http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... for more information). I've used it and it works reasonably well (at least on generated *.res files). One problem I spotted however (probably a bug in Wine) is that you've to use to "All Files (*.*)" filter to view the files.
Is I wrote above, I already performed this step (using xnre). Now I want to check "live" dialogs, but don't know how.
2009/7/5 Aurimas Fišeras aurimas@gmail.com:
On 07/05/2009 03:36 AM, Frédéric Delanoy wrote:
On 07/04/2009 11:29 PM, Aurimas Fišeras wrote:
Hello,
I've finished translating cryptui's resources, checked control sizes with resource editor and adjusted them where it was needed.
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
You can always run ResHacker (see http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... for more information). I've used it and it works reasonably well (at least on generated *.res files). One problem I spotted however (probably a bug in Wine) is that you've to use to "All Files (*.*)" filter to view the files.
Is I wrote above, I already performed this step (using xnre). Now I want to check "live" dialogs, but don't know how.
Isn't that what makefake.sh (http://wiki.winehq.org/Translating) is for?
On 07/05/2009 09:51 AM, Austin English wrote:
2009/7/5 Aurimas Fišeras aurimas@gmail.com:
On 07/05/2009 03:36 AM, Frédéric Delanoy wrote:
On 07/04/2009 11:29 PM, Aurimas Fišeras wrote:
Hello,
I've finished translating cryptui's resources, checked control sizes with resource editor and adjusted them where it was needed.
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
You can always run ResHacker (see http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... for more information). I've used it and it works reasonably well (at least on generated *.res files). One problem I spotted however (probably a bug in Wine) is that you've to use to "All Files (*.*)" filter to view the files.
Is I wrote above, I already performed this step (using xnre). Now I want to check "live" dialogs, but don't know how.
Isn't that what makefake.sh (http://wiki.winehq.org/Translating) is for?
No, it can be used to check resources in resource editor. What I need is a way to call cryptui.dll's dialogs from some program that uses them.
On 07/05/2009 08:46 AM, Aurimas Fišeras wrote:
On 07/05/2009 03:36 AM, Frédéric Delanoy wrote:
On 07/04/2009 11:29 PM, Aurimas Fišeras wrote:
Hello,
I've finished translating cryptui's resources, checked control sizes with resource editor and adjusted them where it was needed.
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
You can always run ResHacker (see http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... for more information). I've used it and it works reasonably well (at least on generated *.res files). One problem I spotted however (probably a bug in Wine) is that you've to use to "All Files (*.*)" filter to view the files.
Is I wrote above, I already performed this step (using xnre). Now I want to check "live" dialogs, but don't know how.
You can do that with ResHacker: just select the dialogs you want to see on the left-side tree, and double-click on the menu you want to check (or single-click and use "show dialog"); what't nice is that you can modify the dialog/widgets sizes and check "live" the results in a preview window.
Of course, the buttons won't have any action, but hey, you're translating, not trying to verify that, e.g., the buttons work correctly.
If you find a better way, please tell me.
Frédéric
On 5 jul 2009, at 09:49, Frédéric Delanoy frederic.delanoy@gmail.com wrote:
On 07/05/2009 08:46 AM, Aurimas Fišeras wrote:
On 07/05/2009 03:36 AM, Frédéric Delanoy wrote:
On 07/04/2009 11:29 PM, Aurimas Fišeras wrote:
Hello,
I've finished translating cryptui's resources, checked control sizes with resource editor and adjusted them where it was needed.
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
You can always run ResHacker (see http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... for more information). I've used it and it works reasonably well (at least on generated *.res files). One problem I spotted however (probably a bug in Wine) is that you've to use to "All Files (*.*)" filter to view the files.
Is I wrote above, I already performed this step (using xnre). Now I want to check "live" dialogs, but don't know how.
You can do that with ResHacker: just select the dialogs you want to see on the left-side tree, and double-click on the menu you want to check (or single-click and use "show dialog"); what't nice is that you can modify the dialog/widgets sizes and check "live" the results in a preview window.
Of course, the buttons won't have any action, but hey, you're translating, not trying to verify that, e.g., the buttons work correctly.
If you find a better way, please tell me.
Frédéric
I think I've used Firefox for that.I will check when I've powered up my laptop later in the day.
Cheers,
Paul
Paul Vriens schrieb:
On 5 jul 2009, at 09:49, Frédéric Delanoy frederic.delanoy@gmail.com wrote:
On 07/05/2009 08:46 AM, Aurimas Fišeras wrote:
On 07/05/2009 03:36 AM, Frédéric Delanoy wrote:
On 07/04/2009 11:29 PM, Aurimas Fišeras wrote:
Hello,
I've finished translating cryptui's resources, checked control sizes with resource editor and adjusted them where it was needed.
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
You can always run ResHacker (see http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... for more information). I've used it and it works reasonably well (at least on generated *.res files). One problem I spotted however (probably a bug in Wine) is that you've to use to "All Files (*.*)" filter to view the files.
Is I wrote above, I already performed this step (using xnre). Now I want to check "live" dialogs, but don't know how.
You can do that with ResHacker: just select the dialogs you want to see on the left-side tree, and double-click on the menu you want to check (or single-click and use "show dialog"); what't nice is that you can modify the dialog/widgets sizes and check "live" the results in a preview window.
Of course, the buttons won't have any action, but hey, you're translating, not trying to verify that, e.g., the buttons work correctly.
If you find a better way, please tell me.
Frédéric
I think I've used Firefox for that.I will check when I've powered up my laptop later in the day.
Cheers,
Paul
As i wrote the german translation of it, i had the same problem. The solution is to install IE6 with IEs4Linux or something like that and go to options->security tab. You need to check if the installer made a dll-override of cryptui and the other crypt-things, they should be "built-in".
Have Fun Best Regards, André Hentschel
André Hentschel wrote:
Paul Vriens schrieb:
On 5 jul 2009, at 09:49, Frédéric Delanoy frederic.delanoy@gmail.com wrote:
On 07/05/2009 08:46 AM, Aurimas Fišeras wrote:
On 07/05/2009 03:36 AM, Frédéric Delanoy wrote:
On 07/04/2009 11:29 PM, Aurimas Fišeras wrote:
Hello,
I've finished translating cryptui's resources, checked control sizes with resource editor and adjusted them where it was needed.
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
You can always run ResHacker (see http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... for more information). I've used it and it works reasonably well (at least on generated *.res files). One problem I spotted however (probably a bug in Wine) is that you've to use to "All Files (*.*)" filter to view the files.
Is I wrote above, I already performed this step (using xnre). Now I want to check "live" dialogs, but don't know how.
You can do that with ResHacker: just select the dialogs you want to see on the left-side tree, and double-click on the menu you want to check (or single-click and use "show dialog"); what't nice is that you can modify the dialog/widgets sizes and check "live" the results in a preview window.
Of course, the buttons won't have any action, but hey, you're translating, not trying to verify that, e.g., the buttons work correctly.
If you find a better way, please tell me.
Frédéric
I think I've used Firefox for that.I will check when I've powered up my laptop later in the day.
Cheers,
Paul
As i wrote the german translation of it, i had the same problem. The solution is to install IE6 with IEs4Linux or something like that and go to options->security tab. You need to check if the installer made a dll-override of cryptui and the other crypt-things, they should be "built-in".
Have Fun Best Regards, André Hentschel
It wasn't Firefox it was actually Chrome I used for checking the translations.
On 07/05/2009 12:59 PM, Paul Vriens wrote:
André Hentschel wrote:
Paul Vriens schrieb:
On 5 jul 2009, at 09:49, Frédéric Delanoy frederic.delanoy@gmail.com wrote:
On 07/05/2009 08:46 AM, Aurimas Fišeras wrote:
On 07/05/2009 03:36 AM, Frédéric Delanoy wrote:
On 07/04/2009 11:29 PM, Aurimas Fišeras wrote: > Hello, > > I've finished translating cryptui's resources, checked control sizes > with resource editor and adjusted them where it was needed. > > But how can I run cryptui's wizards and other dialogs to confirm > that > everything else is translated correctly? > You can always run ResHacker (see http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... for more information). I've used it and it works reasonably well (at least on generated *.res files). One problem I spotted however (probably a bug in Wine) is that you've to use to "All Files (*.*)" filter to view the files.
Is I wrote above, I already performed this step (using xnre). Now I want to check "live" dialogs, but don't know how.
You can do that with ResHacker: just select the dialogs you want to see on the left-side tree, and double-click on the menu you want to check (or single-click and use "show dialog"); what't nice is that you can modify the dialog/widgets sizes and check "live" the results in a preview window.
Of course, the buttons won't have any action, but hey, you're translating, not trying to verify that, e.g., the buttons work correctly.
If you find a better way, please tell me.
Frédéric
I think I've used Firefox for that.I will check when I've powered up my laptop later in the day.
Cheers,
Paul
As i wrote the german translation of it, i had the same problem. The solution is to install IE6 with IEs4Linux or something like that and go to options->security tab. You need to check if the installer made a dll-override of cryptui and the other crypt-things, they should be "built-in".
Have Fun Best Regards, André Hentschel
It wasn't Firefox it was actually Chrome I used for checking the translations.
Thanks, Chrome worked great for this purpose.
Aurimas Fišeras wrote:
On 07/05/2009 12:59 PM, Paul Vriens wrote:
André Hentschel wrote:
Paul Vriens schrieb:
On 5 jul 2009, at 09:49, Frédéric Delanoy frederic.delanoy@gmail.com wrote:
On 07/05/2009 08:46 AM, Aurimas Fišeras wrote:
On 07/05/2009 03:36 AM, Frédéric Delanoy wrote: > On 07/04/2009 11:29 PM, Aurimas Fišeras wrote: >> Hello, >> >> I've finished translating cryptui's resources, checked control sizes >> with resource editor and adjusted them where it was needed. >> >> But how can I run cryptui's wizards and other dialogs to confirm >> that >> everything else is translated correctly? >> > You can always run ResHacker (see > http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... > for more information). > I've used it and it works reasonably well (at least on generated > *.res files). > One problem I spotted however (probably a bug in Wine) is that > you've to use to "All Files (*.*)" filter to view the files. > Is I wrote above, I already performed this step (using xnre). Now I want to check "live" dialogs, but don't know how.
You can do that with ResHacker: just select the dialogs you want to see on the left-side tree, and double-click on the menu you want to check (or single-click and use "show dialog"); what't nice is that you can modify the dialog/widgets sizes and check "live" the results in a preview window.
Of course, the buttons won't have any action, but hey, you're translating, not trying to verify that, e.g., the buttons work correctly.
If you find a better way, please tell me.
Frédéric
I think I've used Firefox for that.I will check when I've powered up my laptop later in the day.
Cheers,
Paul
As i wrote the german translation of it, i had the same problem. The solution is to install IE6 with IEs4Linux or something like that and go to options->security tab. You need to check if the installer made a dll-override of cryptui and the other crypt-things, they should be "built-in".
Have Fun Best Regards, André Hentschel
It wasn't Firefox it was actually Chrome I used for checking the translations.
Thanks, Chrome worked great for this purpose.
I'm actually fixing up the NL translations as several things are not entirely correct (mostly sizing issues).
I did experience some crashes of Chrome while dealing with the crypt exporting/importing/viewing, so will do some bughunting as well ;)
On 07/05/2009 01:57 PM, Paul Vriens wrote:
Aurimas Fišeras wrote:
On 07/05/2009 12:59 PM, Paul Vriens wrote:
André Hentschel wrote:
Paul Vriens schrieb:
On 5 jul 2009, at 09:49, Frédéric Delanoy frederic.delanoy@gmail.com wrote:
On 07/05/2009 08:46 AM, Aurimas Fišeras wrote: > On 07/05/2009 03:36 AM, Frédéric Delanoy wrote: >> On 07/04/2009 11:29 PM, Aurimas Fišeras wrote: >>> Hello, >>> >>> I've finished translating cryptui's resources, checked control >>> sizes >>> with resource editor and adjusted them where it was needed. >>> >>> But how can I run cryptui's wizards and other dialogs to confirm >>> that >>> everything else is translated correctly? >>> >> You can always run ResHacker (see >> http://wiki.winehq.org/Translating#head-97aa5da9117ce6c05ac70962373f2c3a6a5f... >> >> for more information). >> I've used it and it works reasonably well (at least on generated >> *.res files). >> One problem I spotted however (probably a bug in Wine) is that >> you've to use to "All Files (*.*)" filter to view the files. >> > Is I wrote above, I already performed this step (using xnre). Now I > want > to check "live" dialogs, but don't know how. You can do that with ResHacker: just select the dialogs you want to see on the left-side tree, and double-click on the menu you want to check (or single-click and use "show dialog"); what't nice is that you can modify the dialog/widgets sizes and check "live" the results in a preview window.
Of course, the buttons won't have any action, but hey, you're translating, not trying to verify that, e.g., the buttons work correctly.
If you find a better way, please tell me.
Frédéric
I think I've used Firefox for that.I will check when I've powered up my laptop later in the day.
Cheers,
Paul
As i wrote the german translation of it, i had the same problem. The solution is to install IE6 with IEs4Linux or something like that and go to options->security tab. You need to check if the installer made a dll-override of cryptui and the other crypt-things, they should be "built-in".
Have Fun Best Regards, André Hentschel
It wasn't Firefox it was actually Chrome I used for checking the translations.
Thanks, Chrome worked great for this purpose.
I'm actually fixing up the NL translations as several things are not entirely correct (mostly sizing issues).
I did experience some crashes of Chrome while dealing with the crypt exporting/importing/viewing, so will do some bughunting as well ;)
Yes I'm having some crashes too. Trying to delete certificate: chrome.exe: context.c:115: Context_GetExtra: Assertion `baseContext->type == ContextTypeLink' failed.
Trying to view certificate purposes: chrome.exe: caret.c:183: ME_GetCursorCoordinates: Assertion `~para->member.para.nFlags & 0x01' failed.
Hi Aurimas, Paul,
I did experience some crashes of Chrome while dealing with the crypt exporting/importing/viewing, so will do some bughunting as well ;)
Yes I'm having some crashes too. Trying to delete certificate: chrome.exe: context.c:115: Context_GetExtra: Assertion `baseContext->type == ContextTypeLink' failed.
Trying to view certificate purposes: chrome.exe: caret.c:183: ME_GetCursorCoordinates: Assertion `~para->member.para.nFlags & 0x01' failed.
Dylan's fix for this crash was committed today, so if you're still interested in testing the cryptui dialogs, you should be able to view them without crashes using today's git. (Thanks again, Dylan.) --Juan
Hi Aurimas,
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
In addition to the excellent suggestions you've already gotten, I'll just add that it's possible to test cryptui's dialogs without installing anything by opening the certificate manager. For instance, the following program, compiled with winegcc, should produce a program that'll open the certificate manager:
#include <windows.h> #include <cryptuiapi.h> int main(void) { CRYPTUI_CERT_MGR_STRUCT mgrStruct;
memset(&mgrStruct, 0, sizeof(mgrStruct); mgrStruct.dwSize = sizeof(mgrStruct); CryptUIDlgCertMgr(&mgrStruct); return 0; }
Thanks, --Juan
On 07/06/2009 03:44 AM, Juan Lang wrote:
Hi Aurimas,
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
In addition to the excellent suggestions you've already gotten, I'll just add that it's possible to test cryptui's dialogs without installing anything by opening the certificate manager. For instance, the following program, compiled with winegcc, should produce a program that'll open the certificate manager:
#include <windows.h> #include <cryptuiapi.h> int main(void) { CRYPTUI_CERT_MGR_STRUCT mgrStruct;
memset(&mgrStruct, 0, sizeof(mgrStruct); mgrStruct.dwSize = sizeof(mgrStruct); CryptUIDlgCertMgr(&mgrStruct); return 0;
}
Thanks, --Juan
Thanks. This method works too. However, had to add #include <string.h> to compile it.
Unfortunately certificate manager crashes in the same places as it crashed in Chrome.
Aurimas Fišeras schrieb:
On 07/06/2009 03:44 AM, Juan Lang wrote:
Hi Aurimas,
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
In addition to the excellent suggestions you've already gotten, I'll just add that it's possible to test cryptui's dialogs without installing anything by opening the certificate manager. For instance, the following program, compiled with winegcc, should produce a program that'll open the certificate manager:
#include <windows.h> #include <cryptuiapi.h> int main(void) { CRYPTUI_CERT_MGR_STRUCT mgrStruct;
memset(&mgrStruct, 0, sizeof(mgrStruct); mgrStruct.dwSize = sizeof(mgrStruct); CryptUIDlgCertMgr(&mgrStruct); return 0;
}
Thanks, --Juan
Thanks. This method works too. However, had to add #include <string.h> to compile it.
Unfortunately certificate manager crashes in the same places as it crashed in Chrome.
Juan, You missed a ) in the memset-line, but i didnt need to include string.h as Aurimas. I just used "winemaker ." and added "-lcryptui" for LIBRARIES and it compiled fine.
Hi André,
You missed a ) in the memset-line, but i didnt need to include string.h as Aurimas.
You're right, I did. Sorry about that. Whether you need string.h depends on your libc: memset is sometimes declared there.
Cheers, --Juan
Juan Lang schrieb:
Hi André,
You missed a ) in the memset-line, but i didnt need to include string.h as Aurimas.
You're right, I did. Sorry about that. Whether you need string.h depends on your libc: memset is sometimes declared there.
Cheers, --Juan
Ok, also i think it is the best way to test crypt-things. Might be good for wiki, as crypt is one of the biggest resources with about 15% atm.
Might be good for wiki, as crypt is one of the biggest resources with about 15% atm.
By all means, be my guest :) --Juan
Juan Lang wrote:
Hi Aurimas,
But how can I run cryptui's wizards and other dialogs to confirm that everything else is translated correctly?
In addition to the excellent suggestions you've already gotten, I'll just add that it's possible to test cryptui's dialogs without installing anything by opening the certificate manager. For instance, the following program, compiled with winegcc, should produce a program that'll open the certificate manager:
#include <windows.h> #include <cryptuiapi.h> int main(void) { CRYPTUI_CERT_MGR_STRUCT mgrStruct;
memset(&mgrStruct, 0, sizeof(mgrStruct); mgrStruct.dwSize = sizeof(mgrStruct); CryptUIDlgCertMgr(&mgrStruct); return 0;
}
Thanks, --Juan
Hi Juan,
Do you know which stores are by default shown on Windows? There are more stores then we currently have but adding them like the last one will add more tabs on the dialog.
Is the display of a tab depending on whether there are certificates in a particular store?
Hi Paul,
Do you know which stores are by default shown on Windows? There are more stores then we currently have but adding them like the last one will add more tabs on the dialog.
I made the certificate manager display the same set of stores as my copy of Windows XP does.
Is the display of a tab depending on whether there are certificates in a particular store?
No. In fact most stores are initially empty on Wine. On Windows, the Personal store and the "Other People" store are initially empty. --Juan
Juan Lang wrote:
Hi Paul,
Do you know which stores are by default shown on Windows? There are more stores then we currently have but adding them like the last one will add more tabs on the dialog.
I made the certificate manager display the same set of stores as my copy of Windows XP does.
I see it now. cryptui/main.c sets the default store list.
So I was wrong with my statement before about adding store names to the resource files of crypt32 and needed .c files. We could add them all without having more tabs.