mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-29 17:02:05 +13:00
commit
7d90f0908d
16 changed files with 128 additions and 11 deletions
|
@ -1270,4 +1270,7 @@
|
|||
<data name="ShapeType_ToolCutOut" xml:space="preserve">
|
||||
<value>Разрыв (X)</value>
|
||||
</data>
|
||||
<data name="HotkeyType_ImageBeautifier" xml:space="preserve">
|
||||
<value>Украшатель изображений</value>
|
||||
</data>
|
||||
</root>
|
|
@ -29,6 +29,7 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Drawing;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using ShareX.MediaLib.Properties;
|
||||
|
||||
namespace ShareX.MediaLib
|
||||
{
|
||||
|
@ -305,8 +306,7 @@ private async void btnBackgroundImageFilePathBrowse_Click(object sender, EventAr
|
|||
|
||||
private async void btnResetOptions_Click(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: Translate
|
||||
if (MessageBox.Show("Would you like to reset options?", "ShareX - " + "Confirmation", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
|
||||
if (MessageBox.Show(Resources.WouldYouLikeToResetOptions, "ShareX - " + Resources.Confirmation, MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
|
||||
{
|
||||
Options.ResetOptions();
|
||||
LoadOptions();
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
<value>ShareX - Конвертер видео</value>
|
||||
</data>
|
||||
<data name="cbUseCustomArguments.Text" xml:space="preserve">
|
||||
<value>Использовать свои аргументы</value>
|
||||
<value>Использовать свои аргументы:</value>
|
||||
</data>
|
||||
<data name="cbAutoOpenFolder.Text" xml:space="preserve">
|
||||
<value>Открыть папку после кодирования</value>
|
||||
|
@ -144,4 +144,10 @@
|
|||
<data name="lblOutputFolder.Text" xml:space="preserve">
|
||||
<value>Папка для вывода:</value>
|
||||
</data>
|
||||
<data name="cbVideoQualityUseBitrate.Text" xml:space="preserve">
|
||||
<value>Использовать битрейт</value>
|
||||
</data>
|
||||
<data name="lblVideoEncoder.Text" xml:space="preserve">
|
||||
<value>Энкодер видео:</value>
|
||||
</data>
|
||||
</root>
|
18
ShareX.MediaLib/Properties/Resources.Designer.cs
generated
18
ShareX.MediaLib/Properties/Resources.Designer.cs
generated
|
@ -114,6 +114,15 @@ internal static string AlignmentVerticalCenter {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Confirmation.
|
||||
/// </summary>
|
||||
internal static string Confirmation {
|
||||
get {
|
||||
return ResourceManager.GetString("Confirmation", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -226,5 +235,14 @@ internal static string VideoThumbnailerForm_btnBrowse_Click_Browse_for_media_fil
|
|||
return ResourceManager.GetString("VideoThumbnailerForm_btnBrowse_Click_Browse_for_media_file", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Would you like to reset options?.
|
||||
/// </summary>
|
||||
internal static string WouldYouLikeToResetOptions {
|
||||
get {
|
||||
return ResourceManager.GetString("WouldYouLikeToResetOptions", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -172,4 +172,10 @@
|
|||
<data name="printer" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\printer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Confirmation" xml:space="preserve">
|
||||
<value>Confirmation</value>
|
||||
</data>
|
||||
<data name="WouldYouLikeToResetOptions" xml:space="preserve">
|
||||
<value>Would you like to reset options?</value>
|
||||
</data>
|
||||
</root>
|
|
@ -156,4 +156,10 @@
|
|||
<data name="AlignmentBottom" xml:space="preserve">
|
||||
<value>Низ</value>
|
||||
</data>
|
||||
<data name="Confirmation" xml:space="preserve">
|
||||
<value>Подтверждение</value>
|
||||
</data>
|
||||
<data name="WouldYouLikeToResetOptions" xml:space="preserve">
|
||||
<value>Хотите сбросить настройки?</value>
|
||||
</data>
|
||||
</root>
|
|
@ -238,6 +238,6 @@
|
|||
<value>Ссылка:</value>
|
||||
</data>
|
||||
<data name="btnTestURLSyntax.Text" xml:space="preserve">
|
||||
<value>Тест</value>
|
||||
<value>Тест...</value>
|
||||
</data>
|
||||
</root>
|
|
@ -1095,4 +1095,7 @@
|
|||
<data name="cbOwnCloudAppendFileNameToURL.Text" xml:space="preserve">
|
||||
<value>Добавлять имя файла в конец ссылки</value>
|
||||
</data>
|
||||
<data name="lblAzureStorageCacheControl.Text" xml:space="preserve">
|
||||
<value>Cache-Control заголовок:</value>
|
||||
</data>
|
||||
</root>
|
|
@ -127,7 +127,7 @@
|
|||
<value>Отмена</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>ShareX - Содержимое буфера</value>
|
||||
<value>ShareX - Загрузка из буфера</value>
|
||||
</data>
|
||||
<data name="btnUpload.Text" xml:space="preserve">
|
||||
<value>Загрузить</value>
|
||||
|
|
|
@ -1248,8 +1248,7 @@ public void ForceClose()
|
|||
{
|
||||
if (ScreenRecordManager.IsRecording)
|
||||
{
|
||||
// TODO: Translate
|
||||
if (MessageBox.Show("ShareX cannot be closed while screen recording is active.\r\n\r\nDo you want to abort the active screen recording?", "ShareX",
|
||||
if (MessageBox.Show(Resources.ShareXCannotBeClosedWhileScreenRecordingIsActive, "ShareX",
|
||||
MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
|
||||
{
|
||||
ScreenRecordManager.AbortRecording();
|
||||
|
|
|
@ -753,4 +753,13 @@
|
|||
<data name="tsmiTrayPinToScreen.Text" xml:space="preserve">
|
||||
<value>Закрепить на экране...</value>
|
||||
</data>
|
||||
<data name="tsmiImageBeautifier.Text" xml:space="preserve">
|
||||
<value>Украшатель изображений...</value>
|
||||
</data>
|
||||
<data name="tsmiTrayImageBeautifier.Text" xml:space="preserve">
|
||||
<value>Украшатель изображений...</value>
|
||||
</data>
|
||||
<data name="tsmiBeautifyImage.Text" xml:space="preserve">
|
||||
<value>Украсить изображение...</value>
|
||||
</data>
|
||||
</root>
|
38
ShareX/Properties/Resources.Designer.cs
generated
38
ShareX/Properties/Resources.Designer.cs
generated
|
@ -1039,6 +1039,15 @@ public static string ClipboardFormatForm_ClipboardFormatForm_Supported_variables
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Clipboard upload.
|
||||
/// </summary>
|
||||
public static string ClipboardUpload {
|
||||
get {
|
||||
return ResourceManager.GetString("ClipboardUpload", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -2520,6 +2529,17 @@ public static System.Drawing.Bitmap script__minus {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ShareX cannot be closed while screen recording is active.
|
||||
///
|
||||
///Do you want to abort the active screen recording?.
|
||||
/// </summary>
|
||||
public static string ShareXCannotBeClosedWhileScreenRecordingIsActive {
|
||||
get {
|
||||
return ResourceManager.GetString("ShareXCannotBeClosedWhileScreenRecordingIsActive", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ShareX - Confirmation.
|
||||
/// </summary>
|
||||
|
@ -2538,6 +2558,15 @@ public static string ShareXIsMinimizedToTheSystemTray {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ShareX is up to date!.
|
||||
/// </summary>
|
||||
public static string ShareXIsUpToDate {
|
||||
get {
|
||||
return ResourceManager.GetString("ShareXIsUpToDate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ShareX needs to be restarted for the personal folder changes to apply.
|
||||
///
|
||||
|
@ -3194,6 +3223,15 @@ public static string WouldYouLikeToResetThemes {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Would you like to retry clipboard upload?.
|
||||
/// </summary>
|
||||
public static string WouldYouLikeToRetryClipboardUpload {
|
||||
get {
|
||||
return ResourceManager.GetString("WouldYouLikeToRetryClipboardUpload", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -1128,4 +1128,18 @@ Middle click to close</value>
|
|||
<data name="picture-sunset" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\picture-sunset.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ShareXCannotBeClosedWhileScreenRecordingIsActive" xml:space="preserve">
|
||||
<value>ShareX cannot be closed while screen recording is active.
|
||||
|
||||
Do you want to abort the active screen recording?</value>
|
||||
</data>
|
||||
<data name="ShareXIsUpToDate" xml:space="preserve">
|
||||
<value>ShareX is up to date!</value>
|
||||
</data>
|
||||
<data name="ClipboardUpload" xml:space="preserve">
|
||||
<value>Clipboard upload</value>
|
||||
</data>
|
||||
<data name="WouldYouLikeToRetryClipboardUpload" xml:space="preserve">
|
||||
<value>Would you like to retry clipboard upload?</value>
|
||||
</data>
|
||||
</root>
|
|
@ -650,4 +650,21 @@
|
|||
<data name="FFmpegDoesNotExistAtTheFollowingPath" xml:space="preserve">
|
||||
<value>FFmpeg отсутствует по следующему пути:</value>
|
||||
</data>
|
||||
<data name="AboutForm_AboutForm_Language_he-IL" xml:space="preserve">
|
||||
<value>Иврит</value>
|
||||
</data>
|
||||
<data name="ShareXCannotBeClosedWhileScreenRecordingIsActive" xml:space="preserve">
|
||||
<value>ShareX не закроется пока идет запись экрана.
|
||||
|
||||
Хотите отменить текущую запись?</value>
|
||||
</data>
|
||||
<data name="ShareXIsUpToDate" xml:space="preserve">
|
||||
<value>ShareX обновлен!</value>
|
||||
</data>
|
||||
<data name="ClipboardUpload" xml:space="preserve">
|
||||
<value>Загрузка из буфера</value>
|
||||
</data>
|
||||
<data name="WouldYouLikeToRetryClipboardUpload" xml:space="preserve">
|
||||
<value>Хотите еще раз попробовать загрузить из буфера?</value>
|
||||
</data>
|
||||
</root>
|
|
@ -1936,8 +1936,7 @@ public static async Task DownloadDevBuild()
|
|||
}
|
||||
else if (updateChecker.Status == UpdateStatus.UpToDate)
|
||||
{
|
||||
// TODO: Translate
|
||||
MessageBox.Show("ShareX is up to date!", "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
MessageBox.Show(Resources.ShareXIsUpToDate, "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -241,8 +241,7 @@ public static void ClipboardUpload(TaskSettings taskSettings = null)
|
|||
{
|
||||
DebugHelper.WriteException(e);
|
||||
|
||||
// TODO: Translate
|
||||
if (MessageBox.Show("\"" + e.Message + "\"\r\n\r\n" + "Would you like to retry clipboard upload?", "ShareX - " + "Clipboard upload",
|
||||
if (MessageBox.Show("\"" + e.Message + "\"\r\n\r\n" + Resources.WouldYouLikeToRetryClipboardUpload, "ShareX - " + Resources.ClipboardUpload,
|
||||
MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
|
||||
{
|
||||
ClipboardUpload(taskSettings);
|
||||
|
|
Loading…
Reference in a new issue