kreier / timeline

An overview of the human history as a graph in a pdf file.
https://kreier.github.io/timeline/
MIT License
2 stars 2 forks source link

V3.2 separate text and color from reference data #7

Closed kreier closed 11 months ago

kreier commented 11 months ago

Creating two files colors_normal.csv and language_en.tsv the values for color can be separated from the data itself. A different color-set could be used for a different appearance without changing the core data.

Similar for translation, the reference data contains a unique key value to assign a unique color and respective translation when creating the timeline.

kreier commented 11 months ago

Looks good! Some proprietary text elements in the python code have to be exported to the dictionary_en.tsv but it looks quite decent already!