Commit b259c4ae authored by Alexander Nicolaysen Sørnes's avatar Alexander Nicolaysen Sørnes Committed by Alexandre Julliard

shell32: Localize 'new folder' string.

parent 1b79da8b
...@@ -208,4 +208,6 @@ STRINGTABLE DISCARDABLE ...@@ -208,4 +208,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documents\\My Pictures" IDS_COMMON_PICTURES "Documents\\My Pictures"
IDS_COMMON_VIDEO "Documents\\My Video" IDS_COMMON_VIDEO "Documents\\My Video"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -80,6 +80,8 @@ BEGIN ...@@ -80,6 +80,8 @@ BEGIN
IDS_SHV_COLUMN7 "剩余空间" IDS_SHV_COLUMN7 "剩余空间"
IDS_SHV_COLUMN8 "Name" /*FIXME*/ IDS_SHV_COLUMN8 "Name" /*FIXME*/
IDS_SHV_COLUMN9 "Comments" /*FIXME*/ IDS_SHV_COLUMN9 "Comments" /*FIXME*/
IDS_NEWFOLDER "New Folder"
END END
#pragma code_page(default) #pragma code_page(default)
...@@ -186,4 +186,6 @@ BEGIN ...@@ -186,4 +186,6 @@ BEGIN
IDS_SHV_COLUMN7 "Voln msto" IDS_SHV_COLUMN7 "Voln msto"
IDS_SHV_COLUMN8 "Jmno" IDS_SHV_COLUMN8 "Jmno"
IDS_SHV_COLUMN9 "Koment" IDS_SHV_COLUMN9 "Koment"
IDS_NEWFOLDER "New Folder"
END END
...@@ -228,4 +228,6 @@ STRINGTABLE DISCARDABLE ...@@ -228,4 +228,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Dokumente\\Eigene Bilder" IDS_COMMON_PICTURES "Dokumente\\Eigene Bilder"
IDS_COMMON_VIDEO "Dokumente\\Eigene Videos" IDS_COMMON_VIDEO "Dokumente\\Eigene Videos"
IDS_CDBURN_AREA "Lokale Einstellungen\\Anwendungsdaten\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Lokale Einstellungen\\Anwendungsdaten\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -245,4 +245,6 @@ STRINGTABLE DISCARDABLE ...@@ -245,4 +245,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documents\\My Pictures" IDS_COMMON_PICTURES "Documents\\My Pictures"
IDS_COMMON_VIDEO "Documents\\My Videos" IDS_COMMON_VIDEO "Documents\\My Videos"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -226,4 +226,6 @@ STRINGTABLE DISCARDABLE ...@@ -226,4 +226,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documents\\Bildoj" IDS_COMMON_PICTURES "Documents\\Bildoj"
IDS_COMMON_VIDEO "Documents\\Video" IDS_COMMON_VIDEO "Documents\\Video"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -228,4 +228,6 @@ STRINGTABLE DISCARDABLE ...@@ -228,4 +228,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documentos\\Mis imgenes" IDS_COMMON_PICTURES "Documentos\\Mis imgenes"
IDS_COMMON_VIDEO "Documentos\\Mis vdeos" IDS_COMMON_VIDEO "Documentos\\Mis vdeos"
IDS_CDBURN_AREA "Configuracin local\\Datos de programa\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Configuracin local\\Datos de programa\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -206,4 +206,6 @@ STRINGTABLE DISCARDABLE ...@@ -206,4 +206,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Dokumentit\\Omat kuvatiedostot" IDS_COMMON_PICTURES "Dokumentit\\Omat kuvatiedostot"
IDS_COMMON_VIDEO "Dokumentit\\Omat videotiedostot" IDS_COMMON_VIDEO "Dokumentit\\Omat videotiedostot"
IDS_CDBURN_AREA "Paikalliset asetukset\\Ohjelmien tiedot\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Paikalliset asetukset\\Ohjelmien tiedot\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -249,4 +249,6 @@ STRINGTABLE DISCARDABLE ...@@ -249,4 +249,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documents\\Mes images" IDS_COMMON_PICTURES "Documents\\Mes images"
IDS_COMMON_VIDEO "Documents\\Mes vidos" IDS_COMMON_VIDEO "Documents\\Mes vidos"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -206,4 +206,6 @@ STRINGTABLE DISCARDABLE ...@@ -206,4 +206,6 @@ STRINGTABLE DISCARDABLE
IDS_APPDATA "Applicazioni" IDS_APPDATA "Applicazioni"
IDS_PRINTHOOD "PrintHood" IDS_PRINTHOOD "PrintHood"
IDS_COOKIES "Cookies" IDS_COOKIES "Cookies"
IDS_NEWFOLDER "New Folder"
} }
...@@ -138,4 +138,6 @@ BEGIN ...@@ -138,4 +138,6 @@ BEGIN
IDS_SHV_COLUMN7 "空き容量" IDS_SHV_COLUMN7 "空き容量"
IDS_SHV_COLUMN8 "Name" /*FIXME*/ IDS_SHV_COLUMN8 "Name" /*FIXME*/
IDS_SHV_COLUMN9 "Comments" /*FIXME*/ IDS_SHV_COLUMN9 "Comments" /*FIXME*/
IDS_NEWFOLDER "New Folder"
END END
...@@ -248,4 +248,6 @@ IDS_COMMON_MUSIC "Documents\\My Music" ...@@ -248,4 +248,6 @@ IDS_COMMON_MUSIC "Documents\\My Music"
IDS_COMMON_PICTURES "Documents\\My Pictures" IDS_COMMON_PICTURES "Documents\\My Pictures"
IDS_COMMON_VIDEO "Documents\\My Video" IDS_COMMON_VIDEO "Documents\\My Video"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -245,4 +245,6 @@ STRINGTABLE DISCARDABLE ...@@ -245,4 +245,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Dokumenter\\Mine bilder" IDS_COMMON_PICTURES "Dokumenter\\Mine bilder"
IDS_COMMON_VIDEO "Dokumenter\\Mine videoklipp" IDS_COMMON_VIDEO "Dokumenter\\Mine videoklipp"
IDS_CDBURN_AREA "Lokale innstillinger\\Programdata\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Lokale innstillinger\\Programdata\\Microsoft\\CD Burning"
IDS_NEWFOLDER "Ny mappe"
} }
...@@ -228,4 +228,6 @@ STRINGTABLE DISCARDABLE ...@@ -228,4 +228,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Documenty\\Moje obrazy" IDS_COMMON_PICTURES "Documenty\\Moje obrazy"
IDS_COMMON_VIDEO "Documenty\\Moje wideo" IDS_COMMON_VIDEO "Documenty\\Moje wideo"
IDS_CDBURN_AREA "Ustawienia lokalne\\Dane aplikacji\\Microsoft\\Nagrywanie dyskw CD" IDS_CDBURN_AREA "Ustawienia lokalne\\Dane aplikacji\\Microsoft\\Nagrywanie dyskw CD"
IDS_NEWFOLDER "New Folder"
} }
...@@ -372,4 +372,6 @@ STRINGTABLE DISCARDABLE ...@@ -372,4 +372,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Os Meus Documentos\\As Minhas Imagens" IDS_COMMON_PICTURES "Os Meus Documentos\\As Minhas Imagens"
IDS_COMMON_VIDEO "Os Meus Documentos\\Os Meus Vdeos" IDS_COMMON_VIDEO "Os Meus Documentos\\Os Meus Vdeos"
IDS_CDBURN_AREA "Definies locais\\Application Data\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Definies locais\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -207,4 +207,6 @@ STRINGTABLE DISCARDABLE ...@@ -207,4 +207,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES " \\ " IDS_COMMON_PICTURES " \\ "
IDS_COMMON_VIDEO " \\ " IDS_COMMON_VIDEO " \\ "
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -79,4 +79,6 @@ BEGIN ...@@ -79,4 +79,6 @@ BEGIN
IDS_SHV_COLUMN7 "Prosto" IDS_SHV_COLUMN7 "Prosto"
IDS_SHV_COLUMN8 "Name" /*FIXME*/ IDS_SHV_COLUMN8 "Name" /*FIXME*/
IDS_SHV_COLUMN9 "Comments" /*FIXME*/ IDS_SHV_COLUMN9 "Comments" /*FIXME*/
IDS_NEWFOLDER "New Folder"
END END
...@@ -79,4 +79,6 @@ BEGIN ...@@ -79,4 +79,6 @@ BEGIN
IDS_SHV_COLUMN7 "Vekos k dispozcii" IDS_SHV_COLUMN7 "Vekos k dispozcii"
IDS_SHV_COLUMN8 "Name" /*FIXME*/ IDS_SHV_COLUMN8 "Name" /*FIXME*/
IDS_SHV_COLUMN9 "Comments" /*FIXME*/ IDS_SHV_COLUMN9 "Comments" /*FIXME*/
IDS_NEWFOLDER "New Folder"
END END
...@@ -214,4 +214,6 @@ STRINGTABLE DISCARDABLE ...@@ -214,4 +214,6 @@ STRINGTABLE DISCARDABLE
IDS_COMMON_PICTURES "Belgeler\\Resimlerim" IDS_COMMON_PICTURES "Belgeler\\Resimlerim"
IDS_COMMON_VIDEO "Belgeler\\Videolarm" IDS_COMMON_VIDEO "Belgeler\\Videolarm"
IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning" IDS_CDBURN_AREA "Local Settings\\Application Data\\Microsoft\\CD Burning"
IDS_NEWFOLDER "New Folder"
} }
...@@ -180,4 +180,6 @@ BEGIN ...@@ -180,4 +180,6 @@ BEGIN
IDS_SHV_COLUMN5 "" IDS_SHV_COLUMN5 ""
IDS_SHV_COLUMN6 "" IDS_SHV_COLUMN6 ""
IDS_SHV_COLUMN7 "³ " IDS_SHV_COLUMN7 "³ "
IDS_NEWFOLDER "New Folder"
END END
...@@ -79,6 +79,8 @@ BEGIN ...@@ -79,6 +79,8 @@ BEGIN
IDS_SHV_COLUMN7 "剩餘空間" IDS_SHV_COLUMN7 "剩餘空間"
IDS_SHV_COLUMN8 "Name" /*FIXME*/ IDS_SHV_COLUMN8 "Name" /*FIXME*/
IDS_SHV_COLUMN9 "Comments" /*FIXME*/ IDS_SHV_COLUMN9 "Comments" /*FIXME*/
IDS_NEWFOLDER "New Folder"
END END
#pragma code_page(default) #pragma code_page(default)
...@@ -1080,11 +1080,12 @@ ISFHelper_fnGetUniqueName (ISFHelper * iface, LPWSTR pwszName, UINT uLen) ...@@ -1080,11 +1080,12 @@ ISFHelper_fnGetUniqueName (ISFHelper * iface, LPWSTR pwszName, UINT uLen)
IEnumIDList *penum; IEnumIDList *penum;
HRESULT hr; HRESULT hr;
WCHAR wszText[MAX_PATH]; 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 }; const WCHAR wszFormat[] = {'%','s',' ','%','d',0 };
TRACE ("(%p)(%p %u)\n", This, pwszName, uLen); 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) if (uLen < sizeof(wszNewFolder)/sizeof(WCHAR) + 3)
return E_POINTER; return E_POINTER;
......
...@@ -1708,11 +1708,13 @@ static HRESULT WINAPI UnixFolder_ISFHelper_GetUniqueName(ISFHelper* iface, LPWST ...@@ -1708,11 +1708,13 @@ static HRESULT WINAPI UnixFolder_ISFHelper_GetUniqueName(ISFHelper* iface, LPWST
LPITEMIDLIST pidlElem; LPITEMIDLIST pidlElem;
DWORD dwFetched; DWORD dwFetched;
int i; 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 }; static const WCHAR wszFormat[] = { '%','s',' ','%','d',0 };
TRACE("(iface=%p, pwszName=%p, uLen=%u)\n", iface, pwszName, uLen); 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) if (uLen < sizeof(wszNewFolder)/sizeof(WCHAR)+3)
return E_INVALIDARG; return E_INVALIDARG;
......
...@@ -94,6 +94,8 @@ ...@@ -94,6 +94,8 @@
#define IDS_CANTTRASH_TEXT 140 #define IDS_CANTTRASH_TEXT 140
#define IDS_OVERWRITEFOLDER_TEXT 141 #define IDS_OVERWRITEFOLDER_TEXT 141
#define IDS_NEWFOLDER 142
#define MENU_SHV_FILE 144 #define MENU_SHV_FILE 144
/* Note: this string is referenced from the registry*/ /* Note: this string is referenced from the registry*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment