summaryrefslogtreecommitdiffstats
path: root/core/translation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily2019-08-171-2/+1
| | | | | | | | | Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
* Translation: Fix logic bug finding match for regional localesRémi Verschelde2019-08-081-32/+32
| | | | | | | The match test was inverted. The rest of the changes are documentation and cleanup. Fixes #26346 and fixes #31192.
* Locales: Add some missing locale namesRémi Verschelde2019-05-021-2/+16
|
* Added TranslationServer::get_loaded_locales to return an array of all ↵Ken Paulson2019-04-241-0/+15
| | | | locales with a loaded Translation
* Add -Wshadow=local to warnings and fix reported issues.marxin2019-02-201-1/+1
| | | | Fixes #25316.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fallback to "en" when invalid locale is requestedRémi Verschelde2018-09-231-4/+7
| | | | Close #22365.
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-3/+3
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Make some debug prints verbose-only, remove othersRémi Verschelde2018-08-241-1/+0
|
* Removed unnecessary assignmentsWilson E. Alvarez2018-07-241-5/+3
|
* Add locale renames for Hebrew and Indonesian on WindowsRémi Verschelde2018-02-141-1/+18
| | | | | | | Windows does not fully respect ISO 639-1 like other systems, so we have to override its locale values for those languages. Also added comments to document the locale provenance.
* Bind many more properties to scriptsBojidar Marinov2018-01-121-1/+1
| | | | | | | Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-5/+5
|
* i18n: Add support for Serbin (Cyrillic) localeRémi Verschelde2017-11-221-0/+2
| | | | [ci skip]
* Use UTF-8 for locale names. Fixes #12462.mhilbrunner2017-11-071-2/+2
|
* Add support for non-ISO locale identifiers via renames mapRémi Verschelde2017-10-301-63/+73
| | | | | | | Windows apparently uses "no" for Norwegian Bokmål, even though its ISO 639-1 language code is "nb"... Closes #12479. Also did some non-intrusive cleanup while at it.
* Add a function to get the full name of a localesheepandshepherd2017-10-251-0/+13
|
* Added the set/get_setting function in Editor/Project settings. Renamed has() ↵Juan Linietsky2017-10-051-1/+1
| | | | to has_setting. Fixes #11844
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Merge pull request #9987 from Rubonnek/move-members-to-initilization-listRémi Verschelde2017-08-111-7/+5
|\ | | | | Moved member variables from constructor to initialization list
| * Moved member variables from constructor to initialization listWilson E. Alvarez2017-08-081-7/+5
| |
* | Removes type information from method bindsIgnacio Etcheverry2017-08-101-2/+2
|/
* Style: Apply clang-format on all filesRémi Verschelde2017-07-301-1/+1
| | | | Thus fixing some invalid changes that had still made it to the master branch.
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-4/+4
| | | | -Added system for feature overrides, it's pretty cool :)
* Reworked translation systemJuan Linietsky2017-06-281-0/+6
| | | | | -Label and Button reload translation on the fly -Resources are loaded and reload depending on locale
* Fix wrong fallback for localevolzhs2017-04-261-1/+1
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-863/+834
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-15/+15
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-2/+2
| | | | This saves typing and is a step towards fixing #56
* Added "Scots" locale name, fixing #7630Nuno Donato2017-02-081-0/+1
|
* CSV translation import pluginJuan Linietsky2017-02-011-0/+14
|
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-0/+1
| | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* Type renames:Juan Linietsky2017-01-111-1/+1
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* -Translation text will change automatically for in-game buttons, labels, ↵Juan Linietsky2017-01-091-0/+4
| | | | | | | poups when translation is changed. -Added a NOTIFICATION_TRANSLATION_CHANGED for controls that need custom code -Sorry, editor will not update automatically because it uses a different translatio method.
* i18n: Add support for Scots (sco) languageRémi Verschelde2017-01-081-0/+1
| | | | Fixes #6931.
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-8/+8
| | | | renamed to PoolVector
* -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-3/+3
| | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-15/+15
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Blimey! Ye Pirate locale be anchor' a'port!Rémi Verschelde2016-11-151-0/+2
|
* Fix locale for macOS-style localesDamon2016-10-271-6/+12
|
* Change set_locale to fallback to the global language (#6910)Damon Myers2016-10-271-6/+27
|
* i18n: Update list of supported locales based off glibcRémi Verschelde2016-09-011-24/+414
| | | | Fixes #5733, fixes #6214.
* i18n: Add missing locale identifiers for Bengali and UrduRémi Verschelde2016-07-161-0/+12
| | | | Fixes errors showing up since the addition of those WIP translations.
* Added translation support to GodotJuan Linietsky2016-05-271-2/+4
| | | | included is a French translation!
* Modified editor strings to be translatable in the futureJuan Linietsky2016-05-031-0/+16
|