Skip to content

Commit

Permalink
locale: add headline to locale
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Sep 17, 2023
1 parent c10cc4a commit d069329
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/panels/SpoolmanPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ export default class SpoolmanPanel extends Mixins(BaseMixin) {
}
get title() {
if (this.health === '' || this.health === 'healthy') return 'Spoolman'
const headline = this.$t('Panels.Spoolman.Headline') as string
return `Spoolman (${this.health})`
if (this.health === '' || this.health === 'healthy') return headline
return `${headline} (${this.health})`
}
get changeSpoolTooltip(): string {
Expand Down
1 change: 1 addition & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@
"EjectSpoolQuestion": "Are you sure to eject the filament spool?",
"Filament": "Filament",
"FirstUsedOutput": "First used: {firstUsed}",
"Headline": "Spoolman",
"LastUsed": "Last Used",
"Location": "Location",
"Material": "Material",
Expand Down

0 comments on commit d069329

Please sign in to comment.