[gbrainy] Include game number
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Include game number
- Date: Tue, 24 May 2011 20:20:54 +0000 (UTC)
commit 039f05050cd8ac936be3cb2f7194fd67a9c818b6
Author: Jordi Mas <jmas softcatala org>
Date: Tue May 24 22:20:24 2011 +0200
Include game number
src/Core/Main/PdfExporter.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Main/PdfExporter.cs b/src/Core/Main/PdfExporter.cs
index 97f1b88..5675481 100644
--- a/src/Core/Main/PdfExporter.cs
+++ b/src/Core/Main/PdfExporter.cs
@@ -101,7 +101,7 @@ namespace gbrainy.Core.Main
// Translators: {0} is the game number and {1} the game question or answer
// The number is used as reference when looking for the game solution in the PDF
- str = String.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString ("Game {0}. {1}"), i + 1, puzzle.Question);
+ str = String.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString ("Game #{0}. {1}"), i + 1, puzzle.Question);
// Draw question
cr.SetPangoFontSize (12);
@@ -162,7 +162,7 @@ namespace gbrainy.Core.Main
cr.UseMarkup = true;
for (int i = 0; i < games.Length; i++)
{
- str = String.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString ("Game {0}. {1}"), i + 1, games[i].AnswerText);
+ str = String.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString ("Game #{0}. {1}"), i + 1, games[i].AnswerText);
// Draw Solution
cr.DrawStringWithWrapping (x + margin, y + margin, str, width - margin);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]