1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-06 03:36:03 +02:00

enhance(frontend): チャットの日本語名称をダイレクトメッセージに & ベータを外す

This commit is contained in:
syuilo
2025-09-16 16:24:10 +09:00
parent df3e44f62e
commit b231da7c7c
10 changed files with 111 additions and 90 deletions

View File

@@ -111,7 +111,7 @@ export const navbarItemDef = reactive({
to: '/channels',
},
chat: {
title: i18n.ts.chat,
title: i18n.ts.directMessage_short,
icon: 'ti ti-messages',
to: '/chat',
show: computed(() => $i != null && $i.policies.chatAvailability !== 'unavailable'),

View File

@@ -48,7 +48,7 @@ const headerTabs = computed(() => [{
}]);
definePage(() => ({
title: i18n.ts.chat + ' (beta)',
title: i18n.ts.directMessage,
icon: 'ti ti-messages',
}));
</script>

View File

@@ -46,6 +46,6 @@ onMounted(() => {
});
definePage({
title: i18n.ts.chat,
title: i18n.ts.directMessage,
});
</script>

View File

@@ -421,7 +421,7 @@ const tab = ref('chat');
const headerTabs = computed(() => room.value ? [{
key: 'chat',
title: i18n.ts.chat,
title: i18n.ts._chat.messages,
icon: 'ti ti-messages',
}, {
key: 'members',
@@ -437,7 +437,7 @@ const headerTabs = computed(() => room.value ? [{
icon: 'ti ti-info-circle',
}] : [{
key: 'chat',
title: i18n.ts.chat,
title: i18n.ts._chat.messages,
icon: 'ti ti-messages',
}, {
key: 'search',
@@ -466,12 +466,12 @@ definePage(computed(() => {
};
} else {
return {
title: i18n.ts.chat,
title: i18n.ts.directMessage,
};
}
} else {
return {
title: i18n.ts.chat,
title: i18n.ts.directMessage,
};
}
}));

View File

@@ -414,7 +414,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template v-if="$i.policies.chatAvailability !== 'unavailable'">
<SearchMarker v-slot="slotProps" :keywords="['chat', 'messaging']">
<MkFolder :defaultOpen="slotProps.isParentOfTarget">
<template #label><SearchLabel>{{ i18n.ts.chat }}</SearchLabel></template>
<template #label><SearchLabel>{{ i18n.ts.directMessage }}</SearchLabel></template>
<template #icon><SearchIcon><i class="ti ti-messages"></i></SearchIcon></template>
<div class="_gaps_s">

View File

@@ -74,7 +74,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<SearchMarker :keywords="['chat']">
<FormSection>
<template #label><SearchLabel>{{ i18n.ts.chat }}</SearchLabel></template>
<template #label><SearchLabel>{{ i18n.ts.directMessage }}</SearchLabel></template>
<div class="_gaps_m">
<MkInfo v-if="$i.policies.chatAvailability === 'unavailable'">{{ i18n.ts._chat.chatNotAvailableForThisAccountOrServer }}</MkInfo>

View File

@@ -366,8 +366,8 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
//}
menuItems.push({ type: 'divider' }, {
icon: 'ti ti-mail',
text: i18n.ts.sendMessage,
icon: 'ti ti-pencil-heart',
text: i18n.ts.createUserSpecifiedNote,
action: () => {
const canonical = user.host === null ? `@${user.username}` : `@${user.username}@${user.host}`;
os.post({ specified: user, initialText: `${canonical} ` });