Skip to content

Commit ec84fb7

Browse files
skip check of .po agreeing with .mo (#6518)
* skip check of .po agreeing with .mo * Actually use sprintf * oops
1 parent c7e412c commit ec84fb7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.ci/linters/po/msgfmt_linter.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ msgfmt_linter <- function(po_file) {
2020
stop(po_file, " has not been compiled as ", mo_ref, ". Please fix.")
2121
}
2222
if (tools::md5sum(mo_ref) == tools::md5sum(mo_tmp)) return(invisible())
23+
# TODO(#6517): Re-activate this part of the check to ensure .mo is up to date.
24+
cat(sprintf("Note: MD5 sum of msgfmt output for %s does not match %s.\n", po_file, mo_ref))
25+
return(invisible())
2326

2427
# NB: file.mtime() will probably be wrong, it will reflect the check-out time of the git repo.
2528
last_edit_time = system2("git",

0 commit comments

Comments
 (0)