Remote sketchbook tooltips (#1088)

* rename Cloud Sketchbook in Remote Sketchbook

* add tooltips for Sync and Account buttons
This commit is contained in:
Francesco Spissu 2022-06-21 18:03:39 +02:00 committed by GitHub
parent 4611381a38
commit bd6bc135fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -31,8 +31,8 @@ export class CloudSketchbookCompositeWidget extends BaseWidget {
this.compositeNode.appendChild(this.cloudUserStatusNode);
this.node.appendChild(this.compositeNode);
this.title.caption = nls.localize(
'arduino/cloud/cloudSketchbook',
'Cloud Sketchbook'
'arduino/cloud/remoteSketchbook',
'Remote Sketchbook'
);
this.title.iconClass = 'cloud-sketchbook-tree-icon';
this.title.closable = false;

View File

@ -65,6 +65,7 @@ export class UserStatus extends React.Component<
</div>
<div className="actions item flex-line">
<div
title={nls.localize('arduino/cloud/sync', 'Sync')}
className={`fa fa-reload ${
(this.state.refreshing && 'rotating') || ''
}`}
@ -74,6 +75,7 @@ export class UserStatus extends React.Component<
</div>
<div className="account item flex-line">
<div
title={nls.localize('arduino/cloud/account', 'Account')}
className="account-icon"
style={{ cursor: 'pointer' }}
onClick={(event) => {

View File

@ -75,8 +75,8 @@
"udpMessage": "As of Arduino 1.0, the Udp class in the Ethernet library has been renamed to EthernetUdp."
},
"cloud": {
"account": "Account",
"chooseSketchVisibility": "Choose visibility of your Sketch:",
"cloudSketchbook": "Cloud Sketchbook",
"connected": "Connected",
"continue": "Continue",
"donePulling": "Done pulling {0}.",
@ -100,12 +100,14 @@
"pushSketch": "Push Sketch",
"pushSketchMsg": "This is a Public Sketch. Before pushing, make sure any sensitive information is defined in arduino_secrets.h files. You can make a Sketch private from the Share panel.",
"remote": "Remote",
"remoteSketchbook": "Remote Sketchbook",
"share": "Share...",
"shareSketch": "Share Sketch",
"showHideRemoveSketchbook": "Show/Hide Remote Sketchbook",
"signIn": "SIGN IN",
"signInToCloud": "Sign in to Arduino Cloud",
"signOut": "Sign Out",
"sync": "Sync",
"syncEditSketches": "Sync and edit your Arduino Cloud Sketches",
"visitArduinoCloud": "Visit Arduino Cloud to create Cloud Sketches."
},