diff --git a/src/components/dialogs/HistoryListPanelDetailsDialog.vue b/src/components/dialogs/HistoryListPanelDetailsDialog.vue index 8236db9c8..2a8138ac5 100644 --- a/src/components/dialogs/HistoryListPanelDetailsDialog.vue +++ b/src/components/dialogs/HistoryListPanelDetailsDialog.vue @@ -104,6 +104,51 @@ export default class HistoryListPanelDetailsDialog extends Mixins(BaseMixin) { value: `${Math.round((this.job.metadata?.filament_weight_total ?? 0) * 100) / 100} g`, exists: this.job.metadata && 'filament_weight_total' in this.job.metadata, }, + { + name: this.$t('History.EstimatedFilament').toString(), + value: `${Math.round(this.job.metadata?.filament_total ?? 0)} mm`, + exists: this.job.metadata && 'filament_total' in this.job.metadata, + }, + { + name: this.$t('History.FilamentUsed').toString(), + value: `${Math.round(this.job.metadata?.filament_used ?? 0)} mm`, + exists: this.job.metadata && 'filament_used' in this.job.metadata, + }, + { + name: this.$t('History.FirstLayerExtTemp').toString(), + value: `${this.job.metadata?.first_layer_extr_temp ?? 0} °C`, + exists: this.job.metadata && 'first_layer_extr_temp' in this.job.metadata, + }, + { + name: this.$t('History.FirstLayerBedTemp').toString(), + value: `${this.job.metadata?.first_layer_bed_temp ?? 0} °C`, + exists: this.job.metadata && 'first_layer_bed_temp' in this.job.metadata, + }, + { + name: this.$t('History.FirstLayerHeight').toString(), + value: `${this.job.metadata?.first_layer_height ?? 0} mm`, + exists: this.job.metadata && 'first_layer_height' in this.job.metadata, + }, + { + name: this.$t('History.LayerHeight').toString(), + value: `${this.job.metadata?.layer_height ?? 0} mm`, + exists: this.job.metadata && 'layer_height' in this.job.metadata, + }, + { + name: this.$t('History.ObjectHeight').toString(), + value: `${this.job.metadata?.object_height ?? 0} mm`, + exists: this.job.metadata && 'object_height' in this.job.metadata, + }, + { + name: this.$t('History.Slicer').toString(), + value: this.job.metadata?.slicer ?? '--', + exists: this.job.metadata && 'slicer' in this.job.metadata, + }, + { + name: this.$t('History.SlicerVersion').toString(), + value: this.job.metadata?.slicer_version ?? '--', + exists: this.job.metadata && 'slicer_version' in this.job.metadata, + }, ] if ('auxiliary_data' in this.job) { diff --git a/src/locales/de.json b/src/locales/de.json index a8535f162..6932890bb 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -375,6 +375,7 @@ "EntryNextPerform": "Nächste Ausführung:", "EntryPerformedAt": "Ausgeführt am {date}.", "EntrySince": "Verwendet seit:", + "EstimatedFilament": "Geschätzte Filamentlänge", "EstimatedFilamentWeight": "Geschätztes Filamentgewicht", "EstimatedTime": "Geschätzte Zeit", "FilamentBasedReminder": "Filament", @@ -425,6 +426,7 @@ "SelectedJobs": "Ausg. Drucke", "SelectedPrinttime": "Ausg. Druckzeit", "Slicer": "Slicer", + "SlicerVersion": "Slicerversion", "StartTime": "Startzeit", "Statistics": "Statistik", "Status": "Status", diff --git a/src/locales/en.json b/src/locales/en.json index 80f8a3351..5c403574b 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -375,6 +375,7 @@ "EntryNextPerform": "Next perform:", "EntryPerformedAt": "Performed at {date}.", "EntrySince": "Used since:", + "EstimatedFilament": "Estimated Filament", "EstimatedFilamentWeight": "Estimated Filament Weight", "EstimatedTime": "Estimated Time", "FilamentBasedReminder": "Filament", @@ -425,6 +426,7 @@ "SelectedJobs": "Selected Jobs", "SelectedPrinttime": "Selected Print Time", "Slicer": "Slicer", + "SlicerVersion": "Slicer Version", "StartTime": "Start Time", "Statistics": "Statistics", "Status": "Status",