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
118 lines
3.8 KiB
JSON
118 lines
3.8 KiB
JSON
{
|
||
"ATTRIBUTES_MGMT": {
|
||
"HEADER": "自訂屬性",
|
||
"HEADER_BTN_TXT": "新增自訂屬性",
|
||
"LOADING": "正在取得自訂屬性",
|
||
"DESCRIPTION": "A custom attribute tracks additional details about your contacts or conversations—such as the subscription plan or the date of their first purchase. You can add different types of custom attributes, such as text, lists, or numbers, to capture the specific information you need.",
|
||
"LEARN_MORE": "Learn more about custom attributes",
|
||
"ADD": {
|
||
"TITLE": "新增自訂屬性",
|
||
"SUBMIT": "建立",
|
||
"CANCEL_BUTTON_TEXT": "取消",
|
||
"FORM": {
|
||
"NAME": {
|
||
"LABEL": "顯示名稱",
|
||
"PLACEHOLDER": "Enter custom attribute display name",
|
||
"ERROR": "名稱為必填"
|
||
},
|
||
"DESC": {
|
||
"LABEL": "描述資訊",
|
||
"PLACEHOLDER": "Enter custom attribute description",
|
||
"ERROR": "描述為必填"
|
||
},
|
||
"MODEL": {
|
||
"LABEL": "Applies to",
|
||
"PLACEHOLDER": "請選擇其中一個",
|
||
"ERROR": "Model is required"
|
||
},
|
||
"TYPE": {
|
||
"LABEL": "類別",
|
||
"PLACEHOLDER": "請選擇一個類別",
|
||
"ERROR": "類別為必填",
|
||
"LIST": {
|
||
"LABEL": "List Values",
|
||
"PLACEHOLDER": "Please enter value and press enter key",
|
||
"ERROR": "Must have at least one value"
|
||
}
|
||
},
|
||
"KEY": {
|
||
"LABEL": "Key",
|
||
"PLACEHOLDER": "Enter custom attribute key",
|
||
"ERROR": "Key is required",
|
||
"IN_VALID": "Invalid key"
|
||
},
|
||
"REGEX_PATTERN": {
|
||
"LABEL": "Regex Pattern",
|
||
"PLACEHOLDER": "Please enter custom attribute regex pattern. (Optional)"
|
||
},
|
||
"REGEX_CUE": {
|
||
"LABEL": "Regex Cue",
|
||
"PLACEHOLDER": "Please enter regex pattern hint. (Optional)"
|
||
},
|
||
"ENABLE_REGEX": {
|
||
"LABEL": "Enable regex validation"
|
||
}
|
||
},
|
||
"API": {
|
||
"SUCCESS_MESSAGE": "Custom Attribute added successfully!",
|
||
"ERROR_MESSAGE": "Could not create a Custom Attribute. Please try again later."
|
||
}
|
||
},
|
||
"DELETE": {
|
||
"BUTTON_TEXT": "刪除",
|
||
"API": {
|
||
"SUCCESS_MESSAGE": "Custom Attribute deleted successfully.",
|
||
"ERROR_MESSAGE": "Couldn't delete the custom attribute. Try again."
|
||
},
|
||
"CONFIRM": {
|
||
"TITLE": "確定要刪除 - {attributeName} ?",
|
||
"PLACE_HOLDER": "請輸入 {attributeName} 以確認",
|
||
"MESSAGE": "Deleting will remove the custom attribute",
|
||
"YES": "刪除 ",
|
||
"NO": "取消"
|
||
}
|
||
},
|
||
"EDIT": {
|
||
"TITLE": "Edit Custom Attribute",
|
||
"UPDATE_BUTTON_TEXT": "更新",
|
||
"TYPE": {
|
||
"LIST": {
|
||
"LABEL": "List Values",
|
||
"PLACEHOLDER": "Please enter values and press enter key"
|
||
}
|
||
},
|
||
"API": {
|
||
"SUCCESS_MESSAGE": "Custom Attribute updated successfully",
|
||
"ERROR_MESSAGE": "There was an error updating custom attribute, please try again"
|
||
}
|
||
},
|
||
"TABS": {
|
||
"HEADER": "自訂屬性",
|
||
"CONVERSATION": "對話",
|
||
"CONTACT": "聯絡人"
|
||
},
|
||
"LIST": {
|
||
"TABLE_HEADER": ["姓名", "描述資訊", "類別", "Key"],
|
||
"BUTTONS": {
|
||
"EDIT": "編輯",
|
||
"DELETE": "刪除"
|
||
},
|
||
"EMPTY_RESULT": {
|
||
"404": "There are no custom attributes created",
|
||
"NOT_FOUND": "There are no custom attributes configured"
|
||
},
|
||
"REGEX_PATTERN": {
|
||
"LABEL": "Regex Pattern",
|
||
"PLACEHOLDER": "Please enter custom attribute regex pattern. (Optional)"
|
||
},
|
||
"REGEX_CUE": {
|
||
"LABEL": "Regex Cue",
|
||
"PLACEHOLDER": "Please enter regex pattern hint. (Optional)"
|
||
},
|
||
"ENABLE_REGEX": {
|
||
"LABEL": "Enable regex validation"
|
||
}
|
||
}
|
||
}
|
||
}
|