Don't translate IRC announcements and messages. This doesn't work.
This commit is contained in:
parent
bf4724938a
commit
c2e278898d
@ -840,8 +840,8 @@ function callback.boxes_create(player, fields, context)
|
||||
local id = context.box.id
|
||||
if is_admin or (box_get_status(id) == db.STATUS_EDITING and is_builder(id)) then
|
||||
minetest.chat_send_player(name, S("Submitting box @1", tostring(id)))
|
||||
announce.all(S("@1 submits box @2", name, tostring(id)))
|
||||
announce.admins("@1 submits box @2", name, tostring(id))
|
||||
announce.all(name .. " submits box " .. tostring(id))
|
||||
announce.admins(name .. " submits box " .. tostring(id))
|
||||
box_set_status(id, db.STATUS_SUBMITTED)
|
||||
end
|
||||
return true
|
||||
@ -849,8 +849,8 @@ function callback.boxes_create(player, fields, context)
|
||||
local id = context.box.id
|
||||
if is_admin and box_get_status(id) == db.STATUS_SUBMITTED then
|
||||
minetest.chat_send_player(name, S("Accepting box @1" .. tostring(id)))
|
||||
announce.all(S("@1 accepts box @2!", name, tostring(id)))
|
||||
announce.admins(S("@1 accepts box @2!", name, tostring(id)))
|
||||
announce.all(name .. " accepts box " .. tostring(id) .. "!")
|
||||
announce.admins(name .. " accepts box " .. tostring(id) .. "!")
|
||||
box_set_status(id, db.STATUS_ACCEPTED)
|
||||
-- grant perks to box builder
|
||||
grant_perks(context.box.id, context.boxes)
|
||||
@ -860,8 +860,8 @@ function callback.boxes_create(player, fields, context)
|
||||
local id = context.box.id
|
||||
if is_builder(id) and box_get_status(id) == db.STATUS_SUBMITTED then
|
||||
minetest.chat_send_player(name, S("Retracted box @1", tostring(id)))
|
||||
announce.all(S("@1 retracts box @2", name, tostring(id)))
|
||||
announce.admins(S("@1 retracts box @2", name, tostring(id)))
|
||||
announce.all(name .. " retracts box " .. tostring(id))
|
||||
announce.admins(name .. " retracts box " .. tostring(id))
|
||||
box_set_status(id, db.STATUS_EDITING)
|
||||
end
|
||||
return true
|
||||
@ -869,8 +869,8 @@ function callback.boxes_create(player, fields, context)
|
||||
local id = context.box.id
|
||||
if is_admin and box_get_status(id) == db.STATUS_SUBMITTED then
|
||||
minetest.chat_send_player(name, S("Rejecting box @1", tostring(id)))
|
||||
announce.all(S("@1 rejects box @2", name, tostring(id)))
|
||||
announce.admins(S("@1 rejects box @2", name, tostring(id)))
|
||||
announce.all(name .. " rejects box " .. tostring(id))
|
||||
announce.admins(name .. " rejects box " .. tostring(id))
|
||||
box_set_status(id, db.STATUS_EDITING)
|
||||
end
|
||||
return true
|
||||
|
Loading…
x
Reference in New Issue
Block a user