Commit 4830c1cb authored by elplauto's avatar elplauto
Browse files

english translation done

parent f9260d71
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
'lostProgression':{ 'lostProgression':{
handler:function(val){ handler:function(val){
if(val==1){ if(val==1){
this.$toasted.show("La mission à été modifié, vous avez perdu votre progression", { this.$toasted.show(this.$t('progressionLost'), {
theme: "bubble", theme: "bubble",
position: "top-center", position: "top-center",
duration: 5000 duration: 5000
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
channel.bind( channel.bind(
"progression_lost", "progression_lost",
function(data) { function(data) {
this.$toasted.show("Vous allez être deconnecté suite à un changement de la mission", { this.$toasted.show(this.$t('missionChange'), {
theme: "bubble", theme: "bubble",
position: "top-center", position: "top-center",
duration: 5000, duration: 5000,
...@@ -238,7 +238,7 @@ export default { ...@@ -238,7 +238,7 @@ export default {
theme: red theme: red
}, },
{ {
label: this.$t('relevés'), label: this.$t('records'),
icon: "ion-edit", icon: "ion-edit",
page: Releve, page: Releve,
theme: purple, theme: purple,
......
...@@ -9,13 +9,20 @@ export default { ...@@ -9,13 +9,20 @@ export default {
genus:"Genus", genus:"Genus",
common:"Common", common:"Common",
/*confidenceLevels*/
unspecified:"Unspecified",
notVeryConfident:"Not very confident",
confident: "Confident",
// APPTABBAR // APPTABBAR
map: "Map", map: "Map",
mission: "Mission", mission: "Mission",
score: "Score", score: "Score",
arboretum: "Arboretum", arboretum: "Arboretum",
relevés: "Records", records: "Records",
missionChange:"You will be disconnected because of a mission change",
progressionLost: "The mission has been modified, you have lost your progress",
//MENU //MENU
...@@ -34,7 +41,7 @@ export default { ...@@ -34,7 +41,7 @@ export default {
authenticate: "Authenticate!", authenticate: "Authenticate!",
welcome: "Welcome into Albiziapp", welcome: "Welcome into Albiziapp",
authenticatePlease : "Thanks to anthencicate", authenticatePlease : "Thanks to authenticate",
authenticateButton : "AUTHENTICATE", authenticateButton : "AUTHENTICATE",
currentMission: "Current mission", currentMission: "Current mission",
skipActivityTitle: "Are you sure you want to skip this activity ?", skipActivityTitle: "Are you sure you want to skip this activity ?",
...@@ -149,6 +156,7 @@ export default { ...@@ -149,6 +156,7 @@ export default {
sendOSM:"Send to OSM", sendOSM:"Send to OSM",
save:"Save", save:"Save",
cancel:"Cancel", cancel:"Cancel",
identification:"Identification",
//RELEVEOSM //RELEVEOSM
...@@ -203,6 +211,11 @@ export default { ...@@ -203,6 +211,11 @@ export default {
specie:"Espèce", specie:"Espèce",
genus:"Genre", genus:"Genre",
common:"Vernaculaire", common:"Vernaculaire",
/*confidenceLevels*/
unspecified:"Non renseignée",
notVeryConfident:"Peu confiant",
confident: "Confiant",
// APPTABBAR // APPTABBAR
...@@ -210,7 +223,9 @@ export default { ...@@ -210,7 +223,9 @@ export default {
mission: "Mission", mission: "Mission",
score: "Score", score: "Score",
arboretum: "Arboretum", arboretum: "Arboretum",
relevés: "Relevés", records: "Relevés",
missionChange:"Vous allez être déconnecté suite à un changement de mission",
progressionLost: "La mission a été modifiée, vous avez perdu votre progression",
//MENU //MENU
...@@ -344,6 +359,7 @@ export default { ...@@ -344,6 +359,7 @@ export default {
sendOSM:"Envoyer vers OSM", sendOSM:"Envoyer vers OSM",
save:"Enregistrer", save:"Enregistrer",
cancel:"Annuler", cancel:"Annuler",
identification:"Identification",
//RELEVEOSM //RELEVEOSM
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<v-ons-page> <v-ons-page>
<v-ons-toolbar> <v-ons-toolbar>
<div class="left"> <div class="left">
<v-ons-back-button>Back</v-ons-back-button> <v-ons-back-button>{{ $t('back') }}</v-ons-back-button>
</div> </div>
</v-ons-toolbar> </v-ons-toolbar>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
style="margin-top: 10px; style="margin-top: 10px;
font-size: 15px; font-size: 15px;
font-weight: bolder;" font-weight: bolder;"
>Identification</v-ons-list-title> >{{ $t('identification') }}</v-ons-list-title>
<v-ons-list-item> <v-ons-list-item>
<div class="left"> <div class="left">
...@@ -151,12 +151,12 @@ export default { ...@@ -151,12 +151,12 @@ export default {
data() { data() {
return { return {
releve: { releve: {
confidence: "Non renseignée" confidence: "Non renseignée" //this.$t('unspecified')
}, },
specie: "", specie: "",
noTree: false, noTree: false,
selectedHeight: 0, selectedHeight: 0,
selectedConfidence: "Non renseignée", selectedConfidence: "Non renseignée", //this.$t('unspecified')
selectedCrown: 0, selectedCrown: 0,
commonList:commonList, commonList:commonList,
specieVerSource: speciesList, specieVerSource: speciesList,
...@@ -186,6 +186,12 @@ export default { ...@@ -186,6 +186,12 @@ export default {
confidenceValues() { confidenceValues() {
return this.$store.state.commonData.confidenceValues; return this.$store.state.commonData.confidenceValues;
/*var confidenceValues = []
for (let confidenceValue of this.$store.state.commonData.confidenceValues) {
confidenceValues.push(this.$t(confidenceValue))
}
return confidenceValues*/
}, },
completed() { completed() {
if (this.genus.length) { if (this.genus.length) {
......
...@@ -19,7 +19,11 @@ export default { ...@@ -19,7 +19,11 @@ export default {
confidenceValues: [ confidenceValues: [
'Non renseignée', 'Non renseignée',
'Peu confiant', 'Peu confiant',
'Confiant', 'Confiant'
/*'unspecified',
'notVeryConfident',
'confident'*/
] ]
}, },
mutations: { mutations: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment