Page 1 of 1

How to create translation patch from TortoiseSVN in Windows

Posted: Sun Mar 03, 2013 7:55 pm
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.

Re: How to create translation patch from TortoiseSVN in Wind

Posted: Sun Mar 03, 2013 8:49 pm
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.

Re: How to create translation patch from TortoiseSVN in Wind

Posted: Sun Mar 03, 2013 9:27 pm
by Black_Fox
Oh, sorry to duplicate the efforts then. Do you mean this http://www.reactos.org/development/source-control ?

Re: How to create translation patch from TortoiseSVN in Wind

Posted: Sun Mar 03, 2013 10:45 pm
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.

Re: How to create translation patch from TortoiseSVN in Wind

Posted: Mon Mar 04, 2013 2:55 pm
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").

Re: How to create translation patch from TortoiseSVN in Wind

Posted: Mon Mar 04, 2013 7:16 pm
by Z98
That only works if you have commit access. Otherwise you've just confused SVN for when it does the next update.

Re: How to create translation patch from TortoiseSVN in Wind

Posted: Mon Mar 04, 2013 11:02 pm
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.

Re: How to create translation patch from TortoiseSVN in Wind

Posted: Mon Mar 04, 2013 11:32 pm
by hbelusca
ah ok I didn't know Z98, thanks for the remark.

Re: How to create translation patch from TortoiseSVN in Wind

Posted: Fri Jan 01, 2016 7:43 pm
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?

Re: How to create translation patch from TortoiseSVN in Wind

Posted: Tue Jun 21, 2016 4:16 am
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.