mozilla

Revision 376599 of Template:DevDerbyPromoHeader

  • Revision slug: Template:DevDerbyPromoHeader
  • Revision title: Template:DevDerbyPromoHeader
  • Revision id: 376599
  • Created:
  • Creator: ethertank
  • Is current revision? No
  • Comment +ja, +default word
Tags: 

Revision Content

<%/* Parameter $0 : Learning about XXX (Optional) */ // Translation: [ Title, Sentence, DefaultTitle ] var str = mdn.localString({ "ca": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "cs": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "de": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "el": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "es": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "fa": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "fi": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "fr": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "he": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "hr": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "hu": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "id": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "it": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "ja": [$0 + ' について学習中ですか?', 'この記事をお読みになった後は是非 Dev Derby へ赴き、世界中の人達に学習の成果を披露して下さい!', 'この機能について学習中ですか?'], "ka": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "ko": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "ms": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "nl": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "pl": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "ro": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "ru": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "sq": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "th": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "tr": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "vi": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "bn-BD": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "fy-NL": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "ga-IE": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "pt-BR": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "pt-PT": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "zh-CN": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "zh-TW": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'], "en-US": ['Learning about ' + $0 + '?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature?'] }); var lead = $0 ? str[0] : str[2]; %>

<%- lead %>

<%- str[1] %>

Revision Source

<%/*
Parameter
    $0 : Learning about XXX (Optional)
*/

//  Translation: [ Title,  Sentence,  DefaultTitle ]
var str = mdn.localString({
    "ca": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "cs": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "de": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "el": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "es": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "fa": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "fi": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "fr": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "he": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "hr": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "hu": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "id": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "it": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "ja": [$0 + ' について学習中ですか?', 'この記事をお読みになった後は是非 <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> へ赴き、世界中の人達に学習の成果を披露して下さい!', 'この機能について学習中ですか?'],
    "ka": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "ko": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "ms": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "nl": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "pl": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "ro": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "ru": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "sq": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "th": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "tr": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "vi": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "bn-BD": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "fy-NL": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "ga-IE": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "pt-BR": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "pt-PT": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "zh-CN": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "zh-TW": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?'],
    "en-US": ['Learning about ' + $0 + '?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature?']
});

var lead = $0 ? str[0] : str[2];


%><div class="overheadIndicator" style="background:#FFFDD8;"> 
  <p><%- lead %></p> 
  <p><%- str[1] %></p> 
</div>