|
53 | 53 | <v-dialog v-model="runtimeDialog" width="500"> |
54 | 54 | <v-card> |
55 | 55 | <v-card-title class="headline grey lighten-2" primary-title> |
56 | | - Esecuzione |
| 56 | + {{ $t("message.running") }} |
57 | 57 | </v-card-title> |
58 | 58 | <template v-if="activity.exec.camera"> |
59 | 59 | <v-card-text v-if="runtimeDialog"> |
|
67 | 67 | <v-card-actions> |
68 | 68 | <v-spacer></v-spacer> |
69 | 69 | <v-btn color="primary" text @click="runtimeDialog = false; stopProgram()"> |
70 | | - Chiudi |
| 70 | + {{ $t("message.close") }} |
71 | 71 | </v-btn> |
72 | 72 | </v-card-actions> |
73 | 73 | </v-card> |
|
76 | 76 | <v-dialog v-model="carica" max-width="290"> |
77 | 77 | <v-card> |
78 | 78 | <v-card-title class="headline"> |
79 | | - Lista Programmi |
| 79 | + {{ $t("message.program_list") }} |
80 | 80 | </v-card-title> |
81 | 81 | <v-list> |
82 | 82 | <v-list-item v-for="program in programList" :key="program.el" @click="{}"> |
|
91 | 91 | <v-card-actions> |
92 | 92 | <v-spacer></v-spacer> |
93 | 93 | <v-btn color="green darken-1" text="text" @click="carica = false"> |
94 | | - Annulla |
| 94 | + {{ $t("message.cancel") }} |
95 | 95 | </v-btn> |
96 | 96 | </v-card-actions> |
97 | 97 | </v-card> |
|
100 | 100 | <v-dialog v-model="salva" max-width="430"> |
101 | 101 | <v-card> |
102 | 102 | <v-card-title class="headline"> |
103 | | - Salva con nome |
| 103 | + {{ $t("message.save_as") }} |
104 | 104 | </v-card-title> |
105 | 105 | <v-card-actions> |
106 | 106 | <v-spacer></v-spacer> |
107 | 107 | <v-card-text> |
108 | 108 | <v-text-field v-model="newProgramName" label="Nome del programma" v-if="salva" onClick="this.select()" v-on:keyup.enter="saveProgramAs(), salva = false" v-on:keyup.esc="salva = false" autofocus></v-text-field> |
109 | 109 | </v-card-text> |
110 | 110 | <v-btn color="red darken-1" text="text" @click="salva = false"> |
111 | | - Annulla |
| 111 | + {{ $t("message.cancel") }} |
112 | 112 | </v-btn> |
113 | 113 | <v-btn color="green darken-1" text="text" @click="saveProgramAs(), salva = false"> |
114 | | - Ok |
| 114 | + {{ $t("message.ok") }} |
115 | 115 | </v-btn> |
116 | 116 | </v-card-actions> |
117 | 117 | </v-card> |
|
121 | 121 | <v-card> |
122 | 122 | <v-card-title class="headline">Error</v-card-title> |
123 | 123 | <v-card-text> |
124 | | - Il nome del programma non può essere vuoto. |
| 124 | + {{ $t("message.program_name_must_be_filled") }} |
125 | 125 | </v-card-text> |
126 | 126 | <v-card-actions> |
127 | 127 | <v-btn color="green darken-1" text="text" @click="unvalidName = false, salva = true"> |
|
135 | 135 | <v-card> |
136 | 136 | <v-card-title class="headline">Error</v-card-title> |
137 | 137 | <v-card-text> |
138 | | - Impossibile sovrascrivere un programma di default, cambiare il nome. |
| 138 | + {{ $t("message.cannot_overwrite_default_program") }} |
139 | 139 | </v-card-text> |
140 | 140 | <v-card-actions> |
141 | 141 | <v-btn color="green darken-1" text="text" @click="CannotOverwrite = false, salva = true"> |
142 | | - Ok |
| 142 | + {{ $t("message.ok") }} |
143 | 143 | </v-btn> |
144 | 144 | </v-card-actions> |
145 | 145 | </v-card> |
|
148 | 148 | <v-dialog v-model="overwriteDialog" max-width="500"> |
149 | 149 | <v-card> |
150 | 150 | <v-card-title class="headline"> |
151 | | - Sovrascrivi |
| 151 | + {{ $t("message.overwrite") }} |
152 | 152 | </v-card-title> |
153 | 153 | <v-card-actions> |
154 | 154 | <v-card-text> |
155 | | - Esiste già un programma con nome : "{{programName}}" vuoi sovrascriverlo? |
| 155 | + {{ $t('message.program_exists_overwrite', { programName: programName }) }} |
156 | 156 | </v-card-text> |
157 | 157 | <v-btn color="red darken-1" text="text" @click="overwriteDialog = false, salva = true"> |
158 | | - No |
| 158 | + {{ $t("message.no") }} |
159 | 159 | </v-btn> |
160 | 160 | <v-btn color="green darken-1" text="text" @click="overwrite = 1, overwriteDialog = false, saveProgram()"> |
161 | | - Si |
| 161 | + {{ $t("message.yes") }} |
162 | 162 | </v-btn> |
163 | 163 | </v-card-actions> |
164 | 164 | </v-card> |
|
167 | 167 | <v-dialog v-model="del" max-width="500"> |
168 | 168 | <v-card> |
169 | 169 | <v-card-title class="headline"> |
170 | | - Cancella |
| 170 | + {{ $t("message.delete") }} |
171 | 171 | </v-card-title> |
172 | 172 | <v-card-actions> |
173 | 173 | <v-card-text> |
174 | | - Sei sicuro di voler cancellare: "{{newProgramName}}"? |
| 174 | + {{ $t('message.delete_sure', { programName: programName }) }} |
175 | 175 | </v-card-text> |
176 | 176 | <v-btn color="red darken-1" text="text" @click="del = false"> |
177 | | - No |
| 177 | + {{ $t("message.no") }} |
178 | 178 | </v-btn> |
179 | 179 | <v-btn color="green darken-1" text="text" @click="del = false, carica = false, deleteProgram(newProgramName)"> |
180 | | - Si |
| 180 | + {{ $t("message.yes") }} |
181 | 181 | </v-btn> |
182 | 182 | </v-card-actions> |
183 | 183 | </v-card> |
|
193 | 193 | <v-card-actions> |
194 | 194 | <v-spacer></v-spacer> |
195 | 195 | <v-btn color="green darken-1" text="text" @click="dialogCode = false"> |
196 | | - Ok |
| 196 | + {{ $t("message.ok") }} |
197 | 197 | </v-btn> |
198 | 198 | </v-card-actions> |
199 | 199 | </v-card> |
200 | 200 | </v-dialog> |
201 | 201 | <!-- Status --> |
202 | 202 | <v-dialog v-model="dialog" max-width="290"> |
203 | 203 | <v-card> |
204 | | - <v-card-title class="headline">Stato del Coderbot</v-card-title> |
| 204 | + <v-card-title class="headline">{{ $t("message.coderbot_state") }}</v-card-title> |
205 | 205 | <v-card-text> |
206 | 206 | {{ statusText }} |
207 | 207 | </v-card-text> |
208 | 208 | <v-card-actions> |
209 | 209 | <v-spacer></v-spacer> |
210 | 210 | <v-btn color="green darken-1" text="text" @click="dialog = false"> |
211 | | - Ok |
| 211 | + {{ $t("message.ok") }} |
212 | 212 | </v-btn> |
213 | 213 | </v-card-actions> |
214 | 214 | </v-card> |
|
223 | 223 | <v-card-actions> |
224 | 224 | <v-spacer></v-spacer> |
225 | 225 | <v-btn color="green darken-1" text="text" @click="generalDialog = false"> |
226 | | - Ok |
| 226 | + {{ $t("message.ok") }} |
227 | 227 | </v-btn> |
228 | 228 | </v-card-actions> |
229 | 229 | </v-card> |
|
232 | 232 | <v-snackbar v-model="snackbar"> |
233 | 233 | {{ snackText }} |
234 | 234 | <v-btn color="pink" text @click="snackbar = false"> |
235 | | - Chiudi |
| 235 | + {{ $t("message.close") }} |
236 | 236 | </v-btn> |
237 | 237 | </v-snackbar> |
238 | 238 | </v-app> |
|
0 commit comments