Skip to content
Snippets Groups Projects
Commit fbff1635 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

reload language file on settings save

parent f7aa735a
Branches
Tags
No related merge requests found
Pipeline #
......@@ -21,6 +21,7 @@ import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import tools.BASE58Type;
import tools.ConvertTo;
import tools.Localization;
import tools.RandomCreations;
import javax.servlet.ServletOutputStream;
......@@ -86,6 +87,8 @@ public class SettingsController extends BaseController
settingsRepository.delete(0);
settingsRepository.save(settings);
Localization.loadLanguage(settings.getLanguage().getLocale());
}
return "redirect:/settings";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment