Browse Source

internationnalisation du message dans les alerte

Vincent GUFFON 4 years ago
parent
commit
ec8f482b3f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      components/Layout/Alert/Container.vue
  2. 1 1
      components/Layout/Alert/Content.vue

+ 1 - 1
components/Layout/Alert/Container.vue

@@ -32,7 +32,7 @@
     position: fixed;
     position: fixed;
     bottom: 0;
     bottom: 0;
     right: 20px;
     right: 20px;
-    z-index: 100;
+    z-index: 1000;
   }
   }
 
 
   .alertContainer > .alertContent {
   .alertContainer > .alertContent {

+ 1 - 1
components/Layout/Alert/Content.vue

@@ -10,7 +10,7 @@
     v-on:mouseover="onMouseOver"
     v-on:mouseover="onMouseOver"
     v-on:mouseout="onMouseOut"
     v-on:mouseout="onMouseOut"
   >
   >
-    {{alert.message}}
+    {{$t(alert.message)}}
   </v-alert>
   </v-alert>
 </template>
 </template>