From d22ccbea9f9c07e6102290256ab07d194c786b8d Mon Sep 17 00:00:00 2001
From: L1Q <6942070+L1Q@users.noreply.github.com>
Date: Wed, 17 Jan 2024 04:26:44 +0200
Subject: [PATCH 1/2] Make ImageBeautifierForm localizable
---
.../Forms/ImageBeautifierForm.Designer.cs | 245 +---
.../Forms/ImageBeautifierForm.resx | 1077 +++++++++++++++++
2 files changed, 1123 insertions(+), 199 deletions(-)
diff --git a/ShareX.MediaLib/Forms/ImageBeautifierForm.Designer.cs b/ShareX.MediaLib/Forms/ImageBeautifierForm.Designer.cs
index 5f06bfd7d..24b27892c 100644
--- a/ShareX.MediaLib/Forms/ImageBeautifierForm.Designer.cs
+++ b/ShareX.MediaLib/Forms/ImageBeautifierForm.Designer.cs
@@ -16,6 +16,7 @@ partial class ImageBeautifierForm
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ImageBeautifierForm));
this.lblMargin = new System.Windows.Forms.Label();
this.tbMargin = new System.Windows.Forms.TrackBar();
this.lblPadding = new System.Windows.Forms.Label();
@@ -71,183 +72,108 @@ private void InitializeComponent()
//
// lblMargin
//
- this.lblMargin.AutoSize = true;
- this.lblMargin.Location = new System.Drawing.Point(13, 16);
- this.lblMargin.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblMargin, "lblMargin");
this.lblMargin.Name = "lblMargin";
- this.lblMargin.Size = new System.Drawing.Size(53, 17);
- this.lblMargin.TabIndex = 0;
- this.lblMargin.Text = "Margin:";
//
// tbMargin
//
- this.tbMargin.Location = new System.Drawing.Point(16, 40);
- this.tbMargin.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ resources.ApplyResources(this.tbMargin, "tbMargin");
this.tbMargin.Maximum = 300;
this.tbMargin.Name = "tbMargin";
- this.tbMargin.Size = new System.Drawing.Size(296, 45);
- this.tbMargin.TabIndex = 1;
this.tbMargin.TickFrequency = 10;
this.tbMargin.Scroll += new System.EventHandler(this.tbMargin_Scroll);
this.tbMargin.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbMargin_MouseUp);
//
// lblPadding
//
- this.lblPadding.AutoSize = true;
- this.lblPadding.Location = new System.Drawing.Point(13, 88);
- this.lblPadding.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblPadding, "lblPadding");
this.lblPadding.Name = "lblPadding";
- this.lblPadding.Size = new System.Drawing.Size(59, 17);
- this.lblPadding.TabIndex = 3;
- this.lblPadding.Text = "Padding:";
//
// tbPadding
//
- this.tbPadding.Location = new System.Drawing.Point(16, 112);
- this.tbPadding.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ resources.ApplyResources(this.tbPadding, "tbPadding");
this.tbPadding.Maximum = 200;
this.tbPadding.Name = "tbPadding";
- this.tbPadding.Size = new System.Drawing.Size(296, 45);
- this.tbPadding.TabIndex = 4;
this.tbPadding.TickFrequency = 10;
this.tbPadding.Scroll += new System.EventHandler(this.tbPadding_Scroll);
this.tbPadding.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbPadding_MouseUp);
//
// cbSmartPadding
//
- this.cbSmartPadding.AutoSize = true;
- this.cbSmartPadding.Location = new System.Drawing.Point(16, 160);
- this.cbSmartPadding.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ resources.ApplyResources(this.cbSmartPadding, "cbSmartPadding");
this.cbSmartPadding.Name = "cbSmartPadding";
- this.cbSmartPadding.Size = new System.Drawing.Size(114, 21);
- this.cbSmartPadding.TabIndex = 6;
- this.cbSmartPadding.Text = "Smart padding";
this.cbSmartPadding.UseVisualStyleBackColor = true;
this.cbSmartPadding.CheckedChanged += new System.EventHandler(this.cbSmartPadding_CheckedChanged);
//
// lblRoundedCorner
//
- this.lblRoundedCorner.AutoSize = true;
- this.lblRoundedCorner.Location = new System.Drawing.Point(13, 192);
- this.lblRoundedCorner.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblRoundedCorner, "lblRoundedCorner");
this.lblRoundedCorner.Name = "lblRoundedCorner";
- this.lblRoundedCorner.Size = new System.Drawing.Size(106, 17);
- this.lblRoundedCorner.TabIndex = 7;
- this.lblRoundedCorner.Text = "Rounded corner:";
//
// tbRoundedCorner
//
- this.tbRoundedCorner.Location = new System.Drawing.Point(16, 216);
- this.tbRoundedCorner.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ resources.ApplyResources(this.tbRoundedCorner, "tbRoundedCorner");
this.tbRoundedCorner.Maximum = 50;
this.tbRoundedCorner.Name = "tbRoundedCorner";
- this.tbRoundedCorner.Size = new System.Drawing.Size(296, 45);
- this.tbRoundedCorner.TabIndex = 8;
this.tbRoundedCorner.TickFrequency = 5;
this.tbRoundedCorner.Scroll += new System.EventHandler(this.tbRoundedCorner_Scroll);
this.tbRoundedCorner.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbRoundedCorner_MouseUp);
//
// lblShadowRadius
//
- this.lblShadowRadius.AutoSize = true;
- this.lblShadowRadius.Location = new System.Drawing.Point(16, 32);
- this.lblShadowRadius.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblShadowRadius, "lblShadowRadius");
this.lblShadowRadius.Name = "lblShadowRadius";
- this.lblShadowRadius.Size = new System.Drawing.Size(50, 17);
- this.lblShadowRadius.TabIndex = 10;
- this.lblShadowRadius.Text = "Radius:";
//
// tbShadowRadius
//
- this.tbShadowRadius.AutoSize = false;
- this.tbShadowRadius.Location = new System.Drawing.Point(16, 56);
- this.tbShadowRadius.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ resources.ApplyResources(this.tbShadowRadius, "tbShadowRadius");
this.tbShadowRadius.Maximum = 100;
this.tbShadowRadius.Name = "tbShadowRadius";
- this.tbShadowRadius.Size = new System.Drawing.Size(280, 32);
- this.tbShadowRadius.TabIndex = 11;
this.tbShadowRadius.TickFrequency = 5;
this.tbShadowRadius.Scroll += new System.EventHandler(this.tbShadowRadius_Scroll);
//
// lblBackground
//
- this.lblBackground.AutoSize = true;
- this.lblBackground.Location = new System.Drawing.Point(13, 384);
- this.lblBackground.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblBackground, "lblBackground");
this.lblBackground.Name = "lblBackground";
- this.lblBackground.Size = new System.Drawing.Size(80, 17);
- this.lblBackground.TabIndex = 13;
- this.lblBackground.Text = "Background:";
//
// lblMarginValue
//
- this.lblMarginValue.Location = new System.Drawing.Point(256, 16);
- this.lblMarginValue.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblMarginValue, "lblMarginValue");
this.lblMarginValue.Name = "lblMarginValue";
- this.lblMarginValue.Size = new System.Drawing.Size(56, 24);
- this.lblMarginValue.TabIndex = 2;
- this.lblMarginValue.Text = "0";
- this.lblMarginValue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblPaddingValue
//
- this.lblPaddingValue.Location = new System.Drawing.Point(256, 88);
- this.lblPaddingValue.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblPaddingValue, "lblPaddingValue");
this.lblPaddingValue.Name = "lblPaddingValue";
- this.lblPaddingValue.Size = new System.Drawing.Size(56, 24);
- this.lblPaddingValue.TabIndex = 5;
- this.lblPaddingValue.Text = "0";
- this.lblPaddingValue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblRoundedCornerValue
//
- this.lblRoundedCornerValue.Location = new System.Drawing.Point(256, 192);
- this.lblRoundedCornerValue.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblRoundedCornerValue, "lblRoundedCornerValue");
this.lblRoundedCornerValue.Name = "lblRoundedCornerValue";
- this.lblRoundedCornerValue.Size = new System.Drawing.Size(56, 24);
- this.lblRoundedCornerValue.TabIndex = 9;
- this.lblRoundedCornerValue.Text = "0";
- this.lblRoundedCornerValue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblShadowRadiusValue
//
- this.lblShadowRadiusValue.Location = new System.Drawing.Point(240, 32);
- this.lblShadowRadiusValue.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblShadowRadiusValue, "lblShadowRadiusValue");
this.lblShadowRadiusValue.Name = "lblShadowRadiusValue";
- this.lblShadowRadiusValue.Size = new System.Drawing.Size(56, 24);
- this.lblShadowRadiusValue.TabIndex = 12;
- this.lblShadowRadiusValue.Text = "0";
- this.lblShadowRadiusValue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// tlpMain
//
- this.tlpMain.ColumnCount = 2;
- this.tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 335F));
- this.tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ resources.ApplyResources(this.tlpMain, "tlpMain");
this.tlpMain.Controls.Add(this.pbPreview, 1, 0);
this.tlpMain.Controls.Add(this.pOptions, 0, 0);
- this.tlpMain.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tlpMain.Location = new System.Drawing.Point(0, 0);
this.tlpMain.Name = "tlpMain";
- this.tlpMain.RowCount = 1;
- this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.tlpMain.Size = new System.Drawing.Size(1384, 761);
- this.tlpMain.TabIndex = 0;
//
// pbPreview
//
this.pbPreview.BackColor = System.Drawing.SystemColors.Window;
- this.pbPreview.Dock = System.Windows.Forms.DockStyle.Fill;
+ resources.ApplyResources(this.pbPreview, "pbPreview");
this.pbPreview.DrawCheckeredBackground = true;
this.pbPreview.EnableRightClickMenu = true;
this.pbPreview.FullscreenOnClick = true;
- this.pbPreview.Location = new System.Drawing.Point(335, 0);
- this.pbPreview.Margin = new System.Windows.Forms.Padding(0);
this.pbPreview.Name = "pbPreview";
this.pbPreview.PictureBoxBackColor = System.Drawing.SystemColors.Window;
this.pbPreview.ShowImageSizeLabel = true;
- this.pbPreview.Size = new System.Drawing.Size(1049, 761);
- this.pbPreview.TabIndex = 1;
//
// pOptions
//
@@ -274,19 +200,14 @@ private void InitializeComponent()
this.pOptions.Controls.Add(this.lblRoundedCorner);
this.pOptions.Controls.Add(this.lblBackground);
this.pOptions.Controls.Add(this.tbRoundedCorner);
- this.pOptions.Dock = System.Windows.Forms.DockStyle.Fill;
- this.pOptions.Location = new System.Drawing.Point(3, 3);
+ resources.ApplyResources(this.pOptions, "pOptions");
this.pOptions.Name = "pOptions";
- this.pOptions.Size = new System.Drawing.Size(329, 755);
- this.pOptions.TabIndex = 0;
//
// btnShadowExpand
//
this.btnShadowExpand.Image = global::ShareX.MediaLib.Properties.Resources.plus_white;
- this.btnShadowExpand.Location = new System.Drawing.Point(280, 260);
+ resources.ApplyResources(this.btnShadowExpand, "btnShadowExpand");
this.btnShadowExpand.Name = "btnShadowExpand";
- this.btnShadowExpand.Size = new System.Drawing.Size(30, 30);
- this.btnShadowExpand.TabIndex = 16;
this.btnShadowExpand.Tag = "+";
this.btnShadowExpand.UseVisualStyleBackColor = true;
this.btnShadowExpand.Click += new System.EventHandler(this.btnShadowExpand_Click);
@@ -306,139 +227,90 @@ private void InitializeComponent()
this.gbShadow.Controls.Add(this.lblShadowOpacity);
this.gbShadow.Controls.Add(this.lblShadowDistance);
this.gbShadow.Controls.Add(this.tbShadowOpacity);
- this.gbShadow.Location = new System.Drawing.Point(8, 264);
+ resources.ApplyResources(this.gbShadow, "gbShadow");
this.gbShadow.Name = "gbShadow";
- this.gbShadow.Size = new System.Drawing.Size(312, 104);
- this.gbShadow.TabIndex = 25;
this.gbShadow.TabStop = false;
- this.gbShadow.Text = "Shadow";
//
// lblShadowAngleValue
//
- this.lblShadowAngleValue.Location = new System.Drawing.Point(240, 248);
- this.lblShadowAngleValue.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblShadowAngleValue, "lblShadowAngleValue");
this.lblShadowAngleValue.Name = "lblShadowAngleValue";
- this.lblShadowAngleValue.Size = new System.Drawing.Size(56, 24);
- this.lblShadowAngleValue.TabIndex = 15;
- this.lblShadowAngleValue.Text = "0";
- this.lblShadowAngleValue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblShadowDistanceValue
//
- this.lblShadowDistanceValue.Location = new System.Drawing.Point(240, 176);
- this.lblShadowDistanceValue.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblShadowDistanceValue, "lblShadowDistanceValue");
this.lblShadowDistanceValue.Name = "lblShadowDistanceValue";
- this.lblShadowDistanceValue.Size = new System.Drawing.Size(56, 24);
- this.lblShadowDistanceValue.TabIndex = 14;
- this.lblShadowDistanceValue.Text = "0";
- this.lblShadowDistanceValue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lblShadowOpacityValue
//
- this.lblShadowOpacityValue.Location = new System.Drawing.Point(240, 104);
- this.lblShadowOpacityValue.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ resources.ApplyResources(this.lblShadowOpacityValue, "lblShadowOpacityValue");
this.lblShadowOpacityValue.Name = "lblShadowOpacityValue";
- this.lblShadowOpacityValue.Size = new System.Drawing.Size(56, 24);
- this.lblShadowOpacityValue.TabIndex = 13;
- this.lblShadowOpacityValue.Text = "0";
- this.lblShadowOpacityValue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// btnShadowColor
//
this.btnShadowColor.Color = System.Drawing.Color.Empty;
this.btnShadowColor.ColorPickerOptions = null;
- this.btnShadowColor.Location = new System.Drawing.Point(16, 320);
+ resources.ApplyResources(this.btnShadowColor, "btnShadowColor");
this.btnShadowColor.Name = "btnShadowColor";
- this.btnShadowColor.Size = new System.Drawing.Size(280, 32);
- this.btnShadowColor.TabIndex = 6;
- this.btnShadowColor.Text = "Color...";
- this.btnShadowColor.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnShadowColor.UseVisualStyleBackColor = true;
this.btnShadowColor.ColorChanged += new ShareX.HelpersLib.ColorButton.ColorChangedEventHandler(this.btnShadowColor_ColorChanged);
//
// tbShadowAngle
//
- this.tbShadowAngle.Location = new System.Drawing.Point(16, 272);
+ resources.ApplyResources(this.tbShadowAngle, "tbShadowAngle");
this.tbShadowAngle.Maximum = 360;
this.tbShadowAngle.Name = "tbShadowAngle";
- this.tbShadowAngle.Size = new System.Drawing.Size(280, 45);
- this.tbShadowAngle.TabIndex = 5;
this.tbShadowAngle.TickFrequency = 45;
this.tbShadowAngle.Scroll += new System.EventHandler(this.tbShadowAngle_Scroll);
//
// lblShadowAngle
//
- this.lblShadowAngle.AutoSize = true;
- this.lblShadowAngle.Location = new System.Drawing.Point(16, 248);
+ resources.ApplyResources(this.lblShadowAngle, "lblShadowAngle");
this.lblShadowAngle.Name = "lblShadowAngle";
- this.lblShadowAngle.Size = new System.Drawing.Size(44, 17);
- this.lblShadowAngle.TabIndex = 4;
- this.lblShadowAngle.Text = "Angle:";
//
// tbShadowDistance
//
- this.tbShadowDistance.Location = new System.Drawing.Point(16, 200);
+ resources.ApplyResources(this.tbShadowDistance, "tbShadowDistance");
this.tbShadowDistance.Maximum = 100;
this.tbShadowDistance.Name = "tbShadowDistance";
- this.tbShadowDistance.Size = new System.Drawing.Size(280, 45);
- this.tbShadowDistance.TabIndex = 3;
this.tbShadowDistance.TickFrequency = 10;
this.tbShadowDistance.Scroll += new System.EventHandler(this.tbShadowDistance_Scroll);
//
// lblShadowOpacity
//
- this.lblShadowOpacity.AutoSize = true;
- this.lblShadowOpacity.Location = new System.Drawing.Point(16, 104);
+ resources.ApplyResources(this.lblShadowOpacity, "lblShadowOpacity");
this.lblShadowOpacity.Name = "lblShadowOpacity";
- this.lblShadowOpacity.Size = new System.Drawing.Size(55, 17);
- this.lblShadowOpacity.TabIndex = 0;
- this.lblShadowOpacity.Text = "Opacity:";
//
// lblShadowDistance
//
- this.lblShadowDistance.AutoSize = true;
- this.lblShadowDistance.Location = new System.Drawing.Point(16, 176);
+ resources.ApplyResources(this.lblShadowDistance, "lblShadowDistance");
this.lblShadowDistance.Name = "lblShadowDistance";
- this.lblShadowDistance.Size = new System.Drawing.Size(60, 17);
- this.lblShadowDistance.TabIndex = 2;
- this.lblShadowDistance.Text = "Distance:";
//
// tbShadowOpacity
//
- this.tbShadowOpacity.Location = new System.Drawing.Point(16, 128);
+ resources.ApplyResources(this.tbShadowOpacity, "tbShadowOpacity");
this.tbShadowOpacity.Maximum = 100;
this.tbShadowOpacity.Name = "tbShadowOpacity";
- this.tbShadowOpacity.Size = new System.Drawing.Size(280, 45);
this.tbShadowOpacity.SmallChange = 10;
- this.tbShadowOpacity.TabIndex = 1;
this.tbShadowOpacity.TickFrequency = 10;
this.tbShadowOpacity.Scroll += new System.EventHandler(this.tbShadowOpacity_Scroll);
//
// btnResetOptions
//
- this.btnResetOptions.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnResetOptions.Location = new System.Drawing.Point(8, 656);
+ resources.ApplyResources(this.btnResetOptions, "btnResetOptions");
this.btnResetOptions.Name = "btnResetOptions";
- this.btnResetOptions.Size = new System.Drawing.Size(312, 32);
- this.btnResetOptions.TabIndex = 23;
- this.btnResetOptions.Text = "Reset options...";
this.btnResetOptions.UseVisualStyleBackColor = true;
this.btnResetOptions.Click += new System.EventHandler(this.btnResetOptions_Click);
//
// lblBackgroundImageFilePath
//
- this.lblBackgroundImageFilePath.Location = new System.Drawing.Point(13, 480);
+ resources.ApplyResources(this.lblBackgroundImageFilePath, "lblBackgroundImageFilePath");
this.lblBackgroundImageFilePath.Name = "lblBackgroundImageFilePath";
- this.lblBackgroundImageFilePath.Size = new System.Drawing.Size(296, 120);
- this.lblBackgroundImageFilePath.TabIndex = 22;
//
// btnBackgroundImageFilePathBrowse
//
- this.btnBackgroundImageFilePathBrowse.Location = new System.Drawing.Point(16, 440);
+ resources.ApplyResources(this.btnBackgroundImageFilePathBrowse, "btnBackgroundImageFilePathBrowse");
this.btnBackgroundImageFilePathBrowse.Name = "btnBackgroundImageFilePathBrowse";
- this.btnBackgroundImageFilePathBrowse.Size = new System.Drawing.Size(296, 32);
- this.btnBackgroundImageFilePathBrowse.TabIndex = 21;
- this.btnBackgroundImageFilePathBrowse.Text = "Browse image file...";
this.btnBackgroundImageFilePathBrowse.UseVisualStyleBackColor = true;
this.btnBackgroundImageFilePathBrowse.Click += new System.EventHandler(this.btnBackgroundImageFilePathBrowse_Click);
//
@@ -446,95 +318,70 @@ private void InitializeComponent()
//
this.cbBackgroundType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbBackgroundType.FormattingEnabled = true;
- this.cbBackgroundType.Location = new System.Drawing.Point(16, 408);
+ resources.ApplyResources(this.cbBackgroundType, "cbBackgroundType");
this.cbBackgroundType.Name = "cbBackgroundType";
- this.cbBackgroundType.Size = new System.Drawing.Size(296, 25);
- this.cbBackgroundType.TabIndex = 19;
this.cbBackgroundType.SelectedIndexChanged += new System.EventHandler(this.cbBackgroundType_SelectedIndexChanged);
//
// btnPrint
//
- this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ resources.ApplyResources(this.btnPrint, "btnPrint");
this.btnPrint.Image = global::ShareX.MediaLib.Properties.Resources.printer;
- this.btnPrint.Location = new System.Drawing.Point(264, 696);
this.btnPrint.Name = "btnPrint";
- this.btnPrint.Size = new System.Drawing.Size(56, 48);
- this.btnPrint.TabIndex = 18;
- this.ttMain.SetToolTip(this.btnPrint, "Print...");
+ this.ttMain.SetToolTip(this.btnPrint, resources.GetString("btnPrint.ToolTip"));
this.btnPrint.UseVisualStyleBackColor = true;
this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
//
// btnSave
//
- this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ resources.ApplyResources(this.btnSave, "btnSave");
this.btnSave.Image = global::ShareX.MediaLib.Properties.Resources.disk_black;
- this.btnSave.Location = new System.Drawing.Point(72, 696);
this.btnSave.Name = "btnSave";
- this.btnSave.Size = new System.Drawing.Size(56, 48);
- this.btnSave.TabIndex = 15;
- this.ttMain.SetToolTip(this.btnSave, "Save");
+ this.ttMain.SetToolTip(this.btnSave, resources.GetString("btnSave.ToolTip"));
this.btnSave.UseVisualStyleBackColor = true;
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// btnUpload
//
- this.btnUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ resources.ApplyResources(this.btnUpload, "btnUpload");
this.btnUpload.Image = global::ShareX.MediaLib.Properties.Resources.upload_cloud;
- this.btnUpload.Location = new System.Drawing.Point(200, 696);
this.btnUpload.Name = "btnUpload";
- this.btnUpload.Size = new System.Drawing.Size(56, 48);
- this.btnUpload.TabIndex = 17;
- this.ttMain.SetToolTip(this.btnUpload, "Upload");
+ this.ttMain.SetToolTip(this.btnUpload, resources.GetString("btnUpload.ToolTip"));
this.btnUpload.UseVisualStyleBackColor = true;
this.btnUpload.Click += new System.EventHandler(this.btnUpload_Click);
//
// btnSaveAs
//
- this.btnSaveAs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ resources.ApplyResources(this.btnSaveAs, "btnSaveAs");
this.btnSaveAs.Image = global::ShareX.MediaLib.Properties.Resources.disks_black;
- this.btnSaveAs.Location = new System.Drawing.Point(136, 696);
this.btnSaveAs.Name = "btnSaveAs";
- this.btnSaveAs.Size = new System.Drawing.Size(56, 48);
- this.btnSaveAs.TabIndex = 16;
- this.ttMain.SetToolTip(this.btnSaveAs, "Save as...");
+ this.ttMain.SetToolTip(this.btnSaveAs, resources.GetString("btnSaveAs.ToolTip"));
this.btnSaveAs.UseVisualStyleBackColor = true;
this.btnSaveAs.Click += new System.EventHandler(this.btnSaveAs_Click);
//
// btnCopy
//
- this.btnCopy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ resources.ApplyResources(this.btnCopy, "btnCopy");
this.btnCopy.Image = global::ShareX.MediaLib.Properties.Resources.document_copy;
- this.btnCopy.Location = new System.Drawing.Point(8, 696);
this.btnCopy.Name = "btnCopy";
- this.btnCopy.Size = new System.Drawing.Size(56, 48);
- this.btnCopy.TabIndex = 14;
- this.ttMain.SetToolTip(this.btnCopy, "Copy");
+ this.ttMain.SetToolTip(this.btnCopy, resources.GetString("btnCopy.ToolTip"));
this.btnCopy.UseVisualStyleBackColor = true;
this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
//
// pbBackground
//
this.pbBackground.Cursor = System.Windows.Forms.Cursors.Hand;
- this.pbBackground.Location = new System.Drawing.Point(16, 440);
+ resources.ApplyResources(this.pbBackground, "pbBackground");
this.pbBackground.Name = "pbBackground";
- this.pbBackground.Size = new System.Drawing.Size(296, 40);
- this.pbBackground.TabIndex = 14;
this.pbBackground.TabStop = false;
this.pbBackground.Click += new System.EventHandler(this.pbBackground_Click);
//
// ImageBeautifierForm
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
+ resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1384, 761);
this.Controls.Add(this.tlpMain);
- this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.MinimumSize = new System.Drawing.Size(1000, 700);
this.Name = "ImageBeautifierForm";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "ShareX - Image beautifier";
this.Shown += new System.EventHandler(this.ImageBeautifierForm_Shown);
((System.ComponentModel.ISupportInitialize)(this.tbMargin)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tbPadding)).EndInit();
diff --git a/ShareX.MediaLib/Forms/ImageBeautifierForm.resx b/ShareX.MediaLib/Forms/ImageBeautifierForm.resx
index 5a824bff2..476d5088f 100644
--- a/ShareX.MediaLib/Forms/ImageBeautifierForm.resx
+++ b/ShareX.MediaLib/Forms/ImageBeautifierForm.resx
@@ -117,10 +117,1087 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+
+ 13, 16
+
+
+
+ 4, 0, 4, 0
+
+
+ 53, 17
+
+
+ 0
+
+
+ Margin:
+
+
+ lblMargin
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 12
+
+
+ 16, 40
+
+
+ 4, 3, 4, 3
+
+
+ 296, 45
+
+
+ 1
+
+
+ tbMargin
+
+
+ System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 13
+
+
+ True
+
+
+ 13, 88
+
+
+ 4, 0, 4, 0
+
+
+ 59, 17
+
+
+ 3
+
+
+ Padding:
+
+
+ lblPadding
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 15
+
+
+ 16, 112
+
+
+ 4, 3, 4, 3
+
+
+ 296, 45
+
+
+ 4
+
+
+ tbPadding
+
+
+ System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 17
+
+
+ True
+
+
+ 16, 160
+
+
+ 4, 3, 4, 3
+
+
+ 114, 21
+
+
+ 6
+
+
+ Smart padding
+
+
+ cbSmartPadding
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 19
+
+
+ True
+
+
+ 13, 192
+
+
+ 4, 0, 4, 0
+
+
+ 106, 17
+
+
+ 7
+
+
+ Rounded corner:
+
+
+ lblRoundedCorner
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 20
+
+
+ 16, 216
+
+
+ 4, 3, 4, 3
+
+
+ 296, 45
+
+
+ 8
+
+
+ tbRoundedCorner
+
+
+ System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 22
+
+
+ True
+
+
+ 16, 32
+
+
+ 4, 0, 4, 0
+
+
+ 50, 17
+
+
+ 10
+
+
+ Radius:
+
+
+ lblShadowRadius
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 8
+
+
+ False
+
+
+ 16, 56
+
+
+ 4, 3, 4, 3
+
+
+ 280, 32
+
+
+ 11
+
+
+ tbShadowRadius
+
+
+ System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 4
+
+
+ True
+
+
+ 13, 384
+
+
+ 4, 0, 4, 0
+
+
+ 80, 17
+
+
+ 13
+
+
+ Background:
+
+
+ lblBackground
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 21
+
+
+ 256, 16
+
+
+ 4, 0, 4, 0
+
+
+ 56, 24
+
+
+ 2
+
+
+ 0
+
+
+ MiddleRight
+
+
+ lblMarginValue
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 18
+
+
+ 256, 88
+
+
+ 4, 0, 4, 0
+
+
+ 56, 24
+
+
+ 5
+
+
+ 0
+
+
+ MiddleRight
+
+
+ lblPaddingValue
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 16
+
+
+ 256, 192
+
+
+ 4, 0, 4, 0
+
+
+ 56, 24
+
+
+ 9
+
+
+ 0
+
+
+ MiddleRight
+
+
+ lblRoundedCornerValue
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 14
+
+
+ 240, 32
+
+
+ 4, 0, 4, 0
+
+
+ 56, 24
+
+
+ 12
+
+
+ 0
+
+
+ MiddleRight
+
+
+ lblShadowRadiusValue
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 6
+
+
+ 2
+
+
+ Fill
+
+
+ 335, 0
+
+
+ 0, 0, 0, 0
+
+
+ 1049, 761
+
+
+ 1
+
+
+ pbPreview
+
+
+ ShareX.HelpersLib.MyPictureBox, ShareX.HelpersLib, Version=15.0.1.0, Culture=neutral, PublicKeyToken=null
+
+
+ tlpMain
+
+
+ 0
+
+
+ 280, 260
+
+
+ 30, 30
+
+
+ 16
+
+
+ btnShadowExpand
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 0
+
+
+ 240, 248
+
+
+ 4, 0, 4, 0
+
+
+ 56, 24
+
+
+ 15
+
+
+ 0
+
+
+ MiddleRight
+
+
+ lblShadowAngleValue
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 0
+
+
+ 240, 176
+
+
+ 4, 0, 4, 0
+
+
+ 56, 24
+
+
+ 14
+
+
+ 0
+
+
+ MiddleRight
+
+
+ lblShadowDistanceValue
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 1
+
+
+ 240, 104
+
+
+ 4, 0, 4, 0
+
+
+ 56, 24
+
+
+ 13
+
+
+ 0
+
+
+ MiddleRight
+
+
+ lblShadowOpacityValue
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 2
+
+
+ 16, 320
+
+
+ 280, 32
+
+
+ 6
+
+
+ Color...
+
+
+ MiddleLeft
+
+
+ btnShadowColor
+
+
+ ShareX.HelpersLib.ColorButton, ShareX.HelpersLib, Version=15.0.1.0, Culture=neutral, PublicKeyToken=null
+
+
+ gbShadow
+
+
+ 3
+
+
+ 16, 272
+
+
+ 280, 45
+
+
+ 5
+
+
+ tbShadowAngle
+
+
+ System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 5
+
+
+ True
+
+
+ 16, 248
+
+
+ 44, 17
+
+
+ 4
+
+
+ Angle:
+
+
+ lblShadowAngle
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 7
+
+
+ 16, 200
+
+
+ 280, 45
+
+
+ 3
+
+
+ tbShadowDistance
+
+
+ System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 9
+
+
+ True
+
+
+ 16, 104
+
+
+ 55, 17
+
+
+ 0
+
+
+ Opacity:
+
+
+ lblShadowOpacity
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 10
+
+
+ True
+
+
+ 16, 176
+
+
+ 60, 17
+
+
+ 2
+
+
+ Distance:
+
+
+ lblShadowDistance
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 11
+
+
+ 16, 128
+
+
+ 280, 45
+
+
+ 1
+
+
+ tbShadowOpacity
+
+
+ System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ gbShadow
+
+
+ 12
+
+
+ 8, 264
+
+
+ 312, 104
+
+
+ 25
+
+
+ Shadow
+
+
+ gbShadow
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 1
+
+
+ Bottom, Left
+
+
+ 8, 656
+
+
+ 312, 32
+
+
+ 23
+
+
+ Reset options...
+
+
+ btnResetOptions
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 2
+
+
+ 13, 480
+
+
+ 296, 120
+
+
+ 22
+
+
+ lblBackgroundImageFilePath
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 3
+
+
+ 16, 440
+
+
+ 296, 32
+
+
+ 21
+
+
+ Browse image file...
+
+
+ btnBackgroundImageFilePathBrowse
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 4
+
+
+ 16, 408
+
+
+ 296, 25
+
+
+ 19
+
+
+ cbBackgroundType
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 5
+
+
+ Bottom, Left
+
+
+ 264, 696
+
+
+ 56, 48
+
+
+ 18
+
17, 17
+
+ Print...
+
+
+ btnPrint
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 6
+
+
+ Bottom, Left
+
+
+ 72, 696
+
+
+ 56, 48
+
+
+ 15
+
+
+ Save
+
+
+ btnSave
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 7
+
+
+ Bottom, Left
+
+
+ 200, 696
+
+
+ 56, 48
+
+
+ 17
+
+
+ Upload
+
+
+ btnUpload
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 8
+
+
+ Bottom, Left
+
+
+ 136, 696
+
+
+ 56, 48
+
+
+ 16
+
+
+ Save as...
+
+
+ btnSaveAs
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 9
+
+
+ Bottom, Left
+
+
+ 8, 696
+
+
+ 56, 48
+
+
+ 14
+
+
+ Copy
+
+
+ btnCopy
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 10
+
+
+ 16, 440
+
+
+ 296, 40
+
+
+ 14
+
+
+ pbBackground
+
+
+ System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ pOptions
+
+
+ 11
+
+
+ Fill
+
+
+ 3, 3
+
+
+ 329, 755
+
+
+ 0
+
+
+ pOptions
+
+
+ System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tlpMain
+
+
+ 1
+
+
+ Fill
+
+
+ 0, 0
+
+
+ 1
+
+
+ 1384, 761
+
+
+ 0
+
+
+ tlpMain
+
+
+ System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 0
+
+
+ <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="pbPreview" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="pOptions" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /></Controls><Columns Styles="Absolute,335,Percent,100" /><Rows Styles="Percent,100" /></TableLayoutSettings>
+
+
+ True
+
58
+
+ 7, 17
+
+
+ 1384, 761
+
+
+ Segoe UI, 9.75pt
+
+
+ 4, 3, 4, 3
+
+
+ 1000, 700
+
+
+ CenterScreen
+
+
+ ShareX - Image beautifier
+
+
+ ttMain
+
+
+ System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ImageBeautifierForm
+
+
+ System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
\ No newline at end of file
From d347541685f63bd94168c8fbb290b03e150ceee2 Mon Sep 17 00:00:00 2001
From: L1Q <6942070+L1Q@users.noreply.github.com>
Date: Wed, 17 Jan 2024 04:29:50 +0200
Subject: [PATCH 2/2] Update Russian translation
---
.../Forms/HashCheckerForm.ru.resx | 2 +-
.../Properties/Resources.ru.resx | 6 +
.../Forms/ImageBeautifierForm.ru.resx | 177 ++++++++++++++++++
ShareX.MediaLib/ShareX.MediaLib.csproj | 3 +
.../Forms/EditorStartupForm.ru.resx | 3 +
.../Forms/FFmpegOptionsForm.ru.resx | 24 ++-
.../Properties/Resources.ru.resx | 14 ++
ShareX/Forms/ApplicationSettingsForm.ru.resx | 5 +-
ShareX/Forms/HotkeySettingsForm.ru.resx | 2 +-
ShareX/Forms/InspectWindowForm.ru.resx | 9 +
ShareX/Forms/MainForm.ru.resx | 12 ++
ShareX/Forms/QRCodeForm.ru.resx | 24 +++
ShareX/Forms/TaskSettingsForm.ru.resx | 11 +-
ShareX/ShareX.csproj | 7 +
.../Tools/PinToScreen/PinToScreenForm.ru.resx | 135 +++++++++++++
.../PinToScreenOptionsForm.ru.resx | 156 +++++++++++++++
16 files changed, 583 insertions(+), 7 deletions(-)
create mode 100644 ShareX.MediaLib/Forms/ImageBeautifierForm.ru.resx
create mode 100644 ShareX/Tools/PinToScreen/PinToScreenForm.ru.resx
create mode 100644 ShareX/Tools/PinToScreen/PinToScreenOptionsForm.ru.resx
diff --git a/ShareX.HelpersLib/Forms/HashCheckerForm.ru.resx b/ShareX.HelpersLib/Forms/HashCheckerForm.ru.resx
index 6abbf1b93..e41e5f64a 100644
--- a/ShareX.HelpersLib/Forms/HashCheckerForm.ru.resx
+++ b/ShareX.HelpersLib/Forms/HashCheckerForm.ru.resx
@@ -124,7 +124,7 @@
Обзор...
- Старт
+ Проверить
Тип хеша:
diff --git a/ShareX.HelpersLib/Properties/Resources.ru.resx b/ShareX.HelpersLib/Properties/Resources.ru.resx
index 2f17bf291..b714a4280 100644
--- a/ShareX.HelpersLib/Properties/Resources.ru.resx
+++ b/ShareX.HelpersLib/Properties/Resources.ru.resx
@@ -1240,4 +1240,10 @@
Украсить изображение
+
+ Захват подготовленного окна
+
+
+ Проверить
+
\ No newline at end of file
diff --git a/ShareX.MediaLib/Forms/ImageBeautifierForm.ru.resx b/ShareX.MediaLib/Forms/ImageBeautifierForm.ru.resx
new file mode 100644
index 000000000..aeb5071fa
--- /dev/null
+++ b/ShareX.MediaLib/Forms/ImageBeautifierForm.ru.resx
@@ -0,0 +1,177 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ShareX - Украшатель изображений
+
+
+ Открыть файл картинки...
+
+
+ Распечатать...
+
+
+ Сбросить настройки...
+
+
+ Сохранить
+
+
+ Сохранить как...
+
+
+ Цвет...
+
+
+ Загрузить
+
+
+ Умные отступы
+
+
+ Тень
+
+
+ Фон:
+
+
+ Внешний отсуп:
+
+
+ Внутренний отступ:
+
+
+ Скругленный угол:
+
+
+ Угол:
+
+
+ Расстояние:
+
+
+ Нерозрачность:
+
+
+ Радиус:
+
+
+ Скопировать
+
+
\ No newline at end of file
diff --git a/ShareX.MediaLib/ShareX.MediaLib.csproj b/ShareX.MediaLib/ShareX.MediaLib.csproj
index 732a06eb7..7ed62fd58 100644
--- a/ShareX.MediaLib/ShareX.MediaLib.csproj
+++ b/ShareX.MediaLib/ShareX.MediaLib.csproj
@@ -148,6 +148,9 @@
ImageBeautifierForm.cs
+
+ ImageBeautifierForm.cs
+
ImageCombinerForm.cs
diff --git a/ShareX.ScreenCaptureLib/Forms/EditorStartupForm.ru.resx b/ShareX.ScreenCaptureLib/Forms/EditorStartupForm.ru.resx
index 41e2e2e12..87a984035 100644
--- a/ShareX.ScreenCaptureLib/Forms/EditorStartupForm.ru.resx
+++ b/ShareX.ScreenCaptureLib/Forms/EditorStartupForm.ru.resx
@@ -132,4 +132,7 @@
Отменить
+
+ Загрузить изображение из ссылки
+
\ No newline at end of file
diff --git a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.ru.resx b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.ru.resx
index dec9ca48d..14449d159 100644
--- a/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.ru.resx
+++ b/ShareX.ScreenCaptureLib/Forms/FFmpegOptionsForm.ru.resx
@@ -124,7 +124,7 @@
В буфер
- Установить устройства записи
+ Установить устройства...
Обновить
@@ -133,7 +133,7 @@
Тест в консоли
- Пользовательские команды
+ Использовать команды:
По умолчанию sierra2_4a.
@@ -189,7 +189,7 @@
Качество:
- Переменный битрейт:
+ Bitrate:
Переменный битрейт:
@@ -257,4 +257,22 @@
Пользовательский путь к FFmpeg:
+
+ Битрейт:
+
+
+ Битрейт:
+
+
+ Битрейт:
+
+
+ Сбросить настройки...
+
+
+ Энкодер звука:
+
+
+ Энкодер видео:
+
\ No newline at end of file
diff --git a/ShareX.ScreenCaptureLib/Properties/Resources.ru.resx b/ShareX.ScreenCaptureLib/Properties/Resources.ru.resx
index dfc482733..6ea9b4efd 100644
--- a/ShareX.ScreenCaptureLib/Properties/Resources.ru.resx
+++ b/ShareX.ScreenCaptureLib/Properties/Resources.ru.resx
@@ -483,4 +483,18 @@
Размер эффекта:
+
+ Хотите сбросить настройки?
+
+
+ Подтверждение
+
+
+ Есть несохраненные изменения.
+
+Хотите сохранить изменения перед тем, как закрыть редактор?
+
+
+ Повторить
+
\ No newline at end of file
diff --git a/ShareX/Forms/ApplicationSettingsForm.ru.resx b/ShareX/Forms/ApplicationSettingsForm.ru.resx
index 31163fef7..ae9c1891f 100644
--- a/ShareX/Forms/ApplicationSettingsForm.ru.resx
+++ b/ShareX/Forms/ApplicationSettingsForm.ru.resx
@@ -426,4 +426,7 @@
Переназначить принтер по умолчанию:
-
+
+ Автоматически проверять обновления
+
+
\ No newline at end of file
diff --git a/ShareX/Forms/HotkeySettingsForm.ru.resx b/ShareX/Forms/HotkeySettingsForm.ru.resx
index 3062407e1..b1244a033 100644
--- a/ShareX/Forms/HotkeySettingsForm.ru.resx
+++ b/ShareX/Forms/HotkeySettingsForm.ru.resx
@@ -124,7 +124,7 @@
Добавить...
- Дублировать
+ Копировать
Изменить...
diff --git a/ShareX/Forms/InspectWindowForm.ru.resx b/ShareX/Forms/InspectWindowForm.ru.resx
index 4a185bb9b..aadb1eb9d 100644
--- a/ShareX/Forms/InspectWindowForm.ru.resx
+++ b/ShareX/Forms/InspectWindowForm.ru.resx
@@ -132,4 +132,13 @@
Закрепить поверх окон
+
+ Поверх окон
+
+
+ Прозрачность:
+
+
+ Список окон
+
\ No newline at end of file
diff --git a/ShareX/Forms/MainForm.ru.resx b/ShareX/Forms/MainForm.ru.resx
index a93d5e29f..e901e7586 100644
--- a/ShareX/Forms/MainForm.ru.resx
+++ b/ShareX/Forms/MainForm.ru.resx
@@ -762,4 +762,16 @@
Украсить изображение...
+
+ Проверка хеша...
+
+
+ Проверка хеша...
+
+
+ Описание
+
+
+ Клавиши
+
\ No newline at end of file
diff --git a/ShareX/Forms/QRCodeForm.ru.resx b/ShareX/Forms/QRCodeForm.ru.resx
index 205385305..d9706a9ba 100644
--- a/ShareX/Forms/QRCodeForm.ru.resx
+++ b/ShareX/Forms/QRCodeForm.ru.resx
@@ -147,4 +147,28 @@
Загрузить изображение
+
+ Текст:
+
+
+ QR-код:
+
+
+ Размер QR-кода:
+
+
+ Сканировать QR-код с экрана...
+
+
+ Сканировать QR-код из файла...
+
+
+ Скопировать
+
+
+ Сохранить...
+
+
+ Загрузить
+
\ No newline at end of file
diff --git a/ShareX/Forms/TaskSettingsForm.ru.resx b/ShareX/Forms/TaskSettingsForm.ru.resx
index 4b4526173..2bbc4150b 100644
--- a/ShareX/Forms/TaskSettingsForm.ru.resx
+++ b/ShareX/Forms/TaskSettingsForm.ru.resx
@@ -643,6 +643,15 @@
Задача:
- Распознавание текста (OCR)
+ Распознавание текста
+
+
+ Заголовок подготовленного окна:
+
+
+ Закрывать окно OCR после отрывания ссылки сервиса
+
+
+ Применять случайный эффект изображения
\ No newline at end of file
diff --git a/ShareX/ShareX.csproj b/ShareX/ShareX.csproj
index ffbd59e72..60c575bd1 100644
--- a/ShareX/ShareX.csproj
+++ b/ShareX/ShareX.csproj
@@ -1844,6 +1844,7 @@
MainForm.cs
+ Designer
FirstTimeConfigForm.cs
@@ -2002,6 +2003,9 @@
ServiceLinksForm.cs
+
+ PinToScreenForm.cs
+
PinToScreenForm.cs
@@ -2011,6 +2015,9 @@
PinToScreenOptionsForm.cs
+
+ PinToScreenOptionsForm.cs
+
PinToScreenOptionsForm.cs
diff --git a/ShareX/Tools/PinToScreen/PinToScreenForm.ru.resx b/ShareX/Tools/PinToScreen/PinToScreenForm.ru.resx
new file mode 100644
index 000000000..91f6ea29b
--- /dev/null
+++ b/ShareX/Tools/PinToScreen/PinToScreenForm.ru.resx
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ShareX - Закрепить на экране
+
+
+ Закрыть
+
+
+ Скопировать
+
+
+ Настройки...
+
+
+ Масштаб
+
+
\ No newline at end of file
diff --git a/ShareX/Tools/PinToScreen/PinToScreenOptionsForm.ru.resx b/ShareX/Tools/PinToScreen/PinToScreenOptionsForm.ru.resx
new file mode 100644
index 000000000..07a771b26
--- /dev/null
+++ b/ShareX/Tools/PinToScreen/PinToScreenOptionsForm.ru.resx
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ShareX - Настройки закрепления на экране
+
+
+ Цвет рамки
+
+
+ Отменить
+
+
+ Рамка
+
+
+ Тень
+
+
+ Поверх окон
+
+
+ Размер рамки:
+
+
+ Минимальный размер:
+
+
+ Положение:
+
+
+ Отступ положения:
+
+
+ Запоминать положение центра
+
+
+ ОК
+
+
\ No newline at end of file