Echo J
49ff415316
Use localization helper function for JS-based HTML elements
2025-01-15 16:44:13 +02:00
Echo J
71315c60ea
Rework applyLocalization() function
...
This removes all of the boilerplate for setting strings (now the
strings are set by looping through an object and calling a helper function)
The helper function also has an English string fallback if a translation
doesn't have one
And finally some functions/.html code were adjusted to simplify the localization
helper function (this also means innerHTML is no longer used for safety)
2025-01-15 16:44:11 +02:00
Echo J
18b1ea0e0b
Don't hardcode language codes
...
This will make adding a new translation a bit easier (this change
also accepts full codes for language variations like en-UK or pt-BR)
Also specify a full code for English and Chinese translations (Chinese
variation was found with a translation tool's language detector so
it might not be accurate)
2025-01-15 16:43:23 +02:00
Echo J
c6a8da0b40
Remove unused translation strings
...
These 2 strings are a duplicate of existing ones (which should
reduce translation boilerplate a bit)
2025-01-15 16:43:23 +02:00
Echo J
3645b7edd7
Fix wrong variable in an error handler
2025-01-14 21:01:17 +02:00
Echo J
606779f681
Set a border CSS property for buttons/input boxes
...
For some reason the background color isn't applied on input boxes
(only on WebKit) if I don't set this
2025-01-14 20:43:56 +02:00
Echo J
dce5f472f0
Make the GUI partially work in a web browser
...
The lack of window.__TAURI__ object prevents most of the JS code
from running (this change stubs it which allows the Tauri GUI to
be tested in a web browser with a simple web server like PHP's one)
2025-01-14 20:39:08 +02:00
krvstek.
03d86f4552
simplification & fixes for Polish
2025-01-12 21:03:15 +00:00
louis-e
17ead3c2fc
Fixed leisure generation for multipolygons
2025-01-12 17:37:30 +01:00
louis-e
3efb8460c1
Readme enhancements and credits addition
2025-01-12 16:02:56 +01:00
louis-e
5e6eb0969b
Simplified translation to avoid line breaking
2025-01-11 17:06:44 +01:00
louis-e
bac263311a
Improved error handling and fixed some minor bugs
2025-01-07 23:45:51 +01:00
louis-e
dc57d092f8
Added Swedish and Korean, fixed Spanish
2025-01-07 21:59:45 +01:00
sh1kcs
596231f50b
Update ru.json
2025-01-06 21:40:09 +06:00
sh1kcs
9417f0e67b
Update ru.json
2025-01-06 21:38:08 +06:00
sh1kcs
5e70a9c7e3
Update ru.json
2025-01-06 21:36:12 +06:00
Louis Erbkamm
7c4eee955c
Merge branch 'main' into localization-feedback
2025-01-06 16:13:17 +01:00
louis-e
97e70bfef0
Implemented translation feedback for Ukrainian and Russian
2025-01-06 16:10:40 +01:00
krvstek.
ccf7784848
Add Polish language
2025-01-06 12:37:06 +00:00
Louis Erbkamm
a513f0e230
Merge pull request #188 from Ilya114/main
...
Add Ukrainian add some fixes for russian translation
2025-01-05 23:45:39 +01:00
Louis Erbkamm
c2c9f2e556
Added Ukrainian to main.js
2025-01-05 23:38:22 +01:00
Ilya114
712127228d
Rename uk.json to ua.json
2025-01-05 21:17:59 +02:00
Ilya114
3ee1b80ea2
Update ru.json
2025-01-05 20:09:03 +02:00
Ilya114
b1c0f39a65
Create uk.json
2025-01-05 20:08:47 +02:00
Ilya114
23233a5f11
Update ru.json
2025-01-05 20:01:03 +02:00
louis-e
458f709931
Added additional support for Spanish, Russian, Chinese and German
2025-01-05 17:24:36 +01:00
louis-e
9ad0b5d5ee
Added additional support for Spanish, Russian, Chinese and German
2025-01-05 17:11:00 +01:00
louis-e
b7db71209e
Fix logic to make sure that generation cannot be started when no world is selected
2025-01-04 23:09:51 +01:00
louis-e
1bd3fb6802
Adapted minimum scale value to 0.3
2025-01-04 14:58:25 +01:00
louis-e
5cbeeb0e01
Adapted minimum scale value to 0.3
2025-01-04 14:57:57 +01:00
louis-e
13a48105fe
Removed obsolete console log
2025-01-03 16:06:11 +01:00
louis-e
f4e0b66245
Fixed longitude wrapping bug
2024-12-31 12:14:18 +01:00
louis-e
b9277e6a60
Added groundlevel parameter to settings
2024-12-29 23:48:17 +01:00
louis-e
712c7db03e
Added support for generating new world
2024-12-29 22:42:53 +01:00
louis-e
ae3a91970f
Add floodfill timeout support
2024-12-29 00:41:20 +01:00
louis-e
f3ae449f02
Check session lock before selecting world
2024-12-28 23:41:45 +01:00
louis-e
1a259d6dfc
Added winter mode
2024-12-28 23:22:07 +01:00
louis-e
a284f77545
Added settings menu including scale option and custom bbox input
2024-12-28 03:07:47 +01:00
louis-e
4685a7297c
Implemented GUI
2024-12-25 00:08:04 +01:00