Модуль:Prototypes/Роль/Лодаут: различия между версиями

мНет описания правки
мНет описания правки
 
Строка 41: Строка 41:
                                 local req = eff.requirement
                                 local req = eff.requirement
                                 if req["!type"] == "DepartmentTimeRequirement" and req.department and req.time then
                                 if req["!type"] == "DepartmentTimeRequirement" and req.department and req.time then
                                     extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Ftl|main|translation|department-" .. req.department .. "}}}}</b>: {{#invoke:Code/Формат/Время|main|seconds|" .. req.time .. "}}<br>"
                                     extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Loc|GetString|department-" .. req.department .. "}}}}</b>: {{#invoke:Code/Формат/Время|main|seconds|" .. req.time .. "}}<br>"
                                 elseif req["!type"] == "RoleTimeRequirement" and req.role and req.time then
                                 elseif req["!type"] == "RoleTimeRequirement" and req.role and req.time then
                                     extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Ftl|main|translation|" .. req.role .. "}}}}</b>: {{#invoke:Code/Формат/Время|main|seconds|" .. req.time .. "}}<br>"
                                     extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Loc|GetString|" .. req.role .. "}}}}</b>: {{#invoke:Code/Формат/Время|main|seconds|" .. req.time .. "}}<br>"
                                 end
                                 end
                             end
                             end