Skip to content

Commit accc5e7

Browse files
committed
Renames the tool 'pen' to 'brush' and changes en and de translations to accomodate for that.
1 parent ea05d9d commit accc5e7

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

PinkSea.Frontend/src/api/tegaki/tegaki.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ export class TegakiPencil extends TegakiBrush {
501501

502502
this.name = 'pencil';
503503

504-
this.keybind = 'b';
504+
this.keybind = 'p';
505505

506506
this.step = 0.01;
507507

@@ -662,9 +662,9 @@ export class TegakiPen extends TegakiBrush {
662662

663663
this.id = 2;
664664

665-
this.name = 'pen';
665+
this.name = 'brush';
666666

667-
this.keybind = 'p';
667+
this.keybind = 'b';
668668

669669
this.step = 0.05;
670670

@@ -4032,7 +4032,7 @@ export var Tegaki = {
40324032

40334033
Tegaki.activePointerId = e.pointerId;
40344034

4035-
Tegaki.activePointerIsPen = e.pointerType === 'pen';
4035+
Tegaki.activePointerIsPen = e.pointerType === 'brush';
40364036

40374037
if (Tegaki.activeLayer === null) {
40384038
if (e.target.parentNode === Tegaki.layersCnt) {

PinkSea.Frontend/src/assets/tegaki/tegaki.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ we can make more custom icons and swap these out too*/
107107
.tegaki-blur {background-image: url('/assets/ui/icon-blur.svg');}
108108
.tegaki-eraser {background-image: url('/assets/ui/icon-eraser.svg');}
109109
.tegaki-pencil {background-image: url('/assets/ui/icon-pencil.svg'); }
110-
.tegaki-pen {background-image: url('/assets/ui/icon-pen.svg'); }
110+
.tegaki-brush {background-image: url('/assets/ui/icon-pen.svg'); }
111111
.tegaki-airbrush {background-image: url('/assets/ui/icon-airbrush.svg'); }
112112
.tegaki-bucket {background-image: url('/assets/ui/icon-fillbucket.svg'); }
113113

PinkSea.Frontend/src/intl/translations/de.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@
9898
"close": "Schließen",
9999
"finish": "Fertig",
100100
"tip": "Tip",
101-
"pen": "Stift",
101+
"brush": "Pinsel",
102102
"bucket": "Fülleimer",
103-
"tone": "Ton",
103+
"tone": "Raster",
104104
"gapless": "Lückenlos",
105105
"pause": "Pause",
106106
"slower": "Langsamer",
@@ -114,14 +114,14 @@
114114
"promptHeight": "Leinwandhöhe in Pixel",
115115
"confirmCancel": "Bist du dir sicher? Deine Arbeit wird nicht gespeichert.",
116116
"confirmChangeCanvas": "Bist du dir sicher? Änderungen an der Leinwand werden alle deiner Layer und vergangenen Tätigkeiten nicht speichern sowohl als auch deine Bildschirmaufnahme deaktivieren.",
117-
"layers": "Layer",
117+
"layers": "Ebenen",
118118
"eraser": "Radierer",
119-
"addLayer": "Layer hinzufügen",
120-
"delLayers": "Layer löschen",
121-
"mergeLayers": "Layer zusammenführen",
119+
"addLayer": "Ebene hinzufügen",
120+
"delLayers": "Ebene löschen",
121+
"mergeLayers": "Ebene zusammenführen",
122122
"moveLayerUp": "Hochziehen",
123123
"moveLayerDown": "Runterziehen",
124124
"pressure": "Druck",
125-
"preserveAlpha": "Alpha behalten"
125+
"preserveAlpha": "Transparente Pixel sperren"
126126
}
127127
}

PinkSea.Frontend/src/intl/translations/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
"pressure": "Pressure",
155155
"preserveAlpha": "Preserve Alpha",
156156

157-
"pen": "Pen",
157+
"brush": "Brush",
158158
"pencil": "Pencil",
159159
"airbrush": "Airbrush",
160160
"pipette": "Pipette",

0 commit comments

Comments
 (0)