Merge pull request #6922 from L1Q/develop

Translation updates
This commit is contained in:
Jaex 2023-06-05 02:36:09 +03:00 committed by GitHub
commit 7d90f0908d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 128 additions and 11 deletions

View file

@ -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>

View file

@ -29,6 +29,7 @@
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();

View file

@ -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>

View file

@ -114,6 +114,15 @@ internal class Resources {
}
}
/// <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 class Resources {
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);
}
}
}
}

View file

@ -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>

View file

@ -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>

View file

@ -238,6 +238,6 @@
<value>Ссылка:</value>
</data>
<data name="btnTestURLSyntax.Text" xml:space="preserve">
<value>Тест</value>
<value>Тест...</value>
</data>
</root>

View file

@ -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>

View file

@ -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>

View file

@ -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();

View file

@ -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>

View file

@ -1039,6 +1039,15 @@ public class Resources {
}
}
/// <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 class Resources {
}
}
/// <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 class Resources {
}
}
/// <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 class Resources {
}
}
/// <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>

View file

@ -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>

View file

@ -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>

View file

@ -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);
}
}

View file

@ -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);