1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:43:21 +08:00

Fix english

This commit is contained in:
Dean Herbert 2020-05-24 23:09:38 +09:00
parent 234fa28445
commit 904d17224f

View File

@ -375,7 +375,7 @@ namespace osu.Game.Database
}, cancellationToken, TaskCreationOptions.HideScheduler, import_scheduler).Unwrap(); }, cancellationToken, TaskCreationOptions.HideScheduler, import_scheduler).Unwrap();
/// <summary> /// <summary>
/// Exports an item to an legacy (.zip based) package. /// Exports an item to a legacy (.zip based) package.
/// </summary> /// </summary>
/// <param name="item">The item to export.</param> /// <param name="item">The item to export.</param>
public void Export(TModel item) public void Export(TModel item)
@ -383,7 +383,7 @@ namespace osu.Game.Database
var retrievedItem = ModelStore.ConsumableItems.FirstOrDefault(s => s.ID == item.ID); var retrievedItem = ModelStore.ConsumableItems.FirstOrDefault(s => s.ID == item.ID);
if (retrievedItem == null) if (retrievedItem == null)
throw new ArgumentException("Specified model count not be found", nameof(item)); throw new ArgumentException("Specified model could not be found", nameof(item));
using (var archive = ZipArchive.Create()) using (var archive = ZipArchive.Create())
{ {