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:
@@ -76,7 +76,7 @@
|
||||
},
|
||||
"CONFIRM": {
|
||||
"TITLE": "Confirmer la suppression",
|
||||
"MESSAGE": "Êtes-vous sûr de vouloir supprimer le webhoook ? (%{webhookURL})",
|
||||
"MESSAGE": "Êtes-vous sûr de vouloir supprimer le webhoook ? ({webhookURL})",
|
||||
"YES": "Oui, supprimer ",
|
||||
"NO": "Non, conservez-le"
|
||||
}
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"OPEN_AI": {
|
||||
"AI_ASSIST": "Assistance IA",
|
||||
"WITH_AI": " %{option} avec IA ",
|
||||
"WITH_AI": " {option} avec IA ",
|
||||
"OPTIONS": {
|
||||
"REPLY_SUGGESTION": "Suggestion de réponse",
|
||||
"SUMMARIZE": "Résumer",
|
||||
@@ -216,7 +216,7 @@
|
||||
"CONFIRM_YES": "Oui, supprimez-le",
|
||||
"CONFIRM_NO": "Non, conservez-le",
|
||||
"TITLE": "Confirmer la suppression",
|
||||
"MESSAGE": "Êtes-vous sûr de vouloir supprimer l'application - %{appName}?",
|
||||
"MESSAGE": "Êtes-vous sûr de vouloir supprimer l'application - {appName}?",
|
||||
"API_SUCCESS": "Application du tableau de bord supprimée avec succès",
|
||||
"API_ERROR": "Nous n'avons pas pu supprimer l'application. Veuillez réessayer plus tard"
|
||||
}
|
||||
@@ -235,7 +235,7 @@
|
||||
"ERROR": "There was an error fetching the linear issues, please try again",
|
||||
"LINK_SUCCESS": "Issue linked successfully",
|
||||
"LINK_ERROR": "There was an error linking the issue, please try again",
|
||||
"LINK_TITLE": "Conversation (#%{conversationId}) with %{name}"
|
||||
"LINK_TITLE": "Conversation (#{conversationId}) with {name}"
|
||||
},
|
||||
"ADD_OR_LINK": {
|
||||
"TITLE": "Create/link linear issue",
|
||||
@@ -294,7 +294,7 @@
|
||||
"PRIORITY": "Priorité",
|
||||
"ASSIGNEE": "Assignee",
|
||||
"LABELS": "Étiquettes",
|
||||
"CREATED_AT": "Created at %{createdAt}"
|
||||
"CREATED_AT": "Created at {createdAt}"
|
||||
},
|
||||
"UNLINK": {
|
||||
"TITLE": "Unlink",
|
||||
|
||||
Reference in New Issue
Block a user