chore: update interpolation syntax for i18n files (#10198)

There were two warnings showing up on new teams page

1. `errorMessage` prop was getting invalid value, this was because were
short circuting the error message using `&&`, fixed it by using ternary
operator
2. `vue-i18n` has deprecated [rails
syntax](https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format),
fixed that warning by removing `%` before `{}` for interpolation

> Note: the `vue-i18n` deprecation needs to be handled, but we can do it
later
This commit is contained in:
Shivam Mishra
2024-10-07 23:42:40 +05:30
committed by GitHub
parent 97d4ce65c4
commit a8c12ffb25
780 changed files with 4396 additions and 4649 deletions

View File

@@ -101,7 +101,7 @@
"SELECT_PLACEHOLDER": "Nenhuma",
"INPUT_PLACEHOLDER": "Selecione a prioridade",
"NO_RESULTS": "Nenhum resultado encontrado",
"SUCCESSFUL": "Alterar a prioridade da conversa com o id %{conversationId} para %{priority}",
"SUCCESSFUL": "Alterar a prioridade da conversa com o id {conversationId} para {priority}",
"FAILED": "Não foi possível alterar a prioridade, por favor, tente novamente."
}
},
@@ -122,15 +122,15 @@
"ASSIGN_TEAM": "Atribuir equipa",
"API": {
"AGENT_ASSIGNMENT": {
"SUCCESFUL": "Conversa com ID %{conversationId} atribuída a \"%{agentName}\"",
"SUCCESFUL": "Conversa com ID {conversationId} atribuída a \"{agentName}\"",
"FAILED": "Não foi possível atribuir agente. Por favor, tente novamente."
},
"LABEL_ASSIGNMENT": {
"SUCCESFUL": "Etiqueta #%{labelName} atribuída a conversa de ID %{conversationId}",
"SUCCESFUL": "Etiqueta #{labelName} atribuída a conversa de ID {conversationId}",
"FAILED": "Não foi possível atribuir etiqueta. Por favor, tente novamente."
},
"TEAM_ASSIGNMENT": {
"SUCCESFUL": "Equipa \"%{team}\" atribuída a conversa de ID %{conversationId}",
"SUCCESFUL": "Equipa \"{team}\" atribuída a conversa de ID {conversationId}",
"FAILED": "Não foi possível atribuir equipa. Por favor, tente novamente."
}
}
@@ -239,11 +239,11 @@
}
},
"ONBOARDING": {
"TITLE": "Olá 👋. Bem-vindo ao %{installationName}!",
"DESCRIPTION": "Obrigado por se registar. Queremos que aproveite ao máximo o sistema %{installationName}. Aqui estão algumas coisas que pode fazer no %{installationName} para tornar a sua experiência ainda mais agradável.",
"GREETING_MORNING": "👋 Bom dia, %{name}. Bem-vindo ao %{installationName}.",
"GREETING_AFTERNOON": "👋 Boa tarde, %{name}. Bem-vindo ao %{installationName}.",
"GREETING_EVENING": "👋 Boa noite, %{name}. Bem-vindo ao %{installationName}.",
"TITLE": "Olá 👋. Bem-vindo ao {installationName}!",
"DESCRIPTION": "Obrigado por se registar. Queremos que aproveite ao máximo o sistema {installationName}. Aqui estão algumas coisas que pode fazer no {installationName} para tornar a sua experiência ainda mais agradável.",
"GREETING_MORNING": "👋 Bom dia, {name}. Bem-vindo ao {installationName}.",
"GREETING_AFTERNOON": "👋 Boa tarde, {name}. Bem-vindo ao {installationName}.",
"GREETING_EVENING": "👋 Boa noite, {name}. Bem-vindo ao {installationName}.",
"READ_LATEST_UPDATES": "Ler as últimas atualizações",
"ALL_CONVERSATION": {
"TITLE": "Todas as suas conversas num único lugar",
@@ -317,10 +317,10 @@
"SIDEBAR_TITLE": "Participantes da conversa",
"NO_RECORDS_FOUND": "Nenhum resultado encontrado",
"ADD_PARTICIPANTS": "Selecionar participantes",
"REMANING_PARTICIPANTS_TEXT": "+%{count} outros",
"REMANING_PARTICIPANT_TEXT": "+%{count} outro",
"TOTAL_PARTICIPANTS_TEXT": "%{count} pessoas estão a participar.",
"TOTAL_PARTICIPANT_TEXT": "%{count} pessoa está a participar.",
"REMANING_PARTICIPANTS_TEXT": "+{count} outros",
"REMANING_PARTICIPANT_TEXT": "+{count} outro",
"TOTAL_PARTICIPANTS_TEXT": "{count} pessoas estão a participar.",
"TOTAL_PARTICIPANT_TEXT": "{count} pessoa está a participar.",
"NO_PARTICIPANTS_TEXT": "Ninguém está a participar!",
"WATCH_CONVERSATION": "Junte-se à conversa",
"YOU_ARE_WATCHING": "Está a participar",