From ad0c83c4be45c4a408671d4ea7413176e7d59b44 Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Thu, 26 Jan 2023 21:12:43 +1100 Subject: [PATCH] home and account page improved translations --- locales/en.json | 4 +++- locales/pt.json | 6 ++++-- views/pages/account.pug | 2 +- views/pages/home.pug | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/locales/en.json b/locales/en.json index dc9b9ca4..6d76bae7 100644 --- a/locales/en.json +++ b/locales/en.json @@ -265,6 +265,7 @@ "loading": "loading", "Loading replay…": "Loading replay…", "Local First": "Local First", + "Local Stats": "Local Stats", "Locked": "Locked", "Log Message": "Log Message", "Log out": "Log out", @@ -448,6 +449,7 @@ "View": "View", "Watch": "Watch", "Webring": "Webring", + "Webring Stats": "Webring Stats", "Welcome": "Welcome", "Welcome, %s": "Welcome, %s", "Wide": "Wide", @@ -457,4 +459,4 @@ "You own": "You own", "Your upload was too large": "Your upload was too large", "Zoom": "Zoom" -} +} \ No newline at end of file diff --git a/locales/pt.json b/locales/pt.json index bd6f81a2..45e4f0ed 100644 --- a/locales/pt.json +++ b/locales/pt.json @@ -282,7 +282,7 @@ "Hide Username": "Esconder Username", "Hide Username In Modlog": "Esconder Username", "Home": "Início", - "Hot Thread (%s)": "Hot Thread (%s)", + "Hot Thread (%s)": "Quente (%s)", "Hover to view": "Hover to view", "I'm sure": "Tenho a certeza", "ID": "ID", @@ -311,6 +311,7 @@ "loading": "loading", "Loading replay…": "A carregar repetição...", "Local First": "Locais Primeiro", + "Local Stats": "Informações", "Locked": "Locked", "Log Message": "Mensagem Log", "Log out": "Log out", @@ -517,7 +518,8 @@ "View Raw IPs": "View Raw IPs", "Watch": "+Favorito", "Webring": "Webring", - "Welcome": "Welcome", + "Webring Stats": "Informações Webring", + "Welcome": "Sobre", "Welcome, %s": "Bem-vindo, %s", "Wide": "Longo", "Wide Range": "Range Longo", diff --git a/views/pages/account.pug b/views/pages/account.pug index 27e8460f..1d839cc9 100644 --- a/views/pages/account.pug +++ b/views/pages/account.pug @@ -5,7 +5,7 @@ block head block content .board-header - h1.board-title #{__(`Welcome %s`, user.username)} + h1.board-title #{__(`Welcome, %s`, user.username)} br hr(size=1) h4.no-m-p #{__('General')}: diff --git a/views/pages/home.pug b/views/pages/home.pug index c365d73f..8115746b 100644 --- a/views/pages/home.pug +++ b/views/pages/home.pug @@ -77,7 +77,7 @@ block content tr td pre.no-m-p - | #{__('There are currently %s public boards, %s in total. Sitewide, %s posts have been made in the last day, %s in the last hour, %s in total.', localStats.total-localStats.unlisted, localStats.total, localStats.ppd, localStats.pph)} + | #{__('There are currently %s public boards, %s in total. Sitewide, %s posts have been made in the last day, %s in the last hour, %s in total.', localStats.total-localStats.unlisted, localStats.total, localStats.ppd, localStats.pph, localStats.posts)} | #{__('%s files are being served, totaling %s.', fileStats.count, fileStats.totalSizeString)} if enableWebring === true && webringStats != null .table-container.flex-center.mv-10.text-center