Localize missing string.

This commit is contained in:
2025-07-31 04:21:06 +01:00
parent 078348c054
commit 3cd5cf4b73
5 changed files with 19 additions and 5 deletions

View File

@@ -65,9 +65,11 @@ internal static class Program
// Avalonia configuration, don't remove; also used by visual designer.
public static AppBuilder BuildAvaloniaApp() => AppBuilder.Configure<App>()
.UsePlatformDetect()
#if DEBUG
.LogToSerilog(LogEventLevel.Debug);
#else
//#if DEBUG
// .LogToSerilog(LogEventLevel.Debug);
//#else
.LogToSerilog(LogEventLevel.Information);
#endif
//#endif
}

View File

@@ -788,5 +788,11 @@ namespace RomRepoMgr.Resources {
return ResourceManager.GetString("ProcessingArchive", resourceCulture);
}
}
public static string ErrorProcessingArchive {
get {
return ResourceManager.GetString("ErrorProcessingArchive", resourceCulture);
}
}
}
}

View File

@@ -390,4 +390,7 @@ Tardará mucho tiempo...</value>
<data name="ProcessingArchive" xml:space="preserve">
<value>Procesando archivo: {0}</value>
</data>
<data name="ErrorProcessingArchive" xml:space="preserve">
<value>Error procesando archivo.</value>
</data>
</root>

View File

@@ -398,4 +398,7 @@ This will take a long time...</value>
<data name="ProcessingArchive" xml:space="preserve">
<value>Processing archive: {0}</value>
</data>
<data name="ErrorProcessingArchive" xml:space="preserve">
<value>Error processing archive.</value>
</data>
</root>

View File

@@ -464,7 +464,7 @@ public sealed partial class ImportRomFolderViewModel : ViewModelBase
Progress = 1,
Maximum = 1,
Minimum = 0,
StatusMessage = "Error processing archive."
StatusMessage = Localization.ErrorProcessingArchive
}));
#pragma warning disable ERP022
}