@proofhound/web-ui 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/i18n/index.d.ts +44 -14
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/index.js +44 -14
- package/dist/i18n/index.js.map +1 -1
- package/dist/screens/datasets/dataset-import-runner.d.ts +23 -2
- package/dist/screens/datasets/dataset-import-runner.d.ts.map +1 -1
- package/dist/screens/datasets/dataset-import-runner.js +106 -0
- package/dist/screens/datasets/dataset-import-runner.js.map +1 -1
- package/dist/screens/datasets/dataset-upload-page.d.ts +17 -0
- package/dist/screens/datasets/dataset-upload-page.d.ts.map +1 -1
- package/dist/screens/datasets/dataset-upload-page.js +242 -46
- package/dist/screens/datasets/dataset-upload-page.js.map +1 -1
- package/dist/screens/datasets/dataset-upload-parser.d.ts +7 -2
- package/dist/screens/datasets/dataset-upload-parser.d.ts.map +1 -1
- package/dist/screens/datasets/dataset-upload-parser.js +163 -67
- package/dist/screens/datasets/dataset-upload-parser.js.map +1 -1
- package/package.json +12 -10
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1940,7 +1940,7 @@ declare const dictionaries: {
|
|
|
1940
1940
|
readonly 'datasets.action.replaceImageUrl': "更换图片 URL";
|
|
1941
1941
|
readonly 'datasets.action.replaceImageBase64': "更换 base64 内容";
|
|
1942
1942
|
readonly 'datasets.upload.title': "上传新数据集";
|
|
1943
|
-
readonly 'datasets.upload.subtitle': "
|
|
1943
|
+
readonly 'datasets.upload.subtitle': "选择本地文件后只读取预览,确认字段角色映射后直传原始文件并由后端导入。";
|
|
1944
1944
|
readonly 'datasets.upload.basicInfo': "基本信息";
|
|
1945
1945
|
readonly 'datasets.upload.basicInfoHint': "默认使用文件名";
|
|
1946
1946
|
readonly 'datasets.upload.name': "名称";
|
|
@@ -1972,7 +1972,7 @@ declare const dictionaries: {
|
|
|
1972
1972
|
readonly 'datasets.upload.importRows': "入库";
|
|
1973
1973
|
readonly 'datasets.upload.previewRange': "前 5 行";
|
|
1974
1974
|
readonly 'datasets.upload.chooseFile': "选择数据集文件";
|
|
1975
|
-
readonly 'datasets.upload.chooseFileHelp': "
|
|
1975
|
+
readonly 'datasets.upload.chooseFileHelp': "选择文件、选择文件夹,或把文件夹拖入这里;浏览器只读取开头用于预览。";
|
|
1976
1976
|
readonly 'datasets.upload.browse': "浏览文件";
|
|
1977
1977
|
readonly 'datasets.upload.browseFolder': "选择文件夹";
|
|
1978
1978
|
readonly 'datasets.upload.dropHere': "松手导入文件夹";
|
|
@@ -1980,13 +1980,28 @@ declare const dictionaries: {
|
|
|
1980
1980
|
readonly 'datasets.upload.uploadReady': "已解析,等待提交";
|
|
1981
1981
|
readonly 'datasets.upload.unknownType': "未知类型";
|
|
1982
1982
|
readonly 'datasets.upload.unsupportedFile': "暂不支持该文件类型,请上传 CSV、TSV、JSONL、JSON 数组或 ZIP。";
|
|
1983
|
+
readonly 'datasets.upload.limitInfoLabel': "查看上传大小限制";
|
|
1984
|
+
readonly 'datasets.upload.limitInfoTitle': "上传大小限制";
|
|
1985
|
+
readonly 'datasets.upload.limitInfoSmall': "小文件同步入库阈值:{syncLimit};超过后走原始文件直传与服务端导入。";
|
|
1986
|
+
readonly 'datasets.upload.limitInfoStreaming': "CSV / TSV / JSONL 大文件只在浏览器读取开头用于预览;最终入库以服务端解析原始文件为准。";
|
|
1987
|
+
readonly 'datasets.upload.limitInfoRaw': "原始文件直传上限:当前部署配置为 {rawLimit};仅在对象存储支持浏览器直传时启用。";
|
|
1988
|
+
readonly 'datasets.upload.limitInfoJsonZip': "JSON 数组和 ZIP 可通过原始文件直传导入,但只在有界解析阈值内支持;更大的文件请拆分后上传。";
|
|
1983
1989
|
readonly 'datasets.upload.streamingFile': "大文件 · 导入时统计样本数";
|
|
1984
1990
|
readonly 'datasets.upload.previewPrefixOnly': "仅预览文件开头若干行";
|
|
1985
|
-
readonly 'datasets.upload.
|
|
1986
|
-
readonly 'datasets.upload.
|
|
1987
|
-
readonly 'datasets.upload.
|
|
1988
|
-
readonly 'datasets.upload.
|
|
1989
|
-
readonly 'datasets.upload.
|
|
1991
|
+
readonly 'datasets.upload.largeRequiresStreamingFormat': "超过有界解析阈值的 JSON 数组和 ZIP 暂不支持导入;请拆分后上传,或改用 CSV / TSV / JSONL。";
|
|
1992
|
+
readonly 'datasets.upload.imageSamples.title': "图片样例数据";
|
|
1993
|
+
readonly 'datasets.upload.imageSamples.hint': "下载不同图片字段写法的最小样例。";
|
|
1994
|
+
readonly 'datasets.upload.imageSamples.urlFields': "URL 多字段";
|
|
1995
|
+
readonly 'datasets.upload.imageSamples.urlArray': "URL 数组 CSV";
|
|
1996
|
+
readonly 'datasets.upload.imageSamples.base64': "Base64 JSONL";
|
|
1997
|
+
readonly 'datasets.upload.imageSamples.zip': "ZIP 相对路径";
|
|
1998
|
+
readonly 'datasets.upload.imageSamples.downloadAria': "下载图片样例:{name}";
|
|
1999
|
+
readonly 'datasets.upload.importingNoticeTitle': "原始文件上传中,请暂时留在本页";
|
|
2000
|
+
readonly 'datasets.upload.importingNoticeBody': "上传完成并进入服务端导入后,可以离开页面;后台任务会继续解析和入库。";
|
|
2001
|
+
readonly 'datasets.upload.backgroundImportNoticeTitle': "服务端导入已开始";
|
|
2002
|
+
readonly 'datasets.upload.backgroundImportNoticeBody': "可以离开本页,导入会在后台继续;完成后数据集会出现在列表中。";
|
|
2003
|
+
readonly 'datasets.upload.leaveConfirmTitle': "离开会取消当前上传";
|
|
2004
|
+
readonly 'datasets.upload.leaveConfirmBody': "原始文件还没有完成直传。离开本页会取消本次上传并清理会话。确定要离开吗?";
|
|
1990
2005
|
readonly 'datasets.upload.leaveConfirmStay': "留在本页";
|
|
1991
2006
|
readonly 'datasets.upload.leaveConfirmLeave': "仍要离开";
|
|
1992
2007
|
readonly 'datasets.upload.parseFailed': "文件解析失败,请检查格式、表头或 JSON 结构。";
|
|
@@ -5016,7 +5031,7 @@ declare const dictionaries: {
|
|
|
5016
5031
|
readonly 'datasets.action.replaceImageUrl': "Replace image URL";
|
|
5017
5032
|
readonly 'datasets.action.replaceImageBase64': "Replace base64 content";
|
|
5018
5033
|
readonly 'datasets.upload.title': "Upload dataset";
|
|
5019
|
-
readonly 'datasets.upload.subtitle': "
|
|
5034
|
+
readonly 'datasets.upload.subtitle': "Read only a preview from the local file, confirm field roles, then upload the raw file for server-side import.";
|
|
5020
5035
|
readonly 'datasets.upload.basicInfo': "Basic information";
|
|
5021
5036
|
readonly 'datasets.upload.basicInfoHint': "Defaults to file name";
|
|
5022
5037
|
readonly 'datasets.upload.name': "Name";
|
|
@@ -5048,7 +5063,7 @@ declare const dictionaries: {
|
|
|
5048
5063
|
readonly 'datasets.upload.importRows': "Import";
|
|
5049
5064
|
readonly 'datasets.upload.previewRange': "First 5 rows";
|
|
5050
5065
|
readonly 'datasets.upload.chooseFile': "Choose dataset file";
|
|
5051
|
-
readonly 'datasets.upload.chooseFileHelp': "Choose a file, choose a folder, or drop a folder here;
|
|
5066
|
+
readonly 'datasets.upload.chooseFileHelp': "Choose a file, choose a folder, or drop a folder here; the browser reads only the prefix for preview.";
|
|
5052
5067
|
readonly 'datasets.upload.browse': "Browse file";
|
|
5053
5068
|
readonly 'datasets.upload.browseFolder': "Choose folder";
|
|
5054
5069
|
readonly 'datasets.upload.dropHere': "Drop to import folder";
|
|
@@ -5056,13 +5071,28 @@ declare const dictionaries: {
|
|
|
5056
5071
|
readonly 'datasets.upload.uploadReady': "Parsed, ready to submit";
|
|
5057
5072
|
readonly 'datasets.upload.unknownType': "Unknown type";
|
|
5058
5073
|
readonly 'datasets.upload.unsupportedFile': "Unsupported file type. Upload CSV, TSV, JSONL, a JSON array, or ZIP.";
|
|
5074
|
+
readonly 'datasets.upload.limitInfoLabel': "View upload size limits";
|
|
5075
|
+
readonly 'datasets.upload.limitInfoTitle': "Upload size limits";
|
|
5076
|
+
readonly 'datasets.upload.limitInfoSmall': "Small-file synchronous import threshold: {syncLimit}; larger files use raw upload and server-side import.";
|
|
5077
|
+
readonly 'datasets.upload.limitInfoStreaming': "Large CSV / TSV / JSONL files are read only for preview in the browser; the server parses the raw file as the source of truth.";
|
|
5078
|
+
readonly 'datasets.upload.limitInfoRaw': "Raw direct-upload maximum: this deployment is configured for {rawLimit}; enabled only when object storage supports browser upload sessions.";
|
|
5079
|
+
readonly 'datasets.upload.limitInfoJsonZip': "JSON arrays and ZIP files can use raw upload only within the bounded parser threshold; split larger files before uploading.";
|
|
5059
5080
|
readonly 'datasets.upload.streamingFile': "Large file · sample count tallied while importing";
|
|
5060
5081
|
readonly 'datasets.upload.previewPrefixOnly': "Preview of the first rows only";
|
|
5061
|
-
readonly 'datasets.upload.
|
|
5062
|
-
readonly 'datasets.upload.
|
|
5063
|
-
readonly 'datasets.upload.
|
|
5064
|
-
readonly 'datasets.upload.
|
|
5065
|
-
readonly 'datasets.upload.
|
|
5082
|
+
readonly 'datasets.upload.largeRequiresStreamingFormat': "JSON arrays and ZIP files above the bounded parser threshold are not importable yet. Split them, or use CSV / TSV / JSONL.";
|
|
5083
|
+
readonly 'datasets.upload.imageSamples.title': "Image sample datasets";
|
|
5084
|
+
readonly 'datasets.upload.imageSamples.hint': "Download minimal examples for each image-field shape.";
|
|
5085
|
+
readonly 'datasets.upload.imageSamples.urlFields': "URL fields";
|
|
5086
|
+
readonly 'datasets.upload.imageSamples.urlArray': "URL array CSV";
|
|
5087
|
+
readonly 'datasets.upload.imageSamples.base64': "Base64 JSONL";
|
|
5088
|
+
readonly 'datasets.upload.imageSamples.zip': "ZIP relative paths";
|
|
5089
|
+
readonly 'datasets.upload.imageSamples.downloadAria': "Download image sample: {name}";
|
|
5090
|
+
readonly 'datasets.upload.importingNoticeTitle': "Raw file upload in progress";
|
|
5091
|
+
readonly 'datasets.upload.importingNoticeBody': "After upload completes and server-side import starts, you can leave this page; the background task will continue parsing and importing.";
|
|
5092
|
+
readonly 'datasets.upload.backgroundImportNoticeTitle': "Server-side import started";
|
|
5093
|
+
readonly 'datasets.upload.backgroundImportNoticeBody': "You can leave this page; the import will continue in the background and the dataset will appear in the list when complete.";
|
|
5094
|
+
readonly 'datasets.upload.leaveConfirmTitle': "Leaving will cancel this upload";
|
|
5095
|
+
readonly 'datasets.upload.leaveConfirmBody': "The raw file has not finished uploading. Leaving this page cancels this upload and cleans up the session. Leave anyway?";
|
|
5066
5096
|
readonly 'datasets.upload.leaveConfirmStay': "Stay on this page";
|
|
5067
5097
|
readonly 'datasets.upload.leaveConfirmLeave': "Leave anyway";
|
|
5068
5098
|
readonly 'datasets.upload.parseFailed': "Failed to parse the file. Check its format, header row, or JSON shape.";
|
package/dist/i18n/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAwE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7G,OAAO,EAA8E,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEvH,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,oBAAoB,EACpB,2BAA2B,EAC3B,sBAAsB,EACtB,+BAA+B,EAC/B,KAAK,QAAQ,GACd,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAwE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7G,OAAO,EAA8E,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEvH,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,oBAAoB,EACpB,2BAA2B,EAC3B,sBAAsB,EACtB,+BAA+B,EAC/B,KAAK,QAAQ,GACd,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;CAiwMR,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC;AAElE,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC1C,CAAC,EAAE,CAAC,GAAG,EAAE,cAAc,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;CACpD,CAAC;AAYF,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,eAAkC,EAClC,MAAM,GACP,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe,CAAC,EAAE,QAAQ,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;CAC5D,2CA4BA;AAED,wBAAgB,OAAO,qBAMtB"}
|
package/dist/i18n/index.js
CHANGED
|
@@ -1943,7 +1943,7 @@ const dictionaries = {
|
|
|
1943
1943
|
'datasets.action.replaceImageUrl': '更换图片 URL',
|
|
1944
1944
|
'datasets.action.replaceImageBase64': '更换 base64 内容',
|
|
1945
1945
|
'datasets.upload.title': '上传新数据集',
|
|
1946
|
-
'datasets.upload.subtitle': '
|
|
1946
|
+
'datasets.upload.subtitle': '选择本地文件后只读取预览,确认字段角色映射后直传原始文件并由后端导入。',
|
|
1947
1947
|
'datasets.upload.basicInfo': '基本信息',
|
|
1948
1948
|
'datasets.upload.basicInfoHint': '默认使用文件名',
|
|
1949
1949
|
'datasets.upload.name': '名称',
|
|
@@ -1975,7 +1975,7 @@ const dictionaries = {
|
|
|
1975
1975
|
'datasets.upload.importRows': '入库',
|
|
1976
1976
|
'datasets.upload.previewRange': '前 5 行',
|
|
1977
1977
|
'datasets.upload.chooseFile': '选择数据集文件',
|
|
1978
|
-
'datasets.upload.chooseFileHelp': '
|
|
1978
|
+
'datasets.upload.chooseFileHelp': '选择文件、选择文件夹,或把文件夹拖入这里;浏览器只读取开头用于预览。',
|
|
1979
1979
|
'datasets.upload.browse': '浏览文件',
|
|
1980
1980
|
'datasets.upload.browseFolder': '选择文件夹',
|
|
1981
1981
|
'datasets.upload.dropHere': '松手导入文件夹',
|
|
@@ -1983,13 +1983,28 @@ const dictionaries = {
|
|
|
1983
1983
|
'datasets.upload.uploadReady': '已解析,等待提交',
|
|
1984
1984
|
'datasets.upload.unknownType': '未知类型',
|
|
1985
1985
|
'datasets.upload.unsupportedFile': '暂不支持该文件类型,请上传 CSV、TSV、JSONL、JSON 数组或 ZIP。',
|
|
1986
|
+
'datasets.upload.limitInfoLabel': '查看上传大小限制',
|
|
1987
|
+
'datasets.upload.limitInfoTitle': '上传大小限制',
|
|
1988
|
+
'datasets.upload.limitInfoSmall': '小文件同步入库阈值:{syncLimit};超过后走原始文件直传与服务端导入。',
|
|
1989
|
+
'datasets.upload.limitInfoStreaming': 'CSV / TSV / JSONL 大文件只在浏览器读取开头用于预览;最终入库以服务端解析原始文件为准。',
|
|
1990
|
+
'datasets.upload.limitInfoRaw': '原始文件直传上限:当前部署配置为 {rawLimit};仅在对象存储支持浏览器直传时启用。',
|
|
1991
|
+
'datasets.upload.limitInfoJsonZip': 'JSON 数组和 ZIP 可通过原始文件直传导入,但只在有界解析阈值内支持;更大的文件请拆分后上传。',
|
|
1986
1992
|
'datasets.upload.streamingFile': '大文件 · 导入时统计样本数',
|
|
1987
1993
|
'datasets.upload.previewPrefixOnly': '仅预览文件开头若干行',
|
|
1988
|
-
'datasets.upload.
|
|
1989
|
-
'datasets.upload.
|
|
1990
|
-
'datasets.upload.
|
|
1991
|
-
'datasets.upload.
|
|
1992
|
-
'datasets.upload.
|
|
1994
|
+
'datasets.upload.largeRequiresStreamingFormat': '超过有界解析阈值的 JSON 数组和 ZIP 暂不支持导入;请拆分后上传,或改用 CSV / TSV / JSONL。',
|
|
1995
|
+
'datasets.upload.imageSamples.title': '图片样例数据',
|
|
1996
|
+
'datasets.upload.imageSamples.hint': '下载不同图片字段写法的最小样例。',
|
|
1997
|
+
'datasets.upload.imageSamples.urlFields': 'URL 多字段',
|
|
1998
|
+
'datasets.upload.imageSamples.urlArray': 'URL 数组 CSV',
|
|
1999
|
+
'datasets.upload.imageSamples.base64': 'Base64 JSONL',
|
|
2000
|
+
'datasets.upload.imageSamples.zip': 'ZIP 相对路径',
|
|
2001
|
+
'datasets.upload.imageSamples.downloadAria': '下载图片样例:{name}',
|
|
2002
|
+
'datasets.upload.importingNoticeTitle': '原始文件上传中,请暂时留在本页',
|
|
2003
|
+
'datasets.upload.importingNoticeBody': '上传完成并进入服务端导入后,可以离开页面;后台任务会继续解析和入库。',
|
|
2004
|
+
'datasets.upload.backgroundImportNoticeTitle': '服务端导入已开始',
|
|
2005
|
+
'datasets.upload.backgroundImportNoticeBody': '可以离开本页,导入会在后台继续;完成后数据集会出现在列表中。',
|
|
2006
|
+
'datasets.upload.leaveConfirmTitle': '离开会取消当前上传',
|
|
2007
|
+
'datasets.upload.leaveConfirmBody': '原始文件还没有完成直传。离开本页会取消本次上传并清理会话。确定要离开吗?',
|
|
1993
2008
|
'datasets.upload.leaveConfirmStay': '留在本页',
|
|
1994
2009
|
'datasets.upload.leaveConfirmLeave': '仍要离开',
|
|
1995
2010
|
'datasets.upload.parseFailed': '文件解析失败,请检查格式、表头或 JSON 结构。',
|
|
@@ -5023,7 +5038,7 @@ const dictionaries = {
|
|
|
5023
5038
|
'datasets.action.replaceImageUrl': 'Replace image URL',
|
|
5024
5039
|
'datasets.action.replaceImageBase64': 'Replace base64 content',
|
|
5025
5040
|
'datasets.upload.title': 'Upload dataset',
|
|
5026
|
-
'datasets.upload.subtitle': '
|
|
5041
|
+
'datasets.upload.subtitle': 'Read only a preview from the local file, confirm field roles, then upload the raw file for server-side import.',
|
|
5027
5042
|
'datasets.upload.basicInfo': 'Basic information',
|
|
5028
5043
|
'datasets.upload.basicInfoHint': 'Defaults to file name',
|
|
5029
5044
|
'datasets.upload.name': 'Name',
|
|
@@ -5055,7 +5070,7 @@ const dictionaries = {
|
|
|
5055
5070
|
'datasets.upload.importRows': 'Import',
|
|
5056
5071
|
'datasets.upload.previewRange': 'First 5 rows',
|
|
5057
5072
|
'datasets.upload.chooseFile': 'Choose dataset file',
|
|
5058
|
-
'datasets.upload.chooseFileHelp': 'Choose a file, choose a folder, or drop a folder here;
|
|
5073
|
+
'datasets.upload.chooseFileHelp': 'Choose a file, choose a folder, or drop a folder here; the browser reads only the prefix for preview.',
|
|
5059
5074
|
'datasets.upload.browse': 'Browse file',
|
|
5060
5075
|
'datasets.upload.browseFolder': 'Choose folder',
|
|
5061
5076
|
'datasets.upload.dropHere': 'Drop to import folder',
|
|
@@ -5063,13 +5078,28 @@ const dictionaries = {
|
|
|
5063
5078
|
'datasets.upload.uploadReady': 'Parsed, ready to submit',
|
|
5064
5079
|
'datasets.upload.unknownType': 'Unknown type',
|
|
5065
5080
|
'datasets.upload.unsupportedFile': 'Unsupported file type. Upload CSV, TSV, JSONL, a JSON array, or ZIP.',
|
|
5081
|
+
'datasets.upload.limitInfoLabel': 'View upload size limits',
|
|
5082
|
+
'datasets.upload.limitInfoTitle': 'Upload size limits',
|
|
5083
|
+
'datasets.upload.limitInfoSmall': 'Small-file synchronous import threshold: {syncLimit}; larger files use raw upload and server-side import.',
|
|
5084
|
+
'datasets.upload.limitInfoStreaming': 'Large CSV / TSV / JSONL files are read only for preview in the browser; the server parses the raw file as the source of truth.',
|
|
5085
|
+
'datasets.upload.limitInfoRaw': 'Raw direct-upload maximum: this deployment is configured for {rawLimit}; enabled only when object storage supports browser upload sessions.',
|
|
5086
|
+
'datasets.upload.limitInfoJsonZip': 'JSON arrays and ZIP files can use raw upload only within the bounded parser threshold; split larger files before uploading.',
|
|
5066
5087
|
'datasets.upload.streamingFile': 'Large file · sample count tallied while importing',
|
|
5067
5088
|
'datasets.upload.previewPrefixOnly': 'Preview of the first rows only',
|
|
5068
|
-
'datasets.upload.
|
|
5069
|
-
'datasets.upload.
|
|
5070
|
-
'datasets.upload.
|
|
5071
|
-
'datasets.upload.
|
|
5072
|
-
'datasets.upload.
|
|
5089
|
+
'datasets.upload.largeRequiresStreamingFormat': 'JSON arrays and ZIP files above the bounded parser threshold are not importable yet. Split them, or use CSV / TSV / JSONL.',
|
|
5090
|
+
'datasets.upload.imageSamples.title': 'Image sample datasets',
|
|
5091
|
+
'datasets.upload.imageSamples.hint': 'Download minimal examples for each image-field shape.',
|
|
5092
|
+
'datasets.upload.imageSamples.urlFields': 'URL fields',
|
|
5093
|
+
'datasets.upload.imageSamples.urlArray': 'URL array CSV',
|
|
5094
|
+
'datasets.upload.imageSamples.base64': 'Base64 JSONL',
|
|
5095
|
+
'datasets.upload.imageSamples.zip': 'ZIP relative paths',
|
|
5096
|
+
'datasets.upload.imageSamples.downloadAria': 'Download image sample: {name}',
|
|
5097
|
+
'datasets.upload.importingNoticeTitle': 'Raw file upload in progress',
|
|
5098
|
+
'datasets.upload.importingNoticeBody': 'After upload completes and server-side import starts, you can leave this page; the background task will continue parsing and importing.',
|
|
5099
|
+
'datasets.upload.backgroundImportNoticeTitle': 'Server-side import started',
|
|
5100
|
+
'datasets.upload.backgroundImportNoticeBody': 'You can leave this page; the import will continue in the background and the dataset will appear in the list when complete.',
|
|
5101
|
+
'datasets.upload.leaveConfirmTitle': 'Leaving will cancel this upload',
|
|
5102
|
+
'datasets.upload.leaveConfirmBody': 'The raw file has not finished uploading. Leaving this page cancels this upload and cleans up the session. Leave anyway?',
|
|
5073
5103
|
'datasets.upload.leaveConfirmStay': 'Stay on this page',
|
|
5074
5104
|
'datasets.upload.leaveConfirmLeave': 'Leave anyway',
|
|
5075
5105
|
'datasets.upload.parseFailed': 'Failed to parse the file. Check its format, header row, or JSON shape.',
|