From 526a38b25c6b453a21fde269fe2f6e8c945f038a Mon Sep 17 00:00:00 2001 From: Kingdaaaaa <50854702+Kingdaaaaa@users.noreply.github.com> Date: Sun, 10 Nov 2019 18:56:44 +0800 Subject: [PATCH 1/4] done some translation! --- po/R-zh_CN.po | 48 ++++++++++++------------ po/zh_CN.po | 101 +++++++++++++++++++++++++++----------------------- 2 files changed, 78 insertions(+), 71 deletions(-) diff --git a/po/R-zh_CN.po b/po/R-zh_CN.po index ec3b630c3c..dfedd84c70 100644 --- a/po/R-zh_CN.po +++ b/po/R-zh_CN.po @@ -1416,86 +1416,86 @@ msgid "the regex \"" msgstr "" msgid "\". Please double check the input file is a valid csvy." -msgstr "" +msgstr "从这里开始" msgid "User-supplied 'header' will override that found in metadata." -msgstr "" +msgstr "用户提供的“header”将覆盖元数据中的列名" msgid "" "User-supplied column names in 'col.names' will override those found in YAML " "metadata." -msgstr "" +msgstr "用户在“col.names”中提供的列名将覆盖在YAML元数据中找到的列名" msgid "" "colClasses dictated by user input and those read from YAML header are in " "conflict (specifically, for column" -msgstr "" +msgstr "用户输入指定的列类型和从YAML列名中读取的列类型发生冲突(特别是column" msgid "s" -msgstr "" +msgstr "s" msgid "[" -msgstr "" +msgstr "[" msgid "]); the proceeding assumes the user input was" -msgstr "" +msgstr "]); 该过程假定用户输入的是" msgid "" "an intentional override and will ignore the types implied by the YAML " "header; please exclude" -msgstr "" +msgstr "有意覆盖的,并且将忽略YAML列名所指示的类型;" msgid "these columns" -msgstr "" +msgstr "这些列" msgid "this column from colClasses if this was unintentional." -msgstr "" +msgstr "如果是无意的,请排除colClasses中的此列" msgid "User-supplied 'sep' will override that found in metadata." -msgstr "" +msgstr "用户提供的“sep”将覆盖元数据中的分隔符" msgid "User-supplied 'quote' will override that found in metadata." -msgstr "" +msgstr "用户提供的“quote”将覆盖元数据中的引号" msgid "User-supplied 'dec' will override that found in metadata." -msgstr "" +msgstr "用户提供的“dec”将覆盖元数据中的小数点分隔符" msgid "User-supplied 'na.strings' will override that found in metadata." -msgstr "" +msgstr "用户提供的“na.strings”将覆盖元数据中对默认值的预处理" msgid "Column '" -msgstr "" +msgstr "列" msgid "' was requested to be '" -msgstr "" +msgstr "被要求为" msgid "' but fread encountered the following" -msgstr "" +msgstr "但是fread遇到了以下问题" msgid "error" -msgstr "" +msgstr "错误" msgid "warning" -msgstr "" +msgstr "警告" msgid ":" -msgstr "" +msgstr ":" msgid "so the column has been left as type '" -msgstr "" +msgstr "所以该列已经被保存为类型" msgid "" "key argument of data.table() must be a character vector naming columns (NB: " "col.names are applied before this)" -msgstr "" +msgstr "data.table()的关键参数必须是字符向量命名的列(NB:col.names在这之前被使用过)" msgid "" "index argument of data.table() must be a character vector naming columns " "(NB: col.names are applied before this)" -msgstr "" +msgstr "data.table()的关键参数必须是字符向量命名的列(NB:col.names在这之前被使用过)" msgid "dateTimeAs must be a single string" -msgstr "" +msgstr "dataTimeAs 必须是单个字符串" msgid "dateTimeAs must be 'ISO','squash','epoch' or 'write.csv'" msgstr "dateTimeAs 必须是 'ISO','squash','epoch' 或 'write.csv'" diff --git a/po/zh_CN.po b/po/zh_CN.po index 710b460ec5..67b01a075d 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -2810,82 +2810,82 @@ msgstr "" #: fsort.c:156 #, c-format msgid "Range = [%g,%g]\n" -msgstr "" +msgstr "Χ=[%g,%g]\n" #: fsort.c:157 msgid "Cannot yet handle negatives." -msgstr "" +msgstr "Ŀǰ޷ֵ" #: fsort.c:170 #, c-format msgid "maxBit=%d; MSBNbits=%d; shift=%d; MSBsize=%d\n" -msgstr "" +msgstr "maxBit=%d; MSBNbits=%d; shift=%d; MSBsize=%d\n" #: fsort.c:173 msgid "Unable to allocate working memory" -msgstr "" +msgstr "޷乤ڴ" #: fsort.c:177 #, c-format msgid "" "counts is %dMB (%d pages per nBatch=%d, batchSize=%lld, lastBatchSize=%lld)\n" -msgstr "" +msgstr "countsΪ%dMB (ÿnBatchе%dҳ=%d, batchSize=%lld, lastBatchSize=%lld)\n" #: fsort.c:230 msgid "Internal error: counts[nBatch-1][MSBsize-1] != length(x)" -msgstr "" +msgstr "ڲcounts[nBatch-1][MSBsize-1] length(x)" #: fsort.c:246 msgid "Top 5 MSB counts: " -msgstr "" +msgstr "ǰ5MSB counts" #: fsort.c:246 #, c-format msgid "%lld " -msgstr "" +msgstr "%lld " #: fsort.c:246 fwrite.c:690 fwrite.c:947 msgid "\n" -msgstr "" +msgstr "\n" #: fsort.c:247 #, c-format msgid "Reduced MSBsize from %d to " -msgstr "" +msgstr "MSBsize %d ٵ" #: fsort.c:251 #, c-format msgid "%d by excluding 0 and 1 counts\n" -msgstr "" +msgstr "%d ͨų01counts\n" #: fsort.c:308 #, c-format msgid "%d: %.3f (%4.1f%%)\n" -msgstr "" +msgstr "%d: %.3f (%4.1f%%)\n" #: fwrite.c:601 #, c-format msgid "buffMB=%d outside [1,1024]" -msgstr "" +msgstr "buffMB=%d [1,1024]֮" #: fwrite.c:608 #, c-format msgid "" "eol must be 1 or more bytes (usually either \\n or \\r\\n) but is length %d" -msgstr "" +msgstr "eol1ֽڣͨeither\\n \\r\\ndzΪ%d" #: fwrite.c:611 msgid "Column writers: " -msgstr "" +msgstr "д룺 " #: fwrite.c:613 fwrite.c:615 fwrite.c:617 #, c-format msgid "%d " -msgstr "" +msgstr "%d " #: fwrite.c:616 msgid "... " -msgstr "" +msgstr "... " #: fwrite.c:619 #, c-format @@ -2893,17 +2893,19 @@ msgid "" "\n" "args.doRowNames=%d args.rowNames=%d doQuote=%d args.nrow=%lld args.ncol=%d " "eolLen=%d\n" -msgstr "" +msgstr "\n" +"args.doRowNames=%d args.rowNames=%d doQuote=%d args.nrow=%lld args.ncol=%d " +"eolLen=%d\n" #: fwrite.c:652 #, c-format msgid "Internal error: type %d has no max length method implemented" -msgstr "" +msgstr "ڲ" #: fwrite.c:659 #, c-format msgid "maxLineLen=%zd. Found in %.3fs\n" -msgstr "" +msgstr "maxLineLen=%zd. %.3fsз\n" #: fwrite.c:679 #, c-format @@ -2911,7 +2913,8 @@ msgid "" "%s: '%s'. Failed to open existing file for writing. Do you have write " "permission to it? Is this Windows and does another process such as Excel " "have it open?" -msgstr "" +msgstr "%s: '%s'. ޷һڵļд.ǷԸļдȨޣ" +"WindowsϵͳǷExcel֮ĽѾ˸ļ" #: fwrite.c:680 #, c-format @@ -2919,75 +2922,76 @@ msgid "" "%s: '%s'. Unable to create new file for writing (it does not exist already). " "Do you have permission to write here, is there space on the disk and does " "the path exist?" -msgstr "" +msgstr "%s: '%s'. ޷µļд루ļڣ" +"ǷԴдȨޣǷпռԼ·Ƿڣ" #: fwrite.c:688 #, c-format msgid "Writing bom (%s), yaml (%d characters) and column names (%s) ... " -msgstr "" +msgstr "дbom (%s), yaml (%d characters) column names (%s) ..." #: fwrite.c:701 #, c-format msgid "Unable to allocate %d MiB for header: %s" -msgstr "" +msgstr "޷Ϊheader: %s%d MiB" #: fwrite.c:729 fwrite.c:789 msgid "Can't allocate gzip stream structure" -msgstr "" +msgstr "޷gzipṹ" #: fwrite.c:735 #, c-format msgid "Unable to allocate %d MiB for zbuffer: %s" -msgstr "" +msgstr "޷Ϊzbuffer: %s%d MiB" #: fwrite.c:750 #, c-format msgid "Compress gzip error: %d" -msgstr "" +msgstr "ѹgzip: %d" #: fwrite.c:751 fwrite.c:759 fwrite.c:953 #, c-format msgid "%s: '%s'" -msgstr "" +msgstr "%s: '%s'" #: fwrite.c:756 #, c-format msgid "done in %.3fs\n" -msgstr "" +msgstr "%.3fs\n" #: fwrite.c:758 msgid "No data rows present (nrow==0)\n" -msgstr "" +msgstr "ǰû(nrow==0)\n" #: fwrite.c:776 #, c-format msgid "" "Writing %lld rows in %d batches of %d rows (each buffer size %dMB, " "showProgress=%d, nth=%d)\n" -msgstr "" +msgstr "%dед%lld(ÿĴСΪ%dMBshowProgress=%d, nth=%d)\n)" #: fwrite.c:961 #, c-format msgid "zlib v%s deflate() returned error %d with z_stream.msg '%s'. %s\n" -msgstr "" +msgstr "zlib v%s deflate()ʹ%d with z_stream.msg '%s'. %s˴\n" #: fwrite.c:962 msgid "Please include the full output above in your data.table bug report." -msgstr "" +msgstr "data.table󱨸а" #: fwrite.c:963 msgid "" "Please retry fwrite() with verbose=TRUE and include the full output with " "your data.table bug report." -msgstr "" +msgstr "ʹverbose=TRUEfwrite()data.table󱨸" #: fwriteR.c:41 msgid "Internal error: col passed to getMaxCategLen is missing levels" -msgstr "" +msgstr "ڲ󣺴ݸgetMaxCateLencolڶʧ" #: fwriteR.c:75 msgid "Internal error: getMaxListItemLen should have caught this up front." -msgstr "" +msgstr "ڲgetMaxListItemLenӦѾԤץȡ" #: fwriteR.c:98 #, c-format @@ -2995,56 +2999,59 @@ msgid "" "Row %d of list column is type '%s' - not yet implemented. fwrite() can write " "list columns containing items which are atomic vectors of type logical, " "integer, integer64, double, complex and character." -msgstr "" +msgstr "бҳ%d'%s' - δʵʩ. fwrite()д" +"߼ԭĿбҳ" +"64˫ȣַ" #: fwriteR.c:103 #, c-format msgid "" "Internal error: row %d of list column has no max length method implemented" -msgstr "" +msgstr "ڲбҳ%dûʵ󳤶ȷ" #: fwriteR.c:170 msgid "" "fwrite must be passed an object of type list; e.g. data.frame, data.table" -msgstr "" +msgstr "fwrite봫һΪбĶ󣻱data.frame, data.table" #: fwriteR.c:179 msgid "fwrite was passed an empty list of no columns. Nothing to write." -msgstr "" +msgstr "fwriteһûеĿб. ûжд" #: fwriteR.c:234 #, c-format msgid "Column %d's length (%d) is not the same as column 1's length (%d)" -msgstr "" +msgstr "%dij(%d)1ij(%d)һ" #: fwriteR.c:237 #, c-format msgid "Column %d's type is '%s' - not yet implemented in fwrite." -msgstr "" +msgstr "%d'%s' - δfwriteʵʩ" #: fwriteR.c:262 msgid "" "No list columns are present. Setting sep2='' otherwise quote='auto' would " "quote fields containing sep2.\n" -msgstr "" +msgstr "ǰûбҳ. sep2=''quote='auto'ðsep2ֶ.\n" #: fwriteR.c:266 #, c-format msgid "" "If quote='auto', fields will be quoted if the field contains either sep " "('%c') or sep2 ('%c') because column %d is a list column.\n" -msgstr "" +msgstr "quote='auto', ֶΰһsepֶν" #: fwriteR.c:270 #, c-format msgid "" "sep ('%c'), sep2 ('%c') and dec ('%c') must all be different. Column %d is a " "list column." -msgstr "" +msgstr "sep ('%c'), sep2 ('%c') dec ('%c') 붼ͬ. %d һ" +"б" #: gsumm.c:43 msgid "env is not an environment" -msgstr "" +msgstr "envǻ" #: gsumm.c:45 msgid "o is not an integer vector" @@ -3052,7 +3059,7 @@ msgstr "" #: gsumm.c:46 msgid "f is not an integer vector" -msgstr "" +msgstr "fһ" #: gsumm.c:47 msgid "l is not an integer vector" From eda9d72ae89190968cd75299b17dc14ca51307e6 Mon Sep 17 00:00:00 2001 From: Kingdaaaaa <50854702+Kingdaaaaa@users.noreply.github.com> Date: Sat, 28 Dec 2019 21:51:18 +0800 Subject: [PATCH 2/4] done some translation --- po/R-zh_CN.po | 8 ++++---- po/zh_CN.po | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/po/R-zh_CN.po b/po/R-zh_CN.po index dfedd84c70..f86de63c7d 100644 --- a/po/R-zh_CN.po +++ b/po/R-zh_CN.po @@ -1419,7 +1419,7 @@ msgid "\". Please double check the input file is a valid csvy." msgstr "从这里开始" msgid "User-supplied 'header' will override that found in metadata." -msgstr "用户提供的“header”将覆盖元数据中的列名" +msgstr "用户提供的“header”将覆盖元数据中的表头" msgid "" "User-supplied column names in 'col.names' will override those found in YAML " @@ -1443,13 +1443,13 @@ msgstr "]); 该过程假定用户输入的是" msgid "" "an intentional override and will ignore the types implied by the YAML " "header; please exclude" -msgstr "有意覆盖的,并且将忽略YAML列名所指示的类型;" +msgstr "有意覆盖的,因此将忽略YAML表头所指示的列类型;请排除" msgid "these columns" msgstr "这些列" msgid "this column from colClasses if this was unintentional." -msgstr "如果是无意的,请排除colClasses中的此列" +msgstr "如果不想覆盖,请将这些列从colClasses中排除" msgid "User-supplied 'sep' will override that found in metadata." msgstr "用户提供的“sep”将覆盖元数据中的分隔符" @@ -1492,7 +1492,7 @@ msgstr "data.table()的关键参数必须是字符向量命名的列(NB:col.na msgid "" "index argument of data.table() must be a character vector naming columns " "(NB: col.names are applied before this)" -msgstr "data.table()的关键参数必须是字符向量命名的列(NB:col.names在这之前被使用过)" +msgstr "data.table()的index参数必须是字符向量命名的列(NB:参数col.names在这之前被使用过)" msgid "dateTimeAs must be a single string" msgstr "dataTimeAs 必须是单个字符串" diff --git a/po/zh_CN.po b/po/zh_CN.po index 67b01a075d..d199f3b20e 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -2851,12 +2851,12 @@ msgstr "\n" #: fsort.c:247 #, c-format msgid "Reduced MSBsize from %d to " -msgstr "MSBsize %d ٵ" +msgstr "MSBС %d ٵ%d" #: fsort.c:251 #, c-format msgid "%d by excluding 0 and 1 counts\n" -msgstr "%d ͨų01counts\n" +msgstr "ͨų01counts" #: fsort.c:308 #, c-format @@ -3039,15 +3039,15 @@ msgstr " msgid "" "If quote='auto', fields will be quoted if the field contains either sep " "('%c') or sep2 ('%c') because column %d is a list column.\n" -msgstr "quote='auto', ֶΰһsepֶν" +msgstr "趨quote = 'auto'%dбҳаsep('%c') sep2 ('%c')ֶνᱻԶ" #: fwriteR.c:270 #, c-format -msgid "" +msgid ""2019-12-28 "sep ('%c'), sep2 ('%c') and dec ('%c') must all be different. Column %d is a " "list column." msgstr "sep ('%c'), sep2 ('%c') dec ('%c') 붼ͬ. %d һ" -"б" +"бҳ" #: gsumm.c:43 msgid "env is not an environment" @@ -3055,7 +3055,7 @@ msgstr "env #: gsumm.c:45 msgid "o is not an integer vector" -msgstr "" +msgstr "o" #: gsumm.c:46 msgid "f is not an integer vector" @@ -3063,7 +3063,7 @@ msgstr "f #: gsumm.c:47 msgid "l is not an integer vector" -msgstr "l " +msgstr "l һ" #: gsumm.c:56 msgid "irowsArg is neither an integer vector nor NULL" From 62bfe96ef0890f61cc519797103e44e1545cbbef Mon Sep 17 00:00:00 2001 From: Kingdaaaaa <50854702+Kingdaaaaa@users.noreply.github.com> Date: Sun, 29 Dec 2019 18:06:34 +0800 Subject: [PATCH 3/4] messsage --- po/zh_CN.po | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/po/zh_CN.po b/po/zh_CN.po index 00c9e73b56..bfd7aaaad7 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -3027,7 +3027,7 @@ msgstr "" #: fsort.c:156 #, c-format msgid "Range = [%g,%g]\n" -msgstr "范围Χ=[%g,%g]\n" +msgstr "Range = [%g,%g]\n" #: fsort.c:157 msgid "Cannot yet handle negatives." @@ -3069,7 +3069,7 @@ msgstr "\n" #, c-format msgid "Reduced MSBsize from %d to " <<<<<<< HEAD -msgstr "MSBС %d ٵ%d" +msgstr "MSB��С �� %d ���ٵ�%d" ======= msgstr "MSBsize 从 %d 减少到" >>>>>>> a9485c1829c5d28082736eded48ccc8aaad51393 @@ -3078,7 +3078,7 @@ msgstr "MSBsize 从 %d 减少到" #, c-format msgid "%d by excluding 0 and 1 counts\n" <<<<<<< HEAD -msgstr "ͨų01counts" +msgstr "ͨ���ų�0��1��counts" ======= msgstr "%d 通过排除0和1的counts\n" >>>>>>> a9485c1829c5d28082736eded48ccc8aaad51393 @@ -3204,7 +3204,7 @@ msgstr "zlib v%s deflate()使用%d with z_stream.msg '%s'. %s返回了错误\n" msgid "" "Please include the full output above and below this message in your data." "table bug report." -msgstr "请在你的data.table错误报告中包含上面完整的输出" +msgstr "请将此消息上方和下方的全部输出结果一起提交到data.table的bug report中" #: fwrite.c:967 msgid "" @@ -3267,7 +3267,7 @@ msgid "" "If quote='auto', fields will be quoted if the field contains either sep " "('%c') or sep2 ('%c') because column %d is a list column.\n" <<<<<<< HEAD -msgstr "趨quote = 'auto'%dбҳаsep('%c') sep2 ('%c')ֶνᱻԶ" +msgstr "��������趨quote = 'auto'������%d�����б�ҳ�����а���sep('%c') �� sep2 ('%c')���ֶν��ᱻ�Զ���������" ======= msgstr "如果quote='auto', 字段包含任意一个sep,字段将被引用" >>>>>>> a9485c1829c5d28082736eded48ccc8aaad51393 @@ -3278,8 +3278,8 @@ msgid ""2019-12-28 "sep ('%c'), sep2 ('%c') and dec ('%c') must all be different. Column %d is a " "list column." <<<<<<< HEAD -msgstr "sep ('%c'), sep2 ('%c') dec ('%c') 붼ͬ. %d һ" -"бҳ" +msgstr "sep ('%c'), sep2 ('%c') �� dec ('%c') ���붼����ͬ. �� %d ��һ��" +"�б�ҳ" ======= msgstr "sep ('%c'), sep2 ('%c') 和 dec ('%c') 必须都不相同. 列 %d 是一个" "空列表" @@ -3291,7 +3291,7 @@ msgstr "env不是环境" #: gsumm.c:45 msgid "o is not an integer vector" -msgstr "o" +msgstr "o不是整数向量" #: gsumm.c:46 msgid "f is not an integer vector" @@ -3299,11 +3299,7 @@ msgstr "f不是一个整数向量" #: gsumm.c:47 msgid "l is not an integer vector" -<<<<<<< HEAD -msgstr "l һ" -======= msgstr "l 不是整数向量" ->>>>>>> a9485c1829c5d28082736eded48ccc8aaad51393 #: gsumm.c:56 msgid "irowsArg is neither an integer vector nor NULL" From 783d1fcfb5d2030ea247b7fd6e0b34ca8ed5f5d8 Mon Sep 17 00:00:00 2001 From: Kingdaaaaa <50854702+Kingdaaaaa@users.noreply.github.com> Date: Sun, 29 Dec 2019 18:10:46 +0800 Subject: [PATCH 4/4] messsage --- po/zh_CN.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/zh_CN.po b/po/zh_CN.po index bfd7aaaad7..8810774d3a 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -3210,7 +3210,7 @@ msgstr "请将此消息上方和下方的全部输出结果一起提交到data.t msgid "" "Please retry fwrite() with verbose=TRUE and include the full output with " "your data.table bug report." -msgstr "请使用verbose=TRUE重试fwrite(),并将完整的输出包含在你的data.table错误报告中" +msgstr "请使用verbose=TRUE重试fwrite(),并将完整的输出提交到data.table的bug report中" #: fwriteR.c:41 msgid "Internal error: col passed to getMaxCategLen is missing levels" @@ -3259,7 +3259,7 @@ msgstr "列%d的类型是'%s' - 尚未在fwrite中实施" msgid "" "No list columns are present. Setting sep2='' otherwise quote='auto' would " "quote fields containing sep2.\n" -msgstr "当前没有列表页. 设置sep2=''否则quote='auto'将引用包含sep2的字段.\n" +msgstr "当前没有列表页. 设置sep2=''否则quote='auto'会自动为所有包含sep2的字段加上引号.\n" #: fwriteR.c:266 #, c-format