gatsbyjs / gatsby-ja Goto Github PK
View Code? Open in Web Editor NEWJapanese translation of Gatsbyjs.org
License: MIT License
Japanese translation of Gatsbyjs.org
License: MIT License
Due to this information
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
add-path
had disabled.
so need to change lint.yml
https://github.com/gatsbyjs/gatsby-ja/blob/master/.github/workflows/lint.yml#L46-L47
echo ::add-path::$HOME/bin
echo ::add-path::$(go env GOPATH)/bin # for Go projects
change to following
echo "$HOME/bin" >> $GITHUB_PATH
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH # for Go projects
ページを翻訳するために:
gatsby-ja
リポジトリを Clone して、該当するページを翻訳しましょう!
Allow edits from maintainer
にチェックを入れるのを忘れずに。貢献する前に、Translation Guideを一読して、Gatsby の翻訳プロセスへの理解を深めてください。また、翻訳スタイルガイドにも目を通してください。
自分で宣言したページは早めに翻訳してください!:もし、時間の都合が取れなくなったり、進めなくなったりしたら、他の人に振れるようにするために、メンテナーの誰かにお知らせください。
その他わからないことがあれば、Gatsby Discord の #translation-ja
チャンネルで質問してください!
PR時に走るlabelWhenCreatedがエラーにより落ちる
##[error]Invalid value for parameter 'issue_number': {"owner":"gatsbyjs","repo":"gatsby-ja","number":87} is NaN
##[error]Node run failed with exit code 1
issue_number
にオブジェクトが渡されNaN
となっているので、Numberが渡され適切にlabelWhenCreatedが走ること
エラー分から察するに、
https://github.com/gatsbyjs/gatsby-ja/blob/master/.github/workflows/label-when-created.yml
のconst issue_number = context.issue;
をconst issue_number = context.issue.number;
にすれば直るのかと思いますが、いかがでしょうか?
それで良ければPR書かせていただきます。よろしくお願いします:bow:
現在、eコマースのチュートリアルの翻訳を進めています。
Installing the StripeJS plugin
というセクションについてなのですが指示通りにgatsby-config.js
を設定するとエラーが発生します。
この場合はgatsby-config.js
をはどちらにすればいいでしょうか?
英語版チュートリアルのgatsby-config.js
module.exports = {
siteMetadata: {
title: "Gatsby E-Commerce Starter",
},
plugins: ["gatsby-plugin-react-helmet", "gatsby-plugin-stripe"],
}
この通りにgatsby-config.js
を設定してnpm run develop
を実行すると以下のエラーが発生します
しかし、このように設定すると動作します。
module.exports = {
siteMetadata: {
title: `Gatsby E-Commerce Starter`,
description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
author: `@gatsbyjs`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-starter-default`,
short_name: `starter`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-stripe`
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
}
翻訳させて頂きたいです。
Improve README to show how to properly set up so that contributors can easily make a contribution
「リスト」と「一覧」を「一覧」に統一したい。
Add textlint to this repo to keep consistent grammar, as its done in https://github.com/reactjs/ja.reactjs.org
#193 で英語の原文が更新されたものが Master にマージされました。
原文の変更によって、和訳されていた以下の Document に英文がすこし追加されたので、その部分の和訳をお願いしたいです。
下記より、あとで忘れそうなので、Issue立てておきます。
#27
ページを翻訳するために:
gatsby-ja
リポジトリを Clone して、該当するページを翻訳しましょう!
Allow edits from maintainer
にチェックを入れるのを忘れずに。貢献する前に、Translation Guideを一読して、Gatsby の翻訳プロセスへの理解を深めてください。また、翻訳スタイルガイドにも目を通してください。
自分で宣言したページは早めに翻訳してください!:もし、時間の都合が取れなくなったり、進めなくなったりしたら、他の人に振れるようにするために、メンテナーの誰かにお知らせください。
その他わからないことがあれば、Gatsby Discord の #translation-ja
チャンネルで質問してください!
誰かがこの Issue に翻訳したいページをコメントしたら、その人の username をこの Issue の該当ページに追記してください。例:
- [ ] #1 Home Page (@gatsbybot)
以下の様なアイコンを入れると、状況が見やすいです。
🏃♂️ : In Progress
Pull Request が作られたら、#番号を追記してください。マージしたら、完了のチェックをつけましょう!
レビューは 2 approval 体制で行います。 レビュー数が足りない Issue を見つけたら、積極的にレビューを行ってください。
先に Core Pages の翻訳をお願いします。 Gatsby の公式ローカライゼーションとして承認されるには、これらのページの翻訳が必要となります。
Core Pages の翻訳は完了しました:tada:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.