Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPANISH TRANSLATION #40

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
d7adf0f
Updated by LGG for unofficial release
linuxgurugamer Nov 4, 2017
a65d036
Updated flight.cs with code from commit of Github user @AidCoe
linuxgurugamer Nov 4, 2017
829a23d
Jenkins update
linuxgurugamer Nov 4, 2017
9245a84
Update djenkins
linuxgurugamer Nov 4, 2017
8a3a6b5
Support Localisation and Translation Chinese
RonnyWu Dec 30, 2017
9658d74
Merge pull request #1 from RonnyWu/master
linuxgurugamer Dec 30, 2017
9048920
Add localized content for lost screen messages
RonnyWu Dec 30, 2017
633474c
Merge pull request #2 from RonnyWu/localization
linuxgurugamer Jan 22, 2018
d28c934
Added logging module
linuxgurugamer Jan 22, 2018
3f93297
Merge branch 'localization' of https://github.com/linuxgurugamer/AGEx…
linuxgurugamer Jan 22, 2018
7d3b1ea
Removed some #ifdefs
linuxgurugamer Jan 22, 2018
a4373cd
meh
linuxgurugamer Jan 22, 2018
2f5066e
Merged localization & log changes
linuxgurugamer Jan 22, 2018
7f7c14c
Moved Localization folder into AGExt (was being missed by Jenkins)
linuxgurugamer Jan 27, 2018
cc07a16
Invalid conversion from uint to int fixed
arivaldh Jan 28, 2018
db38cfc
Fixed localization strings in the editor
linuxgurugamer Feb 1, 2018
d2873a7
Merge pull request #3 from arivaldh/master
linuxgurugamer Feb 11, 2018
8c19d0e
Thanks to forum user @Arivald Ha'gel for the following:
linuxgurugamer Mar 2, 2018
7bad4ed
Updated for 1.4.1
linuxgurugamer Mar 16, 2018
ee69c98
Updated version file
linuxgurugamer Mar 17, 2018
2661592
German translation added
LeLeon Mar 28, 2018
1076885
Fixed localization typo for Group2
linuxgurugamer Apr 7, 2018
2981857
Fixed missing localization function for Group2 in Flight
linuxgurugamer Apr 8, 2018
54a7c6a
Merge pull request #4 from LeLeon/master
linuxgurugamer Apr 8, 2018
f8c8bf6
Added German translation
linuxgurugamer Apr 8, 2018
2e3bf20
Updated version
linuxgurugamer Apr 8, 2018
6c9d711
Update part.cfg
linuxgurugamer Apr 12, 2018
c13d8ad
Update KISConfig.cfg
linuxgurugamer Apr 12, 2018
11629a5
Commented out MM code which was adding depreciated ModuleAGX to all …
linuxgurugamer Apr 12, 2018
237887c
Revert MM config change
linuxgurugamer Apr 13, 2018
bb812f4
Updated to registering with Toolbar Controller
linuxgurugamer May 3, 2018
d2f226f
Version bump for 1.5 rebuild
linuxgurugamer Oct 20, 2018
e834103
Update reference
linuxgurugamer Oct 20, 2018
ab12c4f
SPANISH TRANSLATION
SergiRuizZarzuelo Oct 29, 2018
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
439 changes: 221 additions & 218 deletions .gitignore

Large diffs are not rendered by default.

