strings updated, german translation updated
This commit is contained in:
		
							parent
							
								
									c9ad204a2a
								
							
						
					
					
						commit
						6e165de9e2
					
				
					 7 changed files with 33 additions and 22 deletions
				
			
		|  | @ -34,7 +34,7 @@ ProfileInterface::ProfileInterface(ProfileDatabase *profileDB, CrewDatabase *cre | |||
| { | ||||
|     ui->setupUi(this); | ||||
|     ui->saProfile->setVisible(false); | ||||
|     contentStr = ui->labProfileContent->text(); | ||||
|     loadingStr = ui->labProfileLoading->text(); | ||||
|     profileFolder = ""; | ||||
| } | ||||
| 
 | ||||
|  | @ -77,7 +77,7 @@ void ProfileInterface::on_loadingProgress(int value, int maximum) | |||
| { | ||||
|     ui->pbPictureLoading->setMaximum(maximum); | ||||
|     ui->pbPictureLoading->setValue(value); | ||||
|     ui->labProfileContent->setText(contentStr.arg(QString::number(value), QString::number(maximum))); | ||||
|     ui->labProfileLoading->setText(loadingStr.arg(QString::number(value), QString::number(maximum))); | ||||
| } | ||||
| 
 | ||||
| void ProfileInterface::on_profileLoaded() | ||||
|  |  | |||
|  | @ -51,7 +51,7 @@ private: | |||
|     Ui::ProfileInterface *ui; | ||||
|     QString profileFolder; | ||||
|     QString profileName; | ||||
|     QString contentStr; | ||||
|     QString loadingStr; | ||||
| }; | ||||
| 
 | ||||
| #endif // PROFILEINTERFACE_H
 | ||||
|  |  | |||
|  | @ -58,9 +58,9 @@ | |||
|        </spacer> | ||||
|       </item> | ||||
|       <item> | ||||
|        <widget class="QLabel" name="labProfileContent"> | ||||
|        <widget class="QLabel" name="labProfileLoading"> | ||||
|         <property name="text"> | ||||
|          <string>Loading %1 files of %2 files</string> | ||||
|          <string>Loading file %1 of %2 files</string> | ||||
|         </property> | ||||
|         <property name="alignment"> | ||||
|          <set>Qt::AlignCenter</set> | ||||
|  |  | |||
|  | @ -32,12 +32,12 @@ ProfileLoader::ProfileLoader(QString profileFolder, CrewDatabase *crewDB, QObjec | |||
| 
 | ||||
| void ProfileLoader::run() | ||||
| { | ||||
|     int loadedV = 0; | ||||
|     int curFile = 1; | ||||
|     QDir profileDir; | ||||
|     QList<int> crewList; | ||||
|     profileDir.setPath(profileFolder); | ||||
| 
 | ||||
|     QList<int> crewList; | ||||
| 
 | ||||
|     // Seek pictures and savegames
 | ||||
|     profileDir.setNameFilters(QStringList("SGTA*")); | ||||
|     QStringList SavegameFiles = profileDir.entryList(QDir::Files | QDir::NoDot, QDir::NoSort); | ||||
|     QStringList BackupFiles = SavegameFiles.filter(".bak", Qt::CaseInsensitive); | ||||
|  | @ -53,6 +53,8 @@ void ProfileLoader::run() | |||
| 
 | ||||
|     int maximumV = SavegameFiles.length() + SnapmaticPics.length(); | ||||
| 
 | ||||
|     // Loading pictures and savegames
 | ||||
|     emit loadingProgress(curFile, maximumV); | ||||
|     foreach(const QString &SavegameFile, SavegameFiles) | ||||
|     { | ||||
|         QString sgdPath = profileFolder + "/" + SavegameFile; | ||||
|  | @ -61,8 +63,8 @@ void ProfileLoader::run() | |||
|         { | ||||
|             emit savegameLoaded(savegame, sgdPath); | ||||
|         } | ||||
|         loadedV++; | ||||
|         emit loadingProgress(loadedV, maximumV); | ||||
|         curFile++; | ||||
|         emit loadingProgress(curFile, maximumV); | ||||
|     } | ||||
|     foreach(const QString &SnapmaticPic, SnapmaticPics) | ||||
|     { | ||||
|  | @ -77,8 +79,8 @@ void ProfileLoader::run() | |||
|                 crewList.append(crewNumber); | ||||
|             } | ||||
|         } | ||||
|         loadedV++; | ||||
|         emit loadingProgress(loadedV, maximumV); | ||||
|         curFile++; | ||||
|         emit loadingProgress(curFile, maximumV); | ||||
|     } | ||||
| 
 | ||||
