[Bf-blender-cvs] [638622971b7] blender2.8: I18N defaults: enable tooltip translation.

Bastien Montagne noreply at git.blender.org
Wed Nov 21 12:07:50 CET 2018


Commit: 638622971b7077821eeb46295ee15aa4733a2dab
Author: Bastien Montagne
Date:   Wed Nov 21 12:05:56 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB638622971b7077821eeb46295ee15aa4733a2dab

I18N defaults: enable tooltip translation.

That is minimal change for now, we may want to fully enable i18n by
default...

===================================================================

M	source/blender/blenloader/intern/versioning_defaults.c

===================================================================

diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c
index 12d5e62aa18..2fd332c460f 100644
--- a/source/blender/blenloader/intern/versioning_defaults.c
+++ b/source/blender/blenloader/intern/versioning_defaults.c
@@ -77,6 +77,9 @@ void BLO_update_defaults_userpref_blend(void)
 
 	/* Leave temp directory empty, will then get appropriate value per OS. */
 	U.tempdir[0] = '\0';
+
+	/* Only enable tooltips translation by default, without actually enabling translation itself, for now. */
+	U.transopts = USER_TR_TOOLTIPS;
 }
 
 /**



More information about the Bf-blender-cvs mailing list