diff client/src/main.js @ 3215:3b36bb33f5b0

available_fairway_depth: omit empty lines after split by newline
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 09 May 2019 11:31:10 +0200
parents 4f4905b57fcf
children 909a19e97db9
line wrap: on
line diff
--- a/client/src/main.js	Thu May 09 11:03:21 2019 +0200
+++ b/client/src/main.js	Thu May 09 11:31:10 2019 +0200
@@ -173,12 +173,12 @@
   faWindowMaximize,
   faCrosshairs
 );
-
 // register plugins
 Vue.use(GetTextPlugin, {
   translations: translations,
   availableLanguages: supportedLanguages,
-  defaultLanguage: defaultLanguage
+  defaultLanguage: defaultLanguage,
+  silent: process.env.VUE_APP_SILENCE_TRANSLATIONWARNINGS
 });
 Vue.use(Snotify, { toast: { position: SnotifyPosition.centerBottom } });
 Vue.use(ToggleButton);