StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
SonGokussj4  
#1 Posted : Friday, October 4, 2019 4:25:17 PM(UTC)
SonGokussj4

Rank: Member

Reputation:

Groups: Approved
Joined: 8/13/2019(UTC)
Posts: 1
Czech Republic
Location: Jeseník

I loved your first version of Strokes Plus. I've been using that for YEARS. So when I'm using your new version, this is BUG in my opinion.
If I draw some impossible (just moving my mouse random coordinates for few seconds) it will, when I pull my finger from my right mouse button,
draw it's exact path without the "blue line" but it will... First thing I noticed after 1 minute of installation of .net version. :-)

I would like to help you to improve this program so much. Because it helped me SO MUCH in past, like, 6? years... Loving your app...
What can I do to help you? Just name a thing!! (Maybe I can even translate - Czech (Czechia/Czech Republic)
Rob  
#2 Posted : Friday, October 4, 2019 4:41:50 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 401
United States

Thanks: 5 times
Was thanked: 78 time(s) in 68 post(s)
Check Options > Advanced
Relay Gesture On No Match

Uncheck that option. It is intentional to allow replaying the events if there is no match.

For example, right click drag files in Explorer, or to have the gesture replayed to the browser where a gesture browser extension can recognize it, since browser extensions have more capabilities.

I'm on my phone, so I can't explain more or look at the screen to make sure I'm naming the right option. :)

I will follow up again later or tomorrow!

Edited by user Friday, October 4, 2019 4:43:00 PM(UTC)  | Reason: Not specified

Rob  
#3 Posted : Saturday, October 5, 2019 7:42:17 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 401
United States

Thanks: 5 times
Was thanked: 78 time(s) in 68 post(s)
I've created a language entry for Czech and added you as a translator.

Go to https://www.strokesplus.net and click Login in the upper right; use the same login as your forum credentials.

Then click Translation at the top menu of the site and you should see a list like this:

  • Czech (Czech Republic) [cs-CZ]
    • Needs Translation - All
    • Needs Translation - Without Script Help Methods
    • Needs Translation - Only Script Help Methods
    • All - Without Script Help Methods
    • All - Only Script Help Methods
    • All


To start, I would suggest clicking Needs Translation - Without Script Help Methods as that is the primary section where translation has the most value, those are all of the application/UI translations.

Once you've finished that, you can move to Needs Translation - Only Script Help Methods or Needs Translation - All (they would both be the same after finishing for the section above).

The script help is VERY large and takes a LONG time to work through!

The All (...) links show both the items which need translation (red) and those which have already been translated (green).

IMPORTANT: This area does not automatically update S+ - you have to let me know when you're done (or partially done). Then I download the .resx file, put it into the code, and add a new line for it to compile in the new language resource. You can either post in the Languages forum, send me a PM, or via the #languages channel in Discord: https://discord.gg/5uHNFFn

The translation works based on the current Windows culture when you start S+ (cs-CZ). You can always change the culture using the script below, if you need.
You can also call sp.ChangeCulture in the Load Script area to always use a specific language/culture, if you do not want S+ to use the current culture set by Windows.
Code:
//Get current culture
var culture = sp.GetCurrentCulture();

//Create input box to prompt selecting a language based on available files
var inputBoxInfo = new InputBoxInfo();
inputBoxInfo.Title = "Change Culture";
inputBoxInfo.Message = "Select an available language below. These are the languages available in the StrokesPlus.net\\Resources folder.";
var files = clr.System.IO.Directory.GetFiles(clr.System.IO.Path.GetDirectoryName(clr.System.Reflection.Assembly.GetEntryAssembly().Location) + "\\Resources");
for (i=0;i<files.Length;i++)
{
    var fi = new FileInfo(files[i]);
    var file = fi.Name;
    if(file.indexOf("Icons") !== 0) {
        file = file.replace(/resources/ig , "").replace(/\./ig,"");
        if(file == "") file = "en-US";
        inputBoxInfo.Items.Add(CultureInfo.GetCultureInfo(file).DisplayName + " [" + file + "]");
    }
}
inputBoxInfo.Sort = true;
inputBoxInfo.ShowAtMouseCursor = true;
//Show the input box
var res = sp.InputBox(inputBoxInfo);

//If a selection was made, change the culture
if(res != null) {
    var n = /\[(.*)\]/i; //Define the regular expression for matching the culture string
    var match = n.exec(res); //Get the text between the brackets, e.g. [en-US]
    sp.ChangeCulture(match[1]);
}

Edited by user Saturday, October 5, 2019 7:44:41 AM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.