File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 12521252 "AlwaysEnabled" : " Always enabled" ,
12531253 "DownloadApplication" : " Download Application" ,
12541254 "DownloadCenter" : " Download Center" ,
1255+ "DownloadClient" : " Download Client" ,
12551256 "CopyPath" : " Copy path" ,
12561257 "CopyPathSuccess" : " Path copied" ,
12571258 "SelectPath" : " Select path" ,
Original file line number Diff line number Diff line change 12521252 "AlwaysEnabled" : " Siempre habilitado" ,
12531253 "DownloadApplication" : " Descargar aplicación" ,
12541254 "DownloadCenter" : " Centro de descargas" ,
1255+ "DownloadClient" : " Descargar cliente" ,
12551256 "CopyPath" : " Copiar ruta" ,
12561257 "CopyPathSuccess" : " Ruta copiada" ,
12571258 "SelectPath" : " Seleccionar ruta" ,
Original file line number Diff line number Diff line change 12521252 "AlwaysEnabled" : " 常に有効" ,
12531253 "DownloadApplication" : " アプリケーションをダウンロード" ,
12541254 "DownloadCenter" : " ダウンロードセンター" ,
1255+ "DownloadClient" : " クライアントをダウンロード" ,
12551256 "CopyPath" : " パスをコピー" ,
12561257 "CopyPathSuccess" : " パスをコピーしました" ,
12571258 "SelectPath" : " パスを選択" ,
Original file line number Diff line number Diff line change 12521252 "AlwaysEnabled" : " 항상 활성화" ,
12531253 "DownloadApplication" : " 애플리케이션 다운로드" ,
12541254 "DownloadCenter" : " 다운로드 센터" ,
1255+ "DownloadClient" : " 클라이언트 다운로드" ,
12551256 "CopyPath" : " 경로 복사" ,
12561257 "CopyPathSuccess" : " 경로를 복사했습니다" ,
12571258 "SelectPath" : " 경로 선택" ,
Original file line number Diff line number Diff line change 12521252 "AlwaysEnabled" : " Sempre habilitado" ,
12531253 "DownloadApplication" : " Baixar aplicativo" ,
12541254 "DownloadCenter" : " Central de downloads" ,
1255+ "DownloadClient" : " Baixar cliente" ,
12551256 "CopyPath" : " Copiar caminho" ,
12561257 "CopyPathSuccess" : " Caminho copiado" ,
12571258 "SelectPath" : " Selecionar caminho" ,
Original file line number Diff line number Diff line change 12521252 "AlwaysEnabled" : " Всегда включено" ,
12531253 "DownloadApplication" : " Скачать приложение" ,
12541254 "DownloadCenter" : " Центр загрузок" ,
1255+ "DownloadClient" : " Скачать клиент" ,
12551256 "CopyPath" : " Скопировать путь" ,
12561257 "CopyPathSuccess" : " Путь скопирован" ,
12571258 "SelectPath" : " Выбрать путь" ,
Original file line number Diff line number Diff line change 12521252 "AlwaysEnabled" : " Luôn bật" ,
12531253 "DownloadApplication" : " Tải ứng dụng" ,
12541254 "DownloadCenter" : " Trung tâm tải xuống" ,
1255+ "DownloadClient" : " Tải ứng dụng khách" ,
12551256 "CopyPath" : " Sao chép đường dẫn" ,
12561257 "CopyPathSuccess" : " Đã sao chép đường dẫn" ,
12571258 "SelectPath" : " Chọn đường dẫn" ,
Original file line number Diff line number Diff line change 12551255 "AlwaysEnabled" : " 始终启用" ,
12561256 "DownloadApplication" : " 下载应用" ,
12571257 "DownloadCenter" : " 下载中心" ,
1258+ "DownloadClient" : " 客户端下载" ,
12581259 "CopyPath" : " 复制路径" ,
12591260 "CopyPathSuccess" : " 路径已复制" ,
12601261 "SelectPath" : " 选择路径" ,
Original file line number Diff line number Diff line change 12521252 "AlwaysEnabled" : " 始終啟用" ,
12531253 "DownloadApplication" : " 下載應用" ,
12541254 "DownloadCenter" : " 下載中心" ,
1255+ "DownloadClient" : " 用戶端下載" ,
12551256 "CopyPath" : " 複製路徑" ,
12561257 "CopyPathSuccess" : " 路徑已複製" ,
12571258 "SelectPath" : " 選擇路徑" ,
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ const inputRef = ref<ComponentPublicInstance | null>(null);
7373const siteNameInputRef = ref <ComponentPublicInstance | null >(null );
7474const profileOpen = ref (false );
7575const profileOpenedByPointer = ref (false );
76+ const downloadCenterUrl = computed (() =>
77+ import .meta .client ? withWebSitePrefix (" /core/download/" ) : " /core/download/"
78+ );
7679const headerIconButtonClass =
7780 " grid size-6 shrink-0 place-items-center rounded-[length:var(--app-radius)] p-0 text-[var(--app-text-secondary)] transition-colors hover:bg-[var(--app-hover-soft)] hover:text-[var(--app-fg)]" ;
7881const headerIconButtonActiveClass = " bg-[var(--app-hover-soft)] text-[var(--app-fg)]" ;
@@ -1165,6 +1168,21 @@ onBeforeUnmount(() => {
11651168 </span >
11661169 </template >
11671170 </UButton >
1171+ <UButton
1172+ v-if =" ! isDesktopRuntime ()"
1173+ :label =" t (' Setting.DownloadClient' )"
1174+ icon="i-lucide-download"
1175+ :to =" downloadCenterUrl "
1176+ external
1177+ target="_blank"
1178+ rel="noopener noreferrer"
1179+ color="neutral"
1180+ variant="ghost"
1181+ size="sm"
1182+ block
1183+ class="justify-start"
1184+ @click =" profileOpen = false "
1185+ />
11681186 <UButton
11691187 v-if =" isDesktopRuntime ()"
11701188 :label =" t (' Menu.MyTools' )"
You can’t perform that action at this time.
0 commit comments