Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
c6a3000d
Commit
c6a3000d
authored
12 years ago
by
Bastien Montagne
Browse files
Options
Downloads
Patches
Plain Diff
Fix for dummy mistake (if a message was not yet translated, it would not appear in popup! stupid!)
parent
59753a0a
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ui_translate/__init__.py
+8
-8
8 additions, 8 deletions
ui_translate/__init__.py
with
8 additions
and
8 deletions
ui_translate/__init__.py
+
8
−
8
View file @
c6a3000d
...
...
@@ -229,7 +229,7 @@ class UI_OT_edittranslation(bpy.types.Operator):
if
self
.
rna_ctxt
:
layout
.
label
(
text
=
"
RNA Context:
"
+
self
.
rna_ctxt
)
if
self
.
but_label
or
self
.
rna_label
or
self
.
enum_label
:
if
self
.
org_
but_label
or
self
.
org_
rna_label
or
self
.
org_
enum_label
:
# XXX Can't use box, labels are not enought readable in them :/
# box = layout.box()
box
=
layout
...
...
@@ -237,7 +237,7 @@ class UI_OT_edittranslation(bpy.types.Operator):
split
=
box
.
split
(
percentage
=
0.15
)
col1
=
split
.
column
()
col2
=
split
.
column
()
if
self
.
but_label
:
if
self
.
org_
but_label
:
col1
.
label
(
text
=
"
Button Label:
"
)
row
=
col2
.
row
()
row
.
enabled
=
False
...
...
@@ -247,7 +247,7 @@ class UI_OT_edittranslation(bpy.types.Operator):
col1
.
prop_enum
(
self
,
"
but_label_flags
"
,
'
FUZZY
'
,
text
=
"
Fuzzy
"
)
col2
.
prop
(
self
,
"
but_label
"
,
text
=
""
)
row
.
prop
(
self
,
"
org_but_label
"
,
text
=
""
)
if
self
.
rna_label
:
if
self
.
org_
rna_label
:
col1
.
label
(
text
=
"
RNA Label:
"
)
row
=
col2
.
row
()
row
.
enabled
=
False
...
...
@@ -257,7 +257,7 @@ class UI_OT_edittranslation(bpy.types.Operator):
col1
.
prop_enum
(
self
,
"
rna_label_flags
"
,
'
FUZZY
'
,
text
=
"
Fuzzy
"
)
col2
.
prop
(
self
,
"
rna_label
"
,
text
=
""
)
row
.
prop
(
self
,
"
org_rna_label
"
,
text
=
""
)
if
self
.
enum_label
:
if
self
.
org_
enum_label
:
col1
.
label
(
text
=
"
Enum Item Label:
"
)
row
=
col2
.
row
()
row
.
enabled
=
False
...
...
@@ -268,7 +268,7 @@ class UI_OT_edittranslation(bpy.types.Operator):
col2
.
prop
(
self
,
"
enum_label
"
,
text
=
""
)
row
.
prop
(
self
,
"
org_enum_label
"
,
text
=
""
)
if
self
.
but_tip
or
self
.
rna_tip
or
self
.
enum_tip
:
if
self
.
org_
but_tip
or
self
.
org_
rna_tip
or
self
.
org_
enum_tip
:
# XXX Can't use box, labels are not enought readable in them :/
# box = layout.box()
box
=
layout
...
...
@@ -276,7 +276,7 @@ class UI_OT_edittranslation(bpy.types.Operator):
split
=
box
.
split
(
percentage
=
0.15
)
col1
=
split
.
column
()
col2
=
split
.
column
()
if
self
.
but_tip
:
if
self
.
org_
but_tip
:
col1
.
label
(
text
=
"
Button Tip:
"
)
row
=
col2
.
row
()
row
.
enabled
=
False
...
...
@@ -286,7 +286,7 @@ class UI_OT_edittranslation(bpy.types.Operator):
col1
.
prop_enum
(
self
,
"
but_tip_flags
"
,
'
FUZZY
'
,
text
=
"
Fuzzy
"
)
col2
.
prop
(
self
,
"
but_tip
"
,
text
=
""
)
row
.
prop
(
self
,
"
org_but_tip
"
,
text
=
""
)
if
self
.
rna_tip
:
if
self
.
org_
rna_tip
:
col1
.
label
(
text
=
"
RNA Tip:
"
)
row
=
col2
.
row
()
row
.
enabled
=
False
...
...
@@ -296,7 +296,7 @@ class UI_OT_edittranslation(bpy.types.Operator):
col1
.
prop_enum
(
self
,
"
rna_tip_flags
"
,
'
FUZZY
'
,
text
=
"
Fuzzy
"
)
col2
.
prop
(
self
,
"
rna_tip
"
,
text
=
""
)
row
.
prop
(
self
,
"
org_rna_tip
"
,
text
=
""
)
if
self
.
enum_tip
:
if
self
.
org_
enum_tip
:
col1
.
label
(
text
=
"
Enum Item Tip:
"
)
row
=
col2
.
row
()
row
.
enabled
=
False
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment