mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-31 01:35:20 +02:00
Updated missing_tokens key
This commit is contained in:
parent
85e1402d0a
commit
402760c08e
@ -117,7 +117,7 @@ Public Class Localization
|
||||
Dim LocaleFilePath As String = FullPath & "missing_tokens.json"
|
||||
Dim TokensFile As JObject = JObject.Parse(System.IO.File.ReadAllText(LocaleFilePath))
|
||||
If TokensFile.ContainsKey(s) = False Then
|
||||
TokensFile.Add(NewTokenName, s)
|
||||
TokensFile.Add(s, s)
|
||||
End If
|
||||
File.WriteAllText(LocaleFilePath, JsonConvert.SerializeObject(TokensFile, Newtonsoft.Json.Formatting.Indented))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user