Bug 1288380 - Add a tooltip for the touch simulation button, r=jryans

This commit is contained in:
Benoit Chabod 2016-07-21 09:15:00 +02:00
Родитель 498c2851ff
Коммит f088e392b1
2 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -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({