Skip to content

Commit ab9358f

Browse files
committed
Tweak welcome actions naming and order
- Rename `Empty Sketch` to `New Sketch` - Rename `Sketchbook` to `My Sketches` - Move `Open Examples` below `My Sketches`
1 parent 0f1173f commit ab9358f

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

app/src/processing/app/ui/PDEWelcome.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,30 +141,30 @@ fun PDEWelcome(base: Base? = null) {
141141
TextButton(
142142
onClick = {
143143
base?.let{
144-
base.showExamplesFrame()
144+
base.showSketchbookFrame()
145145
} ?: noBaseWarning()
146146
},
147147
colors = colors,
148148
modifier = medModifier,
149149
shape = shape
150150
) {
151-
Icon(Icons.Outlined.FolderSpecial, contentDescription = "")
151+
Icon(Icons.Outlined.FolderOpen, contentDescription = "")
152152
Spacer(Modifier.width(12.dp))
153-
Text(locale["welcome.actions.examples"] )
153+
Text(locale["welcome.actions.sketchbook"], modifier = Modifier.align(Alignment.CenterVertically))
154154
}
155155
TextButton(
156156
onClick = {
157157
base?.let{
158-
base.showSketchbookFrame()
158+
base.showExamplesFrame()
159159
} ?: noBaseWarning()
160160
},
161161
colors = colors,
162162
modifier = medModifier,
163163
shape = shape
164164
) {
165-
Icon(Icons.Outlined.FolderOpen, contentDescription = "")
165+
Icon(Icons.Outlined.FolderSpecial, contentDescription = "")
166166
Spacer(Modifier.width(12.dp))
167-
Text(locale["sketchbook"], modifier = Modifier.align(Alignment.CenterVertically))
167+
Text(locale["welcome.actions.examples"])
168168
}
169169
}
170170
}

build/shared/lib/languages/PDE.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,9 @@ color_chooser.select = Select
645645
# Welcome Screen
646646
welcome.processing.logo = Processing Logo
647647
welcome.processing.title = Welcome to Processing
648-
welcome.actions.sketch.new = Empty Sketch
648+
welcome.actions.sketch.new = New Sketch
649649
welcome.actions.examples = Open Examples
650+
welcome.actions.sketchbook = My Sketches
650651
welcome.actions.show_startup = Show this window at startup
651652
welcome.resources.title = Resources
652653
welcome.resources.get_started = Get Started

0 commit comments

Comments
 (0)