-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from r-devel/fix
Be sure to exclude deleted files when running sed
- Loading branch information
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,8 +168,7 @@ The basic idea is to compare the Weblate repo (which copies the R subversion rep | |
# SUMMARIZE the changed translations, and delete empty .po files | ||
set_branch('weblate/master') | ||
weblate_po_files <- po_files() | ||
weblate_summary <- po_counts(weblate_po_files) | ||
weblate_summary <- po_counts(po_files()) | ||
set_branch('svn/master') | ||
svn_summary <- po_counts(po_files()) | ||
set_branch('master') | ||
|
@@ -201,7 +200,7 @@ The basic idea is to compare the Weblate repo (which copies the R subversion rep | |
}] | ||
# REPLACE 'Report-Msgid-Bugs-To' metadata field pointing to #core-translation-po-bugs | ||
system2("sed", c("-i", "'s/[email protected]/bugs.r-project.org/'", weblate_po_files)) | ||
system2("sed", c("-i", "'s/[email protected]/bugs.r-project.org/'", po_summary$filename)) | ||
``` | ||
|
||
4. Generate a patch file from the diff, going back to the most recent commit with translations merged, e.g. | ||
|