mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
adjust changelog menu item text and event name
This commit is contained in:
@@ -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' });
|
||||
};
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"get_help": "困った時はこちら",
|
||||
"github": "バグ報告・提案 (GitHub)",
|
||||
"discord": "みんなと話そう (Discord)",
|
||||
"whats_new": "新機能 (更新履歴)",
|
||||
"changelog": "新機能 (更新履歴)",
|
||||
"update_available": "更新があります!",
|
||||
"update": "更新",
|
||||
"custom_nav": {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"get_help": "请求帮助",
|
||||
"github": "GitHub 仓库",
|
||||
"discord": "加入 Discord",
|
||||
"whats_new": "更新日志",
|
||||
"changelog": "更新日志",
|
||||
"update_available": "有新版本可用",
|
||||
"update": "更新",
|
||||
"custom_nav": {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"get_help": "取得協助",
|
||||
"github": "在 GitHub 上查看 VRCX",
|
||||
"discord": "加入我們的 Discord",
|
||||
"whats_new": "最新更新",
|
||||
"changelog": "最新更新",
|
||||
"update_available": "有可用更新",
|
||||
"update": "更新",
|
||||
"custom_nav": {
|
||||
|
||||
Reference in New Issue
Block a user