diff --git a/AboutDialog.cpp b/AboutDialog.cpp index 326b20d..eba174f 100644 --- a/AboutDialog.cpp +++ b/AboutDialog.cpp @@ -39,7 +39,7 @@ AboutDialog::AboutDialog(QWidget *parent) : QString buildStr = GTA5SYNC_BUILDSTRING; #ifndef GTA5SYNC_BUILDTYPE_REL #ifdef GTA5SYNC_COMMIT - appVersion = appVersion % "-" % GTA5SYNC_COMMIT; + if (!appVersion.contains("-")) { appVersion = appVersion % "-" % GTA5SYNC_COMMIT; } #endif #endif diff --git a/ProfileInterface.cpp b/ProfileInterface.cpp index 90fa373..9eff454 100644 --- a/ProfileInterface.cpp +++ b/ProfileInterface.cpp @@ -96,7 +96,7 @@ ProfileInterface::ProfileInterface(ProfileDatabase *profileDB, CrewDatabase *cre QString appVersion = GTA5SYNC_APPVER; #ifndef GTA5SYNC_BUILDTYPE_REL #ifdef GTA5SYNC_COMMIT - appVersion = appVersion % "-" % GTA5SYNC_COMMIT; + if (!appVersion.contains("-")) { appVersion = appVersion % "-" % GTA5SYNC_COMMIT; } #endif #endif ui->labVersion->setText(QString("%1 %2").arg(GTA5SYNC_APPSTR, appVersion)); diff --git a/UserInterface.cpp b/UserInterface.cpp index b45b213..9e8d68e 100644 --- a/UserInterface.cpp +++ b/UserInterface.cpp @@ -64,7 +64,7 @@ UserInterface::UserInterface(ProfileDatabase *profileDB, CrewDatabase *crewDB, D QString appVersion = GTA5SYNC_APPVER; #ifndef GTA5SYNC_BUILDTYPE_REL #ifdef GTA5SYNC_COMMIT - appVersion = appVersion % "-" % GTA5SYNC_COMMIT; + if (!appVersion.contains("-")) { appVersion = appVersion % "-" % GTA5SYNC_COMMIT; } #endif #endif ui->labVersion->setText(QString("%1 %2").arg(GTA5SYNC_APPSTR, appVersion)); diff --git a/gta5view.pro b/gta5view.pro index 631abfb..cc3c85b 100644 --- a/gta5view.pro +++ b/gta5view.pro @@ -133,8 +133,9 @@ FORMS += \ TRANSLATIONS += \ res/gta5sync.ts \ - res/gta5sync_en_US.ts \ res/gta5sync_de.ts \ + res/gta5sync_en_US.ts \ + res/gta5sync_es.ts \ res/gta5sync_fr.ts \ res/gta5sync_ru.ts \ res/gta5sync_uk.ts \ @@ -146,8 +147,9 @@ RESOURCES += \ DISTFILES += res/app.rc \ res/gta5view.desktop \ - res/gta5sync_en_US.ts \ res/gta5sync_de.ts \ + res/gta5sync_en_US.ts \ + res/gta5sync_es.ts \ res/gta5sync_fr.ts \ res/gta5sync_ru.ts \ res/gta5sync_uk.ts \ diff --git a/res/gta5sync_es.ts b/res/gta5sync_es.ts new file mode 100644 index 0000000..cc82e7c --- /dev/null +++ b/res/gta5sync_es.ts @@ -0,0 +1,2469 @@ + + + + + AboutDialog + + + About %1 + + + + + <span style=" font-weight:600;">%1</span><br/> +<br/> +%2<br/> +<br/> +Version %3<br/> +Created on %4<br/> +Built with Qt %5<br/> +Running with Qt %6<br/> +<br/> +%7 + + + + + &Close + + + + + Translated by %1 + Translated by translator, example Translated by Syping + + + + + TRANSLATOR + Insert your name here and profile here in following scheme, First Translator,First Profile\nSecond Translator\nThird Translator,Second Profile + + + + + 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 + + + + + CrewDatabase + + + + No Crew + + + + + ExportDialog + + + Dialog + + + + + Export Format + + + + + &JPEG/PNG format + + + + + GTA &Snapmatic format + + + + + Export Size + + + + + Default &Size + + + + + &Desktop Size + + + + + &Custom Size + + + + + Custom Size: + + + + + x + + + + + &Export + + + + + &Close + + + + + ImageEditorDialog + + + + Overwrite Image... + + + + + Import picture + + + + + &Import... + + + + + + Apply changes + + + + + + &Overwrite + + + + + + Discard changes + + + + + + &Close + + + + + + + + + + Snapmatic Image Editor + + + + + + + Patching of Snapmatic Image failed because of I/O Error + + + + + + + Patching of Snapmatic Image failed because of Image Error + + + + + ImportDialog + + + Import... + + + + + Picture + + + + + Avatar + + + + + + Ignore Aspect Ratio + + + + + Watermark + + + + + Background + + + + + + + + Background Colour: <span style="color: %1">%1</span> + + + + + Select background colour + + + + + + ... + + + + + + + + Background Image: + + + + + Select background image + + + + + Remove background image + + + + + X + + + + + Force Colour in Avatar Zone + + + + + Import options + + + + + &Options + + + + + Import picture + + + + + &OK + + + + + Discard picture + + + + + &Cancel + + + + + &Import new Picture... + + + + + &Crop Picture... + + + + + &Load Settings... + + + + + &Save Settings... + + + + + + Custom Avatar + Custom Avatar Description in SC, don't use Special Character! + + + + + + Custom Picture + Custom Picture Description in SC, don't use Special Character! + + + + + + Background Image: %1 + + + + + Storage + Background Image: Storage + + + + + Crop Picture... + + + + + &Crop + + + + + Crop Picture + + + + + + Load Settings... + + + + + + Please import a new picture first + + + + + + Default + Default as Default Profile + + + + + + + + + + + + + + + + + + + + + + + + Profile %1 + Profile %1 as Profile 1 + + + + + + Please select your settings profile + + + + + + Save Settings... + + + + + 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! + + + + + Select Colour... + + + + + File + Background Image: File + + + + + JsonEditorDialog + + + Snapmatic JSON Editor + + + + + Apply changes + + + + + &Save + + + + + Discard changes + + + + + &Close + + + + + JSON Error + + + + + MapLocationDialog + + + Snapmatic Map Viewer + + + + + Close viewer + + + + + &Close + + + + + Apply new position + + + + + &Apply + + + + + Revert old position + + + + + &Revert + + + + + Select new position + + + + + &Select + + + + + Quit select position + + + + + &Done + + + + + X: %1 +Y: %2 + X and Y position + + + + + OptionsDialog + + + %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 + + + + + Game + + + + + Social Club Version + + + + + + + + + + + + Found: %1 + + + + + + + + + + + + + + Language: %1 + + + + + Steam Version + + + + + Feedback + + + + + Participation + + + + + + Participate in %1 User Statistics + + + + + Categories + + + + + Hardware, Application and OS Specification + + + + + System Language Configuration + + + + + Application Configuration + + + + + Personal Usage Data + + + + + Other + + + + + + + Participation ID: %1 + + + + + &Copy + + + + + Interface + + + + + Language for Interface + + + + + + + + Current: %1 + + + + + Language for Areas + + + + + Style + + + + + Use Default Style (Restart) + + + + + Style: + + + + + Font + + + + + Always use Message Font (Windows 2003 and earlier) + + + + + Apply changes + + + + + &OK + OK, Cancel, Apply + + + + + Discard changes + + + + + &Cancel + OK, Cancel, Apply + + + + + %1 (Language priority) + First language a person can talk with a different person/application. "Native" or "Not Native". + + + + + System + System in context of System default + + + + + %1 (Game language) + Next closest language compared to the Game settings + + + + + + + Auto + Automatic language choice. + + + + + + %1 (Closest to Interface) + Next closest language compared to the Interface + + + + + %1 + %1 + + + + + The new Custom Folder will initialise after you restart %1. + + + + + No Profile + No Profile, as default + + + + + + + Profile: %1 + + + + + View %1 User Statistics Online + + + + + Not registered + + + + + + + + Yes + + + + + + No + + + + + + OS defined + + + + + + Steam defined + + + + + PictureDialog + + + Snapmatic Picture Viewer - %1 + + + + + <span style=" font-weight:600;">Title: </span>%6<br/> +<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... + + + + + + &Edit Properties... + + + + + + &Overwrite Image... + + + + + + Open &Map Viewer... + + + + + + Open &JSON Editor... + + + + + 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) + + + + + + + + + + Export as Picture + + + + + + Overwrite %1 with current Snapmatic picture? + + + + + 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 + + + + + + No valid file is selected + + + + + Export as Snapmatic... + + + + + GTA V Export (*.g5e) + + + + + GTA V Raw Export (*.auto) + + + + + Snapmatic pictures (PGTA*) + + + + + + + + + Export as Snapmatic + + + + + + Failed to export current Snapmatic picture + + + + + Exported Snapmatic to "%1" because of using the .auto extension. + + + + + PlayerListDialog + + + 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! + + + + + ProfileInterface + + + Profile Interface + + + + + Loading file %1 of %2 files + + + + + %1 %2 + + + + + Import file + + + + + &Import... + + + + + Close profile + + + + + &Close + + + + + + + Export file %1 of %2 files + + + + + + + + + + + + + + + + + + + + + + + + Import... + + + + + + + + + + + + + Import + + + + + + + + All image files (%1) + + + + + + + + + All files (**) + + + + + + + + Can't import %1 because file can't be open + + + + + + + + Can't import %1 because file can't be parsed properly + + + + + Enabled pictures: %1 of %2 + + + + + Loading... + + + + + Snapmatic Loader + + + + + <h4>Following Snapmatic Pictures got repaired</h4>%1 + + + + + Importable files (%1) + + + + + + GTA V Export (*.g5e) + + + + + + Savegames files (SGTA*) + + + + + + Snapmatic pictures (PGTA*) + + + + + + + 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 + + + + + Can't import %1 because file format can't be detected + + + + + Prepare Content for Import... + + + + + Failed to import the Snapmatic picture, file not begin with PGTA or end with .g5e + + + + + A Snapmatic picture already exists with the uid %1, you want assign your import a new uid and timestamp? + + + + + 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 + + + + + + + + + Export selected... + + + + + + 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: + + + + + Initialising export... + + + + + 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? + + + + + Failed to remove all selected Snapmatic pictures and/or Savegame files + + + + + + + + + + No Snapmatic pictures are selected + + + + + + + + + + %1 failed with... + +%2 + Action failed with... + + + + + + Qualify as Avatar + + + + + + + + Patch selected... + + + + + + + + + + + + Patch file %1 of %2 files + + + + + 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*) + + + + + QApplication + + + Font + + + + + Selected Font: %1 + + + + + <h4>Welcome to %1!</h4>You want to configure %1 before you start using it? + + + + + SavegameDialog + + + + Savegame Viewer + + + + + <span style=" font-weight:600;">Savegame</span><br><br>%1 + + + + + &Export + + + + + &Close + + + + + Failed at %1 + + + + + SavegameWidget + + + 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 (**) + + + + + + + + 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 + + + + + + Delete Savegame + + + + + Are you sure to delete %1 from your savegames? + + + + + Failed at deleting %1 from your savegames + + + + + SnapmaticEditor + + + + + + + + + + + Snapmatic Properties + + + + + Snapmatic Type + + + + + Editor + + + + + Selfie + + + + + Regular + + + + + Mugshot + + + + + Meme + + + + + Director + + + + + Snapmatic Values + + + + + Extras + + + + + Qualify as Avatar automatically at apply + + + + + Qualify as Avatar allows you to use this Snapmatic as a Social Club profile picture + + + + + Apply changes + + + + + &Apply + + + + + Discard changes + + + + + &Cancel + + + + + <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 I/O Error + + + + + Patching of Snapmatic Properties failed because of JSON Error + + + + + + Snapmatic Crew + + + + + + New Snapmatic crew: + + + + + + Snapmatic Title + + + + + + New Snapmatic title: + + + + + + + Edit + + + + + Players: %1 (%2) + Multiple Player are inserted here + + + + + Player: %1 (%2) + One Player is inserted here + + + + + Title: %1 (%2) + + + + + + Appropriate: %1 + + + + + Yes + Yes, should work fine + + + + + No + No, could lead to issues + + + + + Crew: %1 (%2) + + + + + SnapmaticPicture + + + + JSON is incomplete and malformed + + + + + + JSON is incomplete + + + + + + JSON is malformed + + + + + 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 + + + + + SnapmaticWidget + + + 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 + + + + + TelemetryDialog + + + You want help %1 to improve in the future by including personal usage data in your submission? + + + + + %1 User Statistics + + + + + Yes, I want include personal usage data. + + + + + &OK + + + + + UserInterface + + + + %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 + + + + + Selection &mass tools + + + + + + + &About %1 + + + + + &Exit + + + + + Exit + + + + + Close &Profile + + + + + &Settings + + + + + Select &All + + + + + &Deselect All + + + + + &Export selected... + + + + + &Remove selected + + + + + &Import files... + + + + + &Open File... + + + + + + Select &GTA V Folder... + + + + + + + + Select GTA V Folder... + + + + + Show In-gam&e + + + + + Hi&de In-game + + + + + Change &Title... + + + + + Change &Crew... + + + + + &Qualify as Avatar + + + + + Change &Players... + + + + + + + Show In-game + + + + + + + Hide In-game + + + + + + + Select Profile + + + + + Open File... + + + + + + + + Open File + + + + + Can't open %1 because of not valid file format + + + + diff --git a/res/gta5sync_zh_TW.qm b/res/gta5sync_zh_TW.qm index c8d1881..907d543 100644 Binary files a/res/gta5sync_zh_TW.qm and b/res/gta5sync_zh_TW.qm differ diff --git a/res/gta5sync_zh_TW.ts b/res/gta5sync_zh_TW.ts index 811add5..1ffd2fb 100644 --- a/res/gta5sync_zh_TW.ts +++ b/res/gta5sync_zh_TW.ts @@ -72,7 +72,7 @@ Pictures and Savegames Release Candidate - 最終發布版本 + 最終測試版本 @@ -183,7 +183,7 @@ Pictures and Savegames Import picture - 匯入圖片 + 匯入圖片 @@ -194,7 +194,7 @@ Pictures and Savegames Apply changes - 套用變更 + 套用變更 @@ -206,7 +206,7 @@ Pictures and Savegames Discard changes - 捨棄變更 + 捨棄變更 @@ -265,7 +265,7 @@ Pictures and Savegames Watermark - + 浮水印 @@ -283,7 +283,7 @@ Pictures and Savegames Select background colour - + 選擇背景顏色 @@ -302,12 +302,12 @@ Pictures and Savegames Select background image - + 選擇背景圖片 Remove background image - + 移除背景圖片 @@ -322,12 +322,12 @@ Pictures and Savegames Import options - + 匯入選項 &Options - + 選項(&O) @@ -352,22 +352,22 @@ Pictures and Savegames &Import new Picture... - + 匯入新圖片(&I)... &Crop Picture... - + 裁剪圖片(&C)... &Load Settings... - + 載入設定(&L)... &Save Settings... - + 儲存設定(&S)... @@ -387,35 +387,35 @@ Pictures and Savegames Storage Background Image: Storage - + 儲存 Crop Picture... - + 裁剪圖片... &Crop - + 裁剪(&C) Crop Picture - + 裁剪圖片 Please import a new picture first - + 請先匯入新圖片 Default Default as Default Profile - + 預設 @@ -440,19 +440,19 @@ Pictures and Savegames Profile %1 Profile %1 as Profile 1 - + 設定檔 %1 Load Settings... - + 載入設定... Save Settings... - + 儲存設定... @@ -480,7 +480,7 @@ When you want to use it as Avatar the image will be detached! Please select your settings profile - + 請選擇設定檔 @@ -499,7 +499,7 @@ When you want to use it as Avatar the image will be detached! Apply changes - 套用變更 + 套用變更 @@ -509,7 +509,7 @@ When you want to use it as Avatar the image will be detached! Discard changes - 捨棄變更 + 捨棄變更 @@ -532,7 +532,7 @@ When you want to use it as Avatar the image will be detached! Close viewer - 關閉檢視器 + 關閉檢視器 @@ -542,7 +542,7 @@ When you want to use it as Avatar the image will be detached! Apply new position - + 套用新位置 @@ -552,7 +552,7 @@ When you want to use it as Avatar the image will be detached! Revert old position - + 還原舊位置 @@ -562,17 +562,17 @@ When you want to use it as Avatar the image will be detached! Select new position - + 選擇新位置 &Select - 選擇(&S) + 選擇(&S) Quit select position - + 離開位置選擇 @@ -724,12 +724,12 @@ Y: %2 Game - + 遊戲 Social Club Version - + Social Club 版 @@ -741,7 +741,7 @@ Y: %2 Found: %1 - + 找到: %1 @@ -755,12 +755,12 @@ Y: %2 Language: %1 - + 語言: %1 Steam Version - + Steam 版 @@ -801,7 +801,7 @@ Y: %2 Personal Usage Data - + 個人使用數據 @@ -846,17 +846,17 @@ Y: %2 Style - 風格 + 樣式 Use Default Style (Restart) - 使用預設風格 (需重新啟動) + 使用預設樣式 (需重新啟動) Style: - 風格: + 樣式: @@ -896,12 +896,6 @@ Y: %2 System in context of System default 系統 - - - %1 (Game language) - Next closest language compared to the Game settings - - @@ -921,7 +915,13 @@ Y: %2 %1 (Language priority) First language a person can talk with a different person/application. "Native" or "Not Native". - + %1 (語言優先) + + + + %1 (Game language) + Next closest language compared to the Game settings + %1 (遊戲語言) @@ -963,25 +963,25 @@ Y: %2 Yes - + No - + OS defined - + 系統定義 Steam defined - + Steam 定義 @@ -1571,12 +1571,12 @@ Press 1 for Default View Prepare Content for Import... - + 準備匯入內容... A Snapmatic picture already exists with the uid %1, you want assign your import a new uid and timestamp? - + 已有與 uid %1 相同的 Snapmatic 圖片,你想要匯入新的 uid 和時間戳嗎? @@ -1949,7 +1949,7 @@ Press 1 for Default View Apply changes - 套用變更 + 套用變更 @@ -1959,7 +1959,7 @@ Press 1 for Default View Discard changes - 捨棄變更 + 捨棄變更 @@ -2258,22 +2258,22 @@ Press 1 for Default View You want help %1 to improve in the future by including personal usage data in your submission? - + 你希望通過收集資料來幫助改善 %1 嗎? %1 User Statistics - + %1 使用者統計 Yes, I want include personal usage data. - + 是的,我想幫忙. &OK - 確定(&O) + 確定(&O)