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:
@@ -17,7 +17,7 @@
|
||||
},
|
||||
"AGENTS": {
|
||||
"BUTTON_TEXT": "Afegir agents a l'equip",
|
||||
"TITLE": "Afegeix agents a l'equip - %{teamName}",
|
||||
"TITLE": "Afegeix agents a l'equip - {teamName}",
|
||||
"DESC": "Afegeix agents al teu equip acabat de crear. Això et permet col·laborar com a equip en converses, rebre notificacions sobre esdeveniments nous a la mateixa conversa."
|
||||
},
|
||||
"WIZARD": [
|
||||
@@ -46,7 +46,7 @@
|
||||
},
|
||||
"AGENTS": {
|
||||
"BUTTON_TEXT": "Actualitza els agents de l'equip",
|
||||
"TITLE": "Afegeix agents a l'equip - %{teamName}",
|
||||
"TITLE": "Afegeix agents a l'equip - {teamName}",
|
||||
"DESC": "Afegeix agents al teu equip acabat de crear. Tots els agents afegits rebran una notificació quan s'assigni una conversa a aquest equip."
|
||||
},
|
||||
"WIZARD": [
|
||||
@@ -77,14 +77,14 @@
|
||||
"ADD_AGENTS": "S'estan afegint agents al teu equip...",
|
||||
"SELECT": "selecciona",
|
||||
"SELECT_ALL": "selecciona tots els agents",
|
||||
"SELECTED_COUNT": "%{selected} de %{total} agents seleccionats."
|
||||
"SELECTED_COUNT": "{selected} de {total} agents seleccionats."
|
||||
},
|
||||
"ADD": {
|
||||
"TITLE": "Afegeix agents a l'equip - %{teamName}",
|
||||
"TITLE": "Afegeix agents a l'equip - {teamName}",
|
||||
"DESC": "Afegeix agents al teu equip acabat de crear. Això et permet col·laborar com a equip en converses, rebre notificacions sobre esdeveniments nous a la mateixa conversa.",
|
||||
"SELECT": "selecciona",
|
||||
"SELECT_ALL": "selecciona tots els agents",
|
||||
"SELECTED_COUNT": "%{selected} de %{total} agents seleccionats.",
|
||||
"SELECTED_COUNT": "{selected} de {total} agents seleccionats.",
|
||||
"BUTTON_TEXT": "Afegir agents",
|
||||
"AGENT_VALIDATION_ERROR": "Selecciona almenys un agent."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user