ソースを参照

Merge pull request #561 from Lulu04/dev-showhidepreview

Add preview functionality to dialog Shift Colors
circular17 2 年 前
コミット
579e88c3f4

+ 121 - 113
lazpaint/dialog/color/ushiftcolors.lfm

@@ -1,113 +1,121 @@
-object FShiftColors: TFShiftColors
-  Left = 509
-  Height = 141
-  Top = 150
-  Width = 490
-  BorderIcons = [biSystemMenu]
-  BorderStyle = bsDialog
-  Caption = 'Shift colors'
-  ClientHeight = 141
-  ClientWidth = 490
-  Font.Height = -12
-  OnCreate = FormCreate
-  OnShow = FormShow
-  Position = poOwnerFormCenter
-  LCLVersion = '1.2.4.0'
-  object Label1: TLabel
-    Left = 8
-    Height = 15
-    Top = 10
-    Width = 24
-    Caption = 'Hue'
-    ParentColor = False
-  end
-  object Label2: TLabel
-    Left = 8
-    Height = 15
-    Top = 48
-    Width = 63
-    Caption = 'Saturation'
-    ParentColor = False
-  end
-  object TrackBar_Hue: TTrackBar
-    Left = 70
-    Height = 35
-    Top = 5
-    Width = 328
-    OnChange = TrackBar_Change
-    Position = 0
-    TabOrder = 0
-  end
-  object TrackBar_Saturation: TTrackBar
-    Left = 70
-    Height = 35
-    Top = 44
-    Width = 328
-    OnChange = TrackBar_Change
-    Position = 0
-    TabOrder = 1
-  end
-  object Button_OK: TButton
-    Left = 163
-    Height = 22
-    Top = 110
-    Width = 59
-    Caption = 'OK'
-    Default = True
-    ModalResult = 1
-    OnClick = Button_OKClick
-    TabOrder = 2
-  end
-  object Button_Cancel: TButton
-    Left = 227
-    Height = 22
-    Top = 110
-    Width = 72
-    Cancel = True
-    Caption = 'Cancel'
-    ModalResult = 2
-    TabOrder = 3
-  end
-  object CheckBox_GSBA: TCheckBox
-    Left = 8
-    Height = 22
-    Top = 81
-    Width = 195
-    Caption = 'Corrected hue and lightness'
-    OnChange = CheckBox_GSBAChange
-    TabOrder = 4
-  end
-  object FloatSpinEdit_Saturation: TFloatSpinEdit
-    Left = 408
-    Height = 25
-    Top = 43
-    Width = 72
-    DecimalPlaces = 3
-    Increment = 1
-    MaxValue = 2
-    MinValue = -2
-    OnChange = FloatSpinEdit_SaturationChange
-    TabOrder = 5
-    Value = 0
-  end
-  object FloatSpinEdit_Hue: TFloatSpinEdit
-    Left = 408
-    Height = 25
-    Top = 7
-    Width = 72
-    DecimalPlaces = 1
-    Increment = 1
-    MaxValue = 180
-    MinValue = -180
-    OnChange = FloatSpinEdit_HueChange
-    TabOrder = 6
-    Value = 0
-  end
-  object TimerDrawPendingRows: TTimer
-    Enabled = False
-    Interval = 10
-    OnTimer = TimerDrawPendingRowsTimer
-    left = 362
-    top = 80
-  end
-end
+object FShiftColors: TFShiftColors
+  Left = 509
+  Height = 160
+  Top = 150
+  Width = 490
+  BorderIcons = [biSystemMenu]
+  BorderStyle = bsDialog
+  Caption = 'Shift colors'
+  ClientHeight = 160
+  ClientWidth = 490
+  Font.Height = -12
+  OnCreate = FormCreate
+  OnDestroy = FormDestroy
+  OnShow = FormShow
+  Position = poOwnerFormCenter
+  LCLVersion = '2.2.4.0'
+  object Label1: TLabel
+    Left = 8
+    Height = 15
+    Top = 10
+    Width = 22
+    Caption = 'Hue'
+    ParentColor = False
+  end
+  object Label2: TLabel
+    Left = 8
+    Height = 15
+    Top = 48
+    Width = 54
+    Caption = 'Saturation'
+    ParentColor = False
+  end
+  object TrackBar_Hue: TTrackBar
+    Left = 70
+    Height = 35
+    Top = 5
+    Width = 328
+    OnChange = TrackBar_Change
+    Position = 0
+    TabOrder = 0
+  end
+  object TrackBar_Saturation: TTrackBar
+    Left = 70
+    Height = 35
+    Top = 44
+    Width = 328
+    OnChange = TrackBar_Change
+    Position = 0
+    TabOrder = 1
+  end
+  object Button_OK: TButton
+    Left = 168
+    Height = 22
+    Top = 128
+    Width = 59
+    Caption = 'rsOK'
+    Default = True
+    ModalResult = 1
+    OnClick = Button_OKClick
+    TabOrder = 2
+  end
+  object Button_Cancel: TButton
+    Left = 232
+    Height = 22
+    Top = 128
+    Width = 72
+    Cancel = True
+    Caption = 'rsCancel'
+    ModalResult = 2
+    TabOrder = 3
+  end
+  object CheckBox_GSBA: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 81
+    Width = 168
+    Caption = 'Corrected hue and lightness'
+    OnChange = CheckBox_GSBAChange
+    TabOrder = 4
+  end
+  object FloatSpinEdit_Saturation: TFloatSpinEdit
+    Left = 408
+    Height = 23
+    Top = 43
+    Width = 72
+    DecimalPlaces = 3
+    MaxValue = 2
+    MinValue = -2
+    OnChange = FloatSpinEdit_SaturationChange
+    TabOrder = 5
+  end
+  object FloatSpinEdit_Hue: TFloatSpinEdit
+    Left = 408
+    Height = 23
+    Top = 7
+    Width = 72
+    DecimalPlaces = 1
+    MaxValue = 180
+    MinValue = -180
+    OnChange = FloatSpinEdit_HueChange
+    TabOrder = 6
+  end
+  object CheckBox_Preview: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 109
+    Width = 70
+    Caption = 'rsPreview'
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 7
+  end
+  object TimerDrawPendingRows: TTimer
+    Enabled = False
+    Interval = 10
+    OnTimer = TimerDrawPendingRowsTimer
+    Left = 362
+    Top = 80
+  end
+end

