mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-09-26 11:29:07 +02:00
Formatting incoming token
This commit is contained in:
parent
5d9a0bf216
commit
7330cb4679
@ -85,7 +85,7 @@ Public Class Localization
|
||||
ParseTokens(child, SelectedLanguage, IsGameModeFile)
|
||||
Next
|
||||
Else
|
||||
Dim key As String = token.Path.Replace("tokens.", "").ToLower()
|
||||
Dim key As String = token.Path.ToLower().Replace("p3d.", "")
|
||||
Dim value As String = token.Parent.First.ToString
|
||||
If LocalizationTokens.ContainsKey(key) = False Then
|
||||
LocalizationTokens.Add(key, New Token(value, SelectedLanguage, IsGameModeFile))
|
||||
|
Loading…
x
Reference in New Issue
Block a user