--- trunk/reactos/lib/aclui/aclui.c 2006-01-12 00:13:45 UTC (rev 20796)
+++ trunk/reactos/lib/aclui/aclui.c 2006-01-12 00:19:35 UTC (rev 20797)
@@ -342,6 +342,27 @@
return lpDisplayString;
}
+static LPWSTR
+GetPrincipalAccountNameString(IN PPRINCIPAL_LISTITEM PrincipalListItem)
+{
+ LPWSTR lpDisplayString = NULL;
+
+ if (PrincipalListItem->SidReqResult != NULL)
+ {
+ LoadAndFormatString(hDllInstance,
+ IDS_USERFORMAT,
+ &lpDisplayString,
+ PrincipalListItem->SidReqResult->AccountName);
+ }
+ else
+ {
+ ConvertSidToStringSid((PSID)(PrincipalListItem + 1),
+ &lpDisplayString);
+ }
+
+ return lpDisplayString;
+}
+
static VOID
CreatePrincipalListItem(OUT LVITEM *li,
IN PSECURITY_PAGE sp,
@@ -543,7 +564,7 @@
LPWSTR szLabel;
LPWSTR szDisplayString;
- szDisplayString = GetPrincipalDisplayString(Selected);
+ szDisplayString = GetPrincipalAccountNameString(Selected);
if (LoadAndFormatString(hDllInstance,
IDS_PERMISSIONS_FOR,
&szLabel,
--- trunk/reactos/lib/aclui/aclui_Hu.rc 2006-01-12 00:13:45 UTC (rev 20796)
+++ trunk/reactos/lib/aclui/aclui_Hu.rc 2006-01-12 00:19:35 UTC (rev 20797)
@@ -1,35 +1,35 @@
-/*
- * Hungarian resources for aclui
- *
- * Copyright 2005 Robert Horvath - Hungarian translation - talley at cubeclub.hu
-*/
-LANGUAGE LANG_HUNGARIAN, SUBLANG_NEUTRAL
-
-IDD_SECPAGE DIALOGEX 0, 0, 227, 215
-STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE | WS_CAPTION
-CAPTION "Biztonsßg"
-FONT 8, "MS Shell Dlg", 0, 0, 0x0
-BEGIN
- LTEXT "&Csoport vagy felhasznßl¾ nevek:", -1, 7, 7, 105, 8
- CONTROL "", IDC_PRINCIPALS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 7, 17, 213, 66, WS_EX_NOPARENTNOTIFY | WS_EX_CLIENTEDGE
- PUSHBUTTON "H&ozzßadßs...", IDC_ADD_PRINCIPAL, 116, 87, 50, 14
- PUSHBUTTON "&T÷rlÚs", IDC_REMOVE_PRINCIPAL, 170, 87, 50, 14
- LTEXT "", IDC_LABEL_PERMISSIONS_FOR, 7, 107, 105, 8, SS_LEFT | SS_NOPREFIX
- LTEXT "EngedÚlyez", IDC_LABEL_ALLOW, 135, 107, 32, 8, SS_CENTER
- LTEXT "Tiltßs", IDC_LABEL_DENY, 176, 107, 32, 8, SS_CENTER
- CONTROL "", IDC_ACE_CHECKLIST, "CHECKLIST_ACLUI", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 117, 213, 72, WS_EX_CLIENTEDGE
- LTEXT "Tovßbbi beßllÝtßsok megtekintÚsÚhez kattints a Tovßbbi beßllÝtßsok gombra.", IDC_LABEL_ADVANCED, 7, 194, 153, 16, SS_LEFT
- PUSHBUTTON "&Tovßbbi beßllÝtßsok", IDC_ADVANCED, 165, 194, 55, 14
-END
-
-STRINGTABLE DISCARDABLE
-{
- IDS_PSP_TITLE "%1 engedÚlye"
- IDS_UNKNOWN "Ismeretlen"
- IDS_SPECIAL_PERMISSIONS "K³l÷nleges engedÚlyek"
- IDS_PERMISSIONS_FOR "%1 engedÚlye"
- IDS_PERMISSIONS "EngedÚlyek"
- IDS_USERDOMAINFORMAT "%1 (%2\\%3)"
- IDS_USERFORMAT "%1"
-}
-
+/*
+ * Hungarian resources for aclui
+ *
+ * Copyright 2005 Robert Horvath - Hungarian translation - talley at cubeclub.hu
+*/
+LANGUAGE LANG_HUNGARIAN, SUBLANG_NEUTRAL
+
+IDD_SECPAGE DIALOGEX 0, 0, 227, 215
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE | WS_CAPTION
+CAPTION "Biztonsßg"
+FONT 8, "MS Shell Dlg", 0, 0, 0x0
+BEGIN
+ LTEXT "&Csoport vagy felhasznßl¾ nevek:", -1, 7, 7, 105, 8
+ CONTROL "", IDC_PRINCIPALS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 7, 17, 213, 66, WS_EX_NOPARENTNOTIFY | WS_EX_CLIENTEDGE
+ PUSHBUTTON "H&ozzßadßs...", IDC_ADD_PRINCIPAL, 116, 87, 50, 14
+ PUSHBUTTON "&T÷rlÚs", IDC_REMOVE_PRINCIPAL, 170, 87, 50, 14
+ LTEXT "", IDC_LABEL_PERMISSIONS_FOR, 7, 107, 105, 8, SS_LEFT | SS_NOPREFIX
+ LTEXT "EngedÚlyez", IDC_LABEL_ALLOW, 135, 107, 32, 8, SS_CENTER
+ LTEXT "Tiltßs", IDC_LABEL_DENY, 176, 107, 32, 8, SS_CENTER
+ CONTROL "", IDC_ACE_CHECKLIST, "CHECKLIST_ACLUI", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 117, 213, 72, WS_EX_CLIENTEDGE
+ LTEXT "Tovßbbi beßllÝtßsok megtekintÚsÚhez kattints a Tovßbbi beßllÝtßsok gombra.", IDC_LABEL_ADVANCED, 7, 194, 153, 16, SS_LEFT
+ PUSHBUTTON "&Tovßbbi beßllÝtßsok", IDC_ADVANCED, 165, 194, 55, 14
+END
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_PSP_TITLE "%1 engedÚlye"
+ IDS_UNKNOWN "Ismeretlen"
+ IDS_SPECIAL_PERMISSIONS "K³l÷nleges engedÚlyek"
+ IDS_PERMISSIONS_FOR "%1 engedÚlye"
+ IDS_PERMISSIONS "EngedÚlyek"
+ IDS_USERDOMAINFORMAT "%1 (%2\\%3)"
+ IDS_USERFORMAT "%1"
+}
+
Property changes on: trunk/reactos/lib/aclui/aclui_Hu.rc
___________________________________________________________________
Name: svn:eol-style
+ native