Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
475eeead
Commit
475eeead
authored
Jul 30, 2013
by
Vinicius Jarina
Browse files
Update KeraLua
parent
d88ff6b0
Changes
5
Hide whitespace changes
Inline
Side-by-side
KeraLua
@
d41c88f3
Compare
f817722a
...
d41c88f3
Subproject commit
f817722ab7eac04d450a6f46b93af7d1a77ad1c2
Subproject commit
d41c88f316faacfa3ca15c9588af40b1b452960f
NLuaTest.WP8/App.xaml.cs
View file @
475eeead
...
...
@@ -6,7 +6,7 @@ using System.Windows.Markup;
using
System.Windows.Navigation
;
using
Microsoft.Phone.Controls
;
using
Microsoft.Phone.Shell
;
using
NLuaTest.Resources
;
namespace
NLuaTest
{
...
...
@@ -193,16 +193,14 @@ namespace NLuaTest
//
// If a compiler error is hit then ResourceLanguage is missing from
// the resource file.
RootFrame
.
Language
=
XmlLanguage
.
GetLanguage
(
AppResources
.
ResourceLanguage
);
// Set the FlowDirection of all elements under the root frame based
// on the ResourceFlowDirection resource string for each
// supported language.
//
// If a compiler error is hit then ResourceFlowDirection is missing from
// the resource file.
FlowDirection
flow
=
(
FlowDirection
)
Enum
.
Parse
(
typeof
(
FlowDirection
),
AppResources
.
ResourceFlowDirection
);
RootFrame
.
FlowDirection
=
flow
;
}
catch
{
...
...
NLuaTest.WP8/LocalizedStrings.cs
View file @
475eeead
using
NLuaTest.Resources
;
namespace
NLuaTest
{
...
...
@@ -7,8 +7,6 @@ namespace NLuaTest
/// </summary>
public
class
LocalizedStrings
{
private
static
AppResources
_localizedResources
=
new
AppResources
();
public
AppResources
LocalizedResources
{
get
{
return
_localizedResources
;
}
}
}
}
\ No newline at end of file
NLuaTest.WP8/MainPage.xaml.cs
View file @
475eeead
...
...
@@ -7,7 +7,6 @@ using System.Windows.Controls;
using
System.Windows.Navigation
;
using
Microsoft.Phone.Controls
;
using
Microsoft.Phone.Shell
;
using
NLuaTest.Resources
;
using
System.Threading
;
using
Microsoft.VisualStudio.TestPlatform.Core
;
using
vstest_executionengine_platformbridge
;
...
...
NLuaTest.WP8/NLuaTest.WP8.csproj
View file @
475eeead
...
...
@@ -93,11 +93,6 @@
<DependentUpon>
MainPage.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
<Compile
Include=
"Resources\AppResources.Designer.cs"
>
<AutoGen>
True
</AutoGen>
<DesignTime>
True
</DesignTime>
<DependentUpon>
AppResources.resx
</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition
Include=
"App.xaml"
>
...
...
@@ -118,7 +113,6 @@
<None
Include=
"Properties\WMAppManifest.xml"
>
<SubType>
Designer
</SubType>
</None>
<None
Include=
"Resources\.git"
/>
</ItemGroup>
<ItemGroup>
<Content
Include=
"Assets\AlignmentGrid.png"
/>
...
...
@@ -135,12 +129,6 @@
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<EmbeddedResource
Include=
"Resources\AppResources.resx"
>
<Generator>
PublicResXFileCodeGenerator
</Generator>
<LastGenOutput>
AppResources.Designer.cs
</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\Core\KeraLua\external\lua\wp8_build\lua\lua52\lua52.vcxproj"
>
<Project>
{ABD36435-56AD-4940-B51A-10AEECA46C01}
</Project>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment