feat: Rename to Toju and add translation
Some checks failed
Deploy Web Apps / deploy (push) Successful in 5m52s
Build Android APK / build-android-apk (push) Failing after 23m15s
Queue Release Build / prepare (push) Successful in 1m42s
Queue Release Build / build-linux (push) Failing after 9m33s
Queue Release Build / build-windows (push) Successful in 26m5s
Queue Release Build / finalize (push) Has been skipped

This commit is contained in:
2026-06-05 17:13:03 +02:00
parent 8ecfc9a1fe
commit ee293d7daf
301 changed files with 8247 additions and 2218 deletions

View File

@@ -25,8 +25,6 @@ export interface ScreenShareStartOptions {
}
export interface ScreenShareQualityPreset {
label: string;
description: string;
width: number;
height: number;
frameRate: number;
@@ -36,6 +34,13 @@ export interface ScreenShareQualityPreset {
scaleResolutionDownBy?: number;
}
export function screenShareQualityI18nKey(
quality: ScreenShareQuality,
field: 'label' | 'description'
): string {
return `screenShare.quality.${quality}.${field}`;
}
export const DEFAULT_SCREEN_SHARE_START_OPTIONS: ScreenShareStartOptions = {
includeSystemAudio: false,
quality: DEFAULT_SCREEN_SHARE_QUALITY
@@ -43,8 +48,6 @@ export const DEFAULT_SCREEN_SHARE_START_OPTIONS: ScreenShareStartOptions = {
export const SCREEN_SHARE_QUALITY_PRESETS: Record<ScreenShareQuality, ScreenShareQualityPreset> = {
performance: {
label: 'Performance saver',
description: '720p / 30 FPS with lower CPU and bandwidth usage.',
width: 1280,
height: 720,
frameRate: 30,
@@ -54,8 +57,6 @@ export const SCREEN_SHARE_QUALITY_PRESETS: Record<ScreenShareQuality, ScreenShar
scaleResolutionDownBy: 1
},
balanced: {
label: 'Balanced',
description: '1080p / 30 FPS for stable quality in most cases.',
width: 1920,
height: 1080,
frameRate: 30,
@@ -65,8 +66,6 @@ export const SCREEN_SHARE_QUALITY_PRESETS: Record<ScreenShareQuality, ScreenShar
scaleResolutionDownBy: 1
},
'high-fps': {
label: 'High FPS',
description: '1080p / 60 FPS for games and fast motion.',
width: 1920,
height: 1080,
frameRate: 60,
@@ -76,8 +75,6 @@ export const SCREEN_SHARE_QUALITY_PRESETS: Record<ScreenShareQuality, ScreenShar
scaleResolutionDownBy: 1
},
quality: {
label: 'Sharp text',
description: '1440p / 30 FPS for detailed UI and text clarity.',
width: 2560,
height: 1440,
frameRate: 30,