Page MenuHome GnuPG

po: Update Simplified Chinese Translation.
AcceptedPublic

Authored by bobwxc on Apr 13 2022, 4:13 PM.

Details

Test Plan

Only .po file update and checked by Poedit.

Diff Detail

Repository
rG GnuPG
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

bobwxc created this revision.
po/zh_CN.po
1452

Context here is that, some number specified by a user is round up to some bits, like 1024, 2048, etc. so that it can make more sense for underlining cipher/hash algorithm.

In usual human calculation, we have 四舍五入. 1024 or 2048 things are computer things.

po/zh_CN.po
1452

I refer to the Chinese document on hash algorithm, there are two operations:

  1. fill some bits at the tail (for example, sha256 needs ((bits length) Mod 512) = 448) - 填充
  2. and divide the fixed data into small pieces (for example, sha256 needs 1024-bit block) - 分组

And another adjective, if total length is a multiple of N bits, we can use 对齐(aligned、整列) to describe it.

舍入 is usually not used in bits operations.

Thanks for your explanation.

Here, the semantics is "round up", not "fill" nor "align"; It is exactly same as we do real number 1.7320508 rounds up to integer 2, when it is needed to be integer . Or, when we only need three significant digits for calculation, pi=3.14159... is rounded down to 3.14.

In computer, binary representation is used (generally), binary digits 0110 1110 (hex value 6e, 110) is rounded up to 1000 0000 (hex value 80, 128), when only one significant binary digit (bit) is required.
https://en.wikipedia.org/wiki/Rounding

Thanks, good explanation!
It is hard to find a word for exact description.
Thus just keep the original verb and add 比特 to confirm 位 is binary bits.

This revision is now accepted and ready to land.Apr 21 2022, 6:29 AM