Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fuchsia.googlesource.com-third_party-mako
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fuchsia-mirror
fuchsia.googlesource.com-third_party-mako
Commits
c9d9cab9
Commit
c9d9cab9
authored
11 years ago
by
Mike Bayer
Browse files
Options
Downloads
Patches
Plain Diff
- changelog for [ticket:225]
parent
4d813cab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+4
-0
4 additions, 0 deletions
CHANGES
test/test_babelplugin.py
+1
-1
1 addition, 1 deletion
test/test_babelplugin.py
with
5 additions
and
1 deletion
CHANGES
+
4
−
0
View file @
c9d9cab9
0.9.1
0.9.1
- [bug] Fixed bug in Babel plugin where translator comments
would be lost if intervening text nodes were encountered.
Fix courtesy Ned Batchelder. [ticket:225]
- [bug] Fixed TGPlugin.render method to support unicode template
- [bug] Fixed TGPlugin.render method to support unicode template
names in Py2K - courtesy Vladimir Magamedov.
names in Py2K - courtesy Vladimir Magamedov.
...
...
This diff is collapsed.
Click to expand it.
test/test_babelplugin.py
+
1
−
1
View file @
c9d9cab9
...
@@ -13,8 +13,8 @@ import os
...
@@ -13,8 +13,8 @@ import os
class
ExtractMakoTestCase
(
TemplateTest
):
class
ExtractMakoTestCase
(
TemplateTest
):
@skip_if
(
lambda
:
not
babel
,
'
babel not installed: skipping babelplugin test
'
)
@skip_if
(
lambda
:
not
babel
,
'
babel not installed: skipping babelplugin test
'
)
def
test_extract
(
self
):
def
test_extract
(
self
):
mako_tmpl
=
open
(
os
.
path
.
join
(
template_base
,
'
gettext.mako
'
))
mako_tmpl
=
open
(
os
.
path
.
join
(
template_base
,
'
gettext.mako
'
))
messages
=
list
(
extract
(
mako_tmpl
,
{
'
_
'
:
None
,
'
gettext
'
:
None
,
messages
=
list
(
extract
(
mako_tmpl
,
{
'
_
'
:
None
,
'
gettext
'
:
None
,
...
...
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