Implement CSV / TSV import (#45)

- add csv/tsv importer
- add `make_map` script function
- add `alt name` field property
- add `construction script` field property
- add `construction script` game property
This commit is contained in:
GenevensiS
2025-06-09 04:53:33 +02:00
committed by GitHub
parent 6cac4ae0dc
commit 87fbc0e80e
21 changed files with 521 additions and 63 deletions
+10
View File
@@ -52,6 +52,7 @@ menu:
add card: &Add Card Ctrl+Enter
add cards: Add &Multiple Cards...
remove card: &Delete Selected Card
add card csv: Add Cards from CSV or TSV...
orientation: &Orientation
rotate 0: &Normal
rotate 270: Rotated 90° &Clockwise
@@ -536,6 +537,12 @@ label:
html template: Template:
html export options: Export options
# CSV import
add card csv sep: Separator:
add card csv tab: Tab
add card csv comma: Comma
add card csv file: CSV or TSV file path:
# Image slicer
original: Original:
result: Result:
@@ -723,6 +730,9 @@ title:
export cancelled: Export Cancelled
export html: Export to HTML
save html: Export to HTML
# import
add card csv: Add Cards from CSV or TSV file
add card csv file: Open CSV or TSV file
# auto replace
auto replaces: Auto Replace