Releasing 0.25.77 (#968)

Squash commits
This commit is contained in:
vorotamoroz
2026-06-19 17:45:37 +09:00
committed by GitHub
parent c6c4044f3c
commit 62f44e38c0
453 changed files with 29917 additions and 727 deletions
@@ -1,7 +1,7 @@
import { getLanguage } from "@/deps";
import { createServiceFeature } from "@lib/interfaces/ServiceModule";
import { SUPPORTED_I18N_LANGS, type I18N_LANGS } from "@lib/common/rosetta";
import { $msg, setLang } from "@lib/common/i18n";
import { $msg, __onMissingTranslation, setLang } from "@lib/common/i18n";
function tryGetLanguage() {
try {
@@ -15,6 +15,8 @@ function tryGetLanguage() {
}
export const enableI18nFeature = createServiceFeature(async ({ services: { setting, API } }) => {
// Clear missing translation handler to avoid unnecessary warnings.
__onMissingTranslation(() => {});
let isChanged = false;
const settings = setting.currentSettings();
if (settings.displayLanguage == "") {