下面这段文字中的 Pretty 应该是有其他含义的:
2.3.2.4. Hostname configuration moved from /etc/sysconfig/network to /etc/hostname There are now three seperate classes of hostnames in use on a given system. The pretty hostname is the high level hostname often presented to users by their desktop environment or shell. The static hostname is used by the kernel at boot, and is usually the system's fully qualified domain name. A system may also have a transient hostname assigned by a dhcp server. hostnamectl is provided for administering these hostnames:
当前的简中翻译将 Pretty 直译为 漂亮:
目前在给定系统中存在有三种独立的主机名。漂亮 主机名级别最高,通常根据用 户的桌面环境和 shell 呈现给用户。静态主机名在引导时由内核使用,而且它一 般是系统的完全合格域名。系统中可能还有临时主机名,它由 dhcp 服务器分配。 hostnamectl 用于这些主机名的管理:
个人觉得这里直译的读起来上下文相当怪异,建议采取意译的方式处理。具体用什么,需要诸位朋友集思广益。
我先来提一个吧:本机名。 理由:这个 pretty 主机名主要是由桌面环境使用,估计选择用这种方式查阅主机名的用户只是想知道计算机叫啥而已,于是参照其他桌面环境对于主机名的描述。不过又要跟主机名做些区分。
On 12/06/2012 05:32 PM, Tommy He wrote:
下面这段文字中的 Pretty 应该是有其他含义的:
2.3.2.4. Hostname configuration moved from /etc/sysconfig/network to /etc/hostname There are now three seperate classes of hostnames in use on a given system. The pretty hostname is the high level hostname often presented to users by their desktop environment or shell. The static hostname is used by the kernel at boot, and is usually the system's fully qualified domain name. A system may also have a transient hostname assigned by a dhcp server. hostnamectl is provided for administering these hostnames:
当前的简中翻译将 Pretty 直译为 漂亮:
不知道搞什么,我原来的翻译是 pretty 保留了原文。结果都被改成漂亮了。 还有 Desktop 其中的一些也是,我实在搞不明白为什么换掉没问题的翻译。
对不起,这个是我翻的。我想起来有一个单词,我一直有点疑惑,就是 context,现在,这个词都会翻成“上下文”,但我觉得像又不是文章,为什么要用这个来翻? 在 2012-12-06 19:09:40,Tiansworld tiansworld@fedoraproject.org 写道:
On 12/06/2012 05:32 PM, Tommy He wrote:
下面这段文字中的 Pretty 应该是有其他含义的:
2.3.2.4. Hostname configuration moved from /etc/sysconfig/network to /etc/hostname There are now three seperate classes of hostnames in use on a given system. The pretty hostname is the high level hostname often presented to users by their desktop environment or shell. The static hostname is used by the kernel at boot, and is usually the system's fully qualified domain name. A system may also have a transient hostname assigned by a dhcp server. hostnamectl is provided for administering these hostnames:
当前的简中翻译将 Pretty 直译为 漂亮:
不知道搞什么,我原来的翻译是 pretty 保留了原文。结果都被改成漂亮了。 还有 Desktop 其中的一些也是,我实在搞不明白为什么换掉没问题的翻译。
-- Regards,
Tiansworld Fedora Project Contributor -- trans-zh_cn mailing list trans-zh_cn@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/trans-zh_cn
On Thu, 6 Dec 2012 19:24:15 +0800 (CST), chenhuan.gt wrote:
对不起,这个是我翻的。我想起来有一个单词,我一直有点疑惑,就是 context,现在,这个词都会翻成“上下文”,但我觉得像又不是文章,为什么要用这个来翻?
请给出 context 这个词所处的上下文? :D
PS:新问题最好单独发问,不要在其他主题下歪楼。
要不问问这个doc的英文版负责人?
如果要意译的话,叫“自定义主机名”如何? 在 2012-12-06 19:09:40,Tiansworld tiansworld@fedoraproject.org 写道:
On 12/06/2012 05:32 PM, Tommy He wrote:
下面这段文字中的 Pretty 应该是有其他含义的:
2.3.2.4. Hostname configuration moved from /etc/sysconfig/network to /etc/hostname There are now three seperate classes of hostnames in use on a given system. The pretty hostname is the high level hostname often presented to users by their desktop environment or shell. The static hostname is used by the kernel at boot, and is usually the system's fully qualified domain name. A system may also have a transient hostname assigned by a dhcp server. hostnamectl is provided for administering these hostnames:
当前的简中翻译将 Pretty 直译为 漂亮:
不知道搞什么,我原来的翻译是 pretty 保留了原文。结果都被改成漂亮了。 还有 Desktop 其中的一些也是,我实在搞不明白为什么换掉没问题的翻译。
-- Regards,
Tiansworld Fedora Project Contributor -- trans-zh_cn mailing list trans-zh_cn@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/trans-zh_cn
On Thu, 6 Dec 2012 17:32:23 +0800, Tommy He wrote:
下面这段文字中的 Pretty 应该是有其他含义的:
2.3.2.4. Hostname configuration moved from /etc/sysconfig/network to /etc/hostname There are now three seperate classes of hostnames in use on a given system. The pretty hostname is the high level hostname often presented to users by their desktop environment or shell. The static hostname is used by the kernel at boot, and is usually the system's fully qualified domain name. A system may also have a transient hostname assigned by a dhcp server. hostnamectl is provided for administering these hostnames:
似乎有些这个意思:(参考[1])
* pretty: Alick's Computer 桌面环境友好型 * static: alick-computer 命令行友好型
感觉 Windows/Mac 上有类似的东西吧,那里如何称呼的?
[1] http://www.freedesktop.org/wiki/Software/systemd/hostnamed
On Thu, 06 Dec 2012 20:48:55 +0800, Alick Zhao wrote:
On Thu, 6 Dec 2012 17:32:23 +0800, Tommy He wrote:
下面这段文字中的 Pretty 应该是有其他含义的:
2.3.2.4. Hostname configuration moved from /etc/sysconfig/network to /etc/hostname There are now three seperate classes of hostnames in use on a given system. The pretty hostname is the high level hostname often presented to users by their desktop environment or shell. The static hostname is used by the kernel at boot, and is usually the system's fully qualified domain name. A system may also have a transient hostname assigned by a dhcp server. hostnamectl is provided for administering these hostnames:
似乎有些这个意思:(参考[1])
- pretty: Alick's Computer 桌面环境友好型
- static: alick-computer 命令行友好型
感觉 Windows/Mac 上有类似的东西吧,那里如何称呼的?
嗯,我好事地找了找:
Windows 有 计算机名 和 计算机全名 和 NetBIOS 名, 最后一个是本地网络上看到的名字。奇怪的是计算机全名不能修改,而 计算机名可以修改(我看的是 server2008,不清楚 vista/7 如何)。 另外还有个 描述字段。Anyway Windows 很奇怪。
Mac 有三个:ComputerName, LocalHostName, HostName (计算机名、本地主机名、主机名)。 ComputerName 对应 pretty,LocalHostName 类似 NetBIOS 那个用于局域网, HostName 对应经典的 hostname,一般建议为 FQDN。
总之,我提议 pretty hostname 翻译成“计算机名”。 (虽然之前我想过 桌面主机名、显示主机名……)
最后,最好有人写个博客或维基,解释一下这几个名字,毕竟在 Linux 世界 这个还比较新。
我在 [1] 找到了一些解释。 The static (configured) host name is the one configured in /etc/hostname or a similar file. It is chosen by the local user. It is not always in sync with the current host name as returned by the gethostname() system call. If no host name is configured this property will be the empty string. Setting this property to the empty string will remove /etc/hostname. This hostname should be an internet-style hostname, 7bit ASCII, no special chars/spaces, lower case.
The transient (dynamic) host name is the one configured via the kernel's sethostbyname(). It can be different from the static hostname in case DHCP or mDNS have been configured to change the name based on network information. This property is never empty. If no host name is set this will default to "localhost". Setting this property to the empty string will reset the dynamic hostname to the static host name. If no static host name is configured the dynamic host name will be reset to "localhost". This hostname should be an internet-style hostname, 7bit ASCII, no special chars/spaces, lower case.
The pretty host name is a free-form UTF8 host name for presentation to the user. UIs should ensure that the pretty hostname and the static hostname stay in sync. i.e. when the former is "Lennart's Computer" the latter should be "lennarts-computer". If no pretty host name is set this setting will be the empty string. Applications should then find a suitable fallback, such as the dynamic hostname.
我觉得之所以用 pretty,大概是因为它的特点,它可以使用任何 UTF8 的字符。
要不要把它叫做 “名义主机名”?
找不到合适的词前,保留原文最好不过。
[1] http://www.freedesktop.org/wiki/Software/systemd/hostnamed
On 12/06/2012 09:12 PM, Alick Zhao wrote:
嗯,我好事地找了找:
Mac 有三个:ComputerName, LocalHostName, HostName (计算机名、本地主机名、主机名)。 ComputerName 对应 pretty,LocalHostName 类似 NetBIOS 那个用于局域网, HostName 对应经典的 hostname,一般建议为 FQDN。
根据刚才找到的介绍[1],我觉得 计算机名应该是 pretty hostname 本地主机名应该是 dynamic hostname 主机名应该是 statistic hostname
[1] http://www.freedesktop.org/wiki/Software/systemd/hostnamed
计算机名 +1
2012/12/8 Tiansworld tiansworld@fedoraproject.org:
On 12/06/2012 09:12 PM, Alick Zhao wrote:
嗯,我好事地找了找:
Mac 有三个:ComputerName, LocalHostName, HostName (计算机名、本地主机名、主机名)。 ComputerName 对应 pretty,LocalHostName 类似 NetBIOS 那个用于局域网, HostName 对应经典的 hostname,一般建议为 FQDN。
根据刚才找到的介绍[1],我觉得 计算机名应该是 pretty hostname 本地主机名应该是 dynamic hostname 主机名应该是 statistic hostname
[1] http://www.freedesktop.org/wiki/Software/systemd/hostnamed
Regards,
Tiansworld Fedora Project Contributor -- trans-zh_cn mailing list trans-zh_cn@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/trans-zh_cn
或者“计算机名字”?
2012/12/10 Tommy He lovenemesis@fedoraproject.org
计算机名 +1
2012/12/8 Tiansworld tiansworld@fedoraproject.org:
On 12/06/2012 09:12 PM, Alick Zhao wrote:
嗯,我好事地找了找:
Mac 有三个:ComputerName, LocalHostName, HostName (计算机名、本地主机名、主机名)。 ComputerName 对应 pretty,LocalHostName 类似 NetBIOS 那个用于局域网, HostName 对应经典的 hostname,一般建议为 FQDN。
根据刚才找到的介绍[1],我觉得 计算机名应该是 pretty hostname 本地主机名应该是 dynamic hostname 主机名应该是 statistic hostname
[1] http://www.freedesktop.org/wiki/Software/systemd/hostnamed
Regards,
Tiansworld Fedora Project Contributor -- trans-zh_cn mailing list trans-zh_cn@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/trans-zh_cn
-- Take a Deep Breath out of Windows
https://fedoraproject.org/wiki/User:Lovenemesis
trans-zh_cn mailing list trans-zh_cn@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/trans-zh_cn
不是 statistic name,是 static name 2012-12-8 下午7:17 於 "Tiansworld" tiansworld@fedoraproject.org �道:
On 12/06/2012 09:12 PM, Alick Zhao wrote:
嗯,我好事地找了找:
Mac 有三个:ComputerName, LocalHostName, HostName
(计算机名、本地主机名、主机名)。 ComputerName 对应 pretty,LocalHostName 类似 NetBIOS 那个用于局域网, HostName 对应经典的 hostname,一般建议为 FQDN。
根据刚才找到的介绍[1],我觉得
计算机名应该是 pretty hostname 本地主机名应该是 dynamic hostname 主机名应该是 statistic hostname
[1] http://www.freedesktop.org/**wiki/Software/systemd/**hostnamedhttp://www.freedesktop.org/wiki/Software/systemd/hostnamed
Regards,
Tiansworld Fedora Project Contributor -- trans-zh_cn mailing list trans-zh_cn@lists.**fedoraproject.orgtrans-zh_cn@lists.fedoraproject.org https://admin.fedoraproject.**org/mailman/listinfo/trans-zh_**cnhttps://admin.fedoraproject.org/mailman/listinfo/trans-zh_cn
trans-zh_cn@lists.fedoraproject.org