adjust changelog menu item text and event name

This commit is contained in:
pa
2026-03-24 20:05:08 +09:00
parent 88699cb233
commit fc1c62d7c2
7 changed files with 10 additions and 17 deletions

View File

@@ -133,7 +133,7 @@
:is-applying-theme-color="isApplyingThemeColor"
:theme-display-name="themeDisplayName"
:theme-color-display-name="themeColorDisplayName"
@show-whats-new="handleShowWhatsNew"
@show-changelog="showChangeLogDialog"
@support-link="handleSupportLink"
@toggle-theme="handleThemeToggle"
@show-vrcx-update-dialog="showVRCXUpdateDialog"
@@ -213,7 +213,7 @@
const VRCXUpdaterStore = useVRCXUpdaterStore();
const { pendingVRCXUpdate, pendingVRCXInstall, appVersion } = storeToRefs(VRCXUpdaterStore);
const { showVRCXUpdateDialog, showChangeLogDialog, showLatestWhatsNewDialog } = VRCXUpdaterStore;
const { showVRCXUpdateDialog, showChangeLogDialog } = VRCXUpdaterStore;
const dashboardStore = useDashboardStore();
const { dashboards } = storeToRefs(dashboardStore);
@@ -313,13 +313,6 @@
return false;
};
const handleShowWhatsNew = async () => {
const shown = showLatestWhatsNewDialog();
if (!shown) {
showChangeLogDialog();
}
};
const handleSettingsClick = () => {
router.push({ name: 'settings' });
};

View File

@@ -10,8 +10,8 @@
</SidebarMenuButton>
</DropdownMenuTrigger>
<DropdownMenuContent side="right" align="start" class="w-56">
<DropdownMenuItem @click="emit('show-whats-new')">
<span>{{ t('nav_menu.whats_new') }}</span>
<DropdownMenuItem @click="emit('show-changelog')">
<span>{{ t('nav_menu.changelog') }}</span>
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuLabel>{{ t('nav_menu.resources') }}</DropdownMenuLabel>
@@ -253,7 +253,7 @@
});
const emit = defineEmits([
'show-whats-new',
'show-changelog',
'support-link',
'toggle-theme',
'show-vrcx-update-dialog',

View File

@@ -68,7 +68,7 @@
"get_help": "GET HELP",
"github": "VRCX on GitHub",
"discord": "Join our Discord",
"whats_new": "What's New?",
"changelog": "Changelog",
"update_available": "Update available",
"update": "Update",
"mark_all_read": "Mark All as Read",

View File

@@ -45,7 +45,7 @@
"get_help": "困った時はこちら",
"github": "バグ報告・提案 (GitHub)",
"discord": "みんなと話そう (Discord)",
"whats_new": "新機能 (更新履歴)",
"changelog": "新機能 (更新履歴)",
"update_available": "更新があります!",
"update": "更新",
"custom_nav": {

View File

@@ -27,7 +27,7 @@
"get_help": "UZYSKAJ POMOC",
"github": "VRCX na GitHubie",
"discord": "Dołącz do naszego Discorda",
"whats_new": "Co nowego?",
"changelog": "Co nowego?",
"custom_nav": {
"header": "Edytuj nawigację",
"dialog_title": "Edytuj menu nawigacyjne",

View File

@@ -45,7 +45,7 @@
"get_help": "请求帮助",
"github": "GitHub 仓库",
"discord": "加入 Discord",
"whats_new": "更新日志",
"changelog": "更新日志",
"update_available": "有新版本可用",
"update": "更新",
"custom_nav": {

View File

@@ -45,7 +45,7 @@
"get_help": "取得協助",
"github": "在 GitHub 上查看 VRCX",
"discord": "加入我們的 Discord",
"whats_new": "最新更新",
"changelog": "最新更新",
"update_available": "有可用更新",
"update": "更新",
"custom_nav": {