tree-wide: s/home/home area/g
"home" is okay-ish in English, but rather awkward in many other languages. For example, even before this change, in fr.po we had "un espace personnel" as the translation everywhere. Let's use a less overloaded term. Fixes #14789.
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
|
||||
bool suitable_user_name(const char *name) {
|
||||
|
||||
/* Checks whether the specified name is suitable for management via homed. Note that client-side we
|
||||
* usually validate with the simple valid_user_group_name(), while server-side we are a bit more
|
||||
/* Checks whether the specified name is suitable for management via home aread. Note that client-side
|
||||
* we usually validate with the simple valid_user_group_name(), while server-side we are a bit more
|
||||
* restrictive, so that we can change the rules server-side without having to update things
|
||||
* client-side too. */
|
||||
|
||||
|
||||
+5
-5
@@ -2268,11 +2268,11 @@ static int help(int argc, char *argv[], void *userdata) {
|
||||
" deactivate USER… Deactivate home\n"
|
||||
" inspect USER… Inspect home\n"
|
||||
" authenticate USER… Authenticate home\n"
|
||||
" create USER Create a home\n"
|
||||
" remove USER… Remove a home\n"
|
||||
" update USER Update a home\n"
|
||||
" passwd USER Change password of a home\n"
|
||||
" resize USER SIZE Resize a home\n"
|
||||
" create USER Create a home area\n"
|
||||
" remove USER… Remove a home area\n"
|
||||
" update USER Update a home area\n"
|
||||
" passwd USER Change password of a home area\n"
|
||||
" resize USER SIZE Resize a home area\n"
|
||||
" lock USER… Temporarily lock an active home\n"
|
||||
" unlock USER… Unlock a temporarily locked home\n"
|
||||
" lock-all Lock all suitable homes\n"
|
||||
|
||||
@@ -100,7 +100,7 @@ struct Home {
|
||||
/* Stores the raw, plaintext passwords, but only for short periods of time */
|
||||
UserRecord *secret;
|
||||
|
||||
/* When we create a home and that fails, we should possibly unregister the record altogether
|
||||
/* When we create a home area and that fails, we should possibly unregister the record altogether
|
||||
* again, which is remembered in this boolean. */
|
||||
bool unregister_on_failure;
|
||||
|
||||
|
||||
@@ -611,8 +611,8 @@ const sd_bus_vtable manager_vtable[] = {
|
||||
SD_BUS_METHOD("GetUserRecordByUID", "u", "sbo", method_get_user_record_by_uid, SD_BUS_VTABLE_UNPRIVILEGED|SD_BUS_VTABLE_SENSITIVE),
|
||||
SD_BUS_METHOD("ListHomes", NULL, "a(susussso)", method_list_homes, SD_BUS_VTABLE_UNPRIVILEGED),
|
||||
|
||||
/* The following methods directly execute an operation on a home, without ref-counting, queing or
|
||||
* anything, and are accessible through homectl. */
|
||||
/* The following methods directly execute an operation on a home area, without ref-counting, queing
|
||||
* or anything, and are accessible through homectl. */
|
||||
SD_BUS_METHOD("ActivateHome", "ss", NULL, method_activate_home, SD_BUS_VTABLE_SENSITIVE),
|
||||
SD_BUS_METHOD("DeactivateHome", "s", NULL, method_deactivate_home, 0),
|
||||
SD_BUS_METHOD("RegisterHome", "s", NULL, method_register_home, SD_BUS_VTABLE_UNPRIVILEGED), /* Add JSON record to homed, but don't create actual $HOME */
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
|
||||
|
||||
<action id="org.freedesktop.home1.create-home">
|
||||
<description gettext-domain="systemd">Create a home</description>
|
||||
<message gettext-domain="systemd">Authentication is required for creating a user's home.</message>
|
||||
<description gettext-domain="systemd">Create a home area</description>
|
||||
<message gettext-domain="systemd">Authentication is required for creating a user's home area.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
@@ -20,8 +20,8 @@
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.home1.remove-home">
|
||||
<description gettext-domain="systemd">Remove a home</description>
|
||||
<message gettext-domain="systemd">Authentication is required for removing a user's home.</message>
|
||||
<description gettext-domain="systemd">Remove a home area</description>
|
||||
<message gettext-domain="systemd">Authentication is required for removing a user's home area.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
@@ -30,8 +30,8 @@
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.home1.authenticate-home">
|
||||
<description gettext-domain="systemd">Check credentials of a home</description>
|
||||
<message gettext-domain="systemd">Authentication is required for checking credentials against a user's home.</message>
|
||||
<description gettext-domain="systemd">Check credentials of a home area</description>
|
||||
<message gettext-domain="systemd">Authentication is required for checking credentials against a user's home area.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
@@ -40,8 +40,8 @@
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.home1.update-home">
|
||||
<description gettext-domain="systemd">Update a home</description>
|
||||
<message gettext-domain="systemd">Authentication is required for updating a user's home.</message>
|
||||
<description gettext-domain="systemd">Update a home area</description>
|
||||
<message gettext-domain="systemd">Authentication is required for updating a user's home area.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
@@ -50,8 +50,8 @@
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.home1.resize-home">
|
||||
<description gettext-domain="systemd">Resize a home</description>
|
||||
<message gettext-domain="systemd">Authentication is required for resizing a user's home.</message>
|
||||
<description gettext-domain="systemd">Resize a home area</description>
|
||||
<message gettext-domain="systemd">Authentication is required for resizing a user's home area.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
@@ -60,8 +60,8 @@
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.home1.passwd-home">
|
||||
<description gettext-domain="systemd">Change password of a home</description>
|
||||
<message gettext-domain="systemd">Authentication is required for changing the password of a user's home.</message>
|
||||
<description gettext-domain="systemd">Change password of a home area</description>
|
||||
<message gettext-domain="systemd">Authentication is required for changing the password of a user's home area.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
|
||||
Reference in New Issue
Block a user