How do I get the name that is in Resources for the field names?

1

When I have an application using Resources, and on my screen I have a text for example:

<section>
    <div id="banner">
        <h1> 
            Com você, aonde você for!
            <small> dicas sempre atualizadas.</small>
        </h1>
    </div>
</section>

How can I exchange this content through Resources? I can only change the menu options, like this:

<!--cabecalho do site-->
<header>

    <!--topo do site logotipo-->
    <div class="container">
        <img id="logotipo" src="~/Content/imagens/logo.png" alt="logotipo">
    </div>

    <!--topo do site linha do menu 01-->
    <div class="header-black">
        <div class="container">
            <ul class="pull-right">
                <li class="espanhol"> <a href="/Home/AlteraIdioma/?LinguagemAbreviada=es"></a> </li>
                <li class="ingles">   <a href="/Home/AlteraIdioma/?LinguagemAbreviada=en"></a> </li>
                <li class="portugues"> <a href="/Home/AlteraIdioma/?LinguagemAbreviada=pt"></a> </li>
            </ul>
        </div>
    </div>  <!--topo do site linha do menu 01-->
    <!--topo do site linha do menu 02-->
    <div class="container">
        <div class="row">

            <nav id="menu" class="pull-right">
                <ul>
                    <li>@Html.ActionLink(Projeto.WebSite.Resources.HomeText.lojavirtual, "Index", "Home")</li>
                    <li>@Html.ActionLink(Projeto.WebSite.Resources.HomeText.cadastro, "Index", "Home")</li>
                    <li>@Html.ActionLink(Projeto.WebSite.Resources.HomeText.contalogin, "Index", "Home")</li>
                </ul>
            </nav>
        </div>
    </div>      <!--topo do site linha do menu 02-->


</header>
    
asked by anonymous 18.10.2016 / 21:35

1 answer

0

Only point to resources in the same way:

<section>
    <div id="banner">
        <h1> 
            @Projeto.WebSite.Resources.HomeText.TituloPrincipal
            <small> @Projeto.WebSite.Resources.HomeText.TituloSecundario</small>
        </h1>
    </div>
</section>
    
18.10.2016 / 21:44