From dd779fafbe311de587183421d4dd0f08322bd7ef Mon Sep 17 00:00:00 2001 From: ignacionelson Date: Tue, 18 Aug 2026 16:49:27 -0300 Subject: [PATCH] Let the scheduled task names be translated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ten task names sat in a private const as bare strings — 'Purge erased accounts' and its nine siblings — so the Scheduler screen listed ten English rows in the middle of an otherwise fully translated page. Found by looking at the Spanish screen while checking the translation pass, not by any check, because nothing could have reported it: the scan only sees literals inside __(), and prose held as data under a key is invisible to it. Nine of the ten had never been translatable in any language. The tenth, 'Check for updates', looked translated purely by coincidence — a button elsewhere uses the same words, so the catalogue happened to have it. A const cannot call __(), so the map becomes a method. That is the whole change in substance. The keys are untouched and stay untouched: they are the command names, they are what the run history, the detail map, the frontend and the test asserting this list matches the schedule all match on, and they are what somebody types to run the thing by hand. Only the values were ever language. The screen still prints the command name verbatim under each translated label, which is the half a reader would copy. Co-Authored-By: Claude Opus 5 --- .../SchedulerMonitoringController.php | 42 ++++++++++++------- lang/ca.json | 11 ++++- lang/cs.json | 11 ++++- lang/de.json | 11 ++++- lang/es.json | 11 ++++- lang/fr.json | 11 ++++- lang/id.json | 11 ++++- lang/it.json | 11 ++++- lang/ja.json | 11 ++++- lang/nl.json | 11 ++++- lang/pl.json | 11 ++++- lang/pt_BR.json | 11 ++++- lang/ru.json | 11 ++++- lang/sw.json | 11 ++++- lang/tr.json | 11 ++++- lang/vi.json | 11 ++++- lang/zh_CN.json | 11 ++++- 17 files changed, 188 insertions(+), 30 deletions(-) diff --git a/app/Modules/Platform/Http/Controllers/SchedulerMonitoringController.php b/app/Modules/Platform/Http/Controllers/SchedulerMonitoringController.php index 67a0cf6a..9eccf7de 100644 --- a/app/Modules/Platform/Http/Controllers/SchedulerMonitoringController.php +++ b/app/Modules/Platform/Http/Controllers/SchedulerMonitoringController.php @@ -35,20 +35,34 @@ class SchedulerMonitoringController extends Controller * in sync with 7 already-scattered `protected $signature` values * either way. * - * @var array + * A method rather than a const because the labels are prose and a + * const cannot call __(). Held as data under a key, they were + * invisible to the translation scan — which only sees literals inside + * __() — so this screen listed ten English rows in the middle of an + * otherwise translated page, and nothing reported it as missing. + * + * The keys are the command names, and they are what everything else + * matches on: the run history, the detail map, the frontend, and the + * test asserting this list and the schedule are the same list. Only + * the values here are language. + * + * @return array */ - private const KNOWN_COMMANDS = [ - 'projectsend:purge-erasures' => 'Purge erased accounts', - 'projectsend:purge-stale-uploads' => 'Purge stale chunked uploads', - 'projectsend:purge-zip-downloads' => 'Purge zip downloads', - 'projectsend:check-for-updates' => 'Check for updates', - 'projectsend:fetch-news' => 'Fetch dashboard news', - 'projectsend:purge-expired-files' => 'Purge expired files', - 'projectsend:purge-orphan-files' => 'Purge orphan files', - 'projectsend:purge-api-request-logs' => 'Purge API request logs', - 'projectsend:purge-failed-jobs' => 'Purge failed jobs', - 'projectsend:purge-notifications' => 'Purge read notifications', - ]; + private function knownCommands(): array + { + return [ + 'projectsend:purge-erasures' => (string) __('Purge erased accounts'), + 'projectsend:purge-stale-uploads' => (string) __('Purge stale chunked uploads'), + 'projectsend:purge-zip-downloads' => (string) __('Purge zip downloads'), + 'projectsend:check-for-updates' => (string) __('Check for updates'), + 'projectsend:fetch-news' => (string) __('Fetch dashboard news'), + 'projectsend:purge-expired-files' => (string) __('Purge expired files'), + 'projectsend:purge-orphan-files' => (string) __('Purge orphan files'), + 'projectsend:purge-api-request-logs' => (string) __('Purge API request logs'), + 'projectsend:purge-failed-jobs' => (string) __('Purge failed jobs'), + 'projectsend:purge-notifications' => (string) __('Purge read notifications'), + ]; + } private const FAILED_PER_PAGE = 20; @@ -63,7 +77,7 @@ class SchedulerMonitoringController extends Controller $runs = ScheduledTaskRun::query()->get()->keyBy('command'); $details = $this->details(); - $tasks = collect(self::KNOWN_COMMANDS)->map(function (string $label, string $command) use ($runs, $details): array { + $tasks = collect($this->knownCommands())->map(function (string $label, string $command) use ($runs, $details): array { $run = $runs->get($command); return [ diff --git a/lang/ca.json b/lang/ca.json index 70386263..c6bc07c4 100644 --- a/lang/ca.json +++ b/lang/ca.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "La versió :version està disponible. Estàs fent servir la :current.", "You are up to date, running version :current.": "Estàs al dia, amb la versió :current.", "days": "dies", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help llista totes les opcions, i UPDATE.md explica tot el procediment, incloent-hi fer-ho a mà." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help llista totes les opcions, i UPDATE.md explica tot el procediment, incloent-hi fer-ho a mà.", + "Fetch dashboard news": "Obtén novetats del tauler", + "Purge API request logs": "Purga el registre de peticions d'API", + "Purge erased accounts": "Purga els comptes esborrats", + "Purge expired files": "Purga els fitxers caducats", + "Purge failed jobs": "Purga les tasques fallides", + "Purge orphan files": "Purga els fitxers orfes", + "Purge read notifications": "Purga les notificacions llegides", + "Purge stale chunked uploads": "Purga les pujades per parts abandonades", + "Purge zip downloads": "Purga les descàrregues ZIP" } diff --git a/lang/cs.json b/lang/cs.json index f70db4a7..a432ba9c 100644 --- a/lang/cs.json +++ b/lang/cs.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "Je k dispozici verze :version. Používáš :current.", "You are up to date, running version :current.": "Máš aktuální verzi :current.", "days": "dní", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help vypíše všechny volby a UPDATE.md provede celým postupem, včetně ručního." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help vypíše všechny volby a UPDATE.md provede celým postupem, včetně ručního.", + "Fetch dashboard news": "Načíst novinky na nástěnku", + "Purge API request logs": "Vyčistit protokol požadavků API", + "Purge erased accounts": "Vyčistit smazané účty", + "Purge expired files": "Vyčistit soubory s vypršelou platností", + "Purge failed jobs": "Vyčistit neúspěšné úlohy", + "Purge orphan files": "Vyčistit osiřelé soubory", + "Purge read notifications": "Vyčistit přečtená upozornění", + "Purge stale chunked uploads": "Vyčistit opuštěná dílčí nahrávání", + "Purge zip downloads": "Vyčistit stažené ZIP archivy" } diff --git a/lang/de.json b/lang/de.json index 5b9a0a35..d66fb235 100644 --- a/lang/de.json +++ b/lang/de.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "Version :version ist verfügbar. Du verwendest :current.", "You are up to date, running version :current.": "Du bist auf dem neuesten Stand, mit Version :current.", "days": "Tage", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help listet jede Option auf, und UPDATE.md führt durch das gesamte Verfahren, auch von Hand." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help listet jede Option auf, und UPDATE.md führt durch das gesamte Verfahren, auch von Hand.", + "Fetch dashboard news": "Neuigkeiten fürs Dashboard abrufen", + "Purge API request logs": "API-Anfrageprotokoll bereinigen", + "Purge erased accounts": "Gelöschte Konten bereinigen", + "Purge expired files": "Abgelaufene Dateien bereinigen", + "Purge failed jobs": "Fehlgeschlagene Aufträge bereinigen", + "Purge orphan files": "Verwaiste Dateien bereinigen", + "Purge read notifications": "Gelesene Benachrichtigungen bereinigen", + "Purge stale chunked uploads": "Abgebrochene Teil-Uploads bereinigen", + "Purge zip downloads": "ZIP-Downloads bereinigen" } diff --git a/lang/es.json b/lang/es.json index 354a4b60..d3aa0a73 100644 --- a/lang/es.json +++ b/lang/es.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "La versión :version está disponible. Estás usando la :current.", "You are up to date, running version :current.": "Estás al día, con la versión :current.", "days": "días", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help enumera todas las opciones, y UPDATE.md explica todo el procedimiento, incluido hacerlo a mano." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help enumera todas las opciones, y UPDATE.md explica todo el procedimiento, incluido hacerlo a mano.", + "Fetch dashboard news": "Obtener noticias del panel", + "Purge API request logs": "Purgar el registro de peticiones de API", + "Purge erased accounts": "Purgar cuentas borradas", + "Purge expired files": "Purgar archivos caducados", + "Purge failed jobs": "Purgar trabajos fallidos", + "Purge orphan files": "Purgar archivos huérfanos", + "Purge read notifications": "Purgar notificaciones leídas", + "Purge stale chunked uploads": "Purgar subidas por partes abandonadas", + "Purge zip downloads": "Purgar descargas ZIP" } diff --git a/lang/fr.json b/lang/fr.json index b165841c..140021ab 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "La version :version est disponible. Vous utilisez la :current.", "You are up to date, running version :current.": "Vous êtes à jour, avec la version :current.", "days": "jours", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help liste toutes les options, et UPDATE.md détaille toute la procédure, y compris à la main." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help liste toutes les options, et UPDATE.md détaille toute la procédure, y compris à la main.", + "Fetch dashboard news": "Récupérer les actualités du tableau de bord", + "Purge API request logs": "Purger le journal des requêtes API", + "Purge erased accounts": "Purger les comptes effacés", + "Purge expired files": "Purger les fichiers expirés", + "Purge failed jobs": "Purger les tâches échouées", + "Purge orphan files": "Purger les fichiers orphelins", + "Purge read notifications": "Purger les notifications lues", + "Purge stale chunked uploads": "Purger les envois par morceaux abandonnés", + "Purge zip downloads": "Purger les téléchargements ZIP" } diff --git a/lang/id.json b/lang/id.json index aa0c9f7f..966019b6 100644 --- a/lang/id.json +++ b/lang/id.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "Versi :version tersedia. Anda menggunakan :current.", "You are up to date, running version :current.": "Anda sudah menggunakan versi terbaru :current.", "days": "hari", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help menampilkan semua opsi, dan UPDATE.md menjelaskan seluruh prosedurnya, termasuk melakukannya secara manual." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help menampilkan semua opsi, dan UPDATE.md menjelaskan seluruh prosedurnya, termasuk melakukannya secara manual.", + "Fetch dashboard news": "Ambil kabar terbaru untuk dasbor", + "Purge API request logs": "Bersihkan log permintaan API", + "Purge erased accounts": "Bersihkan akun yang telah dihapus permanen", + "Purge expired files": "Bersihkan berkas kedaluwarsa", + "Purge failed jobs": "Bersihkan tugas yang gagal", + "Purge orphan files": "Bersihkan berkas yatim", + "Purge read notifications": "Bersihkan notifikasi yang sudah dibaca", + "Purge stale chunked uploads": "Bersihkan unggahan bertahap yang terbengkalai", + "Purge zip downloads": "Bersihkan unduhan ZIP" } diff --git a/lang/it.json b/lang/it.json index 3e7da1e9..70b362d8 100644 --- a/lang/it.json +++ b/lang/it.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "La versione :version è disponibile. Stai usando la :current.", "You are up to date, running version :current.": "Sei aggiornato, con la versione :current.", "days": "giorni", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help elenca tutte le opzioni, e UPDATE.md descrive l'intera procedura, compreso farla a mano." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help elenca tutte le opzioni, e UPDATE.md descrive l'intera procedura, compreso farla a mano.", + "Fetch dashboard news": "Recupera le novità della bacheca", + "Purge API request logs": "Elimina il registro delle richieste API", + "Purge erased accounts": "Elimina gli account cancellati", + "Purge expired files": "Elimina i file scaduti", + "Purge failed jobs": "Elimina le operazioni fallite", + "Purge orphan files": "Elimina i file orfani", + "Purge read notifications": "Elimina le notifiche lette", + "Purge stale chunked uploads": "Elimina i caricamenti a blocchi abbandonati", + "Purge zip downloads": "Elimina i download ZIP" } diff --git a/lang/ja.json b/lang/ja.json index 8046be8a..becd7d41 100644 --- a/lang/ja.json +++ b/lang/ja.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "バージョン :version が利用可能です。現在は :current を使用しています。", "You are up to date, running version :current.": "最新の状態です。バージョン :current を使用しています。", "days": "日", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help ですべてのオプションを確認でき、UPDATE.md では手作業を含む手順全体を説明しています。" + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help ですべてのオプションを確認でき、UPDATE.md では手作業を含む手順全体を説明しています。", + "Fetch dashboard news": "ダッシュボードのお知らせを取得", + "Purge API request logs": "API リクエストログを削除", + "Purge erased accounts": "消去済みアカウントを削除", + "Purge expired files": "期限切れファイルを削除", + "Purge failed jobs": "失敗したジョブを削除", + "Purge orphan files": "孤立ファイルを削除", + "Purge read notifications": "既読の通知を削除", + "Purge stale chunked uploads": "中断された分割アップロードを削除", + "Purge zip downloads": "ZIP ダウンロードを削除" } diff --git a/lang/nl.json b/lang/nl.json index d2618420..d5675821 100644 --- a/lang/nl.json +++ b/lang/nl.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "Versie :version is beschikbaar. Je gebruikt :current.", "You are up to date, running version :current.": "Je bent up-to-date, met versie :current.", "days": "dagen", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help toont elke optie, en UPDATE.md loopt de hele procedure door, ook handmatig." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help toont elke optie, en UPDATE.md loopt de hele procedure door, ook handmatig.", + "Fetch dashboard news": "Nieuws voor het dashboard ophalen", + "Purge API request logs": "API-aanvraaglogboek opschonen", + "Purge erased accounts": "Gewiste accounts opschonen", + "Purge expired files": "Verlopen bestanden opschonen", + "Purge failed jobs": "Mislukte taken opschonen", + "Purge orphan files": "Verweesde bestanden opschonen", + "Purge read notifications": "Gelezen meldingen opschonen", + "Purge stale chunked uploads": "Afgebroken deel-uploads opschonen", + "Purge zip downloads": "ZIP-downloads opschonen" } diff --git a/lang/pl.json b/lang/pl.json index a71ff151..69062e07 100644 --- a/lang/pl.json +++ b/lang/pl.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "Dostępna jest wersja :version. Używasz :current.", "You are up to date, running version :current.": "Masz najnowszą wersję :current.", "days": "dni", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help wypisuje wszystkie opcje, a UPDATE.md prowadzi przez całą procedurę, także ręczną." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help wypisuje wszystkie opcje, a UPDATE.md prowadzi przez całą procedurę, także ręczną.", + "Fetch dashboard news": "Pobierz aktualności na pulpit", + "Purge API request logs": "Wyczyść dziennik żądań API", + "Purge erased accounts": "Wyczyść usunięte konta", + "Purge expired files": "Wyczyść wygasłe pliki", + "Purge failed jobs": "Wyczyść nieudane zadania", + "Purge orphan files": "Wyczyść osierocone pliki", + "Purge read notifications": "Wyczyść przeczytane powiadomienia", + "Purge stale chunked uploads": "Wyczyść porzucone przesyłania częściowe", + "Purge zip downloads": "Wyczyść pobrania ZIP" } diff --git a/lang/pt_BR.json b/lang/pt_BR.json index b1e003f9..32fe32a5 100644 --- a/lang/pt_BR.json +++ b/lang/pt_BR.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "A versão :version está disponível. Você está usando a :current.", "You are up to date, running version :current.": "Você está em dia, na versão :current.", "days": "dias", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help lista todas as opções, e UPDATE.md descreve todo o procedimento, inclusive fazê-lo à mão." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help lista todas as opções, e UPDATE.md descreve todo o procedimento, inclusive fazê-lo à mão.", + "Fetch dashboard news": "Buscar novidades do painel", + "Purge API request logs": "Limpar o registro de requisições da API", + "Purge erased accounts": "Limpar contas apagadas", + "Purge expired files": "Limpar arquivos expirados", + "Purge failed jobs": "Limpar tarefas com falha", + "Purge orphan files": "Limpar arquivos órfãos", + "Purge read notifications": "Limpar notificações lidas", + "Purge stale chunked uploads": "Limpar envios em partes abandonados", + "Purge zip downloads": "Limpar downloads ZIP" } diff --git a/lang/ru.json b/lang/ru.json index 1c8f9fda..561810fa 100644 --- a/lang/ru.json +++ b/lang/ru.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "Доступна версия :version. У вас :current.", "You are up to date, running version :current.": "У вас актуальная версия :current.", "days": "дней", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help выводит все параметры, а UPDATE.md описывает всю процедуру, включая ручную." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help выводит все параметры, а UPDATE.md описывает всю процедуру, включая ручную.", + "Fetch dashboard news": "Получить новости для панели", + "Purge API request logs": "Очистить журнал запросов API", + "Purge erased accounts": "Очистить стёртые учётные записи", + "Purge expired files": "Очистить файлы с истёкшим сроком", + "Purge failed jobs": "Очистить неудавшиеся задачи", + "Purge orphan files": "Очистить осиротевшие файлы", + "Purge read notifications": "Очистить прочитанные уведомления", + "Purge stale chunked uploads": "Очистить брошенные частичные загрузки", + "Purge zip downloads": "Очистить ZIP-архивы для скачивания" } diff --git a/lang/sw.json b/lang/sw.json index 0a0db779..af4a737f 100644 --- a/lang/sw.json +++ b/lang/sw.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "Toleo :version linapatikana. Unatumia :current.", "You are up to date, running version :current.": "Uko na toleo jipya zaidi :current.", "days": "siku", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help huorodhesha kila chaguo, na UPDATE.md hupitia utaratibu mzima, ikiwemo kuufanya kwa mkono." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help huorodhesha kila chaguo, na UPDATE.md hupitia utaratibu mzima, ikiwemo kuufanya kwa mkono.", + "Fetch dashboard news": "Leta habari za dashibodi", + "Purge API request logs": "Safisha kumbukumbu za maombi ya API", + "Purge erased accounts": "Safisha akaunti zilizofutwa kabisa", + "Purge expired files": "Safisha mafaili yaliyoisha muda", + "Purge failed jobs": "Safisha kazi zilizoshindwa", + "Purge orphan files": "Safisha mafaili yatima", + "Purge read notifications": "Safisha arifa zilizosomwa", + "Purge stale chunked uploads": "Safisha upakiaji wa vipande ulioachwa", + "Purge zip downloads": "Safisha vipakuliwa vya ZIP" } diff --git a/lang/tr.json b/lang/tr.json index 5789c2e7..35e13384 100644 --- a/lang/tr.json +++ b/lang/tr.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": ":version sürümü mevcut. Sen :current sürümünü kullanıyorsun.", "You are up to date, running version :current.": "Güncelsin, :current sürümünü kullanıyorsun.", "days": "gün", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help tüm seçenekleri listeler, UPDATE.md ise elle yapmak da dahil olmak üzere tüm prosedürü anlatır." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help tüm seçenekleri listeler, UPDATE.md ise elle yapmak da dahil olmak üzere tüm prosedürü anlatır.", + "Fetch dashboard news": "Panoya haberleri getir", + "Purge API request logs": "API istek günlüğünü temizle", + "Purge erased accounts": "Silinmiş hesapları temizle", + "Purge expired files": "Süresi dolmuş dosyaları temizle", + "Purge failed jobs": "Başarısız işleri temizle", + "Purge orphan files": "Sahipsiz dosyaları temizle", + "Purge read notifications": "Okunmuş bildirimleri temizle", + "Purge stale chunked uploads": "Yarım kalmış parçalı yüklemeleri temizle", + "Purge zip downloads": "ZIP indirmelerini temizle" } diff --git a/lang/vi.json b/lang/vi.json index f62390cc..787751a9 100644 --- a/lang/vi.json +++ b/lang/vi.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "Phiên bản :version đã có. Bạn đang dùng :current.", "You are up to date, running version :current.": "Bạn đang dùng phiên bản mới nhất :current.", "days": "ngày", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help liệt kê mọi tùy chọn, còn UPDATE.md hướng dẫn toàn bộ quy trình, kể cả làm thủ công." + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help liệt kê mọi tùy chọn, còn UPDATE.md hướng dẫn toàn bộ quy trình, kể cả làm thủ công.", + "Fetch dashboard news": "Lấy tin tức cho bảng điều khiển", + "Purge API request logs": "Dọn nhật ký yêu cầu API", + "Purge erased accounts": "Dọn các tài khoản đã xóa hẳn", + "Purge expired files": "Dọn các tệp đã hết hạn", + "Purge failed jobs": "Dọn các tác vụ thất bại", + "Purge orphan files": "Dọn các tệp mồ côi", + "Purge read notifications": "Dọn các thông báo đã đọc", + "Purge stale chunked uploads": "Dọn các lần tải lên theo phần bị bỏ dở", + "Purge zip downloads": "Dọn các tệp ZIP đã tải xuống" } diff --git a/lang/zh_CN.json b/lang/zh_CN.json index f485b5c1..a4af0da7 100644 --- a/lang/zh_CN.json +++ b/lang/zh_CN.json @@ -1823,5 +1823,14 @@ "Version :version is available. You are running :current.": "版本 :version 可用。你当前使用的是 :current。", "You are up to date, running version :current.": "你已是最新版本 :current。", "days": "天", - "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help 会列出所有选项,UPDATE.md 则说明整个流程,包括手动操作。" + "sudo ./update.sh --help lists every option, and UPDATE.md walks through the whole procedure, including doing it by hand.": "sudo ./update.sh --help 会列出所有选项,UPDATE.md 则说明整个流程,包括手动操作。", + "Fetch dashboard news": "获取仪表板动态", + "Purge API request logs": "清理 API 请求日志", + "Purge erased accounts": "清理已抹除的账户", + "Purge expired files": "清理过期文件", + "Purge failed jobs": "清理失败的任务", + "Purge orphan files": "清理孤立文件", + "Purge read notifications": "清理已读通知", + "Purge stale chunked uploads": "清理中断的分块上传", + "Purge zip downloads": "清理 ZIP 下载" }