Ver Fonte

Added Preview functionality to other filters

Lulu há 2 anos atrás
pai
commit
9b96a0e00a
51 ficheiros alterados com 861 adições e 2429 exclusões
  1. 23 13
      lazpaint/dialog/filter/ucustomblur.lfm
  2. 2 2
      lazpaint/dialog/filter/ucustomblur.lrj
  3. 38 1
      lazpaint/dialog/filter/ucustomblur.pas
  4. 32 22
      lazpaint/dialog/filter/uemboss.lfm
  5. 2 2
      lazpaint/dialog/filter/uemboss.lrj
  6. 22 4
      lazpaint/dialog/filter/uemboss.pas
  7. 132 123
      lazpaint/dialog/filter/ufilterfunction.lfm
  8. 2 2
      lazpaint/dialog/filter/ufilterfunction.lrj
  9. 32 7
      lazpaint/dialog/filter/ufilterfunction.pas
  10. 28 18
      lazpaint/dialog/filter/umotionblur.lfm
  11. 2 2
      lazpaint/dialog/filter/umotionblur.lrj
  12. 46 3
      lazpaint/dialog/filter/umotionblur.pas
  13. 43 33
      lazpaint/dialog/filter/unoisefilter.lfm
  14. 2 2
      lazpaint/dialog/filter/unoisefilter.lrj
  15. 33 7
      lazpaint/dialog/filter/unoisefilter.pas
  16. 22 12
      lazpaint/dialog/filter/uphongfilter.lfm
  17. 2 2
      lazpaint/dialog/filter/uphongfilter.lrj
  18. 28 3
      lazpaint/dialog/filter/uphongfilter.pas
  19. 24 14
      lazpaint/dialog/filter/uposterize.lfm
  20. 2 2
      lazpaint/dialog/filter/uposterize.lrj
  21. 23 3
      lazpaint/dialog/filter/uposterize.pas
  22. 36 25
      lazpaint/dialog/filter/uradialblur.lfm
  23. 2 2
      lazpaint/dialog/filter/uradialblur.lrj
  24. 41 2
      lazpaint/dialog/filter/uradialblur.pas
  25. 23 13
      lazpaint/dialog/filter/usharpen.lfm
  26. 2 2
      lazpaint/dialog/filter/usharpen.lrj
  27. 22 2
      lazpaint/dialog/filter/usharpen.pas
  28. 60 51
      lazpaint/dialog/filter/utwirl.lfm
  29. 2 2
      lazpaint/dialog/filter/utwirl.lrj
  30. 27 2
      lazpaint/dialog/filter/utwirl.pas
  31. 72 62
      lazpaint/dialog/filter/uwavedisplacement.lfm
  32. 2 2
      lazpaint/dialog/filter/uwavedisplacement.lrj
  33. 32 2
      lazpaint/dialog/filter/uwavedisplacement.pas
  34. 0 110
      lazpaint/release/bin/i18n/lazpaint.ar.po
  35. 0 110
      lazpaint/release/bin/i18n/lazpaint.bg.po
  36. 0 110
      lazpaint/release/bin/i18n/lazpaint.cs.po
  37. 0 110
      lazpaint/release/bin/i18n/lazpaint.de.po
  38. 0 110
      lazpaint/release/bin/i18n/lazpaint.es.po
  39. 0 110
      lazpaint/release/bin/i18n/lazpaint.fi.po
  40. 0 110
      lazpaint/release/bin/i18n/lazpaint.fr.po
  41. 0 110
      lazpaint/release/bin/i18n/lazpaint.it.po
  42. 0 110
      lazpaint/release/bin/i18n/lazpaint.ja.po
  43. 0 110
      lazpaint/release/bin/i18n/lazpaint.kab.po
  44. 0 110
      lazpaint/release/bin/i18n/lazpaint.lv.po
  45. 0 110
      lazpaint/release/bin/i18n/lazpaint.nl.po
  46. 0 110
      lazpaint/release/bin/i18n/lazpaint.pl.po
  47. 0 110
      lazpaint/release/bin/i18n/lazpaint.pot
  48. 0 115
      lazpaint/release/bin/i18n/lazpaint.pt_BR.po
  49. 0 110
      lazpaint/release/bin/i18n/lazpaint.ru.po
  50. 0 110
      lazpaint/release/bin/i18n/lazpaint.sv.po
  51. 0 110
      lazpaint/release/bin/i18n/lazpaint.zh_CN.po

+ 23 - 13
lazpaint/dialog/filter/ucustomblur.lfm

@@ -1,12 +1,12 @@
 object FCustomBlur: TFCustomBlur
-  Left = 672
-  Height = 300
-  Top = 158
+  Left = 646
+  Height = 319
+  Top = 261
   Width = 400
   BorderIcons = [biSystemMenu]
   BorderStyle = bsDialog
   Caption = 'Custom blur'
-  ClientHeight = 300
+  ClientHeight = 319
   ClientWidth = 400
   Font.Height = -12
   OnCloseQuery = FormCloseQuery
@@ -14,7 +14,7 @@ object FCustomBlur: TFCustomBlur
   OnDestroy = FormDestroy
   OnShow = FormShow
   Position = poOwnerFormCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Image1: TImage
     Left = 8
     Height = 216
@@ -27,9 +27,9 @@ object FCustomBlur: TFCustomBlur
   object Button_OK: TButton
     Left = 128
     Height = 22
-    Top = 272
+    Top = 288
     Width = 59
-    Caption = 'OK'
+    Caption = 'rsOK'
     Default = True
     OnClick = Button_OKClick
     TabOrder = 0
@@ -37,10 +37,10 @@ object FCustomBlur: TFCustomBlur
   object Button_Cancel: TButton
     Left = 194
     Height = 22
-    Top = 272
+    Top = 288
     Width = 81
     Cancel = True
-    Caption = 'Cancel'
+    Caption = 'rsCancel'
     ModalResult = 2
     TabOrder = 1
   end
@@ -62,18 +62,28 @@ object FCustomBlur: TFCustomBlur
     OnClick = Button_EditMaskClick
     TabOrder = 3
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 264
+    Width = 20
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 4
+  end
   object OpenPictureDialog1: TOpenPictureDialog
     Title = 'Open grayscale file'
     Filter = 'Mask images (*.bmp, *.jpeg, *.lzp, *.pcx, *.png, *.tga)|*.bmp;*.jpg;*.jpeg;*.lzp;*.pcx;*.png;*.tga;*.BMP;*.JPG;*.JPEG;*.LZP;*.PCX;*.PNG;*.TGA;*.Bmp;*.Jpg;*.Jpeg;*.Lzp;*.Pcx;*.Png;*.Tga|Bitmaps (*.bmp)|*.bmp;*.BMP;*.Bmp|JPEG (*.jpg;*.jpeg)|*.jpg;*.jpeg;*.JPG;*.JPEG;*.Jpg;*.Jpeg|LazPaint (*.lzp)|*.lzp;*.LZP;*.Lzp|PCX (*.pcx)|*.pcx;*.PCX;*.Pcx|Portable Network Graphic (*.png)|*.png;*.PNG;*.Png|Targa (*.tga)|*.tga;*.TGA;*.Tga'
     Options = [ofNoDereferenceLinks, ofEnableSizing, ofViewDetail]
-    left = 48
-    top = 248
+    Left = 232
+    Top = 232
   end
   object Timer1: TTimer
     Enabled = False
     Interval = 200
     OnTimer = Timer1Timer
-    left = 308
-    top = 230
+    Left = 328
+    Top = 232
   end
 end

+ 2 - 2
lazpaint/dialog/filter/ucustomblur.lrj

@@ -1,7 +1,7 @@
 {"version":1,"strings":[
 {"hash":96229746,"name":"tfcustomblur.caption","sourcebytes":[67,117,115,116,111,109,32,98,108,117,114],"value":"Custom blur"},
-{"hash":1339,"name":"tfcustomblur.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tfcustomblur.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"},
+{"hash":497723,"name":"tfcustomblur.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tfcustomblur.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"},
 {"hash":113031038,"name":"tfcustomblur.button_loadmask.caption","sourcebytes":[76,111,97,100,32,109,97,115,107,46,46,46],"value":"Load mask..."},
 {"hash":120776574,"name":"tfcustomblur.button_editmask.caption","sourcebytes":[69,100,105,116,32,109,97,115,107,46,46,46],"value":"Edit mask..."},
 {"hash":210391541,"name":"tfcustomblur.openpicturedialog1.title","sourcebytes":[79,112,101,110,32,103,114,97,121,115,99,97,108,101,32,102,105,108,101],"value":"Open grayscale file"}

+ 38 - 1
lazpaint/dialog/filter/ucustomblur.pas

@@ -21,12 +21,14 @@ type
     Button_OK: TButton;
     Button_Cancel: TButton;
     btnLoadMask: TButton;
+    CheckBox_Preview: TCheckBox;
     Image1: TImage;
     OpenPictureDialog1: TOpenPictureDialog;
     Timer1: TTimer;
     procedure Button_EditMaskClick(Sender: TObject);
     procedure Button_LoadMaskClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
     procedure FormCreate(Sender: TObject);
     procedure FormDestroy(Sender: TObject);
@@ -40,6 +42,8 @@ type
     FLazPaintInstance: TLazPaintCustomInstance;
     FFilterConnector: TFilterConnector;
     FThreadManager: TFilterThreadManager;
+    FInitializing: boolean;
+    FComputedImage: TBGRABitmap;
     procedure GenerateDefaultMask;
     procedure SetLazPaintInstance(const AValue: TLazPaintCustomInstance);
     procedure OnTaskEvent({%H-}ASender: TObject; AEvent: TThreadManagerEvent);
@@ -69,10 +73,17 @@ procedure TFCustomBlur.FormDestroy(Sender: TObject);
 begin
   subConfig.Free;
   FreeAndNil(FBrowseImages);
+  if FComputedImage <> nil then FreeAndNil(FComputedImage);
 end;
 
 procedure TFCustomBlur.FormShow(Sender: TObject);
 begin
+  FInitializing := true;
+  CheckBox_Preview.Checked := true;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
+  FInitializing := false;
   PreviewNeeded;
 end;
 
@@ -162,7 +173,16 @@ begin
       if FThreadManager.ReadyToClose then
         Close
       else
-        if AEvent = tmeCompletedTask then Button_OK.Enabled := true;
+        if AEvent = tmeCompletedTask then begin
+          Button_OK.Enabled := true;
+          CheckBox_Preview.Enabled := true;
+        end;
+
+      if FComputedImage <> nil then FComputedImage.Free;
+      case AEvent of
+        tmeAbortedTask: FComputedImage := FFilterConnector.BackupLayer.Duplicate;
+        tmeCompletedTask: FComputedImage := FFilterConnector.ActiveLayer.Duplicate;
+      end;
     end;
   tmeStartingNewTask:
     begin
@@ -170,6 +190,11 @@ begin
       Timer1.Interval := 100;
       Timer1.Enabled := true;
       Button_OK.Enabled := false;
+
+      FInitializing := True;
+      CheckBox_Preview.Enabled := false;
+      CheckBox_Preview.Checked := True;
+      FInitializing := False;
     end;
   end;
 end;
@@ -258,10 +283,22 @@ end;
 
 procedure TFCustomBlur.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked and
+    (FComputedImage <> nil) then FFilterConnector.PutImage(FComputedImage,false,false);
+
   if not FFilterConnector.ActionDone then FFilterConnector.ValidateAction;
   ModalResult := mrOK;
 end;
 
+procedure TFCustomBlur.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    FFilterConnector.PutImage(FComputedImage, false, false)
+  else
+   FFilterConnector.RestoreBackup;
+end;
+
 procedure TFCustomBlur.FormCloseQuery(Sender: TObject; var CanClose: boolean);
 begin
   FThreadManager.Quit;

+ 32 - 22
lazpaint/dialog/filter/uemboss.lfm

@@ -1,6 +1,6 @@
 object FEmboss: TFEmboss
   Left = 491
-  Height = 277
+  Height = 296
   Top = 168
   Width = 148
   AutoSize = True
@@ -13,18 +13,18 @@ object FEmboss: TFEmboss
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 277
+  ClientHeight = 296
   ClientWidth = 148
   Font.Height = -12
   OnCreate = FormCreate
   OnShow = FormShow
   Position = poMainFormCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Label_Direction: TLabel
     Left = 8
     Height = 15
     Top = 8
-    Width = 112
+    Width = 130
     Caption = 'Direction :'
     ParentColor = False
   end
@@ -32,7 +32,7 @@ object FEmboss: TFEmboss
     Left = 8
     Height = 105
     Top = 31
-    Width = 112
+    Width = 130
     OnMouseDown = PaintBox1MouseDown
     OnMouseMove = PaintBox1MouseMove
     OnMouseUp = PaintBox1MouseUp
@@ -40,18 +40,18 @@ object FEmboss: TFEmboss
   end
   object CheckBox_Transparent: TCheckBox
     Left = 8
-    Height = 23
+    Height = 19
     Top = 144
-    Width = 112
+    Width = 130
     Caption = 'Transparent'
     OnChange = CheckBox_Change
     TabOrder = 0
   end
   object CheckBox_PreserveColors: TCheckBox
     Left = 8
-    Height = 23
-    Top = 175
-    Width = 112
+    Height = 19
+    Top = 171
+    Width = 130
     Caption = 'Preserve colors'
     Checked = True
     OnChange = CheckBox_Change
@@ -61,17 +61,17 @@ object FEmboss: TFEmboss
   object Panel1: TPanel
     Left = 8
     Height = 25
-    Top = 206
-    Width = 112
+    Top = 198
+    Width = 130
     BevelOuter = bvNone
     ClientHeight = 25
-    ClientWidth = 112
+    ClientWidth = 130
     TabOrder = 2
     object TrackBar_Strength: TTrackBar
       Left = 0
       Height = 25
       Top = 0
-      Width = 112
+      Width = 130
       Frequency = 64
       Max = 256
       OnChange = TrackBar_StrengthChange
@@ -80,37 +80,47 @@ object FEmboss: TFEmboss
       TabOrder = 0
     end
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 231
+    Width = 130
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 4
+  end
   object Panel2: TPanel
     Left = 8
     Height = 25
-    Top = 239
-    Width = 112
+    Top = 258
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 25
-    ClientWidth = 112
+    ClientWidth = 130
     TabOrder = 3
     object Button_OK: TButton
       Left = 0
       Height = 25
       Top = 0
-      Width = 42
+      Width = 51
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
       OnClick = Button_OKClick
       TabOrder = 0
     end
     object Button_Cancel: TButton
-      Left = 50
+      Left = 59
       Height = 25
       Top = 0
-      Width = 62
+      Width = 71
       AutoSize = True
       Cancel = True
-      Caption = 'Cancel'
+      Caption = 'rsCancel'
       ModalResult = 2
       TabOrder = 1
     end

+ 2 - 2
lazpaint/dialog/filter/uemboss.lrj

@@ -3,6 +3,6 @@
 {"hash":182806666,"name":"tfemboss.label_direction.caption","sourcebytes":[68,105,114,101,99,116,105,111,110,32,58],"value":"Direction :"},
 {"hash":171115524,"name":"tfemboss.checkbox_transparent.caption","sourcebytes":[84,114,97,110,115,112,97,114,101,110,116],"value":"Transparent"},
 {"hash":169540963,"name":"tfemboss.checkbox_preservecolors.caption","sourcebytes":[80,114,101,115,101,114,118,101,32,99,111,108,111,114,115],"value":"Preserve colors"},
-{"hash":1339,"name":"tfemboss.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tfemboss.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"}
+{"hash":497723,"name":"tfemboss.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tfemboss.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"}
 ]}

+ 22 - 4
lazpaint/dialog/filter/uemboss.pas

@@ -17,6 +17,7 @@ type
   TFEmboss = class(TForm)
     Button_OK: TButton;
     Button_Cancel: TButton;
+    CheckBox_Preview: TCheckBox;
     CheckBox_Transparent: TCheckBox;
     CheckBox_PreserveColors: TCheckBox;
     Label_Direction: TLabel;
