* Spotless Apply * refactor alert struct * format and added i18n * Spotless Apply * modify some code * fix database sql upgrade bug --------- Co-authored-by: Zzm0809 <Zzm0809@users.noreply.github.com>