Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ludovic Kiefer
erp5
Commits
d45352cb
Commit
d45352cb
authored
9 years ago
by
wenjie.zheng
Committed by
Sebastien Robin
9 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Translation.py: revert unused modifications added during development.
parent
249f4249
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
product/ERP5Type/Accessor/Translation.py
product/ERP5Type/Accessor/Translation.py
+1
-0
No files found.
product/ERP5Type/Accessor/Translation.py
View file @
d45352cb
...
...
@@ -61,6 +61,7 @@ class TranslatedPropertyGetter(BaseGetter):
if
self
.
_warning
:
LOG
(
"ERP5Type Deprecated Getter Id:"
,
0
,
self
.
_id
)
domain
=
instance
.
getProperty
(
'%s_translation_domain'
%
self
.
_property_id
)
if
domain
==
TRANSLATION_DOMAIN_CONTENT_TRANSLATION
:
if
len
(
args
)
>
0
:
default
=
args
[
0
]
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment