mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-23 23:21:05 +01:00
95843ded88
* Initial refactor * Remove unused imports * Update code * Refactor and Update Code - Change file names to kebab-caase - Add new useTranslation Hook - Change useLog hook name to useLogger - Update translation hook to provide autocomplete * Update import and component name * Rename files and components * Update locales * Update electron commands * Update var * Change Lowercase * Replace filter with map * Add props * Update flag check * Add validate paths * Update formats * Update import * Update function * Update function and translation * Update handlePaste
31 lines
1.3 KiB
TypeScript
31 lines
1.3 KiB
TypeScript
const ELECTRON_COMMANDS = {
|
|
SELECT_FILE: "Select a File",
|
|
SELECT_FOLDER: "Select a Folder",
|
|
UPSCAYL: "Upscale the Image",
|
|
UPSCAYL_DONE: "Upscaling Done",
|
|
UPSCAYL_PROGRESS: "Send Progress from Main to Renderer",
|
|
DOUBLE_UPSCAYL: "Double Upscale the Image",
|
|
DOUBLE_UPSCAYL_DONE: "Double Upscaling Done",
|
|
DOUBLE_UPSCAYL_PROGRESS: "Send Double Upscayl Progress from Main to Renderer",
|
|
FOLDER_UPSCAYL: "Upscale a Folder",
|
|
FOLDER_UPSCAYL_DONE: "Folder upscaling successful",
|
|
FOLDER_UPSCAYL_PROGRESS:
|
|
"Send Folder Upscaling Progress from Main to Renderer",
|
|
OPEN_FOLDER: "Open Folder",
|
|
UPSCAYL_VIDEO: "Upscale the Video",
|
|
UPSCAYL_VIDEO_DONE: "Video Upscaling Done",
|
|
UPSCAYL_VIDEO_PROGRESS: "Send Video Upscale Progress from Main to Renderer",
|
|
FFMPEG_VIDEO_DONE: "Ran FFMpeg successfully",
|
|
FFMPEG_VIDEO_PROGRESS: "Running FFMpeg for frame extraction",
|
|
SELECT_CUSTOM_MODEL_FOLDER: "Select a Custom Model Folder",
|
|
GET_MODELS_LIST: "Send models list from main to renderer",
|
|
CUSTOM_MODEL_FILES_LIST: "Send custom model files list to renderer",
|
|
LOG: "Log",
|
|
STOP: "Stop the current operation",
|
|
OS: "Get OS",
|
|
SCALING_AND_CONVERTING: "Adding some finishing touches",
|
|
UPSCAYL_ERROR: "Upscaling Error",
|
|
} as const;
|
|
|
|
export { ELECTRON_COMMANDS };
|