Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Commit

Permalink
feat: フォント設定のリセット
Browse files Browse the repository at this point in the history
  • Loading branch information
nzws committed Sep 2, 2018
1 parent e1fef64 commit d3b807c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -926,15 +926,17 @@ <h4 id="splitter-profile-name" class="acct-small" style="height: 20px"></h4>
<ons-list-header data-i18n="config.preferences.font.title">フォントサイズ</ons-list-header>
</ons-list>
<ons-list modifier="inset">
<ons-list-header data-i18n="config.preferences.font.button">トゥートの各ボタン</ons-list-header>
<ons-list-header><span data-i18n="config.preferences.font.button">トゥートの各ボタン</span> <a href="#" onclick="setConfig(1, 'font_button', 50);elemId('conf-font_button').value = 50;renderFontConfig()"
data-i18n="config.preferences.font.reset">リセット</a></ons-list-header>
<ons-list-item>
<ons-col>
<ons-range class="w-max" value="50" onchange="change_conf(1, 'font_button', true);renderFontConfig()" id="conf-font_button"
data-config="range"></ons-range>
</ons-col>
</ons-list-item>

<ons-list-header data-i18n="config.preferences.font.body">トゥート本文</ons-list-header>
<ons-list-header><span data-i18n="config.preferences.font.body">トゥート本文</span> <a href="#" onclick="setConfig(1, 'font_body', 50);elemId('conf-font_body').value = 50;renderFontConfig()"
data-i18n="config.preferences.font.reset">リセット</a></ons-list-header>
<ons-list-item>
<ons-col>
<ons-range class="w-max" value="50" onchange="change_conf(1, 'font_body', true);renderFontConfig()" id="conf-font_body" data-config="range"></ons-range>
Expand Down
3 changes: 2 additions & 1 deletion www/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,8 @@
"title": "Font Size",
"button": "Toot Buttons",
"body": "Toot Texts",
"preview": "Preview"
"preview": "Preview",
"reset": "Reset"
},
"note": "Changes to some settings will be applied after restart.",
"danger": {
Expand Down

0 comments on commit d3b807c

Please sign in to comment.