Skip to content

Commit

Permalink
fix from review
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiyin1987 committed Jul 12, 2024
1 parent e9c451a commit ef05fed
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions components/Git/ArticleEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,15 @@ export class ArticleEditor extends Component {
/>
</Form.Group>
<Form.Group className="row">
<label className="col-sm-2 col-form-label">{t('filePath')}</label>
<label className="col-sm-2 col-form-label">{t('file_path')}</label>

{repository && (
<PathSelect repository={repository} onChange={this.loadFile} />
)}
</Form.Group>
<Form.Group className="row align-items-center">
<label className="col-sm-2 col-form-label">
{t('commitMessage')}
{t('commit_message')}
</label>
<Col sm={7}>
<Form.Control as="textarea" name="message" required />
Expand Down
6 changes: 3 additions & 3 deletions translation/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ export default {

// git pager
repository: 'repository',
filePath: 'filePath',
commitMessage: 'commit Message',
file_path: 'filePath',
commit_message: 'commit Message',
commit: 'commit',
clear: 'clear',
meta: 'meta',
content: 'content',
copyMarkDown: 'copy Markdown',
copy_MarkDown: 'copy Markdown',
} as const;
6 changes: 3 additions & 3 deletions translation/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ export default {

// git pager
repository: '代码仓库',
filePath: '文件路径',
commitMessage: '提交信息',
file_path: '文件路径',
commit_message: '提交信息',
commit: '提交',
clear: '清空',
meta: '元数据',
content: '内容',
copyMarkDown: '复制 Markdown',
copy_MarkDown: '复制 Markdown',
} as const;
6 changes: 3 additions & 3 deletions translation/zh-TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ export default {

// git pager
repository: '程式碼倉庫',
filePath: '檔案路徑',
commitMessage: '提交訊息',
file_path: '檔案路徑',
commit_message: '提交訊息',
commit: '提交',
clear: '清空',
meta: '詮釋資料',
content: '内容',
copyMarkDown: '複製 Markdown',
copy_MarkDown: '複製 Markdown',
} as const;

0 comments on commit ef05fed

Please sign in to comment.