Skip to content

Commit

Permalink
feat: add YOLO export
Browse files Browse the repository at this point in the history
  • Loading branch information
Licht-T committed Mar 27, 2021
1 parent a603a27 commit 3171b82
Show file tree
Hide file tree
Showing 12 changed files with 574 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/localization/en-us.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ export const english: IAppStrings = {
description: "Whether or not to include unassigned tags in exported data",
},
},
yolo: {
displayName: "YOLO",
},
cntk: {
displayName: "Microsoft Cognitive Toolkit (CNTK)",
},
Expand Down
3 changes: 3 additions & 0 deletions src/common/localization/es-cl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,9 @@ export const spanish: IAppStrings = {
description: "Si se incluyen o no etiquetas no asignadas en los datos exportados",
},
},
yolo: {
displayName: "YOLO",
},
cntk: {
displayName: "Microsoft Cognitive Toolkit (CNTK)",
},
Expand Down
3 changes: 3 additions & 0 deletions src/common/localization/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,9 @@ export const japanese: IAppStrings = {
// Whether or not to include unassigned tags in exported data"
},
},
yolo: {
displayName: "YOLO", // YOLO
},
cntk: {
displayName: "Microsoft Cognitive Toolkit(CNTK)", // Microsoft Cognitive Toolkit (CNTK)"
},
Expand Down
3 changes: 3 additions & 0 deletions src/common/localization/ko-kr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,9 @@ export const korean: IAppStrings = {
// Whether or not to include unassigned tags in exported data"
},
},
yolo: {
displayName: "YOLO", // YOLO
},
cntk: {
displayName: "Microsoft Cognitive Toolkit(CNTK)", // Microsoft Cognitive Toolkit (CNTK)"
},
Expand Down
3 changes: 3 additions & 0 deletions src/common/localization/zh-ch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ export const chinese: IAppStrings = {
description: "是否在导出的数据中包括未被分配的标签", // Whether or not to include unassigned tags in exported data
},
},
yolo: {
displayName: "YOLO", // YOLO
},
cntk: {
displayName: "Microsoft Cognitive Toolkit(CNTK)", // Microsoft Cognitive Toolkit (CNTK)
},
Expand Down
3 changes: 3 additions & 0 deletions src/common/localization/zh-tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ export const chinesetw: IAppStrings = {
description: "是否在已匯出的數據中包括未指定的標記", // Whether or not to include unassigned tags in exported data
},
},
yolo: {
displayName: "YOLO", // YOLO
},
cntk: {
displayName: "Microsoft Cognitive Toolkit(CNTK)", // Microsoft Cognitive Toolkit (CNTK)
},
Expand Down
3 changes: 3 additions & 0 deletions src/common/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,9 @@ export interface IAppStrings {
description: string,
},
},
yolo: {
displayName: string,
},
cntk: {
displayName: string,
},
Expand Down
22 changes: 22 additions & 0 deletions src/providers/export/yolo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "object",
"title": "${strings.export.providers.yolo.displayName}",
"properties": {
"assetState": {
"type": "string",
"title": "${strings.export.providers.common.properties.assetState.title}",
"description": "${strings.export.providers.common.properties.assetState.description}",
"enum": [
"all",
"visited",
"tagged"
],
"default": "visited",
"enumNames": [
"${strings.export.providers.common.properties.assetState.options.all}",
"${strings.export.providers.common.properties.assetState.options.visited}",
"${strings.export.providers.common.properties.assetState.options.tagged}"
]
}
}
}
Loading

0 comments on commit 3171b82

Please sign in to comment.