зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1325567 - Added tooltip to rotate viewport button. r=jryans
--HG-- extra : rebase_source : bd7ef1797251da80290ed5ed5cf85b8aa82a95bb
This commit is contained in:
Родитель
621c3be280
Коммит
66788a726d
|
@ -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"),
|
||||
})
|
||||
);
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче