diff --git a/CMakeLists.txt b/CMakeLists.txt index 8898bdd300..f555879da3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ else() FetchContent_Declare( qtColorWidgets GIT_REPOSITORY https://gitlab.com/mattbas/Qt-Color-Widgets.git - GIT_TAG 352bc8f99bf2174d5724ee70623427aa31ddc26a + GIT_TAG 4f3c7e2af8e3138d89533475af66df42ccf08ef8 ) #Workaround for duplicate GUID in windows WIX installer if(WIN32) diff --git a/data/translations/Internationalization_km.ts b/data/translations/Internationalization_km.ts new file mode 100644 index 0000000000..b64d46b84f --- /dev/null +++ b/data/translations/Internationalization_km.ts @@ -0,0 +1,3156 @@ + + + + + AbstractWidgetList + + + Add New + + + + + Move Up + + + + + Move Down + + + + + Remove + + + + + AcceptTool + + + Accept + + + + + Accept the capture + + + + + AppLauncher + + + App Launcher + + + + + Choose an app to open the capture + + + + + AppLauncherWidget + + + Open With + + + + + Launch in terminal + + + + + Keep open after selection + + + + + + Error + + + + + Unable to launch in terminal. + + + + + Unable to write in + + + + + ArrowTool + + + Arrow + + + + + Set the Arrow as the paint tool + + + + + BlurTool + + Blur + Desenfocament + + + Set Blur as the paint tool + Estableix el desenfocament com a eina de dibuix + + + + CaptureLauncher + + <b>Capture Mode</b> + <b>Mode de captura</b> + + + + Rectangular Region + + + + + Full Screen (Current Display) + + + + + Full Screen (All Monitors) + + + + + No Delay + + + + + second + + + + + + + seconds + + + + + + Take new screenshot + + + + + + Area: + + + + + + Capture Launcher + + + + + + TextLabel + + + + + + Capture Mode + + + + + + Delay: + + + + + + WxH+x+y + + + + + CaptureWidget + + + Unable to capture screen + Impossible capturar la pantalla + + + + + Mouse + + + + + Select screenshot area + + + + + Mouse Wheel + + + + + Change tool size + + + + + Right Click + + + + + Show color picker + + + + + Open side panel + + + + + Esc + + + + + Exit + + + + + Quit Capture + + + + + Are you sure you want to quit capture? + + + + + Do not show this again + + + + + Flameshot has lost focus. Keyboard shortcuts won't work until you click somewhere. + + + + + Configuration error resolved. Launch `flameshot gui` again to apply it. + + + + Select an area with the mouse, or press Esc to exit. +Press Enter to capture the screen. +Press Right Click to show the color picker. +Use the Mouse Wheel to change the thickness of your tool. +Press Space to open the side panel. + Escolliu una àrea amb el ratolí, o premeu Esc per sortir. +Premeu Entrar per capturar la pantalla. +Premeu clic dret per mostrar l'eina de selecció de color. +Gireu la rodeta del ratolí per canviar el gruix de l'eina de dibuix. +Premeu Espai per obrir el calaix lateral. + + + + Tool Settings + + + + + CircleCountTool + + + Circle Counter + + + + + Add an autoincrementing counter bubble + + + + + CircleTool + + + Circle + + + + + Set the Circle as the paint tool + + + + + ColorDialog + + + + Select Color + + + + + + Saturation + + + + + + Hue + + + + + + Hex + + + + + + Blue + + + + + + Value + + + + + + Green + + + + + + Alpha + + + + + + Red + + + + + ColorGrabWidget + + + Accept color + + + + + Enter or Left Click + + + + + Precisely select color + + + + + Hold Left Click + + + + + Toggle magnifier + + + + + Space or Right Click + + + + + Cancel + + + + + Esc + + + + + ColorPickerEditor + + + Edit Preset: + + + + + Enter color to update preset + + + + + Update + + + + + Press button to update the selected preset + + + + + Delete + + + + + Press button to delete the selected preset + + + + + Add Preset: + + + + + Enter color manually or select it using the color-wheel + + + + + Add + + + + + Press button to add preset + + + + + + Error + + + + + Unable to add preset. Maximum limit reached. + + + + + Unable to remove preset. Minimum limit reached. + + + + + ConfigErrorDetails + + + Configuration errors + + + + + ConfigHandler + + + Unrecognized setting: '%1' + + + + + + Unrecognized shortcut name: '%1'. + + + + + + Shortcut conflict: '%1' and '%2' have the same shortcut: %3 + + + + + + Bad value in '%1'. Expected: %2 + + + + + + You have successfully resolved the configuration error. + + + + + The configuration contains an error. Open configuration to resolve. + + + + + Bad config key '%1' in ConfigHandler. Please report this as a bug. + + + + + ConfigResolver + + + Resolve configuration errors + + + + + <b>You must resolve all errors before continuing:</b> + + + + + Reset + + + + + Reset to the default value. + + + + + Remove + + + + + Remove this setting. + + + + + Some keyboard shortcuts have conflicts. +This will NOT prevent flameshot from starting. +Please solve them manually in the configuration file. + + + + + Resolve all + + + + + Resolve all listed errors. + + + + + Details + + + + + ConfigWindow + + + Configuration + + + + + Interface + + + + + Filename Editor + + + + + General + + + + + Shortcuts + + + + + Resolve + + + + + <b>Configuration file has errors. Resolve them before continuing.</b> + + + + + Controller + + New version %1 is available + La nova versió %1 ja és disponible + + + You have the latest version + Teniu la versió més recent + + + Failed to get information about the latest version. + Error a l'intentar obtenir informació sobre actualitzacions. + + + Error + Error + + + Unable to close active modal widgets + No s'han pogut tancar els widgets modals actius + + + &Open Launcher + &Obre el llançador d'aplicacions + + + &Configuration + &Ajustaments + + + &About + &Quant a + + + Check for updates + Comprova si hi ha actualitzacions disponibles + + + &Latest Uploads + &Últimes càrregues + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + &Information + &Informació + + + &Quit + &Surt + + + &Take Screenshot + &Captura + + + + CopyTool + + + Copy + + + + + Copy selection to clipboard + + + + Copy the selection into the clipboard + Copia la selecció al porta-retalls + + + + DBusUtils + + Unable to connect via DBus + No s'ha pogut connectar mitjançant DBus + + + + ExitTool + + + Exit + + + + + Leave the capture screen + + + + + FileNameEditor + + + Edit the name of your captures: + + + + + Edit: + + + + + Preview: + + + + + Save + + + + + Saves the pattern + + + + + Restore + + + + Reset + Reinicialitza + + + + Restores the saved pattern + + + + + Clear + + + + + Deletes the name + + + + + Flameshot + + + Error + + + + + Unable to close active modal widgets + + + + + URL copied to clipboard. + + + + + FlameshotDaemon + + + New version %1 is available + + + + + You have the latest version + + + + + Failed to get information about the latest version. + + + + + Unable to connect via DBus + + + + + GeneneralConf + + Show help message + Mostra el missatge d'ajuda + + + Show the help message at the beginning in the capture mode. + Mostra el missatge d'ajuda en iniciar el mode de captura. + + + Show desktop notifications + Mostra les notificacions d'escriptori + + + Show tray icon + Mostra la icona en la barra de tasques + + + Show the systemtray icon + Mostra la icona en la barra de tasques + + + Import + Importar + + + Error + Error + + + Unable to read file. + Impossible llegir el fitxer. + + + Unable to write file. + Impossible escriure al fitxer. + + + Save File + Guardar Arxiu + + + Confirm Reset + Confirmar Reset + + + Are you sure you want to reset the configuration? + Esteu segur que voleu reiniciar la configuració? + + + Configuration File + Fitxer de Configuració + + + Export + Exportar + + + Reset + Reset + + + Launch at startup + Llançament a l'inici + + + + GeneralConf + + + + Import + + + + + + + + Error + + + + + Unable to read file. + + + + + + Unable to write file. + + + + + Save File + + + + + Confirm Reset + + + + + Are you sure you want to reset the configuration? + + + + + Show help message + + + + Show the help message at the beginning in the capture mode. + Mostra el missatge d'ajuda en iniciar el mode de captura. + + + + Show the side panel button + + + + Show the side panel toggle button in the capture mode. + Mostra el botó del calaix lateral en el mode de captura. + + + + Show desktop notifications + + + + + Show tray icon + + + + Show the systemtray icon + Mostra la icona a la barra de tasques del sistema + + + + Confirmation required to delete screenshot from the latest uploads + + + + + Configuration File + + + + + Export + + + + + Reset + + + + + Automatic check for updates + + + + + Allow multiple flameshot GUI instances simultaneously + + + + This allows you to take screenshots of flameshot itself for example. + This allows you to take screenshots of flameshot itself for example. + + + Automatically close daemon when it is not needed + Automatically close daemon when it is not needed + + + Launch at startup + Llança a l'inici + + + Launch Flameshot + Inicia el Flameshot + + + + Show welcome message on launch + + + + + Use large predefined color palette + + + + + Copy URL after upload + + + + Copy URL and close window after upload + Copia la URL i tanca la finestra després de la càrrega + + + + Save image after copy + + + + Save image file after copying it + Desa el fitxer d'imatge després d'haver-lo copiat + + + + Show the help message at the beginning in the capture mode + + + + + Use last region for GUI mode + + + + + Use the last region as the default selection for the next screenshot in GUI mode + + + + + Show the side panel toggle button in the capture mode + + + + + Enable desktop notifications + + + + + Show abort notifications + + + + + Enable abort notifications + + + + + Show icon in the system tray + + + + + Use grim to capture screenshots + + + + + Grim is a wayland only utility to capture screens based on the screencopy protocol. Generally only enable on minimal wayland window managers like sway, hyprland, etc. + + + + + Ask for confirmation to delete screenshot from the latest uploads + + + + + Check for updates automatically + + + + + This allows you to take screenshots of Flameshot itself for example + + + + Launch Flameshot daemon when computer is booted + Launch Flameshot daemon when computer is booted + + + + Show the welcome message box in the middle of the screen while taking a screenshot + + + + + Use a large predefined color palette + + + + + Copy on double click + + + + Enable Copy on Double Click + Enable Copy on Double Click + + + Copy URL and close window after uploading was successful + Copy URL and close window after uploading was successful + + + + Automatically unload from memory when it is not needed + + + + + Automatically close daemon (background process) when it is not needed + + + + + Launch in background at startup + + + + + Launch Flameshot daemon (background process) when computer is booted + + + + + Ask before quit capture + + + + + Show the confirmation prompt before ESC quit + + + + + Enable Copy to clipboard on Double Click + + + + + Copy URL after uploading was successful + + + + + After copying the screenshot, save it to a file as well + + + + + Save Path + + + + + Change... + + + + + Use fixed path for screenshots to save + + + + + Preferred save file extension: + + + + + Latest Uploads Max Size + + + + + Imgur Application Client ID + + + + + Undo limit + + + + + Use JPG format for clipboard (PNG default) + + + + + Use lossy JPG format for clipboard (lossless PNG default) + + + + + Copy file path after save + + + + + Copy the file path to clipboard after the file is saved + + + + + Anti-aliasing image when zoom the pinned image + + + + + After zooming the pinned image, should the image get smoothened or stay pixelated + + + + + + Upload image without confirmation + + + + + Choose a Folder + + + + + Unable to write to directory. + + + + + Show magnifier + + + + + Enable a magnifier while selecting the screenshot area + + + + + Square shaped magnifier + + + + + Make the magnifier to be square-shaped + + + + + Milliseconds before geometry display hides; 0 means do not hide + + + + + Set geometry display timeout (ms) + + + + + Selection Geometry Display + + + + + Display Location + + + + + None + + + + + Top Left + + + + + Top Right + + + + + Bottom Left + + + + + Bottom Right + + + + + Center + + + + + Quality range of 0-100; Higher number is better quality and larger file size + + + + + JPEG Quality + + + + + Reverse arrow + + + + + Draw the arrow head first + + + + + Insecure Pixelate + + + + + Draw the pixelation effect in an insecure but more asethetic way. + + + + + HistoryWidget + + Latest Uploads + Últimes càrregues + + + Screenshots history is empty + L'historial de captures de pantalla és buit + + + Copy URL + Copia l'URL + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + Open in browser + Obre al navegador + + + Confirm to delete + Confirmeu per esborrar + + + Are you sure you want to delete a screenshot from the latest uploads and server? + Esteu segur de voler esborrar la captura de les últimes càrregues i del servidor? + + + + ImgS3Uploader + + Uploading Image + S'està pujant la imatge + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + Error + Error + + + + ImgUploadDialog + + + Upload Confirmation + + + + + Do you want to upload this capture? + + + + + + Upload without confirmation + + + + + ImgUploader + + Uploading Image + S'està pujant la imatge + + + Delete image + Esborra la imatge + + + Unable to open the URL. + No es pot obrir l'URL. + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + Screenshot copied to clipboard. + La captura s'ha copiat al porta-retalls. + + + Copy URL + Copia l'URL + + + Open URL + Obri l'URL + + + Image to Clipboard. + Imatge al porta-retalls. + + + + ImgUploaderBase + + + Upload image + + + + + Uploading Image + + + + + Copy URL + + + + + Open URL + + + + + Delete image + + + + + Image to Clipboard. + + + + + Save image + + + + + Unable to open the URL. + + + + + URL copied to clipboard. + + + + + Screenshot copied to clipboard. + + + + + Unable to save the screenshot to disk. + + + + + Screenshot saved. + + + + + ImgUploaderTool + + + Image Uploader + + + + + Upload the selection + + + + + ImgurUploader + + Upload to Imgur + Puja a Imgur + + + Uploading Image + S'està pujant la imatge + + + Copy URL + Copia l'URL + + + Open URL + Obre l'URL + + + Delete image + Esborra la imatge + + + Image to Clipboard. + Imatge al porta-retalls. + + + + Unable to open the URL. + + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + Screenshot copied to clipboard. + La captura s'ha copiat al porta-retalls. + + + + ImgurUploaderTool + + Image Uploader + Puja la imatge + + + Upload the selection to Imgur + Puja la selecció a Imgur + + + + InfoWindow + + + + About + + + + + + Icon + + + + + + License + + + + + + GPLv3+ + + + + + + Version + + + + + + Flameshot v + + + + + + OS Info + + + + + + Copy Info + + + + Right Click + Clic dret + + + Mouse Wheel + Roda del ratolí + + + Move selection 1px + Mou la selecció 1 px + + + Resize selection 1px + Redimensiona la selecció 1 px + + + Quit capture + Ix de la captura + + + Copy to clipboard + Copia al porta-retalls + + + Save selection as a file + Guarda la selecció com a fitxer + + + Undo the last modification + Desfés l'última modificació + + + Show color picker + Mostra el selector de color + + + Change the tool's thickness + Canvia el gruix de l'eina + + + Key + Tecla + + + Description + Descripció + + + <u><b>License</b></u> + <u><b>Llicència</b></u> + + + <u><b>Version</b></u> + <u><b>Versió</b></u> + + + <u><b>Shortcuts</b></u> + <u><b>Dreceres</b></u> + + + Available shortcuts in the screen capture mode. + Dreceres disponibles en el mode de captura de pantalla. + + + + InvertTool + + + Invert + + + + + Set Inverter as the paint tool + + + + + LineTool + + + Line + + + + + Set the Line as the paint tool + + + + + MarkerTool + + + Marker + + + + + Set the Marker as the paint tool + + + + + MoveTool + + + Move + + + + + Move the selection area + + + + + PencilTool + + + Pencil + + + + + Set the Pencil as the paint tool + + + + + PinTool + + + Pin Tool + + + + + Pin image on the desktop + + + + + PinWidget + + + Context menu + + + + + Copy to clipboard + + + + + Save to file + + + + + Rotate Right + + + + + Rotate Left + + + + + Increase Opacity + + + + + Decrease Opacity + + + + + Close + + + + + PixelateTool + + + Pixelate + + + + + Set Pixelate as the paint tool. + + + + Set Pixelate as the paint tool + Estableix l'eina de pixel·lament com a eina de dibuix + + + + PrimaryInstanceWidget + + + Primary instance + + + + + <b>Primary instance.</b> Messages received from secondaries: + + + + + QHotkey + + Failed to register %1. Error: %2 + No s'ha pogut registrar %1. Error: %2 + + + Failed to unregister %1. Error: %2 + No s'ha pogut desregistrar %1. Error: %2 + + + + QObject + + + + Capture saved to clipboard. + + + + + Error while saving to clipboard + + + + + Save screenshot + + + + + Path copied to clipboard as + + + + Saving canceled + Saving canceled + + + Save canceled + Save canceled + + + Capture is saved and copied to the clipboard as + La captura serà desada i copiada al porta-retalls com a + + + + Save Error + + + + + + Capture saved as + + + + + + Error trying to save as + + + + + Unable to connect via DBus + + + + + Powerful yet simple to use screenshot software. + + + + + See + + + + Capture the entire desktop. + Captureu l'escriptori sencer. + + + + Open the capture launcher. + + + + + Start a manual capture in GUI mode. + + + + + Configure + + + + Capture a single screen. + Captura una sola pantalla. + + + Path where the capture will be saved + Camí on es desarà la captura + + + + Capture screenshot of all monitors at the same time. + + + + + Capture a screenshot of the specified monitor. + + + + + Existing directory or new file to save to + + + + + Save the capture to the clipboard + + + + + Pin the capture to the screen + + + + + Upload screenshot + + + + + Delay time in milliseconds + + + + + Repeat screenshot with previously selected region + + + + + Screenshot region to select + + + + + Set the filename pattern + + + + + Accept capture as soon as a selection is made + + + + + Enable or disable the trayicon + + + + + Enable or disable run at startup + + + + + Enable or disable the notifications + + + + + Check the configuration for errors + + + + + Show the help message in the capture mode + + + + + Define the main UI color + + + + + Define the contrast UI color + + + + + Print raw PNG capture + + + + + Print geometry of the selection in the format WxH+X+Y. Does nothing if raw is specified + + + + + Define the screen to capture (starting from 0) + + + + + Invalid delay, it must be a number greater than 0 + + + + + Invalid region, use 'WxH+X+Y' or 'all' or 'screen0/screen1/...'. + + + + + Invalid path, must be an existing directory or a new file in an existing directory + + + + Define the screen to capture + Define the screen to capture + + + + default: screen containing the cursor + + + + + Screen number + + + + + Invalid color, this flag supports the following formats: +- #RGB (each of R, G, and B is a single hex digit) +- #RRGGBB +- #RRRGGGBBB +- #RRRRGGGGBBBB +- Named colors like 'blue' or 'red' +You may need to escape the '#' sign as in '\#FFF' + + + + Invalid delay, it must be higher than 0 + Invalid delay, it must be higher than 0 + + + + Invalid screen number, it must be non negative + + + + Invalid path, it must be a real path in the system + Invalid path, it must be a real path in the system + + + + Invalid value, it must be defined as 'true' or 'false' + + + + + Error + + + + + Unable to write in + + + + + Requested screen exceeds screen count + + + + + Full screen screenshot pinned to screen + + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + + Options + + + + Arguments + Arguments + + + arguments + arguments + + + + Subcommands + + + + + subcommands + + + + + Usage + + + + + options + + + + + Per default runs Flameshot in the background and adds a tray icon for configuration. + + + + + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + + Toggle side panel + Toggle side panel + + + Resize selection left 1px + Resize selection left 1px + + + Resize selection right 1px + Resize selection right 1px + + + Resize selection up 1px + Resize selection up 1px + + + Resize selection down 1px + Resize selection down 1px + + + Select entire screen + Select entire screen + + + Move selection left 1px + Move selection left 1px + + + Move selection right 1px + Move selection right 1px + + + Move selection up 1px + Move selection up 1px + + + Move selection down 1px + Move selection down 1px + + + Commit text in text area + Commit text in text area + + + Delete current tool + Delete current tool + + + + Quit capture + + + + + Screenshot history + + + + + Capture screen + + + + + Show color picker + + + + + Change the tool's size + + + + Change the tool's thickness + Canvia el gruix de l'eina + + + + RectangleTool + + + Rectangle + + + + + Set the Rectangle as the paint tool + + + + + RedoTool + + + Redo + + + + + Redo the next modification + + + + + SaveTool + + + Save + + + + + Save screenshot to a file + + + + Save the capture + Guarda la captura + + + + ScreenGrabber + + Unable to detect desktop environment (GNOME? KDE? Sway? ...) + Unable to detect desktop environment (GNOME? KDE? Sway? ...) + + + + The universal wayland screen capture adapter requires Grim as the screen capture component of wayland. If the screen capture component is missing, please install it! + + + + + If the useGrimAdapter setting is not enabled, the dbus protocol will be used. It should be noted that using the dbus protocol under wayland is not recommended. It is recommended to enable the useGrimAdapter setting in flameshot.ini to activate the grim-based general wayland screenshot adapter + + + + + grim's screenshot component is implemented based on wlroots, it may not be used in GNOME or similar desktop environments + + + + + Unable to detect desktop environment (GNOME? KDE? Qile? Sway? ...) + + + + + Hint: try setting the XDG_CURRENT_DESKTOP environment variable. + + + + + Unable to capture screen + + + + + SecondaryInstanceWidget + + + Secondary instance + + + + + <b>Secondary instance.</b> Send message to primary: + + + + + Type something here... + + + + + &Send + + + + + Error sending message + + + + + The message '%1' could not be sent to the primary. + + + + + SelectionTool + + + Rectangular Selection + + + + + Set Selection as the paint tool + + + + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or ⌘+Backspace to disable the keyboard shortcut. + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + + Flameshot must be restarted for changes to take effect. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + + + + + Description + + + + + Key + + + + + Left Double-click + + + + + Toggle side panel + + + + + Grab a color from the screen + + + + + Resize selection left 1px + + + + + Resize selection right 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Symmetrically decrease width by 2px + + + + + Symmetrically increase width by 2px + + + + + Symmetrically increase height by 2px + + + + + Symmetrically decrease height by 2px + + + + + Select entire screen + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Commit text in text area + + + + + Delete selected drawn object + + + + + Cancel current selection + + + + Delete current tool + Delete current tool + + + + Capture screen + + + + + Screenshot history + + + + + SidePanelWidget + + Active thickness: + Active thickness: + + + Active color: + Active color: + + + Press ESC to cancel + Press ESC to cancel + + + + Active tool size: + + + + + Active Color: + + + + + Grab Color + + + + + Display grid + + + + + SizeDecreaseTool + + + Decrease Tool Size + + + + + Decrease the size of the other tools + + + + + SizeIncreaseTool + + + Increase Tool Size + + + + + Increase the size of the other tools + + + + + SizeIndicatorTool + + Selection Size Indicator + Indicador de mida de selecció + + + Show X and Y dimensions of the selection + Show X and Y dimensions of the selection + + + Show the dimensions of the selection (X Y) + Mostra les mides de la selecció (X Y) + + + + StrftimeChooserWidget + + + Century (00-99) + + + + + Year (00-99) + + + + + Year (2000) + + + + + Month Name (jan) + + + + + Month Name (january) + + + + + Month (01-12) + + + + + Week Day (1-7) + + + + + Week (01-53) + + + + + Day Name (mon) + + + + + Day Name (monday) + + + + + Day (01-31) + + + + + Day of Month (1-31) + + + + + Day (001-366) + + + + + Hour (00-23) + + + + + Hour (01-12) + + + + + Minute (00-59) + + + + + Second (00-59) + + + + + Full Date (%m/%d/%y) + + + + + Full Date (%Y-%m-%d) + + + + + Full Date (%d-%m-%Y) + + + + + Time (%H-%M-%S) + + + + + Time (%H-%M) + + + + + SystemNotification + + + Flameshot Info + + + + + TextConfig + + + StrikeOut + + + + + Underline + + + + + Bold + + + + + Italic + + + + + Left Align + + + + + Center Align + + + + + Right Align + + + + + TextTool + + + Text + + + + + Add text to your capture + + + + + TrayIcon + + + &Take Screenshot + + + + + &Open Launcher + + + + + &Configuration + + + + + &About + + + + + Check for updates + + + + + New version %1 is available + + + + + &Quit + + + + + &Latest Uploads + + + + + &Open Save Path + + + + + UIcolorEditor + + UI Color Editor + Editor de color de la interfície + + + + Change the color moving the selectors and see the changes in the preview buttons. + + + + + Select a Button to modify it + + + + + Main Color + + + + + Click on this button to set the edition mode of the main color. + + + + + Contrast Color + + + + + Click on this button to set the edition mode of the contrast color. + + + + + UndoTool + + + Undo + + + + + Undo the last modification + + + + + UpdateNotificationWidget + + + New Flameshot version %1 is available + + + + + Ignore + + + + + Later + + + + + Update + + + + + UploadHistory + + + Upload History + + + + + Screenshots history is empty + + + + + UploadLineItem + + + Form + + + + + TextLabel + + + + + Copy URL + + + + + Open In Browser + + + + + Confirm to delete + + + + + Are you sure you want to delete a screenshot from the latest uploads and server? + + + + + UtilityPanel + + + Close + + + + + <Empty> + + + + + VisualsEditor + + + Opacity of area outside selection: + + + + + UI Color Editor + + + + + Colorpicker Editor + + + + + Button Selection + + + + + Select All + + + + + color_widgets::ColorDialog + + + Pick + + + + + color_widgets::ColorPalette + + + Unnamed + + + + + color_widgets::ColorPaletteModel + + + Unnamed + + + + + %1 (%2 colors) + + + + + color_widgets::ColorPaletteWidget + + + + Open a new palette from file + + + + + + Create a new palette + + + + + + Duplicate the current palette + + + + + + Delete the current palette + + + + + + Revert changes to the current palette + + + + + + Save changes to the current palette + + + + + + Add a color to the palette + + + + + + Remove the selected color from the palette + + + + + + New Palette + + + + + + Name + + + + + GIMP Palettes (*.gpl) + + + + + Palette Image (%1) + + + + + All Files (*) + + + + + + Open Palette + + + + + Failed to load the palette file +%1 + + + + + color_widgets::GradientEditor + + + Add Color + + + + + Remove Color + + + + + Edit Color... + + + + + color_widgets::GradientListModel + + + %1 (%2 colors) + + + + + color_widgets::Swatch + + + Clear Color + + + + + %1 (%2) + + + + diff --git a/data/translations/Internationalization_th.ts b/data/translations/Internationalization_th.ts index 8fba5f4e7e..f2e5a8e80d 100644 --- a/data/translations/Internationalization_th.ts +++ b/data/translations/Internationalization_th.ts @@ -162,7 +162,7 @@ Capture Launcher - ตัวเรียกใช้การจับภาพ + เรียกใช้ตัวจับภาพ @@ -245,17 +245,17 @@ Quit Capture - + ออกจากการจับภาพ Are you sure you want to quit capture? - + คุณแน่ใจหรือไม่ว่าต้องการยกเลิกการบันทึกภาพ? Do not show this again - + ไม่ต้องแสดงอีก @@ -571,7 +571,9 @@ Premeu Espai per obrir el calaix lateral. Some keyboard shortcuts have conflicts. This will NOT prevent flameshot from starting. Please solve them manually in the configuration file. - แป้นลัดบางปุ่มอาจมีปัญหาขัดแย้งกัน การดำเนินการนี้จะไม่ป้องกันไม่ให้ Flameshot เริ่มทำงาน แก้ไขปัญหาในไฟล์กำหนดค่า + แป้นลัดบางปุ่มอาจมีปัญหาขัดแย้งกัน +การดำเนินการนี้จะไม่ป้องกันไม่ให้ Flameshot เริ่มทำงาน +แก้ไขปัญหาในไฟล์กำหนดค่า @@ -1059,12 +1061,12 @@ Please solve them manually in the configuration file. Show abort notifications - + แสดงการแจ้งเตือนการยกเลิก Enable abort notifications - + เปิดใช้งานการแจ้งเตือนยกเลิก @@ -1074,12 +1076,12 @@ Please solve them manually in the configuration file. Use grim to capture screenshots - + ใช้ Grim เพื่อจับภาพหน้าจอ Grim is a wayland only utility to capture screens based on the screencopy protocol. Generally only enable on minimal wayland window managers like sway, hyprland, etc. - + Grim เป็นยูทิลิตี้สำหรับ Wayland เท่านั้น ที่ใช้ในการจับภาพหน้าจอโดยใช้โปรโตคอล screencopy โดยทั่วไปจะเปิดใช้งานเฉพาะบนตัวจัดการหน้าต่าง Wayland ขั้นต่ำ เช่น Sway, Hyprland เป็นต้น @@ -1126,42 +1128,42 @@ Please solve them manually in the configuration file. Automatically unload from memory when it is not needed - + ลบออกจากหน่วยความจำโดยอัตโนมัติเมื่อไม่จำเป็นต้องใช้งาน Automatically close daemon (background process) when it is not needed - + ปิดโปรแกรมพื้นหลัง (daemon) โดยอัตโนมัติเมื่อไม่จำเป็นต้องใช้งาน Launch in background at startup - + เปิดใช้งานในพื้นหลังเมื่อเริ่มต้นระบบ Launch Flameshot daemon (background process) when computer is booted - + เรียกใช้โปรแกรม Flameshot daemon (กระบวนการทำงานเบื้องหลัง) เมื่อคอมพิวเตอร์เปิดเครื่อง Ask before quit capture - + ถามก่อนออกจากโหมดบันทึกภาพ Show the confirmation prompt before ESC quit - + แสดงข้อความยืนยันก่อนกด ESC เพื่อออก Enable Copy to clipboard on Double Click - + เปิดใช้งานการคัดลอกไปยังคลิปบอร์ดเมื่อดับเบิ้ลคลิก Copy URL after uploading was successful - + คัดลอก URL หลังจากอัปโหลดสำเร็จแล้ว @@ -1211,7 +1213,7 @@ Please solve them manually in the configuration file. Use lossy JPG format for clipboard (lossless PNG default) - + ใช้ไฟล์ JPG ที่มีการบีบอัดข้อมูลบางส่วนสำหรับการคัดลอกลงคลิปบอร์ด (ค่าเริ่มต้นคือไฟล์ PNG ที่ไม่มีการบีบอัดข้อมูล) @@ -1272,17 +1274,17 @@ Please solve them manually in the configuration file. Milliseconds before geometry display hides; 0 means do not hide - + มิลลิวินาทีก่อนที่การแสดงผลรูปทรงเรขาคณิตจะซ่อนลง; 0 หมายถึงไม่ซ่อน Set geometry display timeout (ms) - + ตั้งค่าระยะเวลาหมดเวลาการแสดงผลรูปทรงเรขาคณิต (มิลลิวินาที) Selection Geometry Display - + เลือกการแสดงผลเรขาคณิต @@ -1601,7 +1603,7 @@ Please solve them manually in the configuration file. GPLv3+ - GPLv3+ + GPLv3+ @@ -1810,7 +1812,7 @@ Please solve them manually in the configuration file. Close - ปิด + ปิด diff --git a/data/translations/Internationalization_tk.ts b/data/translations/Internationalization_tk.ts new file mode 100644 index 0000000000..2f281bd5a0 --- /dev/null +++ b/data/translations/Internationalization_tk.ts @@ -0,0 +1,3156 @@ + + + + + AbstractWidgetList + + + Add New + + + + + Move Up + + + + + Move Down + + + + + Remove + + + + + AcceptTool + + + Accept + + + + + Accept the capture + + + + + AppLauncher + + + App Launcher + + + + + Choose an app to open the capture + + + + + AppLauncherWidget + + + Open With + + + + + Launch in terminal + + + + + Keep open after selection + + + + + + Error + + + + + Unable to launch in terminal. + + + + + Unable to write in + + + + + ArrowTool + + + Arrow + + + + + Set the Arrow as the paint tool + + + + + BlurTool + + Blur + Desenfocament + + + Set Blur as the paint tool + Estableix el desenfocament com a eina de dibuix + + + + CaptureLauncher + + <b>Capture Mode</b> + <b>Mode de captura</b> + + + + Rectangular Region + + + + + Full Screen (Current Display) + + + + + Full Screen (All Monitors) + + + + + No Delay + + + + + second + + + + + + + seconds + + + + + + Take new screenshot + + + + + + Area: + + + + + + Capture Launcher + + + + + + TextLabel + + + + + + Capture Mode + + + + + + Delay: + + + + + + WxH+x+y + + + + + CaptureWidget + + + Unable to capture screen + Impossible capturar la pantalla + + + + + Mouse + + + + + Select screenshot area + + + + + Mouse Wheel + + + + + Change tool size + + + + + Right Click + + + + + Show color picker + + + + + Open side panel + + + + + Esc + + + + + Exit + + + + + Quit Capture + + + + + Are you sure you want to quit capture? + + + + + Do not show this again + + + + + Flameshot has lost focus. Keyboard shortcuts won't work until you click somewhere. + + + + + Configuration error resolved. Launch `flameshot gui` again to apply it. + + + + Select an area with the mouse, or press Esc to exit. +Press Enter to capture the screen. +Press Right Click to show the color picker. +Use the Mouse Wheel to change the thickness of your tool. +Press Space to open the side panel. + Escolliu una àrea amb el ratolí, o premeu Esc per sortir. +Premeu Entrar per capturar la pantalla. +Premeu clic dret per mostrar l'eina de selecció de color. +Gireu la rodeta del ratolí per canviar el gruix de l'eina de dibuix. +Premeu Espai per obrir el calaix lateral. + + + + Tool Settings + + + + + CircleCountTool + + + Circle Counter + + + + + Add an autoincrementing counter bubble + + + + + CircleTool + + + Circle + + + + + Set the Circle as the paint tool + + + + + ColorDialog + + + + Select Color + + + + + + Saturation + + + + + + Hue + + + + + + Hex + + + + + + Blue + + + + + + Value + + + + + + Green + + + + + + Alpha + + + + + + Red + + + + + ColorGrabWidget + + + Accept color + + + + + Enter or Left Click + + + + + Precisely select color + + + + + Hold Left Click + + + + + Toggle magnifier + + + + + Space or Right Click + + + + + Cancel + + + + + Esc + + + + + ColorPickerEditor + + + Edit Preset: + + + + + Enter color to update preset + + + + + Update + + + + + Press button to update the selected preset + + + + + Delete + + + + + Press button to delete the selected preset + + + + + Add Preset: + + + + + Enter color manually or select it using the color-wheel + + + + + Add + + + + + Press button to add preset + + + + + + Error + + + + + Unable to add preset. Maximum limit reached. + + + + + Unable to remove preset. Minimum limit reached. + + + + + ConfigErrorDetails + + + Configuration errors + + + + + ConfigHandler + + + Unrecognized setting: '%1' + + + + + + Unrecognized shortcut name: '%1'. + + + + + + Shortcut conflict: '%1' and '%2' have the same shortcut: %3 + + + + + + Bad value in '%1'. Expected: %2 + + + + + + You have successfully resolved the configuration error. + + + + + The configuration contains an error. Open configuration to resolve. + + + + + Bad config key '%1' in ConfigHandler. Please report this as a bug. + + + + + ConfigResolver + + + Resolve configuration errors + + + + + <b>You must resolve all errors before continuing:</b> + + + + + Reset + + + + + Reset to the default value. + + + + + Remove + + + + + Remove this setting. + + + + + Some keyboard shortcuts have conflicts. +This will NOT prevent flameshot from starting. +Please solve them manually in the configuration file. + + + + + Resolve all + + + + + Resolve all listed errors. + + + + + Details + + + + + ConfigWindow + + + Configuration + + + + + Interface + + + + + Filename Editor + + + + + General + + + + + Shortcuts + + + + + Resolve + + + + + <b>Configuration file has errors. Resolve them before continuing.</b> + + + + + Controller + + New version %1 is available + La nova versió %1 ja és disponible + + + You have the latest version + Teniu la versió més recent + + + Failed to get information about the latest version. + Error a l'intentar obtenir informació sobre actualitzacions. + + + Error + Error + + + Unable to close active modal widgets + No s'han pogut tancar els widgets modals actius + + + &Open Launcher + &Obre el llançador d'aplicacions + + + &Configuration + &Ajustaments + + + &About + &Quant a + + + Check for updates + Comprova si hi ha actualitzacions disponibles + + + &Latest Uploads + &Últimes càrregues + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + &Information + &Informació + + + &Quit + &Surt + + + &Take Screenshot + &Captura + + + + CopyTool + + + Copy + + + + + Copy selection to clipboard + + + + Copy the selection into the clipboard + Copia la selecció al porta-retalls + + + + DBusUtils + + Unable to connect via DBus + No s'ha pogut connectar mitjançant DBus + + + + ExitTool + + + Exit + + + + + Leave the capture screen + + + + + FileNameEditor + + + Edit the name of your captures: + + + + + Edit: + + + + + Preview: + + + + + Save + + + + + Saves the pattern + + + + + Restore + + + + Reset + Reinicialitza + + + + Restores the saved pattern + + + + + Clear + + + + + Deletes the name + + + + + Flameshot + + + Error + + + + + Unable to close active modal widgets + + + + + URL copied to clipboard. + + + + + FlameshotDaemon + + + New version %1 is available + + + + + You have the latest version + + + + + Failed to get information about the latest version. + + + + + Unable to connect via DBus + + + + + GeneneralConf + + Show help message + Mostra el missatge d'ajuda + + + Show the help message at the beginning in the capture mode. + Mostra el missatge d'ajuda en iniciar el mode de captura. + + + Show desktop notifications + Mostra les notificacions d'escriptori + + + Show tray icon + Mostra la icona en la barra de tasques + + + Show the systemtray icon + Mostra la icona en la barra de tasques + + + Import + Importar + + + Error + Error + + + Unable to read file. + Impossible llegir el fitxer. + + + Unable to write file. + Impossible escriure al fitxer. + + + Save File + Guardar Arxiu + + + Confirm Reset + Confirmar Reset + + + Are you sure you want to reset the configuration? + Esteu segur que voleu reiniciar la configuració? + + + Configuration File + Fitxer de Configuració + + + Export + Exportar + + + Reset + Reset + + + Launch at startup + Llançament a l'inici + + + + GeneralConf + + + + Import + + + + + + + + Error + + + + + Unable to read file. + + + + + + Unable to write file. + + + + + Save File + + + + + Confirm Reset + + + + + Are you sure you want to reset the configuration? + + + + + Show help message + + + + Show the help message at the beginning in the capture mode. + Mostra el missatge d'ajuda en iniciar el mode de captura. + + + + Show the side panel button + + + + Show the side panel toggle button in the capture mode. + Mostra el botó del calaix lateral en el mode de captura. + + + + Show desktop notifications + + + + + Show tray icon + + + + Show the systemtray icon + Mostra la icona a la barra de tasques del sistema + + + + Confirmation required to delete screenshot from the latest uploads + + + + + Configuration File + + + + + Export + + + + + Reset + + + + + Automatic check for updates + + + + + Allow multiple flameshot GUI instances simultaneously + + + + This allows you to take screenshots of flameshot itself for example. + This allows you to take screenshots of flameshot itself for example. + + + Automatically close daemon when it is not needed + Automatically close daemon when it is not needed + + + Launch at startup + Llança a l'inici + + + Launch Flameshot + Inicia el Flameshot + + + + Show welcome message on launch + + + + + Use large predefined color palette + + + + + Copy URL after upload + + + + Copy URL and close window after upload + Copia la URL i tanca la finestra després de la càrrega + + + + Save image after copy + + + + Save image file after copying it + Desa el fitxer d'imatge després d'haver-lo copiat + + + + Show the help message at the beginning in the capture mode + + + + + Use last region for GUI mode + + + + + Use the last region as the default selection for the next screenshot in GUI mode + + + + + Show the side panel toggle button in the capture mode + + + + + Enable desktop notifications + + + + + Show abort notifications + + + + + Enable abort notifications + + + + + Show icon in the system tray + + + + + Use grim to capture screenshots + + + + + Grim is a wayland only utility to capture screens based on the screencopy protocol. Generally only enable on minimal wayland window managers like sway, hyprland, etc. + + + + + Ask for confirmation to delete screenshot from the latest uploads + + + + + Check for updates automatically + + + + + This allows you to take screenshots of Flameshot itself for example + + + + Launch Flameshot daemon when computer is booted + Launch Flameshot daemon when computer is booted + + + + Show the welcome message box in the middle of the screen while taking a screenshot + + + + + Use a large predefined color palette + + + + + Copy on double click + + + + Enable Copy on Double Click + Enable Copy on Double Click + + + Copy URL and close window after uploading was successful + Copy URL and close window after uploading was successful + + + + Automatically unload from memory when it is not needed + + + + + Automatically close daemon (background process) when it is not needed + + + + + Launch in background at startup + + + + + Launch Flameshot daemon (background process) when computer is booted + + + + + Ask before quit capture + + + + + Show the confirmation prompt before ESC quit + + + + + Enable Copy to clipboard on Double Click + + + + + Copy URL after uploading was successful + + + + + After copying the screenshot, save it to a file as well + + + + + Save Path + + + + + Change... + + + + + Use fixed path for screenshots to save + + + + + Preferred save file extension: + + + + + Latest Uploads Max Size + + + + + Imgur Application Client ID + + + + + Undo limit + + + + + Use JPG format for clipboard (PNG default) + + + + + Use lossy JPG format for clipboard (lossless PNG default) + + + + + Copy file path after save + + + + + Copy the file path to clipboard after the file is saved + + + + + Anti-aliasing image when zoom the pinned image + + + + + After zooming the pinned image, should the image get smoothened or stay pixelated + + + + + + Upload image without confirmation + + + + + Choose a Folder + + + + + Unable to write to directory. + + + + + Show magnifier + + + + + Enable a magnifier while selecting the screenshot area + + + + + Square shaped magnifier + + + + + Make the magnifier to be square-shaped + + + + + Milliseconds before geometry display hides; 0 means do not hide + + + + + Set geometry display timeout (ms) + + + + + Selection Geometry Display + + + + + Display Location + + + + + None + + + + + Top Left + + + + + Top Right + + + + + Bottom Left + + + + + Bottom Right + + + + + Center + + + + + Quality range of 0-100; Higher number is better quality and larger file size + + + + + JPEG Quality + + + + + Reverse arrow + + + + + Draw the arrow head first + + + + + Insecure Pixelate + + + + + Draw the pixelation effect in an insecure but more asethetic way. + + + + + HistoryWidget + + Latest Uploads + Últimes càrregues + + + Screenshots history is empty + L'historial de captures de pantalla és buit + + + Copy URL + Copia l'URL + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + Open in browser + Obre al navegador + + + Confirm to delete + Confirmeu per esborrar + + + Are you sure you want to delete a screenshot from the latest uploads and server? + Esteu segur de voler esborrar la captura de les últimes càrregues i del servidor? + + + + ImgS3Uploader + + Uploading Image + S'està pujant la imatge + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + Error + Error + + + + ImgUploadDialog + + + Upload Confirmation + + + + + Do you want to upload this capture? + + + + + + Upload without confirmation + + + + + ImgUploader + + Uploading Image + S'està pujant la imatge + + + Delete image + Esborra la imatge + + + Unable to open the URL. + No es pot obrir l'URL. + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + Screenshot copied to clipboard. + La captura s'ha copiat al porta-retalls. + + + Copy URL + Copia l'URL + + + Open URL + Obri l'URL + + + Image to Clipboard. + Imatge al porta-retalls. + + + + ImgUploaderBase + + + Upload image + + + + + Uploading Image + + + + + Copy URL + + + + + Open URL + + + + + Delete image + + + + + Image to Clipboard. + + + + + Save image + + + + + Unable to open the URL. + + + + + URL copied to clipboard. + + + + + Screenshot copied to clipboard. + + + + + Unable to save the screenshot to disk. + + + + + Screenshot saved. + + + + + ImgUploaderTool + + + Image Uploader + + + + + Upload the selection + + + + + ImgurUploader + + Upload to Imgur + Puja a Imgur + + + Uploading Image + S'està pujant la imatge + + + Copy URL + Copia l'URL + + + Open URL + Obre l'URL + + + Delete image + Esborra la imatge + + + Image to Clipboard. + Imatge al porta-retalls. + + + + Unable to open the URL. + + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + Screenshot copied to clipboard. + La captura s'ha copiat al porta-retalls. + + + + ImgurUploaderTool + + Image Uploader + Puja la imatge + + + Upload the selection to Imgur + Puja la selecció a Imgur + + + + InfoWindow + + + + About + + + + + + Icon + + + + + + License + + + + + + GPLv3+ + + + + + + Version + + + + + + Flameshot v + + + + + + OS Info + + + + + + Copy Info + + + + Right Click + Clic dret + + + Mouse Wheel + Roda del ratolí + + + Move selection 1px + Mou la selecció 1 px + + + Resize selection 1px + Redimensiona la selecció 1 px + + + Quit capture + Ix de la captura + + + Copy to clipboard + Copia al porta-retalls + + + Save selection as a file + Guarda la selecció com a fitxer + + + Undo the last modification + Desfés l'última modificació + + + Show color picker + Mostra el selector de color + + + Change the tool's thickness + Canvia el gruix de l'eina + + + Key + Tecla + + + Description + Descripció + + + <u><b>License</b></u> + <u><b>Llicència</b></u> + + + <u><b>Version</b></u> + <u><b>Versió</b></u> + + + <u><b>Shortcuts</b></u> + <u><b>Dreceres</b></u> + + + Available shortcuts in the screen capture mode. + Dreceres disponibles en el mode de captura de pantalla. + + + + InvertTool + + + Invert + + + + + Set Inverter as the paint tool + + + + + LineTool + + + Line + + + + + Set the Line as the paint tool + + + + + MarkerTool + + + Marker + + + + + Set the Marker as the paint tool + + + + + MoveTool + + + Move + + + + + Move the selection area + + + + + PencilTool + + + Pencil + + + + + Set the Pencil as the paint tool + + + + + PinTool + + + Pin Tool + + + + + Pin image on the desktop + + + + + PinWidget + + + Context menu + + + + + Copy to clipboard + + + + + Save to file + + + + + Rotate Right + + + + + Rotate Left + + + + + Increase Opacity + + + + + Decrease Opacity + + + + + Close + + + + + PixelateTool + + + Pixelate + + + + + Set Pixelate as the paint tool. + + + + Set Pixelate as the paint tool + Estableix l'eina de pixel·lament com a eina de dibuix + + + + PrimaryInstanceWidget + + + Primary instance + + + + + <b>Primary instance.</b> Messages received from secondaries: + + + + + QHotkey + + Failed to register %1. Error: %2 + No s'ha pogut registrar %1. Error: %2 + + + Failed to unregister %1. Error: %2 + No s'ha pogut desregistrar %1. Error: %2 + + + + QObject + + + + Capture saved to clipboard. + + + + + Error while saving to clipboard + + + + + Save screenshot + + + + + Path copied to clipboard as + + + + Saving canceled + Saving canceled + + + Save canceled + Save canceled + + + Capture is saved and copied to the clipboard as + La captura serà desada i copiada al porta-retalls com a + + + + Save Error + + + + + + Capture saved as + + + + + + Error trying to save as + + + + + Unable to connect via DBus + + + + + Powerful yet simple to use screenshot software. + + + + + See + + + + Capture the entire desktop. + Captureu l'escriptori sencer. + + + + Open the capture launcher. + + + + + Start a manual capture in GUI mode. + + + + + Configure + + + + Capture a single screen. + Captura una sola pantalla. + + + Path where the capture will be saved + Camí on es desarà la captura + + + + Capture screenshot of all monitors at the same time. + + + + + Capture a screenshot of the specified monitor. + + + + + Existing directory or new file to save to + + + + + Save the capture to the clipboard + + + + + Pin the capture to the screen + + + + + Upload screenshot + + + + + Delay time in milliseconds + + + + + Repeat screenshot with previously selected region + + + + + Screenshot region to select + + + + + Set the filename pattern + + + + + Accept capture as soon as a selection is made + + + + + Enable or disable the trayicon + + + + + Enable or disable run at startup + + + + + Enable or disable the notifications + + + + + Check the configuration for errors + + + + + Show the help message in the capture mode + + + + + Define the main UI color + + + + + Define the contrast UI color + + + + + Print raw PNG capture + + + + + Print geometry of the selection in the format WxH+X+Y. Does nothing if raw is specified + + + + + Define the screen to capture (starting from 0) + + + + + Invalid delay, it must be a number greater than 0 + + + + + Invalid region, use 'WxH+X+Y' or 'all' or 'screen0/screen1/...'. + + + + + Invalid path, must be an existing directory or a new file in an existing directory + + + + Define the screen to capture + Define the screen to capture + + + + default: screen containing the cursor + + + + + Screen number + + + + + Invalid color, this flag supports the following formats: +- #RGB (each of R, G, and B is a single hex digit) +- #RRGGBB +- #RRRGGGBBB +- #RRRRGGGGBBBB +- Named colors like 'blue' or 'red' +You may need to escape the '#' sign as in '\#FFF' + + + + Invalid delay, it must be higher than 0 + Invalid delay, it must be higher than 0 + + + + Invalid screen number, it must be non negative + + + + Invalid path, it must be a real path in the system + Invalid path, it must be a real path in the system + + + + Invalid value, it must be defined as 'true' or 'false' + + + + + Error + + + + + Unable to write in + + + + + Requested screen exceeds screen count + + + + + Full screen screenshot pinned to screen + + + + URL copied to clipboard. + L'URL s'ha copiat al porta-retalls. + + + + Options + + + + Arguments + Arguments + + + arguments + arguments + + + + Subcommands + + + + + subcommands + + + + + Usage + + + + + options + + + + + Per default runs Flameshot in the background and adds a tray icon for configuration. + + + + + Hello, I'm here! Click icon in the tray to take a screenshot or click with a right button to see more options. + + + + Toggle side panel + Toggle side panel + + + Resize selection left 1px + Resize selection left 1px + + + Resize selection right 1px + Resize selection right 1px + + + Resize selection up 1px + Resize selection up 1px + + + Resize selection down 1px + Resize selection down 1px + + + Select entire screen + Select entire screen + + + Move selection left 1px + Move selection left 1px + + + Move selection right 1px + Move selection right 1px + + + Move selection up 1px + Move selection up 1px + + + Move selection down 1px + Move selection down 1px + + + Commit text in text area + Commit text in text area + + + Delete current tool + Delete current tool + + + + Quit capture + + + + + Screenshot history + + + + + Capture screen + + + + + Show color picker + + + + + Change the tool's size + + + + Change the tool's thickness + Canvia el gruix de l'eina + + + + RectangleTool + + + Rectangle + + + + + Set the Rectangle as the paint tool + + + + + RedoTool + + + Redo + + + + + Redo the next modification + + + + + SaveTool + + + Save + + + + + Save screenshot to a file + + + + Save the capture + Guarda la captura + + + + ScreenGrabber + + Unable to detect desktop environment (GNOME? KDE? Sway? ...) + Unable to detect desktop environment (GNOME? KDE? Sway? ...) + + + + The universal wayland screen capture adapter requires Grim as the screen capture component of wayland. If the screen capture component is missing, please install it! + + + + + If the useGrimAdapter setting is not enabled, the dbus protocol will be used. It should be noted that using the dbus protocol under wayland is not recommended. It is recommended to enable the useGrimAdapter setting in flameshot.ini to activate the grim-based general wayland screenshot adapter + + + + + grim's screenshot component is implemented based on wlroots, it may not be used in GNOME or similar desktop environments + + + + + Unable to detect desktop environment (GNOME? KDE? Qile? Sway? ...) + + + + + Hint: try setting the XDG_CURRENT_DESKTOP environment variable. + + + + + Unable to capture screen + + + + + SecondaryInstanceWidget + + + Secondary instance + + + + + <b>Secondary instance.</b> Send message to primary: + + + + + Type something here... + + + + + &Send + + + + + Error sending message + + + + + The message '%1' could not be sent to the primary. + + + + + SelectionTool + + + Rectangular Selection + + + + + Set Selection as the paint tool + + + + + SetShortcutDialog + + + Set Shortcut + + + + + Enter new shortcut to change + + + + + Press Esc to cancel or ⌘+Backspace to disable the keyboard shortcut. + + + + + Press Esc to cancel or Backspace to disable the keyboard shortcut. + + + + + + Flameshot must be restarted for changes to take effect. + + + + + ShortcutsWidget + + + Hot Keys + + + + + Available shortcuts in the screen capture mode. + + + + + Description + + + + + Key + + + + + Left Double-click + + + + + Toggle side panel + + + + + Grab a color from the screen + + + + + Resize selection left 1px + + + + + Resize selection right 1px + + + + + Resize selection up 1px + + + + + Resize selection down 1px + + + + + Symmetrically decrease width by 2px + + + + + Symmetrically increase width by 2px + + + + + Symmetrically increase height by 2px + + + + + Symmetrically decrease height by 2px + + + + + Select entire screen + + + + + Move selection left 1px + + + + + Move selection right 1px + + + + + Move selection up 1px + + + + + Move selection down 1px + + + + + Commit text in text area + + + + + Delete selected drawn object + + + + + Cancel current selection + + + + Delete current tool + Delete current tool + + + + Capture screen + + + + + Screenshot history + + + + + SidePanelWidget + + Active thickness: + Active thickness: + + + Active color: + Active color: + + + Press ESC to cancel + Press ESC to cancel + + + + Active tool size: + + + + + Active Color: + + + + + Grab Color + + + + + Display grid + + + + + SizeDecreaseTool + + + Decrease Tool Size + + + + + Decrease the size of the other tools + + + + + SizeIncreaseTool + + + Increase Tool Size + + + + + Increase the size of the other tools + + + + + SizeIndicatorTool + + Selection Size Indicator + Indicador de mida de selecció + + + Show X and Y dimensions of the selection + Show X and Y dimensions of the selection + + + Show the dimensions of the selection (X Y) + Mostra les mides de la selecció (X Y) + + + + StrftimeChooserWidget + + + Century (00-99) + + + + + Year (00-99) + + + + + Year (2000) + + + + + Month Name (jan) + + + + + Month Name (january) + + + + + Month (01-12) + + + + + Week Day (1-7) + + + + + Week (01-53) + + + + + Day Name (mon) + + + + + Day Name (monday) + + + + + Day (01-31) + + + + + Day of Month (1-31) + + + + + Day (001-366) + + + + + Hour (00-23) + + + + + Hour (01-12) + + + + + Minute (00-59) + + + + + Second (00-59) + + + + + Full Date (%m/%d/%y) + + + + + Full Date (%Y-%m-%d) + + + + + Full Date (%d-%m-%Y) + + + + + Time (%H-%M-%S) + + + + + Time (%H-%M) + + + + + SystemNotification + + + Flameshot Info + + + + + TextConfig + + + StrikeOut + + + + + Underline + + + + + Bold + + + + + Italic + + + + + Left Align + + + + + Center Align + + + + + Right Align + + + + + TextTool + + + Text + + + + + Add text to your capture + + + + + TrayIcon + + + &Take Screenshot + + + + + &Open Launcher + + + + + &Configuration + + + + + &About + + + + + Check for updates + + + + + New version %1 is available + + + + + &Quit + + + + + &Latest Uploads + + + + + &Open Save Path + + + + + UIcolorEditor + + UI Color Editor + Editor de color de la interfície + + + + Change the color moving the selectors and see the changes in the preview buttons. + + + + + Select a Button to modify it + + + + + Main Color + + + + + Click on this button to set the edition mode of the main color. + + + + + Contrast Color + + + + + Click on this button to set the edition mode of the contrast color. + + + + + UndoTool + + + Undo + + + + + Undo the last modification + + + + + UpdateNotificationWidget + + + New Flameshot version %1 is available + + + + + Ignore + + + + + Later + + + + + Update + + + + + UploadHistory + + + Upload History + + + + + Screenshots history is empty + + + + + UploadLineItem + + + Form + + + + + TextLabel + + + + + Copy URL + + + + + Open In Browser + + + + + Confirm to delete + + + + + Are you sure you want to delete a screenshot from the latest uploads and server? + + + + + UtilityPanel + + + Close + + + + + <Empty> + + + + + VisualsEditor + + + Opacity of area outside selection: + + + + + UI Color Editor + + + + + Colorpicker Editor + + + + + Button Selection + + + + + Select All + + + + + color_widgets::ColorDialog + + + Pick + + + + + color_widgets::ColorPalette + + + Unnamed + + + + + color_widgets::ColorPaletteModel + + + Unnamed + + + + + %1 (%2 colors) + + + + + color_widgets::ColorPaletteWidget + + + + Open a new palette from file + + + + + + Create a new palette + + + + + + Duplicate the current palette + + + + + + Delete the current palette + + + + + + Revert changes to the current palette + + + + + + Save changes to the current palette + + + + + + Add a color to the palette + + + + + + Remove the selected color from the palette + + + + + + New Palette + + + + + + Name + + + + + GIMP Palettes (*.gpl) + + + + + Palette Image (%1) + + + + + All Files (*) + + + + + + Open Palette + + + + + Failed to load the palette file +%1 + + + + + color_widgets::GradientEditor + + + Add Color + + + + + Remove Color + + + + + Edit Color... + + + + + color_widgets::GradientListModel + + + %1 (%2 colors) + + + + + color_widgets::Swatch + + + Clear Color + + + + + %1 (%2) + + + + diff --git a/src/core/flameshotdaemon.cpp b/src/core/flameshotdaemon.cpp index 5274b60d42..df81231508 100644 --- a/src/core/flameshotdaemon.cpp +++ b/src/core/flameshotdaemon.cpp @@ -72,7 +72,7 @@ FlameshotDaemon::FlameshotDaemon() , m_trayIcon(nullptr) #if !defined(DISABLE_UPDATE_CHECKER) , m_appLatestVersion(QStringLiteral(APP_VERSION).replace("v", "")) - , m_showCheckAppUpdateStatus(false) + , m_showManualCheckAppUpdateStatus(false) , m_networkCheckUpdates(nullptr) #endif { @@ -238,11 +238,27 @@ void FlameshotDaemon::getLatestAvailableVersion() void FlameshotDaemon::checkForUpdates() { - if (m_appLatestUrl.isEmpty()) { - m_showCheckAppUpdateStatus = true; - getLatestAvailableVersion(); + bool autoCheckEnabled = ConfigHandler().checkForUpdates(); + + if (autoCheckEnabled) { + if (!m_appLatestUrl.isEmpty()) { + QDesktopServices::openUrl(QUrl(m_appLatestUrl)); + } } else { - QDesktopServices::openUrl(QUrl(m_appLatestUrl)); + m_showManualCheckAppUpdateStatus = true; + + if (m_appLatestUrl.isEmpty()) { + getLatestAvailableVersion(); + } else { + QVersionNumber appLatestVersion = + QVersionNumber::fromString(m_appLatestVersion); + if (Flameshot::instance()->getVersion() < appLatestVersion) { + QDesktopServices::openUrl(QUrl(m_appLatestUrl)); + } else { + sendTrayNotification(tr("You have the latest version"), + "Flameshot"); + } + } } } #endif @@ -387,9 +403,11 @@ void FlameshotDaemon::enableTrayIcon(bool enable) #if !defined(DISABLE_UPDATE_CHECKER) void FlameshotDaemon::handleReplyCheckUpdates(QNetworkReply* reply) { - if (!ConfigHandler().checkForUpdates()) { + if (!ConfigHandler().checkForUpdates() && + !m_showManualCheckAppUpdateStatus) { return; } + if (reply->error() == QNetworkReply::NoError) { QJsonDocument response = QJsonDocument::fromJson(reply->readAll()); QJsonObject json = response.object(); @@ -400,20 +418,17 @@ void FlameshotDaemon::handleReplyCheckUpdates(QNetworkReply* reply) if (Flameshot::instance()->getVersion() < appLatestVersion) { emit newVersionAvailable(appLatestVersion); m_appLatestUrl = json["html_url"].toString(); - QString newVersion = - tr("New version %1 is available").arg(m_appLatestVersion); - if (m_showCheckAppUpdateStatus) { - sendTrayNotification(newVersion, "Flameshot"); + if (m_showManualCheckAppUpdateStatus) { QDesktopServices::openUrl(QUrl(m_appLatestUrl)); } - } else if (m_showCheckAppUpdateStatus) { + } else if (m_showManualCheckAppUpdateStatus) { sendTrayNotification(tr("You have the latest version"), "Flameshot"); } } else { qWarning() << "Failed to get information about the latest version. " << reply->errorString(); - if (m_showCheckAppUpdateStatus) { + if (m_showManualCheckAppUpdateStatus) { if (FlameshotDaemon::instance()) { FlameshotDaemon::instance()->sendTrayNotification( tr("Failed to get information about the latest version."), @@ -421,7 +436,7 @@ void FlameshotDaemon::handleReplyCheckUpdates(QNetworkReply* reply) } } } - m_showCheckAppUpdateStatus = false; + m_showManualCheckAppUpdateStatus = false; } #endif diff --git a/src/core/flameshotdaemon.h b/src/core/flameshotdaemon.h index 2aa7ca5bd1..755245b381 100644 --- a/src/core/flameshotdaemon.h +++ b/src/core/flameshotdaemon.h @@ -87,7 +87,7 @@ private slots: #if !defined(DISABLE_UPDATE_CHECKER) QString m_appLatestUrl; QString m_appLatestVersion; - bool m_showCheckAppUpdateStatus; + bool m_showManualCheckAppUpdateStatus; QNetworkAccessManager* m_networkCheckUpdates; #endif diff --git a/src/utils/desktopinfo.cpp b/src/utils/desktopinfo.cpp index cad77ea5f9..ca7713eece 100644 --- a/src/utils/desktopinfo.cpp +++ b/src/utils/desktopinfo.cpp @@ -44,7 +44,7 @@ DesktopInfo::WM DesktopInfo::windowManager() if (desktop.contains(QLatin1String("kde-plasma"))) { return DesktopInfo::KDE; } - if (desktop.contains(QLatin1String("cosmic"))) { + if (desktop.contains(QLatin1String("cosmic"), Qt::CaseInsensitive)) { return DesktopInfo::COSMIC; } } diff --git a/src/utils/screengrabber.cpp b/src/utils/screengrabber.cpp index 10cb907717..9b55d16fff 100644 --- a/src/utils/screengrabber.cpp +++ b/src/utils/screengrabber.cpp @@ -46,6 +46,7 @@ void ScreenGrabber::generalGrimScreenshot(bool& ok, QPixmap& res) res.load(imgPath, "ppm"); QFile imgFile(imgPath); imgFile.remove(); + adjustDevicePixelRatio(res); ok = true; } else { ok = false; @@ -98,29 +99,7 @@ void ScreenGrabber::freeDesktopPortal(bool& ok, QPixmap& res) QUrl uri = map.value("uri").toString(); QString uriString = uri.toLocalFile(); res = QPixmap(uriString); - - // we calculate an approximated physical desktop geometry based on - // dpr(provided by qt), we calculate the logical desktop geometry - // later, this is the accurate size, more info: - // https://bugreports.qt.io/browse/QTBUG-135612 - QRect approxPhysGeo = desktopGeometry(); - QRect logicalGeo = logicalDesktopGeometry(); - if (res.size() == - approxPhysGeo.size()) // which means the res is physical size - // and the dpr is correct. - { - res.setDevicePixelRatio(qApp->devicePixelRatio()); - } else if (res.size() == - logicalGeo.size()) // which means the res is logical size - // and we need to do nothing. - { - // No action needed - } else // which means the res is physical size and the dpr is not - // correct. - { - res.setDevicePixelRatio(res.height() * 1.0f / - logicalGeo.height()); - } + adjustDevicePixelRatio(res); QFile imgFile(uriString); imgFile.remove(); } @@ -170,6 +149,7 @@ QPixmap ScreenGrabber::grabEntireDesktop(bool& ok) switch (m_info.windowManager()) { case DesktopInfo::GNOME: case DesktopInfo::KDE: + case DesktopInfo::COSMIC: freeDesktopPortal(ok, res); break; case DesktopInfo::QTILE: @@ -302,3 +282,17 @@ QRect ScreenGrabber::logicalDesktopGeometry() } return geometry; } + +void ScreenGrabber::adjustDevicePixelRatio(QPixmap& pixmap) +{ + QRect physicalGeo = desktopGeometry(); + QRect logicalGeo = logicalDesktopGeometry(); + if (pixmap.size() == physicalGeo.size()) { + // Pixmap is physical size and Qt's DPR is correct + pixmap.setDevicePixelRatio(qApp->devicePixelRatio()); + } else if (pixmap.size() != logicalGeo.size()) { + // Pixmap is physical size but Qt's DPR is incorrect, calculate actual + pixmap.setDevicePixelRatio(pixmap.height() * 1.0f / + logicalGeo.height()); + } +} diff --git a/src/utils/screengrabber.h b/src/utils/screengrabber.h index c1e6eebdd9..d38ab13c8d 100644 --- a/src/utils/screengrabber.h +++ b/src/utils/screengrabber.h @@ -21,5 +21,6 @@ class ScreenGrabber : public QObject QRect logicalDesktopGeometry(); private: + void adjustDevicePixelRatio(QPixmap& pixmap); DesktopInfo m_info; }; diff --git a/src/widgets/trayicon.cpp b/src/widgets/trayicon.cpp index 7d93348b6b..7dd0c2249d 100644 --- a/src/widgets/trayicon.cpp +++ b/src/widgets/trayicon.cpp @@ -135,9 +135,11 @@ void TrayIcon::initMenu() &QAction::triggered, Flameshot::instance(), &Flameshot::config); - auto* infoAction = new QAction(tr("&About"), this); - connect( - infoAction, &QAction::triggered, Flameshot::instance(), &Flameshot::info); + m_infoAction = new QAction(tr("&About"), this); + connect(m_infoAction, + &QAction::triggered, + Flameshot::instance(), + &Flameshot::info); #if !defined(DISABLE_UPDATE_CHECKER) m_appUpdates = new QAction(tr("Check for updates"), this); @@ -150,10 +152,20 @@ void TrayIcon::initMenu() &FlameshotDaemon::newVersionAvailable, this, [this](const QVersionNumber& version) { - QString newVersion = - tr("New version %1 is available").arg(version.toString()); - m_appUpdates->setText(newVersion); + if (ConfigHandler().checkForUpdates()) { + QString newVersion = + tr("Download version %1").arg(version.toString()); + m_appUpdates->setText(newVersion); + m_appUpdates->setVisible(true); + + // hack to work around menu not updating when the text / + // visibility is modified Force menu refresh by removing and + // re-adding the action + m_menu->removeAction(m_appUpdates); + m_menu->insertAction(m_infoAction, m_appUpdates); + } }); + updateCheckUpdatesMenuVisibility(); #endif QAction* quitAction = new QAction(tr("&Quit"), this); @@ -186,7 +198,7 @@ void TrayIcon::initMenu() #if !defined(DISABLE_UPDATE_CHECKER) m_menu->addAction(m_appUpdates); #endif - m_menu->addAction(infoAction); + m_menu->addAction(m_infoAction); m_menu->addSeparator(); m_menu->addAction(quitAction); } @@ -204,14 +216,20 @@ void TrayIcon::updateCaptureActionShortcut() } #if !defined(DISABLE_UPDATE_CHECKER) -void TrayIcon::enableCheckUpdatesAction(bool enable) +void TrayIcon::updateCheckUpdatesMenuVisibility() { - if (m_appUpdates != nullptr) { - m_appUpdates->setVisible(enable); - m_appUpdates->setEnabled(enable); + if (m_appUpdates == nullptr) { + return; } - if (enable) { - FlameshotDaemon::instance()->getLatestAvailableVersion(); + + bool autoCheckEnabled = ConfigHandler().checkForUpdates(); + if (autoCheckEnabled) { + // When auto-check is enabled, hide the menu item initially + // It will be shown when a new version is available via a callback + m_appUpdates->setVisible(false); + } else { + m_appUpdates->setVisible(true); + m_appUpdates->setText(tr("Check for updates")); } } #endif diff --git a/src/widgets/trayicon.h b/src/widgets/trayicon.h index 1fbc6e0c46..c1a5f107d8 100644 --- a/src/widgets/trayicon.h +++ b/src/widgets/trayicon.h @@ -20,13 +20,14 @@ class TrayIcon : public QSystemTrayIcon void initMenu(); void updateCaptureActionShortcut(); #if !defined(DISABLE_UPDATE_CHECKER) - void enableCheckUpdatesAction(bool enable); + void updateCheckUpdatesMenuVisibility(); #endif void startGuiCapture(); QMenu* m_menu; QAction* m_captureAction; + QAction* m_infoAction; #if !defined(DISABLE_UPDATE_CHECKER) QAction* m_appUpdates; #endif diff --git a/src/widgets/updatenotificationwidget.cpp b/src/widgets/updatenotificationwidget.cpp index e24e0e91a4..798292938a 100644 --- a/src/widgets/updatenotificationwidget.cpp +++ b/src/widgets/updatenotificationwidget.cpp @@ -84,11 +84,16 @@ void UpdateNotificationWidget::ignoreButton() void UpdateNotificationWidget::updateButton() { - QDesktopServices::openUrl(m_appLatestUrl); + // Store URL before closing widgets + QString url = m_appLatestUrl; + hide(); if (parentWidget()) { parentWidget()->close(); } + + // Open URL after closing widgets + QDesktopServices::openUrl(QUrl(url)); } void UpdateNotificationWidget::initInternalPanel()