Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions frontend/packages/cozeloop/i18n/src/locale-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2075,7 +2075,7 @@ interface I18nTranslateFn {
): string;
/** 删除标签 */
(key: 'delete_tag', fallbackText?: string): string;
/** 更新人 */
/** 更新人 */
(key: 'updated_by', fallbackText?: string): string;
/** 人工标注管理 */
(key: 'manual_annotation_management', fallbackText?: string): string;
Expand Down Expand Up @@ -2939,7 +2939,7 @@ interface I18nTranslateFn {
(key: 'disabled_tag_not_searchable', fallbackText?: string): string;
/** 确定启用该标签吗? */
(key: 'confirm_enable_tag', fallbackText?: string): string;
/** 修改将会同步至标签管理。 */
/** 修改将会同步至标签管理。 */
(key: 'changes_sync_to_space_tag_management', fallbackText?: string): string;
/** 标签配置 */
(key: 'tag_configuration', fallbackText?: string): string;
Expand Down Expand Up @@ -2995,6 +2995,12 @@ interface I18nTranslateFn {
(key: 'exit', fallbackText?: string): string;
/** 确认保存 */
(key: 'confirm_save', fallbackText?: string): string;
/** 变更日志 */
(key: 'change_log', fallbackText?: string): string;
/** 展开 */
(key: 'extend', fallbackText?: string): string;
/** 只读 */
(key: 'read_only', fallbackText?: string): string;
}

/** I18n of Cozeloop */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,9 @@
"exit": "Exit",
"confirm_save": "Confirm Save",
"save_success": "Save successful",
"create_success": "Create successful"
"create_success": "Create successful",
"change_log": "Change Log",
"extend": "Expand",
"read_only": "Read Only",
"updated_by": "Updated By"
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"category_tag_option_disabled_warning": "该分类标签选项已禁用,若修改将不再展示",
"disabled_tag_not_searchable": "禁用后该标签无法被搜索添加",
"confirm_enable_tag": "确定启用该标签吗?",
"changes_sync_to_space_tag_management": "修改将会同步至标签管理。",
"changes_sync_to_space_tag_management": "修改将会同步至标签管理。",
"tag_configuration": "标签配置",
"enter_tag_name": "请输入标签名称",
"enter_description": "请输入描述",
Expand Down Expand Up @@ -67,5 +67,9 @@
"exit": "退出",
"confirm_save": "确认保存",
"save_success": "保存成功",
"create_success": "创建成功"
"create_success": "创建成功",
"change_log": "变更日志",
"extend": "展开",
"read_only": "只读",
"updated_by": "更新人"
}
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const AnnotationContent = (props: AnnotationContentProps) => {
<div className="flex items-center gap-x-2 text-[13px] font-normal leading-5 text-[var(--coz-fg-secondary)]">
<span>
{I18n.t('tag_number_with_placeholder', {
number: index + 1,
placeholder1: index + 1,
})}
</span>
<Tooltip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,15 @@ export const TagDetailHeader = ({
</div>
<Divider layout="vertical" className="h-[12px] mx-[3px]" />
<div className="text-[var(--coz-fg-secondary)] whitespace-nowrap">
{I18n.t('update_time', {
placeholder1: formatTimestampToString(
base_info?.updated_at ?? '',
),
})}
{`${I18n.t('update_time')}: ${formatTimestampToString(
base_info?.updated_at ?? '',
)}`}
</div>
<Divider layout="vertical" className="h-[12px] mx-[3px]" />
<div className="text-[var(--coz-fg-secondary)] whitespace-nowrap">
{I18n.t('create_time', {
placeholder1: formatTimestampToString(
base_info?.created_at ?? '',
),
})}
{`${I18n.t('create_time')}: ${formatTimestampToString(
base_info?.created_at ?? '',
)}`}
</div>
<Divider layout="vertical" className="h-[12px] mx-[3px]" />
<div className="flex items-center flex-1 overflow-hidden">
Expand Down
Loading