Cleanup v2 leftovers

This commit is contained in:
Dennis Reimann
2024-04-05 17:43:38 +02:00
parent 4208110d57
commit d2e9ec9494
23 changed files with 44 additions and 83 deletions

View File

@@ -108,9 +108,7 @@ namespace BTCPayServer.Controllers
public IActionResult GetTranslations(string resource, string lang)
{
string path;
if (resource == "checkout-v1")
path = "locales";
else if (resource == "checkout-v2")
if (resource.StartsWith("checkout"))
path = "locales/checkout";
else
return NotFound();