|
33 | 33 | <v-card>
|
34 | 34 | <v-form class="cardContent">
|
35 | 35 | <v-text-field v-model="activity.name" label="Nome" required></v-text-field>
|
36 |
| - <v-text-field v-model="activity.description" label="Descrizione"></v-text-field> |
37 |
| - <v-select v-model="defaultView" :items="viste" label="Vista predefinita" required></v-select> |
| 36 | + <v-text-field v-model="activity.description" v-bind:label="$t('message.activity_description')"></v-text-field> |
| 37 | + <v-select v-model="defaultView" :items="viste" v-bind:label="$t('message.activity_predefined_view')" required></v-select> |
38 | 38 | </v-form>
|
39 | 39 | </v-card>
|
40 | 40 | <br><br>
|
|
44 | 44 | <!--
|
45 | 45 | <v-select :items="fontSizeLabels" v-model="activity.fontSize" label="Grandezza testo"></v-select>
|
46 | 46 | -->
|
47 |
| - <v-switch :label="`Solo maiuscole`" v-model="activity.capsSwitch"></v-switch> |
| 47 | + <v-switch v-bind:label="$t('message.activity_caps_only')" v-model="activity.capsSwitch"></v-switch> |
48 | 48 | <!--
|
49 | 49 | <v-layout row wrap>
|
50 | 50 | <v-flex>
|
|
94 | 94 | </v-card>
|
95 | 95 | <br><br>
|
96 | 96 | -->
|
97 |
| - <h3 class="text-xs-left">Programmazione</h3> |
| 97 | + <h3 class="text-xs-left">{{ $t("message.activity_programing_title") }}</h3> |
98 | 98 | <v-card>
|
99 | 99 | <div class="cardContent">
|
100 | 100 | <v-layout row wrap>
|
|
113 | 113 | </v-flex>
|
114 | 114 | -->
|
115 | 115 | <v-flex>
|
116 |
| - <v-text-field v-model="activity.maxBlocks" label="Numero massimo di blocchi"></v-text-field> |
| 116 | + <v-text-field v-model="activity.maxBlocks" v-bind:label="$t('message.activity_blocks_max_blocks')"></v-text-field> |
117 | 117 | </v-flex>
|
118 | 118 | </v-layout>
|
119 | 119 | </div>
|
|
147 | 147 | <h3> {{ $t("message.activity_toolbar_preview") }} </h3>
|
148 | 148 | <v-app-bar>
|
149 | 149 | <v-app-bar-nav-icon v-if="activity.drawerEnabled"></v-app-bar-nav-icon>
|
150 |
| - <v-app-bar-title v-if="activity.showName">{{ activity.name || "Nome Attività"}}</v-app-bar-title> |
| 150 | + <v-app-bar-title v-if="activity.showName">{{ activity.name || $t("message.activity_name")}}</v-app-bar-title> |
151 | 151 | <v-spacer></v-spacer>
|
152 | 152 | <template v-for="button in activity.buttons">
|
153 | 153 | <v-btn style="height: 70%" :color="button.colorBtn" :class="button.colorText">
|
|
158 | 158 | </template>
|
159 | 159 | </v-app-bar>
|
160 | 160 | <br>
|
161 |
| - <v-switch label="Icona menù laterale" v-model="activity.drawerEnabled"></v-switch> |
162 |
| - <v-switch label="Nome Attività" v-model="activity.showName"></v-switch> |
| 161 | + <v-switch v-bind:label="$t('message.activity_lateral_menu_icon')" v-model="activity.drawerEnabled"></v-switch> |
| 162 | + <v-switch v-bind:label="$t('message.activity_name')" v-model="activity.showName"></v-switch> |
163 | 163 | <br>
|
164 | 164 | <h3> {{ $t("message.activity_toolbar_buttons") }} </h3>
|
165 | 165 | <v-btn @click="addButton()" outlined color="green">
|
|
182 | 182 | <div class="cardContent">
|
183 | 183 | <span class="grey--text text--darken-2" v-if="button.notErasable">
|
184 | 184 | {{ $t("message.activity_toolbar_buttons_cannot_remove_run") }} </span>
|
185 |
| - <v-text-field v-model="button.label" label="Etichetta"></v-text-field> |
186 |
| - <v-select v-model="button.action" :items="actions" label="Azione" |
| 185 | + <v-text-field v-model="button.label" v-bind:label="$t('message.activity_label')"></v-text-field> |
| 186 | + <v-select v-model="button.action" :items="actions" v-bind:label="$t('message.activity_action')" |
187 | 187 | :disabled="button.notErasable">
|
188 | 188 | </v-select>
|
189 |
| - <v-select :items="textColors" v-model="button.colorText" label="Colore testo"></v-select> |
| 189 | + <v-select :items="textColors" v-model="button.colorText" v-bind:label="$t('message.activity_text_color')"></v-select> |
190 | 190 | <v-layout row wrap>
|
191 | 191 | <v-flex xs4 style="text-align: left">
|
192 | 192 | <span style="vertical-align: 55%"> {{ $t("message.activity_toolbar_buttons_color") }}
|
@@ -437,8 +437,9 @@ export default {
|
437 | 437 | 'Protanopia',
|
438 | 438 | ],
|
439 | 439 | langs: [
|
440 |
| - 'Italiano', |
441 |
| - 'Inglese', |
| 440 | + this.$i18n.t('message.activity_lang_italian'), |
| 441 | + this.$i18n.t('message.activity_lang_english'), |
| 442 | + this.$i18n.t('message.activity_lang_french'), |
442 | 443 | ],
|
443 | 444 | uiLang: 'Italiano',
|
444 | 445 | blocklyLang: 'Inglese',
|
|
0 commit comments