Fix usage of translation api in log message

This commit is contained in:
Niklp09 2023-08-18 15:04:13 +02:00
parent 60c022efb3
commit 693eeb557a
21 changed files with 12 additions and 22 deletions

View File

@ -193,8 +193,8 @@ minetest.register_on_player_receive_fields(function(player, form_name, fields)
if (fields.title or "") ~= "" then
meta:set_string("infotext", fields.title)
end
minetest.log("action", S("@1 has written in a book (title: \"@2\"): \"@3\" at location @4",
player:get_player_name(), fields.title, fields.text, minetest.pos_to_string(player:get_pos())))
minetest.log("action", ("%s has written in a book (title: \"%s\"): \"%s\" at location %s"):format(
player:get_player_name(), fields.title, fields.text, minetest.pos_to_string(pos)))
player_current_book[player_name] = nil
return true

View File

@ -6,4 +6,3 @@ violet=violett
grey=grau
brown=braun
Writable Book (@1)=Schreibbares Buch (@1)
@1 has written in a book (title: "@2"): "@3" at location @4=@1 hat in ein Buch geschrieben (Titel: „@2”): „@3” am Ort @4

View File

@ -6,4 +6,3 @@ violet=violeta
grey=gris
brown=marrón
Writable Book (@1)=Libro (@1)
@1 has written in a book (title: "@2"): "@3" at location @4=@1 ha escrito en un libro (título: "@2"): "@3" en la ubicación @4

View File

@ -6,4 +6,3 @@ violet=violet
grey=vert
brown=marron
Writable Book (@1)=Livre inscriptible (@1)
@1 has written in a book (title: "@2"): "@3" at location @4=@1 a écrit dans un livre (titre: "@2"): "@3" à l'emplacement @4

View File

@ -6,4 +6,3 @@ violet=viola
grey=verde scuro
brown=
Writable Book (@1)=Gambe in ottone del tavolo (@1)
@1 has written in a book (title: "@2"): "@3" at location @4=

View File

@ -6,4 +6,3 @@ violet=Ungu
grey=Kelabu
brown=Perang
Writable Book (@1)=Buku Boleh Ditulis (@1)
@1 has written in a book (title: "@2"): "@3" at location @4=@1 telah menulis dalam buku (tajuk: "@2"): "@3" di lokasi @4

View File

@ -6,4 +6,3 @@ violet=violeta
grey=cinza
brown=marrom
Writable Book (@1)=Livro que pode ser escrito (@1)
@1 has written in a book (title: "@2"): "@3" at location @4=@1 escreveu um livro (título: "@2"): "@3" na localização @4

View File

@ -6,4 +6,3 @@ violet=violeta
grey=cinza
brown=marrom
Writable Book (@1)=Livro que pode ser escrito (@1)
@1 has written in a book (title: "@2"): "@3" at location @4=@1 escreveu um livro (título: "@2"): "@3" na localização @4

View File

@ -6,4 +6,3 @@ violet=
grey=
brown=
Writable Book (@1)=Записная книга (@1)
@1 has written in a book (title: "@2"): "@3" at location @4=@1 написал в книге (заголовок: "@2"): "@3" в позиции @4

View File

@ -6,4 +6,3 @@ violet=紫罗兰
grey=灰色
brown=棕色的
Writable Book (@1)=可写书(@1
@1 has written in a book (title: "@2"): "@3" at location @4=@1我在一本书中写过书名\@2\\@3\,地点@4

View File

@ -6,4 +6,3 @@ violet=
grey=
brown=
Writable Book (@1)=
@1 has written in a book (title: "@2"): "@3" at location @4=

View File

@ -3,5 +3,5 @@ Armchair=Sessel
Someone else owns the spot where the other end goes!=Jemanden gehört schon die Stelle, wo das andere Ende hingehen würde.
Someone else owns the spot where the middle or far end goes!=Jemanden gehört schon die Stelle, wo das mittlere oder ferne Stück hingehen würde.
Long Sofa=Langes Sofa
Sofa=Sofa
No room to place the sofa!=Kein Platz, um das Sofa zu platzieren!
Sofa=Sofa

View File

@ -3,5 +3,5 @@ Armchair=Sillón
Someone else owns the spot where the other end goes!=Alguien ya es dueño del lugar donde va la cabecera.
Someone else owns the spot where the middle or far end goes!=Alguien ya es dueño del lugar donde va la cabecera.
Long Sofa=Sofá largo
Sofa=Sofá
No room to place the sofa!=¡No hay lugar para colocar el sofá!
Sofa=Sofá

View File

@ -3,5 +3,5 @@ Armchair=Fauteuil
Someone else owns the spot where the other end goes!=Quelqu'un d'autre est propriétaire de l'endroit où va l'autre bout !
Someone else owns the spot where the middle or far end goes!=Quelqu'un d'autre est propriétaire de l'endroit où va le milieu ou l'autre bout !
Long Sofa=Canapé long
Sofa=Canapé
No room to place the sofa!=Pas assez de place pour poser le canapé !
Sofa=Canapé

View File

@ -3,5 +3,5 @@ Armchair=Poltrona
Someone else owns the spot where the other end goes!=
Someone else owns the spot where the middle or far end goes!=
Long Sofa=
Sofa=
No room to place the sofa!=
Sofa=

View File

@ -3,5 +3,5 @@ Armchair=Kerusi Berlengan
Someone else owns the spot where the other end goes!=Tempat untuk letak hujung objek itu kawasan kepunyaan orang lain!
Someone else owns the spot where the middle or far end goes!=Tempat untuk letak pertengahan atau hujung objek itu kawasan kepunyaan orang lain!
Long Sofa=Sofa Panjang
Sofa=Sofa
No room to place the sofa!=Tiada ruang untuk letak sofa!
Sofa=Sofa

View File

@ -3,5 +3,5 @@ Armchair=Poltrona
Someone else owns the spot where the other end goes!=Alguém já é proprietário do local onde a cabeceira vai.
Someone else owns the spot where the middle or far end goes!=Alguém já é proprietário do local onde a cabeceira vai.
Long Sofa=Sofá Grande
Sofa=Sofá
No room to place the sofa!=Sem espaço para colocar o sofá!
Sofa=Sofá

View File

@ -3,5 +3,5 @@ Armchair=Poltrona
Someone else owns the spot where the other end goes!=Alguém já é proprietário do local onde a cabeceira vai.
Someone else owns the spot where the middle or far end goes!=Alguém já é proprietário do local onde a cabeceira vai.
Long Sofa=Sofá Grande
Sofa=Sofá
No room to place the sofa!=Sem espaço para colocar o sofá!
Sofa=Sofá

View File

@ -3,5 +3,5 @@ Armchair=Кресло
Someone else owns the spot where the other end goes!=Кому-то другому принадлежит точка, где выходит другой конец!
Someone else owns the spot where the middle or far end goes!=Кому-то другому принадлежит точка, куда выходит средний или дальний конец!
Long Sofa=Длинный диван
Sofa=Диван
No room to place the sofa!=Нет места для дивана!
Sofa=Диван

View File

@ -3,5 +3,5 @@ Armchair=扶手椅
Someone else owns the spot where the other end goes!=另一端去的地方是别人的!
Someone else owns the spot where the middle or far end goes!=中间或远端去的地方是别人的!
Long Sofa=长沙发
Sofa=沙发
No room to place the sofa!=没有地方放沙发!
Sofa=沙发

View File

@ -3,5 +3,5 @@ Armchair=
Someone else owns the spot where the other end goes!=
Someone else owns the spot where the middle or far end goes!=
Long Sofa=
Sofa=
No room to place the sofa!=
Sofa=