Skip to content

Commit

Permalink
Merge pull request #33 from r-devel/rerun-fetch
Browse files Browse the repository at this point in the history
Spell out the steps for a re-run too
  • Loading branch information
MichaelChirico authored Mar 18, 2024
2 parents 346b7f2 + 5341c43 commit ccf7631
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion web/Weblate-server.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,22 @@ _NB: Weblate links below assume you're logged in there, otherwise you'll be redi
The basic idea is to compare the Weblate repo (which copies the R subversion repo, but also adds translations provided _via_ Weblate) to the "official" R sources; any difference in .po files should be submitted as a patch.

1. Make sure the Weblate repo is fully up-to-date. Check status at https://translate.rx.studio/projects/r-project/#repository -- be sure there are no `Update` or `Commit` actions needed.
1. Get the two repos cloned on any machine:
1. Get the two repos cloned on any machine. If this is your first time generating a patch on this machine:

```sh
git clone -o weblate https://translate.rx.studio/git/r-project/base-r-gui/ # remote #1: Weblate source
git remote add svn git remote add svn [email protected]:r-devel/r-svn.git # remote #2: SVN source
git fetch svn master # retrieve the latest from SVN
```

If you've got the repo set up locally already, update:

```sh
git fetch svn master
git fetch weblate master
git reset --hard weblate/master # force-reset to match state on Weblate (usual caution with --hard applies)
```

1. Revert unwanted changes to reduce noise, e.g. something like:

```r
Expand Down

0 comments on commit ccf7631

Please sign in to comment.