refactor: rename dev to canary

pull/831/head
三咲智子 2023-01-07 00:20:12 +08:00
rodzic cffcddefb9
commit c713add727
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 69992F2250DFD93E
4 zmienionych plików z 31 dodań i 9 usunięć

Wyświetl plik

@ -41,7 +41,7 @@ export const getEnv = async () => {
: isPreview
? 'preview'
: branch === 'main'
? 'main'
? 'canary'
: 'release'
return { commit, branch, env } as const
}

Wyświetl plik

@ -189,16 +189,16 @@
"update": "Update",
"update_available_short": "Update Elk",
"webmanifest": {
"canary": {
"description": "A nimble Mastodon web client (canary)",
"name": "Elk (canary)",
"short_name": "Elk (canary)"
},
"dev": {
"description": "A nimble Mastodon web client (dev)",
"name": "Elk (dev)",
"short_name": "Elk (dev)"
},
"main": {
"description": "A nimble Mastodon web client (main)",
"name": "Elk (main)",
"short_name": "Elk (main)"
},
"preview": {
"description": "A nimble Mastodon web client (preview)",
"name": "Elk (preview)",

Wyświetl plik

@ -103,7 +103,7 @@
"desc_highlight": "可能会在某些地方出现一些 bug 或缺失的功能。",
"desc_para1": "感谢你有兴趣尝试鹿鸣,一个我们正在积极开发的通用 Mastodon 客户端。",
"desc_para2": "我们正在努力开发中,并随着时间的推移不断完善。鹿鸣将很快开源,并邀请您参与进来!",
"desc_para3": "为了帮助促进开发,你可以通过以下链接赞助我们的团队成员。希望你喜欢 Elk",
"desc_para3": "为了帮助促进开发,你可以通过以下链接赞助我们的团队成员。希望你喜欢鹿鸣",
"desc_para4": "在此之前,如果你愿意帮助测试、提供反馈或作出贡献,",
"desc_para5": "在 Mastodon 上联系我们",
"desc_para6": "来参与其中。",
@ -178,7 +178,29 @@
"dismiss": "忽略",
"title": "鹿鸣存在新的更新",
"update": "更新",
"update_available_short": "更新鹿鸣"
"update_available_short": "更新鹿鸣",
"webmanifest": {
"canary": {
"description": "用 🧡 制作的 Mastodon 客户端Canary",
"name": "鹿鸣Canary",
"short_name": "鹿鸣Canary"
},
"dev": {
"description": "用 🧡 制作的 Mastodon 客户端(开发版)",
"name": "鹿鸣 开发版",
"short_name": "鹿鸣 开发版"
},
"preview": {
"description": "用 🧡 制作的 Mastodon 客户端(预览版)",
"name": "鹿鸣(预览版)",
"short_name": "鹿鸣(预览版)"
},
"release": {
"description": "用 🧡 制作的 Mastodon 客户端",
"name": "鹿鸣",
"short_name": "鹿鸣"
}
}
},
"search": {
"search_desc": "搜索用户或话题标签"

Wyświetl plik

@ -70,7 +70,7 @@ export interface BuildInfo {
commit: string
time: number
branch: string
env: 'preview' | 'main' | 'dev' | 'release'
env: 'preview' | 'canary' | 'dev' | 'release'
}
export type FontSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'