Author: mjansen
Date: Sat Jul 22 16:55:08 2017
New Revision: 75388
URL:
http://svn.reactos.org/svn/reactos?rev=75388&view=rev
Log:
[SYSSETUP][SHORTCUTS.INF] Add FontSub program shortcut to Start Menu. Patch by Katayama
Hirofumi MZ.
CORE-13428 #resolve #comment Thanks!
Added:
trunk/rosapps/rosapps_shortcuts.inf
Modified:
trunk/reactos/dll/win32/syssetup/install.c
trunk/rosapps/CMakeLists.txt
Modified: trunk/reactos/dll/win32/syssetup/install.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/install…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] Sat Jul 22 16:55:08 2017
@@ -1273,6 +1273,20 @@
SetupCloseInfFile(hShortcutsInf);
+ hShortcutsInf = SetupOpenInfFileW(L"rosapps_shortcuts.inf",
+ NULL,
+ INF_STYLE_WIN4,
+ NULL);
+ if (hShortcutsInf != INVALID_HANDLE_VALUE)
+ {
+ if (!CreateShortcuts(hShortcutsInf, L"ShortcutFolders"))
+ {
+ FatalError("CreateShortcuts(rosapps) failed");
+ return 0;
+ }
+ SetupCloseInfFile(hShortcutsInf);
+ }
+
SetupCloseInfFile(hSysSetupInf);
SetSetupType(0);
Modified: trunk/rosapps/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/CMakeLists.txt?rev=75388&a…
==============================================================================
--- trunk/rosapps/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rosapps/CMakeLists.txt [iso-8859-1] Sat Jul 22 16:55:08 2017
@@ -3,3 +3,16 @@
add_subdirectory(drivers)
add_subdirectory(lib)
add_subdirectory(templates)
+
+list(APPEND ROSAPPS_INF_FILES rosapps_shortcuts.inf)
+
+foreach(item ${ROSAPPS_INF_FILES})
+ set(_rosapps_converted_item ${CMAKE_CURRENT_BINARY_DIR}/${item})
+ set(_rosapps_source_item ${CMAKE_CURRENT_SOURCE_DIR}/${item})
+ add_custom_command(OUTPUT "${_rosapps_converted_item}"
+ COMMAND native-utf16le "${_rosapps_source_item}"
"${_rosapps_converted_item}"
+ DEPENDS native-utf16le "${_rosapps_source_item}")
+ add_cd_file(TARGET converted_inf_files2 FILE ${_rosapps_converted_item} DESTINATION
reactos/inf FOR all)
+ list(APPEND rosapps_converted_item ${_rosapps_converted_item})
+endforeach(item)
+add_custom_target(converted_inf_files2 DEPENDS ${rosapps_converted_item})
Added: trunk/rosapps/rosapps_shortcuts.inf
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/rosapps_shortcuts.inf?rev=…
==============================================================================
--- trunk/rosapps/rosapps_shortcuts.inf (added)
+++ trunk/rosapps/rosapps_shortcuts.inf [iso-8859-1] Sat Jul 22 16:55:08 2017
@@ -0,0 +1,294 @@
+[Version]
+Signature = $Windows NT$
+ClassGUID = {00000000-0000-0000-0000-000000000000}
+
+[ShortcutFolders]
+DesktopShortcuts=0,
+ProgramShortcuts=2,
+AdminToolsShortcuts=47,
+AccessoriesShortcuts=2, %ACCESSORIES%
+SystemToolsShortcuts=2, %ACCESSORIES%\%SYSTOOLS%
+AccessibilityShortcuts=2, %ACCESSORIES%\%ACCESSIBILITY%
+EntertainmentShortcuts=2, %ACCESSORIES%\%ENTERTAINMENT%
+CommunicationsShortcuts=2, %ACCESSORIES%\%COMMUNICATIONS%
+GamesShortcuts=2, %GAMES%
+
+[SystemToolsShortcuts]
+%SystemRoot%\system32\fontsub.exe, %FONTSUB_TITLE%, %FONTSUB_DESC%, 0
+
+;-------------------------------- STRINGS -------------------------------
+
+[Strings]
+ACCESSORIES=Accessories
+SYSTOOLS=System Tools
+ACCESSIBILITY=Accessibility
+ENTERTAINMENT=Entertainment
+COMMUNICATIONS=Communications
+GAMES=Games
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Bulgarian
+[Strings.0402]
+ACCESSORIES=ÐÑинадлежноÑÑи
+SYSTOOLS=СиÑÑемни ÑÑедÑÑва
+ACCESSIBILITY=ÐоÑÑÑпноÑÑ
+ENTERTAINMENT=Ðабавление
+COMMUNICATIONS=Communications
+GAMES=ÐгÑи
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Czech
+[Strings.0405]
+ACCESSORIES=PÅÃsluÅ¡enstvÃ
+SYSTOOLS=Systémové nástroje
+ACCESSIBILITY=UsnadnÄnÃ
+ENTERTAINMENT=Zábava
+COMMUNICATIONS=Communications
+GAMES=Hry
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; German
+[Strings.0407]
+ACCESSORIES=Zubehör
+SYSTOOLS=Systemprogramme
+ACCESSIBILITY=Eingabehilfen
+ENTERTAINMENT=Unterhaltung
+COMMUNICATIONS=Kommunikation
+GAMES=Spiele
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Greek
+[Strings.0408]
+ACCESSORIES=ÎοηθήμαÏα
+SYSTOOLS=ÎÏγαλεία ΣÏ
ÏÏήμαÏοÏ
+ACCESSIBILITY=Îια άÏομα με ειδικÎÏ Î±Î½Î¬Î³ÎºÎµÏ
+ENTERTAINMENT=ÎιαÏκÎδαÏη
+COMMUNICATIONS=Communications
+GAMES=ΠαιÏνίδια
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Spanish
+[Strings.0a]
+ACCESSORIES=Accesorios
+SYSTOOLS=Herramientas del sistema
+ACCESSIBILITY=Accesibilidad
+ENTERTAINMENT=Entretenimiento
+COMMUNICATIONS=Comunicaciones
+GAMES=Juegos
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Estonian
+[Strings.0425]
+ACCESSORIES=Tarvikud
+SYSTOOLS=Süsteemi tööriistad
+ACCESSIBILITY=Ligipääsetavus
+ENTERTAINMENT=Meelelahutus
+COMMUNICATIONS=Communications
+GAMES=Mängud
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; French
+[Strings.040C]
+ACCESSORIES=Accessoires
+SYSTOOLS=Outils système
+ACCESSIBILITY=Accessibilité
+ENTERTAINMENT=Divertissement
+COMMUNICATIONS=Communications
+GAMES=Jeux
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Hebrew
+[Strings.040D]
+ACCESSORIES=×¢×ר××
+SYSTOOLS=××× ×ער×ת
+ACCESSIBILITY=× ××ש×ת
+ENTERTAINMENT=××××ר
+COMMUNICATIONS=Communications
+GAMES=×ש×ק××
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Hungarian
+[Strings.040E]
+ACCESSORIES=Accessories
+SYSTOOLS=System Tools
+ACCESSIBILITY=Accessibility
+ENTERTAINMENT=Entertainment
+COMMUNICATIONS=Communications
+GAMES=Játékok
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Indonesian
+[Strings.0421]
+ACCESSORIES=Aksesoris
+SYSTOOLS=System Tools
+ACCESSIBILITY=Accessibility
+ENTERTAINMENT=Entertainment
+COMMUNICATIONS=Communications
+GAMES=Games
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Italian
+[Strings.0410]
+ACCESSORIES=Accessori
+SYSTOOLS=Strumenti di sistema
+ACCESSIBILITY=AccessibilitÃ
+ENTERTAINMENT=Divertimento
+COMMUNICATIONS=Comunicazioni
+GAMES=Giochi
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Japanese
+[Strings.0411]
+ACCESSORIES=ã¢ã¯ã»ãµãª
+SYSTOOLS=ã·ã¹ãã ãã¼ã«
+ACCESSIBILITY=ã¢ã¯ã»ã·ããªãã£
+ENTERTAINMENT=ã¨ã³ã¿ã¼ãã¤ã¡ã³ã
+COMMUNICATIONS=Communications
+GAMES=ã²ã¼ã
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=ãã©ã³ã代æ¿ã¨ãã£ã¿
+
+; Dutch
+[Strings.0413]
+ACCESSORIES=Accessories
+SYSTOOLS=System Tools
+ACCESSIBILITY=Accessibility
+ENTERTAINMENT=Entertainment
+COMMUNICATIONS=Communications
+GAMES=Games
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Norwegian
+[Strings.0414]
+ACCESSORIES=Tilbehør
+SYSTOOLS=Systemverktøy
+ACCESSIBILITY=Tilgjengelighet
+ENTERTAINMENT=Underholdning
+COMMUNICATIONS=Communications
+GAMES=Spill
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Polish
+[Strings.0415]
+ACCESSORIES=Akcesoria
+SYSTOOLS=NarzÄdzia systemowe
+ACCESSIBILITY=UÅatwienia dostÄpu
+ENTERTAINMENT=Rozrywka
+COMMUNICATIONS=Komunikacja
+GAMES=Gry
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Portuguese - Brazil
+[Strings.0416]
+ACCESSORIES=Acessórios
+SYSTOOLS=Ferramentas de Sistema
+ACCESSIBILITY=Acessibilidade
+ENTERTAINMENT=Entretenimento
+COMMUNICATIONS=Communications
+GAMES=Jogos
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Romanian
+[Strings.0418]
+ACCESSORIES=Accesorii
+SYSTOOLS=Instrumente de sistem
+ACCESSIBILITY=Accesibilitate
+ENTERTAINMENT=Divertisment
+COMMUNICATIONS=CommunicaÈii
+GAMES=Jocuri
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Russian
+[Strings.0419]
+ACCESSORIES=СÑандаÑÑнÑе
+SYSTOOLS=СлÑжебнÑе
+ACCESSIBILITY=СпеÑиалÑнÑе возможноÑÑи
+ENTERTAINMENT=РазвлеÑениÑ
+COMMUNICATIONS=СвÑзÑ
+GAMES=ÐгÑÑ
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Slovak
+[Strings.041B]
+ACCESSORIES=PrÃsluÅ¡enstvo
+SYSTOOLS=Systémové nástroje
+ACCESSIBILITY=Zjednodušenie ovládania
+ENTERTAINMENT=Zábava
+COMMUNICATIONS=Communications
+GAMES=Hry
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Turkish
+[Strings.041f]
+ACCESSORIES=Donatılar
+SYSTOOLS=Dizge Araçları
+ACCESSIBILITY=EriÅilebilirlik
+ENTERTAINMENT=EÄlence
+COMMUNICATIONS=Ä°letiÅim
+GAMES=Oyunlar
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Ukrainian
+[Strings.0422]
+ACCESSORIES=ÐопомÑÐ¶Ð½Ñ Ð¿ÑогÑами
+SYSTOOLS=СлÑжбовÑ
+ACCESSIBILITY=СпеÑÑалÑÐ½Ñ Ð¼Ð¾Ð¶Ð»Ð¸Ð²Ð¾ÑÑÑ
+ENTERTAINMENT=Розваги
+COMMUNICATIONS=Communications
+GAMES=ÐгÑи
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor
+
+; Chinese
+[Strings.0804]
+ACCESSORIES=é件
+SYSTOOLS=ç³»ç»å·¥å
·
+ACCESSIBILITY=è¾
å©åè½
+ENTERTAINMENT=娱ä¹
+COMMUNICATIONS=éä¿¡
+GAMES=游æ
+
+FONTSUB_TITLE=FontSub
+FONTSUB_DESC=Font Substitutes Editor