translate more comments

This commit is contained in:
Johann150 2023-05-19 00:21:47 +02:00
parent 85a392ee33
commit d6452795b0
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ export async function exportCustomEmojis(job: Bull.Job, done: () => void): Promi
try {
await downloadUrl(emoji.originalUrl, emojiPath);
downloaded = true;
} catch (e) { // TODO: 何度か再試行
} catch (e) { // TODO: retry
logger.error(e instanceof Error ? e : new Error(e as string));
}

View file

@ -49,7 +49,7 @@ export default async function(ctx: Koa.Context) {
const isWebpublic = file.webpublicAccessKey === key;
if (!file.storedInternal) {
if (file.isLink && file.uri) { // 期限切れリモートファイル
if (file.isLink && file.uri) { // expired remote file
const [path, cleanup] = await createTemp();
try {