Files
Shivam MishraandGitHub a8c12ffb25 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
2024-10-07 11:12:40 -07:00

489 lines
16 KiB
JSON

{
"HELP_CENTER": {
"HEADER": {
"FILTER": "过滤条件",
"SORT": "排序方式",
"LOCALE": "语言环境",
"SETTINGS_BUTTON": "设置",
"NEW_BUTTON": "新建文章",
"DROPDOWN_OPTIONS": {
"PUBLISHED": "已发布",
"DRAFT": "草稿",
"ARCHIVED": "已存档"
},
"TITLES": {
"ALL_ARTICLES": "所有文章",
"MINE": "我的文章",
"DRAFT": "文章草稿",
"ARCHIVED": "已存档的文章"
},
"LOCALE_SELECT": {
"TITLE": "Select locale",
"PLACEHOLDER": "Select locale",
"NO_RESULT": "No locale found",
"SEARCH_PLACEHOLDER": "Search locale"
}
},
"EDIT_HEADER": {
"ALL_ARTICLES": "所有文章",
"PUBLISH_BUTTON": "发布",
"MOVE_TO_ARCHIVE_BUTTON": "移至已存档",
"PREVIEW": "预览",
"ADD_TRANSLATION": "添加翻译",
"OPEN_SIDEBAR": "打开侧边栏",
"CLOSE_SIDEBAR": "关闭侧边栏",
"SAVING": "保存中...",
"SAVED": "保存成功"
},
"ARTICLE_EDITOR": {
"IMAGE_UPLOAD": {
"TITLE": "上传头像",
"UPLOADING": "上传中...",
"SUCCESS": "Image uploaded successfully",
"ERROR": "Error while uploading image",
"UN_AUTHORIZED_ERROR": "You are not authorized to upload images",
"ERROR_FILE_SIZE": "Image size should be less than {size}MB",
"ERROR_FILE_FORMAT": "Image format should be jpg, jpeg or png",
"ERROR_FILE_DIMENSIONS": "Image dimensions should be less than 2000 x 2000"
}
},
"ARTICLE_SETTINGS": {
"TITLE": "文章设置",
"FORM": {
"CATEGORY": {
"LABEL": "类别",
"TITLE": "选择类别",
"PLACEHOLDER": "选择类别",
"NO_RESULT": "未找到类别",
"SEARCH_PLACEHOLDER": "搜索类别"
},
"AUTHOR": {
"LABEL": "作者",
"TITLE": "选择作者",
"PLACEHOLDER": "选择作者",
"NO_RESULT": "未找到作者",
"SEARCH_PLACEHOLDER": "搜索作者"
},
"META_TITLE": {
"LABEL": "Meta 标题",
"PLACEHOLDER": "增加一个Meta标题"
},
"META_DESCRIPTION": {
"LABEL": "Meta描述",
"PLACEHOLDER": "Add your meta description for better SEO results..."
},
"META_TAGS": {
"LABEL": "Meta标签",
"PLACEHOLDER": "增加Meta标签,以逗号分隔"
}
},
"BUTTONS": {
"ARCHIVE": "归档文章",
"DELETE": "删除文章"
}
},
"ARTICLE_SEARCH_RESULT": {
"UNCATEGORIZED": "Uncategorized",
"SEARCH_RESULTS": "Search results for {query}",
"EMPTY_TEXT": "Search for articles to insert into replies.",
"SEARCH_LOADER": "搜索中...",
"INSERT_ARTICLE": "Insert",
"NO_RESULT": "No articles found",
"COPY_LINK": "Copy article link to clipboard",
"OPEN_LINK": "Open article in new tab",
"PREVIEW_LINK": "Preview article"
},
"PORTAL": {
"HEADER": "门户网站",
"DEFAULT": "默认",
"NEW_BUTTON": "新门户网站",
"ACTIVE_BADGE": "活跃",
"CHOOSE_LOCALE_LABEL": "选择一个语言环境",
"LOADING_MESSAGE": "正在加载门户...",
"ARTICLES_LABEL": "文章",
"NO_PORTALS_MESSAGE": "There are no available portals",
"ADD_NEW_LOCALE": "添加一个新的语言环境",
"POPOVER": {
"TITLE": "门户网站",
"PORTAL_SETTINGS": "门户设置",
"SUBTITLE": "您有多个门户网站,每个门户网站可以有不同的语言环境。",
"CANCEL_BUTTON_LABEL": "取消",
"CHOOSE_LOCALE_BUTTON": "选择语言"
},
"PORTAL_SETTINGS": {
"LIST_ITEM": {
"HEADER": {
"COUNT_LABEL": "文章",
"ADD": "Add locale",
"VISIT": "Visit site",
"SETTINGS": "设置",
"DELETE": "删除"
},
"PORTAL_CONFIG": {
"TITLE": "Portal Configurations",
"ITEMS": {
"NAME": "姓名:",
"DOMAIN": "Custom domain",
"SLUG": "Slug",
"TITLE": "Portal title",
"THEME": "Theme color",
"SUB_TEXT": "Portal sub text"
}
},
"AVAILABLE_LOCALES": {
"TITLE": "Available locales",
"TABLE": {
"NAME": "Locale name",
"CODE": "Locale code",
"ARTICLE_COUNT": "No. of articles",
"CATEGORIES": "No. of categories",
"SWAP": "Swap",
"DELETE": "删除",
"DEFAULT_LOCALE": "Default"
}
}
},
"DELETE_PORTAL": {
"TITLE": "Delete portal",
"MESSAGE": "Are you sure you want to delete this portal",
"YES": "Yes, delete portal",
"NO": "No, keep portal",
"API": {
"DELETE_SUCCESS": "Portal deleted successfully",
"DELETE_ERROR": "Error while deleting portal"
}
}
},
"EDIT": {
"HEADER_TEXT": "Edit portal",
"TABS": {
"BASIC_SETTINGS": {
"TITLE": "Basic information"
},
"CUSTOMIZATION_SETTINGS": {
"TITLE": "Portal customization"
},
"CATEGORY_SETTINGS": {
"TITLE": "Categories"
},
"LOCALE_SETTINGS": {
"TITLE": "Locales"
}
},
"CATEGORIES": {
"TITLE": "Categories in",
"NEW_CATEGORY": "New category",
"TABLE": {
"NAME": "姓名:",
"DESCRIPTION": "描述信息",
"LOCALE": "语言环境",
"ARTICLE_COUNT": "No. of articles",
"ACTION_BUTTON": {
"EDIT": "Edit category",
"DELETE": "Delete category"
},
"EMPTY_TEXT": "未找到类别"
}
},
"EDIT_BASIC_INFO": {
"BUTTON_TEXT": "Update basic settings"
}
},
"ADD": {
"CREATE_FLOW": [
{
"title": "Help center information",
"route": "new_portal_information",
"body": "Basic information about portal",
"CREATE_BASIC_SETTING_BUTTON": "Create portal basic settings"
},
{
"title": "Help center customization",
"route": "portal_customization",
"body": "Customize portal",
"UPDATE_PORTAL_BUTTON": "Update portal settings"
},
{
"title": "Voila! 🎉",
"route": "portal_finish",
"body": "You're all set!",
"FINISH": "完成"
}
],
"CREATE_FLOW_PAGE": {
"BACK_BUTTON": "后退",
"BASIC_SETTINGS_PAGE": {
"HEADER": "Create Portal",
"TITLE": "Help center information",
"CREATE_BASIC_SETTING_BUTTON": "Create portal basic settings"
},
"CUSTOMIZATION_PAGE": {
"HEADER": "Portal customisation",
"TITLE": "Help center customization",
"UPDATE_PORTAL_BUTTON": "Update portal settings"
},
"FINISH_PAGE": {
"TITLE": "Voila!🎉 You're all set up!",
"MESSAGE": "You can now see this created portal on your all portals page.",
"FINISH": "Go to all portals page"
}
},
"LOGO": {
"LABEL": "Logo",
"UPLOAD_BUTTON": "Upload logo",
"HELP_TEXT": "This logo will be displayed on the portal header.",
"IMAGE_UPLOAD_SUCCESS": "Logo uploaded successfully",
"IMAGE_UPLOAD_ERROR": "Logo deleted successfully",
"IMAGE_DELETE_ERROR": "Error while deleting logo"
},
"NAME": {
"LABEL": "姓名:",
"PLACEHOLDER": "Portal name",
"HELP_TEXT": "The name will be used in the public facing portal internally.",
"ERROR": "名字必填"
},
"SLUG": {
"LABEL": "Slug",
"PLACEHOLDER": "Portal slug for urls",
"ERROR": "Slug is required"
},
"DOMAIN": {
"LABEL": "Custom Domain",
"PLACEHOLDER": "Portal custom domain",
"HELP_TEXT": "Add only If you want to use a custom domain for your portals. Eg: https://example.com",
"ERROR": "Enter a valid domain URL"
},
"HOME_PAGE_LINK": {
"LABEL": "Home Page Link",
"PLACEHOLDER": "Portal home page link",
"HELP_TEXT": "The link used to return from the portal to the home page. Eg: https://example.com",
"ERROR": "Enter a valid home page URL"
},
"THEME_COLOR": {
"LABEL": "Portal theme color",
"HELP_TEXT": "This color will show as the theme color for the portal."
},
"PAGE_TITLE": {
"LABEL": "Page Title",
"PLACEHOLDER": "Portal page title",
"HELP_TEXT": "The page title will be used in the public facing portal.",
"ERROR": "Page title is required"
},
"HEADER_TEXT": {
"LABEL": "Header Text",
"PLACEHOLDER": "Portal header text",
"HELP_TEXT": "The Portal header text will be used in the public facing portal.",
"ERROR": "Portal header text is required"
},
"API": {
"SUCCESS_MESSAGE_FOR_BASIC": "Portal created successfully.",
"ERROR_MESSAGE_FOR_BASIC": "Couldn't create the portal. Try again.",
"SUCCESS_MESSAGE_FOR_UPDATE": "Portal updated successfully.",
"ERROR_MESSAGE_FOR_UPDATE": "Couldn't update the portal. Try again."
}
},
"ADD_LOCALE": {
"TITLE": "添加一个新的语言环境",
"SUB_TITLE": "This adds a new locale to your available translation list.",
"PORTAL": "门户网站",
"LOCALE": {
"LABEL": "语言环境",
"PLACEHOLDER": "选择一个语言环境",
"ERROR": "Locale is required"
},
"BUTTONS": {
"CREATE": "Create locale",
"CANCEL": "取消"
},
"API": {
"SUCCESS_MESSAGE": "Locale added successfully",
"ERROR_MESSAGE": "Unable to add locale. Try again."
}
},
"CHANGE_DEFAULT_LOCALE": {
"API": {
"SUCCESS_MESSAGE": "Default locale updated successfully",
"ERROR_MESSAGE": "Unable to update default locale. Try again."
}
},
"DELETE_LOCALE": {
"API": {
"SUCCESS_MESSAGE": "Locale removed from portal successfully",
"ERROR_MESSAGE": "Unable to remove locale from portal. Try again."
}
}
},
"TABLE": {
"LOADING_MESSAGE": "正在加载文章...",
"404": "没有找到您要搜索的文章 🔍",
"NO_ARTICLES": "没有可用的文章",
"HEADERS": {
"TITLE": "标题",
"CATEGORY": "类别",
"READ_COUNT": "Views",
"STATUS": "状态",
"LAST_EDITED": "Last edited"
},
"COLUMNS": {
"BY": "by",
"AUTHOR_NOT_AVAILABLE": "Author is not available"
}
},
"EDIT_ARTICLE": {
"LOADING": "Loading article...",
"TITLE_PLACEHOLDER": "文章标题在此处显示",
"CONTENT_PLACEHOLDER": "在此处写下您的文章",
"API": {
"ERROR": "Error while saving article"
}
},
"PUBLISH_ARTICLE": {
"API": {
"ERROR": "Error while publishing article",
"SUCCESS": "Article published successfully"
}
},
"ARCHIVE_ARTICLE": {
"API": {
"ERROR": "Error while archiving article",
"SUCCESS": "Article archived successfully"
}
},
"DELETE_ARTICLE": {
"MODAL": {
"CONFIRM": {
"TITLE": "确认删除",
"MESSAGE": "Are you sure to delete the article?",
"YES": "是,删除",
"NO": "否,保留它"
}
},
"API": {
"SUCCESS_MESSAGE": "Article deleted successfully",
"ERROR_MESSAGE": "Error while deleting article"
}
},
"CREATE_ARTICLE": {
"ERROR_MESSAGE": "Please add the article heading and content then only you can update the settings"
},
"SIDEBAR": {
"SEARCH": {
"PLACEHOLDER": "搜索文章"
}
},
"CATEGORY": {
"ADD": {
"TITLE": "创建一个类别",
"SUB_TITLE": "类别将用于公共门户来对文章进行归类。",
"PORTAL": "门户网站",
"LOCALE": "Locale",
"NAME": {
"LABEL": "姓名:",
"PLACEHOLDER": "类别名称",
"HELP_TEXT": "The category name and icon will be used in the public facing portal to categorize articles.",
"ERROR": "名字必填"
},
"SLUG": {
"LABEL": "Slug",
"PLACEHOLDER": "Category slug for urls",
"HELP_TEXT": "app.chatwoot.com/hc/my-portal/en-US/categories/my-slug",
"ERROR": "Slug is required"
},
"DESCRIPTION": {
"LABEL": "描述信息",
"PLACEHOLDER": "给出有关该类别的简短描述。",
"ERROR": "描述是必需的"
},
"BUTTONS": {
"CREATE": "创建类别",
"CANCEL": "取消"
},
"API": {
"SUCCESS_MESSAGE": "Category created successfully",
"ERROR_MESSAGE": "Unable to create category"
}
},
"EDIT": {
"TITLE": "Edit a category",
"SUB_TITLE": "Editing a category will update the category in the public facing portal.",
"PORTAL": "门户网站",
"LOCALE": "语言环境",
"NAME": {
"LABEL": "姓名:",
"PLACEHOLDER": "类别名称",
"HELP_TEXT": "The category name and icon will be used in the public facing portal to categorize articles.",
"ERROR": "名字必填"
},
"SLUG": {
"LABEL": "Slug",
"PLACEHOLDER": "Category slug for urls",
"HELP_TEXT": "app.chatwoot.com/hc/my-portal/en-US/categories/my-slug",
"ERROR": "Slug is required"
},
"DESCRIPTION": {
"LABEL": "描述信息",
"PLACEHOLDER": "给出有关该类别的简短描述。",
"ERROR": "描述是必需的"
},
"BUTTONS": {
"CREATE": "Update category",
"CANCEL": "取消"
},
"API": {
"SUCCESS_MESSAGE": "Category updated successfully",
"ERROR_MESSAGE": "Unable to update category"
}
},
"DELETE": {
"API": {
"SUCCESS_MESSAGE": "Category deleted successfully",
"ERROR_MESSAGE": "Unable to delete category"
}
}
},
"ARTICLE_SEARCH": {
"TITLE": "Search articles",
"PLACEHOLDER": "Search articles",
"NO_RESULT": "No articles found",
"SEARCHING": "搜索中...",
"SEARCH_BUTTON": "搜索",
"INSERT_ARTICLE": "Insert link",
"IFRAME_ERROR": "URL is empty or invalid. Unable to display content.",
"OPEN_ARTICLE_SEARCH": "Insert article from Help Center",
"SUCCESS_ARTICLE_INSERTED": "Article inserted successfully",
"PREVIEW_LINK": "Preview article",
"CANCEL": "关闭",
"BACK": "后退",
"BACK_RESULTS": "Back to results"
},
"UPGRADE_PAGE": {
"TITLE": "帮助中心",
"DESCRIPTION": "Create user-friendly self-service portals. Help your users to access the articles and get support 24/7. Upgrade your subscription to enable this feature.",
"SELF_HOSTED_DESCRIPTION": "Create user-friendly self-service portals. Help your users to access the articles and get support 24/7. Please contact your administrator to enable this feature.",
"BUTTON": {
"LEARN_MORE": "了解更多",
"UPGRADE": "Upgrade"
},
"FEATURES": {
"PORTALS": {
"TITLE": "Multiple portals",
"DESCRIPTION": "Create multiple help center portals for different products using the same account."
},
"LOCALES": {
"TITLE": "Full support for locales",
"DESCRIPTION": "Localize the portal in your language. We support all locales and allow translations for every article."
},
"SEO": {
"TITLE": "SEO-friendly design",
"DESCRIPTION": "Customize your meta tags to improve your visibility on search engines with our SEO-friendly pages."
},
"API": {
"TITLE": "Full API support",
"DESCRIPTION": "Use the portal as a headless CMS with third party front-end frameworks using our APIs."
}
}
},
"LOADING": "Loading..."
}
}