Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Commit

Permalink
fixed some buttons which missed to translate
Browse files Browse the repository at this point in the history
  • Loading branch information
mikespook committed Aug 20, 2014
1 parent d83cac8 commit ebf0fff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions static/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ ul {
background: #fff;
}
.menu-button[syntax-checkbox]:after {
content:' off';
content:' - 关';
}
.menu-button[syntax-checkbox].active:after {
content:' on';
content:' - 开';
}
#right-side a {
color: #375eab;
Expand Down
4 changes: 2 additions & 2 deletions static/js/values.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ value('tableOfContents', [{

// translation
value('translation', {
'off': 'off',
'on': 'on',
'off': '关闭',
'on': '开启',
'syntax': '语法高亮',
'lineno': '行号',
'reset': '重置',
Expand Down
6 changes: 3 additions & 3 deletions static/partials/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
<div class="relative-content">
<!--div id="file-menu" ng-controller="OutputCtrl"-->
<div id="file-menu">
<a class="menu-button" id="run" ng-click="run()">Run</a>
<a class="menu-button" id="format" ng-click="format()">Format</a>
<a syntax-checkbox ng-class="{active: editor.syntax}" class="menu-button syntax-checkbox">Syntax</a>
<a class="menu-button" id="run" ng-click="run()">运行</a>
<a class="menu-button" id="format" ng-click="format()">格式化</a>
<a syntax-checkbox ng-class="{active: editor.syntax}" class="menu-button syntax-checkbox">语法高亮</a>
</div>

<div class="output" ng-repeat="f in toc.lessons[lessonId].Pages[curPage-1].Files" ng-class="{active: $index==curFile}" ng-bind-html-unsafe="f.Output">
Expand Down

0 comments on commit ebf0fff

Please sign in to comment.