Skip to content

Commit

Permalink
Began adding localization support. Also renamed some modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlamkins committed May 16, 2019
1 parent a2500d9 commit 62d4975
Show file tree
Hide file tree
Showing 22 changed files with 1,329 additions and 88 deletions.
11 changes: 9 additions & 2 deletions Blish HUD.sln
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.16
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.452
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Blish HUD", "Blish HUD\Blish HUD.csproj", "{AA22EEFD-87BC-46BA-A9EC-493B7985C82F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E0C6D94B-7035-478B-BA1B-CEB7A5D079BD}"
ProjectSection(SolutionItems) = preProject
Resources.Designer.t4 = Resources.Designer.t4
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -42,6 +47,8 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
RESX_ConfirmAddLanguageFile = True
RESX_AutoCreateNewLanguageFiles = True
SolutionGuid = {BCD3C4BD-915D-4622-A220-D39D18A327D9}
EndGlobalSection
EndGlobal
28 changes: 19 additions & 9 deletions Blish HUD/Blish HUD.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,6 @@
<Compile Include="Modules\Compass.cs" />
<Compile Include="Entities\Primitives\Billboard.cs" />
<Compile Include="Properties\Annotations.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Overlay.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
Expand All @@ -279,6 +274,11 @@
<Compile Include="GameServices\GameService.cs" />
<Compile Include="GameServices\PlayerService.cs" />
<Compile Include="GameServices\GraphicsService.cs" />
<Compile Include="Properties\Strings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Strings.Designer.tt</DependentUpon>
</Compile>
<Compile Include="SentryWrapper.cs" />
<Compile Include="Modules\DebugText.cs" />
<Compile Include="Modules\DiscordRichPresence.cs" />
Expand Down Expand Up @@ -368,6 +368,7 @@
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
<Reference Include="System.Data.Linq" />
<Reference Include="System.Drawing" />
Expand All @@ -386,6 +387,11 @@
<Content Include="data\recategory.inf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Properties\Strings.Designer.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
<DependentUpon>Strings.resx</DependentUpon>
</None>
<None Include="data\events.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand All @@ -399,10 +405,11 @@
<None Include="app.manifest" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Strings.es.resx" />
<EmbeddedResource Include="Properties\Strings.fr.resx" />
<EmbeddedResource Include="Properties\Strings.resx" />
<EmbeddedResource Include="Properties\Strings.de.resx" />
<EmbeddedResource Include="Properties\Strings.zh.resx" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
Expand Down Expand Up @@ -603,6 +610,9 @@
<Version>4.3.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Content.Builder.targets" />
<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Blish HUD/GameServices/DirectorService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected override void Load() {
this.BlishHudWindow.Location = new Point(Graphics.WindowWidth / 2 - this.BlishHudWindow.Width / 2, Graphics.WindowHeight / 2 - this.BlishHudWindow.Height / 2);
};

this.BlishHudWindow.AddTab("Home", Content.GetTexture("255369"), BuildHomePanel(this.BlishHudWindow), int.MinValue);
this.BlishHudWindow.AddTab(Properties.Strings.Service_DirectorService_Tab_Home, Content.GetTexture("255369"), BuildHomePanel(this.BlishHudWindow), int.MinValue);
}

private Panel BuildHomePanel(WindowBase wndw) {
Expand Down
4 changes: 2 additions & 2 deletions Blish HUD/Modules/BeetleRacing/BeetleRacing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public class BeetleRacing : Module {

public override ModuleInfo GetModuleInfo() {
return new ModuleInfo(
"Beetle Racing Module",
null,
"Racing",
GameService.Content.GetTexture("347218"),
"bh.general.speed",
"Currently only provides the speedometer feature. Additional features are planned for future releases.",
"LandersXanders.1235",
Expand Down
2 changes: 1 addition & 1 deletion Blish HUD/Modules/Compass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Compass : Module {

public override ModuleInfo GetModuleInfo() {
return new ModuleInfo(
"Tactical Compass Module",
"Tactical Compass",
null,
"bh.general.compass",
"Displays a basic indicator at your feet that shows you North, East, South, and West.",
Expand Down
2 changes: 1 addition & 1 deletion Blish HUD/Modules/DebugText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class DebugText : Module {
public override ModuleInfo GetModuleInfo() {
return new ModuleInfo(
"Debug Module",
null,
GameService.Content.GetTexture("155018"),
"bh.general.debug",
"Allows you to show basic 'debug' details such as your xyz coordinates, server IP address, shard ID, and a few other minor details.",
"LandersXanders.1235",
Expand Down
4 changes: 2 additions & 2 deletions Blish HUD/Modules/DiscordRichPresence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public class DiscordRichPresence : Module {

public override ModuleInfo GetModuleInfo() {
return new ModuleInfo(
"Discord Rich Presence Module",
null,
"Discord Rich Presence",
GameService.Content.GetTexture("Discord-Logo-Color"),
"bh.general.discordrp",
"Integrates with Discord to show what you're up to in the world of Guild Wars 2.",
"LandersXanders.1235",
Expand Down
2 changes: 1 addition & 1 deletion Blish HUD/Modules/EventTimers/EventTimers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class EventTimers:Module {

public override ModuleInfo GetModuleInfo() {
return new ModuleInfo(
"Event Timers Module",
"Event Timers",
null,
"bh.general.events",
"Displays upcoming events and gives you the option to subscribe to in-game notifications for when they're going to be starting soon.",
Expand Down
2 changes: 1 addition & 1 deletion Blish HUD/Modules/MarkersAndPaths/MarkersAndPaths.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class MarkersAndPaths : Module {
public override ModuleInfo GetModuleInfo() {
return new ModuleInfo(
"Markers & Paths",
null,
GameService.Content.GetTexture("157355"),
"bh.general.markersandpaths",
"Allows you to import markers and paths built for TacO and AugTyr.",
"LandersXanders.1235 (with additional code provided by BoyC)",
Expand Down
2 changes: 1 addition & 1 deletion Blish HUD/Modules/MouseUsability/MouseUsability.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class MouseUsability : Module {

public override ModuleInfo GetModuleInfo() {
return new ModuleInfo(
"Mouse Module",
"Mouse Usability",
null,
"bh.general.mouse",
"Provides various mouse QoL features.",
Expand Down
2 changes: 1 addition & 1 deletion Blish HUD/Modules/PoiLookup/PoiLookup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class PoiLookup : Module {

public override ModuleInfo GetModuleInfo() {
return new ModuleInfo(
"Landmark Lookup Module",
"Landmark Lookup",
null,
"bh.general.landmarklookup",
"Allows you to search for in game landmarks (waypoints, POIs, vistas, etc.) and copy the chat codes into your clipboard.",
Expand Down
2 changes: 1 addition & 1 deletion Blish HUD/Modules/RangeCircles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class RangeCircles : Module {

public override ModuleInfo GetModuleInfo() {
return new ModuleInfo(
"Range Circles Module",
"Range Circles",
null,
"bh.general.rangecircles",
"Displays range circles to help give a visual indicator of what the range is for your attacks.",
Expand Down
63 changes: 0 additions & 63 deletions Blish HUD/Properties/Resources.Designer.cs

This file was deleted.

Loading

0 comments on commit 62d4975

Please sign in to comment.