StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Other Languages (Beta)
 Information
 Issues
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hax

128 Posts

Posted - 02/23/2012 :  09:28:12  Show Profile  Reply with Quote
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
2604 Posts

Posted - 02/23/2012 :  09:35:27  Show Profile  Visit Rob's Homepage  Reply with Quote
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).
Go to Top of Page

Rob

USA
2604 Posts

Posted - 02/23/2012 :  10:41:21  Show Profile  Visit Rob's Homepage  Reply with Quote
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.
Go to Top of Page

Hax

128 Posts

Posted - 02/23/2012 :  10:50:42  Show Profile  Reply with Quote
http://imgur.com/a/c5aYr

The length of the red lines doesn't matter.
Go to Top of Page

Rob

USA
2604 Posts

Posted - 02/23/2012 :  10:53:12  Show Profile  Visit Rob's Homepage  Reply with Quote
Fantastic, thank you very much.

Also, the node will be:

<language>
<Actions>
<Title></Title>
Go to Top of Page

Rob

USA
2604 Posts

Posted - 02/23/2012 :  11:40:40  Show Profile  Visit Rob's Homepage  Reply with Quote
Try 1.7.1 and let me know how it looks.
Go to Top of Page

Hax

128 Posts

Posted - 02/23/2012 :  12:50:31  Show Profile  Reply with Quote
Thanks, it's almost perfect now. I missed a character encoding problem (Action Report) last time.

http://imgur.com/a/QXUXl

Go to Top of Page

Rob

USA
2604 Posts

Posted - 02/23/2012 :  12:55:05  Show Profile  Visit Rob's Homepage  Reply with Quote
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.
Go to Top of Page

Rob

USA
2604 Posts

Posted - 02/23/2012 :  12:56:43  Show Profile  Visit Rob's Homepage  Reply with Quote
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.
Go to Top of Page

Hax

128 Posts

Posted - 02/23/2012 :  13:27:26  Show Profile  Reply with Quote
Here you go.

http://www.mediafire.com/?obsx40c7sy7fe1s


http://imgur.com/a/M1b6K

Edited by - Hax on 02/23/2012 13:44:07
Go to Top of Page

Rob

USA
2604 Posts

Posted - 02/23/2012 :  13:44:11  Show Profile  Visit Rob's Homepage  Reply with Quote
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.
Go to Top of Page

Rob

USA
2604 Posts

Posted - 02/23/2012 :  13:59:06  Show Profile  Visit Rob's Homepage  Reply with Quote
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.
Go to Top of Page

Hax

128 Posts

Posted - 02/23/2012 :  14:02:50  Show Profile  Reply with Quote
I'm using 64-bit. There is no hurry.
Go to Top of Page

Rob

USA
2604 Posts

Posted - 02/23/2012 :  14:06:36  Show Profile  Visit Rob's Homepage  Reply with Quote
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 =)
Go to Top of Page

Rob

USA
2604 Posts

Posted - 02/23/2012 :  16:27:25  Show Profile  Visit Rob's Homepage  Reply with Quote
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
Go to Top of Page

Hax

128 Posts

Posted - 02/23/2012 :  18:36:41  Show Profile  Reply with Quote
Nothing has changed except the Ignored window. Like I said before, there is no hurry. It's not a big issue for me.
Go to Top of Page

Rob

USA
2604 Posts

Posted - 02/23/2012 :  18:42:56  Show Profile  Visit Rob's Homepage  Reply with Quote
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
Go to Top of Page

Hax

128 Posts

Posted - 04/16/2015 :  04:58:21  Show Profile  Reply with Quote
Enable S+ If Non-Ignored App Becomes Active cannot be translated.
Go to Top of Page

Rob

USA
2604 Posts

Posted - 04/16/2015 :  14:40:28  Show Profile  Visit Rob's Homepage  Reply with Quote
Oops, referenced the wrong handle. I've re-uploaded the 2.8.3.1 files.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000