-
Notifications
You must be signed in to change notification settings - Fork 515
/
Copy pathExperimentalBadge.ejs
35 lines (33 loc) · 1.42 KB
/
ExperimentalBadge.ejs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<%
//
// Inserts a badge indicating that a term or API is experimental.
//
// Parameters: none
const title = mdn.localString({
"de": "Experimentell. Erwarten Sie, dass sich das Verhalten in Zukunft ändert.",
"en-US": "Experimental. Expect behavior to change in the future.",
"es": "Experimental. Espere que el comportamiento cambie en el futuro.",
"fr": "Expérimental. Le comportement attendu pourrait évoluer à l'avenir.",
"ja": "Experimental. Expect behavior to change in the future.",
"ko": "Experimental. 예상되는 동작은 향후 변경될 수 있습니다.",
"pt-BR": "Experimental. Expect behavior to change in the future.",
"ru": "Экспериментальная возможность. Её поведение в будущем может измениться",
"zh-CN": "实验性。预期行为可能会在未来发生变更。",
"zh-TW": "實驗性質。行為可能會在未來發生變動。"
});
const abbreviation = mdn.localString({
"de": "Experimentell",
"en-US": "Experimental",
"es": "Experimental",
"fr": "Expérimental",
"ja": "Experimental",
"ko": "Experimental",
"pt-BR": "Experimental",
"ru": "Экспериментальная возможность",
"zh-CN": "实验性",
"zh-TW": "實驗性質"
});
%>
<abbr class="icon icon-experimental" title="<%= title %>">
<span class="visually-hidden"><%= abbreviation %></span>
</abbr>