fix translation string extraction for mcl_beds

This commit is contained in:
kno10 2024-12-18 20:57:47 +01:00
parent 0e4bd9028d
commit bf0109a606
13 changed files with 27 additions and 22 deletions

View file

@ -246,11 +246,11 @@ local function update_formspecs(finished, players)
form_n = form_n .. bg_sleep form_n = form_n .. bg_sleep
form_n = form_n .. button_abort form_n = form_n .. button_abort
else else
local comment = "You will fall asleep when " local comment
if players_in_bed_setting() == 100 then if players_in_bed_setting() == 100 then
comment = S(comment .. "all players are in bed.") comment = S("You will fall asleep when all players are in bed.")
else else
comment = S(comment .. "@1% of all players are in bed.", players_in_bed_setting()) comment = S("You will fall asleep when @1% of all players are in bed.", players_in_bed_setting())
end end
text = text .. "\n" .. comment text = text .. "\n" .. comment
form_n = form_n .. bg_presleep form_n = form_n .. bg_presleep

View file

@ -15,6 +15,8 @@ Send=Senden
Players in bed: @1/@2=Spieler im Bett: @1/@2 Players in bed: @1/@2=Spieler im Bett: @1/@2
Note: Night skip is disabled.=Anmerkung: Überspringen der Nacht deaktiviert. Note: Night skip is disabled.=Anmerkung: Überspringen der Nacht deaktiviert.
You're sleeping.=Sie schlafen. You're sleeping.=Sie schlafen.
You will fall asleep when all players are in bed.=Sie werden einschlafen, wenn alle Spieler im Bett sind.
You will fall asleep when @1% of all players are in bed.=Sie werden einschlafen, wenn @1% der Spieler im Bett sind.
You're in bed.=Sie sind im Bett. You're in bed.=Sie sind im Bett.
@1/@2 players currently in bed.=@1/@2 Spieler aktuell im Bett. @1/@2 players currently in bed.=@1/@2 Spieler aktuell im Bett.
You exceeded the maximum number of messages per 10 seconds!=Sie haben die maximale Anzahl an Chatnachrichten pro 10 Sekunden überschritten! You exceeded the maximum number of messages per 10 seconds!=Sie haben die maximale Anzahl an Chatnachrichten pro 10 Sekunden überschritten!
@ -54,5 +56,3 @@ Respawn Anchor=Seelenanker
##### not used anymore ##### ##### not used anymore #####
New respawn position set! But you can only sleep at night or during a thunderstorm.=Neue Wiedereinstiegsposition gesetzt! Aber Sie können nur nachts oder während eines Gewittersturms schlafen. New respawn position set! But you can only sleep at night or during a thunderstorm.=Neue Wiedereinstiegsposition gesetzt! Aber Sie können nur nachts oder während eines Gewittersturms schlafen.
You will fall asleep when all players are in bed.=Sie werden einschlafen, wenn alle Spieler im Bett sind.
You will fall asleep when @1% of all players are in bed.=Sie werden einschlafen, wenn @1% der Spieler im Bett sind.

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2=@1 af @2 spillere er gået i seng. Players in bed: @1/@2=@1 af @2 spillere er gået i seng.
Note: Night skip is disabled.=Bemærk: Det er slået fra at springe natten over. Note: Night skip is disabled.=Bemærk: Det er slået fra at springe natten over.
You're sleeping.=Du sover. You're sleeping.=Du sover.
You will fall asleep when all players are in bed.=Du falder i søvn når alle andre spillere er gået i seng.
You will fall asleep when @1% of all players are in bed.=Du falder i søvn når @1% af alle spillere er gået i seng.
You're in bed.=Du er gået i seng. You're in bed.=Du er gået i seng.
@1/@2 players currently in bed.= @1/@2 players currently in bed.=
You exceeded the maximum number of messages per 10 seconds!= You exceeded the maximum number of messages per 10 seconds!=
@ -54,5 +56,3 @@ Respawn Anchor=Genopståelsesanker
##### not used anymore ##### ##### not used anymore #####
New respawn position set! But you can only sleep at night or during a thunderstorm.=Nyt genopståelsespunt sat! Men du kan kun sover om natten eller under et tordenvejr. New respawn position set! But you can only sleep at night or during a thunderstorm.=Nyt genopståelsespunt sat! Men du kan kun sover om natten eller under et tordenvejr.
You will fall asleep when all players are in bed.=Du falder i søvn når alle andre spillere er gået i seng.
You will fall asleep when @1% of all players are in bed.=Du falder i søvn når @1% af alle spillere er gået i seng.

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2=Jugadores en la cama: @1/@2 Players in bed: @1/@2=Jugadores en la cama: @1/@2
Note: Night skip is disabled.=Nota: El salto nocturno está deshabilitado. Note: Night skip is disabled.=Nota: El salto nocturno está deshabilitado.
You're sleeping.=Estás durmiendo. You're sleeping.=Estás durmiendo.
You will fall asleep when all players are in bed.=Te quedarás dormido cuando todos los jugadores estén en la cama.
You will fall asleep when @1% of all players are in bed.=Te quedarás dormido cuando @1% de todos los jugadores estén en la cama.
You're in bed.=Estas en la cama. You're in bed.=Estas en la cama.
@1/@2 players currently in bed.= @1/@2 players currently in bed.=
You exceeded the maximum number of messages per 10 seconds!= You exceeded the maximum number of messages per 10 seconds!=
@ -54,4 +56,3 @@ Respawn Anchor=
##### not used anymore ##### ##### not used anymore #####
New respawn position set! But you can only sleep at night or during a thunderstorm.=¡Nueva posición de reaparición establecida! Pero solo puedes dormir por la noche o durante tormentas eléctricas. New respawn position set! But you can only sleep at night or during a thunderstorm.=¡Nueva posición de reaparición establecida! Pero solo puedes dormir por la noche o durante tormentas eléctricas.
You will fall asleep when all players are in bed.=Te quedarás dormido cuando todos los jugadores estén en la cama.

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2=Joueurs au lit : @1/@2 Players in bed: @1/@2=Joueurs au lit : @1/@2
Note: Night skip is disabled.=Remarque : Le saut de nuit est désactivé. Note: Night skip is disabled.=Remarque : Le saut de nuit est désactivé.
You're sleeping.=Tu dors. You're sleeping.=Tu dors.
You will fall asleep when all players are in bed.=Vous vous endormirez lorsque tous les joueurs seront au lit.
You will fall asleep when @1% of all players are in bed.=Vous vous endormirez lorsque @1% de tous les joueurs seront au lit.
You're in bed.=Tu es au lit. You're in bed.=Tu es au lit.
@1/@2 players currently in bed.= @1/@2 players currently in bed.=
You exceeded the maximum number of messages per 10 seconds!=Vous avez dépassé le nombre maximal de message par 10 secondes ! You exceeded the maximum number of messages per 10 seconds!=Vous avez dépassé le nombre maximal de message par 10 secondes !
@ -54,6 +56,4 @@ Respawn Anchor=Ancre de réapparition
##### not used anymore ##### ##### not used anymore #####
New respawn position set! But you can only sleep at night or during a thunderstorm.=Nouvelle position de réapparition définie ! Mais vous ne pouvez dormir que la nuit ou pendant un orage. New respawn position set! But you can only sleep at night or during a thunderstorm.=Nouvelle position de réapparition définie ! Mais vous ne pouvez dormir que la nuit ou pendant un orage.
You will fall asleep when all players are in bed.=Vous vous endormirez lorsque tous les joueurs seront au lit.
You will fall asleep when @1% of all players are in bed.=Vous vous endormirez lorsque @1% de tous les joueurs seront au lit.
send!=envoyé ! send!=envoyé !

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2=就寝中のプレイヤー:@1/@2 Players in bed: @1/@2=就寝中のプレイヤー:@1/@2
Note: Night skip is disabled.=注:夜間スキップは無効です。 Note: Night skip is disabled.=注:夜間スキップは無効です。
You're sleeping.=睡眠中… You're sleeping.=睡眠中…
You will fall asleep when all players are in bed.=プレイヤー全員がベッドに入ると、眠りにつきます。
You will fall asleep when @1% of all players are in bed.=全プレイヤー(@1%)がベッドに入ると、眠りにつきます。
You're in bed.=ベッドにいます。 You're in bed.=ベッドにいます。
@1/@2 players currently in bed.= @1/@2 players currently in bed.=
You exceeded the maximum number of messages per 10 seconds!= You exceeded the maximum number of messages per 10 seconds!=
@ -55,5 +57,3 @@ Respawn Anchor=リスポーンアンカー
New respawn position set! But you can only sleep at night or during a thunderstorm.=新たなリスポーン地点を設定しました!ただし、眠れるのは夜間か雷雨のときだけです。 New respawn position set! But you can only sleep at night or during a thunderstorm.=新たなリスポーン地点を設定しました!ただし、眠れるのは夜間か雷雨のときだけです。
Leave Bed=ベッドから起きる Leave Bed=ベッドから起きる
You will fall asleep when all players are in bed.=プレイヤー全員がベッドに入ると、眠りにつきます。
You will fall asleep when @1% of all players are in bed.=全プレイヤー(@1%)がベッドに入ると、眠りにつきます。

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2=Spillere i seng: @1/@2 Players in bed: @1/@2=Spillere i seng: @1/@2
Note: Night skip is disabled.=Merk: Å sove over natten er avslått. Note: Night skip is disabled.=Merk: Å sove over natten er avslått.
You're sleeping.=Du sover You're sleeping.=Du sover
You will fall asleep when all players are in bed.=Du sovner når alle spillere er i seng.
You will fall asleep when @1% of all players are in bed.=Du sovner når @1% av alle spillere er i seng.
You're in bed.=Du er i seng. You're in bed.=Du er i seng.
@1/@2 players currently in bed.=@1/@2 spillere i seng akkurat nå. @1/@2 players currently in bed.=@1/@2 spillere i seng akkurat nå.
You exceeded the maximum number of messages per 10 seconds!=Du har overskredet maksimalt antall meldinger per 10 sekunder! You exceeded the maximum number of messages per 10 seconds!=Du har overskredet maksimalt antall meldinger per 10 sekunder!
@ -54,6 +56,4 @@ Respawn Anchor=Livsanker
##### not used anymore ##### ##### not used anymore #####
New respawn position set! But you can only sleep at night or during a thunderstorm.=Ny startposisjon satt! Men du kan bare sove om natten eller under tordenvær New respawn position set! But you can only sleep at night or during a thunderstorm.=Ny startposisjon satt! Men du kan bare sove om natten eller under tordenvær
You will fall asleep when all players are in bed.=Du sovner når alle spillere er i seng.
You will fall asleep when @1% of all players are in bed.=Du sovner når @1% av alle spillere er i seng.
send!=send! send!=send!

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2=Graczy w łóżkach: @1/@2 Players in bed: @1/@2=Graczy w łóżkach: @1/@2
Note: Night skip is disabled.=Uwaga: Pomijanie nocy wyłączone. Note: Night skip is disabled.=Uwaga: Pomijanie nocy wyłączone.
You're sleeping.=Śpisz. You're sleeping.=Śpisz.
You will fall asleep when all players are in bed.=Zaśniesz, gdy wszyscy gracze będą w łóżkach.
You will fall asleep when @1% of all players are in bed.=Zaśniesz, gdy @1% wszystkich graczy będzie w łóżkach.
You're in bed.=Jesteś w łóżku. You're in bed.=Jesteś w łóżku.
@1/@2 players currently in bed.= @1/@2 players currently in bed.=
You exceeded the maximum number of messages per 10 seconds!= You exceeded the maximum number of messages per 10 seconds!=
@ -54,4 +56,3 @@ Respawn Anchor=
##### not used anymore ##### ##### not used anymore #####
New respawn position set! But you can only sleep at night or during a thunderstorm.=Nowa pozycja do odrodzenia ustawiona! Ale możesz spać tylko podczas nocy, bądź burzy. New respawn position set! But you can only sleep at night or during a thunderstorm.=Nowa pozycja do odrodzenia ustawiona! Ale możesz spać tylko podczas nocy, bądź burzy.
You will fall asleep when all players are in bed.=Zaśniesz gdy wszyscy gracze będą w łóżkach.

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2=Jogadores na cama: @1/@2 Players in bed: @1/@2=Jogadores na cama: @1/@2
Note: Night skip is disabled.=Nota: avançar a noite está desabilitado. Note: Night skip is disabled.=Nota: avançar a noite está desabilitado.
You're sleeping.=Voce está dormindo. You're sleeping.=Voce está dormindo.
You will fall asleep when all players are in bed.=Você cairá no sono quando todos os jogadores estiverem na cama.
You will fall asleep when @1% of all players are in bed.=Você cairá no sono quando @1% de todos os jogadores estiverem na cama.
You're in bed.=Você está na cama. You're in bed.=Você está na cama.
@1/@2 players currently in bed.= @1/@2 players currently in bed.=
You exceeded the maximum number of messages per 10 seconds!= You exceeded the maximum number of messages per 10 seconds!=
@ -54,5 +56,3 @@ Respawn Anchor=Âncora de Respawn
##### not used anymore ##### ##### not used anymore #####
New respawn position set! But you can only sleep at night or during a thunderstorm.=Nova posição de respawn marcada! Mas você só pode dormir a noite ou durante uma tempestade. New respawn position set! But you can only sleep at night or during a thunderstorm.=Nova posição de respawn marcada! Mas você só pode dormir a noite ou durante uma tempestade.
You will fall asleep when all players are in bed.=Você cairá no sono quando todos os jogadores estiverem na cama.
You will fall asleep when @1% of all players are in bed.=Você cairá no sono quando @1% de todos os jogadores estiverem na cama.

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2=Игроков в кроватях: @1/@2 Players in bed: @1/@2=Игроков в кроватях: @1/@2
Note: Night skip is disabled.=Предупреждение: Пропуск ночи отключен. Note: Night skip is disabled.=Предупреждение: Пропуск ночи отключен.
You're sleeping.=Вы засыпаете... You're sleeping.=Вы засыпаете...
You will fall asleep when all players are in bed.=Вы уснёте когда все игроки лягут в кровати.
You will fall asleep when @1% of all players are in bed.=Вы уснёте когда @1% игроков лягут в кровати.
You're in bed.=Вы в кровати. You're in bed.=Вы в кровати.
@1/@2 players currently in bed.= @1/@2 players currently in bed.=
You exceeded the maximum number of messages per 10 seconds!=Вы превысили максимальный лимит сообщений в 10 секунд! You exceeded the maximum number of messages per 10 seconds!=Вы превысили максимальный лимит сообщений в 10 секунд!
@ -54,6 +56,4 @@ Respawn Anchor=Якорь возрождения
##### not used anymore ##### ##### not used anymore #####
New respawn position set! But you can only sleep at night or during a thunderstorm.=Новая точка возрождения успешно задана! Но спать вы можете только ночью или во время грозы. New respawn position set! But you can only sleep at night or during a thunderstorm.=Новая точка возрождения успешно задана! Но спать вы можете только ночью или во время грозы.
You will fall asleep when all players are in bed.=Вы уснёте когда все игроки лягут в кровати.
You will fall asleep when @1% of all players are in bed.=Вы уснёте когда @1% игроков лягут в кровати.
send!=Отправить send!=Отправить

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2=在床上的玩家:@1/@2 Players in bed: @1/@2=在床上的玩家:@1/@2
Note: Night skip is disabled.=注意:跳过夜晚功能已禁用。 Note: Night skip is disabled.=注意:跳过夜晚功能已禁用。
You're sleeping.=你正在睡觉。 You're sleeping.=你正在睡觉。
You will fall asleep when all players are in bed.=当所有玩家都在床上时你就会入睡。
You will fall asleep when @1% of all players are in bed.=当有@1%的玩家在床上时你就会入睡。
You're in bed.=你在床上。 You're in bed.=你在床上。
@1/@2 players currently in bed.=目前有@1/@2名玩家在床上。 @1/@2 players currently in bed.=目前有@1/@2名玩家在床上。
You exceeded the maximum number of messages per 10 seconds!=你超过了每10秒的最大消息数量 You exceeded the maximum number of messages per 10 seconds!=你超过了每10秒的最大消息数量
@ -54,6 +56,4 @@ Respawn Anchor=重生锚
##### not used anymore ##### ##### not used anymore #####
New respawn position set! But you can only sleep at night or during a thunderstorm.=新的重生位置已设定!但你只能在夜晚或雷暴天气时睡觉。 New respawn position set! But you can only sleep at night or during a thunderstorm.=新的重生位置已设定!但你只能在夜晚或雷暴天气时睡觉。
You will fall asleep when all players are in bed.=当所有玩家都在床上时你就会入睡。
You will fall asleep when @1% of all players are in bed.=当有@1%的玩家在床上时你就会入睡。
send!=发送! send!=发送!

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2=@2位玩家中的@1位在床上 Players in bed: @1/@2=@2位玩家中的@1位在床上
Note: Night skip is disabled.=注意:睡覺以跳過夜晚被停用 Note: Night skip is disabled.=注意:睡覺以跳過夜晚被停用
You're sleeping.=你睡着了。 You're sleeping.=你睡着了。
You will fall asleep when all players are in bed.=你會在所有玩家在床上時睡着
You will fall asleep when @1% of all players are in bed.=
You're in bed.=你在床上。 You're in bed.=你在床上。
@1/@2 players currently in bed.= @1/@2 players currently in bed.=
You exceeded the maximum number of messages per 10 seconds!= You exceeded the maximum number of messages per 10 seconds!=
@ -54,4 +56,3 @@ Respawn Anchor=
##### not used anymore ##### ##### not used anymore #####
New respawn position set! But you can only sleep at night or during a thunderstorm.=你設定了重生點,但你只能在晚上或雷雨時才能睡覺。 New respawn position set! But you can only sleep at night or during a thunderstorm.=你設定了重生點,但你只能在晚上或雷雨時才能睡覺。
You will fall asleep when all players are in bed.=你會在所有玩家在床上時睡着

View file

@ -15,6 +15,8 @@ Send=
Players in bed: @1/@2= Players in bed: @1/@2=
Note: Night skip is disabled.= Note: Night skip is disabled.=
You're sleeping.= You're sleeping.=
You will fall asleep when all players are in bed.=
You will fall asleep when @1% of all players are in bed.=
You're in bed.= You're in bed.=
@1/@2 players currently in bed.= @1/@2 players currently in bed.=
You exceeded the maximum number of messages per 10 seconds!= You exceeded the maximum number of messages per 10 seconds!=