[gbrainy] Split for better translation
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Split for better translation
- Date: Thu, 8 Mar 2018 06:21:14 +0000 (UTC)
commit cdfed7f94bbd45869ba9e870c830d23238d4d8e2
Author: Jordi Mas <jmas softcatala org>
Date: Thu Mar 8 07:20:50 2018 +0100
Split for better translation
src/Core/Main/GameManager.cs | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/Core/Main/GameManager.cs b/src/Core/Main/GameManager.cs
index c413c8c..335ff77 100644
--- a/src/Core/Main/GameManager.cs
+++ b/src/Core/Main/GameManager.cs
@@ -252,10 +252,12 @@ namespace gbrainy.Core.Main
s += Environment.NewLine;
#endif
// Translators: 'Games registered' is the games know to gbrainy (build-in and load
from addins-in and external files)
- s += String.Format (translations.GetString ("{0} games registered: {1} logic puzzles,
{2} calculation trainers, {3} memory trainers, {4} verbal analogies"),
- cnt_logic + cnt_memory + cnt_calculation + cnt_verbal,
- cnt_logic, cnt_calculation, cnt_memory, cnt_verbal);
-
+ int total = cnt_logic + cnt_memory + cnt_calculation + cnt_verbal;
+ s += String.Format (translations.GetString ("{0} games registered:") + Environment.NewLine ,
total);
+ s += String.Format (translations.GetString (" - {0} logic puzzles") + Environment.NewLine ,
cnt_logic);
+ s += String.Format (translations.GetString (" - {0} calculation trainers") +
Environment.NewLine , cnt_calculation);
+ s += String.Format (translations.GetString (" - {0} memory trainers") + Environment.NewLine ,
cnt_memory);
+ s += String.Format (translations.GetString (" - {0} verbal analogies"), cnt_verbal);
return s;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]