aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/zh-cn/books/handbook/l10n/_index.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/content/zh-cn/books/handbook/l10n/_index.adoc')
-rw-r--r--documentation/content/zh-cn/books/handbook/l10n/_index.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/content/zh-cn/books/handbook/l10n/_index.adoc b/documentation/content/zh-cn/books/handbook/l10n/_index.adoc
index 48730f03dc..40779fdf31 100644
--- a/documentation/content/zh-cn/books/handbook/l10n/_index.adoc
+++ b/documentation/content/zh-cn/books/handbook/l10n/_index.adoc
@@ -212,7 +212,7 @@ german|German Users Accounts:\
在修改用户的登入类型之前, 应首先执行下面的命令:
-[source,bash]
+[source,shell]
....
# cap_mkdb /etc/login.conf
....
@@ -235,14 +235,14 @@ user:password:1111:11:language:0:0:User Name:/home/user:/bin/sh
* 在[.filename]##/etc/adduser.conf##里面设置``defaultclass = 语言``。应该记住,您必须为使用其它语言的所有用户设置 ``缺省``类别。
* 每一次使用man:adduser[8]的时候,一个特定语言的可选择性回答会像下面这样给出:
+
-[source,bash]
+[source,shell]
....
Enter login class: default []:
....
* 如果您打算给每一个用户使用另外一种语言,您应该这样:
+
-[source,bash]
+[source,shell]
....
# adduser -class language
....
@@ -251,7 +251,7 @@ Enter login class: default []:
如果您使用man:pw[8]来添加新用户,应该这样使用:
-[source,bash]
+[source,shell]
....
# pw useradd user_name -L language
....