Skip to content

Commit

Permalink
localize FullscreenButton for Japanese
Browse files Browse the repository at this point in the history
  • Loading branch information
vienai8d committed Jan 2, 2019
1 parent 5cf4a0e commit caa6c8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion browser/main/Detail/FullscreenButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const FullscreenButton = ({
}) => (
<button styleName='control-fullScreenButton' title={i18n.__('Fullscreen')} onMouseDown={(e) => onClick(e)}>
<img styleName='iconInfo' src='../resources/icon/icon-full.svg' />
<span styleName='tooltip'>{i18n.__('Fullscreen')}({hotkey})</span>
<span lang={i18n.locale} styleName='tooltip'>{i18n.__('Fullscreen')}({hotkey})</span>
</button>
)

Expand Down
4 changes: 4 additions & 0 deletions browser/main/Detail/FullscreenButton.styl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
opacity 0
transition 0.1s

.tooltip:lang(ja)
@extend .tooltip
right 35px

body[data-theme="dark"]
.control-fullScreenButton
topBarButtonDark()

0 comments on commit caa6c8d

Please sign in to comment.