Cleanup: group translation imports
This commit is contained in:
@@ -11,8 +11,10 @@ __all__ = (
|
|||||||
|
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
from bpy.app.translations import pgettext_iface as iface_
|
from bpy.app.translations import (
|
||||||
from bpy.app.translations import contexts as i18n_contexts
|
contexts as i18n_contexts,
|
||||||
|
pgettext_iface as iface_,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def _indented_layout(layout, level):
|
def _indented_layout(layout, level):
|
||||||
|
|||||||
@@ -2,8 +2,10 @@
|
|||||||
import bpy
|
import bpy
|
||||||
from bpy.types import Panel, Menu
|
from bpy.types import Panel, Menu
|
||||||
from rna_prop_ui import PropertyPanel
|
from rna_prop_ui import PropertyPanel
|
||||||
from bpy.app.translations import pgettext_iface as iface_
|
from bpy.app.translations import (
|
||||||
from bpy.app.translations import contexts as i18n_contexts
|
contexts as i18n_contexts,
|
||||||
|
pgettext_iface as iface_,
|
||||||
|
)
|
||||||
from bl_ui.utils import PresetPanel
|
from bl_ui.utils import PresetPanel
|
||||||
|
|
||||||
from bl_ui.properties_physics_common import (
|
from bl_ui.properties_physics_common import (
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
import bpy
|
import bpy
|
||||||
from bpy.types import Header, Menu, Panel
|
from bpy.types import Header, Menu, Panel
|
||||||
from bpy.app.translations import pgettext_iface as iface_
|
from bpy.app.translations import (
|
||||||
from bpy.app.translations import contexts as i18n_contexts
|
pgettext_iface as iface_,
|
||||||
|
contexts as i18n_contexts,
|
||||||
|
)
|
||||||
from bl_ui.utils import PresetPanel
|
from bl_ui.utils import PresetPanel
|
||||||
from bl_ui.properties_grease_pencil_common import (
|
from bl_ui.properties_grease_pencil_common import (
|
||||||
AnnotationDataPanel,
|
AnnotationDataPanel,
|
||||||
|
|||||||
@@ -5,8 +5,10 @@ from bpy.types import (
|
|||||||
Menu,
|
Menu,
|
||||||
Panel,
|
Panel,
|
||||||
)
|
)
|
||||||
from bpy.app.translations import pgettext_iface as iface_
|
from bpy.app.translations import (
|
||||||
from bpy.app.translations import contexts as i18n_contexts
|
contexts as i18n_contexts,
|
||||||
|
pgettext_iface as iface_,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user