Skip to content

Commit 725e590

Browse files
committed
feat: add release url in upgrade page #1126
1 parent d3be185 commit 725e590

File tree

21 files changed

+91
-10
lines changed

21 files changed

+91
-10
lines changed

app/src/api/upgrade.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ export interface RuntimeInfo {
55
os: string
66
arch: string
77
ex_path: string
8-
body: string
9-
published_at: string
108
cur_version: Info
119
in_docker: boolean
1210
}
@@ -18,6 +16,12 @@ interface Info {
1816
short_hash: string
1917
}
2018

19+
export interface ReleaseInfo extends RuntimeInfo {
20+
html_url: string
21+
published_at: string
22+
body: string
23+
}
24+
2125
const upgrade = {
2226
get_latest_release(channel: string) {
2327
return http.get('/upgrade/release', {

app/src/language/ar/app.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5465,6 +5465,10 @@ msgstr "عرض"
54655465
msgid "View all notifications"
54665466
msgstr "عرض جميع التنبيهات"
54675467

5468+
#: src/views/system/Upgrade.vue:279
5469+
msgid "View on GitHub"
5470+
msgstr "عرض على GitHub"
5471+
54685472
#: src/views/preference/components/AuthSettings/RecoveryCodes.vue:134
54695473
msgid "View Recovery Codes"
54705474
msgstr "عرض رموز الاسترداد"

app/src/language/de_DE/app.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5548,6 +5548,10 @@ msgstr "Anzeigen"
55485548
msgid "View all notifications"
55495549
msgstr "Alle Benachrichtigungen anzeigen"
55505550

5551+
#: src/views/system/Upgrade.vue:279
5552+
msgid "View on GitHub"
5553+
msgstr "Auf GitHub anzeigen"
5554+
55515555
#: src/views/preference/components/AuthSettings/RecoveryCodes.vue:134
55525556
msgid "View Recovery Codes"
55535557
msgstr "Wiederherstellungscodes anzeigen"

app/src/language/en/app.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5308,6 +5308,10 @@ msgstr ""
53085308
msgid "View all notifications"
53095309
msgstr ""
53105310

5311+
#: src/views/system/Upgrade.vue:279
5312+
msgid "View on GitHub"
5313+
msgstr ""
5314+
53115315
#: src/views/preference/components/AuthSettings/RecoveryCodes.vue:134
53125316
msgid "View Recovery Codes"
53135317
msgstr ""

app/src/language/es/app.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5556,6 +5556,10 @@ msgstr "Ver"
55565556
msgid "View all notifications"
55575557
msgstr "Ver todas las notificaciones"
55585558

5559+
#: src/views/system/Upgrade.vue:279
5560+
msgid "View on GitHub"
5561+
msgstr "Ver en GitHub"
5562+
55595563
#: src/views/preference/components/AuthSettings/RecoveryCodes.vue:134
55605564
msgid "View Recovery Codes"
55615565
msgstr "Ver códigos de recuperación"

app/src/language/fr_FR/app.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5564,6 +5564,10 @@ msgstr "Voir"
55645564
msgid "View all notifications"
55655565
msgstr "Voir toutes les notifications"
55665566

5567+
#: src/views/system/Upgrade.vue:279
5568+
msgid "View on GitHub"
5569+
msgstr "Voir sur GitHub"
5570+
55675571
#: src/views/preference/components/AuthSettings/RecoveryCodes.vue:134
55685572
msgid "View Recovery Codes"
55695573
msgstr "Afficher les codes de récupération"

app/src/language/ja_JP/app.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5375,6 +5375,10 @@ msgstr "ビュー"
53755375
msgid "View all notifications"
53765376
msgstr "すべての通知を表示します"
53775377

5378+
#: src/views/system/Upgrade.vue:279
5379+
msgid "View on GitHub"
5380+
msgstr "GitHubで見る"
5381+
53785382
#: src/views/preference/components/AuthSettings/RecoveryCodes.vue:134
53795383
msgid "View Recovery Codes"
53805384
msgstr "リカバリーコードを表示"

app/src/language/ko_KR/app.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5369,6 +5369,10 @@ msgstr "보기"
53695369
msgid "View all notifications"
53705370
msgstr "모든 알림 보기"
53715371

5372+
#: src/views/system/Upgrade.vue:279
5373+
msgid "View on GitHub"
5374+
msgstr "GitHub에서 보기"
5375+
53725376
#: src/views/preference/components/AuthSettings/RecoveryCodes.vue:134
53735377
msgid "View Recovery Codes"
53745378
msgstr "복구 코드를 봅니다"

app/src/language/messages.pot

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5217,6 +5217,10 @@ msgstr ""
52175217
msgid "View all notifications"
52185218
msgstr ""
52195219

5220+
#: src/views/system/Upgrade.vue:279
5221+
msgid "View on GitHub"
5222+
msgstr ""
5223+
52205224
#: src/views/preference/components/AuthSettings/RecoveryCodes.vue:134
52215225
msgid "View Recovery Codes"
52225226
msgstr ""

app/src/language/pt_PT/app.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5527,6 +5527,10 @@ msgstr "Ver"
55275527
msgid "View all notifications"
55285528
msgstr "Ver todas notificações"
55295529

5530+
#: src/views/system/Upgrade.vue:279
5531+
msgid "View on GitHub"
5532+
msgstr "Ver no GitHub"
5533+
55305534
#: src/views/preference/components/AuthSettings/RecoveryCodes.vue:134
55315535
msgid "View Recovery Codes"
55325536
msgstr "Ver códigos de recuperação"

0 commit comments

Comments
 (0)