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": "Aggiungi agenti al team",
|
||||
"TITLE": "Aggiungi agenti al team - %{teamName}",
|
||||
"TITLE": "Aggiungi agenti al team - {teamName}",
|
||||
"DESC": "Aggiungi agenti al tuo team appena creato. Questo ti permette di collaborare come team alle conversazioni, ricevere una notifica sui nuovi eventi nella stessa conversazione."
|
||||
},
|
||||
"WIZARD": [
|
||||
@@ -46,7 +46,7 @@
|
||||
},
|
||||
"AGENTS": {
|
||||
"BUTTON_TEXT": "Aggiorna agenti nel team",
|
||||
"TITLE": "Aggiungi agenti al team - %{teamName}",
|
||||
"TITLE": "Aggiungi agenti al team - {teamName}",
|
||||
"DESC": "Aggiungi agenti al tuo team appena creato. Tutti gli agenti aggiunti verranno avvisati quando una conversazione viene assegnata a questo team."
|
||||
},
|
||||
"WIZARD": [
|
||||
@@ -77,14 +77,14 @@
|
||||
"ADD_AGENTS": "Aggiunta di agenti al tuo team...",
|
||||
"SELECT": "seleziona",
|
||||
"SELECT_ALL": "seleziona tutti gli agenti",
|
||||
"SELECTED_COUNT": "%{selected} su %{total} agenti selezionati."
|
||||
"SELECTED_COUNT": "{selected} su {total} agenti selezionati."
|
||||
},
|
||||
"ADD": {
|
||||
"TITLE": "Aggiungi agenti al team - %{teamName}",
|
||||
"TITLE": "Aggiungi agenti al team - {teamName}",
|
||||
"DESC": "Aggiungi agenti al tuo team appena creato. Questo ti permette di collaborare come team alle conversazioni, ricevere una notifica sui nuovi eventi nella stessa conversazione.",
|
||||
"SELECT": "seleziona",
|
||||
"SELECT_ALL": "seleziona tutti gli agenti",
|
||||
"SELECTED_COUNT": "%{selected} su %{total} agenti selezionati.",
|
||||
"SELECTED_COUNT": "{selected} su {total} agenti selezionati.",
|
||||
"BUTTON_TEXT": "Aggiungi agenti",
|
||||
"AGENT_VALIDATION_ERROR": "Seleziona almeno un agente."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user