Skip to content

Commit

Permalink
Updated the localization string used in the button click event handle…
Browse files Browse the repository at this point in the history
…r of the FrmRepBuilder class.
  • Loading branch information
xvitaly committed Dec 7, 2024
1 parent ec2b578 commit c823f4c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/srcrepair/AppStrings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/srcrepair/AppStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,8 @@
<data name="RP_CloseButtonText" xml:space="preserve">
<value>Close</value>
</data>
<data name="RP_GenException" xml:space="preserve">
<value>Unable to execute Microsoft System Information tool. Perhaps it is not installed on this operating system. Creating a report will be impossible. Terminating.</value>
<data name="RP_GenerateReportError" xml:space="preserve">
<value>An error occurred while generating the report!</value>
</data>
<data name="RP_ReportFileCreated" xml:space="preserve">
<value>The compressed report named {0} has been successfully generated! Now we will show it in the default file manager and you will be able to send it to the technical support service, upload it to the forum, etc.</value>
Expand Down
4 changes: 2 additions & 2 deletions src/srcrepair/AppStrings.ru.resx
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,8 @@
<data name="RP_CloseButtonText" xml:space="preserve">
<value>Закрыть</value>
</data>
<data name="RP_GenException" xml:space="preserve">
<value>Произошла ошибка. Невозможно выполнить утилиту Microsoft System Information. Возможно, она не установлена в данной ОС. Создание отчёта невозможно.</value>
<data name="RP_GenerateReportError" xml:space="preserve">
<value>Произошла ошибка при создании отчёта!</value>
</data>
<data name="RP_ReportFileCreated" xml:space="preserve">
<value>Сжатый отчёт с именем {0} был успешно создан! Сейчас он будет показан в файловом менеджере, чтобы вы могли отправить его в службу технической поддержки, загрузить на форум и т.д.</value>
Expand Down
2 changes: 1 addition & 1 deletion src/srcrepair/FrmRepBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ private async void RP_Generate_Click(object sender, EventArgs e)
catch (Exception Ex)
{
Logger.Error(Ex, DebugStrings.AppDbgExRpGenerate);
MessageBox.Show(AppStrings.RP_GenException, Properties.Resources.AppName, MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(AppStrings.RP_GenerateReportError, Properties.Resources.AppName, MessageBoxButtons.OK, MessageBoxIcon.Error);
FormError();
}
}
Expand Down

0 comments on commit c823f4c

Please sign in to comment.