2021-10-24 09:20:14 +02:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
namespace TJAPlayer3
|
|
|
|
{
|
|
|
|
internal class CLang_en : ILang
|
|
|
|
{
|
2021-10-24 13:50:33 +02:00
|
|
|
string ILang.GetString(int idx)
|
2021-10-24 09:20:14 +02:00
|
|
|
{
|
2021-10-24 13:50:33 +02:00
|
|
|
if (!dictionnary.ContainsKey(idx))
|
|
|
|
return "[!] Index not found in dictionnary";
|
|
|
|
|
|
|
|
return dictionnary[idx];
|
2021-10-24 09:20:14 +02:00
|
|
|
}
|
|
|
|
|
2021-10-24 13:50:33 +02:00
|
|
|
|
|
|
|
private static readonly Dictionary<int, string> dictionnary = new Dictionary<int, string>
|
2021-10-24 09:20:14 +02:00
|
|
|
{
|
2021-10-24 13:50:33 +02:00
|
|
|
[0] = "Change the displayed language\ningame and within the menus.",
|
|
|
|
[1] = "System language",
|
|
|
|
[2] = "<< Return to Menu",
|
|
|
|
[3] = "Return to left menu.",
|
|
|
|
[4] = "Reload song data",
|
|
|
|
[5] = "Retrieve and update the song list.",
|
|
|
|
};
|
2021-10-24 09:20:14 +02:00
|
|
|
}
|
|
|
|
}
|