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.compositeNode.appendChild(this.cloudUserStatusNode);
this.node.appendChild(this.compositeNode); this.node.appendChild(this.compositeNode);
this.title.caption = nls.localize( this.title.caption = nls.localize(
'arduino/cloud/cloudSketchbook', 'arduino/cloud/remoteSketchbook',
'Cloud Sketchbook' 'Remote Sketchbook'
); );
this.title.iconClass = 'cloud-sketchbook-tree-icon'; this.title.iconClass = 'cloud-sketchbook-tree-icon';
this.title.closable = false; this.title.closable = false;

View File

@ -65,6 +65,7 @@ export class UserStatus extends React.Component<
</div> </div>
<div className="actions item flex-line"> <div className="actions item flex-line">
<div <div
title={nls.localize('arduino/cloud/sync', 'Sync')}
className={`fa fa-reload ${ className={`fa fa-reload ${
(this.state.refreshing && 'rotating') || '' (this.state.refreshing && 'rotating') || ''
}`} }`}
@ -74,6 +75,7 @@ export class UserStatus extends React.Component<
</div> </div>
<div className="account item flex-line"> <div className="account item flex-line">
<div <div
title={nls.localize('arduino/cloud/account', 'Account')}
className="account-icon" className="account-icon"
style={{ cursor: 'pointer' }} style={{ cursor: 'pointer' }}
onClick={(event) => { 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." "udpMessage": "As of Arduino 1.0, the Udp class in the Ethernet library has been renamed to EthernetUdp."
}, },
"cloud": { "cloud": {
"account": "Account",
"chooseSketchVisibility": "Choose visibility of your Sketch:", "chooseSketchVisibility": "Choose visibility of your Sketch:",
"cloudSketchbook": "Cloud Sketchbook",
"connected": "Connected", "connected": "Connected",
"continue": "Continue", "continue": "Continue",
"donePulling": "Done pulling {0}.", "donePulling": "Done pulling {0}.",
@ -100,12 +100,14 @@
"pushSketch": "Push Sketch", "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.", "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", "remote": "Remote",
"remoteSketchbook": "Remote Sketchbook",
"share": "Share...", "share": "Share...",
"shareSketch": "Share Sketch", "shareSketch": "Share Sketch",
"showHideRemoveSketchbook": "Show/Hide Remote Sketchbook", "showHideRemoveSketchbook": "Show/Hide Remote Sketchbook",
"signIn": "SIGN IN", "signIn": "SIGN IN",
"signInToCloud": "Sign in to Arduino Cloud", "signInToCloud": "Sign in to Arduino Cloud",
"signOut": "Sign Out", "signOut": "Sign Out",
"sync": "Sync",
"syncEditSketches": "Sync and edit your Arduino Cloud Sketches", "syncEditSketches": "Sync and edit your Arduino Cloud Sketches",
"visitArduinoCloud": "Visit Arduino Cloud to create Cloud Sketches." "visitArduinoCloud": "Visit Arduino Cloud to create Cloud Sketches."
}, },