Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#59180 - Chinese translation for "No database errors have been found!" is misleading

Attached to Project: Pacman
Opened by Sheng Yang (yangsheng6810) - Friday, 29 June 2018, 02:28 GMT
Last edited by Allan McRae (Allan) - Tuesday, 05 November 2019, 07:41 GMT
Task Type Bug Report
Category i18n & l10n
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:
Recently, after some upgration with `pacman -Syu`, pacman will output "No database errors have been found!" before returning to terminal. This sentence is super clear in English. However, in Chinese locale (zh_CN.UTF-8), this is translated to "找不到数据库错误!". Though this can mean what it is intended, it is easily misunderstood as something like "Error, cannot find database!". Not sure what other Chinese speaking Arch users think, but when I see it after an upgradation, I got the impression that something is wrong with some database missing, while pacman did successfully finished `pacman -Syu`. A better translation might be: "数据库没有错误!", or more aggressive but more meaningful translations: "数据库检查没有发现错误!", "数据库检查通过!".


Steps to Reproduce:
LANG="zh_CN.UTF_8" pacman -Syu
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 05 November 2019, 07:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  I think this is fixed...
Comment by Allan McRae (Allan) - Friday, 29 June 2018, 03:41 GMT
pacman -Syu will never output that message. It is only outputted using -Dk operations.

Using yaourt on the otherhand....
Comment by Sheng Yang (yangsheng6810) - Friday, 29 June 2018, 05:13 GMT
Maybe you are right: going over pacman's source code, I find it will only be print with when -Qk or -Dk (`pacman -Qk` does not print this message). On the other hand, yaourt do check it, even for a simple `yaourt -S <package>`.

Anyway, I think it is still confusing for `pacman -Dk` command to print this translation, it easily confusing: when checking the database, pacman complained with a message similar to "Error, cannot find database!".
Comment by Eli Schwartz (eschwartz) - Friday, 29 June 2018, 06:20 GMT
Confusing status messages that look like error messages, can be fixed by fixing the translation. Which involves joining the transifex translation team, as we don't track translations in the bugtracker.
Comment by Sheng Yang (yangsheng6810) - Friday, 29 June 2018, 06:28 GMT
Thank you for pointing me to the translation team. I have applied to join and am waiting for approval. Feel free to close this bug report.
Comment by Eli Schwartz (eschwartz) - Friday, 27 July 2018, 16:28 GMT
Hey, did you get approved for the translations team? Is the translation for [testing]/pacman 5.1.1 better?
Comment by Sheng Yang (yangsheng6810) - Friday, 27 July 2018, 18:51 GMT
Never received any approval. Just checked, and transifex somehow do not allow me to apply for Chinese (China) team.
Comment by Allan McRae (Allan) - Tuesday, 05 November 2019, 05:16 GMT
I'm going to close this on the assumed basis that this translation was updated in Transifex.

src/pacman/po/zh_CN.po-#: src/pacman/database.c:295
src/pacman/po/zh_CN.po-#, c-format
src/pacman/po/zh_CN.po:msgid "No database errors have been found!\n"
src/pacman/po/zh_CN.po-msgstr "数据库正常!\n"

Loading...