Skip to content

Commit 3e75bbd

Browse files
Re-generate .pot with custom rules (#7467)
* fix double-translated merge() call * Fix untranslated strings * Second pass at generating .pot
1 parent 79e4afb commit 3e75bbd

File tree

6 files changed

+561
-40
lines changed

6 files changed

+561
-40
lines changed

R/data.table.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ replace_dot_alias = function(e) {
561561
}
562562
irows = vecseq(f__, len__, limit)
563563
}
564-
if (verbose) {cat(timetaken(last.started.at),"\n"); flush.console()}
564+
if (verbose) {cat(timetaken(last.started.at),"\n"); flush.console()} # notranslate
565565
# Fix for #1092 and #1074
566566
# TODO: implement better version of "any"/"all"/"which" to avoid
567567
# unnecessary construction of logical vectors

R/frollapply.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ frollapply = function(X, N, FUN, ..., by.column=TRUE, fill=NA, align=c("right","
259259
} else leftadaptive = FALSE
260260
if (leftadaptive) {
261261
if (verbose)
262-
cat("frollapply: adaptive=TRUE && align='left' pre-processing for align='right'\n")
262+
catf("frollapply: adaptive=TRUE && align='left' pre-processing for align='right'\n")
263263
if (by.column) {
264264
X = lapply(X, rev)
265265
} else {
@@ -329,7 +329,7 @@ frollapply = function(X, N, FUN, ..., by.column=TRUE, fill=NA, align=c("right","
329329
DTths0 = getDTthreads(FALSE)
330330
use.fork0 = .Platform$OS.type!="windows" && DTths0 > 1L
331331
if (verbose && !use.fork0)
332-
cat("frollapply running on single CPU thread\n")
332+
catf("frollapply running on single CPU thread\n")
333333
ans = vector("list", nx*nn)
334334
## vectorized x
335335

R/merge.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,15 @@ merge.data.table = function(x, y, by = NULL, by.x = NULL, by.y = NULL, all = FAL
130130
if (is.null(nm)) {
131131
warningf(ngettext(n_dots, "merge.data.table() received %d unnamed argument in '...' which will be ignored.",
132132
"merge.data.table() received %d unnamed arguments in '...' which will be ignored."),
133-
n_dots)
133+
n_dots,
134+
domain=NA)
134135
} else {
135136
named_idx = nzchar(nm)
136137
if (all(named_idx)) {
137138
warningf(ngettext(n_dots, "merge.data.table() received %d unknown keyword argument which will be ignored: %s",
138139
"merge.data.table() received %d unknown keyword arguments which will be ignored: %s"),
139-
n_dots, brackify(nm))
140+
n_dots, brackify(nm),
141+
domain=NA)
140142
} else {
141143
n_named <- sum(named_idx)
142144
unnamed_clause <- sprintf(ngettext(n_dots - n_named, "%d unnamed argument in '...'", "%d unnamed arguments in '...'"), n_dots - n_named)

0 commit comments

Comments
 (0)