Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #8 from shiftkey/LastMinuteFixes
last minute fixes before v0.1
  • Loading branch information
shiftkey-tester committed Mar 5, 2012
2 parents b2f17ad + a862ea4 commit 8c806fa
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 70 deletions.
2 changes: 1 addition & 1 deletion build.cmd
Expand Up @@ -8,7 +8,7 @@ if "%config%" == "" (
)
set version=%2
if "%version%" == "" (
set version=0.1.4
set version=0.1.7
)

%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.proj /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
Expand Down
2 changes: 1 addition & 1 deletion src/Code52.i18n.MVC/NuSpec/Code52.i18n.MVC3.nuspec
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Code52.i18n.MVC3</id>
<version>0.1</version>
<title>[Code52] i18n Template for MVC3</title>
<title>[Code52] i18n Core for MVC3</title>
<authors>bforster, dchristiansen</authors>
<owners>bforster, dchristiansen</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand Down
2 changes: 1 addition & 1 deletion src/Code52.i18n.MVC/NuSpec/Code52.i18n.MVC4.nuspec
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Code52.i18n.MVC4</id>
<version>0.1</version>
<title>[Code52] i18n Template for MVC4</title>
<title>[Code52] i18n Core for MVC4</title>
<authors>bforster, dchristiansen</authors>
<owners>bforster, dchristiansen</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand Down
@@ -1,10 +1,33 @@
Getting Started
[Code52.i18n]

--Getting Started--

We don't want to overwrite your default layout - in fact, it requires us to jump through some hoops and we're afraid we might annoy you.

If you could kindly change your Views/_Layout.cshtml file to look like this:

@{
Layout = "~/Views/Shared/_Layout.Code52.cshtml";
}

that'd be awesome.

--Customizing--

If you want to update your master page (say if you've got some sweet markup), you'll need to have a look at the Views/Home/Index.cshtml and see
which has a section like this:

@section featured {
<!-- bitching markup here -->
}

Because of that, we've got our own _Layout.Code52.cshtml file. Feel free to modify that to suit.

--Cleanup--

Lastly, to switch it back to how you had it, just change your Views/_Layout.cshtml file back to:

@{
Layout = "~/Views/Shared/_Layout.cshtml";
}

Release Notes
------------------
0.1-InitialRelease
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>Code52.i18n.MVC3.Example.Razor</id>
<version>0.1</version>
<title>[Code52] i18n Template for MVC3 (Razor Example)</title>
<title>[Code52] i18n Razor Site Template for MVC3 </title>
<authors>bforster, dchristiansen</authors>
<owners>bforster, dchristiansen</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -15,7 +15,7 @@
<dependencies>
<dependency id="Code52.i18n" />
<dependency id="Code52.i18n.MVC3" />
<dependency id="Code52.i18n.Web.MVC.Razor" />
<dependency id="jquery.cookie" />
</dependencies>
<releaseNotes>Initial release</releaseNotes>
</metadata>
Expand Down
@@ -1,6 +1,6 @@
@using $rootnamespace$.Resources
@using $rootnamespace$.CSharp
@using $rootnamespace$.Code52.i18n

<!DOCTYPE html>
<html lang="en">
<head>
Expand Down
2 changes: 1 addition & 1 deletion src/Code52.i18n.MVC3.Example/NuSpec/tools/install.ps1
Expand Up @@ -62,6 +62,6 @@ foreach ($item in $resitems.GetEnumerator()) {
$lastGenOutput.InnerText = $item.Name.Replace("Resources\", "").Replace(".resx", ".Designer.cs")
$resxNode.AppendChild($lastGenOutput)
}

}

$projxml.Save($project.FullName)
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>Code52.i18n.MVC4.Example.Razor</id>
<version>0.1</version>
<title>[Code52] i18n Template for MVC4 (Razor Example)</title>
<title>[Code52] i18n Razor Site Template for MVC4</title>
<authors>bforster, dchristiansen</authors>
<owners>bforster, dchristiansen</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -15,7 +15,7 @@
<dependencies>
<dependency id="Code52.i18n" />
<dependency id="Code52.i18n.MVC4" />
<dependency id="Code52.i18n.Web.MVC.Razor" />
<dependency id="jquery.cookie" />
</dependencies>
<releaseNotes>Initial release</releaseNotes>
</metadata>
Expand Down
@@ -1,5 +1,4 @@
@using $rootnamespace$.Resources
@using $rootnamespace$.CSharp
@using $rootnamespace$.Code52.i18n

<!DOCTYPE html>
Expand Down
2 changes: 1 addition & 1 deletion src/Code52.i18n.MVC4.Example/NuSpec/tools/install.ps1
Expand Up @@ -62,6 +62,6 @@ foreach ($item in $resitems.GetEnumerator()) {
$lastGenOutput.InnerText = $item.Name.Replace("Resources\", "").Replace(".resx", ".Designer.cs")
$resxNode.AppendChild($lastGenOutput)
}

}

$projxml.Save($project.FullName)
54 changes: 0 additions & 54 deletions src/Code52.i18n.Samples.sln

This file was deleted.

2 changes: 1 addition & 1 deletion src/Code52.i18n/NuSpec/Code52.i18n.nuspec
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>Code52.i18n</id>
<version>0.1</version>
<title>[Code52] ASP.NET Internationalized Core</title>
<title>[Code52] i18n Core for ASP.NET</title>
<authors>bforster, dchristiansen</authors>
<owners>bforster, dchristiansen</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand Down

0 comments on commit 8c806fa

Please sign in to comment.