#694: Translations scaffolding
------------------------+----------------------
Reporter: olemis | Owner: olemis
Type: task | Status: assigned
Priority: minor | Milestone:
Component: trac core | Version: 0.7.0
Resolution: | Keywords: i18n
------------------------+----------------------
Comment (by olemis):
Replying to [comment:34 olemis]:
[...]
>
> To the point ... after all this I ran the multi-product test suite . By
comparing the [http://pastebin.com/99tLkfhj i18n test report] with the
[http://pastebin.com/sswYZ4dd former test report] then total count reveals
that there's something weird happening and some test cases are not
discovered .
The patches submitted before for #706 and #707 will improve the situation
of the multi-product test suite: see [http://pastebin.com/p3MzfbJq report
for r1536977] (2013-10-31) and [http://pastebin.com/WBjB3Q1E report for
r1537391] (2013-11-01).
On the other hand with i18n patches applied I got ''Unknown widget <widget
ID>'' all over the site in each and every dashboard. These are the
relevant entries I found in the logs
[[span(Log entry, class=label label-info)]]
{{{
2013-10-31 18:44:26,809 Trac[loader] ERROR: Skipping
"bhdashboard.widgets.containers = bhdashboard.widgets.containers":
}}}
[[span(Traceback, class=label label-info)]]
{{{#!py
Traceback (most recent call last):
File "/path/to/bloodhound/trac/trac/loader.py", line 68, in _load_eggs
entry.load(require=True)
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1994, in load
entry = __import__(self.module_name, globals(),globals(),
['__name__'])
File
"/path/to/bloodhound/bloodhound_dashboard/bhdashboard/widgets/containers.py",
line 31, in <module>
from bhdashboard.util import WidgetBase, check_widget_name, \
ImportError: cannot import name WidgetBase
}}}
Besides `bhdashboard.widgets.containers` the same goes for
`bhdashboard.widgets.product`, `bhdashboard.widgets.query`,
`bhdashboard.widgets.report`, `bhdashboard.widgets.ticket`,
`bhdashboard.widgets.timeline`, `bhrelations.widgets.ticketrelations` ,
and every other module implementing widgets. So it seems a few more
adjustments are still needed.
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/694#comment:37>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker