Commit 6119509f1c7a1e4e790a8f74e34b60fd1276821a
1 parent
546aa704
Exists in
master
and in
22 other branches
ActionItem152: i18n of top bar help message
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1373 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
16 additions
and
10 deletions
Show diff stats
app/views/layouts/application.rhtml
@@ -40,7 +40,7 @@ | @@ -40,7 +40,7 @@ | ||
40 | " controller_"+ @controller.controller_name() + | 40 | " controller_"+ @controller.controller_name() + |
41 | " action_"+ @controller.controller_name() +"_"+ @controller.action_name() | 41 | " action_"+ @controller.controller_name() +"_"+ @controller.action_name() |
42 | %>' onload='noosfero_init();' | 42 | %>' onload='noosfero_init();' |
43 | - help="Passe o mouse sobre os elementos da página para ver a ajuda."> | 43 | + help=<%= _('Pass the mouse over page elements to get help on them').inspect %> > |
44 | <script type="text/javascript"> | 44 | <script type="text/javascript"> |
45 | /* Adds a class to "msie" to the body element if a Microsoft browser is | 45 | /* Adds a class to "msie" to the body element if a Microsoft browser is |
46 | * detected. This is needed to workaround several of their limitations. | 46 | * detected. This is needed to workaround several of their limitations. |
@@ -75,15 +75,21 @@ | @@ -75,15 +75,21 @@ | ||
75 | 75 | ||
76 | <div id="noosfero_bar" help="#noosfero_bar_help"> | 76 | <div id="noosfero_bar" help="#noosfero_bar_help"> |
77 | <div id="noosfero_bar_help" style="display:none"> | 77 | <div id="noosfero_bar_help" style="display:none"> |
78 | - Esta é a <b>barra de atalhos do <%= @environment.name() %></b>. | ||
79 | - Atravêz dela você acessa as principais funcionalidades do ambiente | ||
80 | - e encontra mais rapidamente as informações do seu interesse. | ||
81 | - <p/> | ||
82 | - Essa barra te ajuda a encontrar informações por dois caminhos | ||
83 | - ou <b><i>dimensões</i></b>. A primeira dimensão são as <i>categorias</i> | ||
84 | - que você encontra nas abas coloridas da barra. A segunda dimensão | ||
85 | - são os <i>tipos de conteúdo</i> que você encontra na aba animada | ||
86 | - da direita. | 78 | + <%= _(<<-CODE |
79 | + <p> | ||
80 | + This is %s's shortcuts bar. Using it you have access to the | ||
81 | + main features of the environment and you find the information | ||
82 | + of your interest more quickly. | ||
83 | + </p> | ||
84 | + <p> | ||
85 | + This bar helps you find information following two paths or | ||
86 | + <strong>dimensions</strong>. First dimension are | ||
87 | + <em>categories</em>, which you'll find in the colored tabs in | ||
88 | + the bar. Second dimensions are <em>content types</em>, and | ||
89 | + you'll find them in the animated bar on your right. | ||
90 | + </p> | ||
91 | + CODE | ||
92 | + ) % @environment.name %> | ||
87 | </div> | 93 | </div> |
88 | 94 | ||
89 | <div id='navigation_bar'> | 95 | <div id='navigation_bar'> |