Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit c514a83

Browse files
committed
#1: Translate theme files
1 parent 38f19a7 commit c514a83

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

asset/js/scripts.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $(function () {
1515
$(".zf-logo a").tooltip();
1616
$(".logo-link").tooltip();
1717
componentToggle.tooltip();
18-
rollUpLink.attr({href: "#", alt: "Hide component list"});
18+
rollUpLink.attr({href: "#", alt: "Ocultar lista de componentes"});
1919

2020
// Cast initial sidebar position value
2121
if (typeof sidebarInitialPos === 'undefined') {
@@ -57,7 +57,7 @@ $(function () {
5757
complete: function () {
5858
componentToggle
5959
.data("placement", "top")
60-
.attr("data-original-title", "Hide component list");
60+
.attr("data-original-title", "Ocultar lista de componentes");
6161
hidden = false;
6262
},
6363
queue: false
@@ -72,7 +72,7 @@ $(function () {
7272
sidebar.css({position: sidebarInitialPos});
7373
componentToggle
7474
.data("placement", "bottom")
75-
.attr("data-original-title", "Show component list");
75+
.attr("data-original-title", "Exibir lista de componentes");
7676
components.hide();
7777
hidden = true;
7878
},

theme/404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="row-fluid">
66
<div id="main-content" class="span12">
77
<h1 id="404-page-not-found" style="text-align: center">404</h1>
8-
<p style="text-align: center"><strong>Page not found</strong></p>
8+
<p style="text-align: center"><strong>Página não encontrada</strong></p>
99
<p style="text-align: center"><a href="{{ nav.homepage.url }}">Home</a></p>
1010
</div>
1111
</div>

theme/dropdown.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div class="zf-components">
22
<div class="zf-components-grid">
33
<div class="zf-logo">
4-
<a href="https://framework.zend.com" data-toggle="tooltip" data-placement="bottom" title="Go to the ZF homepage"><img src="{{ base_url }}/img/zf-logo-mark.svg" alt="Zend Framework" width="250" /></a>
4+
<a href="https://framework.zend.com" data-toggle="tooltip" data-placement="bottom" title="Ir para a página inicial do Zend Framework"><img src="{{ base_url }}/img/zf-logo-mark.svg" alt="Zend Framework" width="250" /></a>
55
</div>
66

77
<div class="component-list"></div>
88

9-
<p class="zf-components-rollup"><a href="#">Hide list</a></p>
9+
<p class="zf-components-rollup"><a href="#">Ocultar lista</a></p>
1010
</div>
1111
</div>

theme/main.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -63,23 +63,23 @@
6363
<script src="{{ path }}"></script>
6464
{%- endfor %}
6565

66-
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="Search Modal" aria-hidden="true">
66+
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="Modal de Pesquisa" aria-hidden="true">
6767
<div class="modal-dialog">
6868
<div class="modal-content">
6969
<div class="modal-header">
7070
<button type="button" class="close" data-dismiss="modal">
7171
<span aria-hidden="true">&times;</span>
72-
<span class="sr-only">Close</span>
72+
<span class="sr-only">Fechar</span>
7373
</button>
74-
<h4 class="modal-title" id="exampleModalLabel">Search</h4>
74+
<h4 class="modal-title" id="exampleModalLabel">Pesquisar</h4>
7575
</div>
7676
<div class="modal-body">
7777
<p>
78-
From here you can search these documents. Enter your search terms below.
78+
A partir daqui você pode pesquisar esses documentos. Digite seus termos de pesquisa abaixo.
7979
</p>
8080
<form role="form">
8181
<div class="form-group">
82-
<input type="text" class="form-control" placeholder="Search..." id="mkdocs-search-query">
82+
<input type="text" class="form-control" placeholder="Pesquisar..." id="mkdocs-search-query">
8383
</div>
8484
</form>
8585
<div id="mkdocs-search-results"></div>

theme/nav.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{% if nav|length>1 or config.repo_url %}
77
<!-- Expander button -->
88
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
9-
<span class="sr-only">Toggle navigation</span>
9+
<span class="sr-only">Alternar navegação</span>
1010
<span class="icon-bar"></span>
1111
<span class="icon-bar"></span>
1212
<span class="icon-bar"></span>
@@ -15,7 +15,7 @@
1515

1616
<!-- Main title -->
1717
<span class="navbar-brand">
18-
<a class="logo-link" href="https://framework.zend.com/" data-toggle="tooltip" data-placement="bottom" title="Go to the ZF homepage"><img src="{{ base_url }}/img/zf-logo-mark.svg" height="28" alt="Zend Framework" /></a>
18+
<a class="logo-link" href="https://framework.zend.com/" data-toggle="tooltip" data-placement="bottom" title="Ir para a página inicial do Zend Framework"><img src="{{ base_url }}/img/zf-logo-mark.svg" height="28" alt="Zend Framework" /></a>
1919
<a href="{{ nav.homepage.url }}">{{ config.site_name }}</a>
2020
</span>
2121
</div>
@@ -46,14 +46,14 @@
4646

4747
<ul class="nav navbar-nav navbar-right">
4848
<li>
49-
<a href="#" class="component-toggle" data-toggle="tooltip" data-placement="bottom" title="Show component list">
50-
<i class="fa fa-book"></i> Components
49+
<a href="#" class="component-toggle" data-toggle="tooltip" data-placement="bottom" title="Exibir lista de componentes">
50+
<i class="fa fa-book"></i> Componentes
5151
</a>
5252
</li>
5353

5454
<li>
5555
<a href="#" data-toggle="modal" data-target="#mkdocs_search_modal">
56-
<i class="fa fa-search"></i> Search
56+
<i class="fa fa-search"></i> Pesquisar
5757
</a>
5858
</li>
5959
{% if config.repo_url %}

theme/toc.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
{% if page.next_page %}
1212
<ul class="pager hidden-print">
1313
<li class="previous{% if not page.previous_page %} disabled{% endif %}">
14-
<a rel="prev" {% if page.previous_page %}href="{{ page.previous_page.url }}"{% endif %}><i class="fa fa-arrow-left"></i> Previous</a>
14+
<a rel="prev" {% if page.previous_page %}href="{{ page.previous_page.url }}"{% endif %}><i class="fa fa-arrow-left"></i> Anterior</a>
1515
</li>
1616
<li class="next{% if not page.next_page %} disabled {% endif %}">
17-
<a rel="next" {% if page.next_page %}href="{{ page.next_page.url }}"{% endif %}>Next <i class="fa fa-arrow-right"></i></a>
17+
<a rel="next" {% if page.next_page %}href="{{ page.next_page.url }}"{% endif %}>Próxima <i class="fa fa-arrow-right"></i></a>
1818
</li>
1919
</ul>
2020
{% endif %}

0 commit comments

Comments
 (0)