[gnome-system-tools] Improve a few strings
- From: Milan Bouchet-Valat <milanbv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-system-tools] Improve a few strings
- Date: Sun, 13 Dec 2009 20:42:56 +0000 (UTC)
commit 249506d49e5a77669265eca09b639f28ed9de39b
Author: Milan Bouchet-Valat <nalimilan club fr>
Date: Sat Dec 12 13:17:25 2009 +0100
Improve a few strings
Remove masculine pronoun in the disabled UID notice. Correctly name "Advanced Settings" the dialog allowing to customize profiles, and mark its name in italic. Consistently show "Changing user" at the top of edit dialogs (affects the account type dialog). Name "root" the superuser, instead of "administrator", which could be confusing.
interfaces/users.ui | 7 ++++---
src/users/user-settings.c | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/interfaces/users.ui b/interfaces/users.ui
index 063baa8..f1d7ae7 100644
--- a/interfaces/users.ui
+++ b/interfaces/users.ui
@@ -2171,7 +2171,7 @@
<object class="GtkLabel" id="label138">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Changing account type for:</property>
+ <property name="label" translatable="yes">Changing user account type for:</property>
<property name="track_visited_links">False</property>
<attributes>
<attribute name="size" value="12000"/>
@@ -2225,7 +2225,8 @@
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="xpad">16</property>
- <property name="label" translatable="yes">This account is using special settings that have been defined manually. Use the Advanced dialog to tune them.</property>
+ <property name="label" translatable="yes">This account is using special settings that have been defined manually. Use the <i>Advanced Settings</i> dialog to tune them.</property>
+ <property name="use_markup">True</property>
<property name="wrap">True</property>
<attributes>
<attribute name="size" value="9500"/>
@@ -2907,7 +2908,7 @@
<object class="GtkLabel" id="label256">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">User must log out before you can change his ID.</property>
+ <property name="label" translatable="yes">You can't change user ID while the user is logged in.</property>
<property name="wrap">True</property>
<attributes>
<attribute name="style" value="italic"/>
diff --git a/src/users/user-settings.c b/src/users/user-settings.c
index 278fabe..2f7980e 100644
--- a/src/users/user-settings.c
+++ b/src/users/user-settings.c
@@ -560,7 +560,7 @@ check_uid (gchar **primary_text, gchar **secondary_text, gpointer data)
uid_user = oobs_users_config_get_from_uid (config, uid);
if (oobs_user_is_root (user) && uid != 0) {
- *primary_text = g_strdup (_("Administrator account's user ID should not be modified"));
+ *primary_text = g_strdup (_("ID for the root user should not be modified"));
*secondary_text = g_strdup (_("This would leave the system unusable."));
}
else if (uid_user) { /* check that UID is free */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]