forgot to embed lang-ro

Massimo Melina committed Sep 28, 2024 at 19:00 UTC d52ab712eba0230111035eb172af0770b6e57843
3 files changed +7 -8
src/langs/embedded.ts
+2 -1
@@ -1,6 +1,7 @@
1 import it from './hfs-lang-it.json'
2 import zh from './hfs-lang-zh.json'
3 import ru from './hfs-lang-ru.json'
4 +import ro from './hfs-lang-ro.json'
5 import sr from './hfs-lang-sr.json'
6 import ko from './hfs-lang-ko.json'
7 import ms from './hfs-lang-ms.json'
@@ -19,4 +20,4 @@ import tr from './hfs-lang-tr.json'
20 import th from './hfs-lang-th.json'
21 import uk from './hfs-lang-uk.json'
22
22 -export default { it, zh, ru, sr, ko, ms, 'zh-tw': zh_tw, fr, 'pt-br': pt_br, vi, es, nl, el, de, fi, hu, ja, tr, th, uk }
\ No newline at end of file
23 +export default { it, zh, ru, sr, ko, ms, 'zh-tw': zh_tw, fr, 'pt-br': pt_br, vi, es, nl, el, de, fi, hu, ja, ro, tr, th, uk }
\ No newline at end of file
src/update.ts
+1 -1
@@ -7,7 +7,7 @@ import { spawn, spawnSync } from 'child_process'
7 import { DAY, exists, debounceAsync, httpStream, unzip, prefix, xlate, HOUR } from './misc'
8 import { createReadStream, renameSync, unlinkSync } from 'fs'
9 import { pluginsWatcher } from './plugins'
10 -import { chmod, rename, stat } from 'fs/promises'
10 +import { chmod, stat } from 'fs/promises'
11 import { Readable } from 'stream'
12 import open from 'open'
13 import { currentVersion, defineConfig, versionToScalar } from './config'
src/upload.ts
+4 -6
@@ -1,13 +1,11 @@
1 import { getNodeByName, statusCodeForMissingPerm, VfsNode } from './vfs'
2 import Koa from 'koa'
3 -import { HTTP_CONFLICT, HTTP_FOOL, HTTP_PAYLOAD_TOO_LARGE, HTTP_RANGE_NOT_SATISFIABLE, HTTP_SERVER_ERROR,
4 - HTTP_BAD_REQUEST } from './const'
3 +import {
4 + HTTP_CONFLICT, HTTP_FOOL, HTTP_PAYLOAD_TOO_LARGE, HTTP_RANGE_NOT_SATISFIABLE, HTTP_SERVER_ERROR, HTTP_BAD_REQUEST
5 +} from './const'
6 import { basename, dirname, extname, join } from 'path'
7 import fs from 'fs'
7 -import {
8 - Callback, dirTraversal, loadFileAttr, pendingPromise, storeFileAttr, try_,
9 - createStreamLimiter, isWindowsDrive, _log,
10 -} from './misc'
8 +import { Callback, dirTraversal, loadFileAttr, pendingPromise, storeFileAttr, try_, createStreamLimiter } from './misc'
9 import { notifyClient } from './frontEndApis'
10 import { defineConfig } from './config'
11 import { getDiskSpaceSync } from './util-os'