Bläddra i källkod

Added Preview functionality to other filters

Lulu 2 år sedan
förälder
incheckning
9b96a0e00a
51 ändrade filer med 861 tillägg och 2429 borttagningar
  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
 object FCustomBlur: TFCustomBlur
-  Left = 672
-  Height = 300
-  Top = 158
+  Left = 646
+  Height = 319
+  Top = 261
   Width = 400
   Width = 400
   BorderIcons = [biSystemMenu]
   BorderIcons = [biSystemMenu]
   BorderStyle = bsDialog
   BorderStyle = bsDialog
   Caption = 'Custom blur'
   Caption = 'Custom blur'
-  ClientHeight = 300
+  ClientHeight = 319
   ClientWidth = 400
   ClientWidth = 400
   Font.Height = -12
   Font.Height = -12
   OnCloseQuery = FormCloseQuery
   OnCloseQuery = FormCloseQuery
@@ -14,7 +14,7 @@ object FCustomBlur: TFCustomBlur
   OnDestroy = FormDestroy
   OnDestroy = FormDestroy
   OnShow = FormShow
   OnShow = FormShow
   Position = poOwnerFormCenter
   Position = poOwnerFormCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Image1: TImage
   object Image1: TImage
     Left = 8
     Left = 8
     Height = 216
     Height = 216
@@ -27,9 +27,9 @@ object FCustomBlur: TFCustomBlur
   object Button_OK: TButton
   object Button_OK: TButton
     Left = 128
     Left = 128
     Height = 22
     Height = 22
-    Top = 272
+    Top = 288
     Width = 59
     Width = 59
-    Caption = 'OK'
+    Caption = 'rsOK'
     Default = True
     Default = True
     OnClick = Button_OKClick
     OnClick = Button_OKClick
     TabOrder = 0
     TabOrder = 0
@@ -37,10 +37,10 @@ object FCustomBlur: TFCustomBlur
   object Button_Cancel: TButton
   object Button_Cancel: TButton
     Left = 194
     Left = 194
     Height = 22
     Height = 22
-    Top = 272
+    Top = 288
     Width = 81
     Width = 81
     Cancel = True
     Cancel = True
-    Caption = 'Cancel'
+    Caption = 'rsCancel'
     ModalResult = 2
     ModalResult = 2
     TabOrder = 1
     TabOrder = 1
   end
   end
@@ -62,18 +62,28 @@ object FCustomBlur: TFCustomBlur
     OnClick = Button_EditMaskClick
     OnClick = Button_EditMaskClick
     TabOrder = 3
     TabOrder = 3
   end
   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
   object OpenPictureDialog1: TOpenPictureDialog
     Title = 'Open grayscale file'
     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'
     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]
     Options = [ofNoDereferenceLinks, ofEnableSizing, ofViewDetail]
-    left = 48
-    top = 248
+    Left = 232
+    Top = 232
   end
   end
   object Timer1: TTimer
   object Timer1: TTimer
     Enabled = False
     Enabled = False
     Interval = 200
     Interval = 200
     OnTimer = Timer1Timer
     OnTimer = Timer1Timer
-    left = 308
-    top = 230
+    Left = 328
+    Top = 232
   end
   end
 end
 end

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

