mozilla

Revision 239647 of Template:fx minversion inline

  • Revision slug: Template:fx_minversion_inline
  • Revision title: Template:fx minversion inline
  • Revision id: 239647
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment

Revision Content

<% var lang = env.locale; var articleName = "Firefox " + $0 + " for developers"; var newIn = "New in "; switch(env.locale) { case 'de': articleName = "Firefox " + $0 + " für Entwickler"; newIn = "Neu in "; break; case 'es': articleName = "Firefox " + $0 + " para desarrolladores"; newIn = "Nuevo en "; break; case 'fr': articleName = "Firefox " + $0 + " pour les développeurs"; newIn = "Nouveau dans "; break; case 'pl': articleName = "Firefox " + $0 + " dla programistów"; newIn = "Nowość w "; break; case 'pt': articleName = "Firefox " + $0 + " para desenvolvedores"; newIn = "Novidade no "; break; case 'ru': articleName = "Firefox " + $0 + " для разработчиков"; newIn = "Нововведение в "; break; } %> <%=newIn%> <%-web.link(wiki.uri(lang + '/' + articleName), "Firefox " + $0)%>

Revision Source

<%
var lang = env.locale;
var articleName = "Firefox " + $0 + " for developers";
var newIn = "New in ";

switch(env.locale) {
  case 'de':
    articleName = "Firefox " + $0 + " für Entwickler";
    newIn = "Neu in ";
    break;
  case 'es':
    articleName = "Firefox " + $0 + " para desarrolladores";
    newIn = "Nuevo en ";
    break;
  case 'fr':
    articleName = "Firefox " + $0 + " pour les développeurs";
    newIn = "Nouveau dans ";
    break;
  case 'pl':
    articleName = "Firefox " + $0 + " dla programistów";
    newIn = "Nowość w ";
    break;
  case 'pt':
    articleName = "Firefox " + $0 + " para desenvolvedores";
    newIn = "Novidade no ";
    break;
  case 'ru':
    articleName = "Firefox " + $0 + " для разработчиков";
    newIn = "Нововведение в ";
    break;
}
%>
<span class="standardNote">
  <%=newIn%>
  <%-web.link(wiki.uri(lang + '/' + articleName), "Firefox " + $0)%>
</span>