From c8931d77ad6f6e040cfa9b4b9c17460d2d00d8c5 Mon Sep 17 00:00:00 2001 From: Bastien Montagne <montagne29@wanadoo.fr> Date: Mon, 24 Dec 2018 15:03:09 +0100 Subject: [PATCH] Fix/cleanup typos and such in UI messages. --- io_import_images_as_planes.py | 2 +- ui_translate/edit_translation.py | 4 ++-- ui_translate/update_svn.py | 6 ++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py index e1c2cfbf3..8030e63b5 100644 --- a/io_import_images_as_planes.py +++ b/io_import_images_as_planes.py @@ -750,7 +750,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper): # Properties - Image use_transparency: BoolProperty( name="Use Alpha", default=True, - description="Use alphachannel for transparency") + description="Use alpha channel for transparency") t = bpy.types.Image.bl_rna.properties["alpha_mode"] alpha_mode_items = tuple((e.identifier, e.name, e.description) for e in t.enum_items) diff --git a/ui_translate/edit_translation.py b/ui_translate/edit_translation.py index 8fdf676a8..1aeee13af 100644 --- a/ui_translate/edit_translation.py +++ b/ui_translate/edit_translation.py @@ -47,8 +47,8 @@ def _get_messages(lang, fname): class UI_OT_i18n_edittranslation_update_mo(Operator): - """Try to "compile" given po file into relevant blender.mo file - (WARNING: it will replace the official mo file in your user dir!)""" + """Try to "compile" given po file into relevant blender.mo file""" + """(WARNING: it will replace the official mo file in your user dir!)""" bl_idname = "ui.i18n_edittranslation_update_mo" bl_label = "Edit Translation Update Mo" diff --git a/ui_translate/update_svn.py b/ui_translate/update_svn.py index 43d9de8e8..a3228bac0 100644 --- a/ui_translate/update_svn.py +++ b/ui_translate/update_svn.py @@ -201,10 +201,8 @@ class UI_OT_i18n_updatetranslation_svn_trunk(Operator): class UI_OT_i18n_updatetranslation_svn_statistics(Operator): - """Create or extend a 'i18n_info.txt' Text datablock - - It will contain statistics and checks about current branches and/or trunk. - """ + """Create or extend a 'i18n_info.txt' Text datablock""" + """(it will contain statistics and checks about current branches and/or trunk)""" bl_idname = "ui.i18n_updatetranslation_svn_statistics" bl_label = "Update I18n Statistics" -- GitLab