[Modern Media Controls] Don't use arrays as values for localisable strings
[WebKit-https.git] / LayoutTests / media / modern-media-controls / localized-strings / replaced-string.html
1 <script src="../../../resources/js-test-pre.js"></script>
2 <script src="../../../../Source/WebCore/English.lproj/modern-media-controls-localized-strings.js" type="text/javascript"></script>
3 <script src="../../../../Source/WebCore/Modules/modern-media-controls/main.js" type="text/javascript"></script>
4 <script type="text/javascript">
5
6 description("Testing that we can replace strings using UIString.");
7
8 UIStrings["Test replaced string"] = "Value %s should be printed here";
9
10 shouldBeEqualToString("UIString('Test replaced string', 15)", "Value 15 should be printed here");
11
12 </script>
13 <script src="../../../resources/js-test-post.js"></script>