Home
last modified time | relevance | path

Searched refs:InterfaceStrings (Results 1 – 2 of 2) sorted by relevance

/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBveApi/Interface/Translations/
H A DInterfaceStrings.cs72 if (AvailableLanguages[i].InterfaceStrings[t].Name.Length == n) in GetInterfaceString()
74 if (AvailableLanguages[i].InterfaceStrings[t].Name == Name) in GetInterfaceString()
77 return AvailableLanguages[i].InterfaceStrings[t].Text; in GetInterfaceString()
106 if (AvailableLanguages[i].InterfaceStrings[l].Name.Length == j) in GetInterfaceString()
108 if (AvailableLanguages[i].InterfaceStrings[l].Name == Name) in GetInterfaceString()
112 return AvailableLanguages[i].InterfaceStrings[l].Text; in GetInterfaceString()
H A DLanguage.cs14 internal readonly InterfaceString[] InterfaceStrings; field in OpenBveApi.Interface.Translations.Language
22 internal int InterfaceStringCount => InterfaceStrings.Length;
257 InterfaceStrings = strings.ToArray(); in Language()
259 for (int i = 0; i < InterfaceStrings.Length; i++) in Language()
261 if (InterfaceStrings[i].Name.StartsWith("openbve_")) in Language()
263 InterfaceStrings[i].Name = InterfaceStrings[i].Name.Replace("openbve_", string.Empty); in Language()