зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1288380 - Add a tooltip for the touch simulation button, r=jryans
This commit is contained in:
Родитель
498c2851ff
Коммит
f088e392b1
|
@ -37,6 +37,14 @@ responsive.noDeviceSelected=no device selected
|
|||
# toolbar
|
||||
responsive.title=Responsive Design Mode
|
||||
|
||||
# LOCALIZATION NOTE (responsive.enableTouch): tooltip text for the touch
|
||||
# simulation button when it's disabled
|
||||
responsive.enableTouch=Enable touch simulation
|
||||
|
||||
# LOCALIZATION NOTE (responsive.disableTouch): tooltip text for the touch
|
||||
# simulation button when it's enabled
|
||||
responsive.disableTouch=Disable touch simulation
|
||||
|
||||
# LOCALIZATION NOTE (responsive.screenshot): tooltip of the screenshot button.
|
||||
responsive.screenshot=Take a screenshot of the viewport
|
||||
|
||||
|
|
|
@ -49,6 +49,8 @@ module.exports = createClass({
|
|||
dom.button({
|
||||
id: "global-touch-simulation-button",
|
||||
className: touchButtonClass,
|
||||
title: (touchSimulation.enabled ?
|
||||
getStr("responsive.disableTouch") : getStr("responsive.enableTouch")),
|
||||
onClick: () => onUpdateTouchSimulation(!touchSimulation.enabled),
|
||||
}),
|
||||
dom.button({
|
||||
|
|
Загрузка…
Ссылка в новой задаче