Skip to content

Commit

Permalink
fix error message for backup
Browse files Browse the repository at this point in the history
  • Loading branch information
clown committed Apr 2, 2024
1 parent 5c18bbc commit 41f6277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Applications/Editor/Main/Properties/Resources.ja.resx
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
<value>縮小</value>
</data>
<data name="MessageBackupError" xml:space="preserve">
<value>バックアップ処理が失敗しました。</value>
<value>バックアップ処理に失敗しました。バックアップ用フォルダー等の設定内容を確認して下さい。</value>
</data>
<data name="MessageLoading" xml:space="preserve">
<value>{0} を開いています ...</value>
Expand Down
2 changes: 1 addition & 1 deletion Applications/Editor/Main/Sources/Models/Backup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public void Cleanup()

var src = Io.GetDirectories(GetRootDirectory()).ToList();
var cvt = src.Where(IsClean).ToList();
if (src.Count != cvt.Count) Logger.Warn($"[{cvt.Count}/{src.Count}] Non-targeted folders detected");
if (src.Count != cvt.Count) Logger.Warn($"Non-targeted folders detected ({cvt.Count}/{src.Count})");

var n = cvt.Count - _settings.Value.BackupDays;
if (n <= 0) return;
Expand Down

0 comments on commit 41f6277

Please sign in to comment.