Skip to content

Commit

Permalink
Merge pull request #2113 from bakdata/feature/extra-in-frontend
Browse files Browse the repository at this point in the history
Extra for frontend
  • Loading branch information
awildturtok authored Oct 5, 2021
2 parents b575ad4 + f9bda49 commit 9090aaa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/js/previous-queries/upload/CSVColumnPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ type UploadColumnType =
| "START_DATE" //(a starting day)
| "END_DATE" // (and end day
| "DATE_SET" // (a set of date ranges)
| "EXTRA" // (user supplied additional data per entity)
| "IGNORE"; // (ignore this column)

const CSVColumnPicker: FC<PropsT> = ({
Expand Down Expand Up @@ -177,6 +178,7 @@ const CSVColumnPicker: FC<PropsT> = ({
{ label: t("csvColumnPicker.dateSet"), value: "DATE_SET" },
{ label: t("csvColumnPicker.startDate"), value: "START_DATE" },
{ label: t("csvColumnPicker.endDate"), value: "END_DATE" },
{ label: t("csvColumnPicker.extra"), value: "EXTRA" },
];

const DELIMITER_OPTIONS = [
Expand Down
1 change: 1 addition & 0 deletions frontend/src/localization/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@
"dateSet": "Datumswerte",
"startDate": "Startdatum",
"endDate": "Enddatum",
"extra" : "Zusatzspalte",
"ignore": "Ignorieren",
"partialSuccess": "Hochladen teilweise erfolgreich.",
"resolved": "1 Zeile aufgelöst.",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/localization/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@
"dateSet": "Date set",
"startDate": "Start date",
"endDate": "End date",
"extra" : "Additional Column",
"ignore": "IGNORE",
"partialSuccess": "Upload partially successful.",
"resolved": "1 line resolved.",
Expand Down

0 comments on commit 9090aaa

Please sign in to comment.