#19474: Revert previous change and modifiy strings with "" by \" in dashboard.

The keys will need to be changed in the Online Localization tool.

Work Item: 19474

--HG--
branch : 1.x
This commit is contained in:
agriffard 2013-07-08 17:42:23 +02:00
parent 33bfa79207
commit 0266eb205f
2 changed files with 6 additions and 9 deletions

View File

@ -3,7 +3,7 @@
<section class="dashboard group">
<div class="help-item">
<h2 class="start">@T("Get up and running")</h2>
<p>@T(@"Start by exploring the menu on the left and familiarize yourself with Orchard. As for the basics, we suggest <a href=""{0}"">changing the theme</a>, <a href=""{1}"">adding some pages</a>, <a href=""{2}"">setup up a blog</a>, and <a href=""{3}"">configuring basic settings</a>.",
<p>@T("Start by exploring the menu on the left and familiarize yourself with Orchard. As for the basics, we suggest <a href=\"{0}\">changing the theme</a>, <a href=\"{1}\">adding some pages</a>, <a href=\"{2}\">setup up a blog</a>, and <a href=\"{3}\">configuring basic settings</a>.",
Url.Action("Index", "Admin", new { area = "Orchard.Themes" }),
Url.Action("Create", "Admin", new { area = "Contents", id = "Page" }),
Url.Action("Create", "BlogAdmin", new { area = "Orchard.Blogs" }),
@ -11,22 +11,22 @@
</div>
<div class="help-item">
<h2 class="gallery">@T("Get more goodies")</h2>
<p>@T(@"Change the way your site works and looks with <a href=""{0}"">themes</a> and <a href=""{1}"">modules</a>. Theres plenty to choose from in the <a href=""http://orchardproject.net/gallery"">Orchard Gallery</a>. Were always adding things, so be sure to check back often to see whats new.",
<p>@T("Change the way your site works and looks with<a href=\"{0}\">themes</a> and<a href=\"{1}\">modules</a>. Theres plenty to choose from in the<a href=\"http://orchardproject.net/gallery\">Orchard Gallery</a>. Were always adding things, so be sure to check back often to see whats new.",
Url.Action("Themes", "Gallery", new { area = "Orchard.Packaging" }),
Url.Action("Modules", "Gallery", new { area = "Orchard.Packaging" }))
</p>
</div>
<div class="help-item">
<h2 class="docs">@T("Read the Docs")</h2>
<p>@T(@"Are you ready to go deeper and become an Orchard expert? Take a look at the <a href=""http://docs.orchardproject.net"">Orchard Documentation</a> to learn about how everything connects together and what makes Orchard tick.")</p>
<p>@T("Are you ready to go deeper and become an Orchard expert? Take a look at the <a href=\"http://docs.orchardproject.net\">Orchard Documentation</a> to learn about how everything connects together and what makes Orchard tick.")</p>
</div>
<div class="help-item">
<h2 class="friends">@T("Make friends")</h2>
<p>@T(@"Find friends that share your interest of Orchard. There are a couple ways that you can <a href=""http://orchardproject.net/discussions"">discuss and get connected</a> to the project including mailing lists, forums and IRC.")</p>
<p>@T("Find friends that share your interest of Orchard. There are a couple ways that you can <a href=\"http://orchardproject.net/discussions\">discuss and get connected</a> to the project including mailing lists, forums and IRC.")</p>
</div>
<div class="help-item">
<h2 class="contribute">@T("Contribute back")</h2>
<p>@T(@"Help grow Orchard. We encourage contributions of all sorts, including code submissions, documentation, translations, feature recommendations, and more.Here are some ways to <a href=""http://orchardproject.net/contribution"">give back to the project</a>.")</p>
<p>@T("Help grow Orchard. We encourage contributions of all sorts, including code submissions, documentation, translations, feature recommendations, and more.Here are some ways to <a href=\"http://orchardproject.net/contribution\">give back to the project</a>.")</p>
</div>
<div class="help-item">
@ -35,6 +35,4 @@
<p>@T("Your browser does not support iframes. You can't see advisory messages.")</p>
</iframe>
</div>
</section>
</section>

View File

@ -25,7 +25,6 @@ namespace Orchard.Localization {
var workContext = _workContextAccessor.GetContext();
var currentCulture = workContext.CurrentCulture;
textHint = textHint.Replace(@"""", @"""""");
var localizedFormat = _localizedStringManager.GetLocalizedString(_scope, textHint, currentCulture);
return args.Length == 0