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

Commit

Permalink
feat: 🇺🇳 more localization for keyboard shortcut (#2168)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhashimotoo committed Feb 19, 2019
1 parent 839e17d commit aa3577c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions data/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ nav:
userland: Userland

keyboard_modal:
title: Keyboard Shortcuts
key: Key
action: Action
focus_search: Focus the search bar
focus_and_clear: Focus the search bar and cleans it
scroll_down: Select the next search result
Expand Down
6 changes: 3 additions & 3 deletions views/partials/kb_shortcut_dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<div class="kb-shortcut-content">
<div class="kb-shortcut-header">
<span class="octicon octicon-x close"></span>
<h2>Keyboard Shortcuts</h2>
<h2>{{localized.keyboard_modal.title}}</h2>
</div>
<div class="kb-shortcut-body">
<table class="table-ruled">
<thead>
<tr>
<th>Key</th>
<th>Action</th>
<th>{{localized.keyboard_modal.key}}</th>
<th>{{localized.keyboard_modal.action}}</th>
</tr>
</thead>
<tbody>
Expand Down

0 comments on commit aa3577c

Please sign in to comment.