diff --git a/src/assets/locales.ts b/src/assets/locales.ts index a6db8d82..480318f7 100644 --- a/src/assets/locales.ts +++ b/src/assets/locales.ts @@ -18,6 +18,8 @@ const message = { newVersionTips: '有新版本发布,快去下载新版本吧!', newArticle: '新文章', publish: '发布', + RenderSite: '仅渲染', + RenderFinish: '渲染输出完成', published: '已发布', draft: '草稿', title: '标题', @@ -80,6 +82,7 @@ const message = { connectSuccess: '远程连接成功', connectFailed: '远程连接失败,请检查仓库、用户名和令牌设置', sourceFolder: '站点源文件路径', + outputFolder: '渲染输出路径', language: '语 言', inConfig: '配置中', searchArticle: '搜索文章', @@ -148,6 +151,8 @@ const message = { newArticle: '新文章', publish: '發布', published: '已發布', + RenderSite: '僅渲染', + RenderFinish: '渲染輸出完成', draft: '草稿', title: '標題', status: '狀態', @@ -209,6 +214,7 @@ const message = { connectSuccess: '遠程連接成功', connectFailed: '遠程連接失敗,請檢查倉庫、用戶名和令牌設置', sourceFolder: '站点源文件路径', + outputFolder: '渲染輸出路徑', language: '語 言', inConfig: '配置中', searchArticle: '搜索文章', @@ -276,6 +282,8 @@ const message = { newArticle: 'New', publish: 'Publish', published: 'Published', + RenderSite: 'RenderOnly', + RenderFinish: 'RenderFinish', draft: 'Draft', title: 'Title', status: 'Status', @@ -332,11 +340,12 @@ const message = { editorTip: 'You can insert a separate line is the abstract separator identifier ( the content before this line is the abstract)', saveError: 'Save failed', privateKeyTip: 'Please fill in the absolute path, for example: /home/username/.ssh/id_rsa', - remotePathTip: 'Please fill in the absolute path, for example::/home/username/www/', + remotePathTip: 'Please fill in the absolute path, for example: /home/username/www/', testConnection: 'Test Connection', connectSuccess: 'Remote connection succeeded', connectFailed: 'Remote connection failed, please check repository, username and token settings', sourceFolder: 'Site source file path', + outputFolder: 'Render output file path', language: 'Language', inConfig: 'In configuration', searchArticle: 'Articles search', @@ -404,6 +413,8 @@ const message = { newArticle: 'Nouveau', publish: 'Publier', published: 'Publié', + RenderSite: 'Rendu uniquement', + RenderFinish: 'Render Finish', draft: 'Brouillon', title: 'Titre', status: 'Status', @@ -465,6 +476,7 @@ const message = { connectSuccess: 'Connexion à distance a réussi', connectFailed: 'La connexion à distance a échoué, veuillez vérifier les paramètres du référentiel, du nom d\'utilisateur et du token', sourceFolder: 'Chemin d\'accès au fichier source du site', + outputFolder: 'Chemin du fichier de sortie du rendu', language: 'Langue', inConfig: 'En configuration', searchArticle: 'Rechercher des articles', @@ -532,6 +544,8 @@ const message = { newArticle: '新規文書', publish: '公開', published: '公開済み', + RenderSite: 'レンダリングのみ', + RenderFinish: 'レンダリングフィニッシュ', draft: '下書き', title: 'タイトル', status: 'ステータス', @@ -593,6 +607,7 @@ const message = { connectSuccess: '接続は成功しました', connectFailed: '接続が失敗しました。リポジトリ名、ユーザー名とトークンを確認してください。', sourceFolder: 'サイトのソースファイルのパス', + outputFolder: 'レンダリング出力ファイルのパス', language: '言語', inConfig: '配置中', searchArticle: '文書検索', diff --git a/src/components/AppSystem/Index.vue b/src/components/AppSystem/Index.vue index 5a88b30f..ddc09740 100644 --- a/src/components/AppSystem/Index.vue +++ b/src/components/AppSystem/Index.vue @@ -2,6 +2,7 @@
+
@@ -10,12 +11,14 @@ import { Vue, Component } from 'vue-property-decorator' import LanguageSetting from './includes/LanguageSetting.vue' import SourceFolderSetting from './includes/SourceFolderSetting.vue' +import OutputFolderSetting from './includes/OutputFolderSetting.vue' import Version from './includes/Version.vue' @Component({ components: { LanguageSetting, SourceFolderSetting, + OutputFolderSetting, Version, }, }) diff --git a/src/components/AppSystem/includes/OutputFolderSetting.vue b/src/components/AppSystem/includes/OutputFolderSetting.vue new file mode 100644 index 00000000..65375e86 --- /dev/null +++ b/src/components/AppSystem/includes/OutputFolderSetting.vue @@ -0,0 +1,73 @@ + + + + + + diff --git a/src/components/Main.vue b/src/components/Main.vue index f54b5855..8f9a91f7 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -29,6 +29,12 @@ {{ $t('preview') }} + + +