summaryrefslogtreecommitdiff
path: root/core/string/translation.cpp
AgeCommit message (Collapse)Author
2022-11-10[Font] Add an import option to pre-render all glyphs required for the ↵bruvzg
translation.
2022-10-31Merge pull request #67931 from bruvzg/locale_no_defRémi Verschelde
Do not auto add default script and country codes to the locale.
2022-10-27Do not auto add default script and country codes to the locale.bruvzg
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-08-24Replace Array return types with TypedArray 3kobewi
2022-08-08Add tests for empty/unnamed arguments to ClassDB, Variant, GDScriptYuri Sizov
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-02-18[Editor] Fix "en" editor translation detection.bruvzg
2022-02-12Use EditorFileDialog instead of FileDialog in the project managerHendrik Brucker
2022-02-08[GDExtension] Add binds for missing methods, operators, and constants ↵bruvzg
required for GDExtension TextServer implementation.
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-01-24Fix translation with multiple sources for the same language.bruvzg
Remove unnecessary locale length checks. Add "C" -> "en" locale remap.
2022-01-19Fix locale always selecting translation instead of "en", when no match found.bruvzg
2022-01-18Improve locale detection.bruvzg
Use separate language, script and country lists. Add locale selection dialog and property hint.
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-10Added check to get_all_locales to avoid adding duplicate locales to arrayraphaelazev
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-05Merge pull request #53225 from aaronfranke/c-localeRémi Verschelde
2021-10-04GDScript completion: Handle quote style ad-hoc to remove editor dependencyRémi Verschelde
`core` and `scene` shouldn't depend on `editor`, so they can't query this style setting in `get_argument_options`. But we can handle it after the fact in GDScript's completion code. Also cleans up a couple extra unused invalid includes in `core`.
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-29Add locale rename for the "C" localeAaron Franke
2021-09-29Implement override of get_message and get_plural_messageO01eg
2021-08-08Merge pull request #51395 from angad-k/pseudolocalization-squashedRémi Verschelde
Add pseudolocalization to Godot. (GSoC'21)
2021-08-08add pseudolocalization to GodotAngad Kambli
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-16Fix missing locale namesHaoyu Qiu
2021-04-26Remove uses of `auto` for better readability and online code reviewsHugo Locurcio
The current code style guidelines forbid the use of `auto`. Some uses of `auto` are still present, such as in UWP code (which can't be currently tested) and macros (where removing `auto` isn't easy).
2021-03-22Merge pull request #34587 from ↵Rémi Verschelde
YeldhamDev/translation_resource_notification_removal Remove translation change notification when setting the locale of a Translation resource
2021-02-24Merge pull request #46195 from AndyBarcia/FixLanguageCodesIncosistenciesRémi Verschelde
Fix some inconsistent ISO-639 language codes
2021-02-18Fixes some inconsistent ISO-639 language codesandybarcia
And also adds tmz (Central Atlas Tamazight) as a language
2021-02-18Reorganize Project Settingsreduz
-Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-08Make translation change notification when setting the locale of a ↵Michael Alexsander
Translation resource only happen when loaded in the server
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code