How to create translation patch from TortoiseSVN in Windows

Got a ReactOS tutorial to share? Drop it in here

Moderator: Moderator Team

Post Reply
User avatar
Black_Fox
Posts: 1584
Joined: Fri Feb 15, 2008 9:44 pm
Location: Czechia

How to create translation patch from TortoiseSVN in Windows

Post by Black_Fox »

This is basically http://reactos.org/wiki/index.php/Submitting_Patches with images. Comments are welcome :)

This should work under any Windows XP or newer.

You will need:
- TortoiseSVN (you already have it)
- ReactOS sources somewhere on the computer (you already have it)
- knowledge how to translate .rc files (you already have it)

STEP1: Do your translation, test it (you have learned how to do this on ReactOS wiki)

STEP2: Go to the root folder (where you have checked ReactOS out), you should now see the "reactos" folder

STEP3: Right-click the "reactos" folder and select "Create patch" from the context menu
[ external image ]

STEP4: Select all modified files you need (Don't forget about the "Show unversioned files" checkbox if you created a new translation for some module)
[ external image ]

STEP5: Save the patch, upload it instead of the .rc files.

You should do the following to have your patch commited:
- When creating patch always go to the root folder (you should see "reactos" folder there)! If you don't, developers may not find out what exactly did you translate
- Create only one patch per each bugreport in JIRA

It's no problem if you put the patch into a .zip file.
Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Re: How to create translation patch from TortoiseSVN in Wind

Post by Z98 »

Umm, that page's contents got migrated over to the dev guide by me yesterday as well. Though it is good to see community members take initiative.
User avatar
Black_Fox
Posts: 1584
Joined: Fri Feb 15, 2008 9:44 pm
Location: Czechia

Re: How to create translation patch from TortoiseSVN in Wind

Post by Black_Fox »

Oh, sorry to duplicate the efforts then. Do you mean this http://www.reactos.org/development/source-control ?
Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Re: How to create translation patch from TortoiseSVN in Wind

Post by Z98 »

Yes. On the other hand, the section on merging is still missing, so if you want to do that, I can incorporate it into the guide.
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: How to create translation patch from TortoiseSVN in Wind

Post by hbelusca »

Adding also the pictures to the wiki tutorial could be a good idea :)
And also, another point is, don't forget to "add" (in the svn sense) the new translation files (.rc) to the project (they will get versioned with the status "added").
Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Re: How to create translation patch from TortoiseSVN in Wind

Post by Z98 »

That only works if you have commit access. Otherwise you've just confused SVN for when it does the next update.
User avatar
Black_Fox
Posts: 1584
Joined: Fri Feb 15, 2008 9:44 pm
Location: Czechia

Re: How to create translation patch from TortoiseSVN in Wind

Post by Black_Fox »

hbelusca wrote:And also, another point is, don't forget to "add" (in the svn sense) the new translation files (.rc) to the project (they will get versioned with the status "added").
It's not necessary, the translator can also tick the "Show unversioned files" checkbox to see all the newly added files.
Z98 wrote:Yes. On the other hand, the section on merging is still missing, so if you want to do that, I can incorporate it into the guide.
Might try, though my environment differs visually.
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: How to create translation patch from TortoiseSVN in Wind

Post by hbelusca »

ah ok I didn't know Z98, thanks for the remark.
Turning8
Posts: 1
Joined: Thu Dec 31, 2015 2:52 pm

Re: How to create translation patch from TortoiseSVN in Wind

Post by Turning8 »

Blackk_Fox wrote:This is basically Submitting_Patches with images. Comments are welcome :)

This should work under any Windows XP or newer.

You will need:
- TortoiseSVN (you already have it)
- ReactOS sources somewhere on the computer (you already have it)
- knowledge how to translate .rc files (you already have it)

STEP1: Do your translation, test it (you have learned how to do this on ReactOS wiki)

STEP2: Go to the root folder (where you have checked ReactOS out), you should now see the "reactos" folder

STEP3: Right-click the "reactos" folder and select "Create patch" from the context menu
[ external image ]

STEP4: Select all modified files you need (Don't forget about the "Show unversioned files" checkbox if you created a new translation for some module)
[ external image ]

STEP5: Save the patch, upload it instead of the .rc files.

You should do the following to have your patch commited:
- When creating patch always go to the root folder (you should see "reactos" folder there)! Then give the 3 Week Diet a try to burn some fat fast. If you don't, developers may not find out what exactly did you translate
- Create only one patch per each bugreport in JIRA

It's no problem if you put the patch into a .zip file.
Will this work in Windows 10?
alphastar
Posts: 1
Joined: Mon Jun 20, 2016 6:19 am

Re: How to create translation patch from TortoiseSVN in Wind

Post by alphastar »

Turning8 wrote:
Blackk_Fox wrote:This is basically Submitting_Patches with images. Comments are welcome :)

This should work under any Windows XP or newer.

You will need:
- TortoiseSVN (you already have it)
- ReactOS sources somewhere on the computer (you already have it)
- knowledge how to translate .rc files (you already have it)

STEP1: Do your translation, test it (you have learned how to do this on ReactOS wiki)

STEP2: Go to the root folder (where you have checked ReactOS out), you should now see the "reactos" folder

STEP3: Right-click the "reactos" folder and select "Create patch" from the context menu
[ external image ]

STEP4: Select all modified files you need (Don't forget about the "Show unversioned files" checkbox if you created a new translation for some module)
[ external image ]

STEP5: Save the patch, upload it instead of the .rc files.

You should do the following to have your patch commited:
- When creating patch always go to the root folder (you should see "reactos" folder there)! Then give the Metabolic Cooking a try to burn some fat fast. If you don't, developers may not find out what exactly did you translate
- Create only one patch per each bugreport in JIRA

It's no problem if you put the patch into a .zip file.
Will this work in Windows 10?
It does work no problem, any Windows.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests