Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FFXIVDBM.Plugin/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static class Constants

public static readonly string[] Supported = new[]
{
"en"
"en", "ru"
};

public static string BaseDirectory
Expand Down
44 changes: 16 additions & 28 deletions FFXIVDBM.Plugin/FFXIVDBM.Plugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,38 +54,27 @@
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="FFXIVAPP.Common, Version=2.0.5114.38136, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\ffxivapp-resources\FFXIVAPP.Common.dll</HintPath>
<Private>False</Private>
<Reference Include="FFXIVAPP.Common">
<HintPath>..\..\..\Original\ffxivapp-resources-master\FFXIVAPP.Common.dll</HintPath>
</Reference>
<Reference Include="FFXIVAPP.IPluginInterface, Version=2.0.5114.38136, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\ffxivapp-resources\FFXIVAPP.IPluginInterface.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="FFXIVAPP.Localization">
<HintPath>..\..\ffxivapp-resources\FFXIVAPP.Localization.dll</HintPath>
<Private>False</Private>
<Reference Include="FFXIVAPP.IPluginInterface">
<HintPath>..\..\..\Original\ffxivapp-resources-master\FFXIVAPP.IPluginInterface.dll</HintPath>
</Reference>
<Reference Include="HtmlAgilityPack">
<HintPath>..\packages\HtmlAgilityPack.1.4.6\lib\Net45\HtmlAgilityPack.dll</HintPath>
<Private>False</Private>
<HintPath>..\..\..\Original\ffxivapp-resources-master\HtmlAgilityPack.dll</HintPath>
</Reference>
<Reference Include="Ionic.Zip">
<HintPath>..\..\..\Original\ffxivapp-resources-master\Ionic.Zip.dll</HintPath>
</Reference>
<Reference Include="MahApps.Metro, Version=0.0.0.999, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\ffxivapp-resources\MahApps.Metro.dll</HintPath>
<Private>False</Private>
<Reference Include="MahApps.Metro">
<HintPath>..\..\..\Original\ffxivapp-resources-master\MahApps.Metro.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="NAudio, Version=1.7.1.17, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\Parser\NAudio.dll</HintPath>
<Private>False</Private>
<Reference Include="NAudio">
<HintPath>..\..\..\Original\ffxivapp-resources-master\NAudio.dll</HintPath>
</Reference>
<Reference Include="NLog">
<HintPath>..\packages\NLog.2.1.0\lib\net45\NLog.dll</HintPath>
<Private>False</Private>
<HintPath>..\..\..\Original\ffxivapp-resources-master\NLog.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
Expand All @@ -96,10 +85,8 @@
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Speech" />
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\ffxivapp-resources\System.Windows.Interactivity.dll</HintPath>
<Private>False</Private>
<Reference Include="System.Windows.Interactivity">
<HintPath>..\..\..\Original\ffxivapp-resources-master\System.Windows.Interactivity.dll</HintPath>
</Reference>
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
Expand All @@ -110,6 +97,7 @@
<Compile Include="Ability.cs" />
<Compile Include="AbilityController.cs" />
<Compile Include="LearningHelper.cs" />
<Compile Include="Localization\Russian.cs" />
<Compile Include="TestEncounter.cs" />
<Compile Include="Constants.cs" />
<Compile Include="EncounterController.cs" />
Expand Down
3 changes: 3 additions & 0 deletions FFXIVDBM.Plugin/Helpers/LocaleHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ public static Dictionary<string, string> Update(CultureInfo cultureInfo)
case "fr":
dictionary = French.Context();
break;
case "ru":
dictionary = Russian.Context();
break;
default:
dictionary = English.Context();
break;
Expand Down
52 changes: 52 additions & 0 deletions FFXIVDBM.Plugin/Localization/Russian.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// FFXIVDBM.Plugin
// Russian.cs
//
// Copyright © 2007 - 2014 Ryan Wilson - All Rights Reserved
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
// * Neither the name of SyndicatedLife nor the names of its contributors may
// be used to endorse or promote products derived from this software
// without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.

using System.Windows;

