Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-21Cleanup: warnings (msvc)Campbell Barton
Part of patch D1670 by @LazyDodo
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-04-02Fix bpy.so linking on Mac OS XCampbell Barton
D345 from Aleksandr Derbenev
2014-02-26Locale_wrapper: make the bad_cast catch more clear and fix the ↵Jens Verwiebe
std::exception message
2014-02-24OSX: add debug mesg to bl_locale_pgettext for later indeep investigationJens Verwiebe
2014-02-23Fix an uncaught exception on OSX, perhaps general with popupsJens Verwiebe
2013-09-21style cleanup: whitespace & odd indentationCampbell Barton
2013-06-27Fix #35890: memory leak in OS X ghost locale detection.Brecht Van Lommel
2013-06-21Code cleanup: fix some vs2012 compiler warningsBrecht Van Lommel
2013-05-01Some minor cleanup/polish...Bastien Montagne
2013-05-01This should at least prevent crash in [#35172]...Bastien Montagne
2013-03-04OSX/locale: a further cleanupJens Verwiebe
2013-03-03OSX: Get the current locale in objC-styleJens Verwiebe
2013-01-20Python i18n API. Many thanks to Campbell and Brecht for the reviews and ↵Bastien Montagne
suggestions! This commit adds: * A new bpy.app.translations module giving some info about locales/translation stuff (current active locale, all locales currently known by blender, all translation contexts currently defined, etc.). * The ability for addons to feature translations, using the (un)register functions of above module. * Also cleans up "translate py string when storing into RNA prop" by removing "PROP_TRANSLATE" string's subtype, and adding a PROP_STRING_PY_TRANSLATE flag instead (this way it is no more exposed to python...). Addon translations work with py dictionaries: each addon features a dict {lang: {(context, message): translation, ...}, ...}, which is registered when the addon is enabled (and unregistered when disabled). Then, when a key (context, message) is not found in regular mo catalog, a cache dict for current locale is built from all registered addon translations, and key is searched in it. Note: currently addons writers have to do all the work by hand, will add something (probably extend "edit translation" addon) to automate messages extraction from addons soon(ish)! To get a look to expected behavior from addons, have a look at render_copy_settings/__init__.py and render_copy_settings/translations.py (rather stupid example currently, but...). Once we have a complete process, I'll also update relevant wiki pages.
2012-12-31Add try/catch around i18n locale setter code, just in case...Bastien Montagne
2012-11-21Fixes for OS X default locale: use pclose and do error checking for file read.Brecht Van Lommel
2012-11-21OSX/locale: moved command up, so errorchecking also happensJens Verwiebe
2012-11-21OSX/locale: workaround to get osx system locale from user defaultsJens Verwiebe
2012-11-11Replacing gettext i18n backend by boost::locale one.Bastien Montagne
This commit adds a small and simplistic C wrapper around boost's locale library as intern/locale, and heavily simplifies/reduces Blender's own i18n code (under blenfont/ dir). And it adds back UI translation on windows' official builds (with msvc)! Note to platform maintainers: iconv and gettext (libintl) can now be removed from precompiled libs (not gettext binaries, under windows, of course ;) ). Note to MinGW32/64 users: boost_locale lib has not yet been uploaded for those build env, please disable WITH_INTERNATIONAL for now (hopefully will be fixed very soon, have contacted psy-fy).