+ 4 - 3
lazpaint/dialog/color/ushiftcolors.lrj

@@ -2,7 +2,8 @@
 {"hash":52227059,"name":"tfshiftcolors.caption","sourcebytes":[83,104,105,102,116,32,99,111,108,111,114,115],"value":"Shift colors"},
 {"hash":20405,"name":"tfshiftcolors.label1.caption","sourcebytes":[72,117,101],"value":"Hue"},
 {"hash":210581742,"name":"tfshiftcolors.label2.caption","sourcebytes":[83,97,116,117,114,97,116,105,111,110],"value":"Saturation"},
-{"hash":1339,"name":"tfshiftcolors.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tfshiftcolors.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"},
-{"hash":72944099,"name":"tfshiftcolors.checkbox_gsba.caption","sourcebytes":[67,111,114,114,101,99,116,101,100,32,104,117,101,32,97,110,100,32,108,105,103,104,116,110,101,115,115],"value":"Corrected hue and lightness"}
+{"hash":497723,"name":"tfshiftcolors.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tfshiftcolors.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"},
+{"hash":72944099,"name":"tfshiftcolors.checkbox_gsba.caption","sourcebytes":[67,111,114,114,101,99,116,101,100,32,104,117,101,32,97,110,100,32,108,105,103,104,116,110,101,115,115],"value":"Corrected hue and lightness"},
+{"hash":126662215,"name":"tfshiftcolors.checkbox_preview.caption","sourcebytes":[114,115,80,114,101,118,105,101,119],"value":"rsPreview"}
 ]}

+ 60 - 6
lazpaint/dialog/color/ushiftcolors.pas

@@ -18,6 +18,7 @@ type
     Button_Cancel: TButton;
     Button_OK: TButton;
     CheckBox_GSBA: TCheckBox;
