Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-06-27 08:18:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-06-27 08:18:01 +0400
commit3ff36f928c008aa5c0f114ec0f3b83f1db85766a (patch)
treed9d07ffab5549b3463c0ced71698f510607543c6 /doc
parentf3b7a49d5bac0179aeaaf5584fd0051ce5de1cdc (diff)
3d text tool - 'insert lorem' was crashing, also add this to the text menu.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/bpy.app.translations.py2
-rw-r--r--doc/python_api/examples/bpy.types.WindowManager.popup_menu.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.app.translations.py b/doc/python_api/examples/bpy.app.translations.py
index 2c21bb54ba9..01d5a987215 100644
--- a/doc/python_api/examples/bpy.app.translations.py
+++ b/doc/python_api/examples/bpy.app.translations.py
@@ -4,7 +4,7 @@ Intro
.. warning::
Most of this object should only be useful if you actually manipulate i18n stuff from Python.
- If you are a regular addon, you should only bother about :const:`contexts` member,
+ If you are a regular addon, you should only bother about :const:`contexts` member,
and the :func:`register`/:func:`unregister` functions! The :func:`pgettext` family of functions
should only be used in rare, specific cases (like e.g. complex "composited" UI strings...).
diff --git a/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py b/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py
index c1887d8b41d..df591521440 100644
--- a/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py
+++ b/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py
@@ -8,6 +8,7 @@ Note that they will not block the scripts execution, so the caller can't wait fo
import bpy
+
def draw(self, context):
self.layout.label("Hello World")