Fixes#836 by using a Map instead of an array. The Map maps the values to their indices rather than the reverse, making finding the index constant-time rather than linear, and so building the full map linear rather than quadratic. Flipping it to build the final array is also linear.
* Translating the rest of the strings to spanish
Don't merge yet! Only commiting to save progress
* Update base-es.yaml
* Translated strings and improved translation
- Translated 99% of the strings, there's only one hint left that I didn't quite understand
- Fixed some typos
- Changed the translation of hub from "Central building" to "HUB"
* Update base-es.yaml
* More improvements, also changed 20 upgrades to infinite upgrades.
* Update base-en.yaml
Updated spelling, grammar, and to a lesser extent the information of some tips.
* Update base-en.yaml
* Update base-en.yaml
* Update base-en.yaml
Applied most of EmeraldBlock's suggestions
* Update base-ind.yaml
Update on tips, matching it with the new improved version, and corrected some things.
- PresS#9257
* Update base-cz.yaml
Corrected one of the tips.
* Update base-zh-TW.yaml
* Update base-en.yaml
Issue #849
* Few more spelling mistakes.
* Update base-en.yaml
Fixed inconsistencies and mispellations of Rotator (previously was Rotater, which is wrong)
* Update base-en.yaml
* Improving existing CZ translations and yaml check
* Update base-en.yaml
* Update base-zh-TW.yaml
* Update base-ind.yaml
* Update base-cz.yaml
* Completed translation
* Update base-en.yaml
Changed "20 Upgrade Tiers" to "Unlimited"
* Update base-zh-TW.yaml
* Update base-pl.yaml
Updated some polish translations.
* Update base-uk.yaml
* Update base-pl.yaml
Fix linter
* Update base-uk.yaml
* Update base-fi.yaml
Full translation. Fixed some bad grammar. Anything you need here?
* Update base-zh-TW.yaml
Finish translating.
Still need to review it all over again.
* fixing errors
* fixed errors. found few paragraphs not translated
* changed settings
* edits
* more edits
* quote marks 129
* fixed last errors. should work now
* ready now?
* colon error fix, hopefully
* 2
* new try. still error with colon
* Fixed idents
* fixed some syntax errors
* fixed more idents
* Fixed missing lines and stuff
* update translation ja-jp
* Update base-en.yaml
Upgrade text should say ∞ instead of 20 upgrade tiers, for real this time
* Update base-en.yaml
Changed "it" to "the game" because there wasn't enough context to know what "it" means
* Update base-ind.yaml
Fixed some things
* Update base-kor.yaml
* Update base-zh-TW.yaml
* A little more Polish
* Update base-it.yaml
Uploaded the new text relative to the wire layer and other small corrections, it's 100% done
* Update base-sv.yaml
Advantages, title_future, planned, title_open_source and title_links text translated
* Update base-sv.yaml
Trailing space fixed
* Update base-sv.yaml
* Update base-sv.yaml
Fix trailing spaces and wierd syntax error
* Update base-en.yaml
Removed changes present in a future pr
* Update for base-ro.yaml
I found some words like Roadmap and Standalone to be better suited when they're in English, I think some neologisms are better kept in their language.
* Update base-it.yaml
* Fix YAML Lint errors and warnings
Co-authored-by: Hyperion-21 <69665635+Hyperion-21@users.noreply.github.com>
Co-authored-by: presdm <72538204+presdm@users.noreply.github.com>
Co-authored-by: RevosCZ <72229413+RevosCZ@users.noreply.github.com>
Co-authored-by: Colleabois <12426652+Colleabois@users.noreply.github.com>
Co-authored-by: ZrubekLukas <39225468+ZrubekLukas@users.noreply.github.com>
Co-authored-by: VL4DL3N <6233477+Vlad1slaw@users.noreply.github.com>
Co-authored-by: Jędrzej Stolarz <jedrek1993@gmail.com>
Co-authored-by: Hermanni Saresma <hermukka@gmail.com>
Co-authored-by: Nucleareal <nukereiuzi@gmail.com>
Co-authored-by: sindaehyeon <56984093+sindaehyeon@users.noreply.github.com>
Co-authored-by: BananoGamer <72351355+BananoGamer@users.noreply.github.com>
Co-authored-by: Oscar Bäck <oscar.back96@outlook.com>
Co-authored-by: Memel <30528044+MemelDanzig@users.noreply.github.com>
Co-authored-by: tobspr <tobspr@users.noreply.github.com>
* Update base-ind.yaml
Update on tips, matching it with the new improved version, and corrected some things.
- PresS#9257
* Update base-ind.yaml
* Update base-ind.yaml
Fixed some things
A boolean setting is added at the bottom of the marker dialog
for whether to have a compass. COMPASS_PREFIX is removed.
There are slight changes to the boolean form element,
and a new translation is added for the compass setting description.
Waypoints that begin with "!" (or another prefix specified by COMPASS_PREFIX)
will display a compass that functions identically to the hub compass.
Because compasses are remembered by position, two markers in the same position
will share a compass, leading to other small issues.
Camera recentering is also now exact, with a slight change to how it operates.
Waypoints get an additional array property of the label broken up into
text and shape keys, obtained using a new function splitLabel().
When displaying, each item is rendered or appended in sequence using a for loop.
Because of the variable number of elements, waypoints in the list are now flexboxes,
and an extra element is added to align the edit icon to the right side.
When calculating the length of a label, the function getLabelLength() is used.
Each shape is treated as a set number of characters, using a new constant SHAPE_TEXT_LENGTH.
Other fixes/changes:
- getWaypointCanvas() uses a shape key instead of a waypoint.
- getWaypointScreenParams() returns an array of label parts,
which include the text and whether the part is a shape key.
- Text and shape width for marker boxes now correctly accounts for scale.
getWaypointScreenParams() now determines shape width using the scale,
and getTextWidth also keeps track of scale in its cache.
- Waypoint sorting no longer right-pads labels with 0's.
* Update base-en.yaml
Updated spelling, grammar, and to a lesser extent the information of some tips.
* Update base-en.yaml
* Update base-en.yaml
* Update base-en.yaml
Applied most of EmeraldBlock's suggestions
* base-nl.yaml
I changed a couple translations so they fit better and I made every translation that wasn't done yet. I hope this helped a lot since I put a lot of time in it.
* base-nl.yaml
updated 870-875 because i forgot those
* Update base-nl.yaml
* base-nl.yaml
Changed the spaces in some words like m / s so they all stay on the same line.
Co-authored-by: MisterPengu <45737819+MisterPengu@users.noreply.github.com>
* Update base-ind.yaml
Finished the translation entirely! Also corrected some things, will review it a couple more times again tomorrow.
Hope this helps!
- PresS#9257
* Update base-ind.yaml
Changed 'you' (formal) to 'you' (informal) making it more enjoyable. Also corrected some more things.
* Update base-ind.yaml
* Update base-ind.yaml
Reviewed first 273 lines of file. Formatting and order was changed acc. to EN version for easier comparison. Added and translated comments from EN. Started list of rules (file start) for consistent future translations.