diff --git a/ProfileInterface.cpp b/ProfileInterface.cpp index 26344c1..8afe152 100644 --- a/ProfileInterface.cpp +++ b/ProfileInterface.cpp @@ -1848,6 +1848,14 @@ bool ProfileInterface::eventFilter(QObject *watched, QEvent *event) } } } + else if (watched->objectName() == "ProfileInterface") + { + if (previousWidget != nullptr) + { + previousWidget->setStyleSheet(QLatin1String("")); + previousWidget = nullptr; + } + } } return false; } diff --git a/res/gta5sync_en_US.qm b/res/gta5sync_en_US.qm index a61ca67..078193e 100644 Binary files a/res/gta5sync_en_US.qm and b/res/gta5sync_en_US.qm differ diff --git a/res/gta5sync_en_US.ts b/res/gta5sync_en_US.ts index 21682ed..7eabf21 100644 --- a/res/gta5sync_en_US.ts +++ b/res/gta5sync_en_US.ts @@ -6,7 +6,7 @@ About %1 - + @@ -20,18 +20,18 @@ Built with Qt %5<br/> Running with Qt %6<br/> <br/> %7 - + &Close - + Translated by %1 Translated by translator, example Translated by Syping - + @@ -43,52 +43,52 @@ Running with Qt %6<br/> A project for viewing Grand Theft Auto V Snapmatic<br/> Pictures and Savegames - + Copyright &copy; <a href="%1">%2</a> %3 - + %1 is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> - + Release - + Release Candidate - + Daily Build - + Developer - + Beta - + Alpha - + Custom - + @@ -97,7 +97,7 @@ Pictures and Savegames No Crew - + @@ -105,62 +105,62 @@ Pictures and Savegames Dialog - + Export Format - + &JPEG/PNG format - + GTA &Snapmatic format - + Export Size - + Default &Size - + &Desktop Size - + &Custom Size - + Custom Size: - + x - + &Export - + &Close - + @@ -173,13 +173,13 @@ Pictures and Savegames Snapmatic Image Editor - + Overwrite Image... - + @@ -189,7 +189,7 @@ Pictures and Savegames &Import... - + @@ -201,7 +201,7 @@ Pictures and Savegames &Overwrite - + @@ -213,21 +213,21 @@ Pictures and Savegames &Close - + Patching of Snapmatic Image failed because of I/O Error - + Patching of Snapmatic Image failed because of Image Error - + @@ -235,7 +235,7 @@ Pictures and Savegames Import... - + @@ -248,29 +248,29 @@ Pictures and Savegames Select background colour - + Select background color ... - + Avatar - + Picture - + Ignore Aspect Ratio - + @@ -280,13 +280,13 @@ Pictures and Savegames Background - + Background Image: %1 - + @@ -301,7 +301,7 @@ Pictures and Savegames X - + @@ -321,22 +321,22 @@ Pictures and Savegames Import picture - + &OK - + Discard picture - + &Cancel - + @@ -344,7 +344,7 @@ Pictures and Savegames Background Image: - + @@ -371,14 +371,14 @@ Pictures and Savegames Custom Avatar Custom Avatar Description in SC, don't use Special Character! - + Custom Picture Custom Picture Description in SC, don't use Special Character! - + @@ -460,13 +460,13 @@ Pictures and Savegames Snapmatic Avatar Zone - + Are you sure to use a square image outside of the Avatar Zone? When you want to use it as Avatar the image will be detached! - + @@ -477,7 +477,7 @@ When you want to use it as Avatar the image will be detached! File Background Image: File - + @@ -485,7 +485,7 @@ When you want to use it as Avatar the image will be detached! Snapmatic JSON Editor - + @@ -495,7 +495,7 @@ When you want to use it as Avatar the image will be detached! &Save - + @@ -505,12 +505,12 @@ When you want to use it as Avatar the image will be detached! &Close - + JSON Error - + @@ -518,7 +518,7 @@ When you want to use it as Avatar the image will be detached! Snapmatic Map Viewer - + @@ -528,7 +528,7 @@ When you want to use it as Avatar the image will be detached! &Close - + @@ -538,7 +538,7 @@ When you want to use it as Avatar the image will be detached! &Apply - + @@ -548,7 +548,7 @@ When you want to use it as Avatar the image will be detached! &Revert - + @@ -568,14 +568,14 @@ When you want to use it as Avatar the image will be detached! &Done - + X: %1 Y: %2 X and Y position - + @@ -583,133 +583,133 @@ Y: %2 %1 - Settings - + Profiles - + Content Open/Select Mode - + Open with Singleclick - + Open with Doubleclick - + Select with Singleclick - + Default Profile - + Custom GTA V Folder - + Force using Custom Folder - + ... - + Pictures - + Export Size - + Default: %1x%2 - + Screen Resolution: %1x%2 - + Custom Size: - + x - + Ignore Aspect Ratio - + Export Quality - + Enable Custom Quality - + Quality: - + %1% - + Picture Viewer - + Enable Navigation Bar - + Players - + ID - + Name - + @@ -755,85 +755,85 @@ Y: %2 Feedback - + Participate in %1 User Statistics - + Hardware, Application and OS Specification - + Application Configuration - + Other - + Participation ID: %1 - + &Copy - + Language for Areas - + Style - + Style: - + Font - + Always use Message Font (Windows 2003 and earlier) - + Interface - + Participation - + Categories - + System Language Configuration - + @@ -843,7 +843,7 @@ Y: %2 Language for Interface - + @@ -851,40 +851,40 @@ Y: %2 Current: %1 - + Use Default Style (Restart) - + Apply changes - + &OK OK, Cancel, Apply - + Discard changes - + &Cancel OK, Cancel, Apply - + System System in context of System default - + @@ -897,7 +897,7 @@ Y: %2 %1 (Closest to Interface) Next closest language compared to the Interface - + @@ -905,7 +905,7 @@ Y: %2 Auto Automatic language choice. - + @@ -917,7 +917,7 @@ Y: %2 %1 %1 - + @@ -928,24 +928,24 @@ Y: %2 No Profile No Profile, as default - + Profile: %1 - + View %1 User Statistics Online - + Not registered - + @@ -979,7 +979,7 @@ Y: %2 Snapmatic Picture Viewer - %1 - + @@ -987,121 +987,121 @@ Y: %2 <span style=" font-weight:600;">Location: </span>%7 (%1, %2, %3)<br/> <span style=" font-weight:600;">Players: </span>%4 (Crew %5)<br/> <span style=" font-weight:600;">Created: </span>%8 - + Manage picture - + &Manage - + Close viewer - + &Close - + Export as &Picture... - + Export as &Snapmatic... - + &Overwrite Image... - + &Edit Properties... - + Open &Map Viewer... - + Key 1 - Avatar Preview Mode Key 2 - Toggle Overlay Arrow Keys - Navigate - + Snapmatic Picture Viewer - + Failed at %1 - + No Players - + No Crew - + Unknown Location - + Avatar Preview Mode Press 1 for Default View - + Export as Picture... - + Export - + JPEG Graphics (*.jpg *.jpeg) - + Portable Network Graphics (*.png) - + @@ -1111,65 +1111,65 @@ Press 1 for Default View Export as Picture - + Overwrite %1 with current Snapmatic picture? - + Failed to export current Snapmatic picture - + No valid file is selected - + Failed to export the picture because the system occurred a write failure - + Failed to export the picture because the format detection failures - + Failed to export the picture because the file can't be written - + Failed to export the picture because of an unknown reason - + Export as Snapmatic... - + GTA V Export (*.g5e) - + GTA V Raw Export (*.auto) - + Snapmatic pictures (PGTA*) - + @@ -1178,18 +1178,18 @@ Press 1 for Default View Export as Snapmatic - + Exported Snapmatic to "%1" because of using the .auto extension. - + Open &JSON Editor... - + @@ -1197,53 +1197,53 @@ Press 1 for Default View Edit Players... - + Available Players: - + Selected Players: - + &Apply - + &Cancel - + Add Players... - + Failed to add more Players because the limit of Players are %1! - + Add Player... - + Enter Social Club Player ID - + Failed to add Player %1 because Player %1 is already added! - + @@ -1251,64 +1251,64 @@ Press 1 for Default View Profile Interface - + Loading file %1 of %2 files - + %1 %2 - + Import file - + &Import... - + Close profile - + &Close - + Export file %1 of %2 files - + Enabled pictures: %1 of %2 - + Loading... - + Snapmatic Loader - + <h4>Following Snapmatic Pictures got repaired</h4>%1 - + @@ -1332,7 +1332,7 @@ Press 1 for Default View Import... - + @@ -1345,30 +1345,30 @@ Press 1 for Default View Import - + Importable files (%1) - + GTA V Export (*.g5e) - + Savegames files (SGTA*) - + Snapmatic pictures (PGTA*) - + @@ -1376,7 +1376,7 @@ Press 1 for Default View All image files (%1) - + @@ -1385,39 +1385,39 @@ Press 1 for Default View All files (**) - + No valid file is selected - + Import file %1 of %2 files - + Import failed with... %1 - + Failed to read Snapmatic picture - + Failed to read Savegame file - + @@ -1425,7 +1425,7 @@ Press 1 for Default View Can't import %1 because file can't be open - + @@ -1433,55 +1433,55 @@ Press 1 for Default View Can't import %1 because file can't be parsed properly - + Can't import %1 because file format can't be detected - + Failed to import the Snapmatic picture, file not begin with PGTA or end with .g5e - + Failed to import the Snapmatic picture, can't copy the file into profile - + Failed to import the Savegame, can't copy the file into profile - + Failed to import the Savegame, no Savegame slot is left - + JPG pictures and GTA Snapmatic - + JPG pictures only - + GTA Snapmatic only - + %1Export Snapmatic pictures%2<br><br>JPG pictures make it possible to open the picture with a Image Viewer<br>GTA Snapmatic make it possible to import the picture into the game<br><br>Export as: - + @@ -1490,7 +1490,7 @@ Press 1 for Default View Export selected... - + @@ -1502,31 +1502,31 @@ Press 1 for Default View Export failed with... %1 - + No Snapmatic pictures or Savegames files are selected - + Remove selected - + You really want remove the selected Snapmatic picutres and Savegame files? - + Qualify as Avatar - + @@ -1536,7 +1536,7 @@ Press 1 for Default View No Snapmatic pictures are selected - + @@ -1544,7 +1544,7 @@ Press 1 for Default View Patch selected... - + @@ -1556,7 +1556,7 @@ Press 1 for Default View Patch file %1 of %2 files - + @@ -1569,12 +1569,12 @@ Press 1 for Default View %2 Action failed with... - + Failed to remove all selected Snapmatic pictures and/or Savegame files - + @@ -1590,60 +1590,60 @@ Press 1 for Default View Qualify %1 failed with... - + Change Players... - + Change Players %1 failed with... - + Change Crew... - + Failed to enter a valid Snapmatic Crew ID - + Change Crew %1 failed with... - + Change Title... - + Failed to enter a valid Snapmatic title - + Change Title %1 failed with... - + All profile files (*.g5e SGTA* PGTA*) - + @@ -1651,17 +1651,17 @@ Press 1 for Default View Font - + Selected Font: %1 - + <h4>Welcome to %1!</h4>You want to configure %1 before you start using it? - + @@ -1670,27 +1670,27 @@ Press 1 for Default View Savegame Viewer - + <span style=" font-weight:600;">Savegame</span><br><br>%1 - + &Export - + &Close - + Failed at %1 - + @@ -1698,88 +1698,88 @@ Press 1 for Default View Savegame Widget - + SAVE %3 - %1<br>%2 - + View savegame - + View - + Copy savegame - + Export - + Delete savegame - + Delete - + &View - + &Export - + &Remove - + &Select - + &Deselect - + Select &All - + &Deselect All - + Savegame files (SGTA*) - + All files (**) - + @@ -1787,73 +1787,73 @@ Press 1 for Default View Export Savegame - + Overwrite %1 with current Savegame? - + Failed to overwrite %1 with current Savegame - + Failed to export current Savegame - + No valid file is selected - + Export Savegame... - + AUTOSAVE - %1 %2 - + SAVE %3 - %1 %2 - + WRONG FORMAT - + UNKNOWN - + Are you sure to delete %1 from your savegames? - + Delete Savegame - + Failed at deleting %1 from your savegames - + @@ -1869,90 +1869,90 @@ Press 1 for Default View Snapmatic Properties - + Snapmatic Type - + Editor - + Selfie - + Regular - + Mugshot - + Meme - + Director - + Snapmatic Values - + Crew: %1 (%2) - + Title: %1 (%2) - + Players: %1 (%2) Multiple Player are inserted here - + Player: %1 (%2) One Player is inserted here - + Appropriate: %1 - + Extras - + Qualify as Avatar automatically at apply - + Qualify as Avatar allows you to use this Snapmatic as a Social Club profile picture - + @@ -1962,7 +1962,7 @@ Press 1 for Default View &Apply - + @@ -1972,41 +1972,41 @@ Press 1 for Default View &Cancel - + Edit - + Yes Yes, should work fine - + No No, could lead to issues - + <h4>Unsaved changes detected</h4>You want to save the JSON content before you quit? - + Patching of Snapmatic Properties failed because of %1 - + Patching of Snapmatic Properties failed because of JSON Error - + @@ -2014,31 +2014,31 @@ Press 1 for Default View Patching of Snapmatic Properties failed because of I/O Error - + Snapmatic Title - + New Snapmatic title: - + Snapmatic Crew - + New Snapmatic crew: - + @@ -2046,66 +2046,66 @@ Press 1 for Default View PHOTO - %1 - + open file %1 - + header not exists - + header is malformed - + picture not exists (%1) - + JSON not exists (%1) - + title not exists (%1) - + description not exists (%1) - + reading file %1 because of %2 Example for %2: JSON is malformed error - + JSON is incomplete and malformed - + JSON is incomplete - + JSON is malformed - + @@ -2113,124 +2113,124 @@ Press 1 for Default View Snapmatic Widget - + PHOTO - 00/00/00 00:00:00 - + View picture - + View - + Copy picture - + Copy - + Export picture - + Export - + Delete picture - + Delete - + Edi&t - + Show &In-game - + Hide &In-game - + &Export - + &View - + &Remove - + &Select - + &Deselect - + Select &All - + &Deselect All - + Are you sure to delete %1 from your Snapmatic pictures? - + Failed at deleting %1 from your Snapmatic pictures - + Failed to hide %1 In-game from your Snapmatic pictures - + Failed to show %1 In-game from your Snapmatic pictures - + @@ -2262,126 +2262,126 @@ Press 1 for Default View %2 - %1 - + Select profile - + %1 %2 - + Reload profile overview - + &Reload - + Close %1 Close %1 <- (gta5view/gta5sync) - %1 will be replaced automatically - + &Close - + &File - + &Help - + &Edit - + &Profile - + &Selection visibility - + &About %1 - + &Exit - + Exit - + Close &Profile - + &Settings - + Select &All - + &Deselect All - + &Export selected... - + &Remove selected - + &Import files... - + &Open File... - + Select &GTA V Folder... - + @@ -2389,54 +2389,54 @@ Press 1 for Default View Select GTA V Folder... - + Show In-gam&e - + Hi&de In-game - + Change &Players... - + Selection &mass tools - + Change &Title... - + Change &Crew... - + &Qualify as Avatar - + Select Profile - + Open File... - + @@ -2444,26 +2444,26 @@ Press 1 for Default View Open File - + Can't open %1 because of not valid file format - + Show In-game - + Hide In-game - +