[Bf-extensions-cvs] [c8931d77] master: Fix/cleanup typos and such in UI messages.

Bastien Montagne noreply at git.blender.org
Mon Dec 24 15:04:19 CET 2018


Commit: c8931d77ad6f6e040cfa9b4b9c17460d2d00d8c5
Author: Bastien Montagne
Date:   Mon Dec 24 15:03:09 2018 +0100
Branches: master
https://developer.blender.org/rBAc8931d77ad6f6e040cfa9b4b9c17460d2d00d8c5

Fix/cleanup typos and such in UI messages.

===================================================================

M	io_import_images_as_planes.py
M	ui_translate/edit_translation.py
M	ui_translate/update_svn.py

===================================================================

diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index e1c2cfbf..8030e63b 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 8fdf676a..1aeee13a 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 43d9de8e..a3228bac 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"



More information about the Bf-extensions-cvs mailing list