diff --git mythplugins/mythgame/mythgame/gamehandler.cpp mythplugins/mythgame/mythgame/gamehandler.cpp
index c01feb9..3490b2b 100644
|
|
|
void GameHandler::VerifyGameDB(GameHandler *handler)
|
| 508 | 508 | MythDB::DBError("GameHandler::VerifyGameDB - " |
| 509 | 509 | "select", query); |
| 510 | 510 | |
| 511 | | QString message = QObject::tr("Verifying %1 files") |
| | 511 | QString message = QObject::tr("Verifying %1 files...") |
| 512 | 512 | .arg(handler->SystemName()); |
| 513 | 513 | |
| 514 | 514 | CreateProgress(message); |
| … |
… |
void GameHandler::buildFileList(QString directory, GameHandler *handler,
|
| 674 | 674 | m_GameMap[RomName] = GameScan(RomName,Info.filePath(),inFileSystem, |
| 675 | 675 | GameName, Info.absoluteDir().path()); |
| 676 | 676 | |
| 677 | | LOG(VB_GENERAL, LOG_INFO, LOC + QString("Found Rom : (%1) - %2") |
| | 677 | LOG(VB_GENERAL, LOG_INFO, LOC + QString("Found ROM : (%1) - %2") |
| 678 | 678 | .arg(handler->SystemName()).arg(RomName)); |
| 679 | 679 | |
| 680 | 680 | *filecount = *filecount + 1; |
| … |
… |
void GameHandler::processGames(GameHandler *handler)
|
| 699 | 699 | else |
| 700 | 700 | { |
| 701 | 701 | LOG(VB_GENERAL, LOG_ERR, LOC + |
| 702 | | QString("Rom Path does not exist: %1") |
| | 702 | QString("ROM Path does not exist: %1") |
| 703 | 703 | .arg(handler->SystemRomPath())); |
| 704 | 704 | return; |
| 705 | 705 | } |
| … |
… |
void GameHandler::processGames(GameHandler *handler)
|
| 711 | 711 | { |
| 712 | 712 | MythScreenStack *popupStack = GetMythMainWindow()->GetStack("popup stack"); |
| 713 | 713 | |
| 714 | | QString message = QObject::tr("Scanning for %1 games") |
| | 714 | QString message = QObject::tr("Scanning for %1 games...") |
| 715 | 715 | .arg(handler->SystemName()); |
| 716 | 716 | MythUIBusyDialog *busyDialog = new MythUIBusyDialog(message, popupStack, |
| 717 | 717 | "gamescanbusy"); |
diff --git mythplugins/mythgame/mythgame/gamescan.cpp mythplugins/mythgame/mythgame/gamescan.cpp
index 7e09ec1..46dbf48 100644
|
|
|
void GameScannerThread::verifyFiles()
|
| 64 | 64 | |
| 65 | 65 | if (m_HasGUI) |
| 66 | 66 | SendProgressEvent(counter, (uint)m_dbgames.count(), |
| 67 | | GameScanner::tr("Verifying game files")); |
| | 67 | GameScanner::tr("Verifying game files...")); |
| 68 | 68 | |
| 69 | 69 | // For every file we know about, check to see if it still exists. |
| 70 | 70 | for (QList<RomInfo*>::iterator p = m_dbgames.begin(); |
| … |
… |
void GameScannerThread::updateDB()
|
| 107 | 107 | uint counter = 0; |
| 108 | 108 | if (m_HasGUI) |
| 109 | 109 | SendProgressEvent(counter, (uint)(m_files.size() + m_remove.size()), |
| 110 | | GameScanner::tr("Updating game database")); |
| | 110 | GameScanner::tr("Updating game database...")); |
| 111 | 111 | |
| 112 | 112 | for (QList<RomFileInfo>::iterator p = m_files.begin(); |
| 113 | 113 | p != m_files.end(); ++p) |
diff --git mythplugins/mythgame/mythgame/gamesettings.cpp mythplugins/mythgame/mythgame/gamesettings.cpp
index 8fadbd9..46d18bd 100644
|
|
|
class RomPath : public LineEditSetting, public GameDBStorage
|
| 195 | 195 | RomPath(const MythGamePlayerSettings &parent) : |
| 196 | 196 | LineEditSetting(this), GameDBStorage(this, parent, "rompath") |
| 197 | 197 | { |
| 198 | | setLabel(QObject::tr("Rom Path")); |
| | 198 | setLabel(QObject::tr("ROM Path")); |
| 199 | 199 | setHelpText(QObject::tr("Location of the ROM files for this emulator")); |
| 200 | 200 | }; |
| 201 | 201 | }; |
| … |
… |
void MythGamePlayerEditor::menu(void)
|
| 303 | 303 | DialogCode val = MythPopupBox::Show2ButtonPopup( |
| 304 | 304 | GetMythMainWindow(), |
| 305 | 305 | "", tr("Game Player Menu"), |
| 306 | | tr("Edit.."), tr("Delete.."), kDialogCodeButton1); |
| | 306 | tr("Edit..."), tr("Delete..."), kDialogCodeButton1); |
| 307 | 307 | |
| 308 | 308 | if (kDialogCodeButton0 == val) |
| 309 | 309 | edit(); |