Skip to content

Commit

Permalink
All <img> tags must have src attribute
Browse files Browse the repository at this point in the history
Corrected translations as request
Moved translations to global

Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
  • Loading branch information
jrbenito committed Jul 15, 2016
1 parent a3bac7f commit 760f642
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion languages/en.yml
Expand Up @@ -10,6 +10,7 @@ global:
archives: "Archives"
search: "Search"
about: "About"
author_picture: "Author's picture"
github: "GitHub"
stack_overflow: "Stack Overflow"
twitter: "Twitter"
Expand Down Expand Up @@ -59,4 +60,3 @@ author:
bio: ""
# Your job
job: ""
picture: "Author's picture"
2 changes: 1 addition & 1 deletion languages/es.yml
Expand Up @@ -10,6 +10,7 @@ global:
archives: "Archivos"
search: "Buscar"
about: "Acerca de"
author_picture: "Foto de autor"
github: "GitHub"
stack_overflow: "Stack Overflow"
twitter: "Twitter"
Expand Down Expand Up @@ -59,4 +60,3 @@ author:
bio: ""
# Tu trabajo
job: ""
picture: "Foto de autor"
2 changes: 1 addition & 1 deletion languages/fr-FR.yml
Expand Up @@ -8,6 +8,7 @@ global:
archives: "Archive"
search: "Rechercher"
about: "À propos"
author_picture: "Photo de l'auteur"
github: "GitHub"
stack_overflow: "Stack Overflow"
twitter: "Twitter"
Expand Down Expand Up @@ -57,4 +58,3 @@ author:
bio: ""
# Votre travail (poste)
job: ""
picture: ""
2 changes: 1 addition & 1 deletion languages/ja.yml
Expand Up @@ -10,6 +10,7 @@ global:
archives: "アーカイブ"
search: "検索"
about: "プロフィール"
author_picture: "著者の絵"
github: "GitHub"
stack_overflow: "Stack Overflow"
twitter: "Twitter"
Expand Down Expand Up @@ -59,4 +60,3 @@ author:
bio: ""
# Your job
job: ""
picture: ""
2 changes: 1 addition & 1 deletion languages/pt-br.yml
Expand Up @@ -10,6 +10,7 @@ global:
archives: "Arquivo"
search: "Pesquisar"
about: "Sobre"
author_picture: "Foto do autor"
github: "GitHub"
stack_overflow: "Stack Overflow"
twitter: "Twitter"
Expand Down Expand Up @@ -59,4 +60,3 @@ author:
bio: ""
# Seu trabalho
job: ""
picture: "Foto do author"
2 changes: 1 addition & 1 deletion languages/ru.yml
Expand Up @@ -10,6 +10,7 @@ global:
archives: "Архив"
search: "Поиск"
about: "Об авторе"
author_picture: "Авторская фотография"
github: "GitHub"
stack_overflow: "Stack Overflow"
twitter: "Twitter"
Expand Down Expand Up @@ -59,4 +60,3 @@ author:
bio: ""
# Кратко о Вашей работе
job: ""
picture: ""
2 changes: 1 addition & 1 deletion languages/zh-cn.yml
Expand Up @@ -10,6 +10,7 @@ global:
archives: "归档"
search: "搜索"
about: "关于"
author_picture: "作者的图片"
github: "GitHub"
stack_overflow: "Stack Overflow"
twitter: "Twitter"
Expand Down Expand Up @@ -60,4 +61,3 @@ author:
bio: ""
# 你的工作简介
job: ""
picture: ""
2 changes: 1 addition & 1 deletion languages/zh-tw.yml
Expand Up @@ -10,6 +10,7 @@ global:
archives: "所有文章"
search: "搜尋"
about: "關於"
author_picture: "作者的圖片"
github: "GitHub"
stack_overflow: "Stack Overflow"
twitter: "Twitter"
Expand Down Expand Up @@ -59,4 +60,3 @@ author:
bio: ""
# 你的工作簡介
job: ""
picture: ""
2 changes: 1 addition & 1 deletion layout/_partial/about.ejs
Expand Up @@ -15,7 +15,7 @@
<i class="fa fa-remove"></i>
</div>
<% if (authorPicture) { %>
<img id="about-card-picture" src="<%= authorPicture %>" alt="<%- (__('author.picture')) ? __('author.picture') : '' %>"/>
<img id="about-card-picture" src="<%= authorPicture %>" alt="<%- (__('global.author_picture')) ? __('global.author_picture') : '' %>"/>
<% } %>
<h4 id="about-card-name"><%= config.author %></h4>
<% if (__('author.bio')) { %>
Expand Down
2 changes: 1 addition & 1 deletion layout/_partial/header.ejs
Expand Up @@ -27,7 +27,7 @@
<% if (theme.header.right_link.icon) { %>
<i class="fa fa-lg fa-<%= theme.header.right_link.icon %>"></i>
<% } else if (authorPicture) { %>
<img class="header-picture" src="<%= authorPicture %>" alt="<%- (__('author.picture')) ? __('author.picture') : '' %>"/>
<img class="header-picture" src="<%= authorPicture %>" alt="<%- (__('global.author_picture')) ? __('global.author_picture') : '' %>"/>
<% } %>
</a>
<% } %>
Expand Down
2 changes: 1 addition & 1 deletion layout/_partial/sidebar.ejs
Expand Up @@ -14,7 +14,7 @@
<% if (authorPicture) { %>
<div class="sidebar-profile">
<a href="<%- url_for('/#about') %>">
<img class="sidebar-profile-picture" src="<%= authorPicture %>" alt="<%- (__('author.picture')) ? __('author.picture') : '' %>"/>
<img class="sidebar-profile-picture" src="<%= authorPicture %>" alt="<%- (__('global.author_picture')) ? __('global.author_picture') : '' %>"/>
</a>
<h4 class="sidebar-profile-name"><%= config.author %></h4>
<% if (__('author.bio')) { %>
Expand Down

0 comments on commit 760f642

Please sign in to comment.