mattercontrol/Localizations/LocalizedString.cs

38 lines
741 B
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#define DEBUG_SHOW_TRANSLATED_STRINGS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MatterHackers.Localizations
{
public class LocalizedString
{
string englishText;
string EnglishText
{
get
{
return englishText;
}
}
public string Translated
{
get
{
#if DEBUG_SHOW_TRANSLATED_STRINGS && DEBUG
return "El " + EnglishText + " o";
#else
return EnglishText;
#endif
}
}
public LocalizedString(string EnglishText)
{
this.englishText = EnglishText;
}
}
}