forked from blender/blender
me-main #1
@ -487,7 +487,7 @@ def disable_all():
|
|||||||
|
|
||||||
|
|
||||||
def _blender_manual_url_prefix():
|
def _blender_manual_url_prefix():
|
||||||
return "https://docs.blender.org/manual/en/%d.%d" % _bpy.app.version[:2]
|
return "https://docs.blender.org/manual/%s/%d.%d" % (_bpy.utils.manual_language_code(), *_bpy.app.version[:2])
|
||||||
|
|
||||||
|
|
||||||
def module_bl_info(mod, *, info_basis=None):
|
def module_bl_info(mod, *, info_basis=None):
|
||||||
|
@ -1056,7 +1056,7 @@ class WM_OT_url_open_preset(Operator):
|
|||||||
return "https://www.blender.org/download/releases/%d-%d/" % bpy.app.version[:2]
|
return "https://www.blender.org/download/releases/%d-%d/" % bpy.app.version[:2]
|
||||||
|
|
||||||
def _url_from_manual(self, _context):
|
def _url_from_manual(self, _context):
|
||||||
return "https://docs.blender.org/manual/en/%d.%d/" % bpy.app.version[:2]
|
return "https://docs.blender.org/manual/%s/%d.%d/" % (bpy.utils.manual_language_code(), *bpy.app.version[:2])
|
||||||
|
|
||||||
def _url_from_api(self, _context):
|
def _url_from_api(self, _context):
|
||||||
return "https://docs.blender.org/api/%d.%d/" % bpy.app.version[:2]
|
return "https://docs.blender.org/api/%d.%d/" % bpy.app.version[:2]
|
||||||
|
Loading…
Reference in New Issue
Block a user