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

Notification

Icon
Error

Options
Go to last post Go to first unread
liuxilu  
#1 Posted : Thursday, July 2, 2020 4:08:43 AM(UTC)
liuxilu

Rank: Advanced Member

Reputation:

Groups: Translators, Moderators, Approved
Joined: 4/5/2020(UTC)
Posts: 75
China

Thanks: 1 times
Was thanked: 20 time(s) in 20 post(s)
save this👇 to a bookmark and click it after the translation page is fully loaded.

Edited by user Wednesday, July 8, 2020 9:54:22 PM(UTC)  | Reason: Not specified

thanks 1 user thanked liuxilu for this useful post.
Brolencho on 7/7/2020(UTC)
Brolencho  
#2 Posted : Tuesday, July 7, 2020 5:40:18 PM(UTC)
Brolencho

Rank: Member

Reputation:

Groups: Translators, Approved
Joined: 6/26/2020(UTC)
Posts: 11
Peru
Location: Lima

Thanks: 4 times
Was thanked: 1 time(s) in 1 post(s)
That's nice man, thanks for sharing the tools that you're using. In this case, this adds a control panel for translation (filtering, input, etc.). Cool

Question: Do you know if i can erase translation for multiple entries?

Should i use these controls?

UserPostedImage

Thanks again.
liuxilu  
#3 Posted : Wednesday, July 8, 2020 9:27:42 PM(UTC)
liuxilu

Rank: Advanced Member

Reputation:

Groups: Translators, Moderators, Approved
Joined: 4/5/2020(UTC)
Posts: 75
China

Thanks: 1 times
Was thanked: 20 time(s) in 20 post(s)
Just type multiple lines.
liuxilu  
#4 Posted : Wednesday, July 8, 2020 10:19:38 PM(UTC)
liuxilu

Rank: Advanced Member

Reputation:

Groups: Translators, Moderators, Approved
Joined: 4/5/2020(UTC)
Posts: 75
China

Thanks: 1 times
Was thanked: 20 time(s) in 20 post(s)
I'm using that textbox in this way: Download .resx and open it with Visual Studio, select all and copy, paste in EmEditor and run the following macro:
Code:
document.Encoding = eeEncodingUTF8 ;
document.selection.StartOfDocument();

document.selection.Replace('((?:\\t.+|")\\t).+$', '\\1', eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp,eeExFindSeparateCRLF | eeExFindRegexOnigmo);
document.selection.Replace('\\n', '\\\\n', eeFindReplaceCase | eeReplaceAll);
do {
	t = document.selection.Replace('^(.+\\t".+)(?<!"\\t)$\\r\\n', '\\1\\\\n', eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp,eeExFindSeparateCRLF | eeExFindRegexOnigmo);
} while (t > 0)
document.selection.Replace('"?\\t$', '', eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp,eeExFindSeparateCRLF | eeExFindRegexOnigmo);
document.selection.Replace('^(.+\\t)"', '\\1', eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp,eeExFindSeparateCRLF | eeExFindRegexOnigmo);
document.selection.Replace('^([a-zA-Z0-9\\.]+)\\t', '\\1,', eeFindReplaceCase | eeReplaceAll | eeFindReplaceRegExp,eeExFindSeparateCRLF | eeExFindRegexOnigmo);

Then I get a list of Name,Translation pairs suitable for editing as plain text and put in that textbox.
thanks 1 user thanked liuxilu for this useful post.
Brolencho on 7/9/2020(UTC)
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.