Skip to content

Commit 0939bf5

Browse files
committed
Minor GUI sring change
* "Sample all layers" is accurate for the colour selector tool, but doesn't feel quite right for the clone tool. "Include all layers" is simpler and fits more situations. * Changed "Width" to the more general and accurate "Size". * Updated en.cakeys
1 parent fb5b88d commit 0939bf5

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

artpaint/tools/CloneTool.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ CloneToolConfigView::CloneToolConfigView(DrawingTool* tool)
365365
message->AddInt32("option", SIZE_OPTION);
366366
message->AddInt32("value", tool->GetCurrentValue(SIZE_OPTION));
367367

368-
fLineSize = new NumberSliderControl(B_TRANSLATE("Width:"), "1", message, 1, 100, false);
368+
fLineSize = new NumberSliderControl(B_TRANSLATE("Size:"), "1", message, 1, 100, false);
369369

370370
BGridLayout* lineSizeLayout = LayoutSliderGrid(fLineSize);
371371

@@ -392,7 +392,7 @@ CloneToolConfigView::CloneToolConfigView(DrawingTool* tool)
392392
message->AddInt32("option", PREVIEW_ENABLED_OPTION);
393393
message->AddInt32("value", 0x00000000);
394394

395-
fAllLayersCheckbox = new BCheckBox(B_TRANSLATE("Sample all layers"), message);
395+
fAllLayersCheckbox = new BCheckBox(B_TRANSLATE("Include all layers"), message);
396396

397397
layout->AddView(BGroupLayoutBuilder(B_VERTICAL, kWidgetSpacing)
398398
.Add(lineSizeLayout)

artpaint/tools/ColorSelectorTool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ ColorSelectorToolConfigView::ColorSelectorToolConfigView(DrawingTool* tool)
448448
BMessage* all_layers_message = new BMessage(OPTION_CHANGED);
449449
all_layers_message->AddInt32("option", MODE_OPTION);
450450
all_layers_message->AddInt32("value", tool->GetCurrentValue(MODE_OPTION));
451-
fAllLayersCheckbox = new BCheckBox(B_TRANSLATE("Sample all layers"), all_layers_message);
451+
fAllLayersCheckbox = new BCheckBox(B_TRANSLATE("Include all layers"), all_layers_message);
452452

453453
BGridLayout* sizeLayout = LayoutSliderGrid(fSizeSlider);
454454

locales/en.catkeys

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1 English application/x-vnd.artpaint 3020182180
1+
1 English application/x-vnd.artpaint 3460213630
22
Angle: Manipulators Angle:
33
Lighten PixelOperations Lighten
44
Enable antialiasing Manipulators Enable antialiasing
@@ -50,6 +50,7 @@ Fill rectangle Tools Fill rectangle
5050
Text tool Manipulators Text tool
5151
Bicubic (B-spline) ScaleUtilities Bicubic (B-spline)
5252
Spray Tools Spray
53+
Include all layers Tools Include all layers
5354
Colors: Windows Colors:
5455
Fill tool: SHIFT locks 22.5° angles Tools Fill tool: SHIFT locks 22.5° angles
5556
Zoom in PaintWindow Zoom in
@@ -404,7 +405,6 @@ Transparency Windows Transparency
404405
Add layer Image Add layer
405406
Opens the colors window. PaintWindow Opens the colors window.
406407
Quits ArtPaint. PaintWindow Quits ArtPaint.
407-
Sample all layers Tools Sample all layers
408408
Transparency Tools Transparency
409409
Layer transparency ImageView Layer transparency
410410
Delete PaintWindow Delete

0 commit comments

Comments
 (0)