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": "Không có",
"INPUT_PLACEHOLDER": "Select priority",
"NO_RESULTS": "Không tìm thấy kết quả",
"SUCCESSFUL": "Changed priority of conversation id %{conversationId} to %{priority}",
"SUCCESSFUL": "Changed priority of conversation id {conversationId} to {priority}",
"FAILED": "Couldn't change priority. Please try again."
}
},
@@ -122,15 +122,15 @@
"ASSIGN_TEAM": "Gán nhóm",
"API": {
"AGENT_ASSIGNMENT": {
"SUCCESFUL": "Id hội thoại %{conversationId} được gán cho \"%{agentName}\"",
"SUCCESFUL": "Id hội thoại {conversationId} được gán cho \"{agentName}\"",
"FAILED": "Không thể gán điện thoại viên. Vui lòng thử lại."
},
"LABEL_ASSIGNMENT": {
"SUCCESFUL": "Đã gán nhãn #%{labelName} cho id hội thoại %{conversationId}",
"SUCCESFUL": "Đã gán nhãn #{labelName} cho id hội thoại {conversationId}",
"FAILED": "Không thể gán nhãn. Vui lòng thử lại."
},
"TEAM_ASSIGNMENT": {
"SUCCESFUL": "Đã gán nhóm \"%{team}\" cho hội thoại id %{conversationId}",
"SUCCESFUL": "Đã gán nhóm \"{team}\" cho hội thoại id {conversationId}",
"FAILED": "Không thể gán nhóm. Vui lòng thử lại."
}
}
@@ -239,11 +239,11 @@
}
},
"ONBOARDING": {
"TITLE": "Xin chào 👋, Chào mừng đến với %{installationName}!",
"DESCRIPTION": "Cảm ơn bạn đã đăng ký. Chúng tôi muốn bạn khai thác tối đa %{installationName}. Dưới đây là một số điều bạn có thể làm trong %{installationName} để mang lại trải nghiệm thú vị.",
"GREETING_MORNING": "👋 Good morning, %{name}. Welcome to %{installationName}.",
"GREETING_AFTERNOON": "👋 Good afternoon, %{name}. Welcome to %{installationName}.",
"GREETING_EVENING": "👋 Good evening, %{name}. Welcome to %{installationName}.",
"TITLE": "Xin chào 👋, Chào mừng đến với {installationName}!",
"DESCRIPTION": "Cảm ơn bạn đã đăng ký. Chúng tôi muốn bạn khai thác tối đa {installationName}. Dưới đây là một số điều bạn có thể làm trong {installationName} để mang lại trải nghiệm thú vị.",
"GREETING_MORNING": "👋 Good morning, {name}. Welcome to {installationName}.",
"GREETING_AFTERNOON": "👋 Good afternoon, {name}. Welcome to {installationName}.",
"GREETING_EVENING": "👋 Good evening, {name}. Welcome to {installationName}.",
"READ_LATEST_UPDATES": "Đọc cập nhật mới nhất của chúng tôi",
"ALL_CONVERSATION": {
"TITLE": "Tất cả hội thoại của bạn ở cùng một chỗ",
@@ -317,10 +317,10 @@
"SIDEBAR_TITLE": "Conversation participants",
"NO_RECORDS_FOUND": "Không tìm thấy kết quả",
"ADD_PARTICIPANTS": "Select participants",
"REMANING_PARTICIPANTS_TEXT": "+%{count} others",
"REMANING_PARTICIPANT_TEXT": "+%{count} other",
"TOTAL_PARTICIPANTS_TEXT": "%{count} people are participating.",
"TOTAL_PARTICIPANT_TEXT": "%{count} person is participating.",
"REMANING_PARTICIPANTS_TEXT": "+{count} others",
"REMANING_PARTICIPANT_TEXT": "+{count} other",
"TOTAL_PARTICIPANTS_TEXT": "{count} people are participating.",
"TOTAL_PARTICIPANT_TEXT": "{count} person is participating.",
"NO_PARTICIPANTS_TEXT": "No one is participating!.",
"WATCH_CONVERSATION": "Join conversation",
"YOU_ARE_WATCHING": "You are participating",