Skip to content
Snippets Groups Projects
Commit d090d8dc authored by Julian Eisel's avatar Julian Eisel
Browse files

Update manual script after Preferences RNA changes

parent 279c3732
No related branches found
No related tags found
No related merge requests found
......@@ -63,8 +63,8 @@ fw(" This file is auto generated from rna_manual_reference_updater.py\n\n")
fw("import bpy\n\n")
fw("url_manual_prefix = \"https://docs.blender.org/manual/en/dev/\"\n\n")
fw("language = \"\"\n")
fw("if bpy.context.user_preferences.system.use_international_fonts:\n")
fw(" language = bpy.context.user_preferences.system.language\n")
fw("if bpy.context.preferences.view.use_international_fonts:\n")
fw(" language = bpy.context.preferences.view.language\n")
fw(" if language == 'DEFAULT':\n")
fw(" import os\n")
fw(" language = os.getenv('LANG', '').split('.')[0]\n\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment