mirror of
https://github.com/Andre-Bzk/twitch4steamdeck.git
synced 2026-11-15 15:43:08 +01:00
feat: add German and English UI language support
A single-language interface makes the app less usable for part of the audience and encourages more hardcoded copy as new screens and states are added. Introducing a shared i18n path with a persisted language preference gives the UI one consistent way to present text and lowers the risk of partial or inconsistent localization over time. The surrounding copy cleanup belongs in the same change because it aligns existing labels, messages, and settings text with that translation structure instead of leaving mixed localization approaches in place.
This commit is contained in:
@@ -19,7 +19,7 @@ export class PlaybackService extends EventEmitter {
|
||||
} catch (e) {
|
||||
this.emit('playback-event', {
|
||||
kind: 'error',
|
||||
message: `Stream-URL konnte nicht abgerufen werden: ${e}`
|
||||
message: `Failed to resolve stream URL: ${e}`
|
||||
} satisfies PlaybackEvent)
|
||||
return
|
||||
}
|
||||
@@ -59,7 +59,7 @@ export class PlaybackService extends EventEmitter {
|
||||
} catch (e) {
|
||||
this.emit('playback-event', {
|
||||
kind: 'error',
|
||||
message: `Stream-URL konnte nicht abgerufen werden: ${e}`
|
||||
message: `Failed to resolve stream URL: ${e}`
|
||||
} satisfies PlaybackEvent)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user