www-zh-cn-translators
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [task #16441] Translate philosophy/kind-communication.html


From: Jing Luo
Subject: Re: [task #16441] Translate philosophy/kind-communication.html
Date: Sat, 28 Oct 2023 16:59:18 +0900



On 2023-10-28 15:53, Wensheng Xie wrote:

恭喜。这个学习是值得的。
1. po-mode需要安装:gettext-po.el
2. 长行的处理参考:https://www.gnu.org/software/trans-coord/manual/gnun/html_node/PO-Files.html#PO-Files
3. .emacs 需要加上:(包括2中的 po-wrap)
  ;; PO-mode long lines
  (require 'po-mode)

  (defun wxie/setup-po-subedit ()
    (visual-line-mode 1)
    (auto-fill-mode -1))

  (add-hook 'po-subedit-mode-hook 'wxie/setup-po-subedit)
  (add-hook 'po-subedit-exit-hook 'auto-fill-mode-on)

你看下长行还有问题吗?


无问题! Thanks!
kind-communication.html rev 1.5: update formatting

PS: pacman-based distro 无需另外安装gettext-po.el,
gettext 本身 required by `base`, `grub`, `pacman`, 所以我当时安装了emacs直接就有po mode :)

--
Jing Luo
About me: https://jing.rocks/about/
PGP Fingerprint: 4E09 8D19 00AA 3F72 1899 2614 09B3 316E 13A1 1EFC



reply via email to

[Prev in Thread] Current Thread [Next in Thread]