@@ -1,7 +1,7 @@
 {"version":1,"strings":[
 {"version":1,"strings":[
 {"hash":96229746,"name":"tfcustomblur.caption","sourcebytes":[67,117,115,116,111,109,32,98,108,117,114],"value":"Custom blur"},
 {"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":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":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"}
 {"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_OK: TButton;
     Button_Cancel: TButton;
     Button_Cancel: TButton;
     btnLoadMask: TButton;
     btnLoadMask: TButton;
+    CheckBox_Preview: TCheckBox;
     Image1: TImage;
     Image1: TImage;
     OpenPictureDialog1: TOpenPictureDialog;
     OpenPictureDialog1: TOpenPictureDialog;
     Timer1: TTimer;
     Timer1: TTimer;
     procedure Button_EditMaskClick(Sender: TObject);
     procedure Button_EditMaskClick(Sender: TObject);
     procedure Button_LoadMaskClick(Sender: TObject);
     procedure Button_LoadMaskClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
     procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
     procedure FormCreate(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormDestroy(Sender: TObject);
     procedure FormDestroy(Sender: TObject);
@@ -40,6 +42,8 @@ type
     FLazPaintInstance: TLazPaintCustomInstance;
     FLazPaintInstance: TLazPaintCustomInstance;
     FFilterConnector: TFilterConnector;
     FFilterConnector: TFilterConnector;
     FThreadManager: TFilterThreadManager;
     FThreadManager: TFilterThreadManager;
+    FInitializing: boolean;
+    FComputedImage: TBGRABitmap;
     procedure GenerateDefaultMask;
     procedure GenerateDefaultMask;
     procedure SetLazPaintInstance(const AValue: TLazPaintCustomInstance);
     procedure SetLazPaintInstance(const AValue: TLazPaintCustomInstance);
     procedure OnTaskEvent({%H-}ASender: TObject; AEvent: TThreadManagerEvent);
     procedure OnTaskEvent({%H-}ASender: TObject; AEvent: TThreadManagerEvent);
@@ -69,10 +73,17 @@ procedure TFCustomBlur.FormDestroy(Sender: TObject);
 begin
 begin
   subConfig.Free;
   subConfig.Free;
   FreeAndNil(FBrowseImages);
   FreeAndNil(FBrowseImages);
+  if FComputedImage <> nil then FreeAndNil(FComputedImage);
 end;
 end;
 
 
 procedure TFCustomBlur.FormShow(Sender: TObject);
 procedure TFCustomBlur.FormShow(Sender: TObject);
 begin
 begin
+  FInitializing := true;
+  CheckBox_Preview.Checked := true;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
+  FInitializing := false;
   PreviewNeeded;
   PreviewNeeded;
 end;
 end;
 
 
@@ -162,7 +173,16 @@ begin
       if FThreadManager.ReadyToClose then
       if FThreadManager.ReadyToClose then
         Close
         Close
       else
       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;
     end;
   tmeStartingNewTask:
   tmeStartingNewTask:
     begin
     begin
@@ -170,6 +190,11 @@ begin
       Timer1.Interval := 100;
       Timer1.Interval := 100;
       Timer1.Enabled := true;
       Timer1.Enabled := true;
       Button_OK.Enabled := false;
       Button_OK.Enabled := false;
+
+      FInitializing := True;
+      CheckBox_Preview.Enabled := false;
+      CheckBox_Preview.Checked := True;
+      FInitializing := False;
     end;
     end;
   end;
   end;
 end;
 end;
@@ -258,10 +283,22 @@ end;
 
 
 procedure TFCustomBlur.Button_OKClick(Sender: TObject);
 procedure TFCustomBlur.Button_OKClick(Sender: TObject);
 begin
 begin
+  if not CheckBox_Preview.Checked and
+    (FComputedImage <> nil) then FFilterConnector.PutImage(FComputedImage,false,false);
+
   if not FFilterConnector.ActionDone then FFilterConnector.ValidateAction;
   if not FFilterConnector.ActionDone then FFilterConnector.ValidateAction;
   ModalResult := mrOK;
   ModalResult := mrOK;
 end;
 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);
 procedure TFCustomBlur.FormCloseQuery(Sender: TObject; var CanClose: boolean);
 begin
 begin
   FThreadManager.Quit;
   FThreadManager.Quit;

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

@@ -1,6 +1,6 @@
 object FEmboss: TFEmboss
 object FEmboss: TFEmboss
   Left = 491
   Left = 491
-  Height = 277
+  Height = 296
   Top = 168
   Top = 168
   Width = 148
   Width = 148
   AutoSize = True
   AutoSize = True
@@ -13,18 +13,18 @@ object FEmboss: TFEmboss
   ChildSizing.VerticalSpacing = 8
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 277
+  ClientHeight = 296
   ClientWidth = 148
   ClientWidth = 148
   Font.Height = -12
   Font.Height = -12
   OnCreate = FormCreate
   OnCreate = FormCreate
   OnShow = FormShow
   OnShow = FormShow
   Position = poMainFormCenter
   Position = poMainFormCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Label_Direction: TLabel
   object Label_Direction: TLabel
     Left = 8
     Left = 8
     Height = 15
     Height = 15
     Top = 8
     Top = 8
-    Width = 112
+    Width = 130
     Caption = 'Direction :'
     Caption = 'Direction :'
     ParentColor = False
     ParentColor = False
   end
   end
@@ -32,7 +32,7 @@ object FEmboss: TFEmboss
     Left = 8
     Left = 8
     Height = 105
     Height = 105
     Top = 31
     Top = 31
-    Width = 112
+    Width = 130
     OnMouseDown = PaintBox1MouseDown
     OnMouseDown = PaintBox1MouseDown
     OnMouseMove = PaintBox1MouseMove
     OnMouseMove = PaintBox1MouseMove
     OnMouseUp = PaintBox1MouseUp
     OnMouseUp = PaintBox1MouseUp
@@ -40,18 +40,18 @@ object FEmboss: TFEmboss
   end
   end
   object CheckBox_Transparent: TCheckBox
   object CheckBox_Transparent: TCheckBox
     Left = 8
     Left = 8
-    Height = 23
+    Height = 19
     Top = 144
     Top = 144
-    Width = 112
+    Width = 130
     Caption = 'Transparent'
     Caption = 'Transparent'
     OnChange = CheckBox_Change
     OnChange = CheckBox_Change
     TabOrder = 0
     TabOrder = 0
   end
   end
   object CheckBox_PreserveColors: TCheckBox
   object CheckBox_PreserveColors: TCheckBox
     Left = 8
     Left = 8
-    Height = 23
-    Top = 175
-    Width = 112
+    Height = 19
+    Top = 171
+    Width = 130
     Caption = 'Preserve colors'
     Caption = 'Preserve colors'
     Checked = True
     Checked = True
     OnChange = CheckBox_Change
     OnChange = CheckBox_Change
@@ -61,17 +61,17 @@ object FEmboss: TFEmboss
   object Panel1: TPanel
   object Panel1: TPanel
     Left = 8
     Left = 8
     Height = 25
     Height = 25
-    Top = 206
-    Width = 112
+    Top = 198
+    Width = 130
     BevelOuter = bvNone
     BevelOuter = bvNone
     ClientHeight = 25
     ClientHeight = 25
-    ClientWidth = 112
+    ClientWidth = 130
     TabOrder = 2
     TabOrder = 2
     object TrackBar_Strength: TTrackBar
     object TrackBar_Strength: TTrackBar
       Left = 0
       Left = 0
       Height = 25
       Height = 25
       Top = 0
       Top = 0
-      Width = 112
+      Width = 130
       Frequency = 64
       Frequency = 64
       Max = 256
       Max = 256
       OnChange = TrackBar_StrengthChange
       OnChange = TrackBar_StrengthChange
@@ -80,37 +80,47 @@ object FEmboss: TFEmboss
       TabOrder = 0
       TabOrder = 0
     end
     end
   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
   object Panel2: TPanel
     Left = 8
     Left = 8
     Height = 25
     Height = 25
-    Top = 239
-    Width = 112
+    Top = 258
+    Width = 130
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 25
     ClientHeight = 25
-    ClientWidth = 112
+    ClientWidth = 130
     TabOrder = 3
     TabOrder = 3
     object Button_OK: TButton
     object Button_OK: TButton
       Left = 0
       Left = 0
       Height = 25
       Height = 25
       Top = 0
       Top = 0
-      Width = 42
+      Width = 51
       AutoSize = True
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
       Default = True
       OnClick = Button_OKClick
       OnClick = Button_OKClick
       TabOrder = 0
       TabOrder = 0
     end
     end
     object Button_Cancel: TButton
     object Button_Cancel: TButton
-      Left = 50
+      Left = 59
       Height = 25
       Height = 25
       Top = 0
       Top = 0
-      Width = 62
+      Width = 71
       AutoSize = True
       AutoSize = True
       Cancel = True
       Cancel = True
-      Caption = 'Cancel'
+      Caption = 'rsCancel'
       ModalResult = 2
       ModalResult = 2
       TabOrder = 1
       TabOrder = 1
     end
     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":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":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":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)
   TFEmboss = class(TForm)
     Button_OK: TButton;
     Button_OK: TButton;
     Button_Cancel: TButton;
     Button_Cancel: TButton;
+    CheckBox_Preview: TCheckBox;
     CheckBox_Transparent: TCheckBox;
     CheckBox_Transparent: TCheckBox;
     CheckBox_PreserveColors: TCheckBox;
     CheckBox_PreserveColors: TCheckBox;
     Label_Direction: TLabel;
     Label_Direction: TLabel;
@@ -26,6 +27,7 @@ type
     TrackBar_Strength: TTrackBar;
     TrackBar_Strength: TTrackBar;
     procedure Button_OKClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
     procedure CheckBox_Change(Sender: TObject);
     procedure CheckBox_Change(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure PaintBox1MouseDown(Sender: TObject; Button: TMouseButton;
     procedure PaintBox1MouseDown(Sender: TObject; Button: TMouseButton;
@@ -56,7 +58,7 @@ function ShowEmbossDlg(AFilterConnector: TObject): TScriptResult;
 
 
 implementation
 implementation
 
 
-uses BGRABitmapTypes, math, ugraph, umac;
+uses BGRABitmapTypes, math, ugraph, umac, UResourceStrings;
 
 
 { TFEmboss }
 { TFEmboss }
 
 
@@ -107,6 +109,8 @@ end;
 
 
 procedure TFEmboss.Button_OKClick(Sender: TObject);
 procedure TFEmboss.Button_OKClick(Sender: TObject);
 begin
 begin
+  if not CheckBox_Preview.Checked then PreviewNeeded;
+
   FilterConnector.ValidateAction;
   FilterConnector.ValidateAction;
   FilterConnector.LazPaintInstance.Config.SetDefaultEmbossAngle(angle);
   FilterConnector.LazPaintInstance.Config.SetDefaultEmbossAngle(angle);
   ModalResult := mrOK;
   ModalResult := mrOK;
@@ -114,7 +118,16 @@ end;
 
 
 procedure TFEmboss.CheckBox_Change(Sender: TObject);
 procedure TFEmboss.CheckBox_Change(Sender: TObject);
 begin
 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;
 end;
 
 
 procedure TFEmboss.PaintBox1MouseDown(Sender: TObject; Button: TMouseButton;
 procedure TFEmboss.PaintBox1MouseDown(Sender: TObject; Button: TMouseButton;
@@ -171,7 +184,7 @@ end;
 
 
 procedure TFEmboss.TrackBar_StrengthChange(Sender: TObject);
 procedure TFEmboss.TrackBar_StrengthChange(Sender: TObject);
 begin
 begin
-  PreviewNeeded;
+  if CheckBox_Preview.Checked then PreviewNeeded;
   PaintBox1.Repaint;
   PaintBox1.Repaint;
 end;
 end;
 
 
@@ -180,7 +193,7 @@ begin
   if selectingAngle then
   if selectingAngle then
   begin
   begin
     angle := ugraph.ComputeAngle(X-PaintBox1.Width/2,Y-PaintBox1.Height/2);
     angle := ugraph.ComputeAngle(X-PaintBox1.Width/2,Y-PaintBox1.Height/2);
-    PreviewNeeded;
+    if CheckBox_Preview.Checked then PreviewNeeded;
     PaintBox1.Repaint;
     PaintBox1.Repaint;
   end;
   end;
 end;
 end;
@@ -211,6 +224,11 @@ begin
     if FVars.IsDefined('PreserveColors') then
     if FVars.IsDefined('PreserveColors') then
       CheckBox_PreserveColors.Checked := FVars.Booleans['PreserveColors'];
       CheckBox_PreserveColors.Checked := FVars.Booleans['PreserveColors'];
   end;
   end;
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing:= false;
   FInitializing:= false;
 end;
 end;
 
 

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

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

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

@@ -1,7 +1,7 @@
 {"version":1,"strings":[
 {"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":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":46,"name":"tffilterfunction.label_alphaequals.caption","sourcebytes":[46],"value":"."},
 {"hash":22194,"name":"tffilterfunction.tabsheet_rgb.caption","sourcebytes":[82,71,66],"value":"RGB"},
 {"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"},
 {"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)
   TFFilterFunction = class(TForm)
     Button_Cancel: TButton;
     Button_Cancel: TButton;
     Button_OK: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     CheckBox_Gamma: TCheckBox;
     CheckBox_Gamma: TCheckBox;
     CheckBox_GSBA: TCheckBox;
     CheckBox_GSBA: TCheckBox;
     Edit_Alpha: TEdit;
     Edit_Alpha: TEdit;
@@ -61,6 +62,7 @@ type
     procedure Button_OKClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
     procedure CheckBox_GammaChange(Sender: TObject);
     procedure CheckBox_GammaChange(Sender: TObject);
     procedure CheckBox_GSBAChange(Sender: TObject);
     procedure CheckBox_GSBAChange(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure Edit_aChange(Sender: TObject);
     procedure Edit_aChange(Sender: TObject);
     procedure Edit_AlphaChange(Sender: TObject);
     procedure Edit_AlphaChange(Sender: TObject);
     procedure Edit_bChange(Sender: TObject);
     procedure Edit_bChange(Sender: TObject);
@@ -85,7 +87,8 @@ type
     FRedError, FGreenError, FBlueError, FAlphaError,
     FRedError, FGreenError, FBlueError, FAlphaError,
     FHueError, FSaturationError, FLightnessError,
     FHueError, FSaturationError, FLightnessError,
     FLError, FaError, FbError: boolean;
     FLError, FaError, FbError: boolean;
-    FComputing: boolean;
+    FComputing,
+    FComputationRestarted: boolean;
     FSourceAsLab: TLabABitmap;
     FSourceAsLab: TLabABitmap;
     FComputedImage: TBGRABitmap;
     FComputedImage: TBGRABitmap;
     FComputedLines: integer;
     FComputedLines: integer;
@@ -115,7 +118,7 @@ function ShowFilterFunctionDlg(AFilterConnector: TObject): TScriptResult;
 
 
 implementation
 implementation
 
 
-uses UMac, LazPaintType, math;
+uses UMac, LazPaintType, UResourceStrings, math;
 
 
 function ShowFilterFunctionDlg(AFilterConnector: TObject): TScriptResult;
 function ShowFilterFunctionDlg(AFilterConnector: TObject): TScriptResult;
 var
 var
@@ -502,9 +505,11 @@ begin
   Timer1.Enabled:= false;
   Timer1.Enabled:= false;
   if FComputing then
   if FComputing then
   begin
   begin
-    if FComputedImage = nil then
-    begin
+    if (FComputedImage = nil)  then
       FComputedImage := TBGRABitmap.Create(FFilterConnector.BackupLayer.Width,FFilterConnector.BackupLayer.Height);
       FComputedImage := TBGRABitmap.Create(FFilterConnector.BackupLayer.Width,FFilterConnector.BackupLayer.Height);
+    if FComputationRestarted then
+    begin
+      FComputationRestarted := false;
       FComputedLines := FFilterConnector.WorkArea.Top;
       FComputedLines := FFilterConnector.WorkArea.Top;
       FFilterConnector.RestoreBackup;
       FFilterConnector.RestoreBackup;
     end;
     end;
@@ -699,12 +704,13 @@ begin
 
 
       end;
       end;
     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
     if FComputedLines = FFilterConnector.WorkArea.Bottom then
     begin
     begin
-      FreeAndNil(FComputedImage);
       FComputing := false;
       FComputing := false;
       Button_OK.Enabled := true;
       Button_OK.Enabled := true;
+      CheckBox_Preview.Enabled := true;
     end;
     end;
     Timer1.Interval := 15;
     Timer1.Interval := 15;
     Timer1.Enabled := True;
     Timer1.Enabled := True;
@@ -754,15 +760,17 @@ end;
 procedure TFFilterFunction.PreviewNeeded;
 procedure TFFilterFunction.PreviewNeeded;
 begin
 begin
   Timer1.Enabled := False;
   Timer1.Enabled := False;
-  FreeAndNil(FComputedImage);
   FComputing := false;
   FComputing := false;
   Button_OK.Enabled := false;
   Button_OK.Enabled := false;
+  CheckBox_Preview.Enabled := false;
+  FComputationRestarted := false;
 
 
   if not FAlphaError and not FGreenError and not FBlueError and not FRedError
   if not FAlphaError and not FGreenError and not FBlueError and not FRedError
     and not FHueError and not FSaturationError and not FLightnessError then
     and not FHueError and not FSaturationError and not FLightnessError then
   begin
   begin
     FComputing := True;
     FComputing := True;
     FComputedLines := 0;
     FComputedLines := 0;
+    FComputationRestarted := true;
     Timer1.Interval := 200;
     Timer1.Interval := 200;
     Timer1.Enabled := True;
     Timer1.Enabled := True;
   end;
   end;
@@ -814,6 +822,11 @@ begin
   Edit_LChange(nil);
   Edit_LChange(nil);
   Edit_aChange(nil);
   Edit_aChange(nil);
   Edit_bChange(nil);
   Edit_bChange(nil);
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing:= false;
   FInitializing:= false;
 end;
 end;
 
 
@@ -1043,6 +1056,9 @@ end;
 
 
 procedure TFFilterFunction.Button_OKClick(Sender: TObject);
 procedure TFFilterFunction.Button_OKClick(Sender: TObject);
 begin
 begin
+  if not CheckBox_Preview.Checked then
+    FFilterConnector.PutImage(FComputedImage,True,False);
+
   FFilterConnector.ValidateAction;
   FFilterConnector.ValidateAction;
   ModalResult := mrOK;
   ModalResult := mrOK;
 end;
 end;
@@ -1066,6 +1082,15 @@ begin
   end;
   end;
 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);
 procedure TFFilterFunction.Edit_aChange(Sender: TObject);
 begin
 begin
   UpdateExpr(FaExpr,Edit_a,FaError);
   UpdateExpr(FaExpr,Edit_a,FaError);

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

@@ -1,6 +1,6 @@
 object FMotionBlur: TFMotionBlur
 object FMotionBlur: TFMotionBlur
   Left = 438
   Left = 438
-  Height = 217
+  Height = 236
   Top = 173
   Top = 173
   Width = 148
   Width = 148
   AutoSize = True
   AutoSize = True
@@ -13,25 +13,26 @@ object FMotionBlur: TFMotionBlur
   ChildSizing.VerticalSpacing = 8
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 217
+  ClientHeight = 236
   ClientWidth = 148
   ClientWidth = 148
   Font.Height = -12
   Font.Height = -12
   OnCloseQuery = FormCloseQuery
   OnCloseQuery = FormCloseQuery
   OnCreate = FormCreate
   OnCreate = FormCreate
+  OnDestroy = FormDestroy
   OnShow = FormShow
   OnShow = FormShow
   Position = poScreenCenter
   Position = poScreenCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Panel1: TPanel
   object Panel1: TPanel
     Left = 8
     Left = 8
     Height = 23
     Height = 23
     Top = 8
     Top = 8
-    Width = 124
+    Width = 130
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 23
     ClientHeight = 23
-    ClientWidth = 124
+    ClientWidth = 130
     TabOrder = 1
     TabOrder = 1
     object Label_Distance: TLabel
     object Label_Distance: TLabel
       Left = 0
       Left = 0
@@ -51,7 +52,6 @@ object FMotionBlur: TFMotionBlur
       DecimalPlaces = 1
       DecimalPlaces = 1
       Increment = 3
       Increment = 3
       MaxValue = 1000
       MaxValue = 1000
-      MinValue = 0
       OnChange = SpinEdit_DistanceChange
       OnChange = SpinEdit_DistanceChange
       TabOrder = 0
       TabOrder = 0
       Value = 5
       Value = 5
@@ -61,7 +61,7 @@ object FMotionBlur: TFMotionBlur
     Left = 8
     Left = 8
     Height = 19
     Height = 19
     Top = 39
     Top = 39
-    Width = 124
+    Width = 130
     Caption = 'Oriented'
     Caption = 'Oriented'
     Checked = True
     Checked = True
     OnChange = Checkbox_OrientedChange
     OnChange = Checkbox_OrientedChange
@@ -72,43 +72,53 @@ object FMotionBlur: TFMotionBlur
     Left = 8
     Left = 8
     Height = 105
     Height = 105
     Top = 66
     Top = 66
-    Width = 124
+    Width = 130
     OnMouseDown = PaintBox1MouseDown
     OnMouseDown = PaintBox1MouseDown
     OnMouseMove = PaintBox1MouseMove
     OnMouseMove = PaintBox1MouseMove
     OnMouseUp = PaintBox1MouseUp
     OnMouseUp = PaintBox1MouseUp
     OnPaint = PaintBox1Paint
     OnPaint = PaintBox1Paint
   end
   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
   object Panel2: TPanel
     Left = 8
     Left = 8
     Height = 25
     Height = 25
-    Top = 179
-    Width = 124
+    Top = 206
+    Width = 130
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 25
     ClientHeight = 25
-    ClientWidth = 124
+    ClientWidth = 130
     TabOrder = 2
     TabOrder = 2
     object Button_OK: TButton
     object Button_OK: TButton
       Left = 0
       Left = 0
       Height = 25
       Height = 25
       Top = 0
       Top = 0
-      Width = 42
+      Width = 51
       AutoSize = True
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
       Default = True
       OnClick = Button_OKClick
       OnClick = Button_OKClick
       TabOrder = 0
       TabOrder = 0
     end
     end
     object Button_Cancel: TButton
     object Button_Cancel: TButton
-      Left = 50
+      Left = 59
       Height = 25
       Height = 25
       Top = 0
       Top = 0
-      Width = 62
+      Width = 71
       AutoSize = True
       AutoSize = True
       Cancel = True
       Cancel = True
-      Caption = 'Cancel'
+      Caption = 'rsCancel'
       ModalResult = 2
       ModalResult = 2
       TabOrder = 1
       TabOrder = 1
     end
     end
@@ -117,7 +127,7 @@ object FMotionBlur: TFMotionBlur
     Enabled = False
     Enabled = False
     Interval = 200
     Interval = 200
     OnTimer = Timer1Timer
     OnTimer = Timer1Timer
-    left = 112
-    top = 96
+    Left = 112
+    Top = 96
   end
   end
 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":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":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":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)
   TFMotionBlur = class(TForm)
     Button_OK: TButton;
     Button_OK: TButton;
     Button_Cancel: TButton;
     Button_Cancel: TButton;
+    CheckBox_Preview: TCheckBox;
     Checkbox_Oriented: TCheckBox;
     Checkbox_Oriented: TCheckBox;
     Panel1: TPanel;
     Panel1: TPanel;
     Panel2: TPanel;
     Panel2: TPanel;
@@ -26,8 +27,10 @@ type
     Timer1: TTimer;
     Timer1: TTimer;
     procedure Button_OKClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
     procedure Checkbox_OrientedChange(Sender: TObject);
     procedure Checkbox_OrientedChange(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
     procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
     procedure FormCreate(Sender: TObject);
     procedure FormCreate(Sender: TObject);
+    procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure PaintBox1MouseDown(Sender: TObject; Button: TMouseButton;
     procedure PaintBox1MouseDown(Sender: TObject; Button: TMouseButton;
       {%H-}Shift: TShiftState; X, Y: Integer);
       {%H-}Shift: TShiftState; X, Y: Integer);
@@ -47,7 +50,9 @@ type
     selectingAngle: boolean;
     selectingAngle: boolean;
     InPaintBoxMouseMove: boolean;
     InPaintBoxMouseMove: boolean;
     PaintBoxMouseMovePos: TPoint;
     PaintBoxMouseMovePos: TPoint;
-    FQuitQuery: boolean;
+    FQuitQuery,
+    FInitializing: boolean;
+    FComputedImage: TBGRABitmap;
     procedure UpdateStep;
     procedure UpdateStep;
     procedure ComputeAngle(X,Y: integer);
     procedure ComputeAngle(X,Y: integer);
     procedure InitParams;
     procedure InitParams;
@@ -59,7 +64,7 @@ function ShowMotionBlurDlg(AFilterConnector: TObject): TScriptResult;
 
 
 implementation
 implementation
 
 
-uses BGRABitmapTypes, math, ugraph, umac, BGRAFilters;
+uses BGRABitmapTypes, math, ugraph, umac, UResourceStrings, BGRAFilters;
 
 
 function ShowMotionBlurDlg(AFilterConnector: TObject): TScriptResult;
 function ShowMotionBlurDlg(AFilterConnector: TObject): TScriptResult;
 var
 var
@@ -186,6 +191,13 @@ begin
     angle := FVars.Floats['Angle']
     angle := FVars.Floats['Angle']
   else
   else
     angle := FFilterConnector.LazPaintInstance.Config.DefaultBlurMotionAngle;
     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;
 end;
 
 
 procedure TFMotionBlur.PreviewNeeded;
 procedure TFMotionBlur.PreviewNeeded;
@@ -205,7 +217,16 @@ begin
       if FThreadManager.ReadyToClose then
       if FThreadManager.ReadyToClose then
         Close
         Close
       else
       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;
     end;
   tmeStartingNewTask:
   tmeStartingNewTask:
     begin
     begin
@@ -213,6 +234,11 @@ begin
       Timer1.Interval := 100;
       Timer1.Interval := 100;
       Timer1.Enabled := true;
       Timer1.Enabled := true;
       Button_OK.Enabled := false;
       Button_OK.Enabled := false;
+
+      FInitializing := True;
+      CheckBox_Preview.Enabled := false;
+      CheckBox_Preview.Checked := True;
+      FInitializing := False;
     end;
     end;
   end;
   end;
 end;
 end;
@@ -227,6 +253,11 @@ begin
   SpinEdit_Distance.Constraints.MinWidth := DoScaleX(70, OriginalDPI);
   SpinEdit_Distance.Constraints.MinWidth := DoScaleX(70, OriginalDPI);
 end;
 end;
 
 
+procedure TFMotionBlur.FormDestroy(Sender: TObject);
+begin
+  if FComputedImage <> nil then FreeAndNil(FComputedImage);
+end;
+
 procedure TFMotionBlur.FormShow(Sender: TObject);
 procedure TFMotionBlur.FormShow(Sender: TObject);
 begin
 begin
   FQuitQuery := false;
   FQuitQuery := false;
@@ -262,6 +293,9 @@ end;
 
 
 procedure TFMotionBlur.Button_OKClick(Sender: TObject);
 procedure TFMotionBlur.Button_OKClick(Sender: TObject);
 begin
 begin
+  if not CheckBox_Preview.Checked and
+    (FComputedImage <> nil) then FFilterConnector.PutImage(FComputedImage,false,false);
+
   if not FFilterConnector.ActionDone then
   if not FFilterConnector.ActionDone then
   begin
   begin
     FFilterConnector.ValidateAction;
     FFilterConnector.ValidateAction;
@@ -278,6 +312,15 @@ begin
   PreviewNeeded;
   PreviewNeeded;
 end;
 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);
 procedure TFMotionBlur.FormCloseQuery(Sender: TObject; var CanClose: boolean);
 begin
 begin
   FThreadManager.Quit;
   FThreadManager.Quit;

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

@@ -1,6 +1,6 @@
 object FNoiseFilter: TFNoiseFilter
 object FNoiseFilter: TFNoiseFilter
   Left = 367
   Left = 367
-  Height = 125
+  Height = 144
   Top = 354
   Top = 354
   Width = 154
   Width = 154
   AutoSize = True
   AutoSize = True
@@ -13,7 +13,7 @@ object FNoiseFilter: TFNoiseFilter
   ChildSizing.VerticalSpacing = 8
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 125
+  ClientHeight = 144
   ClientWidth = 154
   ClientWidth = 154
   OnCloseQuery = FormCloseQuery
   OnCloseQuery = FormCloseQuery
   OnCreate = FormCreate
   OnCreate = FormCreate
@@ -21,31 +21,31 @@ object FNoiseFilter: TFNoiseFilter
   OnHide = FormHide
   OnHide = FormHide
   OnShow = FormShow
   OnShow = FormShow
   Position = poOwnerFormCenter
   Position = poOwnerFormCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Panel3: TPanel
   object Panel3: TPanel
     Left = 8
     Left = 8
-    Height = 48
+    Height = 38
     Top = 8
     Top = 8
-    Width = 127
+    Width = 130
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 1
     ChildSizing.ControlsPerLine = 1
-    ClientHeight = 48
-    ClientWidth = 127
+    ClientHeight = 38
+    ClientWidth = 130
     TabOrder = 2
     TabOrder = 2
     object Radio_GrayscaleNoise: TRadioButton
     object Radio_GrayscaleNoise: TRadioButton
       Left = 0
       Left = 0
-      Height = 24
+      Height = 19
       Top = 0
       Top = 0
-      Width = 126
+      Width = 101
       Caption = 'Grayscale noise'
       Caption = 'Grayscale noise'
       TabOrder = 0
       TabOrder = 0
     end
     end
     object Radio_RGBNoise: TRadioButton
     object Radio_RGBNoise: TRadioButton
       Left = 0
       Left = 0
-      Height = 24
-      Top = 24
-      Width = 126
+      Height = 19
+      Top = 19
+      Width = 101
       Caption = 'RGB noise'
       Caption = 'RGB noise'
       Checked = True
       Checked = True
       OnChange = Radio_NoiseChange
       OnChange = Radio_NoiseChange
@@ -55,29 +55,29 @@ object FNoiseFilter: TFNoiseFilter
   end
   end
   object Panel1: TPanel
   object Panel1: TPanel
     Left = 8
     Left = 8
-    Height = 28
-    Top = 64
-    Width = 127
+    Height = 23
+    Top = 54
+    Width = 130
     AutoSize = True
     AutoSize = True
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 28
-    ClientWidth = 127
+    ClientHeight = 23
+    ClientWidth = 130
     TabOrder = 0
     TabOrder = 0
     object Label_Opacity: TLabel
     object Label_Opacity: TLabel
       Left = 0
       Left = 0
-      Height = 28
+      Height = 23
       Top = 0
       Top = 0
-      Width = 54
+      Width = 44
       Caption = 'Opacity:'
       Caption = 'Opacity:'
       Layout = tlCenter
       Layout = tlCenter
       ParentColor = False
       ParentColor = False
     end
     end
     object SpinEdit_Alpha: TSpinEdit
     object SpinEdit_Alpha: TSpinEdit
-      Left = 62
-      Height = 28
+      Left = 52
+      Height = 23
       Top = 0
       Top = 0
       Width = 65
       Width = 65
       Constraints.MinWidth = 65
       Constraints.MinWidth = 65
@@ -89,38 +89,48 @@ object FNoiseFilter: TFNoiseFilter
       Value = 255
       Value = 255
     end
     end
   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
   object Panel2: TPanel
     Left = 8
     Left = 8
-    Height = 30
-    Top = 100
-    Width = 127
+    Height = 25
+    Top = 112
+    Width = 130
     AutoSize = True
     AutoSize = True
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 30
-    ClientWidth = 127
+    ClientHeight = 25
+    ClientWidth = 130
     TabOrder = 1
     TabOrder = 1
     object Button_OK: TButton
     object Button_OK: TButton
       Left = 0
       Left = 0
-      Height = 30
+      Height = 25
       Top = 0
       Top = 0
-      Width = 46
+      Width = 51
       AutoSize = True
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
       Default = True
       OnClick = Button_OKClick
       OnClick = Button_OKClick
       TabOrder = 0
       TabOrder = 0
     end
     end
     object Button_Cancel: TButton
     object Button_Cancel: TButton
-      Left = 54
-      Height = 30
+      Left = 59
+      Height = 25
       Top = 0
       Top = 0
-      Width = 70
+      Width = 71
       AutoSize = True
       AutoSize = True
       Cancel = True
       Cancel = True
-      Caption = 'Cancel'
+      Caption = 'rsCancel'
       ModalResult = 2
       ModalResult = 2
       TabOrder = 1
       TabOrder = 1
     end
     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":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":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":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)
   TFNoiseFilter = class(TForm)
     Button_Cancel: TButton;
     Button_Cancel: TButton;
     Button_OK: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     Label_Opacity: TLabel;
     Label_Opacity: TLabel;
     Panel1: TPanel;
     Panel1: TPanel;
     Panel2: TPanel;
     Panel2: TPanel;
@@ -24,6 +25,7 @@ type
     Radio_RGBNoise: TRadioButton;
     Radio_RGBNoise: TRadioButton;
     SpinEdit_Alpha: TSpinEdit;
     SpinEdit_Alpha: TSpinEdit;
     procedure Button_OKClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCloseQuery(Sender: TObject; var {%H-}CanClose: boolean);
     procedure FormCloseQuery(Sender: TObject; var {%H-}CanClose: boolean);
     procedure FormDestroy(Sender: TObject);
     procedure FormDestroy(Sender: TObject);
     procedure FormHide(Sender: TObject);
     procedure FormHide(Sender: TObject);
@@ -36,6 +38,7 @@ type
     FComputedLayer: TBGRABitmap;
     FComputedLayer: TBGRABitmap;
     FClosing: boolean;
     FClosing: boolean;
     procedure InitParams;
     procedure InitParams;
+    procedure PutComputedLayerToFilterConnector;
   public
   public
     FInitializing: boolean;
     FInitializing: boolean;
     FFilterConnector: TFilterConnector;
     FFilterConnector: TFilterConnector;
@@ -47,7 +50,7 @@ function ShowNoiseFilterDlg(AFilterConnector: TObject): TScriptResult;
 
 
 implementation
 implementation
 
 
-uses BGRAGradientScanner, umac, LCScaleDPI, LazPaintType;
+uses BGRAGradientScanner, umac, LCScaleDPI, LazPaintType, UResourceStrings;
 
 
 function ShowNoiseFilterDlg(AFilterConnector: TObject): TScriptResult;
 function ShowNoiseFilterDlg(AFilterConnector: TObject): TScriptResult;
 var
 var
@@ -84,10 +87,22 @@ end;
 
 
 procedure TFNoiseFilter.Button_OKClick(Sender: TObject);
 procedure TFNoiseFilter.Button_OKClick(Sender: TObject);
 begin
 begin
+  if not CheckBox_Preview.Checked then
+    PutComputedLayerToFilterConnector;
+
   FFilterConnector.ValidateAction;
   FFilterConnector.ValidateAction;
   ModalResult := mrOK;
   ModalResult := mrOK;
 end;
 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);
 procedure TFNoiseFilter.FormCloseQuery(Sender: TObject; var CanClose: boolean);
 begin
 begin
   FClosing := true;
   FClosing := true;
@@ -153,9 +168,24 @@ begin
     if Booleans['Grayscale'] then Radio_GrayscaleNoise.Checked:= true;
     if Booleans['Grayscale'] then Radio_GrayscaleNoise.Checked:= true;
     if IsDefined('Opacity') then SpinEdit_Alpha.Value := Integers['Opacity'];
     if IsDefined('Opacity') then SpinEdit_Alpha.Value := Integers['Opacity'];
   end;
   end;
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing:= false;
   FInitializing:= false;
 end;
 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;
 procedure TFNoiseFilter.ComputeFilteredLayer;
 var scan: TBGRARandomScanner;
 var scan: TBGRARandomScanner;
 begin
 begin
@@ -169,12 +199,8 @@ end;
 procedure TFNoiseFilter.PreviewNeeded(ARecomputeRandom: boolean);
 procedure TFNoiseFilter.PreviewNeeded(ARecomputeRandom: boolean);
 begin
 begin
   if ARecomputeRandom or (FComputedLayer = nil) then ComputeFilteredLayer;
   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;
 
 
 end.
 end.

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

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

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

@@ -1,7 +1,7 @@
 {"version":1,"strings":[
 {"version":1,"strings":[
 {"hash":179572208,"name":"tfphongfilter.caption","sourcebytes":[83,104,97,100,101,100,32,109,97,112],"value":"Shaded map"},
 {"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":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":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"},
 {"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)
   TFPhongFilter = class(TForm)
     Button_Cancel: TButton;
     Button_Cancel: TButton;
     Button_OK: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     GroupBox_Color: TGroupBox;
     GroupBox_Color: TGroupBox;
     GroupBox_Color1: TGroupBox;
     GroupBox_Color1: TGroupBox;
     Label_LightPosition: TLabel;
     Label_LightPosition: TLabel;
@@ -36,6 +37,7 @@ type
     SpinEdit_Altitude: TSpinEdit;
     SpinEdit_Altitude: TSpinEdit;
     Timer1: TTimer;
     Timer1: TTimer;
     procedure Button_OKClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormDestroy(Sender: TObject);
     procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure FormShow(Sender: TObject);
@@ -52,7 +54,8 @@ type
     { private declarations }
     { private declarations }
     FInitializing: boolean;
     FInitializing: boolean;
     FCenter: TPointF;
     FCenter: TPointF;
-    FHeightMap: TBGRABitmap;
+    FHeightMap,
+    FComputedImage: TBGRABitmap;
     FWorkspaceColor: TColor;
     FWorkspaceColor: TColor;
     FTexture: TBGRACustomBitmap;
     FTexture: TBGRACustomBitmap;
     function GetCurrentLightPos: TPointF;
     function GetCurrentLightPos: TPointF;
@@ -68,7 +71,7 @@ function ShowPhongFilterDlg(AFilterConnector: TObject): TScriptResult;
 
 
 implementation
 implementation
 
 
-uses LCScaleDPI, UMac, BGRAGradients, LazPaintType;
+uses LCScaleDPI, UMac, BGRAGradients, LazPaintType, UResourceStrings;
 
 
 function ShowPhongFilterDlg(AFilterConnector: TObject): TScriptResult;
 function ShowPhongFilterDlg(AFilterConnector: TObject): TScriptResult;
 var
 var
@@ -105,12 +108,24 @@ end;
 
 
 procedure TFPhongFilter.Button_OKClick(Sender: TObject);
 procedure TFPhongFilter.Button_OKClick(Sender: TObject);
 begin
 begin
+  if not CheckBox_Preview.Checked then
+    FilterConnector.PutImage(FComputedImage, True, false);
+
   FilterConnector.ValidateAction;
   FilterConnector.ValidateAction;
   FilterConnector.LazPaintInstance.Config.SetDefaultPhongFilterAltitude(SpinEdit_Altitude.Value);
   FilterConnector.LazPaintInstance.Config.SetDefaultPhongFilterAltitude(SpinEdit_Altitude.Value);
   FilterConnector.LazPaintInstance.ToolManager.LightPosition := CurrentLightPos;
   FilterConnector.LazPaintInstance.ToolManager.LightPosition := CurrentLightPos;
   ModalResult := mrOK;
   ModalResult := mrOK;
 end;
 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);
 procedure TFPhongFilter.FormCreate(Sender: TObject);
 begin
 begin
   ScaleControl(Self,OriginalDPI);
   ScaleControl(Self,OriginalDPI);
@@ -123,6 +138,7 @@ procedure TFPhongFilter.FormDestroy(Sender: TObject);
 begin
 begin
   FreeAndNil(FHeightMap);
   FreeAndNil(FHeightMap);
   if Assigned(FTexture) then FTexture.Free;
   if Assigned(FTexture) then FTexture.Free;
+  if Assigned(FComputedImage) then FComputedImage.Free;
 end;
 end;
 
 
 
 
@@ -198,8 +214,11 @@ end;
 procedure TFPhongFilter.Timer1Timer(Sender: TObject);
 procedure TFPhongFilter.Timer1Timer(Sender: TObject);
 begin
 begin
   Timer1.Enabled := false;
   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;
   Button_OK.Enabled := true;
+  CheckBox_Preview.Enabled := true;
 end;
 end;
 
 
 procedure TFPhongFilter.PreviewNeeded;
 procedure TFPhongFilter.PreviewNeeded;
@@ -207,6 +226,7 @@ begin
   Timer1.Enabled := false;
   Timer1.Enabled := false;
   Timer1.Enabled := True;
   Timer1.Enabled := True;
   Button_OK.Enabled := false;
   Button_OK.Enabled := false;
+  CheckBox_Preview.Enabled := false;
 end;
 end;
 
 
 function TFPhongFilter.GetCurrentLightPos: TPointF;
 function TFPhongFilter.GetCurrentLightPos: TPointF;
@@ -271,6 +291,11 @@ begin
     end;
     end;
   end;
   end;
   SpinEdit_AltitudeChange(nil);
   SpinEdit_AltitudeChange(nil);
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing := false;
   FInitializing := false;
 end;
 end;
 
 

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

@@ -1,6 +1,6 @@
 object FPosterize: TFPosterize
 object FPosterize: TFPosterize
   Left = 345
   Left = 345
-  Height = 114
+  Height = 133
   Top = 163
   Top = 163
   Width = 148
   Width = 148
   AutoSize = True
   AutoSize = True
@@ -13,23 +13,23 @@ object FPosterize: TFPosterize
   ChildSizing.VerticalSpacing = 8
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 114
+  ClientHeight = 133
   ClientWidth = 148
   ClientWidth = 148
   OnCreate = FormCreate
   OnCreate = FormCreate
   OnShow = FormShow
   OnShow = FormShow
   Position = poScreenCenter
   Position = poScreenCenter
-  LCLVersion = '1.6.0.4'
+  LCLVersion = '2.2.4.0'
   object Panel1: TPanel
   object Panel1: TPanel
     Left = 8
     Left = 8
     Height = 23
     Height = 23
     Top = 8
     Top = 8
-    Width = 112
+    Width = 130
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 23
     ClientHeight = 23
-    ClientWidth = 112
+    ClientWidth = 130
     TabOrder = 1
     TabOrder = 1
     object Label_Levels: TLabel
     object Label_Levels: TLabel
       Left = 0
       Left = 0
@@ -57,40 +57,50 @@ object FPosterize: TFPosterize
     Left = 8
     Left = 8
     Height = 19
     Height = 19
     Top = 39
     Top = 39
-    Width = 112
+    Width = 130
     Caption = 'By lightness'
     Caption = 'By lightness'
     OnChange = CheckBox_ByLightnessChange
     OnChange = CheckBox_ByLightnessChange
     TabOrder = 0
     TabOrder = 0
   end
   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
   object Panel2: TPanel
     Left = 8
     Left = 8
     Height = 25
     Height = 25
-    Top = 66
-    Width = 112
+    Top = 93
+    Width = 130
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
     ClientHeight = 25
     ClientHeight = 25
-    ClientWidth = 112
+    ClientWidth = 130
     TabOrder = 2
     TabOrder = 2
     object Button_OK: TButton
     object Button_OK: TButton
       Left = 0
       Left = 0
       Height = 25
       Height = 25
       Top = 0
       Top = 0
-      Width = 42
-      Caption = 'OK'
+      Width = 51
+      Caption = 'rsOK'
       Default = True
       Default = True
       OnClick = Button_OKClick
       OnClick = Button_OKClick
       TabOrder = 0
       TabOrder = 0
     end
     end
     object Button_Cancel: TButton
     object Button_Cancel: TButton
-      Left = 50
+      Left = 59
       Height = 25
       Height = 25
       Top = 0
       Top = 0
-      Width = 62
+      Width = 71
       Cancel = True
       Cancel = True
-      Caption = 'Cancel'
+      Caption = 'rsCancel'
       ModalResult = 2
       ModalResult = 2
       TabOrder = 1
       TabOrder = 1
     end
     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":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":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":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)
   TFPosterize = class(TForm)
     Button_Cancel: TButton;
     Button_Cancel: TButton;
     Button_OK: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     CheckBox_ByLightness: TCheckBox;
     CheckBox_ByLightness: TCheckBox;
     Label_Levels: TLabel;
     Label_Levels: TLabel;
     Panel1: TPanel;
     Panel1: TPanel;
@@ -23,6 +24,7 @@ type
     SpinEdit_Levels: TSpinEdit;
     SpinEdit_Levels: TSpinEdit;
     procedure Button_OKClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
     procedure CheckBox_ByLightnessChange(Sender: TObject);
     procedure CheckBox_ByLightnessChange(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure SpinEdit_LevelsChange(Sender: TObject);
     procedure SpinEdit_LevelsChange(Sender: TObject);
@@ -41,7 +43,7 @@ function ShowPosterizeDlg(AInstance: TLazPaintCustomInstance; AParameters: TVari
 
 
 implementation
 implementation
 
 
-uses BGRABitmapTypes, LCScaleDPI, UMac, UColorFilters, math;
+uses BGRABitmapTypes, LCScaleDPI, UMac, UColorFilters, UResourceStrings, math;
 
 
 function ShowPosterizeDlg(AInstance: TLazPaintCustomInstance; AParameters: TVariableSet): TScriptResult;
 function ShowPosterizeDlg(AInstance: TLazPaintCustomInstance; AParameters: TVariableSet): TScriptResult;
 var FPosterize: TFPosterize;
 var FPosterize: TFPosterize;
@@ -95,6 +97,8 @@ end;
 
 
 procedure TFPosterize.Button_OKClick(Sender: TObject);
 procedure TFPosterize.Button_OKClick(Sender: TObject);
 begin
 begin
+  if not CheckBox_Preview.Checked then PreviewNeeded;
+
   FFilterConnector.ValidateAction;
   FFilterConnector.ValidateAction;
   FFilterConnector.LazPaintInstance.Config.SetDefaultPosterizeLevels(SpinEdit_Levels.Value);
   FFilterConnector.LazPaintInstance.Config.SetDefaultPosterizeLevels(SpinEdit_Levels.Value);
   FFilterConnector.LazPaintInstance.Config.SetDefaultPosterizeByLightness(CheckBox_ByLightness.Checked);
   FFilterConnector.LazPaintInstance.Config.SetDefaultPosterizeByLightness(CheckBox_ByLightness.Checked);
@@ -103,7 +107,17 @@ end;
 
 
 procedure TFPosterize.CheckBox_ByLightnessChange(Sender: TObject);
 procedure TFPosterize.CheckBox_ByLightnessChange(Sender: TObject);
 begin
 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;
 end;
 
 
 procedure TFPosterize.FormShow(Sender: TObject);
 procedure TFPosterize.FormShow(Sender: TObject);
@@ -115,7 +129,8 @@ end;
 
 
 procedure TFPosterize.SpinEdit_LevelsChange(Sender: TObject);
 procedure TFPosterize.SpinEdit_LevelsChange(Sender: TObject);
 begin
 begin
-  if not FInitializing then PreviewNeeded;
+  if not FInitializing and
+    CheckBox_Preview.Checked then PreviewNeeded;
 end;
 end;
 
 
 procedure TFPosterize.OnTryStopAction(sender: TFilterConnector);
 procedure TFPosterize.OnTryStopAction(sender: TFilterConnector);
@@ -136,6 +151,11 @@ begin
     CheckBox_ByLightness.Checked := FFilterConnector.Parameters.Booleans['ByLightness']
     CheckBox_ByLightness.Checked := FFilterConnector.Parameters.Booleans['ByLightness']
   else
   else
     CheckBox_ByLightness.Checked := FFilterConnector.LazPaintInstance.Config.DefaultPosterizeByLightness;
     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;
   FInitializing := false;
 end;
 end;
 
 

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

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

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

@@ -1,6 +1,6 @@
 {"version":1,"strings":[
 {"version":1,"strings":[
 {"hash":129960242,"name":"tfradialblur.caption","sourcebytes":[82,97,100,105,97,108,32,98,108,117,114],"value":"Radial blur"},
 {"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":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_OK: TButton;
     Button_Cancel: TButton;
     Button_Cancel: TButton;
     Button3: TButton;
     Button3: TButton;
+    CheckBox_Preview: TCheckBox;
     Panel1: TPanel;
     Panel1: TPanel;
     Panel2: TPanel;
     Panel2: TPanel;
     SpinEdit_Radius: TFloatSpinEdit;
     SpinEdit_Radius: TFloatSpinEdit;
@@ -25,8 +26,10 @@ type
     Label_Radius: TLabel;
     Label_Radius: TLabel;
     Timer1: TTimer;
     Timer1: TTimer;
     procedure Button_OKClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
     procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
     procedure FormCreate(Sender: TObject);
     procedure FormCreate(Sender: TObject);
+    procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure SpinEdit_RadiusChange(Sender: TObject);
     procedure SpinEdit_RadiusChange(Sender: TObject);
     procedure Timer1Timer(Sender: TObject);
     procedure Timer1Timer(Sender: TObject);
@@ -36,6 +39,7 @@ type
     FThreadManager: TFilterThreadManager;
     FThreadManager: TFilterThreadManager;
     FLastRadius: single;
     FLastRadius: single;
     FVars: TVariableSet;
     FVars: TVariableSet;
+    FComputedImage: TBGRABitmap;
     procedure PreviewNeeded;
     procedure PreviewNeeded;
     procedure UpdateStep;
     procedure UpdateStep;
     procedure OnTaskEvent({%H-}ASender: TObject; AEvent: TThreadManagerEvent);
     procedure OnTaskEvent({%H-}ASender: TObject; AEvent: TThreadManagerEvent);
@@ -48,7 +52,7 @@ function ShowRadialBlurDlg(AFilterConnector: TObject; ABlurType:TRadialBlurType;
 
 
 implementation
 implementation
 
 
-uses UMac, BGRAFilters;
+uses UMac, UResourceStrings, BGRAFilters;
 
 
 function ShowRadialBlurDlg(AFilterConnector: TObject;
 function ShowRadialBlurDlg(AFilterConnector: TObject;
   ABlurType: TRadialBlurType; ACaption: string): TScriptResult;
   ABlurType: TRadialBlurType; ACaption: string): TScriptResult;
@@ -75,6 +79,9 @@ end;
 
 
 procedure TFRadialBlur.Button_OKClick(Sender: TObject);
 procedure TFRadialBlur.Button_OKClick(Sender: TObject);
 begin
 begin
+  if not CheckBox_Preview.Checked and
+    (FComputedImage <> nil) then FFilterConnector.PutImage(FComputedImage,false,false);
+
   if not FFilterConnector.ActionDone then
   if not FFilterConnector.ActionDone then
   begin
   begin
     FFilterConnector.ValidateAction;
     FFilterConnector.ValidateAction;
@@ -83,6 +90,15 @@ begin
   ModalResult := mrOK;
   ModalResult := mrOK;
 end;
 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);
 procedure TFRadialBlur.FormCloseQuery(Sender: TObject; var CanClose: boolean);
 begin
 begin
   FThreadManager.Quit;
   FThreadManager.Quit;
@@ -99,6 +115,11 @@ begin
   SpinEdit_Radius.Constraints.MinWidth := DoScaleX(70, OriginalDPI);
   SpinEdit_Radius.Constraints.MinWidth := DoScaleX(70, OriginalDPI);
 end;
 end;
 
 
+procedure TFRadialBlur.FormDestroy(Sender: TObject);
+begin
+  if FComputedImage <> nil then FreeAndNil(FComputedImage);
+end;
+
 procedure TFRadialBlur.FormShow(Sender: TObject);
 procedure TFRadialBlur.FormShow(Sender: TObject);
 begin
 begin
   FInitializing := True;
   FInitializing := True;
@@ -109,6 +130,10 @@ begin
   else
   else
     SpinEdit_Radius.Value := FFilterConnector.LazPaintInstance.Config.DefaultBlurRadius;
     SpinEdit_Radius.Value := FFilterConnector.LazPaintInstance.Config.DefaultBlurRadius;
   UpdateStep;
   UpdateStep;
+  CheckBox_Preview.Checked := true;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing := False;
   FInitializing := False;
   PreviewNeeded;
   PreviewNeeded;
   Top := FFilterConnector.LazPaintInstance.MainFormBounds.Top;
   Top := FFilterConnector.LazPaintInstance.MainFormBounds.Top;
@@ -158,7 +183,16 @@ begin
       if FThreadManager.ReadyToClose then
       if FThreadManager.ReadyToClose then
         Close
         Close
       else
       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;
     end;
   tmeStartingNewTask:
   tmeStartingNewTask:
     begin
     begin
@@ -166,6 +200,11 @@ begin
       Timer1.Interval := 100;
       Timer1.Interval := 100;
       Timer1.Enabled := true;
       Timer1.Enabled := true;
       Button_OK.Enabled := false;
       Button_OK.Enabled := false;
+
+      FInitializing := True;
+      CheckBox_Preview.Enabled := false;
+      CheckBox_Preview.Checked := True;
+      FInitializing := False;
     end;
     end;
   end;
   end;
 end;
 end;

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

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

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

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

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

@@ -1,8 +1,8 @@
 object FTwirl: TFTwirl
 object FTwirl: TFTwirl
   Left = 631
   Left = 631
-  Height = 288
+  Height = 249
   Top = 173
   Top = 173
-  Width = 173
+  Width = 142
   AutoSize = True
   AutoSize = True
   BorderIcons = [biSystemMenu]
   BorderIcons = [biSystemMenu]
   BorderStyle = bsDialog
   BorderStyle = bsDialog
@@ -13,48 +13,47 @@ object FTwirl: TFTwirl
   ChildSizing.VerticalSpacing = 8
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 288
-  ClientWidth = 173
-  DesignTimePPI = 120
-  Font.Height = -15
+  ClientHeight = 249
+  ClientWidth = 142
+  Font.Height = -12
   OnCreate = FormCreate
   OnCreate = FormCreate
   OnDestroy = FormDestroy
   OnDestroy = FormDestroy
   OnShow = FormShow
   OnShow = FormShow
   Position = poScreenCenter
   Position = poScreenCenter
-  LCLVersion = '2.0.2.0'
+  LCLVersion = '2.2.4.0'
   object Panel1: TPanel
   object Panel1: TPanel
     Left = 8
     Left = 8
-    Height = 76
+    Height = 54
     Top = 8
     Top = 8
-    Width = 143
+    Width = 130
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.VerticalSpacing = 8
     ChildSizing.VerticalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 76
-    ClientWidth = 143
-    Font.Height = -15
+    ClientHeight = 54
+    ClientWidth = 130
+    Font.Height = -12
     ParentFont = False
     ParentFont = False
     TabOrder = 0
     TabOrder = 0
     object Label_Radius: TLabel
     object Label_Radius: TLabel
       Left = 0
       Left = 0
-      Height = 34
+      Height = 23
       Top = 0
       Top = 0
-      Width = 54
+      Width = 41
       Caption = 'Radius :'
       Caption = 'Radius :'
-      Font.Height = -15
+      Font.Height = -12
       Layout = tlCenter
       Layout = tlCenter
       ParentColor = False
       ParentColor = False
       ParentFont = False
       ParentFont = False
     end
     end
     object SpinEdit_Radius: TSpinEdit
     object SpinEdit_Radius: TSpinEdit
-      Left = 62
-      Height = 34
+      Left = 49
+      Height = 23
       Top = 0
       Top = 0
-      Width = 81
-      Constraints.MinWidth = 81
-      Font.Height = -15
+      Width = 65
+      Constraints.MinWidth = 65
+      Font.Height = -12
       Increment = 10
       Increment = 10
       MaxValue = 10000
       MaxValue = 10000
       MinValue = 1
       MinValue = 1
@@ -65,22 +64,22 @@ object FTwirl: TFTwirl
     end
     end
     object Label_Angle: TLabel
     object Label_Angle: TLabel
       Left = 0
       Left = 0
-      Height = 34
-      Top = 42
-      Width = 54
+      Height = 23
+      Top = 31
+      Width = 41
       Caption = 'Angle :'
       Caption = 'Angle :'
-      Font.Height = -15
+      Font.Height = -12
       Layout = tlCenter
       Layout = tlCenter
       ParentColor = False
       ParentColor = False
       ParentFont = False
       ParentFont = False
     end
     end
     object SpinEdit_Angle: TSpinEdit
     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
       Increment = 30
       MaxValue = 10000
       MaxValue = 10000
       MinValue = -10000
       MinValue = -10000
@@ -92,51 +91,61 @@ object FTwirl: TFTwirl
   end
   end
   object PaintBox1: TPaintBox
   object PaintBox1: TPaintBox
     Left = 8
     Left = 8
-    Height = 131
-    Top = 92
-    Width = 143
-    Font.Height = -15
+    Height = 105
+    Top = 70
+    Width = 130
+    Font.Height = -12
     ParentFont = False
     ParentFont = False
     OnMouseDown = PaintBox1MouseDown
     OnMouseDown = PaintBox1MouseDown
     OnMouseMove = PaintBox1MouseMove
     OnMouseMove = PaintBox1MouseMove
     OnPaint = PaintBox1Paint
     OnPaint = PaintBox1Paint
   end
   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
   object Panel2: TPanel
     Left = 8
     Left = 8
-    Height = 36
-    Top = 231
-    Width = 143
+    Height = 25
+    Top = 210
+    Width = 130
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 36
-    ClientWidth = 143
-    Font.Height = -15
+    ClientHeight = 25
+    ClientWidth = 130
+    Font.Height = -12
     ParentFont = False
     ParentFont = False
     TabOrder = 1
     TabOrder = 1
     object Button_OK: TButton
     object Button_OK: TButton
       Left = 0
       Left = 0
-      Height = 36
+      Height = 25
       Top = 0
       Top = 0
-      Width = 35
+      Width = 51
       AutoSize = True
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
       Default = True
-      Font.Height = -15
+      Font.Height = -12
       OnClick = Button_OKClick
       OnClick = Button_OKClick
       ParentFont = False
       ParentFont = False
       TabOrder = 0
       TabOrder = 0
     end
     end
     object Button_Cancel: TButton
     object Button_Cancel: TButton
-      Left = 43
-      Height = 36
+      Left = 59
+      Height = 25
       Top = 0
       Top = 0
-      Width = 59
+      Width = 71
       AutoSize = True
       AutoSize = True
       Cancel = True
       Cancel = True
-      Caption = 'Cancel'
-      Font.Height = -15
+      Caption = 'rsCancel'
+      Font.Height = -12
       ModalResult = 2
       ModalResult = 2
       ParentFont = False
       ParentFont = False
       TabOrder = 1
       TabOrder = 1
@@ -146,7 +155,7 @@ object FTwirl: TFTwirl
     Enabled = False
     Enabled = False
     Interval = 200
     Interval = 200
     OnTimer = Timer1Timer
     OnTimer = Timer1Timer
-    left = 64
-    top = 120
+    Left = 51
+    Top = 96
   end
   end
 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":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":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":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)
   TFTwirl = class(TForm)
     Button_Cancel: TButton;
     Button_Cancel: TButton;
     Button_OK: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     Label_Radius: TLabel;
     Label_Radius: TLabel;
     Label_Angle: TLabel;
     Label_Angle: TLabel;
     PaintBox1: TPaintBox;
     PaintBox1: TPaintBox;
@@ -26,6 +27,7 @@ type
     SpinEdit_Radius: TSpinEdit;
     SpinEdit_Radius: TSpinEdit;
     Timer1: TTimer;
     Timer1: TTimer;
     procedure Button_OKClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormDestroy(Sender: TObject);
     procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure FormShow(Sender: TObject);
@@ -41,6 +43,7 @@ type
     { private declarations }
     { private declarations }
     FInitializing: boolean;
     FInitializing: boolean;
     FCenter: TPointF;
     FCenter: TPointF;
+    FComputedImage: TBGRABitmap;
     procedure InitParams;
     procedure InitParams;
     procedure PreviewNeeded;
     procedure PreviewNeeded;
     function ComputeFilteredLayer: TBGRABitmap;
     function ComputeFilteredLayer: TBGRABitmap;
@@ -52,7 +55,7 @@ function ShowTwirlDlg(AFilterConnector: TObject): TScriptResult;
 
 
 implementation
 implementation
 
 
-uses umac;
+uses umac, UResourceStrings;
 
 
 function ShowTwirlDlg(AFilterConnector: TObject): TScriptResult;
 function ShowTwirlDlg(AFilterConnector: TObject): TScriptResult;
 var
 var
@@ -96,6 +99,7 @@ end;
 
 
 procedure TFTwirl.FormDestroy(Sender: TObject);
 procedure TFTwirl.FormDestroy(Sender: TObject);
 begin
 begin
+  if FComputedImage <> nil then FreeAndNil(FComputedImage);
 end;
 end;
 
 
 procedure TFTwirl.FormShow(Sender: TObject);
 procedure TFTwirl.FormShow(Sender: TObject);
@@ -152,8 +156,12 @@ end;
 procedure TFTwirl.Timer1Timer(Sender: TObject);
 procedure TFTwirl.Timer1Timer(Sender: TObject);
 begin
 begin
   Timer1.Enabled := false;
   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;
   Button_OK.Enabled := true;
+  CheckBox_Preview.Enabled := true;
 end;
 end;
 
 
 procedure TFTwirl.InitParams;
 procedure TFTwirl.InitParams;
@@ -171,6 +179,11 @@ begin
     if IsDefined('CenterXPercent') then FCenter.X := Floats['CenterXPercent']/100;
     if IsDefined('CenterXPercent') then FCenter.X := Floats['CenterXPercent']/100;
     if IsDefined('CenterYPercent') then FCenter.Y := Floats['CenterYPercent']/100;
     if IsDefined('CenterYPercent') then FCenter.Y := Floats['CenterYPercent']/100;
   end;
   end;
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing := false;
   FInitializing := false;
 end;
 end;
 
 
@@ -179,6 +192,7 @@ begin
   Timer1.Enabled := false;
   Timer1.Enabled := false;
   Timer1.Enabled := True;
   Timer1.Enabled := True;
   Button_OK.Enabled := false;
   Button_OK.Enabled := false;
+  CheckBox_Preview.Enabled := false;
 end;
 end;
 
 
 function TFTwirl.ComputeFilteredLayer: TBGRABitmap;
 function TFTwirl.ComputeFilteredLayer: TBGRABitmap;
@@ -189,12 +203,23 @@ end;
 
 
 procedure TFTwirl.Button_OKClick(Sender: TObject);
 procedure TFTwirl.Button_OKClick(Sender: TObject);
 begin
 begin
+  if not CheckBox_Preview.Checked then FilterConnector.PutImage(FComputedImage,false,false);
+
   FilterConnector.ValidateAction;
   FilterConnector.ValidateAction;
   FilterConnector.LazPaintInstance.Config.SetDefaultTwirlRadius(SpinEdit_Radius.Value);
   FilterConnector.LazPaintInstance.Config.SetDefaultTwirlRadius(SpinEdit_Radius.Value);
   FilterConnector.LazPaintInstance.Config.SetDefaultTwirlTurn(SpinEdit_Angle.Value/360);
   FilterConnector.LazPaintInstance.Config.SetDefaultTwirlTurn(SpinEdit_Angle.Value/360);
   ModalResult := mrOK;
   ModalResult := mrOK;
 end;
 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}
 {$R *.lfm}
 
 
 end.
 end.

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

@@ -1,8 +1,8 @@
 object FWaveDisplacement: TFWaveDisplacement
 object FWaveDisplacement: TFWaveDisplacement
   Left = 306
   Left = 306
-  Height = 356
+  Height = 285
   Top = 172
   Top = 172
-  Width = 222
+  Width = 168
   AutoSize = True
   AutoSize = True
   BorderIcons = [biSystemMenu]
   BorderIcons = [biSystemMenu]
   BorderStyle = bsDialog
   BorderStyle = bsDialog
@@ -13,47 +13,47 @@ object FWaveDisplacement: TFWaveDisplacement
   ChildSizing.VerticalSpacing = 8
   ChildSizing.VerticalSpacing = 8
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.Layout = cclLeftToRightThenTopToBottom
   ChildSizing.ControlsPerLine = 1
   ChildSizing.ControlsPerLine = 1
-  ClientHeight = 356
-  ClientWidth = 222
-  DesignTimePPI = 120
+  ClientHeight = 285
+  ClientWidth = 168
   OnCreate = FormCreate
   OnCreate = FormCreate
+  OnDestroy = FormDestroy
   OnShow = FormShow
   OnShow = FormShow
   Position = poScreenCenter
   Position = poScreenCenter
-  LCLVersion = '2.0.2.0'
+  LCLVersion = '2.2.4.0'
   object Panel1: TPanel
   object Panel1: TPanel
     Left = 8
     Left = 8
-    Height = 118
+    Height = 85
     Top = 8
     Top = 8
-    Width = 191
+    Width = 151
     AutoSize = True
     AutoSize = True
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.VerticalSpacing = 8
     ChildSizing.VerticalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 118
-    ClientWidth = 191
-    Font.Height = -15
+    ClientHeight = 85
+    ClientWidth = 151
+    Font.Height = -12
     ParentFont = False
     ParentFont = False
     TabOrder = 0
     TabOrder = 0
     object Label_Wavelength: TLabel
     object Label_Wavelength: TLabel
       Left = 0
       Left = 0
-      Height = 34
+      Height = 23
       Top = 0
       Top = 0
-      Width = 102
+      Width = 78
       Caption = 'Wavelength :'
       Caption = 'Wavelength :'
-      Font.Height = -15
+      Font.Height = -12
       Layout = tlCenter
       Layout = tlCenter
       ParentColor = False
       ParentColor = False
       ParentFont = False
       ParentFont = False
     end
     end
     object SpinEdit_Wavelength: TSpinEdit
     object SpinEdit_Wavelength: TSpinEdit
-      Left = 110
-      Height = 34
+      Left = 86
+      Height = 23
       Top = 0
       Top = 0
-      Width = 81
-      Constraints.MinWidth = 81
-      Font.Height = -15
+      Width = 65
+      Constraints.MinWidth = 65
+      Font.Height = -12
       Increment = 10
       Increment = 10
       MaxValue = 10000
       MaxValue = 10000
       MinValue = 1
       MinValue = 1
@@ -64,22 +64,22 @@ object FWaveDisplacement: TFWaveDisplacement
     end
     end
     object Label_Displacement: TLabel
     object Label_Displacement: TLabel
       Left = 0
       Left = 0
-      Height = 34
-      Top = 42
-      Width = 102
+      Height = 23
+      Top = 31
+      Width = 78
       Caption = 'Displacement :'
       Caption = 'Displacement :'
-      Font.Height = -15
+      Font.Height = -12
       Layout = tlCenter
       Layout = tlCenter
       ParentColor = False
       ParentColor = False
       ParentFont = False
       ParentFont = False
     end
     end
     object SpinEdit_Displacement: TSpinEdit
     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
       Increment = 5
       MaxValue = 1000
       MaxValue = 1000
       OnChange = SpinEdit_DisplacementChange
       OnChange = SpinEdit_DisplacementChange
@@ -89,22 +89,22 @@ object FWaveDisplacement: TFWaveDisplacement
     end
     end
     object Label_Phase: TLabel
     object Label_Phase: TLabel
       Left = 0
       Left = 0
-      Height = 34
-      Top = 84
-      Width = 102
+      Height = 23
+      Top = 62
+      Width = 78
       Caption = 'Phase :'
       Caption = 'Phase :'
-      Font.Height = -15
+      Font.Height = -12
       Layout = tlCenter
       Layout = tlCenter
       ParentColor = False
       ParentColor = False
       ParentFont = False
       ParentFont = False
     end
     end
     object SpinEdit_Phase: TSpinEdit
     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
       Increment = 30
       MaxValue = 360
       MaxValue = 360
       OnChange = SpinEdit_PhaseChange
       OnChange = SpinEdit_PhaseChange
@@ -113,52 +113,62 @@ object FWaveDisplacement: TFWaveDisplacement
     end
     end
   end
   end
   object PaintBox1: TPaintBox
   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
     ParentFont = False
     OnMouseDown = PaintBox1MouseDown
     OnMouseDown = PaintBox1MouseDown
     OnMouseMove = PaintBox1MouseMove
     OnMouseMove = PaintBox1MouseMove
     OnPaint = PaintBox1Paint
     OnPaint = PaintBox1Paint
   end
   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
   object Panel2: TPanel
-    Left = 9
-    Height = 36
-    Top = 304
-    Width = 188
+    Left = 8
+    Height = 25
+    Top = 241
+    Width = 151
     BevelOuter = bvNone
     BevelOuter = bvNone
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.HorizontalSpacing = 8
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.Layout = cclLeftToRightThenTopToBottom
     ChildSizing.ControlsPerLine = 2
     ChildSizing.ControlsPerLine = 2
-    ClientHeight = 36
-    ClientWidth = 188
-    Font.Height = -15
+    ClientHeight = 25
+    ClientWidth = 151
+    Font.Height = -12
     ParentFont = False
     ParentFont = False
     TabOrder = 1
     TabOrder = 1
     object Button_OK: TButton
     object Button_OK: TButton
       Left = 0
       Left = 0
-      Height = 36
+      Height = 25
       Top = 0
       Top = 0
-      Width = 35
+      Width = 51
       AutoSize = True
       AutoSize = True
-      Caption = 'OK'
+      Caption = 'rsOK'
       Default = True
       Default = True
-      Font.Height = -15
+      Font.Height = -12
       OnClick = Button_OKClick
       OnClick = Button_OKClick
       ParentFont = False
       ParentFont = False
       TabOrder = 0
       TabOrder = 0
     end
     end
     object Button_Cancel: TButton
     object Button_Cancel: TButton
-      Left = 43
-      Height = 36
+      Left = 59
+      Height = 25
       Top = 0
       Top = 0
-      Width = 59
+      Width = 71
       AutoSize = True
       AutoSize = True
       Cancel = True
       Cancel = True
-      Caption = 'Cancel'
-      Font.Height = -15
+      Caption = 'rsCancel'
+      Font.Height = -12
       ModalResult = 2
       ModalResult = 2
       ParentFont = False
       ParentFont = False
       TabOrder = 1
       TabOrder = 1
@@ -168,7 +178,7 @@ object FWaveDisplacement: TFWaveDisplacement
     Enabled = False
     Enabled = False
     Interval = 200
     Interval = 200
     OnTimer = Timer1Timer
     OnTimer = Timer1Timer
-    left = 48
-    top = 184
+    Left = 38
+    Top = 147
   end
   end
 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":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":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":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)
   TFWaveDisplacement = class(TForm)
     Button_Cancel: TButton;
     Button_Cancel: TButton;
     Button_OK: TButton;
     Button_OK: TButton;
+    CheckBox_Preview: TCheckBox;
     Label_Displacement: TLabel;
     Label_Displacement: TLabel;
     Label_Phase: TLabel;
     Label_Phase: TLabel;
     Label_Wavelength: TLabel;
     Label_Wavelength: TLabel;
@@ -28,7 +29,9 @@ type
     SpinEdit_Wavelength: TSpinEdit;
     SpinEdit_Wavelength: TSpinEdit;
     Timer1: TTimer;
     Timer1: TTimer;
     procedure Button_OKClick(Sender: TObject);
     procedure Button_OKClick(Sender: TObject);
+    procedure CheckBox_PreviewChange(Sender: TObject);
     procedure FormCreate(Sender: TObject);
     procedure FormCreate(Sender: TObject);
+    procedure FormDestroy(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure FormShow(Sender: TObject);
     procedure PaintBox1MouseDown(Sender: TObject; {%H-}Button: TMouseButton;
     procedure PaintBox1MouseDown(Sender: TObject; {%H-}Button: TMouseButton;
       {%H-}Shift: TShiftState; X, Y: Integer);
       {%H-}Shift: TShiftState; X, Y: Integer);
@@ -43,6 +46,7 @@ type
     { private declarations }
     { private declarations }
     FInitializing: boolean;
     FInitializing: boolean;
     FCenter: TPointF;
     FCenter: TPointF;
+    FComputedImage: TBGRABitmap;
     procedure InitParams;
     procedure InitParams;
     procedure PreviewNeeded;
     procedure PreviewNeeded;
     function ComputeFilteredLayer: TBGRABitmap;
     function ComputeFilteredLayer: TBGRABitmap;
@@ -57,7 +61,7 @@ function ShowWaveDisplacementDlg(AFilterConnector: TObject): TScriptResult;
 
 
 implementation
 implementation
 
 
-uses umac, ugraph, LCScaleDPI;
+uses umac, ugraph, UResourceStrings, LCScaleDPI;
 
 
 function ShowWaveDisplacementDlg(AFilterConnector: TObject): TScriptResult;
 function ShowWaveDisplacementDlg(AFilterConnector: TObject): TScriptResult;
 var
 var
@@ -100,6 +104,11 @@ begin
   CheckOKCancelBtns(Button_OK{,Button_Cancel});
   CheckOKCancelBtns(Button_OK{,Button_Cancel});
 end;
 end;
 
 
+procedure TFWaveDisplacement.FormDestroy(Sender: TObject);
+begin
+  if FComputedImage <> nil then FreeAndNil(FComputedImage);
+end;
+
 procedure TFWaveDisplacement.FormShow(Sender: TObject);
 procedure TFWaveDisplacement.FormShow(Sender: TObject);
 begin
 begin
   InitParams;
   InitParams;
@@ -159,8 +168,12 @@ end;
 procedure TFWaveDisplacement.Timer1Timer(Sender: TObject);
 procedure TFWaveDisplacement.Timer1Timer(Sender: TObject);
 begin
 begin
   Timer1.Enabled := false;
   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;
   Button_OK.Enabled := true;
+  CheckBox_Preview.Enabled := true;
 end;
 end;
 
 
 procedure TFWaveDisplacement.InitParams;
 procedure TFWaveDisplacement.InitParams;
@@ -180,6 +193,11 @@ begin
     if IsDefined('CenterXPercent') then FCenter.X := Floats['CenterXPercent']/100;
     if IsDefined('CenterXPercent') then FCenter.X := Floats['CenterXPercent']/100;
     if IsDefined('CenterYPercent') then FCenter.Y := Floats['CenterYPercent']/100;
     if IsDefined('CenterYPercent') then FCenter.Y := Floats['CenterYPercent']/100;
   end;
   end;
+
+  CheckBox_Preview.Checked := True;
+  CheckBox_Preview.Caption := rsPreview;
+  Button_OK.Caption := rsOk;
+  Button_Cancel.Caption := rsCancel;
   FInitializing := false;
   FInitializing := false;
 end;
 end;
 
 
@@ -188,6 +206,7 @@ begin
   Timer1.Enabled := false;
   Timer1.Enabled := false;
   Timer1.Enabled := True;
   Timer1.Enabled := True;
   Button_OK.Enabled := false;
   Button_OK.Enabled := false;
+  CheckBox_Preview.Enabled := false;
 end;
 end;
 
 
 function TFWaveDisplacement.ComputeFilteredLayer: TBGRABitmap;
 function TFWaveDisplacement.ComputeFilteredLayer: TBGRABitmap;
@@ -199,6 +218,8 @@ end;
 
 
 procedure TFWaveDisplacement.Button_OKClick(Sender: TObject);
 procedure TFWaveDisplacement.Button_OKClick(Sender: TObject);
 begin
 begin
+  if not CheckBox_Preview.Checked then FilterConnector.PutImage(FComputedImage,false,false);
+
   FilterConnector.ValidateAction;
   FilterConnector.ValidateAction;
   FilterConnector.LazPaintInstance.Config.SetDefaultWaveDisplacementWavelength(SpinEdit_Wavelength.Value);
   FilterConnector.LazPaintInstance.Config.SetDefaultWaveDisplacementWavelength(SpinEdit_Wavelength.Value);
   FilterConnector.LazPaintInstance.Config.SetDefaultWaveDisplacementAmount(SpinEdit_Displacement.Value);
   FilterConnector.LazPaintInstance.Config.SetDefaultWaveDisplacementAmount(SpinEdit_Displacement.Value);
@@ -206,6 +227,15 @@ begin
   ModalResult := mrOK;
   ModalResult := mrOK;
 end;
 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}
 {$R *.lfm}
 
 
 end.
 end.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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