Tryton Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(69)

Issue 25581002: trytond: Add support for derivative translations (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
2 years, 7 months ago by ced
Modified:
2 years, 6 months ago
Reviewers:
rietveld-bot, reviewbot
Visibility:
Public.

Description

This is done by calling first the getter method for the parent language for the terms that are not yet cached. After existing translations are set for the language. And finally the result is stored in the cache. The synchronisation wizard remove also the translations that are identical to their parent language. The method load_module_graph adds all parent languages to be loaded for derivation. issue5443

Patch Set 1 #

Patch Set 2 : Update to tip and rename all other translations #

Patch Set 3 : Update doc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9239 lines, -14237 lines) Patch
M CHANGELOG View 1 1 chunk +2 lines, -0 lines 0 comments Download
M doc/topics/configuration.rst View 1 2 1 chunk +1 line, -1 line 0 comments Download
M doc/topics/translation.rst View 1 2 4 chunks +7 lines, -3 lines 0 comments Download
M trytond/config.py View 1 1 chunk +1 line, -1 line 0 comments Download
M trytond/convert.py View 1 4 chunks +4 lines, -4 lines 0 comments Download
M trytond/ir/gen_time_locale.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M trytond/ir/ir.xml View 1 1 chunk +1 line, -1 line 0 comments Download
M trytond/ir/lang.xml View 1 12 chunks +18 lines, -18 lines 0 comments Download
A trytond/ir/locale/bg.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/ir/locale/ca.po View 1 1 chunk +4232 lines, -0 lines 0 comments Download
R trytond/ir/locale/ca_ES.po View 1 1 chunk +0 lines, -4232 lines 0 comments Download
A trytond/ir/locale/cs.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
R trytond/ir/locale/cs_CZ.po View 1 1 chunk +0 lines, -4179 lines 0 comments Download
A trytond/ir/locale/de.po View 1 1 chunk +4244 lines, -0 lines 0 comments Download
R trytond/ir/locale/de_DE.po View 1 1 chunk +0 lines, -4244 lines 0 comments Download
A trytond/ir/locale/es.po View 0 chunks +-1 lines, --1 lines 0 comments Download
M trytond/ir/locale/es_MX.po View 1 134 chunks +530 lines, -685 lines 0 comments Download
A trytond/ir/locale/fr.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/ir/locale/lo.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/ir/locale/lt.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/ir/locale/nl.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/ir/locale/ru.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/ir/locale/sl.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M trytond/ir/translation.py View 1 31 chunks +99 lines, -64 lines 0 comments Download
M trytond/ir/translation.xml View 1 22 chunks +22 lines, -22 lines 0 comments Download
M trytond/model/modelview.py View 1 1 chunk +1 line, -1 line 0 comments Download
M trytond/modules/__init__.py View 1 1 chunk +7 lines, -0 lines 0 comments Download
A trytond/res/locale/bg.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/res/locale/ca.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/res/locale/cs.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
R trytond/res/locale/cs_CZ.po View 1 1 chunk +0 lines, -713 lines 0 comments Download
A trytond/res/locale/de.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/res/locale/es.po View 0 chunks +-1 lines, --1 lines 0 comments Download
M trytond/res/locale/es_MX.po View 1 29 chunks +80 lines, -85 lines 0 comments Download
A trytond/res/locale/fr.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/res/locale/lo.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/res/locale/lt.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/res/locale/nl.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/res/locale/ru.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A trytond/res/locale/sl.po View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M trytond/tests/test_tryton.py View 1 2 chunks +2 lines, -2 lines 0 comments Download
M trytond/tools/misc.py View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7
ced
2 years, 7 months ago (2016-08-12 22:46:31 UTC) #1
reviewbot
https://codereview.tryton.org/25581002/diff/1/trytond/ir/translation.py#newcode780 trytond/ir/translation.py:780: F841 local variable 'filenames' is assigned to but never used https://codereview.tryton.org/25581002/diff/1/trytond/ir/translation.py#newcode228 trytond/ir/translation.py:228: E127 ...
2 years, 7 months ago (2016-08-12 23:02:05 UTC) #2
ced
Update to tip and rename all other translations
2 years, 6 months ago (2016-09-10 12:53:06 UTC) #3
reviewbot
https://codereview.tryton.org/25581002/diff/20001/trytond/ir/translation.py#newcode222 trytond/ir/translation.py:222: E127 continuation line over-indented for visual indent https://codereview.tryton.org/25581002/diff/20001/trytond/ir/translation.py#newcode241 trytond/ir/translation.py:241: E127 continuation line over-indented ...
2 years, 6 months ago (2016-09-10 13:00:38 UTC) #4
ced
Update doc
2 years, 6 months ago (2016-09-10 14:53:59 UTC) #5
reviewbot
https://codereview.tryton.org/25581002/diff/40001/trytond/ir/translation.py#newcode222 trytond/ir/translation.py:222: E127 continuation line over-indented for visual indent https://codereview.tryton.org/25581002/diff/40001/trytond/ir/translation.py#newcode241 trytond/ir/translation.py:241: E127 continuation line over-indented ...
2 years, 6 months ago (2016-09-10 14:59:36 UTC) #6
rietveld-bot_tryton.org
2 years, 6 months ago (2016-09-10 21:31:42 UTC) #7
New changeset 049635454a98 by C?dric Krier in branch 'default':
Add support for derivative translations
http://hg.tryton.org/trytond/rev/049635454a98
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 0147766