Skip to content

Commit

Permalink
fix a missing space in en translation
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Jul 18, 2024
1 parent 5ff2e34 commit 39ae7e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lilac2/l10n/en/mail.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ packaging-error-aur-subject = Error retrieving AUR package
packaging-error-aur = Failed to retrieve AUR package!
packaging-error-timeout-subject = Timeout when packaging %s
packaging-error-unknown-subject = Unknown error when packaging %s
packaging-error-unknown = An unknown error happened!
packaging-error-unknown = An unknown error happened! Traceback:
packaging-log = Packaging log:
lilac-yaml-loadding-error = Failed to load lilac.yaml for %s
Expand Down
5 changes: 3 additions & 2 deletions lilac2/l10n/zh_CN/mail.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,19 @@ unsupported-maintainer-info = 不支持的格式:{ $info }
maintainers-error-subject = { $pkg } 的 maintainers 信息有误
maintainers-error-body = 以下 maintainers 信息有误,请修正。
-traceback-follows = 调用栈如下:
packaging-error-subprocess-subject = 在打包软件包 %s 时发生错误
packaging-error-subprocess =
命令执行失败!
命令 { $cmd } 返回了错误号 { $returncode }
packaging-error-subprocess-output = 命令的输出如下:
packaging-error-traceback = 调用栈如下:
packaging-error-traceback = { -traceback-follows }
packaging-error-aur-subject = 在获取AUR包 %s 时发生错误
packaging-error-aur = 获取AUR包失败!
packaging-error-timeout-subject = 打包软件包 %s 超时
packaging-error-unknown-subject = 在打包软件包 %s 时发生未知错误
packaging-error-unknown = 发生未知错误!
packaging-error-unknown = 发生未知错误!{ -traceback-follows }
packaging-log = 打包日志:
lilac-yaml-loadding-error = 为软件包 %s 载入 lilac.yaml 时失败
Expand Down
2 changes: 1 addition & 1 deletion lilac2/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def send_error_report(
subject_real = subject or l10n.format_value('packaging-error-timeout-subject')
else:
subject_real = subject or l10n.format_value('packaging-error-unknown-subject')
msg1 = l10n.format_value('packaging-error-unknown') + l10n.format_value('packaging-error-traceback')
msg1 = l10n.format_value('packaging-error-unknown')
msgs.append(msg1 + '\n\n' + tb)
else:
if subject is None:
Expand Down

0 comments on commit 39ae7e6

Please sign in to comment.