mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
adjust changelog menu item text and event name
This commit is contained in:
@@ -133,7 +133,7 @@
|
|||||||
:is-applying-theme-color="isApplyingThemeColor"
|
:is-applying-theme-color="isApplyingThemeColor"
|
||||||
:theme-display-name="themeDisplayName"
|
:theme-display-name="themeDisplayName"
|
||||||
:theme-color-display-name="themeColorDisplayName"
|
:theme-color-display-name="themeColorDisplayName"
|
||||||
@show-whats-new="handleShowWhatsNew"
|
@show-changelog="showChangeLogDialog"
|
||||||
@support-link="handleSupportLink"
|
@support-link="handleSupportLink"
|
||||||
@toggle-theme="handleThemeToggle"
|
@toggle-theme="handleThemeToggle"
|
||||||
@show-vrcx-update-dialog="showVRCXUpdateDialog"
|
@show-vrcx-update-dialog="showVRCXUpdateDialog"
|
||||||
@@ -213,7 +213,7 @@
|
|||||||
|
|
||||||
const VRCXUpdaterStore = useVRCXUpdaterStore();
|
const VRCXUpdaterStore = useVRCXUpdaterStore();
|
||||||
const { pendingVRCXUpdate, pendingVRCXInstall, appVersion } = storeToRefs(VRCXUpdaterStore);
|
const { pendingVRCXUpdate, pendingVRCXInstall, appVersion } = storeToRefs(VRCXUpdaterStore);
|
||||||
const { showVRCXUpdateDialog, showChangeLogDialog, showLatestWhatsNewDialog } = VRCXUpdaterStore;
|
const { showVRCXUpdateDialog, showChangeLogDialog } = VRCXUpdaterStore;
|
||||||
|
|
||||||
const dashboardStore = useDashboardStore();
|
const dashboardStore = useDashboardStore();
|
||||||
const { dashboards } = storeToRefs(dashboardStore);
|
const { dashboards } = storeToRefs(dashboardStore);
|
||||||
@@ -313,13 +313,6 @@
|
|||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleShowWhatsNew = async () => {
|
|
||||||
const shown = showLatestWhatsNewDialog();
|
|
||||||
if (!shown) {
|
|
||||||
showChangeLogDialog();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
const handleSettingsClick = () => {
|
const handleSettingsClick = () => {
|
||||||
router.push({ name: 'settings' });
|
router.push({ name: 'settings' });
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
</SidebarMenuButton>
|
</SidebarMenuButton>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent side="right" align="start" class="w-56">
|
<DropdownMenuContent side="right" align="start" class="w-56">
|
||||||
<DropdownMenuItem @click="emit('show-whats-new')">
|
<DropdownMenuItem @click="emit('show-changelog')">
|
||||||
<span>{{ t('nav_menu.whats_new') }}</span>
|
<span>{{ t('nav_menu.changelog') }}</span>
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
<DropdownMenuSeparator />
|
<DropdownMenuSeparator />
|
||||||
<DropdownMenuLabel>{{ t('nav_menu.resources') }}</DropdownMenuLabel>
|
<DropdownMenuLabel>{{ t('nav_menu.resources') }}</DropdownMenuLabel>
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
const emit = defineEmits([
|
const emit = defineEmits([
|
||||||
'show-whats-new',
|
'show-changelog',
|
||||||
'support-link',
|
'support-link',
|
||||||
'toggle-theme',
|
'toggle-theme',
|
||||||
'show-vrcx-update-dialog',
|
'show-vrcx-update-dialog',
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
"get_help": "GET HELP",
|
"get_help": "GET HELP",
|
||||||
"github": "VRCX on GitHub",
|
"github": "VRCX on GitHub",
|
||||||
"discord": "Join our Discord",
|
"discord": "Join our Discord",
|
||||||
"whats_new": "What's New?",
|
"changelog": "Changelog",
|
||||||
"update_available": "Update available",
|
"update_available": "Update available",
|
||||||
"update": "Update",
|
"update": "Update",
|
||||||
"mark_all_read": "Mark All as Read",
|
"mark_all_read": "Mark All as Read",
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
"get_help": "困った時はこちら",
|
"get_help": "困った時はこちら",
|
||||||
"github": "バグ報告・提案 (GitHub)",
|
"github": "バグ報告・提案 (GitHub)",
|
||||||
"discord": "みんなと話そう (Discord)",
|
"discord": "みんなと話そう (Discord)",
|
||||||
"whats_new": "新機能 (更新履歴)",
|
"changelog": "新機能 (更新履歴)",
|
||||||
"update_available": "更新があります!",
|
"update_available": "更新があります!",
|
||||||
"update": "更新",
|
"update": "更新",
|
||||||
"custom_nav": {
|
"custom_nav": {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
"get_help": "UZYSKAJ POMOC",
|
"get_help": "UZYSKAJ POMOC",
|
||||||
"github": "VRCX na GitHubie",
|
"github": "VRCX na GitHubie",
|
||||||
"discord": "Dołącz do naszego Discorda",
|
"discord": "Dołącz do naszego Discorda",
|
||||||
"whats_new": "Co nowego?",
|
"changelog": "Co nowego?",
|
||||||
"custom_nav": {
|
"custom_nav": {
|
||||||
"header": "Edytuj nawigację",
|
"header": "Edytuj nawigację",
|
||||||
"dialog_title": "Edytuj menu nawigacyjne",
|
"dialog_title": "Edytuj menu nawigacyjne",
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
"get_help": "请求帮助",
|
"get_help": "请求帮助",
|
||||||
"github": "GitHub 仓库",
|
"github": "GitHub 仓库",
|
||||||
"discord": "加入 Discord",
|
"discord": "加入 Discord",
|
||||||
"whats_new": "更新日志",
|
"changelog": "更新日志",
|
||||||
"update_available": "有新版本可用",
|
"update_available": "有新版本可用",
|
||||||
"update": "更新",
|
"update": "更新",
|
||||||
"custom_nav": {
|
"custom_nav": {
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
"get_help": "取得協助",
|
"get_help": "取得協助",
|
||||||
"github": "在 GitHub 上查看 VRCX",
|
"github": "在 GitHub 上查看 VRCX",
|
||||||
"discord": "加入我們的 Discord",
|
"discord": "加入我們的 Discord",
|
||||||
"whats_new": "最新更新",
|
"changelog": "最新更新",
|
||||||
"update_available": "有可用更新",
|
"update_available": "有可用更新",
|
||||||
"update": "更新",
|
"update": "更新",
|
||||||
"custom_nav": {
|
"custom_nav": {
|
||||||
|
|||||||
Reference in New Issue
Block a user