mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-09-26 03:18:58 +02:00
Lets format the token string before finding it
This commit is contained in:
parent
3230c43a76
commit
b71a4e81d2
@ -101,6 +101,7 @@
|
||||
|
||||
Public Shared Function GetString(ByVal s As String, Optional ByVal DefaultValue As String = "") As String
|
||||
Dim resultToken As Token = Nothing
|
||||
s.Replace(" ", "_").Replace(".", "").Replace("'", "").ToLower() ' Lets format the string before finding it
|
||||
If LocalizationTokens.ContainsKey(s) = True Then
|
||||
If LocalizationTokens.TryGetValue(s, resultToken) = False Then
|
||||
Return s
|
||||
|
Loading…
x
Reference in New Issue
Block a user