1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Gettext and plural support for client-side translations (#14726)

---------

Co-authored-by: Ekdohibs <nathanael.courant@laposte.net>
Co-authored-by: y5nw <y5nw@protonmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
This commit is contained in:
y5nw
2024-10-13 11:29:08 +02:00
committed by GitHub
parent dbbe0ca065
commit e3aa79cffb
28 changed files with 1360 additions and 74 deletions

View File

@@ -118,7 +118,7 @@ local function get_formspec(tabview, name, tabdata)
local title_and_name
if selected_pkg.type == "game" then
title_and_name = selected_pkg.name
title_and_name = selected_pkg.title or selected_pkg.name
else
title_and_name = (selected_pkg.title or selected_pkg.name) .. "\n" ..
core.colorize("#BFBFBF", selected_pkg.name)