From 08ebc6dd29ca1fb88c4f2d615b811c84b2f6a034 Mon Sep 17 00:00:00 2001 From: Nikos Barkas Date: Thu, 29 May 2008 12:09:37 +0000 Subject: [PATCH] One more string farmed out. Apparently they will never end. git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1659 127b21dd-08f5-0310-b4b7-95ae10353056 --- Resources/Config/descriptions.plist | 1 + src/Core/Entities/PlayerEntityLoadSave.m | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Resources/Config/descriptions.plist b/Resources/Config/descriptions.plist index 883ce03d..87a58a99 100644 --- a/Resources/Config/descriptions.plist +++ b/Resources/Config/descriptions.plist @@ -959,6 +959,7 @@ "loadscreen-title" = "Select Commander"; // Load game failed messages + "loadfailed-saved-game-failed-to-load" = "Saved game failed to load."; "loadfailed-no-file-specified" = "No file specified!"; "loadfailed-could-not-load-file" = "Could not load file."; "loadfailed-could-not-find-ship-type-@-please-reinstall-the-appropriate-OXP" diff --git a/src/Core/Entities/PlayerEntityLoadSave.m b/src/Core/Entities/PlayerEntityLoadSave.m index 2c98d976..39e11554 100644 --- a/src/Core/Entities/PlayerEntityLoadSave.m +++ b/src/Core/Entities/PlayerEntityLoadSave.m @@ -450,7 +450,7 @@ [[UNIVERSE gameController] setPlayerFileToLoad:nil]; [UNIVERSE game_over]; [UNIVERSE clearPreviousMessage]; - [UNIVERSE addMessage:@"Saved game failed to load." forCount: 9.0]; + [UNIVERSE addMessage:DESC(@"loadfailed-saved-game-failed-to-load") forCount: 9.0]; if (fail_reason != nil) [UNIVERSE addMessage: fail_reason forCount: 9.0]; return NO; }