From 0fcda786213ee94672ae05fc5634ee55e9f5dbaa Mon Sep 17 00:00:00 2001 From: j v Date: Sat, 24 Sep 2022 20:25:10 -0700 Subject: [PATCH] Rename app once again --- .vscode/launch.json | 8 +- .vscode/tasks.json | 8 +- README.md | 16 +-- installer/install.nsi | 115 +++++++++--------- src/COMUtils.cpp | 2 +- src/COMUtils.h | 2 +- src/CreateItemWindow.cpp | 2 +- src/CreateItemWindow.h | 2 +- src/DPI.cpp | 2 +- src/DPI.h | 2 +- src/FolderWindow.cpp | 2 +- src/FolderWindow.h | 2 +- src/GDIUtils.cpp | 2 +- src/GDIUtils.h | 2 +- src/ItemWindow.cpp | 4 +- src/ItemWindow.h | 2 +- src/PreviewWindow.cpp | 2 +- src/PreviewWindow.h | 2 +- src/RectUtils.h | 2 +- src/Settings.cpp | 10 +- src/Settings.h | 2 +- src/SettingsDialog.cpp | 16 +-- src/SettingsDialog.h | 2 +- src/TextWindow.cpp | 4 +- src/TextWindow.h | 2 +- src/ThumbnailWindow.cpp | 2 +- src/ThumbnailWindow.h | 2 +- src/TrayWindow.cpp | 2 +- src/TrayWindow.h | 2 +- src/UIStrings.cpp | 2 +- src/UIStrings.h | 2 +- src/common.h | 4 +- src/main.cpp | 14 +-- src/main.h | 2 +- ....exe.manifest => ChromaFiler.exe.manifest} | 0 src/resource.h | 4 +- src/resource.rc | 30 ++--- 37 files changed, 141 insertions(+), 140 deletions(-) rename src/res/{chromafile.exe.manifest => ChromaFiler.exe.manifest} (100%) diff --git a/.vscode/launch.json b/.vscode/launch.json index 91aac1d..8b5f8b7 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,10 +5,10 @@ "version": "0.2.0", "configurations": [ { - "name": "chromafile", + "name": "ChromaFiler", "type": "cppvsdbg", "request": "launch", - "program": "${workspaceFolder}\\build\\chromafile.exe", + "program": "${workspaceFolder}\\build\\ChromaFiler.exe", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}\\build", @@ -19,7 +19,7 @@ "name": "Tray", "type": "cppvsdbg", "request": "launch", - "program": "${workspaceFolder}\\build\\chromafile.exe", + "program": "${workspaceFolder}\\build\\ChromaFiler.exe", "args": ["/tray"], "stopAtEntry": false, "cwd": "${workspaceFolder}\\build", @@ -30,7 +30,7 @@ "name": "Scratch", "type": "cppvsdbg", "request": "launch", - "program": "${workspaceFolder}\\build\\chromafile.exe", + "program": "${workspaceFolder}\\build\\ChromaFiler.exe", "args": ["/scratch"], "stopAtEntry": false, "cwd": "${workspaceFolder}\\build", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9ec60d3..2049062 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -50,12 +50,12 @@ "/Zi", // debug only "/EHsc", // debug only "/MTd", // debug only - "/D", "CHROMAFILE_DEBUG", // debug only - // "/D", "CHROMAFILE_MEMLEAKS", // debug only + "/D", "CHROMAFILER_DEBUG", // debug only + // "/D", "CHROMAFILER_MEMLEAKS", // debug only "/nologo", "/MP", // https://randomascii.wordpress.com/2014/03/22/make-vc-compiles-fast-through-parallel-compilation/ "/W4", - "/Fe:", "${workspaceFolder}\\build\\chromafile.exe", + "/Fe:", "${workspaceFolder}\\build\\ChromaFiler.exe", "/I", "${workspaceFolder}\\src", "/I", "${workspaceFolder}\\build", // for message.h "${workspaceFolder}\\src\\*.cpp", @@ -88,7 +88,7 @@ "/nologo", "/MP", "/W4", - "/Fe:", "${workspaceFolder}\\build\\chromafile.exe", + "/Fe:", "${workspaceFolder}\\build\\ChromaFiler.exe", "/I", "${workspaceFolder}\\src", "/I", "${workspaceFolder}\\build", "${workspaceFolder}\\src\\*.cpp", diff --git a/README.md b/README.md index 50371e2..5278266 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,28 @@ -# chromafile +# ChromaFiler -chromafile is an experimental file manager with a unique interface, borrowing ideas from [Spatial file managers](https://en.wikipedia.org/wiki/Spatial_file_manager) and [Miller Column browsers](https://en.wikipedia.org/wiki/Miller_columns). +ChromaFiler is an experimental file manager with a unique interface, borrowing ideas from [Spatial file managers](https://en.wikipedia.org/wiki/Spatial_file_manager) and [Miller Column browsers](https://en.wikipedia.org/wiki/Miller_columns). -![Screenshot showing a series of chromafile windows](https://user-images.githubusercontent.com/8228102/181705394-48504968-4526-4e73-a4f1-d4924e41ec00.png) +![Screenshot showing a series of ChromaFiler windows](https://user-images.githubusercontent.com/8228102/181705394-48504968-4526-4e73-a4f1-d4924e41ec00.png) It functions similar to a column-view browser (eg. [Finder](https://en.wikipedia.org/wiki/Finder_(software))), but each column can be broken off into its own window by dragging and dropping. You can use it as a popup menu docked to your taskbar for quickly locating a file, or as a complete replacement for Windows File Explorer (and Notepad). -chromafile works on Windows 8 through 11. Windows 7 support may be added eventually. +ChromaFiler works on Windows 8 through 11. Windows 7 support may be added eventually. ## Download -Check the [Releases](https://github.com/vanjac/chromafile/releases) page for the latest beta build. See [installation instructions](https://github.com/vanjac/chromafile/wiki/Installation) for additional information. +Check the [Releases](https://github.com/vanjac/chromafiler/releases) page for the latest beta build. See [installation instructions](https://github.com/vanjac/chromafiler/wiki/Installation) for additional information. ## Tutorial -See the [wiki](https://github.com/vanjac/chromafile/wiki/Tutorial) for an introduction to the app. +See the [wiki](https://github.com/vanjac/chromafiler/wiki/Tutorial) for an introduction to the app. ## Building Building requires the [Windows SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) and [Visual Studio Code](https://code.visualstudio.com/). The installer is built using [NSIS](https://nsis.sourceforge.io/Main_Page). (You will need to [clone all submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules#_cloning_submodules).) -VS Code must be launched from the "x64 Native Tools Command Prompt" (search in Start menu) to access the correct MSVC build tools. Type `code` in this prompt to launch VS Code. Open the chromafile directory, then open `src/main.cpp` and press `Ctrl+Shift+B` to build the app in the Debug configuration. +VS Code must be launched from the "x64 Native Tools Command Prompt" (search in Start menu) to access the correct MSVC build tools. Type `code` in this prompt to launch VS Code. Open the ChromaFiler directory, then open `src/main.cpp` and press `Ctrl+Shift+B` to build the app in the Debug configuration. ## Suggested pairings - [Everything](https://www.voidtools.com/) by voidtools (recommend installing with folder context menus) -- [Microsoft PowerToys](https://github.com/microsoft/PowerToys) (see notes on [preview handlers](https://github.com/vanjac/chromafile/wiki/Installation#preview-handlers)) +- [Microsoft PowerToys](https://github.com/microsoft/PowerToys) (see notes on [preview handlers](https://github.com/vanjac/chromafiler/wiki/Installation#preview-handlers)) diff --git a/installer/install.nsi b/installer/install.nsi index f0e4faf..fa0926e 100644 --- a/installer/install.nsi +++ b/installer/install.nsi @@ -1,5 +1,5 @@ -Name "chromafile" -OutFile "..\build\chromafile-install.exe" +Name "ChromaFiler" +OutFile "..\build\ChromaFiler-install.exe" Unicode True SetCompressor LZMA !addplugindir plugins @@ -8,10 +8,10 @@ SetCompressor LZMA !define MULTIUSER_MUI !define MULTIUSER_INSTALLMODE_COMMANDLINE !define MULTIUSER_USE_PROGRAMFILES64 -!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "Software\chromafile" +!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "Software\ChromaFiler" !define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME "InstallMode" -!define MULTIUSER_INSTALLMODE_INSTDIR "chromafile" -!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_KEY "Software\chromafile" +!define MULTIUSER_INSTALLMODE_INSTDIR "ChromaFiler" +!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_KEY "Software\ChromaFiler" !define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_VALUENAME "Install_Dir" !include MultiUser.nsh @@ -19,16 +19,16 @@ SetCompressor LZMA !include EnumUsersReg.nsh !include "nsis-shortcut-properties\shortcut-properties.nsh" -!define REG_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\chromafile" -!define CONTEXT_MENU_TEXT "Open in chromafile" +!define REG_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\ChromaFiler" +!define CONTEXT_MENU_TEXT "Open in ChromaFiler" !define MUI_ICON "..\src\res\folder.ico" !define MUI_COMPONENTSPAGE_SMALLDESC !define MUI_FINISHPAGE_RUN !define MUI_FINISHPAGE_RUN_FUNCTION StartProgram -!getdllversion /productversion ..\build\chromafile.exe PRODUCT_VERSION_ -BrandingText "chromafile v${PRODUCT_VERSION_1}.${PRODUCT_VERSION_2}.${PRODUCT_VERSION_3}" +!getdllversion /productversion ..\build\ChromaFiler.exe PRODUCT_VERSION_ +BrandingText "ChromaFiler v${PRODUCT_VERSION_1}.${PRODUCT_VERSION_2}.${PRODUCT_VERSION_3}" !insertmacro MULTIUSER_PAGE_INSTALLMODE !insertmacro MUI_PAGE_COMPONENTS @@ -51,7 +51,7 @@ Function un.onInit !insertmacro MULTIUSER_UNINIT FunctionEnd -Section "chromafile" SecBase +Section "ChromaFiler" SecBase SectionIn RO SetOutPath $INSTDIR WriteUninstaller "$INSTDIR\uninstall.exe" @@ -60,9 +60,9 @@ Section "chromafile" SecBase ; MultiUser.nsh never actually writes this value WriteRegStr SHCTX "${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY}" "${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME}" $MultiUser.InstallMode - WriteRegStr SHCTX Software\chromafile "Install_Dir" "$INSTDIR" - WriteRegStr SHCTX "${REG_UNINST_KEY}" "DisplayName" "chromafile" - WriteRegStr SHCTX "${REG_UNINST_KEY}" "DisplayIcon" "$INSTDIR\chromafile.exe,0" + WriteRegStr SHCTX Software\ChromaFiler "Install_Dir" "$INSTDIR" + WriteRegStr SHCTX "${REG_UNINST_KEY}" "DisplayName" "ChromaFiler" + WriteRegStr SHCTX "${REG_UNINST_KEY}" "DisplayIcon" "$INSTDIR\ChromaFiler.exe,0" WriteRegStr SHCTX "${REG_UNINST_KEY}" "InstallLocation" "$INSTDIR" WriteRegStr SHCTX "${REG_UNINST_KEY}" "Publisher" "chroma zone" WriteRegStr SHCTX "${REG_UNINST_KEY}" "VersionMajor" "${PRODUCT_VERSION_1}" @@ -72,59 +72,59 @@ Section "chromafile" SecBase WriteRegDWORD SHCTX "${REG_UNINST_KEY}" "NoModify" 1 WriteRegDWORD SHCTX "${REG_UNINST_KEY}" "NoRepair" 1 - File ..\build\chromafile.exe + File ..\build\ChromaFiler.exe SectionEnd Section "Start Menu shortcut" SecStart ; SMPROGRAMS will be set by MultiUser - CreateShortcut /NoWorkingDir "$SMPROGRAMS\chromafile.lnk" "$INSTDIR\chromafile.exe" - !insertmacro ShortcutSetToastProperties "$SMPROGRAMS\chromafile.lnk" "{bcf1926f-5819-497a-93b6-dc2b165ddd9c}" "chroma.file" + CreateShortcut /NoWorkingDir "$SMPROGRAMS\ChromaFiler.lnk" "$INSTDIR\ChromaFiler.exe" + !insertmacro ShortcutSetToastProperties "$SMPROGRAMS\ChromaFiler.lnk" "{bcf1926f-5819-497a-93b6-dc2b165ddd9c}" "chroma.file" SectionEnd Section "Add to Open With menu" SecProgID SetRegView 64 - WriteRegStr SHCTX "Software\Classes\Applications\chromafile.exe\DefaultIcon" "" "C:\Windows\System32\imageres.dll,-102" - WriteRegStr SHCTX "Software\Classes\Applications\chromafile.exe\shell\open\command" "" '"$INSTDIR\chromafile.exe" "%1"' + WriteRegStr SHCTX "Software\Classes\Applications\ChromaFiler.exe\DefaultIcon" "" "C:\Windows\System32\imageres.dll,-102" + WriteRegStr SHCTX "Software\Classes\Applications\ChromaFiler.exe\shell\open\command" "" '"$INSTDIR\ChromaFiler.exe" "%1"' SectionEnd Section "Add to folder context menu" SecContext SetRegView 64 Var /GLOBAL default_browser - ; clear shell defaults if NOT chromafile + ; clear shell defaults if NOT chromafiler ReadRegStr $default_browser SHCTX "Software\Classes\Directory\Shell" "" - StrCmp $default_browser "chromafile" +2 0 + StrCmp $default_browser "chromafiler" +2 0 WriteRegStr SHCTX "Software\Classes\Directory\Shell" "" "none" ReadRegStr $default_browser SHCTX "Software\Classes\CompressedFolder\Shell" "" - StrCmp $default_browser "chromafile" +2 0 + StrCmp $default_browser "chromafiler" +2 0 WriteRegStr SHCTX "Software\Classes\CompressedFolder\Shell" "" "none" ReadRegStr $default_browser SHCTX "Software\Classes\Drive\Shell" "" - StrCmp $default_browser "chromafile" +2 0 + StrCmp $default_browser "chromafiler" +2 0 WriteRegStr SHCTX "Software\Classes\Drive\Shell" "" "none" - WriteRegStr SHCTX Software\Classes\Directory\shell\chromafile "" "${CONTEXT_MENU_TEXT}" - WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafile "" "${CONTEXT_MENU_TEXT}" - WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafile "" "${CONTEXT_MENU_TEXT}" - WriteRegStr SHCTX Software\Classes\Drive\shell\chromafile "" "${CONTEXT_MENU_TEXT}" + WriteRegStr SHCTX Software\Classes\Directory\shell\chromafiler "" "${CONTEXT_MENU_TEXT}" + WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafiler "" "${CONTEXT_MENU_TEXT}" + WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafiler "" "${CONTEXT_MENU_TEXT}" + WriteRegStr SHCTX Software\Classes\Drive\shell\chromafiler "" "${CONTEXT_MENU_TEXT}" - WriteRegStr SHCTX Software\Classes\Directory\shell\chromafile "Icon" "$INSTDIR\chromafile.exe" - WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafile "Icon" "$INSTDIR\chromafile.exe" - WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafile "Icon" "$INSTDIR\chromafile.exe" - WriteRegStr SHCTX Software\Classes\Drive\shell\chromafile "Icon" "$INSTDIR\chromafile.exe" + WriteRegStr SHCTX Software\Classes\Directory\shell\chromafiler "Icon" "$INSTDIR\ChromaFiler.exe" + WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafiler "Icon" "$INSTDIR\ChromaFiler.exe" + WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafiler "Icon" "$INSTDIR\ChromaFiler.exe" + WriteRegStr SHCTX Software\Classes\Drive\shell\chromafiler "Icon" "$INSTDIR\ChromaFiler.exe" Var /GLOBAL context_menu_command - StrCpy $context_menu_command '"$INSTDIR\chromafile.exe" "%v"' - WriteRegStr SHCTX Software\Classes\Directory\shell\chromafile\command "" '$context_menu_command' - WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafile\command "" '$context_menu_command' - WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafile\command "" '$context_menu_command' - WriteRegStr SHCTX Software\Classes\Drive\shell\chromafile\command "" '$context_menu_command' + StrCpy $context_menu_command '"$INSTDIR\ChromaFiler.exe" "%v"' + WriteRegStr SHCTX Software\Classes\Directory\shell\chromafiler\command "" '$context_menu_command' + WriteRegStr SHCTX Software\Classes\Directory\Background\shell\chromafiler\command "" '$context_menu_command' + WriteRegStr SHCTX Software\Classes\CompressedFolder\shell\chromafiler\command "" '$context_menu_command' + WriteRegStr SHCTX Software\Classes\Drive\shell\chromafiler\command "" '$context_menu_command' SectionEnd Function StartProgram ; TODO will this work on non-English systems? InitPluginsDir File "/ONAME=$PLUGINSDIR\ShellExecAsUser.dll" "plugins\ShellExecAsUser.dll" - CallAnsiPlugin::Call "$PLUGINSDIR\ShellExecAsUser.dll" ShellExecAsUser 2 "" '$INSTDIR\chromafile.exe' + CallAnsiPlugin::Call "$PLUGINSDIR\ShellExecAsUser.dll" ShellExecAsUser 2 "" '$INSTDIR\ChromaFiler.exe' FunctionEnd Section "un.Uninstall" @@ -132,58 +132,59 @@ Section "un.Uninstall" RMDir $INSTDIR SetRegView 64 DeleteRegKey SHCTX "${REG_UNINST_KEY}" - DeleteRegKey SHCTX Software\chromafile - DeleteRegKey SHCTX "Software\Classes\Applications\chromafile.exe" - DeleteRegKey SHCTX Software\Classes\Directory\shell\chromafile - DeleteRegKey SHCTX Software\Classes\Directory\Background\shell\chromafile - DeleteRegKey SHCTX Software\Classes\CompressedFolder\shell\chromafile - DeleteRegKey SHCTX Software\Classes\Drive\shell\chromafile + DeleteRegKey SHCTX Software\ChromaFiler + DeleteRegKey SHCTX "Software\Classes\Applications\ChromaFiler.exe" + DeleteRegKey SHCTX Software\Classes\Directory\shell\chromafiler + DeleteRegKey SHCTX Software\Classes\Directory\Background\shell\chromafiler + DeleteRegKey SHCTX Software\Classes\CompressedFolder\shell\chromafiler + DeleteRegKey SHCTX Software\Classes\Drive\shell\chromafiler - Delete $SMPROGRAMS\chromafile.lnk + Delete $SMPROGRAMS\ChromaFiler.lnk ${If} $MultiUser.InstallMode == "CurrentUser" Call un.CleanupCurrentUser ${Else} - ${un.EnumUsersReg} un.CleanupUser chromafile.temp + ${un.EnumUsersReg} un.CleanupUser chromafiler.temp ${EndIf} SectionEnd Function un.CleanupCurrentUser - DeleteRegKey HKCU "Software\chromafile" - DeleteRegValue HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "chromafile" + DeleteRegKey HKCU "Software\ChromaFiler" + DeleteRegValue HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "ChromaFiler" - ; clear shell defaults if set to chromafile (reverse of SecContext) + ; clear shell defaults if set to chromafiler (reverse of SecContext) ReadRegStr $default_browser HKCU "Software\Classes\Directory\Shell" "" - StrCmp $default_browser "chromafile" 0 +2 + StrCmp $default_browser "chromafiler" 0 +2 WriteRegStr HKCU "Software\Classes\Directory\Shell" "" "none" ReadRegStr $default_browser HKCU "Software\Classes\CompressedFolder\Shell" "" - StrCmp $default_browser "chromafile" 0 +2 + StrCmp $default_browser "chromafiler" 0 +2 WriteRegStr HKCU "Software\Classes\CompressedFolder\Shell" "" "none" ReadRegStr $default_browser HKCU "Software\Classes\Drive\Shell" "" - StrCmp $default_browser "chromafile" 0 +2 + StrCmp $default_browser "chromafiler" 0 +2 WriteRegStr HKCU "Software\Classes\Drive\Shell" "" "none" FunctionEnd Function un.CleanupUser Pop $0 - DeleteRegKey HKU "$0\Software\chromafile" - DeleteRegValue HKU "$0\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "chromafile" + DeleteRegKey HKU "$0\Software\ChromaFiler" + DeleteRegValue HKU "$0\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "ChromaFiler" + ; clear shell defaults if set to chromafiler (reverse of SecContext) ReadRegStr $default_browser HKU "$0\Software\Classes\Directory\Shell" "" - StrCmp $default_browser "chromafile" 0 +2 + StrCmp $default_browser "chromafiler" 0 +2 WriteRegStr HKU "$0\Software\Classes\Directory\Shell" "" "none" ReadRegStr $default_browser HKU "$0\Software\Classes\CompressedFolder\Shell" "" - StrCmp $default_browser "chromafile" 0 +2 + StrCmp $default_browser "chromafiler" 0 +2 WriteRegStr HKU "$0\Software\Classes\CompressedFolder\Shell" "" "none" ReadRegStr $default_browser HKU "$0\Software\Classes\Drive\Shell" "" - StrCmp $default_browser "chromafile" 0 +2 + StrCmp $default_browser "chromafiler" 0 +2 WriteRegStr HKU "$0\Software\Classes\Drive\Shell" "" "none" FunctionEnd LangString DESC_SecBase ${LANG_ENGLISH} "The main application and required components." -LangString DESC_SecStart ${LANG_ENGLISH} "Add a shortcut to the Start Menu to launch chromafile." +LangString DESC_SecStart ${LANG_ENGLISH} "Add a shortcut to the Start Menu to launch ChromaFiler." LangString DESC_SecProgID ${LANG_ENGLISH} "Add an entry to the 'Open with' menu for all file types. (Does not change the default app for any file type.)" -LangString DESC_SecContext ${LANG_ENGLISH} "Add an 'Open in chromafile' command when right-clicking a folder." +LangString DESC_SecContext ${LANG_ENGLISH} "Add an 'Open in ChromaFiler' command when right-clicking a folder." !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_DESCRIPTION_TEXT ${SecBase} $(DESC_SecBase) diff --git a/src/COMUtils.cpp b/src/COMUtils.cpp index ec5ab99..cd9820c 100644 --- a/src/COMUtils.cpp +++ b/src/COMUtils.cpp @@ -1,7 +1,7 @@ #include "COMUtils.h" #include -namespace chromafile { +namespace chromafiler { // https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/implementing-iunknown-in-c-plus-plus diff --git a/src/COMUtils.h b/src/COMUtils.h index b7884c6..f32540a 100644 --- a/src/COMUtils.h +++ b/src/COMUtils.h @@ -3,7 +3,7 @@ #include -namespace chromafile { +namespace chromafiler { class IUnknownImpl : public IUnknown { public: diff --git a/src/CreateItemWindow.cpp b/src/CreateItemWindow.cpp index 8d8d881..7ad1b18 100644 --- a/src/CreateItemWindow.cpp +++ b/src/CreateItemWindow.cpp @@ -10,7 +10,7 @@ #include #include -namespace chromafile { +namespace chromafiler { const wchar_t IPreviewHandlerIID[] = L"{8895b1c6-b41f-4c1c-a562-0d564250836f}"; const wchar_t CONTROL_PANEL_PATH[] = L"::{26EE0668-A00A-44D7-9371-BEB064C98683}"; diff --git a/src/CreateItemWindow.h b/src/CreateItemWindow.h index 6cf84fd..c476069 100644 --- a/src/CreateItemWindow.h +++ b/src/CreateItemWindow.h @@ -3,7 +3,7 @@ #include "ItemWindow.h" -namespace chromafile { +namespace chromafiler { void initCreateItemWindow(); CComPtr createItemWindow(CComPtr parent, CComPtr item); diff --git a/src/DPI.cpp b/src/DPI.cpp index f17c251..864f167 100644 --- a/src/DPI.cpp +++ b/src/DPI.cpp @@ -1,6 +1,6 @@ #include "DPI.h" -namespace chromafile { +namespace chromafiler { // https://github.com/tringi/win32-dpi diff --git a/src/DPI.h b/src/DPI.h index 935f1bc..1d72539 100644 --- a/src/DPI.h +++ b/src/DPI.h @@ -3,7 +3,7 @@ #include -namespace chromafile { +namespace chromafiler { // modern DPI scaling methods were added in Windows 10 1607, but we are targeting Windows 7 diff --git a/src/FolderWindow.cpp b/src/FolderWindow.cpp index 70c8019..d8d4ad5 100644 --- a/src/FolderWindow.cpp +++ b/src/FolderWindow.cpp @@ -12,7 +12,7 @@ // Example of how to host an IExplorerBrowser: // https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/Win7Samples/winui/shell/appplatform/ExplorerBrowserCustomContents -namespace chromafile { +namespace chromafiler { const wchar_t FOLDER_WINDOW_CLASS[] = L"Folder Window"; diff --git a/src/FolderWindow.h b/src/FolderWindow.h index 4fc3163..0d60fdb 100644 --- a/src/FolderWindow.h +++ b/src/FolderWindow.h @@ -3,7 +3,7 @@ #include "ItemWindow.h" -namespace chromafile { +namespace chromafiler { class FolderWindow : public ItemWindow, public IServiceProvider, public ICommDlgBrowser2, public IExplorerBrowserEvents { diff --git a/src/GDIUtils.cpp b/src/GDIUtils.cpp index 511b0b3..35e1526 100644 --- a/src/GDIUtils.cpp +++ b/src/GDIUtils.cpp @@ -3,7 +3,7 @@ #include #include -namespace chromafile { +namespace chromafiler { void makeBitmapOpaque(HDC hdc, const RECT &rect) { // https://devblogs.microsoft.com/oldnewthing/20210915-00/?p=105687 diff --git a/src/GDIUtils.h b/src/GDIUtils.h index 8030ef8..74da773 100644 --- a/src/GDIUtils.h +++ b/src/GDIUtils.h @@ -3,7 +3,7 @@ #include -namespace chromafile { +namespace chromafiler { void makeBitmapOpaque(HDC hdc, const RECT &rect); HBITMAP iconToPARGB32Bitmap(HICON icon, int width, int height); diff --git a/src/ItemWindow.cpp b/src/ItemWindow.cpp index 84383f8..31e4acb 100644 --- a/src/ItemWindow.cpp +++ b/src/ItemWindow.cpp @@ -15,7 +15,7 @@ #include #include -namespace chromafile { +namespace chromafiler { const wchar_t CHAIN_OWNER_CLASS[] = L"Chain"; const wchar_t WINDOW_THEME[] = L"CompositedWindow::Window"; @@ -729,7 +729,7 @@ bool ItemWindow::onCommand(WORD command) { return true; } case IDM_HELP: - ShellExecute(nullptr, L"open", L"https://github.com/vanjac/chromafile/wiki", + ShellExecute(nullptr, L"open", L"https://github.com/vanjac/chromafiler/wiki", nullptr, nullptr, SW_SHOWNORMAL); return true; case IDM_SETTINGS: diff --git a/src/ItemWindow.h b/src/ItemWindow.h index a268c6e..3738f3d 100644 --- a/src/ItemWindow.h +++ b/src/ItemWindow.h @@ -7,7 +7,7 @@ #include #include -namespace chromafile { +namespace chromafiler { class ItemWindow; diff --git a/src/PreviewWindow.cpp b/src/PreviewWindow.cpp index 1fa4df0..ac70f48 100644 --- a/src/PreviewWindow.cpp +++ b/src/PreviewWindow.cpp @@ -20,7 +20,7 @@ struct std::hash { // https://geelaw.blog/entries/ipreviewhandlerframe-wpf-2-interop/ -namespace chromafile { +namespace chromafiler { const wchar_t PREVIEW_WINDOW_CLASS[] = L"Preview Window"; const wchar_t PREVIEW_CONTAINER_CLASS[] = L"Preview Container"; diff --git a/src/PreviewWindow.h b/src/PreviewWindow.h index c28edcd..97fbe9c 100644 --- a/src/PreviewWindow.h +++ b/src/PreviewWindow.h @@ -3,7 +3,7 @@ #include "ItemWindow.h" -namespace chromafile { +namespace chromafiler { class PreviewWindow : public ItemWindow, public IPreviewHandlerFrame { diff --git a/src/RectUtils.h b/src/RectUtils.h index fb4cc98..4396c37 100644 --- a/src/RectUtils.h +++ b/src/RectUtils.h @@ -3,7 +3,7 @@ #include -namespace chromafile { +namespace chromafiler { constexpr int rectWidth(const RECT &rect) { return rect.right - rect.left; diff --git a/src/Settings.cpp b/src/Settings.cpp index 23b87b5..f785895 100644 --- a/src/Settings.cpp +++ b/src/Settings.cpp @@ -1,10 +1,10 @@ #include "Settings.h" #include -namespace chromafile { +namespace chromafiler { namespace settings { -const wchar_t KEY_SETTINGS[] = L"Software\\chromafile"; +const wchar_t KEY_SETTINGS[] = L"Software\\ChromaFiler"; const wchar_t VAL_LAST_OPENED_VERSION[] = L"LastOpenedVersion"; const wchar_t VAL_STARTING_FOLDER[] = L"StartingFolder"; @@ -34,12 +34,12 @@ const wchar_t VAL_TRAY_H[] = L"TrayHeight"; const wchar_t VAL_TRAY_DIRECTION[] = L"TrayDirection"; const wchar_t KEY_STARTUP[] = L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"; -const wchar_t VAL_STARTUP[] = L"chromafile"; -const wchar_t KEY_DIRECTORY_VERB[] = L"Directory\\shell\\chromafile"; +const wchar_t VAL_STARTUP[] = L"ChromaFiler"; +const wchar_t KEY_DIRECTORY_VERB[] = L"Directory\\shell\\chromafiler"; const wchar_t KEY_DIRECTORY_BROWSER[] = L"Software\\Classes\\Directory\\Shell"; const wchar_t KEY_COMPRESSED_BROWSER[] = L"Software\\Classes\\CompressedFolder\\Shell"; const wchar_t KEY_DRIVE_BROWSER[] = L"Software\\Classes\\Drive\\Shell"; -const wchar_t DATA_BROWSER_SET[] = L"chromafile"; +const wchar_t DATA_BROWSER_SET[] = L"chromafiler"; const wchar_t DATA_BROWSER_CLEAR[] = L"none"; // type should be a RRF_RT_* constant diff --git a/src/Settings.h b/src/Settings.h index 7933fae..c6e70ec 100644 --- a/src/Settings.h +++ b/src/Settings.h @@ -4,7 +4,7 @@ #include #include -namespace chromafile { +namespace chromafiler { namespace settings { enum TrayDirection : DWORD { TRAY_UP, TRAY_DOWN, TRAY_RIGHT }; diff --git a/src/SettingsDialog.cpp b/src/SettingsDialog.cpp index 1818c6a..b83536f 100644 --- a/src/SettingsDialog.cpp +++ b/src/SettingsDialog.cpp @@ -13,7 +13,7 @@ #include #include -namespace chromafile { +namespace chromafiler { const wchar_t *SPECIAL_PATHS[] = { L"shell:Desktop", @@ -97,7 +97,7 @@ INT_PTR CALLBACK generalProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPar return TRUE; } else if (notif->code == PSN_HELP) { ShellExecute(nullptr, L"open", - L"https://github.com/vanjac/chromafile/wiki/Settings#general", + L"https://github.com/vanjac/chromafiler/wiki/Settings#general", nullptr, nullptr, SW_SHOWNORMAL); return TRUE; } @@ -181,7 +181,7 @@ INT_PTR CALLBACK textProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) return TRUE; } else if (notif->code == PSN_HELP) { ShellExecute(nullptr, L"open", - L"https://github.com/vanjac/chromafile/wiki/Settings#text-editor", + L"https://github.com/vanjac/chromafiler/wiki/Settings#text-editor", nullptr, nullptr, SW_SHOWNORMAL); return TRUE; } @@ -284,7 +284,7 @@ INT_PTR CALLBACK trayProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) return TRUE; } else if (notif->code == PSN_HELP) { ShellExecute(nullptr, L"open", - L"https://github.com/vanjac/chromafile/wiki/Settings#tray", + L"https://github.com/vanjac/chromafiler/wiki/Settings#tray", nullptr, nullptr, SW_SHOWNORMAL); return TRUE; } @@ -349,7 +349,7 @@ INT_PTR CALLBACK browserProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPar return TRUE; } else if (notif->code == PSN_HELP) { ShellExecute(nullptr, L"open", - L"https://github.com/vanjac/chromafile/wiki/Settings#default-browser", + L"https://github.com/vanjac/chromafiler/wiki/Settings#default-browser", nullptr, nullptr, SW_SHOWNORMAL); return TRUE; } @@ -399,15 +399,15 @@ INT_PTR CALLBACK aboutProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam } case WM_COMMAND: if (LOWORD(wParam) == IDC_UPDATES_LINK && HIWORD(wParam) == BN_CLICKED) { - ShellExecute(nullptr, L"open", L"https://github.com/vanjac/chromafile/releases", + ShellExecute(nullptr, L"open", L"https://github.com/vanjac/chromafiler/releases", nullptr, nullptr, SW_SHOWNORMAL); return TRUE; } else if (LOWORD(wParam) == IDC_HELP_LINK && HIWORD(wParam) == BN_CLICKED) { - ShellExecute(nullptr, L"open", L"https://github.com/vanjac/chromafile/wiki", + ShellExecute(nullptr, L"open", L"https://github.com/vanjac/chromafiler/wiki", nullptr, nullptr, SW_SHOWNORMAL); return TRUE; } else if (LOWORD(wParam) == IDC_SOURCE_LINK && HIWORD(wParam) == BN_CLICKED) { - ShellExecute(nullptr, L"open", L"https://github.com/vanjac/chromafile", + ShellExecute(nullptr, L"open", L"https://github.com/vanjac/chromafiler", nullptr, nullptr, SW_SHOWNORMAL); return TRUE; } diff --git a/src/SettingsDialog.h b/src/SettingsDialog.h index 5c994a4..65d0ea2 100644 --- a/src/SettingsDialog.h +++ b/src/SettingsDialog.h @@ -3,7 +3,7 @@ #include -namespace chromafile { +namespace chromafiler { enum SettingsPage { SETTINGS_GENERAL, SETTINGS_TEXT, SETTINGS_TRAY, SETTINGS_BROWSER, SETTINGS_ABOUT, diff --git a/src/TextWindow.cpp b/src/TextWindow.cpp index 5b7c3b1..26a55ab 100644 --- a/src/TextWindow.cpp +++ b/src/TextWindow.cpp @@ -7,7 +7,7 @@ #include #include -namespace chromafile { +namespace chromafiler { const wchar_t TEXT_WINDOW_CLASS[] = L"Text Window"; @@ -30,7 +30,7 @@ void TextWindow::init() { textAccelTable = LoadAccelerators(GetModuleHandle(nullptr), MAKEINTRESOURCE(IDR_TEXT_ACCEL)); - updateSettingsMessage = checkLE(RegisterWindowMessage(L"chromafile_TextUpdateSettings")); + updateSettingsMessage = checkLE(RegisterWindowMessage(L"chromafiler_TextUpdateSettings")); findReplaceMessage = checkLE(RegisterWindowMessage(FINDMSGSTRING)); } diff --git a/src/TextWindow.h b/src/TextWindow.h index e470be2..fa764b2 100644 --- a/src/TextWindow.h +++ b/src/TextWindow.h @@ -5,7 +5,7 @@ #include #include -namespace chromafile { +namespace chromafiler { class TextWindow : public ItemWindow { public: diff --git a/src/ThumbnailWindow.cpp b/src/ThumbnailWindow.cpp index 07af26d..f402dc6 100644 --- a/src/ThumbnailWindow.cpp +++ b/src/ThumbnailWindow.cpp @@ -3,7 +3,7 @@ #include "GDIUtils.h" #include -namespace chromafile { +namespace chromafiler { const wchar_t THUMBNAIL_WINDOW_CLASS[] = L"Thumbnail Window"; diff --git a/src/ThumbnailWindow.h b/src/ThumbnailWindow.h index b2a7574..8b8bc07 100644 --- a/src/ThumbnailWindow.h +++ b/src/ThumbnailWindow.h @@ -3,7 +3,7 @@ #include "ItemWindow.h" -namespace chromafile { +namespace chromafiler { class ThumbnailWindow : public ItemWindow { public: diff --git a/src/TrayWindow.cpp b/src/TrayWindow.cpp index 3b549b9..70eff5b 100644 --- a/src/TrayWindow.cpp +++ b/src/TrayWindow.cpp @@ -6,7 +6,7 @@ #include #include -namespace chromafile { +namespace chromafiler { const wchar_t TRAY_WINDOW_CLASS[] = L"Tray"; const wchar_t MOVE_GRIP_CLASS[] = L"Move Grip"; diff --git a/src/TrayWindow.h b/src/TrayWindow.h index 116b10e..cca005b 100644 --- a/src/TrayWindow.h +++ b/src/TrayWindow.h @@ -3,7 +3,7 @@ #include "FolderWindow.h" -namespace chromafile { +namespace chromafiler { // about the name: https://devblogs.microsoft.com/oldnewthing/20030910-00/?p=42583 class TrayWindow : public FolderWindow { diff --git a/src/UIStrings.cpp b/src/UIStrings.cpp index 296b470..762f5fa 100644 --- a/src/UIStrings.cpp +++ b/src/UIStrings.cpp @@ -1,7 +1,7 @@ #include "UIStrings.h" #include "DPI.h" -namespace chromafile { +namespace chromafiler { bool formatMessage(LocalHeapPtr &message, DWORD messageId, ...) { // https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-formatmessage#examples diff --git a/src/UIStrings.h b/src/UIStrings.h index 5809fda..f0a734a 100644 --- a/src/UIStrings.h +++ b/src/UIStrings.h @@ -5,7 +5,7 @@ #include #include -namespace chromafile { +namespace chromafiler { class LocalAllocator { public: diff --git a/src/common.h b/src/common.h index 7d46ba3..22f2fc6 100644 --- a/src/common.h +++ b/src/common.h @@ -12,7 +12,7 @@ #define _WIN32_WINNT 0x0601 -#ifdef CHROMAFILE_DEBUG +#ifdef CHROMAFILER_DEBUG #define debugPrintf wprintf // use checkHR instead of SUCCEEDED when you expect the call to succeed #define checkHR(hr) logHRESULT((hr), __FILE__, __LINE__, #hr) @@ -31,7 +31,7 @@ T checkLETemplate(T result, const char *file, int line, const char *expr) { #define checkLE(expr) (expr) #endif -#ifdef CHROMAFILE_MEMLEAKS +#ifdef CHROMAFILER_MEMLEAKS // https://docs.microsoft.com/en-us/visualstudio/debugger/finding-memory-leaks-using-the-crt-library #define _CRTDBG_MAP_ALLOC #include diff --git a/src/main.cpp b/src/main.cpp index 9db7fac..568e78c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,12 +21,12 @@ #pragma comment(lib, "Comctl32.lib") #pragma comment(lib, "Comdlg32.lib") -using namespace chromafile; +using namespace chromafiler; const wchar_t APP_ID[] = L"chroma.file"; const wchar_t SHELL_PREFIX[] = L"shell:"; -#ifdef CHROMAFILE_DEBUG +#ifdef CHROMAFILER_DEBUG int main(int, char**) { return wWinMain(nullptr, nullptr, nullptr, SW_SHOWNORMAL); } @@ -56,7 +56,7 @@ DWORD WINAPI updateJumpList(void *); int WINAPI wWinMain(HINSTANCE, HINSTANCE, PWSTR, int showCommand) { OutputDebugString(L"hiiiii ^w^\n"); // DO NOT REMOVE!! -#ifdef CHROMAFILE_MEMLEAKS +#ifdef CHROMAFILER_MEMLEAKS _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); debugPrintf(L"Compiled with memory leak detection\n"); #endif @@ -170,7 +170,7 @@ int WINAPI wWinMain(HINSTANCE, HINSTANCE, PWSTR, int showCommand) { DWORD WINAPI checkLastVersion(void *) { DWORD lastVersion = settings::getLastOpenedVersion(); - DWORD curVersion = settings::makeVersion(CHROMAFILE_VERSION); + DWORD curVersion = settings::makeVersion(CHROMAFILER_VERSION); if (lastVersion != curVersion) { settings::setLastOpenedVersion(curVersion); if (lastVersion == settings::DEFAULT_LAST_OPENED_VERSION) @@ -201,7 +201,7 @@ void showWelcomeDialog() { HRESULT welcomeDialogCallback(HWND hwnd, UINT msg, WPARAM wParam, LPARAM, LONG_PTR) { if (msg == TDN_BUTTON_CLICKED && wParam == IDS_WELCOME_TUTORIAL) { - ShellExecute(nullptr, L"open", L"https://github.com/vanjac/chromafile/wiki/Tutorial", + ShellExecute(nullptr, L"open", L"https://github.com/vanjac/chromafiler/wiki/Tutorial", nullptr, nullptr, SW_SHOWNORMAL); return S_FALSE; } else if (msg == TDN_BUTTON_CLICKED && wParam == IDS_WELCOME_TRAY) { @@ -210,7 +210,7 @@ HRESULT welcomeDialogCallback(HWND hwnd, UINT msg, WPARAM wParam, LPARAM, LONG_P if (checkLE(GetModuleFileName(GetModuleHandle(nullptr), exePath, MAX_PATH))) { STARTUPINFO startup = {sizeof(startup)}; PROCESS_INFORMATION info = {}; - checkLE(CreateProcess(exePath, L"chromafile.exe /tray", nullptr, nullptr, FALSE, + checkLE(CreateProcess(exePath, L"ChromaFiler.exe /tray", nullptr, nullptr, FALSE, DETACHED_PROCESS, nullptr, nullptr, &startup, &info)); checkLE(CloseHandle(info.hProcess)); checkLE(CloseHandle(info.hThread)); @@ -273,7 +273,7 @@ DWORD WINAPI updateJumpList(void *) { return 0; } -namespace chromafile { +namespace chromafiler { long numOpenWindows; void windowOpened() { diff --git a/src/main.h b/src/main.h index 4b19f94..bed2cbd 100644 --- a/src/main.h +++ b/src/main.h @@ -1,7 +1,7 @@ #pragma once #include -namespace chromafile { +namespace chromafiler { // app exits when all windows are closed void windowOpened(); diff --git a/src/res/chromafile.exe.manifest b/src/res/ChromaFiler.exe.manifest similarity index 100% rename from src/res/chromafile.exe.manifest rename to src/res/ChromaFiler.exe.manifest diff --git a/src/resource.h b/src/resource.h index d5b2665..09df3fa 100644 --- a/src/resource.h +++ b/src/resource.h @@ -1,5 +1,5 @@ -#define CHROMAFILE_VERSION 0,3,0,0 -#define CHROMAFILE_VERSION_STRING "0.3.0\0" +#define CHROMAFILER_VERSION 0,3,0,0 +#define CHROMAFILER_VERSION_STRING "0.3.0\0" #define IDR_RT_MANIFEST1 1 // must be 1 for an exe diff --git a/src/resource.rc b/src/resource.rc index 43f9731..7900e96 100644 --- a/src/resource.rc +++ b/src/resource.rc @@ -4,19 +4,19 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT 1 VERSIONINFO - FILEVERSION CHROMAFILE_VERSION - PRODUCTVERSION CHROMAFILE_VERSION + FILEVERSION CHROMAFILER_VERSION + PRODUCTVERSION CHROMAFILER_VERSION FILEOS VOS_NT_WINDOWS32 FILETYPE VFT_APP { BLOCK "StringFileInfo" { BLOCK "040904B0" { VALUE "CompanyName", "chroma zone\0" - VALUE "FileDescription", "chromafile\0" - VALUE "FileVersion", CHROMAFILE_VERSION_STRING + VALUE "FileDescription", "ChromaFiler\0" + VALUE "FileVersion", CHROMAFILER_VERSION_STRING VALUE "LegalCopyright", "Copyright (c) J. van't Hoog\0" - VALUE "ProductName", "chromafile\0" - VALUE "ProductVersion", CHROMAFILE_VERSION_STRING + VALUE "ProductName", "ChromaFiler\0" + VALUE "ProductVersion", CHROMAFILER_VERSION_STRING } } BLOCK "VarFileInfo" { @@ -24,7 +24,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT } } -IDR_RT_MANIFEST1 RT_MANIFEST "res\\chromafile.exe.manifest" +IDR_RT_MANIFEST1 RT_MANIFEST "res\\ChromaFiler.exe.manifest" IDR_APP_ICON ICON "res\\folder.ico" @@ -110,7 +110,7 @@ IDD_SETTINGS_GENERAL DIALOGEX GROUPBOX "Previews", -1, 117, 105, 103, 49 AUTOCHECKBOX "Use Preview &Handlers", IDC_PREVIEWS_ENABLED, 124, 119, 89, 14 GROUPBOX "File Explorer options", -1, 7, 161, 213, 35 - LTEXT "Some File Explorer options also affect chromafile folder windows.", -1, 14, 175, 136, 16 + LTEXT "Some File Explorer options also affect ChromaFiler folder windows.", -1, 14, 175, 136, 16 PUSHBUTTON "&Options...", IDC_EXPLORER_SETTINGS, 157, 175, 56, 14 } @@ -170,16 +170,16 @@ IDD_SETTINGS_ABOUT DIALOGEX CAPTION "About" FONT 8, "MS Shell Dlg", 400, 0, 0x0 { ICON IDR_APP_ICON, -1, 7, 7, 0, 0 - LTEXT "chromafile", -1, 35, 7, 49, 8 + LTEXT "ChromaFiler", -1, 35, 7, 49, 8 LTEXT "Version:", -1, 35, 15, 28, 8 - LTEXT CHROMAFILE_VERSION_STRING, -1, 70, 15, 28, 8 + LTEXT CHROMAFILER_VERSION_STRING, -1, 70, 15, 28, 8 PUSHBUTTON "Latest updates", IDC_UPDATES_LINK, 7, 28, 66, 14 PUSHBUTTON "Help", IDC_HELP_LINK, 80, 28, 66, 14 PUSHBUTTON "Source code", IDC_SOURCE_LINK, 153, 28, 66, 14 } STRINGTABLE { - IDS_SETTINGS_CAPTION, "chromafile Settings" + IDS_SETTINGS_CAPTION, "ChromaFiler Settings" IDS_SETTINGS_COMMAND, "Settings" IDS_REFRESH_COMMAND, "Refresh" @@ -196,14 +196,14 @@ STRINGTABLE { IDS_SUCCESS_CAPTION "Success" IDS_CONFIRM_CAPTION "Are you sure?" IDS_BROWSER_SET_FAILED "Failed to set default browser" - IDS_BROWSER_SET "chromafile has been set as your default browser." + IDS_BROWSER_SET "ChromaFiler has been set as your default browser." IDS_BROWSER_RESET "File Explorer has been restored as your default browser." - IDS_REQUIRE_CONTEXT "chromafile must be installed with the Folder Context Menu enabled to be able to change the default browser." + IDS_REQUIRE_CONTEXT "ChromaFiler must be installed with the Folder Context Menu enabled to be able to change the default browser." IDS_BROWSER_SET_CONFIRM "This will replace File Explorer as the default program for opening folders. Use at your own risk!" - IDS_WELCOME_CAPTION "chromafile" + IDS_WELCOME_CAPTION "ChromaFiler" IDS_WELCOME_HEADER "Welcome" - IDS_WELCOME_BODY "This appears to be your first time using chromafile." + IDS_WELCOME_BODY "This appears to be your first time using ChromaFiler." IDS_WELCOME_TUTORIAL "Read Tutorial\nRecommended for first-time users" IDS_WELCOME_TRAY "Enable Tray\nFloating toolbar with quick access to folders" IDS_WELCOME_BROWSER "Make default file browser\nReplace File Explorer as your default browser"