From 5f9d1a4aa355acc57bdd0c80a88517b1aaf5c682 Mon Sep 17 00:00:00 2001 From: yunusemredilber Date: Sun, 2 Jan 2022 14:48:24 +0300 Subject: [PATCH 1/3] Fix wrong ci workflow file name --- .github/workflows/analyze.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 13a37a88c..b82891165 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -54,7 +54,7 @@ jobs: uses: dawidd6/action-download-artifact@v2 if: success() && github.event.number with: - workflow: bundle_analysis_upload.yml + workflow: analyze.yml branch: ${{ github.event.pull_request.base.ref }} name: bundle_analysis.json path: beta/.next/analyze/base/bundle From a9894df5a01de2acb5f51bf5a20f1860cfb33109 Mon Sep 17 00:00:00 2001 From: yunusemredilber Date: Sun, 2 Jan 2022 14:54:11 +0300 Subject: [PATCH 2/3] Change beta next build cache key --- .github/workflows/analyze.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index b82891165..0fc8fa77e 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -31,7 +31,7 @@ jobs: with: path: beta/.next/cache # change this if you prefer a more strict cache - key: ${{ runner.os }}-build-${{ env.cache-name }} + key: ${{ runner.os }}-build-${{ env.cache-name }}-reactjs-tr-org - name: Build next.js app # change this if your site requires a custom build command From b9a8f6d9087319a8749635c49e5fbb37a8505c5d Mon Sep 17 00:00:00 2001 From: yunusemredilber Date: Sun, 2 Jan 2022 15:00:08 +0300 Subject: [PATCH 3/3] Fix lint issues --- examples/context/motivation-solution.js | 2 +- examples/context/updating-nested-context-app.js | 2 +- .../context/updating-nested-context-theme-toggler-button.js | 2 +- src/components/ErrorDecoder/ErrorDecoder.js | 6 +++--- src/components/MarkdownPage/MarkdownPage.js | 4 ++-- src/components/TitleAndMetaTags/TitleAndMetaTags.js | 3 ++- src/pages/404.js | 3 ++- 7 files changed, 12 insertions(+), 10 deletions(-) diff --git a/examples/context/motivation-solution.js b/examples/context/motivation-solution.js index 745b92020..5dc1112a0 100644 --- a/examples/context/motivation-solution.js +++ b/examples/context/motivation-solution.js @@ -1,5 +1,5 @@ // highlight-range{1-4} -// Context her bir bileşenin içinden açıkça geçmeden, +// Context her bir bileşenin içinden açıkça geçmeden, // bileşen ağacının derinliklerine bir value geçmemizi sağlar. // Mevcut theme için bir context oluştur (varsayılan olarak "light" ile). const ThemeContext = React.createContext('light'); diff --git a/examples/context/updating-nested-context-app.js b/examples/context/updating-nested-context-app.js index 328594872..35c28d4a1 100644 --- a/examples/context/updating-nested-context-app.js +++ b/examples/context/updating-nested-context-app.js @@ -15,7 +15,7 @@ class App extends React.Component { }; // highlight-range{1-2,5} - // State ayrıca güncelleme işlevini içerir, + // State ayrıca güncelleme işlevini içerir, // böylece context provider'a aktarılır. this.state = { theme: themes.light, diff --git a/examples/context/updating-nested-context-theme-toggler-button.js b/examples/context/updating-nested-context-theme-toggler-button.js index ef3270fe4..ebf1d3680 100644 --- a/examples/context/updating-nested-context-theme-toggler-button.js +++ b/examples/context/updating-nested-context-theme-toggler-button.js @@ -2,7 +2,7 @@ import {ThemeContext} from './theme-context'; function ThemeTogglerButton() { // highlight-range{1-2,5} - // Tema Değiştirme Düğmesi yalnızca temayı değil, + // Tema Değiştirme Düğmesi yalnızca temayı değil, // aynı zamanda context'ten bir toggleTheme methodu alır return ( diff --git a/src/components/ErrorDecoder/ErrorDecoder.js b/src/components/ErrorDecoder/ErrorDecoder.js index 911620e6e..7eacb655d 100644 --- a/src/components/ErrorDecoder/ErrorDecoder.js +++ b/src/components/ErrorDecoder/ErrorDecoder.js @@ -69,8 +69,8 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { if (!code) { return (

- Bir hata ile karşılaştığınızda, söz konusu hata için bu sayfaya - bir bağlantı alırsınız ve size tam hata metnini gösteririz. + {`Bir hata ile karşılaştığınızda, söz konusu hata için bu sayfaya bir + bağlantı alırsınız ve size tam hata metnini gösteririz.`}

); } @@ -78,7 +78,7 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { return (

- Az önce karşılaştığınız hatanın tam metni: + {`Az önce karşılaştığınız hatanın tam metni:`}

{urlify(errorMsg)} diff --git a/src/components/MarkdownPage/MarkdownPage.js b/src/components/MarkdownPage/MarkdownPage.js index 1440eed2e..c5e719a25 100644 --- a/src/components/MarkdownPage/MarkdownPage.js +++ b/src/components/MarkdownPage/MarkdownPage.js @@ -106,8 +106,8 @@ const MarkdownPage = ({ key={author.frontmatter.name}> {author.frontmatter.name} - ))} - {' '}tarafından + ))}{' '} + tarafından )}
diff --git a/src/components/TitleAndMetaTags/TitleAndMetaTags.js b/src/components/TitleAndMetaTags/TitleAndMetaTags.js index 98f0f8973..a24988e06 100644 --- a/src/components/TitleAndMetaTags/TitleAndMetaTags.js +++ b/src/components/TitleAndMetaTags/TitleAndMetaTags.js @@ -11,7 +11,8 @@ import {urlRoot} from 'site-constants'; // $FlowFixMe This is a valid path import languages from '../../../content/languages.yml'; -const defaultDescription = 'Kullanıcı arayüzleri geliştirebileceğiniz bir JavaScript kütüphanesi'; +const defaultDescription = + 'Kullanıcı arayüzleri geliştirebileceğiniz bir JavaScript kütüphanesi'; type Props = { title: string, diff --git a/src/pages/404.js b/src/pages/404.js index 0b0b18d7a..af33cfe6f 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -26,7 +26,8 @@ const PageNotFound = ({location}: Props) => (

Aradığınız şeyi bulamadık.

- Lütfen sizi orijinal URL’e bağlayan sitenin sahibiyle iletişime geçin ve bağlantılarının bozuk olduğunu bildirin. + Lütfen sizi orijinal URL’e bağlayan sitenin sahibiyle iletişime + geçin ve bağlantılarının bozuk olduğunu bildirin.