You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Select time period and generate report in rST format
138
138
3. Convert ~markdown to HTML and share in the R Contributors slack group's #core-translation channel
139
139
140
-
To submit a patch file on the translations found in Weblate but not in the trunk of the main R subversion repo:
140
+
### To submit a patch file on the translations found in Weblate but not in the trunk of the main R subversion repo:
141
+
142
+
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.
143
+
144
+
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.
git fetch svn master # retrieve the latest from SVN
151
+
```
141
152
142
-
1. (_if necessary, i.e., there are any "Missing commits in the Weblate repository"_) Update the weblate repo from Subversion at <https://translate.rx.studio/projects/r-project/#repository>
143
-
2. Clone the weblate git repo from <https://translate.rx.studio/git/r-project/base-r-gui/>
144
153
3. Drop empty translation files to reduce noise, e.g. something like:
# NB: _not_ 'git diff weblate/master svn/master' since we've just deleted the empty .po files locally
205
+
git diff svn/master --no-prefix -- "*.po"
178
206
```
179
207
180
208
8. Share the patch file on the R Contributors Slack group's #core-translation channel and kindly ping @MichaelLawrence for his assistance on getting the patch file applied on the trunk of R dev to get it merged. We should do this ~once per quarter.
0 commit comments