shell32: Localize 'new folder' string.

This commit is contained in:
Alexander Nicolaysen Sørnes 2007-12-06 10:20:48 +01:00 committed by Alexandre Julliard
parent 1b79da8be0
commit b259c4ae80
24 changed files with 50 additions and 3 deletions

View File

@ -208,4 +208,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documents\\My Pictures"
IDS_COMMON_VIDEO "Documents\\My Video"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -80,6 +80,8 @@ BEGIN
IDS_SHV_COLUMN7 "Ê£Óà¿Õ¼ä"
IDS_SHV_COLUMN8 "Name" /*FIXME*/
IDS_SHV_COLUMN9 "Comments" /*FIXME*/
IDS_NEWFOLDER "New Folder"
END
#pragma code_page(default)

View File

@ -186,4 +186,6 @@ BEGIN
IDS_SHV_COLUMN7 "Volné místo"
IDS_SHV_COLUMN8 "Jméno"
IDS_SHV_COLUMN9 "Komentáø"
IDS_NEWFOLDER "New Folder"
END

View File

@ -228,4 +228,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Dokumente\\Eigene Bilder"
IDS_COMMON_VIDEO "Dokumente\\Eigene Videos"
IDS_CDBURN_AREA "Lokale Einstellungen\\Anwendungsdaten\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -245,4 +245,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documents\\My Pictures"
IDS_COMMON_VIDEO "Documents\\My Videos"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -226,4 +226,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documents\\Bildoj"
IDS_COMMON_VIDEO "Documents\\Video"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -228,4 +228,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documentos\\Mis imágenes"
IDS_COMMON_VIDEO "Documentos\\Mis vídeos"
IDS_CDBURN_AREA "Configuración local\\Datos de programa\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -206,4 +206,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Dokumentit\\Omat kuvatiedostot"
IDS_COMMON_VIDEO "Dokumentit\\Omat videotiedostot"
IDS_CDBURN_AREA "Paikalliset asetukset\\Ohjelmien tiedot\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -249,4 +249,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documents\\Mes images"
IDS_COMMON_VIDEO "Documents\\Mes vidéos"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -206,4 +206,6 @@ STRINGTABLE DISCARDABLE
IDS_APPDATA "Applicazioni"
IDS_PRINTHOOD "PrintHood"
IDS_COOKIES "Cookies"
IDS_NEWFOLDER "New Folder"
}

View File

@ -138,4 +138,6 @@ BEGIN
IDS_SHV_COLUMN7 "空き容量"
IDS_SHV_COLUMN8 "Name" /*FIXME*/
IDS_SHV_COLUMN9 "Comments" /*FIXME*/
IDS_NEWFOLDER "New Folder"
END

View File

@ -248,4 +248,6 @@ IDS_COMMON_MUSIC "Documents\\My Music"
IDS_COMMON_PICTURES "Documents\\My Pictures"
IDS_COMMON_VIDEO "Documents\\My Video"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -245,4 +245,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Dokumenter\\Mine bilder"
IDS_COMMON_VIDEO "Dokumenter\\Mine videoklipp"
IDS_CDBURN_AREA "Lokale innstillinger\\Programdata\\Microsoft\\CD Burning"
IDS_NEWFOLDER "Ny mappe"
}

View File

@ -228,4 +228,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documenty\\Moje obrazy"
IDS_COMMON_VIDEO "Documenty\\Moje wideo"
IDS_CDBURN_AREA "Ustawienia lokalne\\Dane aplikacji\\Microsoft\\Nagrywanie dysków CD"
IDS_NEWFOLDER "New Folder"
}

View File

@ -372,4 +372,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Os Meus Documentos\\As Minhas Imagens"
IDS_COMMON_VIDEO "Os Meus Documentos\\Os Meus Vídeos"
IDS_CDBURN_AREA "Definições locais\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -207,4 +207,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Îáùèå äîêóìåíòû\\Ìîè ðèñóíêè"
IDS_COMMON_VIDEO "Îáùèå äîêóìåíòû\\Ìîè ôèëüìû"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -79,4 +79,6 @@ BEGIN
IDS_SHV_COLUMN7 "Prosto"
IDS_SHV_COLUMN8 "Name" /*FIXME*/
IDS_SHV_COLUMN9 "Comments" /*FIXME*/
IDS_NEWFOLDER "New Folder"
END

View File

@ -79,4 +79,6 @@ BEGIN
IDS_SHV_COLUMN7 "Ve¾kos<6F> k dispozícii"
IDS_SHV_COLUMN8 "Name" /*FIXME*/
IDS_SHV_COLUMN9 "Comments" /*FIXME*/
IDS_NEWFOLDER "New Folder"
END

View File

@ -214,4 +214,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Belgeler\\Resimlerim"
IDS_COMMON_VIDEO "Belgeler\\Videolarým"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
}

View File

@ -180,4 +180,6 @@ BEGIN
IDS_SHV_COLUMN5 "Àòðèáóòè"
IDS_SHV_COLUMN6 "Ðîçì³ð"
IDS_SHV_COLUMN7 "³ëüíèé Ðîçì³ð"
IDS_NEWFOLDER "New Folder"
END

View File

@ -79,6 +79,8 @@ BEGIN
IDS_SHV_COLUMN7 "Ê£ðN¿Õég"
IDS_SHV_COLUMN8 "Name" /*FIXME*/
IDS_SHV_COLUMN9 "Comments" /*FIXME*/
IDS_NEWFOLDER "New Folder"
END
#pragma code_page(default)

View File

@ -1080,11 +1080,12 @@ ISFHelper_fnGetUniqueName (ISFHelper * iface, LPWSTR pwszName, UINT uLen)
IEnumIDList *penum;
HRESULT hr;
WCHAR wszText[MAX_PATH];
const WCHAR wszNewFolder[] = {'N','e','w',' ','F','o','l','d','e','r',0 };
WCHAR wszNewFolder[25];
const WCHAR wszFormat[] = {'%','s',' ','%','d',0 };
TRACE ("(%p)(%p %u)\n", This, pwszName, uLen);
LoadStringW(shell32_hInstance, IDS_NEWFOLDER, wszNewFolder, sizeof(wszNewFolder)/sizeof(WCHAR));
if (uLen < sizeof(wszNewFolder)/sizeof(WCHAR) + 3)
return E_POINTER;

View File

@ -1708,11 +1708,13 @@ static HRESULT WINAPI UnixFolder_ISFHelper_GetUniqueName(ISFHelper* iface, LPWST
LPITEMIDLIST pidlElem;
DWORD dwFetched;
int i;
static const WCHAR wszNewFolder[] = { 'N','e','w',' ','F','o','l','d','e','r', 0 };
WCHAR wszNewFolder[25];
static const WCHAR wszFormat[] = { '%','s',' ','%','d',0 };
TRACE("(iface=%p, pwszName=%p, uLen=%u)\n", iface, pwszName, uLen);
LoadStringW(shell32_hInstance, IDS_NEWFOLDER, wszNewFolder, sizeof(wszNewFolder)/sizeof(WCHAR));
if (uLen < sizeof(wszNewFolder)/sizeof(WCHAR)+3)
return E_INVALIDARG;

View File

@ -94,6 +94,8 @@
#define IDS_CANTTRASH_TEXT 140
#define IDS_OVERWRITEFOLDER_TEXT 141
#define IDS_NEWFOLDER 142
#define MENU_SHV_FILE 144
/* Note: this string is referenced from the registry*/