Replace device with session in UI text

This replaces "device" with "session" throughout user-visible text at the React
layer. Variable names and comments are left as-is for now.
This commit is contained in:
J. Ryan Stinnett 2020-01-29 15:48:25 +00:00
parent 725ec1dda6
commit 81ee27f41e
40 changed files with 214 additions and 215 deletions

View file

@ -40,7 +40,7 @@ export default class DevicesPanelEntry extends React.Component {
return MatrixClientPeg.get().setDeviceDetails(device.device_id, {
display_name: value,
}).catch((e) => {
console.error("Error setting device display name", e);
console.error("Error setting session display name", e);
throw new Error(_t("Failed to set display name"));
});
}