From 41555aa629111b043fa8c1fbc26b23246f703c5b Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Wed, 8 Nov 2017 13:30:10 +0100 Subject: [PATCH] Fixed linux command strings --- NadekoBot.Core/Services/Impl/Localization.cs | 2 +- src/NadekoBot/NadekoBot.csproj | 2 +- src/NadekoBot/{data => _strings/cmd}/command_strings.json | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/NadekoBot/{data => _strings/cmd}/command_strings.json (100%) diff --git a/NadekoBot.Core/Services/Impl/Localization.cs b/NadekoBot.Core/Services/Impl/Localization.cs index 9d121915..496a4440 100644 --- a/NadekoBot.Core/Services/Impl/Localization.cs +++ b/NadekoBot.Core/Services/Impl/Localization.cs @@ -24,7 +24,7 @@ namespace NadekoBot.Core.Services.Impl static Localization() { _commandData = JsonConvert.DeserializeObject>( - File.ReadAllText("./data/command_strings.json")); + File.ReadAllText("./_strings/cmd/command_strings.json")); } private Localization() { } diff --git a/src/NadekoBot/NadekoBot.csproj b/src/NadekoBot/NadekoBot.csproj index 4f6cca5f..1bfb0e4f 100644 --- a/src/NadekoBot/NadekoBot.csproj +++ b/src/NadekoBot/NadekoBot.csproj @@ -23,7 +23,7 @@ PreserveNewest - + PreserveNewest diff --git a/src/NadekoBot/data/command_strings.json b/src/NadekoBot/_strings/cmd/command_strings.json similarity index 100% rename from src/NadekoBot/data/command_strings.json rename to src/NadekoBot/_strings/cmd/command_strings.json