From 1368b622fd35e5bb2ba70bd1a008bc4971b97530 Mon Sep 17 00:00:00 2001
From: L1Q <0xL1Q@ex.ua>
Date: Mon, 10 Sep 2018 18:51:06 +0300
Subject: [PATCH 1/2] Improve translation support
---
.../HistoryItemManager_ContextMenu.cs | 4 ++--
.../Properties/Resources.Designer.cs | 18 ++++++++++++++++++
ShareX.HistoryLib/Properties/Resources.resx | 6 ++++++
3 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/ShareX.HistoryLib/HistoryItemManager_ContextMenu.cs b/ShareX.HistoryLib/HistoryItemManager_ContextMenu.cs
index 1044b685c..39e7615a7 100644
--- a/ShareX.HistoryLib/HistoryItemManager_ContextMenu.cs
+++ b/ShareX.HistoryLib/HistoryItemManager_ContextMenu.cs
@@ -425,14 +425,14 @@ private void InitializeComponent()
//
tsmiUploadFile.Name = "tsmiUploadFile";
tsmiUploadFile.Size = new Size(127, 22);
- tsmiUploadFile.Text = "Upload file"; // TODO: Translate
+ tsmiUploadFile.Text = Resources.HistoryItemManager_InitializeComponent_UploadFile;
tsmiUploadFile.Click += tsmiUploadFile_Click;
//
// tsmiEditImage
//
tsmiEditImage.Name = "tsmiEditImage";
tsmiEditImage.Size = new Size(127, 22);
- tsmiEditImage.Text = "Edit image..."; // TODO: Translate
+ tsmiEditImage.Text = Resources.HistoryItemManager_InitializeComponent_EditImage;
tsmiEditImage.Click += tsmiEditImage_Click;
cmsHistory.ResumeLayout(false);
diff --git a/ShareX.HistoryLib/Properties/Resources.Designer.cs b/ShareX.HistoryLib/Properties/Resources.Designer.cs
index c33beaf47..42de3b0be 100644
--- a/ShareX.HistoryLib/Properties/Resources.Designer.cs
+++ b/ShareX.HistoryLib/Properties/Resources.Designer.cs
@@ -116,6 +116,15 @@ internal static string HistoryItemManager_InitializeComponent_Deletion_URL {
}
}
+ ///
+ /// Looks up a localized string similar to Edit image....
+ ///
+ internal static string HistoryItemManager_InitializeComponent_EditImage {
+ get {
+ return ResourceManager.GetString("HistoryItemManager_InitializeComponent_EditImage", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to File.
///
@@ -314,6 +323,15 @@ internal static string HistoryItemManager_InitializeComponent_Thumbnail_URL {
}
}
+ ///
+ /// Looks up a localized string similar to Upload file.
+ ///
+ internal static string HistoryItemManager_InitializeComponent_UploadFile {
+ get {
+ return ResourceManager.GetString("HistoryItemManager_InitializeComponent_UploadFile", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to URL.
///
diff --git a/ShareX.HistoryLib/Properties/Resources.resx b/ShareX.HistoryLib/Properties/Resources.resx
index 9e518aba9..47edcc66a 100644
--- a/ShareX.HistoryLib/Properties/Resources.resx
+++ b/ShareX.HistoryLib/Properties/Resources.resx
@@ -238,4 +238,10 @@
..\Resources\magnifier.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ Upload file
+
+
+ Edit image...
+
\ No newline at end of file
From 5b05f8c685d64f4f2a2ac89106d0a46312c27e1f Mon Sep 17 00:00:00 2001
From: L1Q <0xL1Q@ex.ua>
Date: Mon, 10 Sep 2018 19:01:13 +0300
Subject: [PATCH 2/2] Update Russian translation
---
.../Colors/ColorPickerForm.ru.resx | 3 +
.../Properties/Resources.ru.resx | 3 +
ShareX.HistoryLib/Forms/HistoryForm.ru.resx | 6 +
.../Forms/ImageHistoryForm.ru.resx | 12 ++
.../Forms/ImageHistorySettingsForm.ru.resx | 135 ++++++++++++++++++
.../Properties/Resources.ru.resx | 15 ++
ShareX.HistoryLib/ShareX.HistoryLib.csproj | 3 +
.../ImageEffectsForm.ru.resx | 3 +
.../Forms/NewImageForm.ru.resx | 3 +
.../Forms/TextDrawingInputBox.ru.resx | 42 ++++++
.../Forms/UploadersConfigForm.ru.resx | 35 ++++-
11 files changed, 256 insertions(+), 4 deletions(-)
create mode 100644 ShareX.HistoryLib/Forms/ImageHistorySettingsForm.ru.resx
diff --git a/ShareX.HelpersLib/Colors/ColorPickerForm.ru.resx b/ShareX.HelpersLib/Colors/ColorPickerForm.ru.resx
index b96ba210e..02ff60ca6 100644
--- a/ShareX.HelpersLib/Colors/ColorPickerForm.ru.resx
+++ b/ShareX.HelpersLib/Colors/ColorPickerForm.ru.resx
@@ -207,4 +207,7 @@
Последние цвета:
+
+ Выбрать цвет на экране
+
\ No newline at end of file
diff --git a/ShareX.HelpersLib/Properties/Resources.ru.resx b/ShareX.HelpersLib/Properties/Resources.ru.resx
index 081ef4566..9790e9afb 100644
--- a/ShareX.HelpersLib/Properties/Resources.ru.resx
+++ b/ShareX.HelpersLib/Properties/Resources.ru.resx
@@ -1144,4 +1144,7 @@
Доступ по ссылке
+
+ Искать звуковой файл...
+
\ No newline at end of file
diff --git a/ShareX.HistoryLib/Forms/HistoryForm.ru.resx b/ShareX.HistoryLib/Forms/HistoryForm.ru.resx
index 57dc7a157..e295eda9a 100644
--- a/ShareX.HistoryLib/Forms/HistoryForm.ru.resx
+++ b/ShareX.HistoryLib/Forms/HistoryForm.ru.resx
@@ -162,4 +162,10 @@
Имя файла
+
+ URL
+
+
+ Имя файла:
+
\ No newline at end of file
diff --git a/ShareX.HistoryLib/Forms/ImageHistoryForm.ru.resx b/ShareX.HistoryLib/Forms/ImageHistoryForm.ru.resx
index 5b964ec1b..b57332983 100644
--- a/ShareX.HistoryLib/Forms/ImageHistoryForm.ru.resx
+++ b/ShareX.HistoryLib/Forms/ImageHistoryForm.ru.resx
@@ -120,4 +120,16 @@
ShareX - История изображений
+
+ Искать:
+
+
+ Поиск
+
+
+ Поиск
+
+
+ Настройки...
+
\ No newline at end of file
diff --git a/ShareX.HistoryLib/Forms/ImageHistorySettingsForm.ru.resx b/ShareX.HistoryLib/Forms/ImageHistorySettingsForm.ru.resx
new file mode 100644
index 000000000..d47c01dbb
--- /dev/null
+++ b/ShareX.HistoryLib/Forms/ImageHistorySettingsForm.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.HistoryLib/Properties/Resources.ru.resx b/ShareX.HistoryLib/Properties/Resources.ru.resx
index 926850556..4203fc5ee 100644
--- a/ShareX.HistoryLib/Properties/Resources.ru.resx
+++ b/ShareX.HistoryLib/Properties/Resources.ru.resx
@@ -213,4 +213,19 @@
Значение
+
+ Markdown ссылку
+
+
+ Markdown изображение
+
+
+ Markdown изображение-ссылку
+
+
+ Загрузить файл
+
+
+ Редактировать изображение…
+
\ No newline at end of file
diff --git a/ShareX.HistoryLib/ShareX.HistoryLib.csproj b/ShareX.HistoryLib/ShareX.HistoryLib.csproj
index 04b6ac17d..5233fcb5a 100644
--- a/ShareX.HistoryLib/ShareX.HistoryLib.csproj
+++ b/ShareX.HistoryLib/ShareX.HistoryLib.csproj
@@ -284,6 +284,9 @@
ImageHistorySettingsForm.cs
+
+ ImageHistorySettingsForm.cs
+
ImageHistorySettingsForm.cs
diff --git a/ShareX.ImageEffectsLib/ImageEffectsForm.ru.resx b/ShareX.ImageEffectsLib/ImageEffectsForm.ru.resx
index 888a2c1b2..85f05226a 100644
--- a/ShareX.ImageEffectsLib/ImageEffectsForm.ru.resx
+++ b/ShareX.ImageEffectsLib/ImageEffectsForm.ru.resx
@@ -159,4 +159,7 @@
Закрыть
+
+ Загрузить изображение
+
\ No newline at end of file
diff --git a/ShareX.ScreenCaptureLib/Forms/NewImageForm.ru.resx b/ShareX.ScreenCaptureLib/Forms/NewImageForm.ru.resx
index d32d0f17f..c64cb6af3 100644
--- a/ShareX.ScreenCaptureLib/Forms/NewImageForm.ru.resx
+++ b/ShareX.ScreenCaptureLib/Forms/NewImageForm.ru.resx
@@ -144,4 +144,7 @@
Ширина:
+
+ ОК
+
\ No newline at end of file
diff --git a/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.ru.resx b/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.ru.resx
index 1de7076e4..e9dfe6a04 100644
--- a/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.ru.resx
+++ b/ShareX.ScreenCaptureLib/Forms/TextDrawingInputBox.ru.resx
@@ -153,4 +153,46 @@
Отменить
+
+ Прямо диагональный
+
+
+ Обратно диагональный
+
+
+ Градиент
+
+
+ Цвет текста
+
+
+ Жирный
+
+
+ Курсив
+
+
+ Подчеркнутый
+
+
+ Горизонтальное выравнивание
+
+
+ Вертикальное выравнивание
+
+
+ Применять градиент
+
+
+ Второй цвет текста...
+
+
+ Режим градиента
+
+
+ Горизонтальный
+
+
+ Вертикальный
+
\ No newline at end of file
diff --git a/ShareX.UploadersLib/Forms/UploadersConfigForm.ru.resx b/ShareX.UploadersLib/Forms/UploadersConfigForm.ru.resx
index 70a40eca9..c85e9bc19 100644
--- a/ShareX.UploadersLib/Forms/UploadersConfigForm.ru.resx
+++ b/ShareX.UploadersLib/Forms/UploadersConfigForm.ru.resx
@@ -1117,7 +1117,7 @@ store.book[0].title
Ключ веб API:
- Динамические ссылки Firebase
+ Firebase Dynamic Links
Путь:
@@ -1140,13 +1140,40 @@ store.book[0].title
Дублировать
-
- Вставить
-
Тип доступа:
Использовать короткую ссылку
+
+ Пример: google.page.link
+
+
+ URL:
+
+
+ Путь загрузки:
+
+
+ Предпросмотр URL:
+
+
+ Предпросмотр
+
+
+ Домен:
+
+
+ URL API:
+
+
+ UID API:
+
+
+ ID
+
+
+ ID
+
\ No newline at end of file