Skip to content

Commit

Permalink
fix(zh-Hant): automated translation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AutoTranslator committed Nov 26, 2024
1 parent ff32b5c commit 4602682
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 29 deletions.
59 changes: 32 additions & 27 deletions locales/zh-Hant/src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,65 +2,70 @@ import {removeUndefinedLocaleResources} from 'sanity'

export default removeUndefinedLocaleResources({
/** Text in badge above header in Create Link info popover */
'create-link-info-popover.eyebrow-badge': undefined, // 'Early access'
'create-link-info-popover.eyebrow-badge': '早期訪問',
/** Text above header in Create Link info popover */
'create-link-info-popover.eyebrow-title': undefined, // 'Sanity Create'
'create-link-info-popover.eyebrow-title': 'Sanity Create',
/** Header in Create Link info popover */
'create-link-info-popover.header': undefined, // 'Idea-first authoring'
'create-link-info-popover.header': '以想法為先的創作',
/** Informational text in Create Link info popover */
'create-link-info-popover.text': undefined, // 'Write naturally in an AI-powered editor. Your content automatically maps to Studio fields as you type.'
'create-link-info-popover.text':
'在一個由AI驅動的編輯器中自然書寫。您輸入的內容會自動映射到Studio欄位。',

/** Tooltip for Create Link button */
'create-link-info.tooltip': undefined, // 'Learn more'
'create-link-info.tooltip': '了解更多',

/** Edit in Create button text */
'edit-in-create-button.text': undefined, // 'Edit with Sanity Create'
'edit-in-create-button.text': '使用Sanity Create編輯',

/** Details for the "Linking in progress" dialog */
'linking-in-progress-dialog.details': undefined, // 'Once linked, your edits will appear here in real-time.'
'linking-in-progress-dialog.details': '連結後,您的編輯將即時顯示在這裡。',
/** Header of the "Linking in progress" dialog */
'linking-in-progress-dialog.header': undefined, // 'Linking to Sanity Create'
'linking-in-progress-dialog.header': '正在連結到Sanity Create',
/** Lede text for the "Linking in progress" dialog */
'linking-in-progress-dialog.lede': undefined, // 'Head back to Sanity Create. Your document will sync automatically (usually takes a few seconds).'
'linking-in-progress-dialog.lede': '回到Sanity Create。您的文件將自動同步(通常需要幾秒鐘)。',
/** "Linking in progress" troubleshooting button title */
'linking-in-progress-dialog.troubleshooting.button.title': undefined, // 'Linking delayed?'
'linking-in-progress-dialog.troubleshooting.button.title': '連結延遲?',
/** "Linking in progress" troubleshooting content */
'linking-in-progress-dialog.troubleshooting.content': undefined, // 'Check if your Sanity Create window is still open, or if the process seems stuck. If problems persist, try refreshing the Studio and try again.'
'linking-in-progress-dialog.troubleshooting.content':
'檢查您的Sanity Create窗口是否仍然開啟,或者過程是否看起來卡住了。如果問題持續存在,請嘗試刷新Studio然後再試一次。',

/** "Start in Sanity Create" action button text */
'start-in-create-action.label': undefined, // 'Start in Sanity Create'
'start-in-create-action.label': '在Sanity Create中開始',

/** CTA in "Start writing in Create" dialog: Continue to create */
'start-in-create-dialog.cta.continue': undefined, // 'Continue'
'start-in-create-dialog.cta.continue': '繼續',
/** CTA in "Start writing in Create" dialog: Learn more */
'start-in-create-dialog.cta.learn-more': undefined, // 'Learn more'
'start-in-create-dialog.cta.learn-more': '了解更多',
/** The details on what "Start writing in Create" implies */
'start-in-create-dialog.details': undefined, // 'This opens in a new window, linked directly to this document.'
'start-in-create-dialog.details': '這將在新窗口中打開,直接連結到此文件。',
/** Text for checkbox in "Start writing in Create" dialog for disabling the dialog in the future */
'start-in-create-dialog.dont-remind-me-checkbox': undefined, // 'Don’t remind me again'
'start-in-create-dialog.dont-remind-me-checkbox': '不要再提醒我',
/** Toast error message when we dont have a resolved Sanity Create url*/
'start-in-create-dialog.error-toast.unresolved-url': undefined, // 'Unable to determine Sanity Create URL.'
'start-in-create-dialog.error-toast.unresolved-url': '無法確定Sanity Create的URL。',
/** Header of the "Start writing in Create" dialog */
'start-in-create-dialog.header': undefined, // 'Write naturally, publish structured'
'start-in-create-dialog.header': '自然書寫,結構化發布',
/** The lede text in the "Start writing in Create" dialog */
'start-in-create-dialog.lede': undefined, // 'Create content your way in an AI-powered editor. Your writing automatically maps to the right fields in Sanity Studio as you type.'
'start-in-create-dialog.lede':
'在AI驅動的編輯器中以您喜歡的方式創建內容。您的寫作會自動映射到Sanity Studio中的正確欄位。',

/** Text for the document pane banner informing users that the document is linked to Sanity Create */
'studio-create-link-banner.text': undefined, // 'This document is linked to Sanity Create'
'studio-create-link-banner.text': '此文件已連結到Sanity Create',

/** Unlink document from Sanity Create button text */
'unlink-from-create-button.text': undefined, // 'Unlink'
'unlink-from-create-button.text': '取消連結',

/** Unlink from Create dialog: Cancel button text */
'unlink-from-create-dialog.cancel.text': undefined, // 'Cancel'
'unlink-from-create-dialog.cancel.text': '取消',
/** Unlink from Create dialog: Document title used if no other title can be determined */
'unlink-from-create-dialog.document.untitled.text': undefined, // 'Untitled'
'unlink-from-create-dialog.document.untitled.text': '無標題',
/** Unlink from Create dialog – first informational paragraph */
'unlink-from-create-dialog.first-paragraph': undefined, // 'You’re unlinking “<strong>{{title}}</strong>” from Sanity Create so it can be edited here.'
'unlink-from-create-dialog.first-paragraph':
'您正在取消“<strong>{{title}}</strong>”與Sanity Create的連結,以便在這裡進行編輯。',
/** Unlink from Create dialog header */
'unlink-from-create-dialog.header': undefined, // 'Switch editing to Studio?'
'unlink-from-create-dialog.header': '切換到Studio編輯?',
/** Unlink from Create dialog – second informational paragraph */
'unlink-from-create-dialog.second-paragraph': undefined, // 'You’ll keep your content in both places. Any new changes in Sanity Create will stop syncing to this Studio.'
'unlink-from-create-dialog.second-paragraph':
'您的內容將保留在兩個地方。任何新的更改在Sanity Create中將停止同步到這個Studio。',
/** Unlink from Create dialog: Unlink button text */
'unlink-from-create-dialog.unlink.text': undefined, // 'Unlink now'
'unlink-from-create-dialog.unlink.text': '立即取消連結',
})
22 changes: 20 additions & 2 deletions locales/zh-Hant/src/structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ export default removeUndefinedLocaleResources({
'action.publish.validation-issues.tooltip': '在此文件可以發布之前,需要修復驗證錯誤',
/** Tooltip when publish button is waiting for validation and async tasks to complete.*/
'action.publish.waiting': '等待任務完成後才發布',
/** Message prompting the user to confirm that they want to restore to an earlier version*/
/** Message prompting the user to confirm that they want to restore to an earlier revision*/
'action.restore.confirm.message': '確定要還原此份文件嗎?',
/** Fallback tooltip for when user is looking at the initial version */
/** Fallback tooltip for when user is looking at the initial revision */
'action.restore.disabled.cannot-restore-initial': '無法還原到初始版本',
/** Label for the "Restore" document action */
'action.restore.label': '還原',
Expand Down Expand Up @@ -121,6 +121,15 @@ export default removeUndefinedLocaleResources({
/** The title for the close group button on the split pane on the document panel header */
'buttons.split-pane-close-group-button.title': '關閉窗格組',

/** The label used in the changes inspector for the from selector */
'changes.from.label': '從',
/* The label for the history tab in the changes inspector*/
'changes.tab.history': '歷史',
/* The label for the review tab in the changes inspector*/
'changes.tab.review-changes': '審查變更',
/** The label used in the changes inspector for the to selector */
'changes.to.label': '到',

/** The text in the "Cancel" button in the confirm delete dialog that cancels the action and closes the dialog */
'confirm-delete-dialog.cancel-button.text': '取消',
/** Used in `confirm-delete-dialog.cdr-summary.title` */
Expand Down Expand Up @@ -419,4 +428,13 @@ export default removeUndefinedLocaleResources({
'structure-error.reload-button.text': '重新讀取',
/** Labels the structure path of the structure error screen */
'structure-error.structure-path.label': '結構路徑',

/** The aria label for the menu button in the timeline item */
'timeline-item.menu-button.aria-label': '開啟操作菜單',
/** The text for the tooltip in menu button the timeline item */
'timeline-item.menu-button.tooltip': '操作',
/** The text for the collapse action in the timeline item menu */
'timeline-item.menu.action-collapse': '折疊',
/** The text for the expand action in the timeline item menu */
'timeline-item.menu.action-expand': '展開',
})
4 changes: 4 additions & 0 deletions locales/zh-Hant/src/studio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ export default removeUndefinedLocaleResources({
'document-status.not-published': '未發布',
/** Label to show in the document footer indicating the published date of the document */
'document-status.published': '發布於 {{date}}',
/** Label to show in the document footer indicating the revision from date of the document */
'document-status.revision-from': '修訂自<em>{{date}}</em>',

/** The value of the <code>_key</code> property must be a unique string. */
'form.error.duplicate-keys-alert.details.additional-description':
Expand Down Expand Up @@ -1458,6 +1460,8 @@ export default removeUndefinedLocaleResources({
/** Accessibility label for the navbar status button */
'status-button.aria-label': '配置狀態',

/** Title for the changes tooltip in the history inspector*/
'timeline.changes.title': '更改者',
/** Description for error when the timeline for the given document can't be loaded */
'timeline.error.load-document-changes-description': '文件歷史交易未受影響。',
/** Title for error when the timeline for the given document can't be loaded */
Expand Down

0 comments on commit 4602682

Please sign in to comment.