mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #22106 -- Allowed using more than one instance of javascript_catalog per project.
This commit is contained in:
committed by
Tim Graham
parent
556eb67701
commit
6bb2175ed6
17
tests/view_tests/templates/jsi18n-multi-catalogs.html
Normal file
17
tests/view_tests/templates/jsi18n-multi-catalogs.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/jsi18n/app1/"></script>
|
||||
<script type="text/javascript" src="/jsi18n/app2/"></script>
|
||||
<body>
|
||||
<p id="app1string">
|
||||
<script type="text/javascript">
|
||||
document.write(gettext('this app1 string is to be translated'))
|
||||
</script>
|
||||
</p>
|
||||
<p id="app2string">
|
||||
<script type="text/javascript">
|
||||
document.write(gettext('this app2 string is to be translated'))
|
||||
</script>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user