I'm debating if this:
Permite aos usuários inserir tempo ou intervalo de tempo
or:
Permite usuários inserirem um horário ou intervalo de tempo
Any advice?
Portuguese Language Stack Exchange is a question and answer site for linguists, teachers and learners wanting to discuss the finer points of the Portuguese language. It only takes a minute to sign up.
Sign up to join this communityI'm debating if this:
Permite aos usuários inserir tempo ou intervalo de tempo
or:
Permite usuários inserirem um horário ou intervalo de tempo
Any advice?
Permitir, with this meaning, is a ditransitive verb (permitir algo a alguém). The direct object is the thing or action to be allowed, and the indirect object is the individual to get the permission.
The noun clause verb ("inserir") has an impersonal subject and, as such, does not agree with the direct object number ("usuários").
If "time" points to a specific time on the clock, it's better conveyed as "horário".
Adding it all up:
Permitir aos usuários inserir um horário ou intervalo de tempo.
Permitir, com este significado, é um verbo transitivo direto e indireto (permitir algo a alguém). O objeto direto é a coisa ou ação a ser permitida, e o objeto indireto é o indivíduo a receber a permissão.
O verbo da oração subordinada substantiva ("inserir") não concorda com o número do objeto direto ("aos usuários"), porque o sujeito dele é impessoal.
Se "time" representa um horário específico, fica melhor traduzido como "horário" mesmo.
Combinando tudo:
Permitir aos usuários inserir um horário ou intervalo de tempo.
The word you need is hora:
Permite aos usuários inserir uma hora ou intervalo de tempo.
One meaning of hora (Michaelis 4,5) is ‘exact time or moment’, as in o jogo começou à hora prevista. In questions we tend to use the plural―as in a que horas começa o jogo?―but the meaning is the same. Horário (Michaelis) means ‘timetable’.
Here’s an example form GitHub (2016) where hora and intervalo de tempo are used in the sense you mean (emphasis mine):
Quando solicitado, selecione s para pesquisar pelo evento INICIAR. Você será solicitado a inserir uma hora de início e encerramento para definir um intervalo de tempo; apenas os eventos entre essas duas horas serão retornados.
Use o seguinte formato ao inserir as horas de início e encerramento: HH:MM e “am” ou “pm”. Por exemplo, 11:20pm.
You can also say faixa instead of intervalo. And in fact, because horário (Michaelis) is also an adjective related to hora, you could say intervalo horário instead of intervalo de tempo. Both are fine. Intervalo de tempo is probably more common, but intervalo horário looks good in your example, coming right after hora:
Permite aos usuários inserir uma hora ou intervalo horário.
Permite aos usuários inserir uma hora ou faixa horária.