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:
@@ -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'),
|
||||
|
||||
@@ -48,7 +48,7 @@ const headerTabs = computed(() => [{
|
||||
}]);
|
||||
|
||||
definePage(() => ({
|
||||
title: i18n.ts.chat + ' (beta)',
|
||||
title: i18n.ts.directMessage,
|
||||
icon: 'ti ti-messages',
|
||||
}));
|
||||
</script>
|
||||
|
||||
@@ -46,6 +46,6 @@ onMounted(() => {
|
||||
});
|
||||
|
||||
definePage({
|
||||
title: i18n.ts.chat,
|
||||
title: i18n.ts.directMessage,
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
}
|
||||
}));
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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} ` });
|
||||
|
||||
Reference in New Issue
Block a user