Skip to content

Commit

Permalink
i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
miya committed Dec 26, 2024
1 parent c69a583 commit 5916c79
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 9 deletions.
20 changes: 14 additions & 6 deletions api/core/tools/provider/builtin/growi/growi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ identity:
author: Shun Miyazawa
name: growi
label:
ja_JP: GROWI
en_US: GROWI
zh_Hans: GROWI
description:
en_US: Provider to operate GROWI
ja_JP: マークダウンを使用したチームコラボレーションソフトウェア
en_US: Team collaboration software using markdown
zh_Hans: 使用 markdown 的团队协作软件
icon: icon.svg
credentials_for_provider:
access_token:
Expand All @@ -13,15 +17,19 @@ credentials_for_provider:
label:
en_US: GROWI access token
placeholder:
ja_JP: GROWI アクセストークンを入力してください
en_US: Please input your GROWI access token
zh_Hans: 请输入您的 GROWI 访问令牌
help:
en_US: Get your GROWI access token from GROWI
ja_JP: ユーザー設定から API トークンを発行してください
en_US: Please issue an API Token through User Settings
zh_Hans: 请通过用户设置发行 API 令牌
growi_url:
type: text-input
required: true
label:
en_US: GROWI site url
en_US: GROWI URL
placeholder:
en_US: Please input your GROWI site url
help:
en_US: Find your GROWI site url
ja_JP: GROWI URL を入力してください
en_US: Please input your GROWI URL
zh_Hans: 请输入您的 GROWI 站点 URL
22 changes: 19 additions & 3 deletions api/core/tools/provider/builtin/growi/tools/create-page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,52 @@ identity:
name: create-page
author: Shun Miyazawa
label:
ja_JP: 新規ページ作成
en_US: Create Page
zh_Hans: 创建页面
description:
human:
ja_JP: GROWI にページを作成します
en_US: Create a page in GROWI
zh_Hans: 在 GROWI 中创建页面
llm: Create a page in GROWI
parameters:
- name: path
type: string
required: false
label:
ja_JP: ページパス
en_US: Page path
zh_Hans: 页面路径
human_description:
en_US: Page path
ja_JP: ページのパスを指定します。
en_US: The path where the page will be created.
zh_Hans: 指定页面的路径。
llm_description: The path where the page will be created. Must start with forward slash (e.g., /user/page-name)
form: llm
- name: parent_path
type: string
required: false
label:
ja_JP: 親ページパス
en_US: Parent page path
zh_Hans: 父页面路径
human_description:
en_US: Parent page path
ja_JP: 親ページのパスを指定します。"path" が指定されている場合は無視されます。
en_US: The path of the parent page. Ignored if "path" is specified.
zh_Hans: 指定父页面的路径。如果指定了“path”,则忽略此参数。
llm_description: The path of the parent page. Must start with forward slash (e.g., /user/parent-page-name)
form: llm
- name: body
type: string
required: false
label:
ja_JP: ページ本文
en_US: Page body
zh_Hans: 页面内容
human_description:
en_US: Page body
ja_JP: ページの本文を指定します。
en_US: The content of the page
zh_Hans: 页面的内容
llm_description: The content of the page in Markdown format
form: llm

0 comments on commit 5916c79

Please sign in to comment.