2012-11-17 22:37:30 +08:00
|
|
|
<html>
|
|
|
|
<head>
|
2019-12-11 16:49:54 +08:00
|
|
|
<script src="/jsi18n_admin/"></script>
|
2012-11-17 22:37:30 +08:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2017-04-27 16:50:48 +08:00
|
|
|
<p id="formats">
|
2019-12-11 16:49:54 +08:00
|
|
|
<script>
|
2017-04-27 16:50:48 +08:00
|
|
|
document.write("DATE_INPUT_FORMATS is an " + typeof get_format("DATE_INPUT_FORMATS") + "; ");
|
|
|
|
document.write("DECIMAL_SEPARATOR is a " + typeof get_format("DECIMAL_SEPARATOR") + "; ");
|
|
|
|
document.write("FIRST_DAY_OF_WEEK is a " + typeof get_format("FIRST_DAY_OF_WEEK") + ";");
|
|
|
|
</script>
|
|
|
|
</p>
|
|
|
|
|
2012-11-17 22:37:30 +08:00
|
|
|
<p id="gettext">
|
2019-12-11 16:49:54 +08:00
|
|
|
<script>
|
2012-11-17 22:37:30 +08:00
|
|
|
document.write(gettext("Remove"));
|
|
|
|
</script>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p id="ngettext_sing">
|
2019-12-11 16:49:54 +08:00
|
|
|
<script>
|
2012-11-17 22:37:30 +08:00
|
|
|
document.write(interpolate(ngettext("%s item", "%s items", 1), [1]));
|
|
|
|
</script>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p id="ngettext_plur">
|
2019-12-11 16:49:54 +08:00
|
|
|
<script>
|
2012-11-17 22:37:30 +08:00
|
|
|
document.write(interpolate(ngettext("%s item", "%s items", 455), [455]));
|
|
|
|
</script>
|
|
|
|
</p>
|
|
|
|
|
2019-01-26 23:44:49 +08:00
|
|
|
<p id="ngettext_onnonplural">
|
|
|
|
<!-- The po file only contains the non plural "Image" string. -->
|
2019-12-11 16:49:54 +08:00
|
|
|
<script>
|
2019-01-26 23:44:49 +08:00
|
|
|
document.write(interpolate(ngettext("Image", "Images", 5), [1]));
|
|
|
|
</script>
|
|
|
|
</p>
|
|
|
|
|
2012-11-17 22:37:30 +08:00
|
|
|
<p id="pgettext">
|
2019-12-11 16:49:54 +08:00
|
|
|
<script>
|
2012-11-17 22:37:30 +08:00
|
|
|
document.write(pgettext("verb", "May"));
|
|
|
|
</script>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p id="npgettext_sing">
|
2019-12-11 16:49:54 +08:00
|
|
|
<script>
|
2012-11-17 22:37:30 +08:00
|
|
|
document.write(interpolate(npgettext("search", "%s result", "%s results", 1), [1]));
|
|
|
|
</script>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p id="npgettext_plur">
|
2019-12-11 16:49:54 +08:00
|
|
|
<script>
|
2012-11-17 22:37:30 +08:00
|
|
|
document.write(interpolate(npgettext("search", "%s result", "%s results", 455), [455]));
|
|
|
|
</script>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|