-
-
-
-
-
-
-
-
-
-
-
- ({{ i18n.ts.private }})
-
+
+
+
@@ -328,16 +327,16 @@ const disableReactionsViewer = ref(defaultStore.reactiveState.disableReactionsVi
const collapsedUnexpectedLangs = ref(defaultStore.reactiveState.collapsedUnexpectedLangs);
const expectedLangs = computed(() => new Set([
- (miLocalStorage.getItem('lang') ?? navigator.language).slice(0, 2),
- navigator.language.slice(0, 2)
+ (miLocalStorage.getItem('lang') ?? navigator.language).slice(0, 2),
+ navigator.language.slice(0, 2),
]));
const noteLanguage = computed(() => {
- if (!appearNote.value.text || appearNote.value.text.length < 10) return '';
- return detectLanguage(appearNote.value.text);
+ if (!appearNote.value.text || appearNote.value.text.length < 10) return '';
+ return detectLanguage(appearNote.value.text);
});
const isUnexpectedLanguage = computed(() => {
- const lang = noteLanguage.value;
- return lang !== '' && !expectedLangs.value.has(lang);
+ const lang = noteLanguage.value;
+ return lang !== '' && !expectedLangs.value.has(lang);
});
const pleaseLoginContext = computed(() => ({
{{ i18n.ts.pinnedNote }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- {{ i18n.ts.more }}
-
-
-
-
-
-
+
+
-
-
-
-
-
- {{ appearNote.channel.name }}
+
+
+ {{ i18n.ts.more }}
+
+
+
-
- {{ i18n.tsx.translatedFrom({ x: translation.sourceLang }) }}:
-
+
+
+
-
-
-
+ {{ appearNote.channel.name }}
-
+
+
+
+
-
+ ({{ i18n.ts.private }})
+
+
+
+
+
+
+
+
+
+
+ {{ i18n.tsx.translatedFrom({ x: translation.sourceLang }) }}:
+
+
+
+
+
+
+
+
-
-
-
-
-
-