Move away from intllib in favor of MT 5.0.0

This commit is contained in:
Wuzzy 2019-03-20 13:30:28 +01:00
parent ba21f47489
commit 94b9c545da
12 changed files with 26 additions and 29 deletions

View File

@ -1 +0,0 @@
intllib?

View File

@ -1,13 +1,4 @@
local S local S = minetest.get_translator("hudbars")
if minetest.global_exists("intllib") then
if intllib.make_gettext_pair then
S = intllib.make_gettext_pair()
else
S = intllib.Getter()
end
else
S = function ( s ) return s end
end
hb = {} hb = {}

View File

@ -1,3 +0,0 @@
Health = Leben
Breath = Atem
%s: %d/%d = %s: %d/%d

4
locale/hudbars.de.tr Normal file
View File

@ -0,0 +1,4 @@
# textdomain: hudbars
Health=Leben
Breath=Atem
%s: %d/%d=%s: %d/%d

View File

@ -1,5 +1,6 @@
Health = Gezondheid # textdomain: hudbars
Breath = Adem Health=Salute
Breath=Ossigeno
# Default format string for progress bar-style HUD bars, e.g. “Health 5/20” # Default format string for progress bar-style HUD bars, e.g. “Health 5/20”
%s: %d/%d %s: %d/%d

4
locale/hudbars.ms.tr Normal file
View File

@ -0,0 +1,4 @@
# textdomain: hudbars
Health=Kesihatan
Breath=Nafas
%s: %d/%d=%s: %d/%d

View File

@ -1,5 +1,6 @@
Health = Salute # textdomain: hudbars
Breath = Ossigeno Health=Gezondheid
Breath=Adem
# Default format string for progress bar-style HUD bars, e.g. “Health 5/20” # Default format string for progress bar-style HUD bars, e.g. “Health 5/20”
%s: %d/%d %s: %d/%d

View File

@ -1,5 +1,6 @@
Health = Saude # textdomain: hudbars
Breath = Folego Health=Saude
Breath=Folego
# Formato de string padrão para progresso bar-style de barras do HUD, por exemplo “Saude 5/20” # Formato de string padrão para progresso bar-style de barras do HUD, por exemplo “Saude 5/20”
%s: %d/%d %s: %d/%d

4
locale/hudbars.tr.tr Normal file
View File

@ -0,0 +1,4 @@
# textdomain: hudbars
Health=Can
Breath=Nefes
%s: %d/%d=%s: %d/%d

View File

@ -1,3 +0,0 @@
Health = Kesihatan
Breath = Nafas
%s: %d/%d = %s: %d/%d

View File

@ -1,5 +1,6 @@
Health # textdomain: hudbars
Breath Health=
Breath=
# Default format string for progress bar-style HUD bars, e.g. “Health 5/20” # Default format string for progress bar-style HUD bars, e.g. “Health 5/20”
%s: %d/%d %s: %d/%d=

View File

@ -1,3 +0,0 @@
Health = Can
Breath = Nefes
%s: %d/%d = %s: %d/%d