Author |
Topic |
|
Hax
128 Posts |
Posted - 02/23/2012 : 09:28:12
|
1. Configure Actions window title is absent in templates. 2. Some translated strings don't fit. Is there any way to increase the space for those long strings? A smaller font can help too. |
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 09:35:27
|
Thanks!
I'll add the Actions title in 1.7.1.
The only problem with the length is that the static text controls stop at 255. So I'd have to add a second one at problem locations, which is fine, just post some pictures so I can see what we're dealing with (or any other means to communicate the need/constraint). |
|
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 10:41:21
|
Oh, you might mean the regular controls (like checkboxes in Preferences wrapping?), not the long static text blocks. Again, send some screen shots so I can see where the issues are. Reducing font size can help, but the form/control sizes are based on font size (by Windows), so it would scale down with the same issue. I'll need to change the layout of the forms explicitly to allow more room. |
|
|
Hax
128 Posts |
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 10:53:12
|
Fantastic, thank you very much.
Also, the node will be:
<language> <Actions> <Title></Title> |
|
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 11:40:40
|
Try 1.7.1 and let me know how it looks. |
|
|
Hax
128 Posts |
Posted - 02/23/2012 : 12:50:31
|
Thanks, it's almost perfect now. I missed a character encoding problem (Action Report) last time.
http://imgur.com/a/QXUXl
|
|
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 12:55:05
|
Bah, I thought I updated the Ignored window...
Can you post the language file so I can investigate the encoding issue?
Then I'll push 1.7.3 with the Ignored and encoding updates. |
|
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 12:56:43
|
Although, also make an app and action with a wide range of potentially suspect characters to see how it looks in Actions Tree and Report lists. |
|
|
Hax
128 Posts |
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 13:44:11
|
Ugh, well that doesn't work since I don't have the language installed for Windows.
(so you can see the problem characters)
So I can't troubleshoot. I worry this has to do with using CHAR types, which means big changes internally (though for the best anyway!)
I'll work on this, but it's going to be a while. I'll post updates here for you to test out..will be some trial and error. What config are you using, 32 or 64-bit? So I don't have to compile both for having you test, will just drop a zip with EXE/DLL. |
|
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 13:59:06
|
To further clarify, when setting the standard window text (like a checkbox), it's being set directly from the BOOST XML library to SetWindowText, whereas for the Tree/Report, it's copied into a CHAR and passed into a different call. I'm guessing BOOST handles the encoding automatically, while my code is losing it due to the CHAR type.
Hopefully I can research BOOST and find the proper way to have it handle this, which I think may not be too complicated. |
|
|
Hax
128 Posts |
Posted - 02/23/2012 : 14:02:50
|
I'm using 64-bit. There is no hurry. |
|
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 14:06:36
|
Ok good, me too, so I won't have to switch build configs!
In the end, I think I'm going to need to convert S+ to UNICODE..which will take a while, but has honestly been bothering me that it doesn't support it. I figured the language stuff would pretty much force me to eventually =) |
|
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 16:27:25
|
I'm wondering if I really need to go through an entire Unicode conversion at this point in time since it seems to mostly work for you, except when I'm messing with the strings by copying them into CHAR buffers.
In the download below, I'm directly casting the modifier string instead of copying it into the CHAR buffer first. So the place to see if this had any effect would be in the Report window, Modifiers column, where you were seeing the issue for (I believe) Scroll Up / Scroll Down.
Let me know if it looks any different.
http://www.strokesplus.com/files/test/StrokesPlus_1.7.3a_x64.zip |
|
|
Hax
128 Posts |
Posted - 02/23/2012 : 18:36:41
|
Nothing has changed except the Ignored window. Like I said before, there is no hurry. It's not a big issue for me. |
|
|
Rob
USA
2615 Posts |
Posted - 02/23/2012 : 18:42:56
|
Oh well. I think I actually will make a copy of the code to test this stuff with as I can see it's going to be a drawn out effort...yet still be able to work on other enhancements, etc. for general release.
Once I have the right code for handling the strings in one scenario, it will just be a matter of replacing it all over the program, so no need to put all S+ on hold |
|
|
Hax
128 Posts |
Posted - 04/16/2015 : 04:58:21
|
Enable S+ If Non-Ignored App Becomes Active cannot be translated. |
|
|
Rob
USA
2615 Posts |
Posted - 04/16/2015 : 14:40:28
|
Oops, referenced the wrong handle. I've re-uploaded the 2.8.3.1 files. |
|
|
|
Topic |
|