File tree Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 2
2
< %- partial (' partials/sidebar' , { type: page .type , index: page .index }) % >
3
3
< % } %>
4
4
<div class =" content <%- page.type ? page.type + ' with-sidebar' : '' %>" >
5
- <h1 ><% - page .title %><% - page .type === ' examples' ? ' Example ' : ' ' %> </h1 >
5
+ <h1 ><% - page .title %><% - page .type === ' examples' ? ' の例 ' : ' ' %> </h1 >
6
6
<div id =" ad" >
7
7
<script async type =" text/javascript" src =" //cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=vuejs" id =" _carbonads_js" ></script >
8
8
</div >
9
9
<% - page .content %>
10
- <div class =" footer" >Caught a mistake or want to contribute to the documentation? <a href =" https://github.com/vuejs/vuejs.org" target =" _blank" >Fork this site on Github </a >! </div >
11
- </div >
10
+ <div class =" footer" >間違いを見つけた、またはドキュメントに貢献したいですか? <a href =" https://github.com/vuejs/vuejs.org" target =" _blank" >Github からこのサイトを Fork しましょう </a >! </div >
11
+ </div >
Original file line number Diff line number Diff line change 1
- <li ><a href =" /guide/" class =" nav-link<%- page.path.match(/guide/) ? ' current' : '' %>" >Guide </a ></li >
2
- <li ><a href =" /api/" class =" nav-link<%- page.path.match(/api/) ? ' current' : '' %>" >API Reference </a ></li >
3
- <li ><a href =" /examples/" class =" nav-link<%- page.path.match(/examples/) ? ' current' : '' %>" >Examples </a ></li >
4
- <li ><a href =" /blog/" class =" nav-link<%- (page.path.match(/blog/) || is_post()) ? ' current' : '' %>" >Blog </a ></li >
5
- <li ><a href =" https://github.com/yyx990803/vue" target =" _blank" class =" nav-link" >GitHub</a ></li >
1
+ <li ><a href =" /guide/" class =" nav-link<%- page.path.match(/guide/) ? ' current' : '' %>" >ガイド </a ></li >
2
+ <li ><a href =" /api/" class =" nav-link<%- page.path.match(/api/) ? ' current' : '' %>" >API リファレンス </a ></li >
3
+ <li ><a href =" /examples/" class =" nav-link<%- page.path.match(/examples/) ? ' current' : '' %>" >例 </a ></li >
4
+ <li ><a href =" /blog/" class =" nav-link<%- (page.path.match(/blog/) || is_post()) ? ' current' : '' %>" >ブログ(英語) </a ></li >
5
+ <li ><a href =" https://github.com/yyx990803/vue" target =" _blank" class =" nav-link" >GitHub</a ></li >
Original file line number Diff line number Diff line change 3
3
<% - partial (' partials/main_menu' ) %>
4
4
</ul >
5
5
<div class =" list" >
6
- <h2 ><% - type .charAt (0 ).toUpperCase () + type .slice (1 ) %> </h2 >
6
+ <% if (type === ' guide' ) { % >
7
+ < h2> ガイド< / h2>
8
+ < % } else if (type === ' api' ) { % >
9
+ < h2> API < / h2>
10
+ < % } else if (type === ' examples' ) { % >
11
+ < h2> 例< / h2>
12
+ < % } %>
7
13
<ul class =" menu-root" >
8
14
<% site .pages .find ({type: type}).sort (' order' ).each (function (p ) { % >
9
15
< li>< a href= " /<%- p.path %>" class = " sidebar-link<%- page.title === p.title ? ' current' : '' %>" >< %- p .title % >< / a>< / li>
10
16
< % }) %>
11
- <li ><a href =" http://legacy.vuejs.org" >Looking for 0.10 docs? </a ></li >
17
+ <li ><a href =" http://legacy.vuejs.org" >0.10 のドキュメントをお探しですか? </a ></li >
12
18
<li style =" margin :10px 0 3px " >
13
19
<script data-gittip-username =" yyx990803"
14
20
data-gittip-widget =" button"
15
21
src =" //gttp.co/v1.js" ></script >
16
22
</li >
17
23
</ul >
18
24
</div >
19
- </div >
25
+ </div >
You can’t perform that action at this time.
0 commit comments