Remove unused checkout v1 translations (#6860)

This commit is contained in:
Nicolas Dorier
2025-07-22 12:27:26 +09:00
committed by GitHub
parent e6565f93ba
commit 995bc0e20f
55 changed files with 19 additions and 2270 deletions

View File

@@ -60,10 +60,6 @@ namespace BTCPayServer.Controllers
public string AppId { get; set; }
public object Settings { get; set; }
public string StoreId { get; set; }
public override string ToString()
{
return string.Empty;
}
}
[HttpGet("/apps/{appId}")]
@@ -212,7 +208,7 @@ namespace BTCPayServer.Controllers
return RedirectToAction(nameof(UIStoresController.Dashboard), "UIStores", new { storeId = app.StoreDataId });
}
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Cookie)]
[HttpPost("{appId}/archive")]
public async Task<IActionResult> ToggleArchive(string appId)
@@ -220,7 +216,7 @@ namespace BTCPayServer.Controllers
var app = GetCurrentApp();
if (app == null)
return NotFound();
var type = _appService.GetAppType(app.AppType);
if (type is null)
{
@@ -240,7 +236,7 @@ namespace BTCPayServer.Controllers
? StringLocalizer["Failed to archive the app."].Value
: StringLocalizer["Failed to unarchive the app."].Value;
}
var url = await type.ConfigureLink(app);
return Redirect(url);
}