diff --git a/ShareX.HelpersLib/NameParser/CodeMenuEntryFilename.cs b/ShareX.HelpersLib/NameParser/CodeMenuEntryFilename.cs index a96bc3300..d47d4b2e3 100644 --- a/ShareX.HelpersLib/NameParser/CodeMenuEntryFilename.cs +++ b/ShareX.HelpersLib/NameParser/CodeMenuEntryFilename.cs @@ -54,8 +54,7 @@ public class CodeMenuEntryFilename : CodeMenuEntry public static readonly CodeMenuEntryFilename ix = new CodeMenuEntryFilename("ix", Resources.ReplCodeMenuEntry_ix_Auto_increment_hexadecimal, Resources.ReplCodeMenuCategory_Incremental); public static readonly CodeMenuEntryFilename rn = new CodeMenuEntryFilename("rn", Resources.ReplCodeMenuEntry_rn_Random_number_0_to_9, Resources.ReplCodeMenuCategory_Random); public static readonly CodeMenuEntryFilename ra = new CodeMenuEntryFilename("ra", Resources.ReplCodeMenuEntry_ra_Random_alphanumeric_char, Resources.ReplCodeMenuCategory_Random); - // TODO: Translate - public static readonly CodeMenuEntryFilename rna = new CodeMenuEntryFilename("rna", "Random non ambiguous alphanumeric char. Repeat using {n}", Resources.ReplCodeMenuCategory_Random); + public static readonly CodeMenuEntryFilename rna = new CodeMenuEntryFilename("rna", Resources.RandomNonAmbiguousAlphanumericCharRepeatUsingN, Resources.ReplCodeMenuCategory_Random); public static readonly CodeMenuEntryFilename rx = new CodeMenuEntryFilename("rx", Resources.ReplCodeMenuEntry_rx_Random_hexadecimal, Resources.ReplCodeMenuCategory_Random); public static readonly CodeMenuEntryFilename guid = new CodeMenuEntryFilename("guid", Resources.ReplCodeMenuEntry_guid_Random_guid, Resources.ReplCodeMenuCategory_Random); public static readonly CodeMenuEntryFilename radjective = new CodeMenuEntryFilename("radjective", Resources.CodeMenuEntryFilename_RandomAdjective, Resources.ReplCodeMenuCategory_Random); diff --git a/ShareX.HelpersLib/Properties/Resources.Designer.cs b/ShareX.HelpersLib/Properties/Resources.Designer.cs index 0b91914e1..72a8b5508 100644 --- a/ShareX.HelpersLib/Properties/Resources.Designer.cs +++ b/ShareX.HelpersLib/Properties/Resources.Designer.cs @@ -2430,6 +2430,15 @@ internal static string ProxyMethod_None { } } + /// + /// Looks up a localized string similar to Random non ambiguous alphanumeric char. Repeat using {n}. + /// + internal static string RandomNonAmbiguousAlphanumericCharRepeatUsingN { + get { + return ResourceManager.GetString("RandomNonAmbiguousAlphanumericCharRepeatUsingN", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cancel capture. /// diff --git a/ShareX.HelpersLib/Properties/Resources.resx b/ShareX.HelpersLib/Properties/Resources.resx index da4763057..cf763a8b0 100644 --- a/ShareX.HelpersLib/Properties/Resources.resx +++ b/ShareX.HelpersLib/Properties/Resources.resx @@ -1199,4 +1199,7 @@ Would you like to download and install it? ..\Resources\LoadingSmall.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Random non ambiguous alphanumeric char. Repeat using {n} + \ No newline at end of file diff --git a/ShareX.HelpersLib/Properties/Resources.ru.resx b/ShareX.HelpersLib/Properties/Resources.ru.resx index c49d51252..ae0ee2903 100644 --- a/ShareX.HelpersLib/Properties/Resources.ru.resx +++ b/ShareX.HelpersLib/Properties/Resources.ru.resx @@ -1159,4 +1159,13 @@ Удалить - + + Выбирать и двигать (M) + + + Увеличение + + + Случайный недвусмысленный алфавитно-цифровой символ. Повторение задается через {n} + + \ No newline at end of file diff --git a/ShareX.HistoryLib/Forms/HistoryForm.cs b/ShareX.HistoryLib/Forms/HistoryForm.cs index 1558df161..5fa39b4af 100644 --- a/ShareX.HistoryLib/Forms/HistoryForm.cs +++ b/ShareX.HistoryLib/Forms/HistoryForm.cs @@ -95,9 +95,9 @@ private void OutputStats(HistoryItem[] historyItems) rtbStats.ResetText(); rtbStats.SetFontBold(); - rtbStats.AppendLine("History item counts:"); + rtbStats.AppendLine(Resources.HistoryItemCounts); rtbStats.SetFontRegular(); - rtbStats.AppendLine("Total: " + historyItems.Length); + rtbStats.AppendLine(Resources.HistoryStats_Total + " " + historyItems.Length); IEnumerable types = historyItems. GroupBy(x => x.Type). @@ -108,7 +108,7 @@ private void OutputStats(HistoryItem[] historyItems) rtbStats.AppendLine(); rtbStats.SetFontBold(); - rtbStats.AppendLine("Yearly usages:"); + rtbStats.AppendLine(Resources.HistoryStats_YearlyUsages); rtbStats.SetFontRegular(); IEnumerable yearlyUsages = historyItems. @@ -120,7 +120,7 @@ private void OutputStats(HistoryItem[] historyItems) rtbStats.AppendLine(); rtbStats.SetFontBold(); - rtbStats.AppendLine("File extensions:"); + rtbStats.AppendLine(Resources.HistoryStats_FileExtensions); rtbStats.SetFontRegular(); IEnumerable fileExtensions = historyItems. @@ -134,7 +134,7 @@ private void OutputStats(HistoryItem[] historyItems) rtbStats.AppendLine(); rtbStats.SetFontBold(); - rtbStats.AppendLine("Hosts:"); + rtbStats.AppendLine(Resources.HistoryStats_Hosts); rtbStats.SetFontRegular(); IEnumerable hosts = historyItems. @@ -404,16 +404,14 @@ private void BtnShowStats_Click(object sender, EventArgs e) { lvHistory.Visible = true; pStats.Visible = false; - // TODO: Translate - btnShowStats.Text = "Show stats"; + btnShowStats.Text = Resources.BtnShowStats_ShowStats; showingStats = false; } else { pStats.Visible = true; lvHistory.Visible = false; - // TODO: Translate - btnShowStats.Text = "Hide stats"; + btnShowStats.Text = Resources.BtnShowStats_HideStats; Cursor = Cursors.WaitCursor; OutputStats(allHistoryItems); Cursor = Cursors.Default; diff --git a/ShareX.HistoryLib/Forms/HistoryForm.ru.resx b/ShareX.HistoryLib/Forms/HistoryForm.ru.resx index a61fbcba6..992fd42e2 100644 --- a/ShareX.HistoryLib/Forms/HistoryForm.ru.resx +++ b/ShareX.HistoryLib/Forms/HistoryForm.ru.resx @@ -159,4 +159,7 @@ URL: + + Показать статистику + \ No newline at end of file diff --git a/ShareX.HistoryLib/Forms/ImageHistorySettingsForm.ru.resx b/ShareX.HistoryLib/Forms/ImageHistorySettingsForm.ru.resx index d47c01dbb..e39035c12 100644 --- a/ShareX.HistoryLib/Forms/ImageHistorySettingsForm.ru.resx +++ b/ShareX.HistoryLib/Forms/ImageHistorySettingsForm.ru.resx @@ -132,4 +132,7 @@ ShareX - Настройки истории изображений + + Фильтровать отсутствующие файлы + \ No newline at end of file diff --git a/ShareX.HistoryLib/Properties/Resources.Designer.cs b/ShareX.HistoryLib/Properties/Resources.Designer.cs index 42de3b0be..ac6884a4f 100644 --- a/ShareX.HistoryLib/Properties/Resources.Designer.cs +++ b/ShareX.HistoryLib/Properties/Resources.Designer.cs @@ -442,5 +442,68 @@ internal static string ObjectListView_ObjectListView_Value { return ResourceManager.GetString("ObjectListView_ObjectListView_Value", resourceCulture); } } + + /// + /// Looks up a localized string similar to BtnShowStats_ShowStats. + /// + internal static string BtnShowStats_ShowStats { + get { + return ResourceManager.GetString("BtnShowStats_ShowStats", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to BtnShowStats_HideStats. + /// + internal static string BtnShowStats_HideStats { + get { + return ResourceManager.GetString("BtnShowStats_HideStats", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HistoryItemCounts. + /// + internal static string HistoryItemCounts { + get { + return ResourceManager.GetString("HistoryItemCounts", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HistoryStats_Total. + /// + internal static string HistoryStats_Total { + get { + return ResourceManager.GetString("HistoryStats_Total", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HistoryStats_YearlyUsages. + /// + internal static string HistoryStats_YearlyUsages { + get { + return ResourceManager.GetString("HistoryStats_YearlyUsages", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HistoryStats_FileExtensions. + /// + internal static string HistoryStats_FileExtensions { + get { + return ResourceManager.GetString("HistoryStats_FileExtensions", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HistoryStats_Hosts. + /// + internal static string HistoryStats_Hosts { + get { + return ResourceManager.GetString("HistoryStats_Hosts", resourceCulture); + } + } } } diff --git a/ShareX.HistoryLib/Properties/Resources.resx b/ShareX.HistoryLib/Properties/Resources.resx index 47edcc66a..4300ac748 100644 --- a/ShareX.HistoryLib/Properties/Resources.resx +++ b/ShareX.HistoryLib/Properties/Resources.resx @@ -244,4 +244,25 @@ Edit image... + + Show stats + + + Hide stats + + + History item counts: + + + Total: + + + Yearly usages: + + + File extensions: + + + Hosts: + \ No newline at end of file diff --git a/ShareX.HistoryLib/Properties/Resources.ru.resx b/ShareX.HistoryLib/Properties/Resources.ru.resx index 4203fc5ee..1e44bf8d2 100644 --- a/ShareX.HistoryLib/Properties/Resources.ru.resx +++ b/ShareX.HistoryLib/Properties/Resources.ru.resx @@ -228,4 +228,25 @@ Редактировать изображение… + + Показать статистику + + + Спрятать статистику + + + Количество элементов истории: + + + Всего: + + + Использование по годам: + + + Расширения файлов: + + + Сервисы: + \ No newline at end of file diff --git a/ShareX.ImageEffectsLib/ImageEffectsForm.ru.resx b/ShareX.ImageEffectsLib/ImageEffectsForm.ru.resx index 85f05226a..40eb0c27b 100644 --- a/ShareX.ImageEffectsLib/ImageEffectsForm.ru.resx +++ b/ShareX.ImageEffectsLib/ImageEffectsForm.ru.resx @@ -162,4 +162,7 @@ Загрузить изображение + + Обновить + \ No newline at end of file diff --git a/ShareX.ScreenCaptureLib/Properties/Resources.Designer.cs b/ShareX.ScreenCaptureLib/Properties/Resources.Designer.cs index c289b7ea6..a3e2f190a 100644 --- a/ShareX.ScreenCaptureLib/Properties/Resources.Designer.cs +++ b/ShareX.ScreenCaptureLib/Properties/Resources.Designer.cs @@ -149,6 +149,15 @@ internal static System.Drawing.Bitmap clipboard { } } + /// + /// Looks up a localized string similar to Close (Esc). + /// + internal static string CloseEsc { + get { + return ResourceManager.GetString("CloseEsc", resourceCulture); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -840,6 +849,15 @@ internal static System.Drawing.Bitmap magnifier_zoom { } } + /// + /// Looks up a localized string similar to Magnify strength:. + /// + internal static string MagnifyStrength { + get { + return ResourceManager.GetString("MagnifyStrength", resourceCulture); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/ShareX.ScreenCaptureLib/Properties/Resources.resx b/ShareX.ScreenCaptureLib/Properties/Resources.resx index a552807ae..d0d0bc98c 100644 --- a/ShareX.ScreenCaptureLib/Properties/Resources.resx +++ b/ShareX.ScreenCaptureLib/Properties/Resources.resx @@ -661,4 +661,10 @@ X: {4} Y: {5} ..\Resources\magnifier-zoom.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Magnify strength: + + + Close (Esc) + \ No newline at end of file diff --git a/ShareX.ScreenCaptureLib/Properties/Resources.ru.resx b/ShareX.ScreenCaptureLib/Properties/Resources.ru.resx index 539b6233b..3c58099d3 100644 --- a/ShareX.ScreenCaptureLib/Properties/Resources.ru.resx +++ b/ShareX.ScreenCaptureLib/Properties/Resources.ru.resx @@ -411,4 +411,16 @@ Это окно закроется перед тем, как открыть страницу с горячими клавишами. Хотите продолжить? + + Переключаться на инструмент рисования после выбора фигуры + + + Переключаться на инструмент выделения после рисования фигуры + + + Степень увеличения: + + + Закрыть (Esc) + \ No newline at end of file diff --git a/ShareX.ScreenCaptureLib/Shapes/ShapeManagerMenu.cs b/ShareX.ScreenCaptureLib/Shapes/ShapeManagerMenu.cs index 525aec216..a5e7a8566 100644 --- a/ShareX.ScreenCaptureLib/Shapes/ShapeManagerMenu.cs +++ b/ShareX.ScreenCaptureLib/Shapes/ShapeManagerMenu.cs @@ -188,7 +188,7 @@ internal void CreateToolbar() } else if (Helpers.IsTabletMode()) { - ToolStripButton tsbClose = new ToolStripButton("Close (Esc)"); + ToolStripButton tsbClose = new ToolStripButton(Resources.CloseEsc); tsbClose.DisplayStyle = ToolStripItemDisplayStyle.Image; tsbClose.Image = Resources.cross; tsbClose.Click += (sender, e) => Form.CloseWindow(); @@ -440,8 +440,7 @@ internal void CreateToolbar() tsddbShapeOptions.Image = Resources.layer__pencil; tsMain.Items.Add(tsddbShapeOptions); - // TODO: Translate - tslnudMagnifyStrength = new ToolStripLabeledNumericUpDown("Magnify strength:"); + tslnudMagnifyStrength = new ToolStripLabeledNumericUpDown(Resources.MagnifyStrength); tslnudMagnifyStrength.Content.Text2 = "%"; tslnudMagnifyStrength.Content.Minimum = 100; tslnudMagnifyStrength.Content.Maximum = 1000; diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.ru.resx b/ShareX.UploadersLib/Forms/UploadersConfigForm.ru.resx index 05e769cc3..8c2cc139b 100644 --- a/ShareX.UploadersLib/Forms/UploadersConfigForm.ru.resx +++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.ru.resx @@ -1126,4 +1126,7 @@ Google Диск + + Изображение + \ No newline at end of file diff --git a/ShareX/Forms/ApplicationSettingsForm.ru.resx b/ShareX/Forms/ApplicationSettingsForm.ru.resx index da01f7be9..7a7f8a068 100644 --- a/ShareX/Forms/ApplicationSettingsForm.ru.resx +++ b/ShareX/Forms/ApplicationSettingsForm.ru.resx @@ -127,7 +127,7 @@ Показывать прогресс на иконке в трее - Запоминать расположение главного окна + Запоминать положение главного окна Показывать иконку в трее @@ -348,4 +348,13 @@ Применить + + Экспериментальная темная тема + + + Использовать белую иконку ShareX + + + Использовать темную тему + \ No newline at end of file diff --git a/ShareX/Forms/MainForm.cs b/ShareX/Forms/MainForm.cs index 82bdcfff2..429a85dff 100644 --- a/ShareX/Forms/MainForm.cs +++ b/ShareX/Forms/MainForm.cs @@ -744,7 +744,7 @@ private void UpdateTaskViewMode() { if (Program.Settings.TaskViewMode == TaskViewMode.ListView) { - tsmiSwitchTaskViewMode.Text = "Switch to thumbnail view"; + tsmiSwitchTaskViewMode.Text = Resources.SwitchToThumbnailView; tsmiSwitchTaskViewMode.Image = Resources.application_icon_large; scMain.Visible = true; pThumbnailView.Visible = false; @@ -752,7 +752,7 @@ private void UpdateTaskViewMode() } else { - tsmiSwitchTaskViewMode.Text = "Switch to list view"; + tsmiSwitchTaskViewMode.Text = Resources.SwitchToListView; tsmiSwitchTaskViewMode.Image = Resources.application_list; pThumbnailView.Visible = true; scMain.Visible = false; @@ -1097,14 +1097,13 @@ private void UpdateMainWindowLayout() tsmiHideThumbnailTitle.Visible = Program.Settings.TaskViewMode == TaskViewMode.ThumbnailView; - // TODO: Translate if (Program.Settings.ShowThumbnailTitle) { - tsmiHideThumbnailTitle.Text = "Hide thumbnail title"; + tsmiHideThumbnailTitle.Text = Resources.HideThumbnailTitle; } else { - tsmiHideThumbnailTitle.Text = "Show thumbnail title"; + tsmiHideThumbnailTitle.Text = Resources.ShowThumbnailTitle; } Refresh(); diff --git a/ShareX/Forms/MainForm.ru.resx b/ShareX/Forms/MainForm.ru.resx index e90e103ca..1b5610dca 100644 --- a/ShareX/Forms/MainForm.ru.resx +++ b/ShareX/Forms/MainForm.ru.resx @@ -744,4 +744,25 @@ Размеры изображения + + Прятать заголовок миниатюры + + + Перейти в режим миниатюр + + + Поддержите нас на Patreon + + + Поддержите нас криптовалютой + + + Читайте наш Твиттер + + + Присоединяйтесь к нашему серверу Discord + + + Спрятать кнопки соцсетей + \ No newline at end of file diff --git a/ShareX/Forms/TaskSettingsForm.ru.resx b/ShareX/Forms/TaskSettingsForm.ru.resx index 97d542f3f..0b8035a44 100644 --- a/ShareX/Forms/TaskSettingsForm.ru.resx +++ b/ShareX/Forms/TaskSettingsForm.ru.resx @@ -558,4 +558,7 @@ Число счетчика: + + Заметка: Можно включить/выключить действия в "Задачи после захвата -> Выполнить действия". + \ No newline at end of file diff --git a/ShareX/Properties/Resources.Designer.cs b/ShareX/Properties/Resources.Designer.cs index c5b675ad5..96bef9551 100644 --- a/ShareX/Properties/Resources.Designer.cs +++ b/ShareX/Properties/Resources.Designer.cs @@ -1365,6 +1365,15 @@ public static System.Drawing.Bitmap heart { } } + /// + /// Looks up a localized string similar to Hide thumbnail title. + /// + public static string HideThumbnailTitle { + get { + return ResourceManager.GetString("HideThumbnailTitle", resourceCulture); + } + } + /// /// Looks up a localized string similar to hotkey. /// @@ -2247,6 +2256,15 @@ public static string ShareXOpticalCharacterRecognition { } } + /// + /// Looks up a localized string similar to Show thumbnail title. + /// + public static string ShowThumbnailTitle { + get { + return ResourceManager.GetString("ShowThumbnailTitle", resourceCulture); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -2257,6 +2275,24 @@ public static System.Drawing.Bitmap SocialHideButton { } } + /// + /// Looks up a localized string similar to Switch to list view. + /// + public static string SwitchToListView { + get { + return ResourceManager.GetString("SwitchToListView", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Switch to thumbnail view. + /// + public static string SwitchToThumbnailView { + get { + return ResourceManager.GetString("SwitchToThumbnailView", resourceCulture); + } + } + /// /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream. /// diff --git a/ShareX/Properties/Resources.resx b/ShareX/Properties/Resources.resx index 97ea01979..62cd0bed2 100644 --- a/ShareX/Properties/Resources.resx +++ b/ShareX/Properties/Resources.resx @@ -1012,4 +1012,16 @@ Middle click to close ..\Resources\SocialHideButton.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Hide thumbnail title + + + Show thumbnail title + + + Switch to thumbnail view + + + Switch to list view + \ No newline at end of file diff --git a/ShareX/Properties/Resources.ru.resx b/ShareX/Properties/Resources.ru.resx index d825276fd..cbd2ac164 100644 --- a/ShareX/Properties/Resources.ru.resx +++ b/ShareX/Properties/Resources.ru.resx @@ -578,4 +578,16 @@ ShareX - Распознавание текста + + Спрятать заголовок миниатюры + + + Показать заголовок миниатюры + + + Перейти в режим миниатюр + + + Перейти в режим списка + \ No newline at end of file