+    CheckBox_Preview: TCheckBox;
     FloatSpinEdit_Hue: TFloatSpinEdit;
     FloatSpinEdit_Saturation: TFloatSpinEdit;
     Label1: TLabel;
@@ -27,9 +28,11 @@ type
     TrackBar_Saturation: TTrackBar;
     procedure Button_OKClick(Sender: TObject);
     procedure CheckBox_GSBAChange(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FloatSpinEdit_HueChange(Sender: TObject);
     procedure FloatSpinEdit_SaturationChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
+    procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure TimerDrawPendingRowsTimer(Sender: TObject);
     procedure TrackBar_Change(Sender: TObject);
@@ -41,6 +44,7 @@ type
     FUpdatingSpinEdit: boolean;
     FOddRows: boolean;
     FPendingRows: boolean;
+    FComputedImage: TBGRABitmap;
     function GetChosenHueShiftF: single;
     function GetChosenSatShiftF: single;
     procedure SetChosenHueShiftF(AValue: single);
@@ -51,7 +55,9 @@ type
     procedure SetChosenHueShift(AValue: integer);
     procedure LoadParameters;
     procedure HalfApplyChosenShift;
-    procedure ParametersChanged;
+    procedure PreviewNeeded;
+    procedure DisplayComputedImage;
+    procedure StoreComputedImage;
   public
     { public declarations }
     function ShowModal: integer; override;
@@ -85,6 +91,11 @@ begin
   UpdateSpinEdit;
 end;
 
+procedure TFShiftColors.FormDestroy(Sender: TObject);
+begin
+  FreeAndNil(FComputedImage);
+end;
+
 procedure TFShiftColors.FormShow(Sender: TObject);
 begin
   LoadParameters;
@@ -103,6 +114,7 @@ begin
     FPendingRows:= false;
   end;
   Button_OK.Enabled := true;
+  CheckBox_Preview.Enabled := true;
 end;
 
 procedure TFShiftColors.TrackBar_Change(Sender: TObject);
@@ -110,7 +122,7 @@ begin
   if FInitialized then
   begin
     UpdateSpinEdit;
-    ParametersChanged;
+    PreviewNeeded;
   end;
 end;
 
@@ -174,6 +186,14 @@ begin
     if FFilterConnector.Parameters.IsDefined('Correction') then
       CheckBox_GSBA.Checked := FFilterConnector.Parameters.Booleans['Correction'];
     UpdateSpinEdit;
+
+    FreeAndNil(FComputedImage);
+    Button_OK.Caption := rsOK;
+    Button_OK.Enabled := True;
+    Button_Cancel.Caption := rsCancel;
+    CheckBox_Preview.Caption := rsPreview;
+    CheckBox_Preview.Checked := True;
+    CheckBox_Preview.Enabled := True;
     FInitialized := OldInitialized;
   end;
 end;
@@ -256,7 +276,11 @@ end;
 procedure TFShiftColors.Button_OKClick(Sender: TObject);
 begin
   Button_OK.Enabled := false;
-  if FPendingRows then
+  CheckBox_Preview.Enabled := false;
+
+  if not CheckBox_Preview.Checked then
+    DisplayComputedImage
+  else if FPendingRows then
   begin
     HalfApplyChosenShift;
     FPendingRows := false;
@@ -269,7 +293,18 @@ end;
 
 procedure TFShiftColors.CheckBox_GSBAChange(Sender: TObject);
 begin
-  if FInitialized and Visible then ParametersChanged;
+  if FInitialized and Visible then PreviewNeeded;
+end;
+
+procedure TFShiftColors.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if not FInitialized then exit;
+  if CheckBox_Preview.Checked then
+    DisplayComputedImage
+  else begin
+    StoreComputedImage;
+    FFilterConnector.RestoreBackup;
+  end;
 end;
 
 procedure TFShiftColors.FloatSpinEdit_HueChange(Sender: TObject);
@@ -294,14 +329,33 @@ begin
   FOddRows:= not FOddRows;
 end;
 
-procedure TFShiftColors.ParametersChanged;
+procedure TFShiftColors.PreviewNeeded;
 begin
   Button_OK.Enabled := false;
+
+  FInitialized := false;
+  CheckBox_Preview.Enabled := false;
+  CheckBox_Preview.Checked := true;
+  FInitialized := true;
+  FreeAndNil(FComputedImage);
+
   HalfApplyChosenShift;
-  FPendingRows:= true;
+  FPendingRows := true;
   TimerDrawPendingRows.Enabled := true;
 end;
 
+procedure TFShiftColors.DisplayComputedImage;
+begin
+  if FComputedImage <> nil then
+    FFilterConnector.PutImage(FComputedImage, false, false);
+end;
+
+procedure TFShiftColors.StoreComputedImage;
+begin
+  if not FPendingRows and (FComputedImage = nil) then
+    FComputedImage := FFilterConnector.ActiveLayer.Duplicate;
+end;
+
 {$R *.lfm}
 
 end.

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.ar.po

@@ -2605,16 +2605,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "القدر :"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "موافق"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.bg.po

@@ -2593,16 +2593,6 @@ msgctxt "TFSHARPEN.LABEL_AMOUNT.CAPTION"
 msgid "Amount :"
 msgstr "Количество: "
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Добре"
-
 #: tfshiftcolors.caption
 msgctxt "TFSHIFTCOLORS.CAPTION"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.cs.po

@@ -2452,16 +2452,6 @@ msgstr "Ostření/Vyhlazení"
 msgid "Amount :"
 msgstr "Množství :"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "tfshiftcolors.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "tfshiftcolors.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfshiftcolors.caption
 msgid "Shift colors"
 msgstr "Posunout barvy"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.de.po

@@ -2616,16 +2616,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "Wert:"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.es.po

@@ -2598,16 +2598,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "Cantidad:"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.fi.po

@@ -2598,16 +2598,6 @@ msgctxt "TFSHARPEN.LABEL_AMOUNT.CAPTION"
 msgid "Amount :"
 msgstr ""
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfshiftcolors.caption
 msgctxt "TFSHIFTCOLORS.CAPTION"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.fr.po

@@ -2623,16 +2623,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "Quantité :"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.it.po

@@ -2594,16 +2594,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr ""
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.ja.po

@@ -2603,16 +2603,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr ""
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.kab.po

@@ -2607,16 +2607,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "Tasmekta :"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Ih"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.lv.po

@@ -2611,16 +2611,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "Stiprums:"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Labi"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.nl.po

@@ -2604,16 +2604,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "Hoeveelheid :"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.pl.po

@@ -2616,16 +2616,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "Siła:"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.pot

@@ -2441,16 +2441,6 @@ msgstr ""
 msgid "Amount :"
 msgstr ""
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "tfshiftcolors.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "tfshiftcolors.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfshiftcolors.caption
 msgid "Shift colors"
 msgstr ""

+ 0 - 11
lazpaint/release/bin/i18n/lazpaint.pt_BR.po

@@ -2609,17 +2609,6 @@ msgctxt "TFSHARPEN.LABEL_AMOUNT.CAPTION"
 msgid "Amount :"
 msgstr "Quantidade :"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfshiftcolors.button_ok.caption
-#, fuzzy
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfshiftcolors.caption
 msgctxt "TFSHIFTCOLORS.CAPTION"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.ru.po

@@ -2591,16 +2591,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "Эффект:"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "ОК"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.sv.po

@@ -2608,16 +2608,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "Mängd :"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"

+ 0 - 10
lazpaint/release/bin/i18n/lazpaint.zh_CN.po

@@ -2604,16 +2604,6 @@ msgctxt "tfsharpen.label_amount.caption"
 msgid "Amount :"
 msgstr "数量 :"
 
-#: tfshiftcolors.button_cancel.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "取消"
-
-#: tfshiftcolors.button_ok.caption
-msgctxt "TFSHIFTCOLORS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "确定"
-
 #: tfshiftcolors.caption
 msgctxt "tfshiftcolors.caption"
 msgid "Shift colors"