mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 14:25:17 -04:00
UX Pass 7 (#3135)
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
@@ -22,6 +22,11 @@ public class LocaleController : BaseApiController
|
||||
[HttpGet]
|
||||
public ActionResult<IEnumerable<string>> GetAllLocales()
|
||||
{
|
||||
// Check if temp/locale_map.json exists
|
||||
|
||||
// If not, scan the 2 locale files and calculate empty keys or empty values
|
||||
|
||||
// Formulate the Locale object with Percentage
|
||||
var languages = _localizationService.GetLocales().Select(c =>
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user