-
Notifications
You must be signed in to change notification settings - Fork 1k
Add Chinese error message translations #3935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
f89c370
initial exploration of adding a chinese translation of messages
e7208a4
adding another .mo file that was untracked
12a169f
trying to get the .pot for src/ files
e10a714
adding warning()s from C
b987a1d
C messages with DTPRINT or Rprintf
4d950a2
adding STOP messages
f64d93a
DTWARN messages
a30930d
Error in forder
57eeace
odds&ends more messages
9d596ac
cannot use _() with \r
710400a
update .pot for src files
6ac71e4
moving pot file to po/
1c98859
update header metadata for src .pot
856f723
Merge branch 'translation' of https://github.com/Rdatatable/data.tabl…
0832f48
run update_pkg_po on the src to get mo files
bd4f60b
Merge branch 'master' into translation
9a46ed3
update_pkg_po after merge
a0139bb
add template message in onAttach() & clear typos/PYDT issue along the…
a37bde3
remove some strings
e37d43b
Merge branch 'master' into translation
0543e44
improve arg checking&message in groupingsets; add some messages
8f45182
Merge branch 'master' into translation
48e3b1a
get tests working (fix some bad quotes, adjust to new messages)
03d3395
update po with latest message edits
fad9524
Finished the translation assigned to Chun-Hui Gao (#3983)
gaospecial a518816
(hopefully) apply encoding fix & check compilation
ce3f11b
improve internal error & regenerate messages
7be31d7
Finish translation to zh_CN assigned to group 2 (Hongyuan Jia) (#3986)
53ec99a
balance quotes
189a3ec
extra nocov
5082e56
some coverage of fmelt
a3b6540
complete coverage of fmelt
0ca5afa
fix test error
6402947
update message per DeLuns feedback
f554b79
update message again; some minor tweaks to nearby code
b063414
Merge branch 'master' into translation
42b5d44
Translation to zh_CN assigned to group 3 (#3985)
biobai 62a3ce8
minor update
35eb661
added new message caught by xianghui
219b726
Translation haogao gu (#4002)
Koohoko 07b5686
Translation finished (soappp) (#4023)
soappp9527 606937b
fix format tags for two translations
2769942
Merge branch 'master' into translation
MichaelChirico 526a38b
done some translation!
KingdaShi 8a09631
Merge branch 'master' into translation
e23fe63
Finish translation to zh_CN assigned to group 5 (Leo Lee) (#3995)
Leo-Lee15 43735cc
Translation dracodoc (#4034)
dracodoc fe501d7
re-run update_pkg_po
b6c3ac7
Merge branch 'translation' of https://github.com/Rdatatable/data.tabl…
7272820
update binaries
6dbd5d1
git stMerge branch 'translation' into translation-kingda
ef49f83
Translation caiquanyou (#4039)
caiquanyou d722f81
translation(partial) into zh_CN by Yuanchen Xie (#4010)
ca3e754
Merge branch 'master' into translation
dd24dbb
update vs recent master
c13a1fb
Translation to zh_CN - Group 7 (#4019)
amy17519 c3d09b4
Merge branch 'master' into translation
ebb273b
Merge branch 'translation' of https://github.com/Rdatatable/data.tabl…
396a5b2
fix-up of merge
a613456
update po after merge
0de9fb8
update fuzzy translations
2c474db
update mistaken PRIu64->PRId64
6f2ce85
caught a few more failed merges
6cd7995
line # update
2f49de6
Merge branch 'master' into translation
548d070
rerun update_pkg_po
5f3af30
Translation shawn (#4050)
f1be93e
small tweak
60741b9
Merge branch 'master' into translation
961ef20
Merge branch 'master' into translation
dca3e33
Translation yilei (#3989)
Zachary-Wu f54a69d
updating some small misses from last pull
533e842
Translation to zh_CN assigned to group 12 (#3987)
renkun-ken 2a4f6e6
no longer using %llu, other small tidying
faa2dcc
Merge branch 'master' into translation
4932ded
Merge branch 'master' into translation
005d5af
Translation fengqifang (#3990)
spxdummy 81ca331
Merge branch 'translation' of https://github.com/Rdatatable/data.tabl…
c89a455
run update_pkg_po on new merge
49ba638
done some translation (#4069)
sunshine1126 a687673
Merge branch 'master' into translation
5e8281f
touch-up
1b41217
Translation to zh_CN assigned to group 4 (#3997)
zhiiiyang edefd0f
update mo
bde1a56
Merge branch 'master' into translation
b417528
Merge branch 'master' into translation
4b7c49e
My part of translation has been completed. It's so happy! (#4051)
Xueliang24 5e7279e
Merge branch 'master' of github.com:Rdatatable/data.table into transl…
3cfbcdc
Merge branch 'translation' of github.com:Rdatatable/data.table into t…
cf92984
some revisions due to foreign char, touch-up, remove fuzzy
92e4583
Merge branch 'master' into translation
72fb181
Translation yuliang li (#4055)
JulianYlli12 71db7e7
tweaks for syntax mistakes
c9b49e5
Translation to zh_CN - Group 17 (#4049)
shrektan a34c9c0
Merge branch 'master' into translation
5094c46
update mo, fix missing field
3f8cefe
Translation yc0802 (#4054)
yc0802 a9de5aa
adding "leftover" translations (#4143)
MichaelChirico 4fc08a1
Merge branch 'translation' into translation-kingda
2864ca6
done some translation!-kingda (#4046)
KingdaShi 67f3614
Merge branch 'translation-kingda' into translation
b4cb616
Translation leftover pt2 (#4146)
MichaelChirico 8457d36
missing dot
a39acd9
add note for proceeding to CRAN_Relase
f975897
%f needed for > integer max
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -251,7 +251,7 @@ setorder = function(x, ..., na.last=FALSE) | |
| # na.last=FALSE here, to be consistent with data.table's default | ||
| # as opposed to DT[order(.)] where na.last=TRUE, to be consistent with base | ||
| { | ||
| if (!is.data.frame(x)) stop("x must be a data.frame or data.table.") | ||
| if (!is.data.frame(x)) stop("x must be a data.frame or data.table") | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The same message appears elsewhere without |
||
| cols = substitute(list(...))[-1L] | ||
| if (identical(as.character(cols),"NULL")) return(x) | ||
| if (length(cols)) { | ||
|
|
@@ -357,7 +357,7 @@ CJ = function(..., sorted = TRUE, unique = FALSE) | |
| } | ||
| } | ||
| nrow = prod( vapply_1i(l, length) ) # lengths(l) will work from R 3.2.0 | ||
| if (nrow > .Machine$integer.max) stop("Cross product of elements provided to CJ() would result in ",nrow," rows which exceeds .Machine$integer.max == ",.Machine$integer.max) | ||
| if (nrow > .Machine$integer.max) stop(gettextf("Cross product of elements provided to CJ() would result in %.0f rows which exceeds .Machine$integer.max == %d", nrow, .Machine$integer.max, domain='R-data.table')) | ||
| l = .Call(Ccj, l) | ||
| setDT(l) | ||
| l = setalloccol(l) # a tiny bit wasteful to over-allocate a fixed join table (column slots only), doing it anyway for consistency since | ||
|
|
||
This file contains hidden or 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Converted some messages that are awkward to translate in chunks into one formatted message to be translated as one.
This should probably be done more broadly but it's pretty manual & Chinese matches grammar closely enough. If we ever support Japanese though, probably we'll need complete overhaul...