Merge pull request #1418 from nshki/update-arrow-scroll-copy

Update arrow scroll copy
pull/1431/head
Simon Legner 4 years ago committed by GitHub
commit 03174cc2c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,7 +54,7 @@ app.templates.settingsPage = (settings) -> """
</label> </label>
<label class="_settings-label"> <label class="_settings-label">
<input type="checkbox" form="settings" name="arrowScroll" value="1"#{if settings.arrowScroll then ' checked' else ''}>Use arrow keys to scroll the main content area <input type="checkbox" form="settings" name="arrowScroll" value="1"#{if settings.arrowScroll then ' checked' else ''}>Use arrow keys to scroll the main content area
<small>With this checked, use <code class="_label">alt</code> + <code class="_label">&uarr;</code><code class="_label">&darr;</code><code class="_label">&larr;</code><code class="_label">&rarr;</code> to navigate the sidebar.</small> <small>With this checked, use <code class="_label">shift</code> + <code class="_label">&uarr;</code><code class="_label">&darr;</code><code class="_label">&larr;</code><code class="_label">&rarr;</code> to navigate the sidebar.</small>
</label> </label>
</div> </div>
</div> </div>

@ -1,10 +1,10 @@
app.templates.tipKeyNav = """ app.templates.tipKeyNav = () -> """
<p class="_notif-text"> <p class="_notif-text">
<strong>ProTip</strong> <strong>ProTip</strong>
<span class="_notif-info">(click to dismiss)</span> <span class="_notif-info">(click to dismiss)</span>
<p class="_notif-text"> <p class="_notif-text">
Hit <code class="_label">&darr;</code> <code class="_label">&uarr;</code> <code class="_label">&larr;</code> <code class="_label">&rarr;</code> to navigate the sidebar.<br> Hit #{if app.settings.cache.arrowScroll then '<code class="_label">shift</code> +' else ''} <code class="_label">&darr;</code> <code class="_label">&uarr;</code> <code class="_label">&larr;</code> <code class="_label">&rarr;</code> to navigate the sidebar.<br>
Hit <code class="_label">space / shift space</code>, <code class="_label">alt &darr;/&uarr;</code> or <code class="_label">shift &darr;/&uarr;</code> to scroll the page. Hit <code class="_label">space / shift space</code>#{if app.settings.cache.arrowScroll then ' or <code class="_label">&darr;/&uarr;</code>' else ', <code class="_label">alt &darr;/&uarr;</code> or <code class="_label">shift &darr;/&uarr;</code>'} to scroll the page.
<p class="_notif-text"> <p class="_notif-text">
<a href="/help#shortcuts" class="_notif-link">See all keyboard shortcuts</a> <a href="/help#shortcuts" class="_notif-link">See all keyboard shortcuts</a>
""" """

Loading…
Cancel
Save