Custom Query (1173 matches)
Results (118 - 120 of 1173)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#667 | fixed | Use lazy_pass_to_ugettext for forms | ||
Description |
(This might be a dupes, but I could not find it.) To translate forms, we currently go the following route:
This works, mostly. It does not work to translate elements of a select box, for example a title like "- Select Collection -". Because we only mark it, but we're not using our translation tools in the rendering. We could go for rendering that part by hand also. BUT: wtforms recommends something else:
So the first idea is to mark strings using
Old in any from mediagoblin.tools.translate import fake_ugettext_passthrough as _ New: from mediagoblin.tools.translate import lazy_pass_to_ugettext as _ |
|||
#671 | fixed | 3D model parser fails on stl models | ||
Description |
I found a special case which the binary stl files will be parsed as a ascii stl file (which is normal) and fail in an unexpected way, as well as a case where ascii stl files (and plausibly obj files) will fail when there is indentation present in the file. Will push a fix in a few minutes. |
|||
#672 | fixed | rfe: pdf media type support | ||
Description |
Supporting PDF files would let mediagoblin have many more use cases, such as a collection of datasheets, research papers, and books. A working pdf media type is at: https://www.gitorious.org/~alon/mediagoblin/alons-mediagoblin/commits/pdf The test is not in there because I wasn't sure how it should be added - I have it written but the problems are:
So I can add some code to check for the existence of that executable and only then enable the media type and test. |