https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5538facfdd0edd11038f9…
commit 5538facfdd0edd11038f9dd00bb4a6afec440403
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Wed Nov 27 20:09:19 2019 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Nov 27 20:09:19 2019 +0900
[SHELL32] Add SendTo DeskLink (Retry) (#2099)
CORE-12562
---
dll/win32/shell32/lang/bg-BG.rc | 1 +
dll/win32/shell32/lang/ca-ES.rc | 1 +
dll/win32/shell32/lang/cs-CZ.rc | 1 +
dll/win32/shell32/lang/da-DK.rc | 1 +
dll/win32/shell32/lang/de-DE.rc | 1 +
dll/win32/shell32/lang/el-GR.rc | 1 +
dll/win32/shell32/lang/en-GB.rc | 1 +
dll/win32/shell32/lang/en-US.rc | 1 +
dll/win32/shell32/lang/es-ES.rc | 1 +
dll/win32/shell32/lang/et-EE.rc | 1 +
dll/win32/shell32/lang/fi-FI.rc | 1 +
dll/win32/shell32/lang/fr-FR.rc | 1 +
dll/win32/shell32/lang/he-IL.rc | 1 +
dll/win32/shell32/lang/hi-IN.rc | 1 +
dll/win32/shell32/lang/hu-HU.rc | 1 +
dll/win32/shell32/lang/id-ID.rc | 1 +
dll/win32/shell32/lang/it-IT.rc | 1 +
dll/win32/shell32/lang/ja-JP.rc | 1 +
dll/win32/shell32/lang/ko-KR.rc | 1 +
dll/win32/shell32/lang/nl-NL.rc | 1 +
dll/win32/shell32/lang/no-NO.rc | 1 +
dll/win32/shell32/lang/pl-PL.rc | 1 +
dll/win32/shell32/lang/pt-BR.rc | 1 +
dll/win32/shell32/lang/pt-PT.rc | 1 +
dll/win32/shell32/lang/ro-RO.rc | 1 +
dll/win32/shell32/lang/ru-RU.rc | 1 +
dll/win32/shell32/lang/sk-SK.rc | 1 +
dll/win32/shell32/lang/sl-SI.rc | 1 +
dll/win32/shell32/lang/sq-AL.rc | 1 +
dll/win32/shell32/lang/sv-SE.rc | 1 +
dll/win32/shell32/lang/tr-TR.rc | 1 +
dll/win32/shell32/lang/uk-UA.rc | 1 +
dll/win32/shell32/lang/zh-CN.rc | 1 +
dll/win32/shell32/lang/zh-TW.rc | 1 +
dll/win32/shell32/shresdef.h | 1 +
dll/win32/shell32/wine/shellpath.c | 12 +++++++++++-
36 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/dll/win32/shell32/lang/bg-BG.rc b/dll/win32/shell32/lang/bg-BG.rc
index 42d1fb138bf..9a9d63989bc 100644
--- a/dll/win32/shell32/lang/bg-BG.rc
+++ b/dll/win32/shell32/lang/bg-BG.rc
@@ -771,6 +771,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/ca-ES.rc b/dll/win32/shell32/lang/ca-ES.rc
index 5f01647f972..f442d13a2a4 100644
--- a/dll/win32/shell32/lang/ca-ES.rc
+++ b/dll/win32/shell32/lang/ca-ES.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/cs-CZ.rc b/dll/win32/shell32/lang/cs-CZ.rc
index c668b7b14d8..e593800de32 100644
--- a/dll/win32/shell32/lang/cs-CZ.rc
+++ b/dll/win32/shell32/lang/cs-CZ.rc
@@ -776,6 +776,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Složku '%1' nebylo možné vytvořit"
IDS_CREATEFOLDER_CAPTION "Složku nebylo možné vytvořit"
diff --git a/dll/win32/shell32/lang/da-DK.rc b/dll/win32/shell32/lang/da-DK.rc
index 30172aed75d..d9605986d8c 100644
--- a/dll/win32/shell32/lang/da-DK.rc
+++ b/dll/win32/shell32/lang/da-DK.rc
@@ -776,6 +776,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/de-DE.rc b/dll/win32/shell32/lang/de-DE.rc
index 1f6b2cc673d..0351e32a5c3 100644
--- a/dll/win32/shell32/lang/de-DE.rc
+++ b/dll/win32/shell32/lang/de-DE.rc
@@ -771,6 +771,7 @@ BEGIN
IDS_EJECT "Auswerfen"
IDS_DISCONNECT "Trennen"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED " Der Ordner kann nicht erstellt werden
'%1'"
IDS_CREATEFOLDER_CAPTION " Der Ordner kann nicht erstellt werden."
diff --git a/dll/win32/shell32/lang/el-GR.rc b/dll/win32/shell32/lang/el-GR.rc
index 5196614198a..497dafe7ab5 100644
--- a/dll/win32/shell32/lang/el-GR.rc
+++ b/dll/win32/shell32/lang/el-GR.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/en-GB.rc b/dll/win32/shell32/lang/en-GB.rc
index 5d4cf6bc4a9..b7c7f4517bc 100644
--- a/dll/win32/shell32/lang/en-GB.rc
+++ b/dll/win32/shell32/lang/en-GB.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/en-US.rc b/dll/win32/shell32/lang/en-US.rc
index f50562a6982..c13b373e50c 100644
--- a/dll/win32/shell32/lang/en-US.rc
+++ b/dll/win32/shell32/lang/en-US.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/es-ES.rc b/dll/win32/shell32/lang/es-ES.rc
index 12e5e17d7d8..dac44bafc0a 100644
--- a/dll/win32/shell32/lang/es-ES.rc
+++ b/dll/win32/shell32/lang/es-ES.rc
@@ -778,6 +778,7 @@ BEGIN
IDS_EJECT "Extraer"
IDS_DISCONNECT "Desconectar"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "No se pudo crear la carpeta '%1'"
IDS_CREATEFOLDER_CAPTION "No se pudo crear la carpeta"
diff --git a/dll/win32/shell32/lang/et-EE.rc b/dll/win32/shell32/lang/et-EE.rc
index 63b137c76df..1e376de4dcb 100644
--- a/dll/win32/shell32/lang/et-EE.rc
+++ b/dll/win32/shell32/lang/et-EE.rc
@@ -777,6 +777,7 @@ BEGIN
IDS_EJECT "Väljuta"
IDS_DISCONNECT "Katkesta ühendus"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Ei saa luua kausta '%1'"
IDS_CREATEFOLDER_CAPTION "Ei saa kausta luua"
diff --git a/dll/win32/shell32/lang/fi-FI.rc b/dll/win32/shell32/lang/fi-FI.rc
index 5fc6ddfadf4..854d836a4e2 100644
--- a/dll/win32/shell32/lang/fi-FI.rc
+++ b/dll/win32/shell32/lang/fi-FI.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/fr-FR.rc b/dll/win32/shell32/lang/fr-FR.rc
index e5d0e25e44f..0d32521b8c0 100644
--- a/dll/win32/shell32/lang/fr-FR.rc
+++ b/dll/win32/shell32/lang/fr-FR.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Éjecter"
IDS_DISCONNECT "Déconnecter"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Impossible de créer le dossier '%1'"
IDS_CREATEFOLDER_CAPTION "Impossible de créer un dossier"
diff --git a/dll/win32/shell32/lang/he-IL.rc b/dll/win32/shell32/lang/he-IL.rc
index e9e64d7eafe..603132672c2 100644
--- a/dll/win32/shell32/lang/he-IL.rc
+++ b/dll/win32/shell32/lang/he-IL.rc
@@ -772,6 +772,7 @@ BEGIN
IDS_EJECT "הוצא"
IDS_DISCONNECT "נתק"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/hi-IN.rc b/dll/win32/shell32/lang/hi-IN.rc
index 7e637bad1c5..8f359fb58d0 100644
--- a/dll/win32/shell32/lang/hi-IN.rc
+++ b/dll/win32/shell32/lang/hi-IN.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "इजेक्ट"
IDS_DISCONNECT "डिस्कनेक्ट"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "फ़ोल्डर '%1' बनाने में असमर्थ"
IDS_CREATEFOLDER_CAPTION "फ़ोल्डर बनाने में असमर्थ"
diff --git a/dll/win32/shell32/lang/hu-HU.rc b/dll/win32/shell32/lang/hu-HU.rc
index 1c9f001830e..34857dfb04a 100644
--- a/dll/win32/shell32/lang/hu-HU.rc
+++ b/dll/win32/shell32/lang/hu-HU.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/id-ID.rc b/dll/win32/shell32/lang/id-ID.rc
index c9736262764..5aeb4d1ae99 100644
--- a/dll/win32/shell32/lang/id-ID.rc
+++ b/dll/win32/shell32/lang/id-ID.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Keluarkan"
IDS_DISCONNECT "Putuskan"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Tidak bisa membuat folder folder '%1'"
IDS_CREATEFOLDER_CAPTION "Tidak bisa membuat folder"
diff --git a/dll/win32/shell32/lang/it-IT.rc b/dll/win32/shell32/lang/it-IT.rc
index 7a854349b50..da8b5cbb46e 100644
--- a/dll/win32/shell32/lang/it-IT.rc
+++ b/dll/win32/shell32/lang/it-IT.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/ja-JP.rc b/dll/win32/shell32/lang/ja-JP.rc
index 9c2732f4a09..1c6ceba915f 100644
--- a/dll/win32/shell32/lang/ja-JP.rc
+++ b/dll/win32/shell32/lang/ja-JP.rc
@@ -767,6 +767,7 @@ BEGIN
IDS_EJECT "取り出し"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "フォルダ '%1' を作成できません"
IDS_CREATEFOLDER_CAPTION "フォルダを作成できません"
diff --git a/dll/win32/shell32/lang/ko-KR.rc b/dll/win32/shell32/lang/ko-KR.rc
index 3b33cefd7fe..e22bff38c38 100644
--- a/dll/win32/shell32/lang/ko-KR.rc
+++ b/dll/win32/shell32/lang/ko-KR.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/nl-NL.rc b/dll/win32/shell32/lang/nl-NL.rc
index e7a697f12da..fc734cac927 100644
--- a/dll/win32/shell32/lang/nl-NL.rc
+++ b/dll/win32/shell32/lang/nl-NL.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/no-NO.rc b/dll/win32/shell32/lang/no-NO.rc
index 51d999b495b..2b8662a8db1 100644
--- a/dll/win32/shell32/lang/no-NO.rc
+++ b/dll/win32/shell32/lang/no-NO.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/pl-PL.rc b/dll/win32/shell32/lang/pl-PL.rc
index 7c0cc733c22..46ec68d8480 100644
--- a/dll/win32/shell32/lang/pl-PL.rc
+++ b/dll/win32/shell32/lang/pl-PL.rc
@@ -775,6 +775,7 @@ BEGIN
IDS_EJECT "Wysuń"
IDS_DISCONNECT "Odłącz"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Nie można utworzyć folderu '%1'"
IDS_CREATEFOLDER_CAPTION "Nie można utworzyć folderu"
diff --git a/dll/win32/shell32/lang/pt-BR.rc b/dll/win32/shell32/lang/pt-BR.rc
index c34ae71fc0d..26eaad64d1a 100644
--- a/dll/win32/shell32/lang/pt-BR.rc
+++ b/dll/win32/shell32/lang/pt-BR.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/pt-PT.rc b/dll/win32/shell32/lang/pt-PT.rc
index 6560b089148..7e9d91f3ede 100644
--- a/dll/win32/shell32/lang/pt-PT.rc
+++ b/dll/win32/shell32/lang/pt-PT.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Desligar"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Impossivel de criar pasta '%1'"
IDS_CREATEFOLDER_CAPTION "Impossivel de criar pasta"
diff --git a/dll/win32/shell32/lang/ro-RO.rc b/dll/win32/shell32/lang/ro-RO.rc
index a3dfce4391b..655ed748ee5 100644
--- a/dll/win32/shell32/lang/ro-RO.rc
+++ b/dll/win32/shell32/lang/ro-RO.rc
@@ -772,6 +772,7 @@ BEGIN
IDS_EJECT "S&coate"
IDS_DISCONNECT "Deconectea&ză"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Nu poate fi creat un dosar cu numele „%1”"
IDS_CREATEFOLDER_CAPTION "Nu poate fi creat dosar"
diff --git a/dll/win32/shell32/lang/ru-RU.rc b/dll/win32/shell32/lang/ru-RU.rc
index 46b397572aa..19e432ddef6 100644
--- a/dll/win32/shell32/lang/ru-RU.rc
+++ b/dll/win32/shell32/lang/ru-RU.rc
@@ -777,6 +777,7 @@ BEGIN
IDS_EJECT "Извлечь"
IDS_DISCONNECT "Отсоединить"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Невозможно создать папку '%1'"
IDS_CREATEFOLDER_CAPTION "Невозможно создать папку"
diff --git a/dll/win32/shell32/lang/sk-SK.rc b/dll/win32/shell32/lang/sk-SK.rc
index 01000ca3e98..26723a857e4 100644
--- a/dll/win32/shell32/lang/sk-SK.rc
+++ b/dll/win32/shell32/lang/sk-SK.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/sl-SI.rc b/dll/win32/shell32/lang/sl-SI.rc
index 640f4cb7e5b..e4fba05e92a 100644
--- a/dll/win32/shell32/lang/sl-SI.rc
+++ b/dll/win32/shell32/lang/sl-SI.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/sq-AL.rc b/dll/win32/shell32/lang/sq-AL.rc
index fe6992e9834..e1cef58e5cb 100644
--- a/dll/win32/shell32/lang/sq-AL.rc
+++ b/dll/win32/shell32/lang/sq-AL.rc
@@ -774,6 +774,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
diff --git a/dll/win32/shell32/lang/sv-SE.rc b/dll/win32/shell32/lang/sv-SE.rc
index 06749268ad7..ae0836d3bd4 100644
--- a/dll/win32/shell32/lang/sv-SE.rc
+++ b/dll/win32/shell32/lang/sv-SE.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Kunde inte skapa mappen '%1'"
IDS_CREATEFOLDER_CAPTION "Kunde inte skapa mapp"
diff --git a/dll/win32/shell32/lang/tr-TR.rc b/dll/win32/shell32/lang/tr-TR.rc
index 88449402f00..946d1784f93 100644
--- a/dll/win32/shell32/lang/tr-TR.rc
+++ b/dll/win32/shell32/lang/tr-TR.rc
@@ -772,6 +772,7 @@ BEGIN
IDS_EJECT "Eject"
IDS_DISCONNECT "Disconnect"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED """%1"" dizini
oluşturulamıyor."
IDS_CREATEFOLDER_CAPTION "Dizin Oluşturulamıyor"
diff --git a/dll/win32/shell32/lang/uk-UA.rc b/dll/win32/shell32/lang/uk-UA.rc
index faa2254e158..d8c5fd58361 100644
--- a/dll/win32/shell32/lang/uk-UA.rc
+++ b/dll/win32/shell32/lang/uk-UA.rc
@@ -770,6 +770,7 @@ BEGIN
IDS_EJECT "Витягнути"
IDS_DISCONNECT "Відключити"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "Не вдалося створити папку '%1'"
IDS_CREATEFOLDER_CAPTION "Не вдалося створити папку"
diff --git a/dll/win32/shell32/lang/zh-CN.rc b/dll/win32/shell32/lang/zh-CN.rc
index af8f3c41076..8f08b218125 100644
--- a/dll/win32/shell32/lang/zh-CN.rc
+++ b/dll/win32/shell32/lang/zh-CN.rc
@@ -778,6 +778,7 @@ BEGIN
IDS_EJECT "弹出"
IDS_DISCONNECT "断开"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "无法创建文件夹 '%1'"
IDS_CREATEFOLDER_CAPTION "无法创建文件夹"
diff --git a/dll/win32/shell32/lang/zh-TW.rc b/dll/win32/shell32/lang/zh-TW.rc
index a9cf8074ce1..ce149f33525 100644
--- a/dll/win32/shell32/lang/zh-TW.rc
+++ b/dll/win32/shell32/lang/zh-TW.rc
@@ -779,6 +779,7 @@ BEGIN
IDS_EJECT "退出"
IDS_DISCONNECT "中斷"
IDS_OPENFILELOCATION "Open f&ile location"
+ IDS_DESKLINK "Desktop (Create shortcut)"
IDS_CREATEFOLDER_DENIED "無法建立資料夾 '%1'"
IDS_CREATEFOLDER_CAPTION "無法建立資料夾"
diff --git a/dll/win32/shell32/shresdef.h b/dll/win32/shell32/shresdef.h
index 3e425eac704..d80365f94a2 100644
--- a/dll/win32/shell32/shresdef.h
+++ b/dll/win32/shell32/shresdef.h
@@ -229,6 +229,7 @@
#define IDS_DISCONNECT 340
#define IDS_OPENFILELOCATION 341
+#define IDS_DESKLINK 342
#define IDS_MENU_EMPTY 34561
diff --git a/dll/win32/shell32/wine/shellpath.c b/dll/win32/shell32/wine/shellpath.c
index 99c78c8554d..1fe931f50e7 100644
--- a/dll/win32/shell32/wine/shellpath.c
+++ b/dll/win32/shell32/wine/shellpath.c
@@ -2200,7 +2200,9 @@ HRESULT DoCreateSendToFiles(LPCWSTR pszSendTo)
WCHAR szSendToFile[MAX_PATH];
WCHAR szShell32[MAX_PATH];
HRESULT hr;
+ HANDLE hFile;
+ /* create my documents */
SHGetSpecialFolderPathW(NULL, szTarget, CSIDL_MYDOCUMENTS, TRUE);
StringCbCopyW(szSendToFile, sizeof(szSendToFile), pszSendTo);
@@ -2209,12 +2211,20 @@ HRESULT DoCreateSendToFiles(LPCWSTR pszSendTo)
GetSystemDirectoryW(szShell32, ARRAY_SIZE(szShell32));
PathAppendW(szShell32, L"shell32.dll");
-
hr = CreateShellLink(szSendToFile, szTarget, NULL, NULL,
szShell32, -IDI_SHELL_MY_DOCUMENTS, NULL);
if (FAILED_UNEXPECTEDLY(hr))
return hr;
+ /* create desklink */
+ StringCbCopyW(szSendToFile, sizeof(szSendToFile), pszSendTo);
+ LoadStringW(shell32_hInstance, IDS_DESKLINK, szTarget, _countof(szTarget));
+ StringCbCatW(szTarget, sizeof(szTarget), L".DeskLink");
+ PathAppendW(szSendToFile, szTarget);
+ hFile = CreateFileW(szSendToFile, GENERIC_WRITE, FILE_SHARE_READ, NULL,
+ CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
+ CloseHandle(hFile);
+
return hr;
}