Skip to content

Commit

Permalink
[fix] use t-translation="off" to turn off transl
Browse files Browse the repository at this point in the history
  • Loading branch information
simahawk committed Oct 11, 2016
1 parent 2da2897 commit 453a271
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions website_cms/templates/menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@
<li class="edit edit-frontend ml16">
<a title="Edit metadata (name, description, etc)" class="btn btn-link btn-xs"
t-att-href="website.cms_edit_link(main_object=main_object)">
<i t-ignore="true" class="fa fa-pencil-square-o" /> Metadata</a>
<i t-translation="off" class="fa fa-pencil-square-o" /> Metadata</a>
</li>
</t>
<li class="edit edit-backend" groups="website_cms.cms_manager">
<a title="Edit in backend (do everything trough backend)" class="btn btn-link btn-xs"
t-att-href="website.cms_edit_backend_link(main_object=main_object)">
<i t-ignore="true" class="fa fa-pencil-square-o" /> Backend</a>
<i t-translation="off" class="fa fa-pencil-square-o" /> Backend</a>
</li>
</t>
<li class="add add-page ml16" groups="base.group_website_designer">
<a class="btn btn-link btn-xs" data-action="add_page"
t-att-href="website.cms_add_link(main_object=main_object)">
<i t-ignore="true" class="fa fa-plus-square-o" /> Add CMS Page</a>
<i t-translation="off" class="fa fa-plus-square-o" /> Add CMS Page</a>
</li>
</ul>

Expand Down
6 changes: 3 additions & 3 deletions website_cms/templates/misc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<li t-att-class="not paginated.has_prev and 'disabled'">
<a class="page-action page-prev" title="previous page" aria-label="Previous"
t-att-href="(paginated.has_prev and paginated.page_prev.url) or False">
<span t-ignore="true" aria-hidden="true" class="fa fa-arrow-right"></span>
<span t-translation="off" aria-hidden="true" class="fa fa-arrow-right"></span>
</a>
</li>
<t t-foreach="paginated.pages" t-as="item">
Expand All @@ -79,7 +79,7 @@
<li t-att-class="not paginated.has_next and 'disabled'">
<a class="page-action page-next" title="next page" aria-label="Next"
t-att-href="(paginated.has_next and paginated.page_next.url) or False">
<span t-ignore="true" aria-hidden="true" class="fa fa-arrow-right"></span>
<span t-translation="off" aria-hidden="true" class="fa fa-arrow-right"></span>
</a>
</li>
</ul>
Expand Down Expand Up @@ -112,7 +112,7 @@
<t t-foreach="status_message" t-as="msg">
<div t-attf-class="alert alert-#{msg['type']} alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span t-ignore="true" aria-hidden="true" class="fa fa-remove"></span>
<span t-translation="off" aria-hidden="true" class="fa fa-remove"></span>
</button>
<strong t-esc="msg['title']" />
<t t-esc="msg['msg']" />
Expand Down

0 comments on commit 453a271

Please sign in to comment.