Bug 1325567 - Added tooltip to rotate viewport button. r=jryans

--HG--
extra : rebase_source : bd7ef1797251da80290ed5ed5cf85b8aa82a95bb
This commit is contained in:
djmdev 2017-01-05 01:59:08 +05:30
Родитель 621c3be280
Коммит 66788a726d
2 изменённых файлов: 5 добавлений и 0 удалений

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

@ -18,6 +18,9 @@ responsive.editDeviceList=Edit list…
# LOCALIZATION NOTE (responsive.exit): tooltip text of the exit button.
responsive.exit=Close Responsive Design Mode
# LOCALIZATION NOTE (responsive.rotate): tooltip text of the rotate button.
responsive.rotate=Rotate viewport
# LOCALIZATION NOTE (responsive.deviceListLoading): placeholder text for
# device selector when it's still fetching devices
responsive.deviceListLoading=Loading…

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

@ -7,6 +7,7 @@
const { DOM: dom, createClass, createFactory, PropTypes, addons } =
require("devtools/client/shared/vendor/react");
const { getStr } = require("../utils/l10n");
const Types = require("../types");
const DeviceSelector = createFactory(require("./device-selector"));
@ -48,6 +49,7 @@ module.exports = createClass({
dom.button({
className: "viewport-rotate-button toolbar-button devtools-button",
onClick: onRotateViewport,
title: getStr("responsive.rotate"),
})
);
},