1 parent
1c96d5973b
commit
e80dbc2fda
38 files changed
+1352
-6335
No files matched your search
@@ -5,11 +5,8 @@
|
||||
// - orphaned: present in ru.ts but never used as a literal key
|
||||
//
|
||||
// Dynamic keys can't be found by this scan and must be checked by hand:
|
||||
// - watch.ts state strings rendered via t(w.playerEmpty)
|
||||
// - SHORTCUTS labels (lib/shortcuts.ts) rendered via t(sc.label)
|
||||
// - HEADS view titles/subtitles (App.tsx) rendered via t(title)/t(sub)
|
||||
// - server-sent watch.denied reasons (grep sendDenied in
|
||||
// EchoionWeb/src/WatchSession.cpp) rendered via t(msg.reason)
|
||||
// Orphans reported here may be one of those dynamic keys — the KNOWN_DYNAMIC
|
||||
// list below suppresses the ones we know about.
|
||||
//
|
||||
@@ -25,17 +22,6 @@ const ruFile = join(srcDir, 'i18n', 'ru.ts');
|
||||
|
||||
// Keys reached through variables (see header); keep in sync by hand.
|
||||
const KNOWN_DYNAMIC = new Set([
|
||||
// watch.ts playerEmpty / state strings
|
||||
'Nothing loaded — paste a URL above',
|
||||
'Twitch embeds require HTTPS — open the site via its https:// domain',
|
||||
// server-sent watch.denied reasons (grep sendDenied in WatchSession.cpp)
|
||||
'Sign in to control playback',
|
||||
'Only the host controls playback',
|
||||
'Watch queue is full',
|
||||
'Watch queue is empty',
|
||||
'Live stream — cannot seek',
|
||||
'That viewer is no longer here',
|
||||
'Only signed-in viewers can host',
|
||||
// connection state rendered via t(s.connection) in Sidebar.tsx
|
||||
'connected',
|
||||
'disconnected',
|
||||
@@ -48,8 +34,8 @@ const KNOWN_DYNAMIC = new Set([
|
||||
'Focus search',
|
||||
'This help',
|
||||
// HEADS view titles/subtitles (App.tsx)
|
||||
'Now Playing',
|
||||
'What Echoion is streaming to the channel',
|
||||
'Dashboard',
|
||||
'Live playback and TeamSpeak server activity',
|
||||
'Queue',
|
||||
'Reorder and manage upcoming tracks',
|
||||
'Search',
|
||||
@@ -58,8 +44,6 @@ const KNOWN_DYNAMIC = new Set([
|
||||
'Your favorites and saved playlists',
|
||||
'History & Stats',
|
||||
'Playback history and server insights',
|
||||
'Watch Together',
|
||||
'Synced viewing room — everyone in step',
|
||||
'Server & Admin',
|
||||
'Manage subscribers and broadcast',
|
||||
'RPC / API',
|
||||
|
||||
Reference in new issue
Block a user