@@ -26,6 +27,7 @@ type
     TrackBar_Strength: TTrackBar;
     procedure Button_OKClick(Sender: TObject);
     procedure CheckBox_Change(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure PaintBox1MouseDown(Sender: TObject; Button: TMouseButton;
@@ -56,7 +58,7 @@ function ShowEmbossDlg(AFilterConnector: TObject): TScriptResult;
 
 implementation
 
-uses BGRABitmapTypes, math, ugraph, umac;
+uses BGRABitmapTypes, math, ugraph, umac, UResourceStrings;
 
 { TFEmboss }
 
@@ -107,6 +109,8 @@ end;
 
 procedure TFEmboss.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked then PreviewNeeded;
+
   FilterConnector.ValidateAction;
   FilterConnector.LazPaintInstance.Config.SetDefaultEmbossAngle(angle);
   ModalResult := mrOK;
@@ -114,7 +118,16 @@ end;
 
 procedure TFEmboss.CheckBox_Change(Sender: TObject);
 begin
-  PreviewNeeded;
+  if CheckBox_Preview.Checked then PreviewNeeded;
+end;
+
+procedure TFEmboss.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    PreviewNeeded
+  else
+   FilterConnector.RestoreBackup;
 end;
 
 procedure TFEmboss.PaintBox1MouseDown(Sender: TObject; Button: TMouseButton;
@@ -171,7 +184,7 @@ end;
 
 procedure TFEmboss.TrackBar_StrengthChange(Sender: TObject);
 begin
-  PreviewNeeded;
+  if CheckBox_Preview.Checked then PreviewNeeded;
   PaintBox1.Repaint;
 end;
 
@@ -180,7 +193,7 @@ begin
   if selectingAngle then
   begin
     angle := ugraph.ComputeAngle(X-PaintBox1.Width/2,Y-PaintBox1.Height/2);
-    PreviewNeeded;
+    if CheckBox_Preview.Checked then PreviewNeeded;
     PaintBox1.Repaint;
   end;
 end;
@@ -211,6 +224,11 @@ begin
     if FVars.IsDefined('PreserveColors') then
       CheckBox_PreserveColors.Checked := FVars.Booleans['PreserveColors'];
   end;
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing:= false;
 end;
 

+ 132 - 123
lazpaint/dialog/filter/ufilterfunction.lfm

@@ -1,26 +1,25 @@
 object FFilterFunction: TFFilterFunction
   Left = 437
-  Height = 365
+  Height = 262
   Top = 135
-  Width = 645
+  Width = 430
   BorderIcons = [biSystemMenu]
   BorderStyle = bsDialog
   Caption = 'Apply function'
-  ClientHeight = 365
-  ClientWidth = 645
-  DesignTimePPI = 144
+  ClientHeight = 262
+  ClientWidth = 430
   OnCreate = FormCreate
   OnDestroy = FormDestroy
   OnShow = FormShow
   Position = poScreenCenter
-  LCLVersion = '2.0.2.0'
+  LCLVersion = '2.2.4.0'
   object Button_OK: TButton
-    Left = 218
-    Height = 33
-    Top = 318
-    Width = 88
+    Left = 145
+    Height = 22
+    Top = 231
+    Width = 59
     Anchors = [akLeft, akBottom]
-    Caption = 'OK'
+    Caption = 'rsOK'
     Default = True
     Enabled = False
     OnClick = Button_OKClick
@@ -28,13 +27,13 @@ object FFilterFunction: TFFilterFunction
     TabOrder = 0
   end
   object Button_Cancel: TButton
-    Left = 314
-    Height = 33
-    Top = 318
-    Width = 110
+    Left = 209
+    Height = 22
+    Top = 231
+    Width = 73
     Anchors = [akLeft, akBottom]
     Cancel = True
-    Caption = 'Cancel'
+    Caption = 'rsCancel'
     ModalResult = 2
     OnClick = Button_CancelClick
     ParentFont = False
@@ -43,10 +42,10 @@ object FFilterFunction: TFFilterFunction
   object Label_AlphaEquals: TLabel
     AnchorSideTop.Control = Edit_Alpha
     AnchorSideTop.Side = asrCenter
-    Left = 24
-    Height = 24
-    Top = 275
-    Width = 6
+    Left = 16
+    Height = 15
+    Top = 180
+    Width = 3
     Caption = '.'
     ParentColor = False
     ParentFont = False
@@ -54,20 +53,20 @@ object FFilterFunction: TFFilterFunction
   object Edit_Alpha: TEdit
     AnchorSideLeft.Control = Label_AlphaEquals
     AnchorSideLeft.Side = asrBottom
-    Left = 30
-    Height = 36
-    Top = 269
-    Width = 594
+    Left = 19
+    Height = 23
+    Top = 176
+    Width = 445
     Anchors = [akLeft, akRight, akBottom]
     OnChange = Edit_AlphaChange
     ParentFont = False
     TabOrder = 2
   end
   object PageControl_Color: TPageControl
-    Left = 12
-    Height = 204
-    Top = 46
-    Width = 624
+    Left = 8
+    Height = 136
+    Top = 31
+    Width = 416
     ActivePage = TabSheet_RGB
     ParentFont = False
     TabIndex = 0
@@ -80,14 +79,14 @@ object FFilterFunction: TFFilterFunction
       ChildSizing.VerticalSpacing = 6
       ChildSizing.EnlargeHorizontal = crsScaleChilds
       ChildSizing.ControlsPerLine = 1
-      ClientHeight = 166
-      ClientWidth = 614
+      ClientHeight = 108
+      ClientWidth = 408
       ParentFont = False
       object PanelRGB: TPanel
-        Left = 12
-        Height = 120
+        Left = 9
+        Height = 71
         Top = 6
-        Width = 596
+        Width = 393
         Align = alClient
         BevelOuter = bvNone
         ChildSizing.HorizontalSpacing = 6
@@ -95,14 +94,14 @@ object FFilterFunction: TFFilterFunction
         ChildSizing.EnlargeHorizontal = crsScaleChilds
         ChildSizing.Layout = cclLeftToRightThenTopToBottom
         ChildSizing.ControlsPerLine = 1
-        ClientHeight = 120
-        ClientWidth = 596
+        ClientHeight = 71
+        ClientWidth = 393
         TabOrder = 0
         object Edit_Red: TEdit
           Left = 0
-          Height = 36
+          Height = 23
           Top = 0
-          Width = 596
+          Width = 393
           AutoSize = False
           OnChange = Edit_RedChange
           ParentFont = False
@@ -110,9 +109,9 @@ object FFilterFunction: TFFilterFunction
         end
         object Edit_Green: TEdit
           Left = 0
-          Height = 36
-          Top = 42
-          Width = 596
+          Height = 23
+          Top = 29
+          Width = 393
           AutoSize = False
           OnChange = Edit_GreenChange
           ParentFont = False
@@ -120,9 +119,9 @@ object FFilterFunction: TFFilterFunction
         end
         object Edit_Blue: TEdit
           Left = 0
-          Height = 36
-          Top = 84
-          Width = 596
+          Height = 23
+          Top = 58
+          Width = 393
           AutoSize = False
           OnChange = Edit_BlueChange
           ParentFont = False
@@ -131,9 +130,9 @@ object FFilterFunction: TFFilterFunction
       end
       object CheckBox_Gamma: TCheckBox
         Left = 6
-        Height = 28
-        Top = 132
-        Width = 602
+        Height = 19
+        Top = 83
+        Width = 396
         Align = alBottom
         Caption = 'Gamma correction'
         OnChange = CheckBox_GammaChange
@@ -142,41 +141,41 @@ object FFilterFunction: TFFilterFunction
       end
       object PanelLabelRGB: TPanel
         Left = 6
-        Height = 120
+        Height = 71
         Top = 6
-        Width = 6
+        Width = 3
         Align = alLeft
         AutoSize = True
         BevelOuter = bvNone
         ChildSizing.VerticalSpacing = 6
         ChildSizing.Layout = cclLeftToRightThenTopToBottom
         ChildSizing.ControlsPerLine = 1
-        ClientHeight = 120
-        ClientWidth = 6
+        ClientHeight = 71
+        ClientWidth = 3
         TabOrder = 2
         object Label_RedEquals: TLabel
           Left = 0
-          Height = 24
+          Height = 15
           Top = 0
-          Width = 6
+          Width = 3
           Caption = '.'
           ParentColor = False
           ParentFont = False
         end
         object Label_GreenEquals: TLabel
           Left = 0
-          Height = 24
-          Top = 30
-          Width = 6
+          Height = 15
+          Top = 21
+          Width = 3
           Caption = '.'
           ParentColor = False
           ParentFont = False
         end
         object Label_BlueEquals: TLabel
           Left = 0
-          Height = 24
-          Top = 60
-          Width = 6
+          Height = 15
+          Top = 42
+          Width = 3
           Caption = '.'
           ParentColor = False
           ParentFont = False
@@ -188,14 +187,14 @@ object FFilterFunction: TFFilterFunction
       ChildSizing.LeftRightSpacing = 6
       ChildSizing.TopBottomSpacing = 6
       ChildSizing.VerticalSpacing = 6
-      ClientHeight = 166
-      ClientWidth = 614
+      ClientHeight = 108
+      ClientWidth = 408
       ParentFont = False
       object PanelHSL: TPanel
-        Left = 12
-        Height = 120
+        Left = 9
+        Height = 71
         Top = 6
-        Width = 596
+        Width = 393
         Align = alClient
         BevelOuter = bvNone
         ChildSizing.HorizontalSpacing = 6
@@ -203,14 +202,14 @@ object FFilterFunction: TFFilterFunction
         ChildSizing.EnlargeHorizontal = crsScaleChilds
         ChildSizing.Layout = cclLeftToRightThenTopToBottom
         ChildSizing.ControlsPerLine = 1
-        ClientHeight = 120
-        ClientWidth = 596
+        ClientHeight = 71
+        ClientWidth = 393
         TabOrder = 0
         object Edit_Hue: TEdit
           Left = 0
-          Height = 36
+          Height = 23
           Top = 0
-          Width = 596
+          Width = 393
           AutoSize = False
           OnChange = Edit_HueChange
           ParentFont = False
@@ -218,9 +217,9 @@ object FFilterFunction: TFFilterFunction
         end
         object Edit_Saturation: TEdit
           Left = 0
-          Height = 36
-          Top = 42
-          Width = 596
+          Height = 23
+          Top = 29
+          Width = 393
           AutoSize = False
           OnChange = Edit_SaturationChange
           ParentFont = False
@@ -228,9 +227,9 @@ object FFilterFunction: TFFilterFunction
         end
         object Edit_Lightness: TEdit
           Left = 0
-          Height = 36
-          Top = 84
-          Width = 596
+          Height = 23
+          Top = 58
+          Width = 393
           AutoSize = False
           OnChange = Edit_LightnessChange
           ParentFont = False
@@ -239,9 +238,9 @@ object FFilterFunction: TFFilterFunction
       end
       object CheckBox_GSBA: TCheckBox
         Left = 6
-        Height = 28
-        Top = 132
-        Width = 602
+        Height = 19
+        Top = 83
+        Width = 396
         Align = alBottom
         Caption = 'Corrected hue and lightness'
         OnChange = CheckBox_GSBAChange
@@ -250,41 +249,41 @@ object FFilterFunction: TFFilterFunction
       end
       object PanelLabelHSL: TPanel
         Left = 6
-        Height = 120
+        Height = 71
         Top = 6
-        Width = 6
+        Width = 3
         Align = alLeft
         AutoSize = True
         BevelOuter = bvNone
         ChildSizing.VerticalSpacing = 6
         ChildSizing.Layout = cclLeftToRightThenTopToBottom
         ChildSizing.ControlsPerLine = 1
-        ClientHeight = 120
-        ClientWidth = 6
+        ClientHeight = 71
+        ClientWidth = 3
         TabOrder = 2
         object Label_HueEquals: TLabel
           Left = 0
-          Height = 24
+          Height = 15
           Top = 0
-          Width = 6
+          Width = 3
           Caption = '.'
           ParentColor = False
           ParentFont = False
         end
         object Label_SaturationEquals: TLabel
           Left = 0
-          Height = 24
-          Top = 30
-          Width = 6
+          Height = 15
+          Top = 21
+          Width = 3
           Caption = '.'
           ParentColor = False
           ParentFont = False
         end
         object Label_LightnessEquals: TLabel
           Left = 0
-          Height = 24
-          Top = 60
-          Width = 6
+          Height = 15
+          Top = 42
+          Width = 3
           Caption = '.'
           ParentColor = False
           ParentFont = False
@@ -296,13 +295,13 @@ object FFilterFunction: TFFilterFunction
       ChildSizing.LeftRightSpacing = 6
       ChildSizing.TopBottomSpacing = 6
       ChildSizing.VerticalSpacing = 6
-      ClientHeight = 166
-      ClientWidth = 614
+      ClientHeight = 108
+      ClientWidth = 408
       object PanelLab: TPanel
-        Left = 12
-        Height = 154
+        Left = 9
+        Height = 96
         Top = 6
-        Width = 596
+        Width = 393
         Align = alClient
         BevelOuter = bvNone
         ChildSizing.HorizontalSpacing = 6
@@ -310,14 +309,14 @@ object FFilterFunction: TFFilterFunction
         ChildSizing.EnlargeHorizontal = crsScaleChilds
         ChildSizing.Layout = cclLeftToRightThenTopToBottom
         ChildSizing.ControlsPerLine = 1
-        ClientHeight = 154
-        ClientWidth = 596
+        ClientHeight = 96
+        ClientWidth = 393
         TabOrder = 0
         object Edit_L: TEdit
           Left = 0
-          Height = 36
+          Height = 23
           Top = 0
-          Width = 596
+          Width = 393
           AutoSize = False
           OnChange = Edit_LChange
           ParentFont = False
@@ -325,9 +324,9 @@ object FFilterFunction: TFFilterFunction
         end
         object Edit_a: TEdit
           Left = 0
-          Height = 36
-          Top = 42
-          Width = 596
+          Height = 23
+          Top = 29
+          Width = 393
           AutoSize = False
           OnChange = Edit_aChange
           ParentFont = False
@@ -335,9 +334,9 @@ object FFilterFunction: TFFilterFunction
         end
         object Edit_b: TEdit
           Left = 0
-          Height = 36
-          Top = 84
-          Width = 596
+          Height = 23
+          Top = 58
+          Width = 393
           AutoSize = False
           OnChange = Edit_bChange
           ParentFont = False
@@ -346,41 +345,41 @@ object FFilterFunction: TFFilterFunction
       end
       object PanelLabelLab: TPanel
         Left = 6
-        Height = 154
+        Height = 96
         Top = 6
-        Width = 6
+        Width = 3
         Align = alLeft
         AutoSize = True
         BevelOuter = bvNone
         ChildSizing.VerticalSpacing = 6
         ChildSizing.Layout = cclLeftToRightThenTopToBottom
         ChildSizing.ControlsPerLine = 1
-        ClientHeight = 154
-        ClientWidth = 6
+        ClientHeight = 96
+        ClientWidth = 3
         TabOrder = 1
         object Label_LEquals: TLabel
           Left = 0
-          Height = 24
+          Height = 15
           Top = 0
-          Width = 6
+          Width = 3
           Caption = '.'
           ParentColor = False
           ParentFont = False
         end
         object Label_aEquals: TLabel
           Left = 0
-          Height = 24
-          Top = 30
-          Width = 6
+          Height = 15
+          Top = 21
+          Width = 3
           Caption = '.'
           ParentColor = False
           ParentFont = False
         end
         object Label_bEquals: TLabel
           Left = 0
-          Height = 24
-          Top = 60
-          Width = 6
+          Height = 15
+          Top = 42
+          Width = 3
           Caption = '.'
           ParentColor = False
           ParentFont = False
@@ -389,25 +388,35 @@ object FFilterFunction: TFFilterFunction
     end
   end
   object Label_Variables: TLabel
-    Left = 14
-    Height = 24
-    Top = 12
-    Width = 104
+    Left = 9
+    Height = 15
+    Top = 8
+    Width = 52
     Caption = 'Variables :'
     ParentColor = False
     ParentFont = False
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 21
+    Height = 19
+    Top = 208
+    Width = 20
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 4
+  end
   object Timer1: TTimer
     Enabled = False
     Interval = 30
     OnTimer = Timer1Timer
-    left = 300
-    top = 60
+    Left = 200
+    Top = 40
   end
   object Timer_AdjustVerticalSize: TTimer
     Interval = 20
     OnTimer = Timer_AdjustVerticalSizeTimer
-    left = 452
-    top = 25
+    Left = 301
+    Top = 17
   end
 end

+ 2 - 2
lazpaint/dialog/filter/ufilterfunction.lrj

@@ -1,7 +1,7 @@
 {"version":1,"strings":[
 {"hash":221847054,"name":"tffilterfunction.caption","sourcebytes":[65,112,112,108,121,32,102,117,110,99,116,105,111,110],"value":"Apply function"},
-{"hash":1339,"name":"tffilterfunction.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tffilterfunction.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"},
+{"hash":497723,"name":"tffilterfunction.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tffilterfunction.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"},
 {"hash":46,"name":"tffilterfunction.label_alphaequals.caption","sourcebytes":[46],"value":"."},
 {"hash":22194,"name":"tffilterfunction.tabsheet_rgb.caption","sourcebytes":[82,71,66],"value":"RGB"},
 {"hash":193524366,"name":"tffilterfunction.checkbox_gamma.caption","sourcebytes":[71,97,109,109,97,32,99,111,114,114,101,99,116,105,111,110],"value":"Gamma correction"},

+ 32 - 7
lazpaint/dialog/filter/ufilterfunction.pas

@@ -22,6 +22,7 @@ type
   TFFilterFunction = class(TForm)
     Button_Cancel: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     CheckBox_Gamma: TCheckBox;
     CheckBox_GSBA: TCheckBox;
     Edit_Alpha: TEdit;
@@ -61,6 +62,7 @@ type
     procedure Button_OKClick(Sender: TObject);
     procedure CheckBox_GammaChange(Sender: TObject);
     procedure CheckBox_GSBAChange(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure Edit_aChange(Sender: TObject);
     procedure Edit_AlphaChange(Sender: TObject);
     procedure Edit_bChange(Sender: TObject);
@@ -85,7 +87,8 @@ type
     FRedError, FGreenError, FBlueError, FAlphaError,
     FHueError, FSaturationError, FLightnessError,
     FLError, FaError, FbError: boolean;
-    FComputing: boolean;
+    FComputing,
+    FComputationRestarted: boolean;
     FSourceAsLab: TLabABitmap;
     FComputedImage: TBGRABitmap;
     FComputedLines: integer;
@@ -115,7 +118,7 @@ function ShowFilterFunctionDlg(AFilterConnector: TObject): TScriptResult;
 
 implementation
 
-uses UMac, LazPaintType, math;
+uses UMac, LazPaintType, UResourceStrings, math;
 
 function ShowFilterFunctionDlg(AFilterConnector: TObject): TScriptResult;
 var
@@ -502,9 +505,11 @@ begin
   Timer1.Enabled:= false;
   if FComputing then
   begin
-    if FComputedImage = nil then
-    begin
+    if (FComputedImage = nil)  then
       FComputedImage := TBGRABitmap.Create(FFilterConnector.BackupLayer.Width,FFilterConnector.BackupLayer.Height);
+    if FComputationRestarted then
+    begin
+      FComputationRestarted := false;
       FComputedLines := FFilterConnector.WorkArea.Top;
       FFilterConnector.RestoreBackup;
     end;
@@ -699,12 +704,13 @@ begin
 
       end;
     end;
-    FFilterConnector.PutImage(FComputedImage, rect(0,prevComputedLines,FComputedImage.Width,FComputedLines), True,False);
+    if CheckBox_Preview.Checked then
+      FFilterConnector.PutImage(FComputedImage, rect(0,prevComputedLines,FComputedImage.Width,FComputedLines), True,False);
     if FComputedLines = FFilterConnector.WorkArea.Bottom then
     begin
-      FreeAndNil(FComputedImage);
       FComputing := false;
       Button_OK.Enabled := true;
+      CheckBox_Preview.Enabled := true;
     end;
     Timer1.Interval := 15;
     Timer1.Enabled := True;
@@ -754,15 +760,17 @@ end;
 procedure TFFilterFunction.PreviewNeeded;
 begin
   Timer1.Enabled := False;
-  FreeAndNil(FComputedImage);
   FComputing := false;
   Button_OK.Enabled := false;
+  CheckBox_Preview.Enabled := false;
+  FComputationRestarted := false;
 
   if not FAlphaError and not FGreenError and not FBlueError and not FRedError
     and not FHueError and not FSaturationError and not FLightnessError then
   begin
     FComputing := True;
     FComputedLines := 0;
+    FComputationRestarted := true;
     Timer1.Interval := 200;
     Timer1.Enabled := True;
   end;
@@ -814,6 +822,11 @@ begin
   Edit_LChange(nil);
   Edit_aChange(nil);
   Edit_bChange(nil);
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing:= false;
 end;
 
@@ -1043,6 +1056,9 @@ end;
 
 procedure TFFilterFunction.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked then
+    FFilterConnector.PutImage(FComputedImage,True,False);
+
   FFilterConnector.ValidateAction;
   ModalResult := mrOK;
 end;
@@ -1066,6 +1082,15 @@ begin
   end;
 end;
 
+procedure TFFilterFunction.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    FFilterConnector.PutImage(FComputedImage,True,False)
+  else
+    FFilterConnector.RestoreBackup;
+end;
+
 procedure TFFilterFunction.Edit_aChange(Sender: TObject);
 begin
   UpdateExpr(FaExpr,Edit_a,FaError);

+ 28 - 18
lazpaint/dialog/filter/umotionblur.lfm

@@ -1,6 +1,6 @@
 object FMotionBlur: TFMotionBlur
   Left = 438
-  Height = 217
+  Height = 236
   Top = 173
   Width = 148
   AutoSize = True
@@ -13,25 +13,26 @@ object FMotionBlur: TFMotionBlur
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 217
+  ClientHeight = 236
   ClientWidth = 148
   Font.Height = -12
   OnCloseQuery = FormCloseQuery
   OnCreate = FormCreate
+  OnDestroy = FormDestroy
   OnShow = FormShow
   Position = poScreenCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Panel1: TPanel
     Left = 8
     Height = 23
     Top = 8
-    Width = 124
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 23
-    ClientWidth = 124
+    ClientWidth = 130
     TabOrder = 1
     object Label_Distance: TLabel
       Left = 0
@@ -51,7 +52,6 @@ object FMotionBlur: TFMotionBlur
       DecimalPlaces = 1
       Increment = 3
       MaxValue = 1000
-      MinValue = 0
       OnChange = SpinEdit_DistanceChange
       TabOrder = 0
       Value = 5
@@ -61,7 +61,7 @@ object FMotionBlur: TFMotionBlur
     Left = 8
     Height = 19
     Top = 39
-    Width = 124
+    Width = 130
     Caption = 'Oriented'
     Checked = True
     OnChange = Checkbox_OrientedChange
@@ -72,43 +72,53 @@ object FMotionBlur: TFMotionBlur
     Left = 8
     Height = 105
     Top = 66
-    Width = 124
+    Width = 130
     OnMouseDown = PaintBox1MouseDown
     OnMouseMove = PaintBox1MouseMove
     OnMouseUp = PaintBox1MouseUp
     OnPaint = PaintBox1Paint
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 179
+    Width = 130
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 3
+  end
   object Panel2: TPanel
     Left = 8
     Height = 25
-    Top = 179
-    Width = 124
+    Top = 206
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 25
-    ClientWidth = 124
+    ClientWidth = 130
     TabOrder = 2
     object Button_OK: TButton
       Left = 0
       Height = 25
       Top = 0
-      Width = 42
+      Width = 51
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
       OnClick = Button_OKClick
       TabOrder = 0
     end
     object Button_Cancel: TButton
-      Left = 50
+      Left = 59
       Height = 25
       Top = 0
-      Width = 62
+      Width = 71
       AutoSize = True
       Cancel = True
-      Caption = 'Cancel'
+      Caption = 'rsCancel'
       ModalResult = 2
       TabOrder = 1
     end
@@ -117,7 +127,7 @@ object FMotionBlur: TFMotionBlur
     Enabled = False
     Interval = 200
     OnTimer = Timer1Timer
-    left = 112
-    top = 96
+    Left = 112
+    Top = 96
   end
 end

+ 2 - 2
lazpaint/dialog/filter/umotionblur.lrj

@@ -2,6 +2,6 @@
 {"hash":106100930,"name":"tfmotionblur.caption","sourcebytes":[77,111,116,105,111,110,32,98,108,117,114],"value":"Motion blur"},
 {"hash":176170906,"name":"tfmotionblur.label_distance.caption","sourcebytes":[68,105,115,116,97,110,99,101,32,58],"value":"Distance :"},
 {"hash":150757332,"name":"tfmotionblur.checkbox_oriented.caption","sourcebytes":[79,114,105,101,110,116,101,100],"value":"Oriented"},
-{"hash":1339,"name":"tfmotionblur.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tfmotionblur.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"}
+{"hash":497723,"name":"tfmotionblur.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tfmotionblur.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"}
 ]}

+ 46 - 3
lazpaint/dialog/filter/umotionblur.pas

@@ -17,6 +17,7 @@ type
   TFMotionBlur = class(TForm)
     Button_OK: TButton;
     Button_Cancel: TButton;
+    CheckBox_Preview: TCheckBox;
     Checkbox_Oriented: TCheckBox;
     Panel1: TPanel;
     Panel2: TPanel;
@@ -26,8 +27,10 @@ type
     Timer1: TTimer;
     procedure Button_OKClick(Sender: TObject);
     procedure Checkbox_OrientedChange(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
     procedure FormCreate(Sender: TObject);
+    procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure PaintBox1MouseDown(Sender: TObject; Button: TMouseButton;
       {%H-}Shift: TShiftState; X, Y: Integer);
@@ -47,7 +50,9 @@ type
     selectingAngle: boolean;
     InPaintBoxMouseMove: boolean;
     PaintBoxMouseMovePos: TPoint;
-    FQuitQuery: boolean;
+    FQuitQuery,
+    FInitializing: boolean;
+    FComputedImage: TBGRABitmap;
     procedure UpdateStep;
     procedure ComputeAngle(X,Y: integer);
     procedure InitParams;
@@ -59,7 +64,7 @@ function ShowMotionBlurDlg(AFilterConnector: TObject): TScriptResult;
 
 implementation
 
-uses BGRABitmapTypes, math, ugraph, umac, BGRAFilters;
+uses BGRABitmapTypes, math, ugraph, umac, UResourceStrings, BGRAFilters;
 
 function ShowMotionBlurDlg(AFilterConnector: TObject): TScriptResult;
 var
@@ -186,6 +191,13 @@ begin
     angle := FVars.Floats['Angle']
   else
     angle := FFilterConnector.LazPaintInstance.Config.DefaultBlurMotionAngle;
+
+  FInitializing := true;
+  CheckBox_Preview.Checked := true;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
+  FInitializing := false;
 end;
 
 procedure TFMotionBlur.PreviewNeeded;
@@ -205,7 +217,16 @@ begin
       if FThreadManager.ReadyToClose then
         Close
       else
-        if AEvent = tmeCompletedTask then Button_OK.Enabled := true;
+        if AEvent = tmeCompletedTask then begin
+          Button_OK.Enabled := true;
+          CheckBox_Preview.Enabled := true;
+        end;
+
+      if FComputedImage <> nil then FComputedImage.Free;
+      case AEvent of
+        tmeAbortedTask: FComputedImage := FFilterConnector.BackupLayer.Duplicate;
+        tmeCompletedTask: FComputedImage := FFilterConnector.ActiveLayer.Duplicate;
+      end;
     end;
   tmeStartingNewTask:
     begin
@@ -213,6 +234,11 @@ begin
       Timer1.Interval := 100;
       Timer1.Enabled := true;
       Button_OK.Enabled := false;
+
+      FInitializing := True;
+      CheckBox_Preview.Enabled := false;
+      CheckBox_Preview.Checked := True;
+      FInitializing := False;
     end;
   end;
 end;
@@ -227,6 +253,11 @@ begin
   SpinEdit_Distance.Constraints.MinWidth := DoScaleX(70, OriginalDPI);
 end;
 
+procedure TFMotionBlur.FormDestroy(Sender: TObject);
+begin
+  if FComputedImage <> nil then FreeAndNil(FComputedImage);
+end;
+
 procedure TFMotionBlur.FormShow(Sender: TObject);
 begin
   FQuitQuery := false;
@@ -262,6 +293,9 @@ end;
 
 procedure TFMotionBlur.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked and
+    (FComputedImage <> nil) then FFilterConnector.PutImage(FComputedImage,false,false);
+
   if not FFilterConnector.ActionDone then
   begin
     FFilterConnector.ValidateAction;
@@ -278,6 +312,15 @@ begin
   PreviewNeeded;
 end;
 
+procedure TFMotionBlur.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    FFilterConnector.PutImage(FComputedImage, false, false)
+  else
+   FFilterConnector.RestoreBackup;
+end;
+
 procedure TFMotionBlur.FormCloseQuery(Sender: TObject; var CanClose: boolean);
 begin
   FThreadManager.Quit;

+ 43 - 33
lazpaint/dialog/filter/unoisefilter.lfm

@@ -1,6 +1,6 @@
 object FNoiseFilter: TFNoiseFilter
   Left = 367
-  Height = 125
+  Height = 144
   Top = 354
   Width = 154
   AutoSize = True
@@ -13,7 +13,7 @@ object FNoiseFilter: TFNoiseFilter
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 125
+  ClientHeight = 144
   ClientWidth = 154
   OnCloseQuery = FormCloseQuery
   OnCreate = FormCreate
@@ -21,31 +21,31 @@ object FNoiseFilter: TFNoiseFilter
   OnHide = FormHide
   OnShow = FormShow
   Position = poOwnerFormCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Panel3: TPanel
     Left = 8
-    Height = 48
+    Height = 38
     Top = 8
-    Width = 127
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 1
-    ClientHeight = 48
-    ClientWidth = 127
+    ClientHeight = 38
+    ClientWidth = 130
     TabOrder = 2
     object Radio_GrayscaleNoise: TRadioButton
       Left = 0
-      Height = 24
+      Height = 19
       Top = 0
-      Width = 126
+      Width = 101
       Caption = 'Grayscale noise'
       TabOrder = 0
     end
     object Radio_RGBNoise: TRadioButton
       Left = 0
-      Height = 24
-      Top = 24
-      Width = 126
+      Height = 19
+      Top = 19
+      Width = 101
       Caption = 'RGB noise'
       Checked = True
       OnChange = Radio_NoiseChange
@@ -55,29 +55,29 @@ object FNoiseFilter: TFNoiseFilter
   end
   object Panel1: TPanel
     Left = 8
-    Height = 28
-    Top = 64
-    Width = 127
+    Height = 23
+    Top = 54
+    Width = 130
     AutoSize = True
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 28
-    ClientWidth = 127
+    ClientHeight = 23
+    ClientWidth = 130
     TabOrder = 0
     object Label_Opacity: TLabel
       Left = 0
-      Height = 28
+      Height = 23
       Top = 0
-      Width = 54
+      Width = 44
       Caption = 'Opacity:'
       Layout = tlCenter
       ParentColor = False
     end
     object SpinEdit_Alpha: TSpinEdit
-      Left = 62
-      Height = 28
+      Left = 52
+      Height = 23
       Top = 0
       Width = 65
       Constraints.MinWidth = 65
@@ -89,38 +89,48 @@ object FNoiseFilter: TFNoiseFilter
       Value = 255
     end
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 85
+    Width = 130
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 3
+  end
   object Panel2: TPanel
     Left = 8
-    Height = 30
-    Top = 100
-    Width = 127
+    Height = 25
+    Top = 112
+    Width = 130
     AutoSize = True
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 30
-    ClientWidth = 127
+    ClientHeight = 25
+    ClientWidth = 130
     TabOrder = 1
     object Button_OK: TButton
       Left = 0
-      Height = 30
+      Height = 25
       Top = 0
-      Width = 46
+      Width = 51
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
       OnClick = Button_OKClick
       TabOrder = 0
     end
     object Button_Cancel: TButton
-      Left = 54
-      Height = 30
+      Left = 59
+      Height = 25
       Top = 0
-      Width = 70
+      Width = 71
       AutoSize = True
       Cancel = True
-      Caption = 'Cancel'
+      Caption = 'rsCancel'
       ModalResult = 2
       TabOrder = 1
     end

+ 2 - 2
lazpaint/dialog/filter/unoisefilter.lrj

@@ -3,6 +3,6 @@
 {"hash":243178037,"name":"tfnoisefilter.radio_grayscalenoise.caption","sourcebytes":[71,114,97,121,115,99,97,108,101,32,110,111,105,115,101],"value":"Grayscale noise"},
 {"hash":74782245,"name":"tfnoisefilter.radio_rgbnoise.caption","sourcebytes":[82,71,66,32,110,111,105,115,101],"value":"RGB noise"},
 {"hash":108662442,"name":"tfnoisefilter.label_opacity.caption","sourcebytes":[79,112,97,99,105,116,121,58],"value":"Opacity:"},
-{"hash":1339,"name":"tfnoisefilter.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tfnoisefilter.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"}
+{"hash":497723,"name":"tfnoisefilter.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tfnoisefilter.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"}
 ]}

+ 33 - 7
lazpaint/dialog/filter/unoisefilter.pas

@@ -16,6 +16,7 @@ type
   TFNoiseFilter = class(TForm)
     Button_Cancel: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     Label_Opacity: TLabel;
     Panel1: TPanel;
     Panel2: TPanel;
@@ -24,6 +25,7 @@ type
     Radio_RGBNoise: TRadioButton;
     SpinEdit_Alpha: TSpinEdit;
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCloseQuery(Sender: TObject; var {%H-}CanClose: boolean);
     procedure FormDestroy(Sender: TObject);
     procedure FormHide(Sender: TObject);
@@ -36,6 +38,7 @@ type
     FComputedLayer: TBGRABitmap;
     FClosing: boolean;
     procedure InitParams;
+    procedure PutComputedLayerToFilterConnector;
   public
     FInitializing: boolean;
     FFilterConnector: TFilterConnector;
@@ -47,7 +50,7 @@ function ShowNoiseFilterDlg(AFilterConnector: TObject): TScriptResult;
 
 implementation
 
-uses BGRAGradientScanner, umac, LCScaleDPI, LazPaintType;
+uses BGRAGradientScanner, umac, LCScaleDPI, LazPaintType, UResourceStrings;
 
 function ShowNoiseFilterDlg(AFilterConnector: TObject): TScriptResult;
 var
@@ -84,10 +87,22 @@ end;
 
 procedure TFNoiseFilter.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked then
+    PutComputedLayerToFilterConnector;
+
   FFilterConnector.ValidateAction;
   ModalResult := mrOK;
 end;
 
+procedure TFNoiseFilter.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    PutComputedLayerToFilterConnector
+  else
+    FFilterConnector.RestoreBackup;
+end;
+
 procedure TFNoiseFilter.FormCloseQuery(Sender: TObject; var CanClose: boolean);
 begin
   FClosing := true;
@@ -153,9 +168,24 @@ begin
     if Booleans['Grayscale'] then Radio_GrayscaleNoise.Checked:= true;
     if IsDefined('Opacity') then SpinEdit_Alpha.Value := Integers['Opacity'];
   end;
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing:= false;
 end;
 
+procedure TFNoiseFilter.PutComputedLayerToFilterConnector;
+begin
+  if SpinEdit_Alpha.Value <> 255 then
+  begin
+    FFilterConnector.RestoreBackup;
+    FFilterConnector.PutImage(FComputedLayer,Radio_RGBNoise.Checked,False,dmDrawWithTransparency);
+  end else
+    FFilterConnector.PutImage(FComputedLayer,Radio_RGBNoise.Checked,False,dmSet);
+end;
+
 procedure TFNoiseFilter.ComputeFilteredLayer;
 var scan: TBGRARandomScanner;
 begin
@@ -169,12 +199,8 @@ end;
 procedure TFNoiseFilter.PreviewNeeded(ARecomputeRandom: boolean);
 begin
   if ARecomputeRandom or (FComputedLayer = nil) then ComputeFilteredLayer;
-  if SpinEdit_Alpha.Value <> 255 then
-  begin
-    FFilterConnector.RestoreBackup;
-    FFilterConnector.PutImage(FComputedLayer,Radio_RGBNoise.Checked,False,dmDrawWithTransparency);
-  end else
-    FFilterConnector.PutImage(FComputedLayer,Radio_RGBNoise.Checked,False,dmSet);
+  if not CheckBox_Preview.Checked then exit;
+  PutComputedLayerToFilterConnector;
 end;
 
 end.

+ 22 - 12
lazpaint/dialog/filter/uphongfilter.lfm

@@ -1,25 +1,25 @@
 object FPhongFilter: TFPhongFilter
   Left = 402
-  Height = 191
+  Height = 210
   Top = 127
   Width = 509
   BorderIcons = [biSystemMenu]
   BorderStyle = bsDialog
   Caption = 'Shaded map'
-  ClientHeight = 191
+  ClientHeight = 210
   ClientWidth = 509
   OnCreate = FormCreate
   OnDestroy = FormDestroy
   OnShow = FormShow
   Position = poScreenCenter
-  LCLVersion = '1.1'
+  LCLVersion = '2.2.4.0'
   object Button_OK: TButton
     Left = 175
     Height = 22
-    Top = 162
+    Top = 181
     Width = 59
     Anchors = [akLeft, akBottom]
-    Caption = 'OK'
+    Caption = 'rsOK'
     Default = True
     OnClick = Button_OKClick
     TabOrder = 0
@@ -27,11 +27,11 @@ object FPhongFilter: TFPhongFilter
   object Button_Cancel: TButton
     Left = 241
     Height = 22
-    Top = 162
+    Top = 181
     Width = 73
     Anchors = [akLeft, akBottom]
     Cancel = True
-    Caption = 'Cancel'
+    Caption = 'rsCancel'
     ModalResult = 2
     TabOrder = 1
   end
@@ -71,7 +71,7 @@ object FPhongFilter: TFPhongFilter
     Top = 4
     Width = 128
     Caption = 'Color'
-    ClientHeight = 88
+    ClientHeight = 86
     ClientWidth = 124
     TabOrder = 3
     object Radio_UsePenColor: TRadioButton
@@ -96,7 +96,7 @@ object FPhongFilter: TFPhongFilter
       Left = 6
       Height = 19
       Top = 63
-      Width = 99
+      Width = 100
       Caption = 'Current texture'
       OnChange = Radio_UseChange
       TabOrder = 2
@@ -124,7 +124,7 @@ object FPhongFilter: TFPhongFilter
     Top = 4
     Width = 152
     Caption = 'Altitude map'
-    ClientHeight = 100
+    ClientHeight = 98
     ClientWidth = 148
     TabOrder = 4
     object Radio_MapAlpha: TRadioButton
@@ -193,11 +193,21 @@ object FPhongFilter: TFPhongFilter
       TabOrder = 4
     end
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 14
+    Height = 19
+    Top = 160
+    Width = 20
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 5
+  end
   object Timer1: TTimer
     Enabled = False
     Interval = 200
     OnTimer = Timer1Timer
-    left = 312
-    top = 176
+    Left = 312
+    Top = 176
   end
 end

+ 2 - 2
lazpaint/dialog/filter/uphongfilter.lrj

@@ -1,7 +1,7 @@
 {"version":1,"strings":[
 {"hash":179572208,"name":"tfphongfilter.caption","sourcebytes":[83,104,97,100,101,100,32,109,97,112],"value":"Shaded map"},
-{"hash":1339,"name":"tfphongfilter.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tfphongfilter.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"},
+{"hash":497723,"name":"tfphongfilter.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tfphongfilter.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"},
 {"hash":118747402,"name":"tfphongfilter.label_altitude.caption","sourcebytes":[71,108,111,98,97,108,32,97,108,116,105,116,117,100,101,32,58],"value":"Global altitude :"},
 {"hash":4875106,"name":"tfphongfilter.groupbox_color.caption","sourcebytes":[67,111,108,111,114],"value":"Color"},
 {"hash":6952354,"name":"tfphongfilter.radio_usepencolor.caption","sourcebytes":[80,101,110,32,99,111,108,111,114],"value":"Pen color"},

+ 28 - 3
lazpaint/dialog/filter/uphongfilter.pas

@@ -17,6 +17,7 @@ type
   TFPhongFilter = class(TForm)
     Button_Cancel: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     GroupBox_Color: TGroupBox;
     GroupBox_Color1: TGroupBox;
     Label_LightPosition: TLabel;
@@ -36,6 +37,7 @@ type
     SpinEdit_Altitude: TSpinEdit;
     Timer1: TTimer;
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
@@ -52,7 +54,8 @@ type
     { private declarations }
     FInitializing: boolean;
     FCenter: TPointF;
-    FHeightMap: TBGRABitmap;
+    FHeightMap,
+    FComputedImage: TBGRABitmap;
     FWorkspaceColor: TColor;
     FTexture: TBGRACustomBitmap;
     function GetCurrentLightPos: TPointF;
@@ -68,7 +71,7 @@ function ShowPhongFilterDlg(AFilterConnector: TObject): TScriptResult;
 
 implementation
 
-uses LCScaleDPI, UMac, BGRAGradients, LazPaintType;
+uses LCScaleDPI, UMac, BGRAGradients, LazPaintType, UResourceStrings;
 
 function ShowPhongFilterDlg(AFilterConnector: TObject): TScriptResult;
 var
@@ -105,12 +108,24 @@ end;
 
 procedure TFPhongFilter.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked then
+    FilterConnector.PutImage(FComputedImage, True, false);
+
   FilterConnector.ValidateAction;
   FilterConnector.LazPaintInstance.Config.SetDefaultPhongFilterAltitude(SpinEdit_Altitude.Value);
   FilterConnector.LazPaintInstance.ToolManager.LightPosition := CurrentLightPos;
   ModalResult := mrOK;
 end;
 
+procedure TFPhongFilter.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    FilterConnector.PutImage(FComputedImage, true, false)
+  else
+   FilterConnector.RestoreBackup;
+end;
+
 procedure TFPhongFilter.FormCreate(Sender: TObject);
 begin
   ScaleControl(Self,OriginalDPI);
@@ -123,6 +138,7 @@ procedure TFPhongFilter.FormDestroy(Sender: TObject);
 begin
   FreeAndNil(FHeightMap);
   if Assigned(FTexture) then FTexture.Free;
+  if Assigned(FComputedImage) then FComputedImage.Free;
 end;
 
 
@@ -198,8 +214,11 @@ end;
 procedure TFPhongFilter.Timer1Timer(Sender: TObject);
 begin
   Timer1.Enabled := false;
-  FilterConnector.PutImage(ComputeFilteredLayer,True,true);
+  if FComputedImage <> nil then FComputedImage.Free;
+  FComputedImage := ComputeFilteredLayer;
+  if CheckBox_Preview.Checked then FilterConnector.PutImage(FComputedImage,True,false);
   Button_OK.Enabled := true;
+  CheckBox_Preview.Enabled := true;
 end;
 
 procedure TFPhongFilter.PreviewNeeded;
@@ -207,6 +226,7 @@ begin
   Timer1.Enabled := false;
   Timer1.Enabled := True;
   Button_OK.Enabled := false;
+  CheckBox_Preview.Enabled := false;
 end;
 
 function TFPhongFilter.GetCurrentLightPos: TPointF;
@@ -271,6 +291,11 @@ begin
     end;
   end;
   SpinEdit_AltitudeChange(nil);
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing := false;
 end;
 

+ 24 - 14
lazpaint/dialog/filter/uposterize.lfm

@@ -1,6 +1,6 @@
 object FPosterize: TFPosterize
   Left = 345
-  Height = 114
+  Height = 133
   Top = 163
   Width = 148
   AutoSize = True
@@ -13,23 +13,23 @@ object FPosterize: TFPosterize
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 114
+  ClientHeight = 133
   ClientWidth = 148
   OnCreate = FormCreate
   OnShow = FormShow
   Position = poScreenCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Panel1: TPanel
     Left = 8
     Height = 23
     Top = 8
-    Width = 112
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 23
-    ClientWidth = 112
+    ClientWidth = 130
     TabOrder = 1
     object Label_Levels: TLabel
       Left = 0
@@ -57,40 +57,50 @@ object FPosterize: TFPosterize
     Left = 8
     Height = 19
     Top = 39
-    Width = 112
+    Width = 130
     Caption = 'By lightness'
     OnChange = CheckBox_ByLightnessChange
     TabOrder = 0
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 66
+    Width = 130
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 3
+  end
   object Panel2: TPanel
     Left = 8
     Height = 25
-    Top = 66
-    Width = 112
+    Top = 93
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 25
-    ClientWidth = 112
+    ClientWidth = 130
     TabOrder = 2
     object Button_OK: TButton
       Left = 0
       Height = 25
       Top = 0
-      Width = 42
-      Caption = 'OK'
+      Width = 51
+      Caption = 'rsOK'
       Default = True
       OnClick = Button_OKClick
       TabOrder = 0
     end
     object Button_Cancel: TButton
-      Left = 50
+      Left = 59
       Height = 25
       Top = 0
-      Width = 62
+      Width = 71
       Cancel = True
-      Caption = 'Cancel'
+      Caption = 'rsCancel'
       ModalResult = 2
       TabOrder = 1
     end

+ 2 - 2
lazpaint/dialog/filter/uposterize.lrj

@@ -2,6 +2,6 @@
 {"hash":179103845,"name":"tfposterize.caption","sourcebytes":[80,111,115,116,101,114,105,122,101],"value":"Posterize"},
 {"hash":214708250,"name":"tfposterize.label_levels.caption","sourcebytes":[76,101,118,101,108,115,32,58],"value":"Levels :"},
 {"hash":157433427,"name":"tfposterize.checkbox_bylightness.caption","sourcebytes":[66,121,32,108,105,103,104,116,110,101,115,115],"value":"By lightness"},
-{"hash":1339,"name":"tfposterize.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tfposterize.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"}
+{"hash":497723,"name":"tfposterize.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tfposterize.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"}
 ]}

+ 23 - 3
lazpaint/dialog/filter/uposterize.pas

@@ -16,6 +16,7 @@ type
   TFPosterize = class(TForm)
     Button_Cancel: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     CheckBox_ByLightness: TCheckBox;
     Label_Levels: TLabel;
     Panel1: TPanel;
@@ -23,6 +24,7 @@ type
     SpinEdit_Levels: TSpinEdit;
     procedure Button_OKClick(Sender: TObject);
     procedure CheckBox_ByLightnessChange(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure SpinEdit_LevelsChange(Sender: TObject);
@@ -41,7 +43,7 @@ function ShowPosterizeDlg(AInstance: TLazPaintCustomInstance; AParameters: TVari
 
 implementation
 
-uses BGRABitmapTypes, LCScaleDPI, UMac, UColorFilters, math;
+uses BGRABitmapTypes, LCScaleDPI, UMac, UColorFilters, UResourceStrings, math;
 
 function ShowPosterizeDlg(AInstance: TLazPaintCustomInstance; AParameters: TVariableSet): TScriptResult;
 var FPosterize: TFPosterize;
@@ -95,6 +97,8 @@ end;
 
 procedure TFPosterize.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked then PreviewNeeded;
+
   FFilterConnector.ValidateAction;
   FFilterConnector.LazPaintInstance.Config.SetDefaultPosterizeLevels(SpinEdit_Levels.Value);
   FFilterConnector.LazPaintInstance.Config.SetDefaultPosterizeByLightness(CheckBox_ByLightness.Checked);
@@ -103,7 +107,17 @@ end;
 
 procedure TFPosterize.CheckBox_ByLightnessChange(Sender: TObject);
 begin
-  if not FInitializing then PreviewNeeded;
+  if not FInitializing and
+    CheckBox_Preview.Checked then PreviewNeeded;
+end;
+
+procedure TFPosterize.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    PreviewNeeded
+  else
+   FFilterConnector.RestoreBackup;
 end;
 
 procedure TFPosterize.FormShow(Sender: TObject);
@@ -115,7 +129,8 @@ end;
 
 procedure TFPosterize.SpinEdit_LevelsChange(Sender: TObject);
 begin
-  if not FInitializing then PreviewNeeded;
+  if not FInitializing and
+    CheckBox_Preview.Checked then PreviewNeeded;
 end;
 
 procedure TFPosterize.OnTryStopAction(sender: TFilterConnector);
@@ -136,6 +151,11 @@ begin
     CheckBox_ByLightness.Checked := FFilterConnector.Parameters.Booleans['ByLightness']
   else
     CheckBox_ByLightness.Checked := FFilterConnector.LazPaintInstance.Config.DefaultPosterizeByLightness;
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing := false;
 end;
 

+ 36 - 25
lazpaint/dialog/filter/uradialblur.lfm

@@ -1,6 +1,6 @@
 object FRadialBlur: TFRadialBlur
   Left = 403
-  Height = 82
+  Height = 101
   Top = 328
   Width = 175
   AutoSize = True
@@ -13,38 +13,39 @@ object FRadialBlur: TFRadialBlur
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 82
+  ClientHeight = 101
   ClientWidth = 175
   Font.Height = -12
   OnCloseQuery = FormCloseQuery
   OnCreate = FormCreate
+  OnDestroy = FormDestroy
   OnShow = FormShow
   Position = poOwnerFormCenter
-  LCLVersion = '2.0.2.0'
+  LCLVersion = '2.2.4.0'
   object Panel1: TPanel
     Left = 8
-    Height = 27
+    Height = 23
     Top = 8
-    Width = 126
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 27
-    ClientWidth = 126
+    ClientHeight = 23
+    ClientWidth = 130
     TabOrder = 0
     object Label_Radius: TLabel
       Left = 0
-      Height = 27
+      Height = 23
       Top = 0
-      Width = 48
+      Width = 41
       Caption = 'Radius :'
       Layout = tlCenter
       ParentColor = False
     end
     object SpinEdit_Radius: TFloatSpinEdit
-      Left = 56
-      Height = 27
+      Left = 49
+      Height = 23
       Top = 0
       Width = 70
       Constraints.MinWidth = 70
@@ -56,37 +57,47 @@ object FRadialBlur: TFRadialBlur
       Value = 5
     end
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 39
+    Width = 130
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 2
+  end
   object Panel2: TPanel
     Left = 8
-    Height = 29
-    Top = 43
-    Width = 126
+    Height = 25
+    Top = 66
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 29
-    ClientWidth = 126
+    ClientHeight = 25
+    ClientWidth = 130
     TabOrder = 1
     object Button_OK: TButton
       Left = 0
-      Height = 29
+      Height = 25
       Top = 0
-      Width = 31
+      Width = 51
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
       OnClick = Button_OKClick
       TabOrder = 0
     end
     object Button_Cancel: TButton
-      Left = 39
-      Height = 29
+      Left = 59
+      Height = 25
       Top = 0
-      Width = 54
+      Width = 71
       AutoSize = True
       Cancel = True
-      Caption = 'Cancel'
+      Caption = 'rsCancel'
       ModalResult = 2
       TabOrder = 1
     end
@@ -95,7 +106,7 @@ object FRadialBlur: TFRadialBlur
     Enabled = False
     Interval = 200
     OnTimer = Timer1Timer
-    left = 128
-    top = 8
+    Left = 128
+    Top = 8
   end
 end

+ 2 - 2
lazpaint/dialog/filter/uradialblur.lrj

@@ -1,6 +1,6 @@
 {"version":1,"strings":[
 {"hash":129960242,"name":"tfradialblur.caption","sourcebytes":[82,97,100,105,97,108,32,98,108,117,114],"value":"Radial blur"},
 {"hash":129024186,"name":"tfradialblur.label_radius.caption","sourcebytes":[82,97,100,105,117,115,32,58],"value":"Radius :"},
-{"hash":1339,"name":"tfradialblur.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tfradialblur.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"}
+{"hash":497723,"name":"tfradialblur.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tfradialblur.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"}
 ]}

+ 41 - 2
lazpaint/dialog/filter/uradialblur.pas

@@ -18,6 +18,7 @@ type
     Button_OK: TButton;
     Button_Cancel: TButton;
     Button3: TButton;
+    CheckBox_Preview: TCheckBox;
     Panel1: TPanel;
     Panel2: TPanel;
     SpinEdit_Radius: TFloatSpinEdit;
@@ -25,8 +26,10 @@ type
     Label_Radius: TLabel;
     Timer1: TTimer;
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
     procedure FormCreate(Sender: TObject);
+    procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure SpinEdit_RadiusChange(Sender: TObject);
     procedure Timer1Timer(Sender: TObject);
@@ -36,6 +39,7 @@ type
     FThreadManager: TFilterThreadManager;
     FLastRadius: single;
     FVars: TVariableSet;
+    FComputedImage: TBGRABitmap;
     procedure PreviewNeeded;
     procedure UpdateStep;
     procedure OnTaskEvent({%H-}ASender: TObject; AEvent: TThreadManagerEvent);
@@ -48,7 +52,7 @@ function ShowRadialBlurDlg(AFilterConnector: TObject; ABlurType:TRadialBlurType;
 
 implementation
 
-uses UMac, BGRAFilters;
+uses UMac, UResourceStrings, BGRAFilters;
 
 function ShowRadialBlurDlg(AFilterConnector: TObject;
   ABlurType: TRadialBlurType; ACaption: string): TScriptResult;
@@ -75,6 +79,9 @@ end;
 
 procedure TFRadialBlur.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked and
+    (FComputedImage <> nil) then FFilterConnector.PutImage(FComputedImage,false,false);
+
   if not FFilterConnector.ActionDone then
   begin
     FFilterConnector.ValidateAction;
@@ -83,6 +90,15 @@ begin
   ModalResult := mrOK;
 end;
 
+procedure TFRadialBlur.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    FFilterConnector.PutImage(FComputedImage, false, false)
+  else
+   FFilterConnector.RestoreBackup;
+end;
+
 procedure TFRadialBlur.FormCloseQuery(Sender: TObject; var CanClose: boolean);
 begin
   FThreadManager.Quit;
@@ -99,6 +115,11 @@ begin
   SpinEdit_Radius.Constraints.MinWidth := DoScaleX(70, OriginalDPI);
 end;
 
+procedure TFRadialBlur.FormDestroy(Sender: TObject);
+begin
+  if FComputedImage <> nil then FreeAndNil(FComputedImage);
+end;
+
 procedure TFRadialBlur.FormShow(Sender: TObject);
 begin
   FInitializing := True;
@@ -109,6 +130,10 @@ begin
   else
     SpinEdit_Radius.Value := FFilterConnector.LazPaintInstance.Config.DefaultBlurRadius;
   UpdateStep;
+  CheckBox_Preview.Checked := true;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing := False;
   PreviewNeeded;
   Top := FFilterConnector.LazPaintInstance.MainFormBounds.Top;
@@ -158,7 +183,16 @@ begin
       if FThreadManager.ReadyToClose then
         Close
       else
-        if AEvent = tmeCompletedTask then Button_OK.Enabled := true;
+        if AEvent = tmeCompletedTask then begin
+          Button_OK.Enabled := true;
+          CheckBox_Preview.Enabled := true;
+        end;
+
+      if FComputedImage <> nil then FComputedImage.Free;
+      case AEvent of
+        tmeAbortedTask: FComputedImage := FFilterConnector.BackupLayer.Duplicate;
+        tmeCompletedTask: FComputedImage := FFilterConnector.ActiveLayer.Duplicate;
+      end;
     end;
   tmeStartingNewTask:
     begin
@@ -166,6 +200,11 @@ begin
       Timer1.Interval := 100;
       Timer1.Enabled := true;
       Button_OK.Enabled := false;
+
+      FInitializing := True;
+      CheckBox_Preview.Enabled := false;
+      CheckBox_Preview.Checked := True;
+      FInitializing := False;
     end;
   end;
 end;

+ 23 - 13
lazpaint/dialog/filter/usharpen.lfm

@@ -1,6 +1,6 @@
 object FSharpen: TFSharpen
   Left = 734
-  Height = 94
+  Height = 113
   Top = 206
   Width = 173
   AutoSize = True
@@ -13,23 +13,23 @@ object FSharpen: TFSharpen
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 94
+  ClientHeight = 113
   ClientWidth = 173
   OnCreate = FormCreate
   OnShow = FormShow
   Position = poScreenCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Panel1: TPanel
     Left = 8
     Height = 23
     Top = 8
-    Width = 123
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 23
-    ClientWidth = 123
+    ClientWidth = 130
     TabOrder = 0
     object Label_Amount: TLabel
       Left = 0
@@ -54,37 +54,47 @@ object FSharpen: TFSharpen
       Value = 100
     end
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 39
+    Width = 130
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 2
+  end
   object Panel2: TPanel
     Left = 8
     Height = 25
-    Top = 39
-    Width = 123
+    Top = 66
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 25
-    ClientWidth = 123
+    ClientWidth = 130
     TabOrder = 1
     object Button_OK: TButton
       Left = 0
       Height = 25
       Top = 0
-      Width = 42
+      Width = 51
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
       OnClick = Button_OKClick
       TabOrder = 0
     end
     object Button_Cancel: TButton
-      Left = 50
+      Left = 59
       Height = 25
       Top = 0
-      Width = 62
+      Width = 71
       AutoSize = True
       Cancel = True
-      Caption = 'Cancel'
+      Caption = 'rsCancel'
       ModalResult = 2
       TabOrder = 1
     end

+ 2 - 2
lazpaint/dialog/filter/usharpen.lrj

@@ -1,6 +1,6 @@
 {"version":1,"strings":[
 {"hash":170608904,"name":"tfsharpen.caption","sourcebytes":[83,104,97,114,112,101,110,47,83,109,111,111,116,104],"value":"Sharpen/Smooth"},
 {"hash":74207930,"name":"tfsharpen.label_amount.caption","sourcebytes":[65,109,111,117,110,116,32,58],"value":"Amount :"},
-{"hash":1339,"name":"tfsharpen.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tfsharpen.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"}
+{"hash":497723,"name":"tfsharpen.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tfsharpen.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"}
 ]}

+ 22 - 2
lazpaint/dialog/filter/usharpen.pas

@@ -17,11 +17,13 @@ type
   TFSharpen = class(TForm)
     Button_Cancel: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     Label_Amount: TLabel;
     Panel1: TPanel;
     Panel2: TPanel;
     SpinEdit_Amount: TSpinEdit;
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure SpinEdit_AmountChange(Sender: TObject);
@@ -40,7 +42,8 @@ function ShowSharpenDlg(AFilterConnector: TObject; AMode : TSharpenMode): TScrip
 
 implementation
 
-uses LCScaleDPI, UMac, LazPaintType, BGRABitmap, BGRABitmapTypes;
+uses LCScaleDPI, UMac, LazPaintType, UResourceStrings, BGRABitmap,
+  BGRABitmapTypes;
 
 function ShowSharpenDlg(AFilterConnector: TObject; AMode : TSharpenMode): TScriptResult;
 var FSharpen: TFSharpen;
@@ -104,16 +107,28 @@ end;
 
 procedure TFSharpen.SpinEdit_AmountChange(Sender: TObject);
 begin
-  if not FInitializing then PreviewNeeded;
+  if not FInitializing and
+    CheckBox_Preview.Checked then PreviewNeeded;
 end;
 
 procedure TFSharpen.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked then PreviewNeeded;
+
   FFilterConnector.ValidateAction;
   FFilterConnector.LazPaintInstance.Config.SetDefaultSharpenAmount(SpinEdit_Amount.Value/100);
   ModalResult := mrOK;
 end;
 
+procedure TFSharpen.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    PreviewNeeded
+  else
+   FFilterConnector.RestoreBackup;
+end;
+
 procedure TFSharpen.OnTryStopAction(sender: TFilterConnector);
 begin
   if self.visible then Close;
@@ -126,6 +141,11 @@ begin
     SpinEdit_Amount.Value := round(FFilterConnector.Parameters.Floats['Amount']*100)
   else
      SpinEdit_Amount.Value := round(FFilterConnector.LazPaintInstance.Config.DefaultSharpenAmount*100);
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing := false;
 end;
 

+ 60 - 51
lazpaint/dialog/filter/utwirl.lfm

@@ -1,8 +1,8 @@
 object FTwirl: TFTwirl
   Left = 631
-  Height = 288
+  Height = 249
   Top = 173
-  Width = 173
+  Width = 142
   AutoSize = True
   BorderIcons = [biSystemMenu]
   BorderStyle = bsDialog
@@ -13,48 +13,47 @@ object FTwirl: TFTwirl
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 288
-  ClientWidth = 173
-  DesignTimePPI = 120
-  Font.Height = -15
+  ClientHeight = 249
+  ClientWidth = 142
+  Font.Height = -12
   OnCreate = FormCreate
   OnDestroy = FormDestroy
   OnShow = FormShow
   Position = poScreenCenter
-  LCLVersion = '2.0.2.0'
+  LCLVersion = '2.2.4.0'
   object Panel1: TPanel
     Left = 8
-    Height = 76
+    Height = 54
     Top = 8
-    Width = 143
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.VerticalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 76
-    ClientWidth = 143
-    Font.Height = -15
+    ClientHeight = 54
+    ClientWidth = 130
+    Font.Height = -12
     ParentFont = False
     TabOrder = 0
     object Label_Radius: TLabel
       Left = 0
-      Height = 34
+      Height = 23
       Top = 0
-      Width = 54
+      Width = 41
       Caption = 'Radius :'
-      Font.Height = -15
+      Font.Height = -12
       Layout = tlCenter
       ParentColor = False
       ParentFont = False
     end
     object SpinEdit_Radius: TSpinEdit
-      Left = 62
-      Height = 34
+      Left = 49
+      Height = 23
       Top = 0
-      Width = 81
-      Constraints.MinWidth = 81
-      Font.Height = -15
+      Width = 65
+      Constraints.MinWidth = 65
+      Font.Height = -12
       Increment = 10
       MaxValue = 10000
       MinValue = 1
@@ -65,22 +64,22 @@ object FTwirl: TFTwirl
     end
     object Label_Angle: TLabel
       Left = 0
-      Height = 34
-      Top = 42
-      Width = 54
+      Height = 23
+      Top = 31
+      Width = 41
       Caption = 'Angle :'
-      Font.Height = -15
+      Font.Height = -12
       Layout = tlCenter
       ParentColor = False
       ParentFont = False
     end
     object SpinEdit_Angle: TSpinEdit
-      Left = 62
-      Height = 34
-      Top = 42
-      Width = 81
-      Constraints.MinWidth = 81
-      Font.Height = -15
+      Left = 49
+      Height = 23
+      Top = 31
+      Width = 65
+      Constraints.MinWidth = 65
+      Font.Height = -12
       Increment = 30
       MaxValue = 10000
       MinValue = -10000
@@ -92,51 +91,61 @@ object FTwirl: TFTwirl
   end
   object PaintBox1: TPaintBox
     Left = 8
-    Height = 131
-    Top = 92
-    Width = 143
-    Font.Height = -15
+    Height = 105
+    Top = 70
+    Width = 130
+    Font.Height = -12
     ParentFont = False
     OnMouseDown = PaintBox1MouseDown
     OnMouseMove = PaintBox1MouseMove
     OnPaint = PaintBox1Paint
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 183
+    Width = 130
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 2
+  end
   object Panel2: TPanel
     Left = 8
-    Height = 36
-    Top = 231
-    Width = 143
+    Height = 25
+    Top = 210
+    Width = 130
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 36
-    ClientWidth = 143
-    Font.Height = -15
+    ClientHeight = 25
+    ClientWidth = 130
+    Font.Height = -12
     ParentFont = False
     TabOrder = 1
     object Button_OK: TButton
       Left = 0
-      Height = 36
+      Height = 25
       Top = 0
-      Width = 35
+      Width = 51
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
-      Font.Height = -15
+      Font.Height = -12
       OnClick = Button_OKClick
       ParentFont = False
       TabOrder = 0
     end
     object Button_Cancel: TButton
-      Left = 43
-      Height = 36
+      Left = 59
+      Height = 25
       Top = 0
-      Width = 59
+      Width = 71
       AutoSize = True
       Cancel = True
-      Caption = 'Cancel'
-      Font.Height = -15
+      Caption = 'rsCancel'
+      Font.Height = -12
       ModalResult = 2
       ParentFont = False
       TabOrder = 1
@@ -146,7 +155,7 @@ object FTwirl: TFTwirl
     Enabled = False
     Interval = 200
     OnTimer = Timer1Timer
-    left = 64
-    top = 120
+    Left = 51
+    Top = 96
   end
 end

+ 2 - 2
lazpaint/dialog/filter/utwirl.lrj

@@ -2,6 +2,6 @@
 {"hash":6021260,"name":"tftwirl.caption","sourcebytes":[84,119,105,114,108],"value":"Twirl"},
 {"hash":129024186,"name":"tftwirl.label_radius.caption","sourcebytes":[82,97,100,105,117,115,32,58],"value":"Radius :"},
 {"hash":139339642,"name":"tftwirl.label_angle.caption","sourcebytes":[65,110,103,108,101,32,58],"value":"Angle :"},
-{"hash":1339,"name":"tftwirl.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tftwirl.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"}
+{"hash":497723,"name":"tftwirl.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tftwirl.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"}
 ]}

+ 27 - 2
lazpaint/dialog/filter/utwirl.pas

@@ -17,6 +17,7 @@ type
   TFTwirl = class(TForm)
     Button_Cancel: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     Label_Radius: TLabel;
     Label_Angle: TLabel;
     PaintBox1: TPaintBox;
@@ -26,6 +27,7 @@ type
     SpinEdit_Radius: TSpinEdit;
     Timer1: TTimer;
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
@@ -41,6 +43,7 @@ type
     { private declarations }
     FInitializing: boolean;
     FCenter: TPointF;
+    FComputedImage: TBGRABitmap;
     procedure InitParams;
     procedure PreviewNeeded;
     function ComputeFilteredLayer: TBGRABitmap;
@@ -52,7 +55,7 @@ function ShowTwirlDlg(AFilterConnector: TObject): TScriptResult;
 
 implementation
 
-uses umac;
+uses umac, UResourceStrings;
 
 function ShowTwirlDlg(AFilterConnector: TObject): TScriptResult;
 var
@@ -96,6 +99,7 @@ end;
 
 procedure TFTwirl.FormDestroy(Sender: TObject);
 begin
+  if FComputedImage <> nil then FreeAndNil(FComputedImage);
 end;
 
 procedure TFTwirl.FormShow(Sender: TObject);
@@ -152,8 +156,12 @@ end;
 procedure TFTwirl.Timer1Timer(Sender: TObject);
 begin
   Timer1.Enabled := false;
-  FilterConnector.PutImage(ComputeFilteredLayer,False,true);
+  if FComputedImage <> nil then FComputedImage.Free;
+  FComputedImage := ComputeFilteredLayer;
+  if CheckBox_Preview.Checked then
+    FilterConnector.PutImage(FComputedImage,False,False);
   Button_OK.Enabled := true;
+  CheckBox_Preview.Enabled := true;
 end;
 
 procedure TFTwirl.InitParams;
@@ -171,6 +179,11 @@ begin
     if IsDefined('CenterXPercent') then FCenter.X := Floats['CenterXPercent']/100;
     if IsDefined('CenterYPercent') then FCenter.Y := Floats['CenterYPercent']/100;
   end;
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing := false;
 end;
 
@@ -179,6 +192,7 @@ begin
   Timer1.Enabled := false;
   Timer1.Enabled := True;
   Button_OK.Enabled := false;
+  CheckBox_Preview.Enabled := false;
 end;
 
 function TFTwirl.ComputeFilteredLayer: TBGRABitmap;
@@ -189,12 +203,23 @@ end;
 
 procedure TFTwirl.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked then FilterConnector.PutImage(FComputedImage,false,false);
+
   FilterConnector.ValidateAction;
   FilterConnector.LazPaintInstance.Config.SetDefaultTwirlRadius(SpinEdit_Radius.Value);
   FilterConnector.LazPaintInstance.Config.SetDefaultTwirlTurn(SpinEdit_Angle.Value/360);
   ModalResult := mrOK;
 end;
 
+procedure TFTwirl.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    FilterConnector.PutImage(FComputedImage,False,False)
+  else
+   FilterConnector.RestoreBackup;
+end;
+
 {$R *.lfm}
 
 end.

+ 72 - 62
lazpaint/dialog/filter/uwavedisplacement.lfm

@@ -1,8 +1,8 @@
 object FWaveDisplacement: TFWaveDisplacement
   Left = 306
-  Height = 356
+  Height = 285
   Top = 172
-  Width = 222
+  Width = 168
   AutoSize = True
   BorderIcons = [biSystemMenu]
   BorderStyle = bsDialog
@@ -13,47 +13,47 @@ object FWaveDisplacement: TFWaveDisplacement
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 356
-  ClientWidth = 222
-  DesignTimePPI = 120
+  ClientHeight = 285
+  ClientWidth = 168
   OnCreate = FormCreate
+  OnDestroy = FormDestroy
   OnShow = FormShow
   Position = poScreenCenter
-  LCLVersion = '2.0.2.0'
+  LCLVersion = '2.2.4.0'
   object Panel1: TPanel
     Left = 8
-    Height = 118
+    Height = 85
     Top = 8
-    Width = 191
+    Width = 151
     AutoSize = True
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.VerticalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 118
-    ClientWidth = 191
-    Font.Height = -15
+    ClientHeight = 85
+    ClientWidth = 151
+    Font.Height = -12
     ParentFont = False
     TabOrder = 0
     object Label_Wavelength: TLabel
       Left = 0
-      Height = 34
+      Height = 23
       Top = 0
-      Width = 102
+      Width = 78
       Caption = 'Wavelength :'
-      Font.Height = -15
+      Font.Height = -12
       Layout = tlCenter
       ParentColor = False
       ParentFont = False
     end
     object SpinEdit_Wavelength: TSpinEdit
-      Left = 110
-      Height = 34
+      Left = 86
+      Height = 23
       Top = 0
-      Width = 81
-      Constraints.MinWidth = 81
-      Font.Height = -15
+      Width = 65
+      Constraints.MinWidth = 65
+      Font.Height = -12
       Increment = 10
       MaxValue = 10000
       MinValue = 1
@@ -64,22 +64,22 @@ object FWaveDisplacement: TFWaveDisplacement
     end
     object Label_Displacement: TLabel
       Left = 0
-      Height = 34
-      Top = 42
-      Width = 102
+      Height = 23
+      Top = 31
+      Width = 78
       Caption = 'Displacement :'
-      Font.Height = -15
+      Font.Height = -12
       Layout = tlCenter
       ParentColor = False
       ParentFont = False
     end
     object SpinEdit_Displacement: TSpinEdit
-      Left = 110
-      Height = 34
-      Top = 42
-      Width = 81
-      Constraints.MinWidth = 81
-      Font.Height = -15
+      Left = 86
+      Height = 23
+      Top = 31
+      Width = 65
+      Constraints.MinWidth = 65
+      Font.Height = -12
       Increment = 5
       MaxValue = 1000
       OnChange = SpinEdit_DisplacementChange
@@ -89,22 +89,22 @@ object FWaveDisplacement: TFWaveDisplacement
     end
     object Label_Phase: TLabel
       Left = 0
-      Height = 34
-      Top = 84
-      Width = 102
+      Height = 23
+      Top = 62
+      Width = 78
       Caption = 'Phase :'
-      Font.Height = -15
+      Font.Height = -12
       Layout = tlCenter
       ParentColor = False
       ParentFont = False
     end
     object SpinEdit_Phase: TSpinEdit
-      Left = 110
-      Height = 34
-      Top = 84
-      Width = 81
-      Constraints.MinWidth = 81
-      Font.Height = -15
+      Left = 86
+      Height = 23
+      Top = 62
+      Width = 65
+      Constraints.MinWidth = 65
+      Font.Height = -12
       Increment = 30
       MaxValue = 360
       OnChange = SpinEdit_PhaseChange
@@ -113,52 +113,62 @@ object FWaveDisplacement: TFWaveDisplacement
     end
   end
   object PaintBox1: TPaintBox
-    Left = 9
-    Height = 160
-    Top = 136
-    Width = 189
-    Font.Height = -15
+    Left = 8
+    Height = 105
+    Top = 101
+    Width = 151
+    Font.Height = -12
     ParentFont = False
     OnMouseDown = PaintBox1MouseDown
     OnMouseMove = PaintBox1MouseMove
     OnPaint = PaintBox1Paint
   end
+  object CheckBox_Preview: TCheckBox
+    Left = 8
+    Height = 19
+    Top = 214
+    Width = 151
+    Checked = True
+    OnChange = CheckBox_PreviewChange
+    State = cbChecked
+    TabOrder = 2
+  end
   object Panel2: TPanel
-    Left = 9
-    Height = 36
-    Top = 304
-    Width = 188
+    Left = 8
+    Height = 25
+    Top = 241
+    Width = 151
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 36
-    ClientWidth = 188
-    Font.Height = -15
+    ClientHeight = 25
+    ClientWidth = 151
+    Font.Height = -12
     ParentFont = False
     TabOrder = 1
     object Button_OK: TButton
       Left = 0
-      Height = 36
+      Height = 25
       Top = 0
-      Width = 35
+      Width = 51
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
-      Font.Height = -15
+      Font.Height = -12
       OnClick = Button_OKClick
       ParentFont = False
       TabOrder = 0
     end
     object Button_Cancel: TButton
-      Left = 43
-      Height = 36
+      Left = 59
+      Height = 25
       Top = 0
-      Width = 59
+      Width = 71
       AutoSize = True
       Cancel = True
-      Caption = 'Cancel'
-      Font.Height = -15
+      Caption = 'rsCancel'
+      Font.Height = -12
       ModalResult = 2
       ParentFont = False
       TabOrder = 1
@@ -168,7 +178,7 @@ object FWaveDisplacement: TFWaveDisplacement
     Enabled = False
     Interval = 200
     OnTimer = Timer1Timer
-    left = 48
-    top = 184
+    Left = 38
+    Top = 147
   end
 end

+ 2 - 2
lazpaint/dialog/filter/uwavedisplacement.lrj

@@ -3,6 +3,6 @@
 {"hash":261514778,"name":"tfwavedisplacement.label_wavelength.caption","sourcebytes":[87,97,118,101,108,101,110,103,116,104,32,58],"value":"Wavelength :"},
 {"hash":211645722,"name":"tfwavedisplacement.label_displacement.caption","sourcebytes":[68,105,115,112,108,97,99,101,109,101,110,116,32,58],"value":"Displacement :"},
 {"hash":115906410,"name":"tfwavedisplacement.label_phase.caption","sourcebytes":[80,104,97,115,101,32,58],"value":"Phase :"},
-{"hash":1339,"name":"tfwavedisplacement.button_ok.caption","sourcebytes":[79,75],"value":"OK"},
-{"hash":77089212,"name":"tfwavedisplacement.button_cancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"}
+{"hash":497723,"name":"tfwavedisplacement.button_ok.caption","sourcebytes":[114,115,79,75],"value":"rsOK"},
+{"hash":127421996,"name":"tfwavedisplacement.button_cancel.caption","sourcebytes":[114,115,67,97,110,99,101,108],"value":"rsCancel"}
 ]}

+ 32 - 2
lazpaint/dialog/filter/uwavedisplacement.pas

@@ -17,6 +17,7 @@ type
   TFWaveDisplacement = class(TForm)
     Button_Cancel: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     Label_Displacement: TLabel;
     Label_Phase: TLabel;
     Label_Wavelength: TLabel;
@@ -28,7 +29,9 @@ type
     SpinEdit_Wavelength: TSpinEdit;
     Timer1: TTimer;
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
+    procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure PaintBox1MouseDown(Sender: TObject; {%H-}Button: TMouseButton;
       {%H-}Shift: TShiftState; X, Y: Integer);
@@ -43,6 +46,7 @@ type
     { private declarations }
     FInitializing: boolean;
     FCenter: TPointF;
+    FComputedImage: TBGRABitmap;
     procedure InitParams;
     procedure PreviewNeeded;
     function ComputeFilteredLayer: TBGRABitmap;
@@ -57,7 +61,7 @@ function ShowWaveDisplacementDlg(AFilterConnector: TObject): TScriptResult;
 
 implementation
 
-uses umac, ugraph, LCScaleDPI;
+uses umac, ugraph, UResourceStrings, LCScaleDPI;
 
 function ShowWaveDisplacementDlg(AFilterConnector: TObject): TScriptResult;
 var
@@ -100,6 +104,11 @@ begin
   CheckOKCancelBtns(Button_OK{,Button_Cancel});
 end;
 
+procedure TFWaveDisplacement.FormDestroy(Sender: TObject);
+begin
+  if FComputedImage <> nil then FreeAndNil(FComputedImage);
+end;
+
 procedure TFWaveDisplacement.FormShow(Sender: TObject);
 begin
   InitParams;
@@ -159,8 +168,12 @@ end;
 procedure TFWaveDisplacement.Timer1Timer(Sender: TObject);
 begin
   Timer1.Enabled := false;
-  FilterConnector.PutImage(ComputeFilteredLayer,False,true);
+  if FComputedImage <> nil then FComputedImage.Free;
+  FComputedImage := ComputeFilteredLayer;
+  if CheckBox_Preview.Checked then
+    FilterConnector.PutImage(FComputedImage,False,False);
   Button_OK.Enabled := true;
+  CheckBox_Preview.Enabled := true;
 end;
 
 procedure TFWaveDisplacement.InitParams;
@@ -180,6 +193,11 @@ begin
     if IsDefined('CenterXPercent') then FCenter.X := Floats['CenterXPercent']/100;
     if IsDefined('CenterYPercent') then FCenter.Y := Floats['CenterYPercent']/100;
   end;
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing := false;
 end;
 
@@ -188,6 +206,7 @@ begin
   Timer1.Enabled := false;
   Timer1.Enabled := True;
   Button_OK.Enabled := false;
+  CheckBox_Preview.Enabled := false;
 end;
 
 function TFWaveDisplacement.ComputeFilteredLayer: TBGRABitmap;
@@ -199,6 +218,8 @@ end;
 
 procedure TFWaveDisplacement.Button_OKClick(Sender: TObject);
 begin
+  if not CheckBox_Preview.Checked then FilterConnector.PutImage(FComputedImage,false,false);
+
   FilterConnector.ValidateAction;
   FilterConnector.LazPaintInstance.Config.SetDefaultWaveDisplacementWavelength(SpinEdit_Wavelength.Value);
   FilterConnector.LazPaintInstance.Config.SetDefaultWaveDisplacementAmount(SpinEdit_Displacement.Value);
@@ -206,6 +227,15 @@ begin
   ModalResult := mrOK;
 end;
 
+procedure TFWaveDisplacement.CheckBox_PreviewChange(Sender: TObject);
+begin
+  if FInitializing then exit;
+  if CheckBox_Preview.Checked then
+    FilterConnector.PutImage(FComputedImage,False,False)
+  else
+   FilterConnector.RestoreBackup;
+end;
+
 {$R *.lfm}
 
 end.

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

@@ -304,11 +304,6 @@ msgstr "تدرج"
 msgid "Preset"
 msgstr "مسبقا"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "إلغاء"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "تحرير القناع"
@@ -317,11 +312,6 @@ msgstr "تحرير القناع"
 msgid "Load mask..."
 msgstr "تحميل قناع"
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "موافق"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -331,16 +321,6 @@ msgstr "ضبابية مخصصة"
 msgid "Open grayscale file"
 msgstr "فتح ملف تدرج الرمادي"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "موافق"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -359,16 +339,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "إشراف"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "موافق"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "تطبيق الوضيفة"
@@ -2090,16 +2060,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "زووم للخارج"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "موافق"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2169,16 +2129,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "العرض :"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "موافق"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "مرشح الضجيج"
@@ -2316,16 +2266,6 @@ msgstr ""
 msgid "Remove selected light"
 msgstr ""
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "موافق"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2410,16 +2350,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "الجودة :"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "موافق"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2528,16 +2458,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "موافق"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2676,16 +2596,6 @@ msgstr ""
 msgid "MioMap"
 msgstr ""
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "موافق"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr ""
@@ -2730,16 +2640,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr " الأدوات "
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "موافق"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2755,16 +2655,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "نصف القطر :"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "إلغاء"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "موافق"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr ""

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

@@ -304,11 +304,6 @@ msgstr "Отенък"
 msgid "Preset"
 msgstr "Предварително зададени"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отказ"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Обработка на маска..."
@@ -317,11 +312,6 @@ msgstr "Обработка на маска..."
 msgid "Load mask..."
 msgstr "Зареждане на маска..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Добре"
-
 #: tfcustomblur.caption
 msgctxt "TFCUSTOMBLUR.CAPTION"
 msgid "Custom blur"
@@ -331,16 +321,6 @@ msgstr "Нагласено размиване"
 msgid "Open grayscale file"
 msgstr "Отваряне на сивобял файл"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Добре"
-
 #: tfemboss.caption
 msgctxt "TFEMBOSS.CAPTION"
 msgid "Emboss"
@@ -359,16 +339,6 @@ msgctxt "TFEMBOSS.LABEL_DIRECTION.CAPTION"
 msgid "Direction :"
 msgstr "Посока:"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "TFFILTERFUNCTION.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "TFFILTERFUNCTION.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Добре"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Прилагане на функцията"
@@ -2077,16 +2047,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Намаляване"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Добре"
-
 #: tfmotionblur.caption
 msgctxt "TFMOTIONBLUR.CAPTION"
 msgid "Motion blur"
@@ -2156,16 +2116,6 @@ msgctxt "TFNEWIMAGE.LABEL_WIDTH.CAPTION"
 msgid "Width :"
 msgstr "Ширина:"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "Добре"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Шумов филтър"
@@ -2303,16 +2253,6 @@ msgstr ""
 msgid "Remove selected light"
 msgstr ""
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "TFPHONGFILTER.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "TFPHONGFILTER.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Добре"
-
 #: tfphongfilter.caption
 msgctxt "TFPHONGFILTER.CAPTION"
 msgid "Shaded map"
@@ -2397,16 +2337,6 @@ msgctxt "TFPIXELATE.LABEL_QUALITY.CAPTION"
 msgid "Quality :"
 msgstr "Качество:"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "Добре"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2516,16 +2446,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Добре"
-
 #: tfradialblur.caption
 msgctxt "TFRADIALBLUR.CAPTION"
 msgid "Radial blur"
@@ -2664,16 +2584,6 @@ msgstr "32 разряда"
 msgid "MioMap"
 msgstr ""
 
-#: tfsharpen.button_cancel.caption
-msgctxt "TFSHARPEN.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tfsharpen.button_ok.caption
-msgctxt "TFSHARPEN.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Добре"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Изостряне/ Изглаждане"
@@ -2718,16 +2628,6 @@ msgctxt "TFTOOLBOX.CAPTION"
 msgid "Tools"
 msgstr "Пособия"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Добре"
-
 #: tftwirl.caption
 msgctxt "TFTWIRL.CAPTION"
 msgid "Twirl"
@@ -2743,16 +2643,6 @@ msgctxt "TFTWIRL.LABEL_RADIUS.CAPTION"
 msgid "Radius :"
 msgstr "Радиус:"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Отказ"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "Добре"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr ""

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

@@ -286,11 +286,6 @@ msgstr "Odstín"
 msgid "Preset"
 msgstr "Předvolba"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "tfcustomblur.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Upravit masku..."
@@ -299,11 +294,6 @@ msgstr "Upravit masku..."
 msgid "Load mask..."
 msgstr "Načíst masku..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "tfcustomblur.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfcustomblur.caption
 msgid "Custom blur"
 msgstr "Vlastní rozmazání"
@@ -312,16 +302,6 @@ msgstr "Vlastní rozmazání"
 msgid "Open grayscale file"
 msgstr "Otevřít černobílý obrázek"
 
-#: tfemboss.button_cancel.caption
-msgctxt "tfemboss.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tfemboss.button_ok.caption
-msgctxt "tfemboss.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfemboss.caption
 msgid "Emboss"
 msgstr "Vytlačit"
@@ -338,16 +318,6 @@ msgstr "Průhledné"
 msgid "Direction :"
 msgstr "Směr :"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Použít funkci"
@@ -1951,16 +1921,6 @@ msgstr "Zvětšit na původní bodovou velikost"
 msgid "Zoom out"
 msgstr "Oddálit"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "tfmotionblur.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "tfmotionblur.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfmotionblur.caption
 msgid "Motion blur"
 msgstr "Pohybové rozmazání"
@@ -2028,16 +1988,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Šířka :"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Šumový filtr"
@@ -2169,16 +2119,6 @@ msgstr "Přidat bodové světlo"
 msgid "Remove selected light"
 msgstr "Odebrat vybrané světlo"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfphongfilter.caption
 msgid "Shaded map"
 msgstr "Stínová mapa"
@@ -2259,16 +2199,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Kvalita :"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2377,16 +2307,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "tfradialblur.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tfradialblur.button_ok.caption
-msgctxt "tfradialblur.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2524,16 +2444,6 @@ msgstr "32 bitů"
 msgid "MioMap"
 msgstr "MioMap"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Ostření/Vyhlazení"
@@ -2576,16 +2486,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Nástroje"
 
-#: tftwirl.button_cancel.caption
-msgctxt "tftwirl.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tftwirl.button_ok.caption
-msgctxt "tftwirl.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tftwirl.caption
 msgid "Twirl"
 msgstr "Víření"
@@ -2599,16 +2499,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Poloměr :"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Zrušit"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Posunutí vlny"

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

@@ -314,11 +314,6 @@ msgstr "Farbton"
 msgid "Preset"
 msgstr "Voreingestellt"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Abbruch"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Maske bearbeiten..."
@@ -327,11 +322,6 @@ msgstr "Maske bearbeiten..."
 msgid "Load mask..."
 msgstr "Maske laden..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -341,16 +331,6 @@ msgstr "Benutzerdefinierter Weichzeichner"
 msgid "Open grayscale file"
 msgstr "Graustufen-Datei öffnen"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -369,16 +349,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "Richtung:"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Funktion anwenden"
@@ -2101,16 +2071,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Auszoomen"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2180,16 +2140,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Breite:"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Rauschfilter"
@@ -2327,16 +2277,6 @@ msgstr "Lichtpunkt hinzufügen"
 msgid "Remove selected light"
 msgstr "Gewählte Lichtquelle entfernen"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2421,16 +2361,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Qualität"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2539,16 +2469,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2687,16 +2607,6 @@ msgstr "32 bits"
 msgid "MioMap"
 msgstr "MioMap"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Scharfzeichnen/Weichzeichnen"
@@ -2741,16 +2651,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Werkzeuge"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2766,16 +2666,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Radius:"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Abbruch"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Wellen-Wandel"

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

@@ -306,11 +306,6 @@ msgstr "Matiz"
 msgid "Preset"
 msgstr "Preajuste"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Editar máscara.."
@@ -319,11 +314,6 @@ msgstr "Editar máscara.."
 msgid "Load mask..."
 msgstr "Abrir máscara.."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -333,16 +323,6 @@ msgstr "Desenfoque personalizado"
 msgid "Open grayscale file"
 msgstr "Abrir archivo de escala de grises"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -361,16 +341,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "Dirección:"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Aplicar función"
@@ -2083,16 +2053,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Zoom fuera"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2162,16 +2122,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Ancho:"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Ruido"
@@ -2309,16 +2259,6 @@ msgstr "Agregar una luz puntual"
 msgid "Remove selected light"
 msgstr "Quitar luz seleccionada"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2403,16 +2343,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Calidad:"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2521,16 +2451,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2669,16 +2589,6 @@ msgstr "32 bits"
 msgid "MioMap"
 msgstr "MioMap"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Nítido/Suave"
@@ -2723,16 +2633,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Herramientas"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2748,16 +2648,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Rádio:"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "TFWAVEDISPLACEMENT.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "TFWAVEDISPLACEMENT.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Aceptar"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Desplazamiento de onda"

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

@@ -296,11 +296,6 @@ msgstr "Värisävy"
 msgid "Preset"
 msgstr "Esiasetus"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Muokkaa maskia"
@@ -309,11 +304,6 @@ msgstr "Muokkaa maskia"
 msgid "Load mask..."
 msgstr "Lataa maski"
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfcustomblur.caption
 msgctxt "TFCUSTOMBLUR.CAPTION"
 msgid "Custom blur"
@@ -323,16 +313,6 @@ msgstr "Maskin mukainen sumennus"
 msgid "Open grayscale file"
 msgstr "Avaa harmaasävytiedosto"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfemboss.caption
 msgctxt "TFEMBOSS.CAPTION"
 msgid "Emboss"
@@ -351,16 +331,6 @@ msgctxt "TFEMBOSS.LABEL_DIRECTION.CAPTION"
 msgid "Direction :"
 msgstr "Suunta :"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "TFFILTERFUNCTION.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "TFFILTERFUNCTION.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr ""
@@ -2081,16 +2051,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Loitonna"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfmotionblur.caption
 msgctxt "TFMOTIONBLUR.CAPTION"
 msgid "Motion blur"
@@ -2160,16 +2120,6 @@ msgctxt "TFNEWIMAGE.LABEL_WIDTH.CAPTION"
 msgid "Width :"
 msgstr "Leveys :"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "TFNOISEFILTER.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "TFNOISEFILTER.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Kohinasuodatin"
@@ -2307,16 +2257,6 @@ msgstr ""
 msgid "Remove selected light"
 msgstr ""
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "TFPHONGFILTER.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "TFPHONGFILTER.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfphongfilter.caption
 msgctxt "TFPHONGFILTER.CAPTION"
 msgid "Shaded map"
@@ -2402,16 +2342,6 @@ msgctxt "TFPIXELATE.LABEL_QUALITY.CAPTION"
 msgid "Quality :"
 msgstr ""
 
-#: tfposterize.button_cancel.caption
-msgctxt "TFPOSTERIZE.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tfposterize.button_ok.caption
-msgctxt "TFPOSTERIZE.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfposterize.caption
 msgctxt "TFPOSTERIZE.CAPTION"
 msgid "Posterize"
@@ -2520,16 +2450,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr ""
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfradialblur.caption
 msgctxt "TFRADIALBLUR.CAPTION"
 msgid "Radial blur"
@@ -2669,16 +2589,6 @@ msgstr ""
 msgid "MioMap"
 msgstr ""
 
-#: tfsharpen.button_cancel.caption
-msgctxt "TFSHARPEN.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tfsharpen.button_ok.caption
-msgctxt "TFSHARPEN.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Terävöitä/Pehmennä"
@@ -2723,16 +2633,6 @@ msgctxt "TFTOOLBOX.CAPTION"
 msgid "Tools"
 msgstr "Työkalut"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tftwirl.caption
 msgctxt "TFTWIRL.CAPTION"
 msgid "Twirl"
@@ -2748,16 +2648,6 @@ msgctxt "TFTWIRL.LABEL_RADIUS.CAPTION"
 msgid "Radius :"
 msgstr "Säde :"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Peru"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr ""

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

@@ -306,11 +306,6 @@ msgstr "Nuances"
 msgid "Preset"
 msgstr "Prédéfini"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuler"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Éditer un masque..."
@@ -319,11 +314,6 @@ msgstr "Éditer un masque..."
 msgid "Load mask..."
 msgstr "Charger un masque..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -333,16 +323,6 @@ msgstr "Flou personnalisé"
 msgid "Open grayscale file"
 msgstr "Ouvrir un fichier en échelle de gris"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -361,16 +341,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "Direction :"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Appliquer la fonction"
@@ -2094,16 +2064,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Dézoomer"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2173,16 +2133,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Largeur :"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Bruit"
@@ -2320,16 +2270,6 @@ msgstr "Ajouter une lumière ponctuelle"
 msgid "Remove selected light"
 msgstr "Supprimer la source lumineuse"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2414,16 +2354,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Qualité :"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2532,16 +2462,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2680,16 +2600,6 @@ msgstr "32 bits"
 msgid "MioMap"
 msgstr "MioMap"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Accentuer/Lisser"
@@ -2734,16 +2644,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Outils"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2759,16 +2659,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Rayon :"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuler"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Décalage d'onde"

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

@@ -296,11 +296,6 @@ msgstr "Tonalità"
 msgid "Preset"
 msgstr "Predefinisci"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancella"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Edita maschera"
@@ -309,11 +304,6 @@ msgstr "Edita maschera"
 msgid "Load mask..."
 msgstr "Carica maschera"
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -323,16 +313,6 @@ msgstr "Sfocatura ottimale"
 msgid "Open grayscale file"
 msgstr ""
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -351,16 +331,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "Direzione"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Applica funzione"
@@ -2079,16 +2049,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr ""
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2158,16 +2118,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Larghezza"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Filtro di rumore"
@@ -2305,16 +2255,6 @@ msgstr "Aggiungi punto luce"
 msgid "Remove selected light"
 msgstr "Rimuovi luce selezionata"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2399,16 +2339,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Qualità"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2517,16 +2447,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr ""
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2665,16 +2585,6 @@ msgstr ""
 msgid "MioMap"
 msgstr ""
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr ""
@@ -2720,16 +2630,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Strumenti"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr ""
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2745,16 +2645,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Raggio :"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancella"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr ""

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

@@ -304,11 +304,6 @@ msgstr "色相"
 msgid "Preset"
 msgstr ""
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "キャンセル"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "マスク編集"
@@ -317,11 +312,6 @@ msgstr "マスク編集"
 msgid "Load mask..."
 msgstr "マスク読み込み"
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -331,16 +321,6 @@ msgstr "カスタムブラー"
 msgid "Open grayscale file"
 msgstr "注意:ブラー用に作成されたグレースケール画像を開く"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -359,16 +339,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "方向:"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr ""
@@ -2088,16 +2058,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "ズームアウト"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2167,16 +2127,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "幅:"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr ""
@@ -2314,16 +2264,6 @@ msgstr ""
 msgid "Remove selected light"
 msgstr ""
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2408,16 +2348,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "精度:"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2526,16 +2456,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr ""
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2674,16 +2594,6 @@ msgstr ""
 msgid "MioMap"
 msgstr ""
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr ""
@@ -2728,16 +2638,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "ツール"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2753,16 +2653,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "半径:"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "キャンセル"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr ""

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

@@ -307,11 +307,6 @@ msgstr "Tiɣmi"
 msgid "Preset"
 msgstr "Azwir-ɣewwar"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Sefsex"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Ẓreg tagelmust..."
@@ -320,11 +315,6 @@ msgstr "Ẓreg tagelmust..."
 msgid "Load mask..."
 msgstr "Sali-d tagelmust..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Ih"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -334,16 +324,6 @@ msgstr "Aluɣu yugnen"
 msgid "Open grayscale file"
 msgstr "Ldi afaylu s tfesna n umelliɣdi"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Ih"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -362,16 +342,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "Tanila :"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "Ih"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Snes tawuri"
@@ -2092,16 +2062,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Simecṭuḥ"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Ih"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2171,16 +2131,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Tehri :"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "Ih"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Tastayt n usxerxec"
@@ -2318,16 +2268,6 @@ msgstr "Rnu tafat tunqiḍt"
 msgid "Remove selected light"
 msgstr "Kkes tafat yettwafernen"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "Ih"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2412,16 +2352,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Taɣara :"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "Ih"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2530,16 +2460,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Ih"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2678,16 +2598,6 @@ msgstr "32 n ibiten"
 msgid "MioMap"
 msgstr "MioMap"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "Ih"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Semsed/Mzi"
@@ -2732,16 +2642,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Ifecka"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Ih"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2757,16 +2657,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Aqqar :"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Sefsex"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "Ih"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Asekḥer n tayyugt"

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

@@ -312,11 +312,6 @@ msgstr "Nokrāsa"
 msgid "Preset"
 msgstr "Iestatījumi"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Atcelt"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Labot masku ..."
@@ -325,11 +320,6 @@ msgstr "Labot masku ..."
 msgid "Load mask..."
 msgstr "Ielasīt masku ..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Labi"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -339,16 +329,6 @@ msgstr "Pielāgota izpludināšana"
 msgid "Open grayscale file"
 msgstr "Atvērt pelēktoņu attēlu"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Labi"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -367,16 +347,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "Virziens:"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "Labi"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Pielietot funkciju"
@@ -2095,16 +2065,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Tālināt"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Labi"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2174,16 +2134,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Platums:"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "Labi"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Trokšņu filtrs"
@@ -2322,16 +2272,6 @@ msgstr "Pievienot punktveida gaismas avotu"
 msgid "Remove selected light"
 msgstr "Izmest doto gaismu"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "Labi"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2416,16 +2356,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Kvalitāte:"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "Labi"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2534,16 +2464,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Labi"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2682,16 +2602,6 @@ msgstr "32 biti"
 msgid "MioMap"
 msgstr ""
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "Labi"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Asināt/Nogludināt"
@@ -2736,16 +2646,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Rīki"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "Labi"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2761,16 +2661,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Rādiuss:"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Atcelt"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "Labi"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Viļņu nobīde"

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

@@ -310,11 +310,6 @@ msgstr "Kleurtint"
 msgid "Preset"
 msgstr "Voorinstelling"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuleren"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Masker bewerken..."
@@ -323,11 +318,6 @@ msgstr "Masker bewerken..."
 msgid "Load mask..."
 msgstr "Masker laden..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -337,16 +327,6 @@ msgstr "Aangepaste vervaging"
 msgid "Open grayscale file"
 msgstr "Zwart-witte afbeelding laden..."
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -365,16 +345,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "Richting :"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Functie toepassen"
@@ -2089,16 +2059,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Uitzoomen"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2168,16 +2128,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Breedte :"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Ruisfilter"
@@ -2315,16 +2265,6 @@ msgstr "Voeg een puntlicht toe"
 msgid "Remove selected light"
 msgstr "Verwijder geselecteerd licht"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2409,16 +2349,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Kwaliteit :"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2527,16 +2457,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2675,16 +2595,6 @@ msgstr "32 bits"
 msgid "MioMap"
 msgstr "MioMap"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Verscherpen/Gladstrijken"
@@ -2729,16 +2639,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Gereedschappen"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2754,16 +2654,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Straal :"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Annuleren"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Golf verplaatsing"

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

@@ -314,11 +314,6 @@ msgstr "Odcień"
 msgid "Preset"
 msgstr "Zalecany"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Anuluj"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Edytuj maskę..."
@@ -327,11 +322,6 @@ msgstr "Edytuj maskę..."
 msgid "Load mask..."
 msgstr "Ładuj maskę..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -341,16 +331,6 @@ msgstr "Rozmycie niestandardowe"
 msgid "Open grayscale file"
 msgstr "Otwórz plik w skali szarości"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -369,16 +349,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "Kierunek:"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Zastosuj funkcję"
@@ -2101,16 +2071,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Zmniejsz"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2180,16 +2140,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Szerokość:"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Filtr szumu"
@@ -2327,16 +2277,6 @@ msgstr "Dodaj światło punktowe"
 msgid "Remove selected light"
 msgstr "Usuń wybrane światło"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2421,16 +2361,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Metoda:"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2539,16 +2469,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2687,16 +2607,6 @@ msgstr "32 bity"
 msgid "MioMap"
 msgstr "Nawigacja"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Wyostrz / Wygładź"
@@ -2741,16 +2651,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Narzędzia"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2766,16 +2666,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Promień:"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Anuluj"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Przesunięcie fali"

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

@@ -275,11 +275,6 @@ msgstr ""
 msgid "Preset"
 msgstr ""
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "tfcustomblur.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr ""
@@ -288,11 +283,6 @@ msgstr ""
 msgid "Load mask..."
 msgstr ""
 
-#: tfcustomblur.button_ok.caption
-msgctxt "tfcustomblur.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfcustomblur.caption
 msgid "Custom blur"
 msgstr ""
@@ -301,16 +291,6 @@ msgstr ""
 msgid "Open grayscale file"
 msgstr ""
 
-#: tfemboss.button_cancel.caption
-msgctxt "tfemboss.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tfemboss.button_ok.caption
-msgctxt "tfemboss.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfemboss.caption
 msgid "Emboss"
 msgstr ""
@@ -327,16 +307,6 @@ msgstr ""
 msgid "Direction :"
 msgstr ""
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr ""
@@ -1940,16 +1910,6 @@ msgstr ""
 msgid "Zoom out"
 msgstr ""
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "tfmotionblur.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tfmotionblur.button_ok.caption
-msgctxt "tfmotionblur.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfmotionblur.caption
 msgid "Motion blur"
 msgstr ""
@@ -2017,16 +1977,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr ""
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr ""
@@ -2158,16 +2108,6 @@ msgstr ""
 msgid "Remove selected light"
 msgstr ""
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfphongfilter.caption
 msgid "Shaded map"
 msgstr ""
@@ -2248,16 +2188,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr ""
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2366,16 +2296,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr ""
 
-#: tfradialblur.button_cancel.caption
-msgctxt "tfradialblur.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tfradialblur.button_ok.caption
-msgctxt "tfradialblur.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2513,16 +2433,6 @@ msgstr ""
 msgid "MioMap"
 msgstr ""
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr ""
@@ -2565,16 +2475,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr ""
 
-#: tftwirl.button_cancel.caption
-msgctxt "tftwirl.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tftwirl.button_ok.caption
-msgctxt "tftwirl.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tftwirl.caption
 msgid "Twirl"
 msgstr ""
@@ -2588,16 +2488,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr ""
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr ""
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr ""
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr ""

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

@@ -306,11 +306,6 @@ msgstr "Tonalidade"
 msgid "Preset"
 msgstr "Predefinida"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Editar máscara..."
@@ -319,11 +314,6 @@ msgstr "Editar máscara..."
 msgid "Load mask..."
 msgstr "Abrir máscara..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfcustomblur.caption
 msgctxt "TFCUSTOMBLUR.CAPTION"
 msgid "Custom blur"
@@ -333,16 +323,6 @@ msgstr "Desfoque personalizado"
 msgid "Open grayscale file"
 msgstr "Abrir arquivo em tons de cinza"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfemboss.caption
 msgctxt "TFEMBOSS.CAPTION"
 msgid "Emboss"
@@ -361,16 +341,6 @@ msgctxt "TFEMBOSS.LABEL_DIRECTION.CAPTION"
 msgid "Direction :"
 msgstr "Direção :"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "TFFILTERFUNCTION.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "TFFILTERFUNCTION.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Aplicar função"
@@ -2088,17 +2058,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Zoom -"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfmotionblur.button_ok.caption
-#, fuzzy
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfmotionblur.caption
 msgctxt "TFMOTIONBLUR.CAPTION"
 msgid "Motion blur"
@@ -2170,17 +2129,6 @@ msgctxt "TFNEWIMAGE.LABEL_WIDTH.CAPTION"
 msgid "Width :"
 msgstr "Largura :"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "TFNOISEFILTER.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfnoisefilter.button_ok.caption
-#, fuzzy
-msgctxt "TFNOISEFILTER.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Filtro de ruído"
@@ -2319,16 +2267,6 @@ msgstr "Adicione uma luz pontual"
 msgid "Remove selected light"
 msgstr "Remover luz selecionada"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "TFPHONGFILTER.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "TFPHONGFILTER.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfphongfilter.caption
 msgctxt "TFPHONGFILTER.CAPTION"
 msgid "Shaded map"
@@ -2413,17 +2351,6 @@ msgctxt "TFPIXELATE.LABEL_QUALITY.CAPTION"
 msgid "Quality :"
 msgstr "Qualidade :"
 
-#: tfposterize.button_cancel.caption
-msgctxt "TFPOSTERIZE.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfposterize.button_ok.caption
-#, fuzzy
-msgctxt "TFPOSTERIZE.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfposterize.caption
 msgctxt "TFPOSTERIZE.CAPTION"
 msgid "Posterize"
@@ -2532,16 +2459,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfradialblur.caption
 msgctxt "TFRADIALBLUR.CAPTION"
 msgid "Radial blur"
@@ -2683,16 +2600,6 @@ msgstr "32 bits"
 msgid "MioMap"
 msgstr "MioMap"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "TFSHARPEN.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfsharpen.button_ok.caption
-msgctxt "TFSHARPEN.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Nitidez/Suave"
@@ -2738,17 +2645,6 @@ msgctxt "TFTOOLBOX.CAPTION"
 msgid "Tools"
 msgstr "Ferramentas"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tftwirl.button_ok.caption
-#, fuzzy
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tftwirl.caption
 msgctxt "TFTWIRL.CAPTION"
 msgid "Twirl"
@@ -2764,17 +2660,6 @@ msgctxt "TFTWIRL.LABEL_RADIUS.CAPTION"
 msgid "Radius :"
 msgstr "Raio :"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: tfwavedisplacement.button_ok.caption
-#, fuzzy
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Deslocamento de onda"

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

@@ -301,11 +301,6 @@ msgstr "Оттенок"
 msgid "Preset"
 msgstr "Предустановка"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отмена"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Редактировать маску..."
@@ -314,11 +309,6 @@ msgstr "Редактировать маску..."
 msgid "Load mask..."
 msgstr "Загрузить маску..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "ОК"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -328,16 +318,6 @@ msgstr "Пользовательское размытие"
 msgid "Open grayscale file"
 msgstr "Открыть файл в оттенках серого"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "ОК"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -356,16 +336,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "Направление:"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "ОК"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Применить функцию"
@@ -2076,16 +2046,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Уменьшить"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "ОК"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2155,16 +2115,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Ширина:"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "ОК"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Фильтр шума"
@@ -2302,16 +2252,6 @@ msgstr "Добавить точечный свет"
 msgid "Remove selected light"
 msgstr "Удалить источник света"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "ОК"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2396,16 +2336,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Качество:"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "ОК"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2514,16 +2444,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "ОК"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2662,16 +2582,6 @@ msgstr "32-битный"
 msgid "MioMap"
 msgstr "MioMap"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "ОК"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Резкость/Сглаженность"
@@ -2716,16 +2626,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Инструменты"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "ОК"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2741,16 +2641,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Радиус:"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Отмена"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "ОК"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Смещение волны"

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

@@ -296,11 +296,6 @@ msgstr "Ton"
 msgid "Preset"
 msgstr "Förinställda val"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Avbryt"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "Redigera mask..."
@@ -309,11 +304,6 @@ msgstr "Redigera mask..."
 msgid "Load mask..."
 msgstr "Ladda mask..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -323,16 +313,6 @@ msgstr "Egen oskärpa"
 msgid "Open grayscale file"
 msgstr "Öppna gråskalefil"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -351,16 +331,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "Riktning :"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "Tillämpa funktion"
@@ -2089,16 +2059,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "Zoom in"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2168,16 +2128,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "Bredd :"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "Brusfilter:"
@@ -2315,16 +2265,6 @@ msgstr "Lägg till en punktljuskälla"
 msgid "Remove selected light"
 msgstr "Ta bort vald ljuskälla"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2409,16 +2349,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "Kvalitet :"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2531,16 +2461,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2679,16 +2599,6 @@ msgstr "32 bit"
 msgid "MioMap"
 msgstr "MioMap"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "Gör skarpare/Gör mjukare"
@@ -2733,16 +2643,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "Verktyg"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "OK"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2758,16 +2658,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "Radie :"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "Avbryt"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "OK"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "Vågförskjutning"

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

@@ -306,11 +306,6 @@ msgstr "色调"
 msgid "Preset"
 msgstr "预设"
 
-#: tfcustomblur.button_cancel.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "取消"
-
 #: tfcustomblur.button_editmask.caption
 msgid "Edit mask..."
 msgstr "编辑蒙版..."
@@ -319,11 +314,6 @@ msgstr "编辑蒙版..."
 msgid "Load mask..."
 msgstr "加载蒙版..."
 
-#: tfcustomblur.button_ok.caption
-msgctxt "TFCUSTOMBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "确定"
-
 #: tfcustomblur.caption
 msgctxt "tfcustomblur.caption"
 msgid "Custom blur"
@@ -333,16 +323,6 @@ msgstr "自定义模糊"
 msgid "Open grayscale file"
 msgstr "打开灰度文件"
 
-#: tfemboss.button_cancel.caption
-msgctxt "TFEMBOSS.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "取消"
-
-#: tfemboss.button_ok.caption
-msgctxt "TFEMBOSS.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "确定"
-
 #: tfemboss.caption
 msgctxt "tfemboss.caption"
 msgid "Emboss"
@@ -361,16 +341,6 @@ msgctxt "tfemboss.label_direction.caption"
 msgid "Direction :"
 msgstr "方向 :"
 
-#: tffilterfunction.button_cancel.caption
-msgctxt "tffilterfunction.button_cancel.caption"
-msgid "Cancel"
-msgstr "取消"
-
-#: tffilterfunction.button_ok.caption
-msgctxt "tffilterfunction.button_ok.caption"
-msgid "OK"
-msgstr "确定"
-
 #: tffilterfunction.caption
 msgid "Apply function"
 msgstr "应用函数"
@@ -2089,16 +2059,6 @@ msgctxt "TFMAIN.VIEWZOOMOUT.HINT"
 msgid "Zoom out"
 msgstr "缩小"
 
-#: tfmotionblur.button_cancel.caption
-msgctxt "TFMOTIONBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "取消"
-
-#: tfmotionblur.button_ok.caption
-msgctxt "TFMOTIONBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "确定"
-
 #: tfmotionblur.caption
 msgctxt "tfmotionblur.caption"
 msgid "Motion blur"
@@ -2168,16 +2128,6 @@ msgctxt "tfnewimage.label_width.caption"
 msgid "Width :"
 msgstr "宽度 :"
 
-#: tfnoisefilter.button_cancel.caption
-msgctxt "tfnoisefilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "取消"
-
-#: tfnoisefilter.button_ok.caption
-msgctxt "tfnoisefilter.button_ok.caption"
-msgid "OK"
-msgstr "确定"
-
 #: tfnoisefilter.caption
 msgid "Noise filter"
 msgstr "噪声滤镜"
@@ -2315,16 +2265,6 @@ msgstr "添加点光源"
 msgid "Remove selected light"
 msgstr "删除所选光源"
 
-#: tfphongfilter.button_cancel.caption
-msgctxt "tfphongfilter.button_cancel.caption"
-msgid "Cancel"
-msgstr "取消"
-
-#: tfphongfilter.button_ok.caption
-msgctxt "tfphongfilter.button_ok.caption"
-msgid "OK"
-msgstr "确定"
-
 #: tfphongfilter.caption
 msgctxt "tfphongfilter.caption"
 msgid "Shaded map"
@@ -2409,16 +2349,6 @@ msgctxt "tfpixelate.label_quality.caption"
 msgid "Quality :"
 msgstr "品质 :"
 
-#: tfposterize.button_cancel.caption
-msgctxt "tfposterize.button_cancel.caption"
-msgid "Cancel"
-msgstr "取消"
-
-#: tfposterize.button_ok.caption
-msgctxt "tfposterize.button_ok.caption"
-msgid "OK"
-msgstr "确定"
-
 #: tfposterize.caption
 msgctxt "tfposterize.caption"
 msgid "Posterize"
@@ -2527,16 +2457,6 @@ msgctxt "tfquestion.label_message.caption"
 msgid "."
 msgstr "."
 
-#: tfradialblur.button_cancel.caption
-msgctxt "TFRADIALBLUR.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "取消"
-
-#: tfradialblur.button_ok.caption
-msgctxt "TFRADIALBLUR.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "确定"
-
 #: tfradialblur.caption
 msgctxt "tfradialblur.caption"
 msgid "Radial blur"
@@ -2675,16 +2595,6 @@ msgstr "32 位色"
 msgid "MioMap"
 msgstr "MioMap"
 
-#: tfsharpen.button_cancel.caption
-msgctxt "tfsharpen.button_cancel.caption"
-msgid "Cancel"
-msgstr "取消"
-
-#: tfsharpen.button_ok.caption
-msgctxt "tfsharpen.button_ok.caption"
-msgid "OK"
-msgstr "确定"
-
 #: tfsharpen.caption
 msgid "Sharpen/Smooth"
 msgstr "锐化/平滑"
@@ -2729,16 +2639,6 @@ msgctxt "tftoolbox.caption"
 msgid "Tools"
 msgstr "工具"
 
-#: tftwirl.button_cancel.caption
-msgctxt "TFTWIRL.BUTTON_CANCEL.CAPTION"
-msgid "Cancel"
-msgstr "取消"
-
-#: tftwirl.button_ok.caption
-msgctxt "TFTWIRL.BUTTON_OK.CAPTION"
-msgid "OK"
-msgstr "确定"
-
 #: tftwirl.caption
 msgctxt "tftwirl.caption"
 msgid "Twirl"
@@ -2754,16 +2654,6 @@ msgctxt "tftwirl.label_radius.caption"
 msgid "Radius :"
 msgstr "半径 :"
 
-#: tfwavedisplacement.button_cancel.caption
-msgctxt "tfwavedisplacement.button_cancel.caption"
-msgid "Cancel"
-msgstr "取消"
-
-#: tfwavedisplacement.button_ok.caption
-msgctxt "tfwavedisplacement.button_ok.caption"
-msgid "OK"
-msgstr "确定"
-
 #: tfwavedisplacement.caption
 msgid "Wave displacement"
 msgstr "波形移位"