Fix (unreported) calling Online Manual from context menu
This commit is contained in:
parent
d31844cc0b
commit
9003cc091f
|
@ -5,8 +5,8 @@ import bpy
|
|||
url_manual_prefix = "https://docs.blender.org/manual/en/dev/"
|
||||
|
||||
language = ""
|
||||
if bpy.context.preferences.system.use_international_fonts:
|
||||
language = bpy.context.preferences.system.language
|
||||
if bpy.context.preferences.view.use_international_fonts:
|
||||
language = bpy.context.preferences.view.language
|
||||
if language == 'DEFAULT':
|
||||
import os
|
||||
language = os.getenv('LANG', '').split('.')[0]
|
||||
|
|
Loading…
Reference in New Issue