Skip to content

Commit

Permalink
Refatoring: renamed all localization strings used in the FrmRepBuilde…
Browse files Browse the repository at this point in the history
…r to be consistent with all others.
  • Loading branch information
xvitaly committed Dec 3, 2024
1 parent 348c1ce commit f4ade87
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions src/srcrepair/AppStrings.Designer.cs

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

6 changes: 3 additions & 3 deletions src/srcrepair/AppStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -621,13 +621,13 @@
<data name="QI_InstallationSuccessful" xml:space="preserve">
<value>The selected file has been installed successfully!</value>
</data>
<data name="RPB_CloseCpt" xml:space="preserve">
<data name="RP_CloseCpt" xml:space="preserve">
<value>Close</value>
</data>
<data name="RPB_ComprGen" xml:space="preserve">
<data name="RP_ComprGen" xml:space="preserve">
<value>Compressed report {0} has been successfully created! Now we will show it in the Windows Explorer. You can check it and upload to the technical support service or forum.</value>
</data>
<data name="RPB_GenException" xml:space="preserve">
<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>
<data name="RW_RmException" xml:space="preserve">
Expand Down
6 changes: 3 additions & 3 deletions src/srcrepair/AppStrings.ru.resx
Original file line number Diff line number Diff line change
Expand Up @@ -621,13 +621,13 @@
<data name="QI_InstallationSuccessful" xml:space="preserve">
<value>Выбранный файл был успешно установлен!</value>
</data>
<data name="RPB_CloseCpt" xml:space="preserve">
<data name="RP_CloseCpt" xml:space="preserve">
<value>Закрыть</value>
</data>
<data name="RPB_ComprGen" xml:space="preserve">
<data name="RP_ComprGen" xml:space="preserve">
<value>Сжатый отчёт с именем {0} был успешно создан! Сейчас будет открыт каталог с отчётом для того, чтобы вы смогли загрузить его на форум.</value>
</data>
<data name="RPB_GenException" xml:space="preserve">
<data name="RP_GenException" xml:space="preserve">
<value>Произошла ошибка. Невозможно выполнить утилиту Microsoft System Information. Возможно, она не установлена в данной ОС. Создание отчёта невозможно.</value>
</data>
<data name="RW_RmException" xml:space="preserve">
Expand Down
6 changes: 3 additions & 3 deletions src/srcrepair/FrmRepBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ private void RepWindowFinalize()
{
IsRunning = false;
RP_Progress.Visible = false;
RP_Generate.Text = AppStrings.RPB_CloseCpt;
RP_Generate.Text = AppStrings.RP_CloseCpt;
RP_Generate.Enabled = true;
ControlBox = true;
IsCompleted = true;
Expand Down Expand Up @@ -288,7 +288,7 @@ private async void RP_Generate_Click(object sender, EventArgs e)
{
try
{
MessageBox.Show(string.Format(AppStrings.RPB_ComprGen, Path.GetFileName(RepMan.ReportArchiveName)), Properties.Resources.AppName, MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show(string.Format(AppStrings.RP_ComprGen, Path.GetFileName(RepMan.ReportArchiveName)), Properties.Resources.AppName, MessageBoxButtons.OK, MessageBoxIcon.Information);
Platform.OpenExplorer(RepMan.ReportArchiveName);
}
catch (Exception Ex)
Expand All @@ -304,7 +304,7 @@ private async void RP_Generate_Click(object sender, EventArgs e)
catch (Exception Ex)
{
Logger.Error(Ex, DebugStrings.AppDbgExRepPack);
MessageBox.Show(AppStrings.RPB_GenException, Properties.Resources.AppName, MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(AppStrings.RP_GenException, Properties.Resources.AppName, MessageBoxButtons.OK, MessageBoxIcon.Error);
RepWindowError();
}
}
Expand Down

0 comments on commit f4ade87

Please sign in to comment.