starter-kit/po/po.empty.js
Martin Pitt b5e929fab9 Simplify translation template
`this.po` is not being used anywhere, so drop the whole `!loaded` code
path. There is no defer mechanism, so `po.js` *must* be loaded after
cockpit.js. Let's trigger a crash instead of silently dropping
translations, to make such a bug obvious in manual and automatic tests.
2020-12-26 08:29:49 +01:00

2 lines
95 B
JavaScript

/* The syntax of this line is important for po2json */
cockpit.locale({"":{"language":"en"}});