bugfix: 去掉了多加的translate-cn

This commit is contained in:
Zhicheng Wang 2016-06-19 17:11:40 +08:00
parent d46b4911e6
commit 4b1d7d488d
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
header(class="background-sky").translated-cn header(class="background-sky")
.hero.background-superhero-paper.is-large .hero.background-superhero-paper.is-large
h1.text-headline.hero-logo #{title}<br>#{subtitle} h1.text-headline.hero-logo #{title}<br>#{subtitle}

View File

@ -1,6 +1,6 @@
- var hasIcon = icon ? 'has-icon' : '' - var hasIcon = icon ? 'has-icon' : ''
- var iconNumber = number ? number : '' - var iconNumber = number ? number : ''
a(class="hover-card translated-cn is-button #{hasIcon}" href="#{url}" md-button) a(class="hover-card is-button #{hasIcon}" href="#{url}" md-button)
if icon if icon
span(class="hover-card-icon #{icon}") #{iconNumber} span(class="hover-card-icon #{icon}") #{iconNumber}

View File

@ -2,7 +2,7 @@
- if (language !== 'ts' || language !== 'js' || language !== 'dart') { language = 'ts'; } - if (language !== 'ts' || language !== 'js' || language !== 'dart') { language = 'ts'; }
md-toolbar(class="main-nav background-regal l-pinned-top l-layer-5",scroll-y-offset-element) md-toolbar(class="main-nav background-regal l-pinned-top l-layer-5",scroll-y-offset-element)
nav.translated-cn nav
h1 <a href="/" md-button>Angular <sup>by Google</sup></a> h1 <a href="/" md-button>Angular <sup>by Google</sup></a>
button(class="main-nav-button main-nav-mobile-trigger l-right" aria-label="查看菜单" ng-click="appCtrl.toggleMainMenu($event)" md-button) 网站菜单 <span class="icon icon-arrow-drop-down"></span> button(class="main-nav-button main-nav-mobile-trigger l-right" aria-label="查看菜单" ng-click="appCtrl.toggleMainMenu($event)" md-button) 网站菜单 <span class="icon icon-arrow-drop-down"></span>

View File

@ -7,7 +7,7 @@ for page, slug in data
// CHECK IF CURRENT PAGE IS SET, THEN SET NEXT PAGE // CHECK IF CURRENT PAGE IS SET, THEN SET NEXT PAGE
if currentPage if currentPage
if !nextPage && page.nextable if !nextPage && page.nextable
.l-sub-section.translated-cn .l-sub-section
h3 下一步 h3 下一步
a(href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{slug}.html") #{page.title} a(href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{slug}.html") #{page.title}