diff --git a/src/Greenshot.Base/Interfaces/Drawing/Container.cs b/src/Greenshot.Base/Interfaces/Drawing/Container.cs index 7eb595fdf..4f653ac8a 100644 --- a/src/Greenshot.Base/Interfaces/Drawing/Container.cs +++ b/src/Greenshot.Base/Interfaces/Drawing/Container.cs @@ -111,6 +111,10 @@ namespace Greenshot.Base.Interfaces.Drawing bool HasIntersectingFilters(Rectangle clipRectangle); bool IntersectsWith(Rectangle clipRectangle); void Draw(Graphics g, Bitmap bitmap, RenderMode renderMode, Rectangle clipRectangle); + void SetForegroundColor(Color color); + void SetBackgroundColor(Color color); + int IncreaseLineThickness(int increaseBy); + bool FlipShadow(); void Invalidate(); void PullElementsToTop(IDrawableContainerList elements); bool CanPushDown(IDrawableContainerList elements); diff --git a/src/Greenshot.Base/Interfaces/ISurface.cs b/src/Greenshot.Base/Interfaces/ISurface.cs index 7b8d6884e..d5df7ff44 100644 --- a/src/Greenshot.Base/Interfaces/ISurface.cs +++ b/src/Greenshot.Base/Interfaces/ISurface.cs @@ -38,6 +38,10 @@ namespace Greenshot.Base.Interfaces event SurfaceMessageEventHandler SurfaceMessage; event SurfaceDrawingModeEventHandler DrawingModeChanged; event SurfaceElementEventHandler MovingElementChanged; + event SurfaceForegroundColorEventHandler ForegroundColorChanged; + event SurfaceBackgroundColorEventHandler BackgroundColorChanged; + event SurfaceLineThicknessEventHandler LineThicknessChanged; + event SurfaceShadowEventHandler ShadowChanged; /// /// Start value of the step-labels (counts) diff --git a/src/Greenshot.Base/Interfaces/SurfaceBackgroundColorEventArgs.cs b/src/Greenshot.Base/Interfaces/SurfaceBackgroundColorEventArgs.cs new file mode 100644 index 000000000..6972d52d0 --- /dev/null +++ b/src/Greenshot.Base/Interfaces/SurfaceBackgroundColorEventArgs.cs @@ -0,0 +1,31 @@ +/* + * Greenshot - a free and open source screenshot tool + * Copyright (C) 2007-2021 Thomas Braun, Jens Klingen, Robin Krom + * + * For more information see: https://getgreenshot.org/ + * The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +using System; +using System.Drawing; + +namespace Greenshot.Base.Interfaces +{ + public class SurfaceBackgroundColorEventArgs : EventArgs + { + public Color Color { get; set; } + } +} \ No newline at end of file diff --git a/src/Greenshot.Base/Interfaces/SurfaceBackgroundColorEventHandler.cs b/src/Greenshot.Base/Interfaces/SurfaceBackgroundColorEventHandler.cs new file mode 100644 index 000000000..a2a93703b --- /dev/null +++ b/src/Greenshot.Base/Interfaces/SurfaceBackgroundColorEventHandler.cs @@ -0,0 +1,25 @@ +/* + * Greenshot - a free and open source screenshot tool + * Copyright (C) 2007-2021 Thomas Braun, Jens Klingen, Robin Krom + * + * For more information see: https://getgreenshot.org/ + * The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +namespace Greenshot.Base.Interfaces +{ + public delegate void SurfaceBackgroundColorEventHandler (object sender, SurfaceBackgroundColorEventArgs e); +} \ No newline at end of file diff --git a/src/Greenshot.Base/Interfaces/SurfaceForegroundColorEventArgs.cs b/src/Greenshot.Base/Interfaces/SurfaceForegroundColorEventArgs.cs new file mode 100644 index 000000000..00de9aec4 --- /dev/null +++ b/src/Greenshot.Base/Interfaces/SurfaceForegroundColorEventArgs.cs @@ -0,0 +1,31 @@ +/* + * Greenshot - a free and open source screenshot tool + * Copyright (C) 2007-2021 Thomas Braun, Jens Klingen, Robin Krom + * + * For more information see: https://getgreenshot.org/ + * The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +using System; +using System.Drawing; + +namespace Greenshot.Base.Interfaces +{ + public class SurfaceForegroundColorEventArgs : EventArgs + { + public Color Color { get; set; } + } +} \ No newline at end of file diff --git a/src/Greenshot.Base/Interfaces/SurfaceForegroundColorEventHandler.cs b/src/Greenshot.Base/Interfaces/SurfaceForegroundColorEventHandler.cs new file mode 100644 index 000000000..9c62cee2d --- /dev/null +++ b/src/Greenshot.Base/Interfaces/SurfaceForegroundColorEventHandler.cs @@ -0,0 +1,25 @@ +/* + * Greenshot - a free and open source screenshot tool + * Copyright (C) 2007-2021 Thomas Braun, Jens Klingen, Robin Krom + * + * For more information see: https://getgreenshot.org/ + * The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +namespace Greenshot.Base.Interfaces +{ + public delegate void SurfaceForegroundColorEventHandler (object sender, SurfaceForegroundColorEventArgs e); +} \ No newline at end of file diff --git a/src/Greenshot.Base/Interfaces/SurfaceLineThicknessEventArgs.cs b/src/Greenshot.Base/Interfaces/SurfaceLineThicknessEventArgs.cs new file mode 100644 index 000000000..5fd5694ba --- /dev/null +++ b/src/Greenshot.Base/Interfaces/SurfaceLineThicknessEventArgs.cs @@ -0,0 +1,31 @@ +/* + * Greenshot - a free and open source screenshot tool + * Copyright (C) 2007-2021 Thomas Braun, Jens Klingen, Robin Krom + * + * For more information see: https://getgreenshot.org/ + * The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +using System; +using System.Drawing; + +namespace Greenshot.Base.Interfaces +{ + public class SurfaceLineThicknessEventArgs : EventArgs + { + public int Thickness { get; set; } + } +} \ No newline at end of file diff --git a/src/Greenshot.Base/Interfaces/SurfaceLineThicknessEventHandler.cs b/src/Greenshot.Base/Interfaces/SurfaceLineThicknessEventHandler.cs new file mode 100644 index 000000000..9f8ac3ebe --- /dev/null +++ b/src/Greenshot.Base/Interfaces/SurfaceLineThicknessEventHandler.cs @@ -0,0 +1,25 @@ +/* + * Greenshot - a free and open source screenshot tool + * Copyright (C) 2007-2021 Thomas Braun, Jens Klingen, Robin Krom + * + * For more information see: https://getgreenshot.org/ + * The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +namespace Greenshot.Base.Interfaces +{ + public delegate void SurfaceLineThicknessEventHandler (object sender, SurfaceLineThicknessEventArgs e); +} \ No newline at end of file diff --git a/src/Greenshot.Base/Interfaces/SurfaceShadowEventArgs.cs b/src/Greenshot.Base/Interfaces/SurfaceShadowEventArgs.cs new file mode 100644 index 000000000..a7bd682b7 --- /dev/null +++ b/src/Greenshot.Base/Interfaces/SurfaceShadowEventArgs.cs @@ -0,0 +1,31 @@ +/* + * Greenshot - a free and open source screenshot tool + * Copyright (C) 2007-2021 Thomas Braun, Jens Klingen, Robin Krom + * + * For more information see: https://getgreenshot.org/ + * The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +using System; +using System.Drawing; + +namespace Greenshot.Base.Interfaces +{ + public class SurfaceShadowEventArgs : EventArgs + { + public bool HasShadow { get; set; } + } +} \ No newline at end of file diff --git a/src/Greenshot.Base/Interfaces/SurfaceShadowEventHandler.cs b/src/Greenshot.Base/Interfaces/SurfaceShadowEventHandler.cs new file mode 100644 index 000000000..a303aea62 --- /dev/null +++ b/src/Greenshot.Base/Interfaces/SurfaceShadowEventHandler.cs @@ -0,0 +1,25 @@ +/* + * Greenshot - a free and open source screenshot tool + * Copyright (C) 2007-2021 Thomas Braun, Jens Klingen, Robin Krom + * + * For more information see: https://getgreenshot.org/ + * The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +namespace Greenshot.Base.Interfaces +{ + public delegate void SurfaceShadowEventHandler (object sender, SurfaceShadowEventArgs e); +} \ No newline at end of file diff --git a/src/Greenshot.Editor/Drawing/DrawableContainerList.cs b/src/Greenshot.Editor/Drawing/DrawableContainerList.cs index 9465d7779..a7ed4f75b 100644 --- a/src/Greenshot.Editor/Drawing/DrawableContainerList.cs +++ b/src/Greenshot.Editor/Drawing/DrawableContainerList.cs @@ -30,6 +30,7 @@ using Greenshot.Base.Core; using Greenshot.Base.Interfaces; using Greenshot.Base.Interfaces.Drawing; using Greenshot.Editor.Configuration; +using Greenshot.Editor.Drawing.Fields; using Greenshot.Editor.Forms; using Greenshot.Editor.Memento; @@ -430,6 +431,70 @@ namespace Greenshot.Editor.Drawing } } + public void SetForegroundColor(Color color) + { + var dcs = ToArray(); + var field = FieldType.LINE_COLOR; + foreach (var dc in dcs) + { + if (dc is not AbstractFieldHolderWithChildren fh) continue; + if (!fh.HasField(field)) continue; + + fh.SetFieldValue(field, color); + } + } + + public void SetBackgroundColor(Color color) + { + var dcs = ToArray(); + var field = FieldType.FILL_COLOR; + foreach (var dc in dcs) + { + if (dc is not AbstractFieldHolderWithChildren fh) continue; + if (!fh.HasField(field)) continue; + + fh.SetFieldValue(field, color); + } + } + + public int IncreaseLineThickness(int increaseBy) + { + var dcs = ToArray(); + var field = FieldType.LINE_THICKNESS; + var lastThickness = 0; + foreach (var dc in dcs) + { + if (dc is not AbstractFieldHolderWithChildren fh) continue; + if (!fh.HasField(field)) continue; + + var currentThickness = (int)fh.GetFieldValue(field); + var thickness = Math.Max(0, currentThickness + increaseBy); + fh.SetFieldValue(field, thickness); + lastThickness = thickness; + } + + return lastThickness; + } + + public bool FlipShadow() + { + var dcs = ToArray(); + var field = FieldType.SHADOW; + var lastShadow = false; + foreach (var dc in dcs) + { + if (dc is not AbstractFieldHolderWithChildren fh) continue; + if (!fh.HasField(field)) continue; + + var currentShadow = (bool)fh.GetFieldValue(field); + var shadow = !currentShadow; + fh.SetFieldValue(field, shadow); + lastShadow = shadow; + } + + return lastShadow; + } + /// /// Indicates whether the given list of elements can be pushed down, /// i.e. whether there is at least one unselected element lower in hierarchy diff --git a/src/Greenshot.Editor/Drawing/Surface.cs b/src/Greenshot.Editor/Drawing/Surface.cs index 7fd7485d0..2f956d132 100644 --- a/src/Greenshot.Editor/Drawing/Surface.cs +++ b/src/Greenshot.Editor/Drawing/Surface.cs @@ -112,6 +112,38 @@ namespace Greenshot.Editor.Drawing remove => _surfaceMessage -= value; } + [NonSerialized] private SurfaceForegroundColorEventHandler _foregroundColorChanged; + + public event SurfaceForegroundColorEventHandler ForegroundColorChanged + { + add => _foregroundColorChanged += value; + remove => _foregroundColorChanged -= value; + } + + [NonSerialized] private SurfaceBackgroundColorEventHandler _backgroundColorChanged; + + public event SurfaceBackgroundColorEventHandler BackgroundColorChanged + { + add => _backgroundColorChanged += value; + remove => _backgroundColorChanged -= value; + } + + [NonSerialized] private SurfaceLineThicknessEventHandler _lineThicknessChanged; + + public event SurfaceLineThicknessEventHandler LineThicknessChanged + { + add => _lineThicknessChanged += value; + remove => _lineThicknessChanged -= value; + } + + [NonSerialized] private SurfaceShadowEventHandler _shadowChanged; + + public event SurfaceShadowEventHandler ShadowChanged + { + add => _shadowChanged += value; + remove => _shadowChanged -= value; + } + /// /// inUndoRedo makes sure we don't undo/redo while in a undo/redo action /// @@ -1060,6 +1092,74 @@ namespace Greenshot.Editor.Drawing } } + /// + /// Use to update UI when pressing a key to change the foreground color + /// + /// Who send + /// new color + public void UpdateForegroundColorEvent(object source, Color color) + { + if (_foregroundColorChanged != null) + { + var eventArgs = new SurfaceForegroundColorEventArgs + { + Color = color, + }; + _foregroundColorChanged(source, eventArgs); + } + } + + /// + /// Use to update UI when pressing a key to change the background color + /// + /// Who send + /// new color + public void UpdateBackgroundColorEvent(object source, Color color) + { + if (_lineThicknessChanged != null) + { + var eventArgs = new SurfaceBackgroundColorEventArgs + { + Color = color, + }; + _backgroundColorChanged(source, eventArgs); + } + } + + /// + /// Use to update UI when pressing a key to change the line thickness + /// + /// Who send + /// new thickness + public void UpdateLineThicknessEvent(object source, int thickness) + { + if (_lineThicknessChanged != null) + { + var eventArgs = new SurfaceLineThicknessEventArgs + { + Thickness = thickness, + }; + _lineThicknessChanged(source, eventArgs); + } + } + + /// + /// Use to update UI when pressing the key to show/hide the shadow + /// + /// Who send + /// has shadow + public void UpdateShadowEvent(object source, bool hasShadow) + { + if (_shadowChanged != null) + { + var eventArgs = new SurfaceShadowEventArgs + { + HasShadow = hasShadow, + }; + _shadowChanged(source, eventArgs); + } + } + /// /// Crop the surface /// @@ -2212,6 +2312,87 @@ namespace Greenshot.Editor.Drawing case Keys.Escape: ConfirmSelectedConfirmableElements(false); break; + case Keys.NumPad0: + SetSelectedElementColor(Color.Orange, true, shiftModifier); + break; + case Keys.NumPad1: + SetSelectedElementColor(Color.Red, true, shiftModifier); + break; + case Keys.NumPad2: + SetSelectedElementColor(Color.FromArgb(0,255,0), true, shiftModifier); // Color.Green is #008000 and not #00FF00 + break; + case Keys.NumPad3: + SetSelectedElementColor(Color.Blue, true, shiftModifier); + break; + case Keys.NumPad4: + SetSelectedElementColor(Color.Cyan, true, shiftModifier); + break; + case Keys.NumPad5: + SetSelectedElementColor(Color.Magenta, true, shiftModifier); + break; + case Keys.NumPad6: + SetSelectedElementColor(Color.Yellow, true, shiftModifier); + break; + case Keys.NumPad7: + SetSelectedElementColor(Color.Black, true, shiftModifier); + break; + case Keys.NumPad8: + SetSelectedElementColor(Color.Gray, true, shiftModifier); + break; + case Keys.NumPad9: + SetSelectedElementColor(Color.White, true, shiftModifier); + break; + case Keys.D0: + case Keys.D0 | Keys.Shift: + SetSelectedElementColor(shiftModifier ? Color.Orange : Color.Transparent, false, shiftModifier); + break; + case Keys.D1: + case Keys.D1 | Keys.Shift: + SetSelectedElementColor(Color.Red, false, shiftModifier); + break; + case Keys.D2: + case Keys.D2 | Keys.Shift: + SetSelectedElementColor(Color.Green, false, shiftModifier); + break; + case Keys.D3: + case Keys.D3 | Keys.Shift: + SetSelectedElementColor(Color.Blue, false, shiftModifier); + break; + case Keys.D4: + case Keys.D4 | Keys.Shift: + SetSelectedElementColor(Color.Cyan, false, shiftModifier); + break; + case Keys.D5: + case Keys.D5 | Keys.Shift: + SetSelectedElementColor(Color.Magenta, false, shiftModifier); + break; + case Keys.D6: + case Keys.D6 | Keys.Shift: + SetSelectedElementColor(Color.Yellow, false, shiftModifier); + break; + case Keys.D7: + case Keys.D7 | Keys.Shift: + SetSelectedElementColor(Color.Black, false, shiftModifier); + break; + case Keys.D8: + case Keys.D8 | Keys.Shift: + SetSelectedElementColor(Color.Gray, false, shiftModifier); + break; + case Keys.D9: + case Keys.D9 | Keys.Shift: + SetSelectedElementColor(Color.White, false, shiftModifier); + break; + case Keys.Add: + case Keys.Add | Keys.Shift: + ChangeLineThickness(shiftModifier ? 5 : 1); + break; + case Keys.Subtract: + case Keys.Subtract | Keys.Shift: + ChangeLineThickness(shiftModifier ? -5 : -1); + break; + case Keys.Divide: + FlipShadow(); + break; /*case Keys.Delete: RemoveSelectedElements(); break;*/ @@ -2231,6 +2412,36 @@ namespace Greenshot.Editor.Drawing return false; } + // for laptops without numPads, also allow shift modifier + private void SetSelectedElementColor(Color color, bool numPad, bool shift) + { + if (numPad || shift) + { + selectedElements.SetForegroundColor(color); + UpdateForegroundColorEvent(this, color); + } + else + { + selectedElements.SetBackgroundColor(color); + UpdateBackgroundColorEvent(this, color); + } + selectedElements.Invalidate(); + } + + private void ChangeLineThickness(int increaseBy) + { + var newThickness = selectedElements.IncreaseLineThickness(increaseBy); + UpdateLineThicknessEvent(this, newThickness); + selectedElements.Invalidate(); + } + + private void FlipShadow() + { + var shadow = selectedElements.FlipShadow(); + UpdateShadowEvent(this, shadow); + selectedElements.Invalidate(); + } + /// /// Property for accessing the elements on the surface /// diff --git a/src/Greenshot.Editor/Forms/ImageEditorForm.cs b/src/Greenshot.Editor/Forms/ImageEditorForm.cs index e3b65b980..4cae6f8e5 100644 --- a/src/Greenshot.Editor/Forms/ImageEditorForm.cs +++ b/src/Greenshot.Editor/Forms/ImageEditorForm.cs @@ -230,6 +230,10 @@ namespace Greenshot.Editor.Forms _surface.DrawingModeChanged += Surface_DrawingModeChanged; _surface.SurfaceSizeChanged += SurfaceSizeChanged; _surface.SurfaceMessage += SurfaceMessageReceived; + _surface.ForegroundColorChanged += ForegroundColorChanged; + _surface.BackgroundColorChanged += BackgroundColorChanged; + _surface.LineThicknessChanged += LineThicknessChanged; + _surface.ShadowChanged += ShadowChanged; _surface.FieldAggregator.FieldChanged += FieldAggregatorFieldChanged; SurfaceSizeChanged(Surface, null); @@ -498,6 +502,46 @@ namespace Greenshot.Editor.Forms } } + /// + /// This is called when the foreground color of the select element chances, used for shortcuts + /// + /// + /// + private void ForegroundColorChanged(object sender, SurfaceForegroundColorEventArgs eventArgs) + { + btnLineColor.SelectedColor = eventArgs.Color; + } + + /// + /// This is called when the background color of the select element chances, used for shortcuts + /// + /// + /// + private void BackgroundColorChanged(object sender, SurfaceBackgroundColorEventArgs eventArgs) + { + btnFillColor.SelectedColor = eventArgs.Color; + } + + /// + /// This is called when the line thickness of the select element chances, used for shortcuts + /// + /// + /// + private void LineThicknessChanged(object sender, SurfaceLineThicknessEventArgs eventArgs) + { + lineThicknessUpDown.Value = eventArgs.Thickness; + } + + /// + /// This is called when the shadow of the select element chances, used for shortcuts + /// + /// + /// + private void ShadowChanged(object sender, SurfaceShadowEventArgs eventArgs) + { + shadowButton.Checked = eventArgs.HasShadow; + } + /// /// This is called when the size of the surface chances, used for resizing and displaying the size information /// diff --git a/src/Greenshot/Languages/language-da-DK.xml b/src/Greenshot/Languages/language-da-DK.xml index 7e8b6c01a..166774d34 100644 --- a/src/Greenshot/Languages/language-da-DK.xml +++ b/src/Greenshot/Languages/language-da-DK.xml @@ -4,6 +4,7 @@ Dansk oversættelse af Jens Jacob Thomsen diff --git a/src/Greenshot/Languages/language-de-DE.xml b/src/Greenshot/Languages/language-de-DE.xml index 9ece82568..30ffcb30d 100644 --- a/src/Greenshot/Languages/language-de-DE.xml +++ b/src/Greenshot/Languages/language-de-DE.xml @@ -77,7 +77,7 @@ schnell zu finden. Vielen Dank :) Keine Anfangspunkt Automatisch zuschneiden - Hintergrundfarbe + Hintergrundfarbe (0-9) Weichzeichner-Radius Fett Rand @@ -110,7 +110,7 @@ schnell zu finden. Vielen Dank :) E-Mail Datei Größe - Rahmenfarbe + Rahmenfarbe (NumPad0-9, Shift+0-9) Graustufe Bereich hervorheben Graustufen @@ -146,7 +146,7 @@ schnell zu finden. Vielen Dank :) Speichern unter... Alle Objekte auswählen Druckauftrag wurde an '{0}' gesendet. - Schatten An/Aus + Schatten An/Aus (/) Bild wurde in Zwischenablage kopiert. Linienstärke Greenshot Editor diff --git a/src/Greenshot/Languages/language-en-US.xml b/src/Greenshot/Languages/language-en-US.xml index 3db9fbf0e..b575f549b 100644 --- a/src/Greenshot/Languages/language-en-US.xml +++ b/src/Greenshot/Languages/language-en-US.xml @@ -78,7 +78,7 @@ Also, we would highly appreciate if you checked whether a tracker item already e None Start point Auto crop - Fill color + Fill color (0-9) Blur radius Bold Border @@ -111,7 +111,7 @@ Also, we would highly appreciate if you checked whether a tracker item already e E-Mail File Size - Line color + Line color (NumPad0-9, Shift+0-9) Grayscale Highlight area Grayscale @@ -147,7 +147,7 @@ Also, we would highly appreciate if you checked whether a tracker item already e Save as... Select all Print job was sent to '{0}'. - Drop shadow + Drop shadow (/) Image stored to clipboard. Line thickness Greenshot image editor diff --git a/src/Greenshot/Languages/language-nl-NL.xml b/src/Greenshot/Languages/language-nl-NL.xml index 507ece7dc..52e12a895 100644 --- a/src/Greenshot/Languages/language-nl-NL.xml +++ b/src/Greenshot/Languages/language-nl-NL.xml @@ -78,7 +78,7 @@ Controleer ook even of dit probleem mogelijk al gemeld is! Gebruik de zoekfuncti Geen Startpunt Automatisch bijsnijden - Vulkleur + Vulkleur (0-9) Vervagingsradius Vet Rand @@ -111,7 +111,7 @@ Controleer ook even of dit probleem mogelijk al gemeld is! Gebruik de zoekfuncti E-mail Bestand Grootte - Lijnkleur + Lijnkleur (NumPad0-9, Shift+0-9) Grijstinten Gebied markeren Grijstinten @@ -147,7 +147,7 @@ Controleer ook even of dit probleem mogelijk al gemeld is! Gebruik de zoekfuncti Opslaan als… Alles selecteren Afdruktaak verzonden naar '{0}'. - Schaduw + Schaduw (/) Afbeelding opgeslagen op het klembord. Lijndikte Greenshot beeldbewerker diff --git a/src/Greenshot/Languages/language-ro-RO.xml b/src/Greenshot/Languages/language-ro-RO.xml index 11f17a736..7e67ecb52 100644 --- a/src/Greenshot/Languages/language-ro-RO.xml +++ b/src/Greenshot/Languages/language-ro-RO.xml @@ -4,6 +4,7 @@ Traducere în limba română - Radu Mogoș