Binary file added .vs/AGExt/v15/sqlite3/storage.ide
Binary file not shown.
22 changes: 19 additions & 3 deletions AGExt.sln
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2012 for Windows Desktop
# Visual Studio 15
VisualStudioVersion = 15.0.26730.8
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AGExt", "AGExt\AGExt.csproj", "{64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{72516D45-C60B-4DDB-AB07-AA1D4515B3C5}"
ProjectSection(SolutionItems) = preProject
AGExt.version = AGExt.version
buildRelease.bat = buildRelease.bat
ChangeLog.txt = ChangeLog.txt
deploy.bat = deploy.bat
jenkins.txt = jenkins.txt
License.txt = License.txt
Readme.md = Readme.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Debug|Any CPU.ActiveCfg = Release|Any CPU
{64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Debug|Any CPU.Build.0 = Release|Any CPU
{64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{64CDFB25-9856-4B24-A0C4-5DDC0DD1AB8F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5B2A5FD0-17BB-4C13-9532-0478C6379FD2}
EndGlobalSection
EndGlobal
31 changes: 31 additions & 0 deletions AGExt.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"NAME": "AGExt",
"URL": "http://ksp.spacetux.net/avc/AGExt",
"DOWNLOAD": "https://github.com/linuxgurugamer/AGExt/releases",
"GITHUB" :
{
"USERNAME" : "linuxgurugamer",
"REPOSITORY" : "AGExt"
},
"VERSION": {
"MAJOR": 2,
"MINOR": 3,
"PATCH": 3,
"BUILD": 7
},
"KSP_VERSION": {
"MAJOR": 1,
"MINOR": 5,
"PATCH": 1
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
"MINOR": 5,
"PATCH": 1
},
"KSP_VERSION_MAX": {
"MAJOR": 1,
"MINOR": 5,
"PATCH": 99
}
}
86 changes: 60 additions & 26 deletions AGExt/AGExt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,50 +25,84 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\1.2.2 Dev\GameData\Diazo\AGExt\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\1.2.2 Dev\KSP_x64_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>..\..\..\1.2.2 Dev\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine">
<HintPath>..\..\..\1.2.2 Dev\KSP_x64_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>..\..\..\1.2.2 Dev\KSP_x64_Data\Managed\UnityEngine.UI.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyVersion.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>AssemblyVersion.tt</DependentUpon>
</Compile>
<Compile Include="Button.cs" />
<Compile Include="CommonMethods.cs" />
<Compile Include="Instantly.cs" />
<Compile Include="Editor.cs" />
<Compile Include="External.cs" />
<Compile Include="Log.cs" />
<Compile Include="Notes.cs" />
<Compile Include="OtherVessel.cs" />
<Compile Include="PartModule.cs" />
<Compile Include="Flight.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Scenario.cs" />
<Compile Include="Settings.cs" />
<Compile Include="ToolbarRegistration.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="AssemblyVersion.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>AssemblyVersion.cs</LastGenOutput>
</Content>
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>R:\KSP_1.5.1_dev\KSP_x64_Data\Managed\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>R:\KSP_1.5.1_dev\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="ClickThroughBlocker, Version=0.1.6.2, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>R:\KSP_1.5.1_dev\GameData\000_ClickThroughBlocker\Plugins\ClickThroughBlocker.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="ToolbarControl">
<HintPath>R:\KSP_1.5.1_dev\GameData\001_ToolbarControl\Plugins\ToolbarControl.dll</HintPath>
</Reference>
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>R:\KSP_1.5.1_dev\KSP_x64_Data\Managed\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>R:\KSP_1.5.1_dev\KSP_x64_Data\Managed\UnityEngine.UI.dll</HintPath>
</Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
set textTemplatingPath="%25ProgramFiles(x86)%25\Microsoft Visual Studio\2017\Community\Common7\IDE\texttransform.exe"

%25textTemplatingPath%25 "$(ProjectDir)AssemblyVersion.tt"</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>
start /D D:\Users\jbb\github\AGExt /WAIT deploy.bat $(TargetDir) $(TargetFileName)

if $(ConfigurationName) == Release (
start /D D:\Users\jbb\github\AGExt /WAIT buildRelease.bat $(TargetDir) $(TargetFileName)
)
</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
8 changes: 8 additions & 0 deletions AGExt/AssemblyVersion.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

// This code was generated by a tool. Any changes made manually will be lost
// the next time this code is regenerated.
//

using System.Reflection;

[assembly: AssemblyVersion("2.3.3.7")]
97 changes: 97 additions & 0 deletions AGExt/AssemblyVersion.tt
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<#@ template debug="false" hostspecific="true" language="C#" #>
<#@ import namespace="System.IO" #>
<#@ output extension=".cs" #>

<#@ assembly name="EnvDTE" #><# /* This assembly provides access to Visual Studio project properties. */ #>
<#

// Instructions
// 1. Add a new Text Template to the project
// 2. Copy this file into the new template
// 3. Update the string: versionfile with the complete path to the .version file
// 4. Remove the following line from the file AssemblyInfo.cs (usually located in the "Property" folder inside your C# project):
// [assembly: AssemblyVersion("1.0.0.0")]
// 5. Add the following to the PreBuild steps:
// set textTemplatingPath="%CommonProgramFiles(x86)%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe"
//
// if %textTemplatingPath%=="\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" set textTemplatingPath="%CommonProgramFiles%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe"
//
// %textTemplatingPath% "$(ProjectDir)AssemblyFileVersion.tt"

int major = 0;
int minor = 0;
int build = 0;
int patch = 0;
bool versionSection = false;

int i = 0;
int i2 = 0;
string s;

//
// Update the following with the complete path to the .version file
//
string versionfile = @"D:\Users\jbb\github\AGExt\AGExt.version";

if (!File.Exists(versionfile))
{
Write("File: " + versionfile + " missing\n");
}

try
{
foreach (var line in File.ReadAllLines(versionfile))
{
if (line != null)
{
if (!versionSection)
{
if (line.Contains("\"VERSION\""))
versionSection = true;
}
else
{
if (line.Contains("}"))
versionSection = false;
i = line.IndexOf(":");
i2 = line.IndexOf(",");
if (i2 == -1)
i2 = line.Length;
if (i >= 0 && i2 >= 0)
{
s = line.Substring(i + 1, i2 - i - 1);

if (line.Contains("MAJOR"))
Int32.TryParse(s, out major);

if (line.Contains("MINOR"))
Int32.TryParse(s, out minor);

if (line.Contains("PATCH"))
Int32.TryParse(s, out patch);

if (line.Contains("BUILD"))
Int32.TryParse(s, out build);
}
}
}
}

}
catch
{
major = 1;
minor = 0;
patch = 0;
build = 0;
}
//Write("File done");

#>
// This code was generated by a tool. Any changes made manually will be lost
// the next time this code is regenerated.
//

using System.Reflection;

[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")]
12 changes: 7 additions & 5 deletions AGExt/Button.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*
#if false
/*
Copyright (c) 2013-2014, Maik Schreiber
All rights reserved.

Expand Down Expand Up @@ -276,7 +277,7 @@ IDrawable Drawable
/// <code>
/// IButton button = ...
/// button.OnClick += (e) => {
/// Debug.Log("button clicked, mouseButton: " + e.MouseButton);
/// Log.Info("button clicked, mouseButton: " + e.MouseButton);
/// };
/// </code>
/// </example>
Expand All @@ -289,7 +290,7 @@ IDrawable Drawable
/// <code>
/// IButton button = ...
/// button.OnMouseEnter += (e) => {
/// Debug.Log("mouse entered button");
/// Log.Info("mouse entered button");
/// };
/// </code>
/// </example>
Expand All @@ -302,7 +303,7 @@ IDrawable Drawable
/// <code>
/// IButton button = ...
/// button.OnMouseLeave += (e) => {
/// Debug.Log("mouse left button");
/// Log.Info("mouse left button");
/// };
/// </code>
/// </example>
Expand Down Expand Up @@ -900,4 +901,5 @@ internal ButtonTypes(Type iButtonType)
}

#endregion
}
}
#endif
Loading