MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Revision 349635 of Template:b2g_required_inline

  • Revision slug: Template:b2g_required_inline
  • Revision title: Template:b2g_required_inline
  • Revision id: 349635
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment

Revision Content

<%/* Example: b2g_required_inline("1.0") */%> <% /* one parameter: FirefoxOS version */ /* get the page language */ var label = mdn.localString({ "en-US": "Requires FirefoxOS %d", "fr" : "Nécessite FirefoxOS %d", "ja" : "FirefoxOS %d が必要", "pl" : "Wymaga FirefoxOS %d", "pt" : "Requer FirefoxOS %d", "de" : "Ab FirefoxOS %d", "es" : "Requiere Firefox %d" }); label = label.replace('%d', $0); %> <%= label %>

Revision Source

<%/* Example: b2g_required_inline("1.0") */%>
<%
/* one parameter: FirefoxOS version */
/* get the page language */
var label = mdn.localString({
    "en-US": "Requires FirefoxOS %d",
    "fr"   : "Nécessite FirefoxOS %d",
    "ja"   : "FirefoxOS %d が必要",
    "pl"   : "Wymaga FirefoxOS %d",
    "pt"   : "Requer FirefoxOS %d",
    "de"   : "Ab FirefoxOS %d",
    "es"   : "Requiere Firefox %d"
});

label = label.replace('%d', $0);
%>
<span class="inlineIndicator standardNote standardNoteInline" title="<%= label %>">
  <a href="/<%= env.locale %>/docs/Mozilla/Firefox_OS"><%= label %></a>
</span>
Revert to this revision