Skip to content

Commit af3b3e4

Browse files
authored
Merge pull request LykosAI#1120 from ionite34/translations-n-fixes
update translations, add Ukrainian translation, redo some git stuff, …
2 parents 2cda775 + d28411b commit af3b3e4

25 files changed

Lines changed: 2161 additions & 241 deletions

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
1313
- Added "Install Nunchaku" option to the ComfyUI Package Commands menu
1414
- Added "Select All" button to the Installed Extensions page
1515
- Added experimental ROCm pytorch install for ComfyUI (non-Zluda) on Windows - requires a compatible AMD GPU
16+
- Added Ukrainian translation thanks to @r0ddty!
1617
### Changed
1718
- Redesigned Civitai model details page
1819
- You can now select release versions when installing ComfyUI
@@ -22,10 +23,13 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
2223
- Updated ComfyUI-Zluda installs to use the newer install-n method (fixes [#1347](https://github.com/LykosAI/StabilityMatrix/issues/1347))
2324
- Updated uv to 0.8.4
2425
- Removed disclaimer from reForge since the author is now active again
26+
- Updated git operations to better avoid conflicts
27+
- Updated Japanese translation
2528
### Fixed
2629
- Fixed Civitai-generated image parsing in Inference
2730
- Fixed some first-time setup crashes from missing prerequisites
2831
- Fixed one-click installer not using default preferred Python version
32+
- Fixed updating from old installs of InvokeAI using old frontend
2933

3034
## v2.15.0-dev.2
3135
### Added

StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,11 @@ private async Task RunGit(ProcessArgs args, string? workingDirectory = null)
268268
{
269269
var command = args.Prepend("git");
270270

271-
var result = await ProcessRunner.RunBashCommand(command, workingDirectory ?? "");
271+
var result = await ProcessRunner.RunBashCommand(
272+
command,
273+
workingDirectory ?? string.Empty,
274+
new Dictionary<string, string> { { "GIT_TERMINAL_PROMPT", "0" } }
275+
);
272276
if (result.ExitCode != 0)
273277
{
274278
Logger.Error(

StabilityMatrix.Avalonia/Helpers/WindowsPrerequisiteHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ public async Task RunGit(
153153
environmentVariables: new Dictionary<string, string>
154154
{
155155
{ "PATH", Compat.GetEnvPathWithExtensions(GitBinPath) },
156+
{ "GIT_TERMINAL_PROMPT", "0" },
156157
}
157158
);
158159
await process.WaitForExitAsync().ConfigureAwait(false);

StabilityMatrix.Avalonia/Languages/Cultures.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ public static class Cultures
1818

1919
public static NumberFormatInfo CurrentNumberFormat => Thread.CurrentThread.CurrentCulture.NumberFormat;
2020

21-
public static readonly Dictionary<string, CultureInfo> SupportedCulturesByCode =
22-
new()
23-
{
24-
["en-US"] = Default,
25-
["ja-JP"] = new CultureInfo("ja-JP"),
26-
["zh-Hans"] = new CultureInfo("zh-Hans"),
27-
["zh-Hant"] = new CultureInfo("zh-Hant"),
28-
["it-IT"] = new CultureInfo("it-IT"),
29-
["fr-FR"] = new CultureInfo("fr-FR"),
30-
["es"] = new CultureInfo("es"),
31-
["ru-RU"] = new CultureInfo("ru-RU"),
32-
["tr-TR"] = new CultureInfo("tr-TR"),
33-
["de"] = new CultureInfo("de"),
34-
["pt-PT"] = new CultureInfo("pt-PT"),
35-
["pt-BR"] = new CultureInfo("pt-BR"),
36-
["ko-KR"] = new CultureInfo("ko-KR")
37-
};
21+
public static readonly Dictionary<string, CultureInfo> SupportedCulturesByCode = new()
22+
{
23+
["en-US"] = Default,
24+
["ja-JP"] = new CultureInfo("ja-JP"),
25+
["zh-Hans"] = new CultureInfo("zh-Hans"),
26+
["zh-Hant"] = new CultureInfo("zh-Hant"),
27+
["it-IT"] = new CultureInfo("it-IT"),
28+
["fr-FR"] = new CultureInfo("fr-FR"),
29+
["es"] = new CultureInfo("es"),
30+
["ru-RU"] = new CultureInfo("ru-RU"),
31+
["tr-TR"] = new CultureInfo("tr-TR"),
32+
["de"] = new CultureInfo("de"),
33+
["pt-PT"] = new CultureInfo("pt-PT"),
34+
["pt-BR"] = new CultureInfo("pt-BR"),
35+
["ko-KR"] = new CultureInfo("ko-KR"),
36+
["uk-UA"] = new CultureInfo("uk-UA"),
37+
};
3838

3939
public static IReadOnlyList<CultureInfo> SupportedCultures =>
4040
SupportedCulturesByCode.Values.ToImmutableList();

StabilityMatrix.Avalonia/Languages/Resources.ja-JP.resx

Lines changed: 190 additions & 76 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)