using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PG_Sim
{
    /// <summary>
    /// Versions of texts in GUI
    /// </summary>
    class Language
    {
        private string lang = "en";
        /// <summary>
        /// Contructor 
        /// </summary>
        /// <param name="lang">Language parameter</param>
        public Language (string set_lang)
        {
            this.lang = set_lang;
            Loger.AddError("Nastaven jazyk na "+set_lang,1);

            // TODO: nacteni vsech moznych hlasek v danem jazyce
        }
        /// <summary>
        /// Return phrase in preset language
        /// </summary>
        /// <param name="phrase">Phrase to translate</param>
        /// <returns></returns>
        public string Translate(string phrase)
        {
            return phrase + this.lang;
        }

    }
}