|     // adding found crews
 | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ | |||
|    </size> | ||||
|   </property> | ||||
|   <property name="windowTitle"> | ||||
|    <string>GTA V Sync</string> | ||||
|    <string>gta5sync - %1</string> | ||||
|   </property> | ||||
|   <widget class="QWidget" name="cwUI"> | ||||
|    <layout class="QVBoxLayout" name="vlUI"> | ||||
|  |  | |||
							
								
								
									
										
											BIN
										
									
								
								gta5sync_de.qm
									
										
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gta5sync_de.qm
									
										
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							|  | @ -82,7 +82,12 @@ | |||
|         <translation>Profil Interface</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="ProfileInterface.ui" line="32"/> | ||||
|         <location filename="ProfileInterface.ui" line="63"/> | ||||
|         <source>Loading file %1 of %2 files</source> | ||||
|         <oldsource>Loading %1 files of %2 files</oldsource> | ||||
|         <translation>Lade Datei %1 von %2 Dateien</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <source>Content of Profile %1</source> | ||||
|         <translation>Inhalt vom Profil %1</translation> | ||||
|     </message> | ||||
|  | @ -91,7 +96,7 @@ | |||
|         <translation type="obsolete">Ansehen</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="ProfileInterface.ui" line="113"/> | ||||
|         <location filename="ProfileInterface.ui" line="173"/> | ||||
|         <source>Close Profile</source> | ||||
|         <translation>Profil schließen</translation> | ||||
|     </message> | ||||
|  | @ -128,17 +133,17 @@ | |||
|         <translation>Spielstand Widget</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="SavegameWidget.ui" line="20"/> | ||||
|         <location filename="SavegameWidget.ui" line="36"/> | ||||
|         <source>The Third Way (100%) - 00/00/00 00:00:00</source> | ||||
|         <translation>The Third Way (100%) - 00/00/00 00:00:00</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="SavegameWidget.ui" line="43"/> | ||||
|         <location filename="SavegameWidget.ui" line="46"/> | ||||
|         <source>Copy</source> | ||||
|         <translation>Kopieren</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="SavegameWidget.ui" line="50"/> | ||||
|         <location filename="SavegameWidget.ui" line="53"/> | ||||
|         <source>Delete</source> | ||||
|         <translation>Löschen</translation> | ||||
|     </message> | ||||
|  | @ -151,17 +156,17 @@ | |||
|         <translation>Snapmatic Widget</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="SnapmaticWidget.ui" line="45"/> | ||||
|         <location filename="SnapmaticWidget.ui" line="51"/> | ||||
|         <source>PHOTO - 00/00/00 00:00:00</source> | ||||
|         <translation>FOTO - 00/00/00 00:00:00</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="SnapmaticWidget.ui" line="68"/> | ||||
|         <location filename="SnapmaticWidget.ui" line="61"/> | ||||
|         <source>View</source> | ||||
|         <translation>Ansehen</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="SnapmaticWidget.ui" line="75"/> | ||||
|         <location filename="SnapmaticWidget.ui" line="68"/> | ||||
|         <source>Delete</source> | ||||
|         <translation>Löschen</translation> | ||||
|     </message> | ||||
|  | @ -173,11 +178,15 @@ | |||
|         <translation type="obsolete">Grand Theft Auto V Sync</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="UserInterface.ui" line="20"/> | ||||
|         <location filename="UserInterface.cpp" line="69"/> | ||||
|         <source>GTA V Sync</source> | ||||
|         <translation>GTA V Sync</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="UserInterface.ui" line="20"/> | ||||
|         <source>gta5sync - %1</source> | ||||
|         <translation>gta5sync - %1</translation> | ||||
|     </message> | ||||
|     <message> | ||||
|         <location filename="UserInterface.ui" line="57"/> | ||||
|         <source>File</source> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue