Add German translation
Series of Tubes now speaks German. site/i18n/de.js translates all 3,063 labels in informal "du". Networking terms that German engineers say in English stay English (Peering, Transit, Dark Fiber, Wave, Port, POP, IX, Route Server, LAG, PNI and so on); plain "fiber" is "Glasfaser" and "fiber pair" is "Faserpaar". RouteScript syntax stays English, as in the other languages. German is registered in the language list and the offline cache, so a German browser starts in German. Every per-language test now covers it, and the German style notes are in the add-strings skill and in the dictionary header.
This commit is contained in:
parent
8e36b22351
commit
1a0a70e575
13 changed files with 3099 additions and 10 deletions
|
|
@ -2,7 +2,7 @@
|
|||
The page always comes from the network when there is one, so a new release shows up on the
|
||||
next visit; everything else is served from the cache and refreshed in the background. */
|
||||
const CACHE = 'sot-__VERSION__';
|
||||
const CORE = ['/', '/index.html', '/site.webmanifest', '/favicon.svg', '/icon-192.png', '/icon-512.png', '/apple-touch-icon.png', '/i18n/it.js?v=__VERSION__', '/i18n/pt.js?v=__VERSION__', '/i18n/fr.js?v=__VERSION__', '/i18n/es.js?v=__VERSION__'];
|
||||
const CORE = ['/', '/index.html', '/site.webmanifest', '/favicon.svg', '/icon-192.png', '/icon-512.png', '/apple-touch-icon.png', '/i18n/it.js?v=__VERSION__', '/i18n/pt.js?v=__VERSION__', '/i18n/fr.js?v=__VERSION__', '/i18n/es.js?v=__VERSION__', '/i18n/de.js?v=__VERSION__'];
|
||||
|
||||
self.addEventListener('install', (e) => {
|
||||
e.waitUntil(caches.open(CACHE).then((c) => c.addAll(CORE)).then(() => self.skipWaiting()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue