Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

New Translations #1116

Merged
merged 2 commits into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/photos/public/locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
"UPLOAD_TO_COLLECTION": "上传至相册",
"UNCATEGORIZED": "未分类的",
"ARCHIVE": "存档",
"FAVORITES": "",
"FAVORITES": "收藏",
"ARCHIVE_COLLECTION": "存档相册",
"ARCHIVE_SECTION_NAME": "存档",
"ALL_SECTION_NAME": "全部",
Expand Down
10 changes: 5 additions & 5 deletions apps/photos/src/utils/ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ export const getUpdateReadyToInstallMessage = (
icon: <AutoAwesomeOutlinedIcon />,
title: t('UPDATE_AVAILABLE'),
content: t('UPDATE_INSTALLABLE_MESSAGE'),
proceed: {
action: () => ElectronUpdateService.updateAndRestart(),
text: t('INSTALL_NOW'),
variant: 'accent',
},
close: {
text: t('INSTALL_ON_NEXT_LAUNCH'),
variant: 'secondary',
action: () => ElectronUpdateService.updateAndRestart(),
},
proceed: {
action: () =>
ElectronUpdateService.muteUpdateNotification(updateInfo.version),
text: t('INSTALL_NOW'),
variant: 'accent',
},
});

Expand Down