diff options
author | Mashiro <moezhx@outlook.com> | 2020-11-03 04:16:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 21:16:38 +0100 |
commit | 6a2db10f767879b9072b6c020ebadac4f985ed34 (patch) | |
tree | 2d126048ac0a7ff8d95db4b6b9beaefee947acef /app/javascript/mastodon/locales/en.json | |
parent | 4b2ec4a2dc3348ff27f74f442e408d92075bf7c2 (diff) |
Add expand/compress image button on image view box (#15068)
* add zoom image button * enhance zoom algorithm & add translation * code structure * code structure * code structure * enhance grab performance * rm useless state * fix behavior on Firefox & scroll lock & horizontal scroll with mousewheel * remove scroll lock on MouseWheelEvent * code structure * enhance algorithm and code structure * rm Gemfile.lock from tree * codeclimate * fix a stupid mistake
Diffstat (limited to 'app/javascript/mastodon/locales/en.json')
-rw-r--r-- | app/javascript/mastodon/locales/en.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json index 078b83cae..ccc95db7a 100644 --- a/app/javascript/mastodon/locales/en.json +++ b/app/javascript/mastodon/locales/en.json @@ -254,6 +254,8 @@ "keyboard_shortcuts.unfocus": "to un-focus compose textarea/search", "keyboard_shortcuts.up": "to move up in the list", "lightbox.close": "Close", + "lightbox.compress": "Compress image view box", + "lightbox.expand": "Expand image view box", "lightbox.next": "Next", "lightbox.previous": "Previous", "lightbox.view_context": "View context", |