namespace FFXIVDBM.Plugin.Localization
{
public abstract class Russian
{
private static readonly ResourceDictionary Dictionary = new ResourceDictionary();

/// <summary>
/// </summary>
/// <returns> </returns>
public static ResourceDictionary Context()
{
Dictionary.Clear();
Dictionary.Add("DBM_DebugLogLevel", "Уровень Записей Отладки");
Dictionary.Add("DBM_VoiceVolumeHeader", "Громкость Предупреждений");
Dictionary.Add("sample_ChatLogTabHeader", "Записи Отладки");
Dictionary.Add("sample_ClearChatLogMessage", "Очистить Записи Отладки");
Dictionary.Add("sample_ClearChatLogToolTip", "Очистить Записи Отладки");
return Dictionary;
}
}
}
Binary file modified distribution/FFXIVDBM.Plugin.dll
Binary file not shown.
Binary file modified distribution/GenerateVersionJSON.exe
Binary file not shown.
26 changes: 13 additions & 13 deletions distribution/VERSION.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"PluginInfo": {
"Name": "FFXIVDBM.Plugin",
"Version": "1.0.5592.24623",
"Version": "1.0.5658.28076",
"FriendlyName": "Deadly Boss Mods",
"Description": "Gives audible warnings for many encounters",
"SourceURI": "https://github.com/cjmanca/FFXIVDBM.Plugin/raw/master/distribution/",
"Files": [
{
"Name": "FFXIVDBM.Plugin.dll",
"Location": "",
"Checksum": "a43d3932fec1dfe67993a12463dc16cc"
"Checksum": "23cc870f77df455353b29d3e1ae6a21b"
},
{
"Name": "Logo.png",
Expand All @@ -24,17 +24,17 @@
{
"Name": "readme.txt",
"Location": "",
"Checksum": "af831b8cbb748146d4b3b73e8d442902"
"Checksum": "6fd069c43cdd7de2716aa03859b0536e"
},
{
"Name": "EncounterScripts.csproj",
"Location": "zones",
"Checksum": "953ca139ba50bd564334dd21a069701c"
"Checksum": "cce141f37293ca76ea6d3834c8abb732"
},
{
"Name": "EncounterScripts.sln",
"Location": "zones",
"Checksum": "e919938639e66ad99802270436fdf215"
"Checksum": "1b689266bf1c125084c2140a88e7aefe"
},
{
"Name": "Final Coil of Bahamut - Turn 1.txt",
Expand All @@ -44,7 +44,7 @@
{
"Name": "Imdugud.cs",
"Location": "zones/English/193",
"Checksum": "29c3e9d7f8b92011baedd491fad26dbf"
"Checksum": "be152686b5001105cd2a019b442061f3"
},
{
"Name": "Final Coil of Bahamut - Turn 2.txt",
Expand All @@ -54,7 +54,7 @@
{
"Name": "Kaliya.cs",
"Location": "zones/English/194",
"Checksum": "95b2639dcd4c8796f4bcdb7ba701bf24"
"Checksum": "741e17e8ad6b343d44466112edefee9f"
},
{
"Name": "Final Coil of Bahamut - Turn 3.txt",
Expand All @@ -64,12 +64,12 @@
{
"Name": "Phoenix.cs",
"Location": "zones/English/195",
"Checksum": "1e09e26164fc7812abae8e136e91557f"
"Checksum": "7e7af2c84e1534e7077b072dc59aae3e"
},
{
"Name": "Bahamut Prime.cs",
"Location": "zones/English/196",
"Checksum": "351712e802d98ee2a5053bffdb231f7c"
"Checksum": "65a30bb7c0691dd08282d5e512180af3"
},
{
"Name": "Final Coil of Bahamut - Turn 4.txt",
Expand All @@ -89,7 +89,7 @@
{
"Name": "Rafflesia.cs",
"Location": "zones/English/355",
"Checksum": "e343a0e2318ca6ffdfe27398db5037d9"
"Checksum": "db47ad91d0b19397fad45184bb6242c6"
},
{
"Name": "Second Coil Of Bahamut - Turn 1.txt",
Expand All @@ -99,7 +99,7 @@
{
"Name": "Melusine.cs",
"Location": "zones/English/356",
"Checksum": "b0a7ab17d999900eaabb2cd0ae7ef69e"
"Checksum": "7bcd0e4c0bdfb816391391ee3084c7c4"
},
{
"Name": "Second Coil Of Bahamut - Turn 2.txt",
Expand All @@ -114,12 +114,12 @@
{
"Name": "The Avatar.cs",
"Location": "zones/English/357",
"Checksum": "8b89d6ee43db0488ae2c8c35a82a1df0"
"Checksum": "782d9edcd803d64bc5b16b43d6a531a6"
},
{
"Name": "Nael Deus Darnus.cs",
"Location": "zones/English/358",
"Checksum": "81998b69739b0389ea316cb29336aa17"
"Checksum": "faa4aee622430f666ba898b3101c6be4"
},
{
"Name": "Second Coil Of Bahamut - Turn 4.txt",
Expand Down