Commit Graph

66 Commits (d006ee888725ce0447a0273c55ab8647d06a0db2)
 

Author SHA1 Message Date
Aadhavan Srinivasan d006ee8887 Update translations DB
Aadhavan Srinivasan 6cc8069c23 Moved translations DB to root, updated references to it
Aadhavan Srinivasan 0add8244e6 Added gitignore
Aadhavan Srinivasan 02c47cc218 Updated TODO
Aadhavan Srinivasan f20c17337b Added styling for romanizations (same as translations)
Aadhavan Srinivasan 4fece83e43 Show romanizations on map
Aadhavan Srinivasan f861b73846 Updated TODO
Aadhavan Srinivasan 0f92b11009 Add more text below the translation, in brackets - will be used for romanization
Aadhavan Srinivasan 6899c2ce86 Updated translation DB
Aadhavan Srinivasan 5cb766c2b8 Updated DB
Aadhavan Srinivasan c5ff92f941 Added JS to fetch romanization from an endpoint and log it; added a CSS class to the loading bar to show while the data is being fetched
Aadhavan Srinivasan 4671ba40e7 Updated translations
Aadhavan Srinivasan dfdd9326be Added modified xlit server file with new endpoint '/romanize' - should go in venv for transliteration server
Aadhavan Srinivasan 64f4f5f80b Fixed typo in manipuri language tag; regenerated database
Aadhavan Srinivasan ca7f6ad212 Fixed typo with struct tag; cleared DB because this bug resulted in incomplete translations
Aadhavan Srinivasan 7112874a06 General refactoring
Aadhavan Srinivasan a38657ddf1 Updated TODO
Aadhavan Srinivasan 6ba1189c6c Define color directly in the 'languages' object, instead of separately
Aadhavan Srinivasan d8bdb048c4 Added sqlite DB to cache translations; retrieve translations from DB if they're cached, otherwise fetch from API and cache results
Aadhavan Srinivasan a39fcc69a4 Added TODO
Aadhavan Srinivasan 42e31dab13 Use language code instead of language name; removed 'unavail' language; don't add text for districts
Aadhavan Srinivasan da3b3b8a16 Added loading indicator when translations are being retrieved
Aadhavan Srinivasan 0de268eec5 Replace text on map with translation
Aadhavan Srinivasan 2b8bed7587 Added language codes for all languages; removed 'unavail' langauge (not really a language)
Aadhavan Srinivasan 79944180d5 Added language codes for each language, add some testing text to determine if I can draw based on lat/long
Aadhavan Srinivasan 6cd33ac06d Add noto fonts (unicode glyph support); use HTMX to replace translations on map; pointer-events for languageText to help select a state on the map
Aadhavan Srinivasan e60da27cd5 New file - updates translations on map
Aadhavan Srinivasan c57de2492e Added Go translation server - send requests to Google Translate API
Aadhavan Srinivasan 5f8264cda8 Store language text instead of district text
Aadhavan Srinivasan 73149275fd Added a form, added some more styling
Aadhavan Srinivasan c7876fea3f Added Awadhi language boundary
Aadhavan Srinivasan d757454319 Added Awadhi language and language color
Aadhavan Srinivasan 53f8c63c2d Added Awadhi language
Aadhavan Srinivasan 6532036c73 Removed turf JS testing file (I have it implemented)
Aadhavan Srinivasan 5584374dea Updated JSON with Sindhi and Santali language boundaries
Aadhavan Srinivasan f43460e94b Added Santali and Sindhi languages; removed 'try ... catch' block because the function shouldn't error
Aadhavan Srinivasan ce89a74e70 Added a transparent fill, so that the language boundary can be 'hovered' on; added a hover action
Aadhavan Srinivasan f9cc824e3e Updated language borders with Sindhi and Santali
Aadhavan Srinivasan 0aa425e6d1 Copied generated JSON data into a file, added it into the districts JSON file and saved the result to a new file
Aadhavan Srinivasan 625b1d1377 Since language boundaries are now loaded from json, I can detect them and apply the right CSS class; removed JSON generation code
Aadhavan Srinivasan 5fc15a2c5c Increase stroke width for language boundaries
Aadhavan Srinivasan 17267b11ac unminified
Aadhavan Srinivasan 4789ce8ac4 Finally finished adding language boundaries - next step: export them to a file so that they don't have to be recomputed each time
Aadhavan Srinivasan 6d0a1a3c7c Started testing some stuff
Aadhavan Srinivasan c4e28998c5 Added some CSS for language boundaries
Aadhavan Srinivasan adb216f67f Working on defining a 'language' boundary, separate from state and district boundaries
Aadhavan Srinivasan 216e5ca74a Added function to get the outer boundary of the districts, based on language
Aadhavan Srinivasan c98af5a5ae Draw states after districts; add 'fill: none' CSS to states; store a map of color to all features with that color
Aadhavan Srinivasan c2df272fe6 Added testing file
Aadhavan Srinivasan 824a92029d Renamed colors; added district colors