Skip to content

Commit

Permalink
Merge pull request #677 from openSUSE/load_translations
Browse files Browse the repository at this point in the history
Load Agama translations
  • Loading branch information
lslezak authored Jul 31, 2023
2 parents 93aaa88 + a89b700 commit 4921861
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@
<body>
<div id="root"></div>
<script type="module" src="./index.js"></script>
<!--
The Cockpit server returns "po.<LANG>.js" content for the "po.js" request,
the requested language is obtained from the "CockpitLang" cookie sent in
the HTTP header. For missing translations it returns an empty string.
-->
<script src="po.js" defer></script>
</body>
</html>

0 comments on commit 4921861

Please sign in to comment.