Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f745a07

Browse filesBrowse files
author
Akos Kitta
committed
s
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
1 parent 345d6be commit f745a07
Copy full SHA for f745a07

File tree

5 files changed

+19
-13
lines changed
Filter options

5 files changed

+19
-13
lines changed

‎arduino-ide-extension/src/browser/style/index.css

Copy file name to clipboardExpand all lines: arduino-ide-extension/src/browser/style/index.css
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ button.secondary[disabled], .theia-button.secondary[disabled] {
136136
font-size: 14px;
137137
}
138138

139+
.uppercase {
140+
text-transform: uppercase;
141+
}
139142

140143
/* High Contrast Theme rules */
141144
/* TODO: Remove it when the Theia version is upgraded to 1.27.0 and use Theia APIs to implement it*/

‎arduino-ide-extension/src/browser/style/list-widget.css

Copy file name to clipboardExpand all lines: arduino-ide-extension/src/browser/style/list-widget.css
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,12 @@
112112
max-height: calc(1em + 4px);
113113
color: var(--theia-button-foreground);
114114
content: attr(install);
115-
text-transform: uppercase;
116115
}
117116

118117
.component-list-item .header .installed:hover:before {
119118
background-color: var(--theia-button-foreground);
120119
color: var(--theia-button-background);
121120
content: attr(uninstall);
122-
text-transform: uppercase;
123121
}
124122

125123
.component-list-item[min-width~="170px"] .footer {

‎arduino-ide-extension/src/browser/widgets/cloud-sketchbook/cloud-sketchbook-tree-widget.tsx

Copy file name to clipboardExpand all lines: arduino-ide-extension/src/browser/widgets/cloud-sketchbook/cloud-sketchbook-tree-widget.tsx
+11-4Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import * as React from '@theia/core/shared/react';
2-
import { inject, injectable, postConstruct } from '@theia/core/shared/inversify';
2+
import {
3+
inject,
4+
injectable,
5+
postConstruct,
6+
} from '@theia/core/shared/inversify';
37
import { TreeModel } from '@theia/core/lib/browser/tree/tree-model';
48
import { CloudSketchbookTreeModel } from './cloud-sketchbook-tree-model';
59
import { AuthenticationClientService } from '../../auth/authentication-client-service';
@@ -61,10 +65,10 @@ export class CloudSketchbookTreeWidget extends SketchbookTreeWidget {
6165
</div>
6266
</div>
6367
<button
64-
className="theia-button"
68+
className="theia-button uppercase"
6569
onClick={() => shell.openExternal('https://create.arduino.cc/editor')}
6670
>
67-
{nls.localize('cloud/GoToCloud', 'GO TO CLOUD')}
71+
{nls.localize('arduino/cloud/goToCloud', 'Go to Cloud')}
6872
</button>
6973
<div className="center item"></div>
7074
</div>
@@ -83,7 +87,10 @@ export class CloudSketchbookTreeWidget extends SketchbookTreeWidget {
8387
return CompositeTreeNode.is(node) && node.children.length === 0;
8488
}
8589

86-
protected override createNodeClassNames(node: any, props: NodeProps): string[] {
90+
protected override createNodeClassNames(
91+
node: any,
92+
props: NodeProps
93+
): string[] {
8794
const classNames = super.createNodeClassNames(node, props);
8895

8996
if (

‎arduino-ide-extension/src/browser/widgets/component-list/list-item-renderer.tsx

Copy file name to clipboardExpand all lines: arduino-ide-extension/src/browser/widgets/component-list/list-item-renderer.tsx
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class ListItemRenderer<T extends ArduinoComponent> {
5656
)}
5757
</span>
5858
<span
59-
className="installed"
59+
className="installed uppercase"
6060
onClick={onClickUninstall}
6161
{...{
6262
install: nls.localize('arduino/component/installed', 'Installed'),
@@ -77,10 +77,10 @@ export class ListItemRenderer<T extends ArduinoComponent> {
7777
const onClickInstall = () => install(item);
7878
const installButton = item.installable && (
7979
<button
80-
className="theia-button secondary install"
80+
className="theia-button secondary install uppercase"
8181
onClick={onClickInstall}
8282
>
83-
{nls.localize('arduino/component/install', 'INSTALL')}
83+
{nls.localize('arduino/component/install', 'Install')}
8484
</button>
8585
);
8686

‎i18n/en.json

Copy file name to clipboardExpand all lines: i18n/en.json
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"donePushing": "Done pushing ‘{0}’.",
9191
"embed": "Embed:",
9292
"emptySketchbook": "Your Sketchbook is empty",
93+
"goToCloud": "Go to Cloud",
9394
"learnMore": "Learn more",
9495
"link": "Link:",
9596
"notYetPulled": "Cannot push to Cloud. It is not yet pulled.",
@@ -144,7 +145,7 @@
144145
"boardsIncluded": "Boards included in this package:",
145146
"by": "by",
146147
"filterSearch": "Filter your search...",
147-
"install": "INSTALL",
148+
"install": "Install",
148149
"installed": "Installed",
149150
"moreInfo": "More info",
150151
"uninstall": "Uninstall",
@@ -422,9 +423,6 @@
422423
"upload": "Upload"
423424
}
424425
},
425-
"cloud": {
426-
"GoToCloud": "GO TO CLOUD"
427-
},
428426
"theia": {
429427
"core": {
430428
"cannotConnectBackend": "Cannot connect to the backend.",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.