Skip to content

Commit bae9d4b

Browse files
committed
Minor locales fix
1 parent e01ed5f commit bae9d4b

5 files changed

Lines changed: 17 additions & 6 deletions

File tree

build/server.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

res/css/des.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,15 @@ textarea {
120120
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
121121
}
122122

123+
code {
124+
background: var(--background-chat);
125+
border: solid var(--border) 1px;
126+
border-radius: .5rem;
127+
padding: .25rem;
128+
word-break: break-all;
129+
display: inline-flex;
130+
}
131+
123132
input[type="text"]:focus,
124133
input[type="password"]:focus,
125134
button:focus,

res/langs/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"hintListRequestLeaderMouse": "(also use right mouse button for quick pause)",
1212
"hintListRequestLeaderTouch": "(also use long tap for quick pause)",
1313
"hintListOpenInApp": "$openInApp this server for better Android experience",
14-
"hintListHide": "$hideThisMessage and send <b>/help</b> in chat to see it again",
14+
"hintListHide": "$hideThisMessage and send <code>/help</code> in chat to see it again",
1515
"addVideos": "Add Videos",
1616
"requestLeader": "Request Leader",
1717
"openInApp": "Open in App",
@@ -61,7 +61,7 @@
6161
"leaderDesc": "Request video control permissions",
6262
"mobileViewBtn": "Mobile View",
6363
"leader": "Leader",
64-
"enterAsGuest": "Enter As Guest",
64+
"enterAsGuest": "Enter As Guest:",
6565
"yourName": "Your Name",
6666
"enterUserPassword": "Enter User Password",
6767
"yourPassword": "Your Password",

res/langs/ru.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"hintListRequestLeaderMouse": "(кстати, правая кнопка мыши сразу сделает паузу)",
1212
"hintListRequestLeaderTouch": "(кстати, удерживайте кнопку для быстрой паузы)",
1313
"hintListOpenInApp": "$openInApp этот сервер для лучшего опыта на Android",
14-
"hintListHide": "$hideThisMessage и отправлять <b>`/help`</b> в чат чтобы прочесть его снова",
14+
"hintListHide": "$hideThisMessage и отправлять <code>/help</code> в чат чтобы прочесть его снова",
1515
"addVideos": "Добавлять видео",
1616
"requestLeader": "Запрашивать лидера",
1717
"openInApp": "Открыть в приложении",
@@ -86,7 +86,7 @@
8686
"fullscreenPlayer": "Полноэкранный режим видео",
8787
"retrievePlaylistLinks": "Получить ссылки на видео из плейлиста",
8888
"voteForSkip": "Голосовать за пропуск",
89-
"addAsTemporary": "Добавить как временный",
89+
"addAsTemporary": "Добавить как временное",
9090
"cacheOnServer": "Закэшировать на сервере",
9191
"mediaUrl": "Ссылка на видео",
9292
"optionalTitle": "Заголовок (опционально)",

src/server/cache/YoutubeCache.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ class YoutubeCache {
141141
remuxVideo: "mp4",
142142
cookies: useCookies ? getCookiesPathOrNull() : null,
143143
forceIpv4: true,
144+
socketTimeout: 2,
145+
extractorRetries: 0,
144146
onProgress: p -> {
145147
final isFinished = p.status == "finished";
146148
var ratio = if (isFinished) {

0 commit comments

Comments
 (0)