toolkit/chrome/global/keys.properties
author trybld
Sat, 04 Feb 2023 23:07:38 +0000
changeset 14997 92db2d106e1bd0b6f212e539ae83605e93a53187
parent 10113 ddc5b52e46def46c38d36738ac6f9cf667effc19
permissions -rw-r--r--
cross-channel content for 2023-02-04 23:03 X-Task-ID: RGvDMaJfRQClqDImaxxzXQ X-Channel-Repo: mozilla-central X-Channel-Revision: 193873a769705e43125bf048e01f18ac964d91b4 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: c326f2a0c95596b6e8f9ad765ddf7a4d4b1aee2b X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 8e6e771d7b7c259aa9ee299c17638df5a6cce453 X-Channel-Repo: releases/mozilla-esr102 X-Channel-Revision: 4949c8f79bd57c259e3acef1be2416420e55225a

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# LOCALIZATION NOTE : FILE This file contains the application's labels for keys on the keyboard.
#                     If you decide to translate this file, you should translate it based on
#                     the prevalent kind of keyboard for your target user.
# LOCALIZATION NOTE : There are two types of keys, those w/ text on their labels
#                     and those w/ glyphs.
# LOCALIZATION NOTE : VK_<…> represents a key on the keyboard.
#
# For more information please see bugzilla bug 90888.

# F1..F10 should probably not be translated unless there are keyboards that actually have other labels
# F11..F20 might be something else, but are really keyboard specific and not region/language specific
# there are actually two different F11/F12 keys, I don't know which one these labels represent.
# eg, F13..F20 on a sparc keyboard are labeled Props, Again .. Find, Cut
# sparc also has Stop, Again and F11/F12. VK_F11/VK_F12 probably map to Stop/Again
# LOCALIZATION NOTE : BLOCK Do not translate the next block
VK_F1=F1
VK_F2=F2
VK_F3=F3
VK_F4=F4
VK_F5=F5
VK_F6=F6
VK_F7=F7
VK_F8=F8
VK_F9=F9
VK_F10=F10

VK_F11=F11
VK_F12=F12
VK_F13=F13
VK_F14=F14
VK_F15=F15
VK_F16=F16
VK_F17=F17
VK_F18=F18
VK_F19=F19
VK_F20=F20
# LOCALIZATION NOTE : BLOCK end do not translate block

# LOCALIZATION NOTE : BLOCK GLYPHS, DO translate this block
VK_UP=Up Arrow
VK_DOWN=Down Arrow
VK_LEFT=Left Arrow
VK_RIGHT=Right Arrow
VK_PAGE_UP=Page Up
VK_PAGE_DOWN=Page Down
# LOCALIZATION NOTE : BLOCK end GLYPHS

# Enter, backspace, and Tab might have both glyphs and text
# if the keyboards usually have a glyph,
# if there is a meaningful translation,
# or if keyboards are localized
# then translate them or insert the appropriate glyph
# otherwise you should probably just translate the glyph regions

# LOCALIZATION NOTE : BLOCK maybe GLYPHS
VK_TAB=Tab
VK_BACK=Backspace
VK_DELETE=Del
# LOCALIZATION NOTE : BLOCK end maybe GLYPHS
# LOCALIZATION NOTE : BLOCK typing state keys
VK_HOME=Home
VK_END=End

VK_ESCAPE=Esc
VK_INSERT=Ins
# LOCALIZATION NOTE : BLOCK end