diff --git a/client/i18n/locales/chinese/translations.json b/client/i18n/locales/chinese/translations.json index bd9b801a4e..144873621a 100644 --- a/client/i18n/locales/chinese/translations.json +++ b/client/i18n/locales/chinese/translations.json @@ -377,6 +377,8 @@ "heres-a-quote": "我们未找到你搜索的信息。这里分享一句名言:" }, "search": { + "index-name": "news-zh", + "search-page-url": "https://chinese.freecodecamp.org/news/search/?query={{searchQuery}}", "label": "搜索", "placeholder": "搜索 6,000+ 篇教程", "see-results": "查看 {{searchQuery}} 的所有结果", diff --git a/client/i18n/locales/chinese/trending.json b/client/i18n/locales/chinese/trending.json index e0a12d9d2e..8a99e8b859 100644 --- a/client/i18n/locales/chinese/trending.json +++ b/client/i18n/locales/chinese/trending.json @@ -1,62 +1,62 @@ { - "article1title": "Chinese: Git Clone", - "article1link": "https://www.freecodecamp.org/news/git-clone-branch-how-to-clone-a-specific-branch/", - "article2title": "Chinese: Agile Methods", - "article2link": "https://www.freecodecamp.org/news/agile-methods-and-methodology-for-beginners/", - "article3title": "Chinese: Python Main", - "article3link": "https://www.freecodecamp.org/news/if-name-main-python-example/", - "article4title": "Chinese: Callback", - "article4link": "https://www.freecodecamp.org/news/javascript-callback-functions-what-are-callbacks-in-js-and-how-to-use-them/", - "article5title": "Chinese: Debounce", - "article5link": "https://www.freecodecamp.org/news/debounce-javascript-tutorial-how-to-make-your-js-wait-up/", - "article6title": "Chinese: URL Encode", - "article6link": "https://www.freecodecamp.org/news/javascript-url-encode-example-how-to-use-encodeuricomponent-and-encodeuri/", - "article7title": "Chinese: Blink HTML", - "article7link": "https://www.freecodecamp.org/news/make-it-blink-html-tutorial-how-to-use-the-blink-tag-with-code-examples/", - "article8title": "Chinese: Python Tuple", - "article8link": "https://www.freecodecamp.org/news/python-returns-multiple-values-how-to-return-a-tuple-list-dictionary/", - "article9title": "Chinese: JavaScript Push", - "article9link": "https://www.freecodecamp.org/news/javascript-array-insert-how-to-add-to-an-array-with-the-push-unshift-and-concat-functions/", - "article10title": "Chinese: Java List", - "article10link": "https://www.freecodecamp.org/news/java-list-tutorial-util-list-api-example/", - "article11title": "Chinese: UX", - "article11link": "https://www.freecodecamp.org/news/learn-ux-design-self-taught-user-experience-designer/", - "article12title": "Chinese: Design Thinking", - "article12link": "https://www.freecodecamp.org/news/what-is-design-thinking-an-introduction-to-the-design-process-for-entrepreneurs-and-developers/", - "article13title": "Chinese: Prime Number List", - "article13link": "https://www.freecodecamp.org/news/prime-numbers-list-chart-of-primes/", - "article14title": "Chinese: Product Design", - "article14link": "https://www.freecodecamp.org/news/product-design-explained-in-plain-english/", - "article15title": "Chinese: Digital Design", - "article15link": "https://www.freecodecamp.org/news/what-is-digital-design-and-why-does-it-matter/", - "article16title": "Chinese: Coding Games", - "article16link": "https://www.freecodecamp.org/news/best-coding-games-online-adults-learn-to-code/", - "article17title": "Chinese: SVM", - "article17link": "https://www.freecodecamp.org/news/svm-machine-learning-tutorial-what-is-the-support-vector-machine-algorithm-explained-with-code-examples/", - "article18title": "Chinese: JavaScript forEach", - "article18link": "https://www.freecodecamp.org/news/javascript-foreach-how-to-loop-through-an-array-in-js/", - "article19title": "Chinese: Google BERT", - "article19link": "https://www.freecodecamp.org/news/google-bert-nlp-machine-learning-tutorial/", - "article20title": "Chinese: Create Table SQL", - "article20link": "https://www.freecodecamp.org/news/sql-create-table-statement-with-example-syntax/", - "article21title": "Chinese: Responsive Web Design", - "article21link": "https://www.freecodecamp.org/news/responsive-web-design-how-to-make-a-website-look-good-on-phones-and-tablets/", - "article22title": "Chinese: What Is an SVG File?", - "article22link": "https://www.freecodecamp.org/news/svg-basics-what-are-scalable-vector-graphics-and-how-do-you-use-them/", - "article23title": "Chinese: PDF Password Remover", - "article23link": "https://www.freecodecamp.org/news/pdf-password-remover-guide-how-to-remove-password-protection-from-a-pdf/", - "article24title": "Chinese: What Is a PDF?", - "article24link": "https://www.freecodecamp.org/news/what-is-a-pdf-file-and-how-do-you-open-it-solved/", - "article25title": "Chinese: What Is Python?", - "article25link": "https://www.freecodecamp.org/news/what-is-python-used-for-10-coding-uses-for-the-python-programming-language/", - "article26title": "Chinese: What Is TLS?", - "article26link": "https://www.freecodecamp.org/news/what-is-tls-transport-layer-security-encryption-explained-in-plain-english/", - "article27title": "Chinese: What Is a LAN?", - "article27link": "https://www.freecodecamp.org/news/what-is-a-lan-local-area-network-explained-in-plain-english/", - "article28title": "Chinese: What Is npm?", - "article28link": "https://www.freecodecamp.org/news/what-is-npm-a-node-package-manager-tutorial-for-beginners/", - "article29title": "Chinese: RSync Examples", - "article29link": "https://www.freecodecamp.org/news/rsync-examples-rsync-options-and-how-to-copy-files-over-ssh/", - "article30title": "Chinese: Random Forest", - "article30link": "https://www.freecodecamp.org/news/how-to-use-the-tree-based-algorithm-for-machine-learning/" + "article0title": "Golang Benchmark", + "article0link": "https://chinese.freecodecamp.org/news/golang-benchmark/", + "article1title": "树莓派", + "article1link": "https://chinese.freecodecamp.org/news/build-a-personal-dev-server-on-a-5-dollar-raspberry-pi/", + "article2title": "如何发布一个网站", + "article2link": "https://chinese.freecodecamp.org/news/publish-a-no-code-website-in-10-minutes/", + "article3title": "PWA 入门与实践", + "article3link": "https://chinese.freecodecamp.org/news/a-brief-introduction-to-pwa/", + "article4title": "Git 删除分支", + "article4link": "https://chinese.freecodecamp.org/news/how-to-delete-a-git-branch-both-locally-and-remotely/", + "article5title": "NPM 教程", + "article5link": "https://chinese.freecodecamp.org/news/what-is-npm-a-node-package-manager-tutorial-for-beginners/", + "article6title": "前端开发学习路线", + "article6link": "https://chinese.freecodecamp.org/news/map-of-learning-front-end/", + "article7title": "谷歌小恐龙", + "article7link": "https://chinese.freecodecamp.org/news/do-you-know-the-chrome-dino-game-millions-of-people-are-playing/", + "article8title": "GraphQL 教程", + "article8link": "https://chinese.freecodecamp.org/news/a-detailed-guide-to-graphql/", + "article9title": "Webpack 多入口配置", + "article9link": "https://chinese.freecodecamp.org/news/an-introduction-to-webpack-multi-entry-configuration/", + "article10title": "TypeScript", + "article10link": "https://chinese.freecodecamp.org/news/why-should-you-use-typescript/", + "article11title": "Web 开发工程师", + "article11link": "https://chinese.freecodecamp.org/news/the-practical-guide-to-becoming-a-professional-web-developer/", + "article12title": "提交第一个 PR", + "article12link": "https://chinese.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github/", + "article13title": "Express ES6 支持", + "article13link": "https://chinese.freecodecamp.org/news/how-to-enable-es6-and-beyond-syntax-with-node-and-express/", + "article14title": "Python 快速排序算法", + "article14link": "https://chinese.freecodecamp.org/news/sorting-in-python/", + "article15title": "React 作品集", + "article15link": "https://chinese.freecodecamp.org/news/portfolio-app-using-react/", + "article16title": "JS 隐式类型转换", + "article16link": "https://chinese.freecodecamp.org/news/javascript-implicit-type-conversion/", + "article17title": "Deno 入门手册", + "article17link": "https://chinese.freecodecamp.org/news/the-deno-handbook-with-examples/", + "article18title": "前端和后端的区别", + "article18link": "https://chinese.freecodecamp.org/news/front-end-developer-vs-back-end-developer-definition-and-meaning-in-practice/", + "article19title": "JS 函数的 this 指向", + "article19link": "https://chinese.freecodecamp.org/news/javascript-this/", + "article20title": "GitHub Pages 部署网页", + "article20link": "https://chinese.freecodecamp.org/news/create-a-free-static-site-with-github-pages-in-10-minutes/", + "article21title": "第一门编程语言", + "article21link": "https://chinese.freecodecamp.org/news/what-programming-language-should-i-learn-first/", + "article22title": "配置 VS Code", + "article22link": "https://chinese.freecodecamp.org/news/how-to-set-up-vscode-to-improve-your-productivity/", + "article23title": "前端学习路线", + "article23link": "https://chinese.freecodecamp.org/news/map-of-learning-front-end/", + "article24title": "自学编程", + "article24link": "https://chinese.freecodecamp.org/news/first-line-of-code-to-226k-job-offer-in-8-months/", + "article25title": "Java", + "article25link": "https://chinese.freecodecamp.org/news/java-you-have-not-know-about/", + "article26title": "React 学习手册", + "article26link": "https://chinese.freecodecamp.org/news/the-react-handbook/", + "article27title": "JSON 文件注释", + "article27link": "https://chinese.freecodecamp.org/news/json-comment/", + "article28title": "Canvas 动画", + "article28link": "https://chinese.freecodecamp.org/news/canvas-animation-performance-optimization-practice/", + "article29title": "JWT 授权和认证", + "article29link": "https://chinese.freecodecamp.org/news/java-spring-boot-jwt-authorization-and-authentication/" } diff --git a/client/i18n/locales/english/translations.json b/client/i18n/locales/english/translations.json index 9d178a8fe4..a29867a6bc 100644 --- a/client/i18n/locales/english/translations.json +++ b/client/i18n/locales/english/translations.json @@ -379,6 +379,8 @@ "heres-a-quote": "We couldn't find what you were looking for, but here is a quote:" }, "search": { + "index-name": "news", + "search-page-url": "https://www.freecodecamp.org/news/search/?query={{searchQuery}}", "label": "Search", "placeholder": "Search 6,000+ tutorials", "see-results": "See all results for {{searchQuery}}", diff --git a/client/i18n/locales/english/trending.json b/client/i18n/locales/english/trending.json index 65c39fab6f..ac64d37fac 100644 --- a/client/i18n/locales/english/trending.json +++ b/client/i18n/locales/english/trending.json @@ -1,62 +1,62 @@ { - "article1title": "Git Clone", - "article1link": "https://www.freecodecamp.org/news/git-clone-branch-how-to-clone-a-specific-branch/", - "article2title": "Agile Methods", - "article2link": "https://www.freecodecamp.org/news/agile-methods-and-methodology-for-beginners/", - "article3title": "Python Main", - "article3link": "https://www.freecodecamp.org/news/if-name-main-python-example/", - "article4title": "Callback", - "article4link": "https://www.freecodecamp.org/news/javascript-callback-functions-what-are-callbacks-in-js-and-how-to-use-them/", - "article5title": "Debounce", - "article5link": "https://www.freecodecamp.org/news/debounce-javascript-tutorial-how-to-make-your-js-wait-up/", - "article6title": "URL Encode", - "article6link": "https://www.freecodecamp.org/news/javascript-url-encode-example-how-to-use-encodeuricomponent-and-encodeuri/", - "article7title": "Blink HTML", - "article7link": "https://www.freecodecamp.org/news/make-it-blink-html-tutorial-how-to-use-the-blink-tag-with-code-examples/", - "article8title": "Python Tuple", - "article8link": "https://www.freecodecamp.org/news/python-returns-multiple-values-how-to-return-a-tuple-list-dictionary/", - "article9title": "JavaScript Push", - "article9link": "https://www.freecodecamp.org/news/javascript-array-insert-how-to-add-to-an-array-with-the-push-unshift-and-concat-functions/", - "article10title": "Java List", - "article10link": "https://www.freecodecamp.org/news/java-list-tutorial-util-list-api-example/", - "article11title": "UX", - "article11link": "https://www.freecodecamp.org/news/learn-ux-design-self-taught-user-experience-designer/", - "article12title": "Design Thinking", - "article12link": "https://www.freecodecamp.org/news/what-is-design-thinking-an-introduction-to-the-design-process-for-entrepreneurs-and-developers/", - "article13title": "Prime Number List", - "article13link": "https://www.freecodecamp.org/news/prime-numbers-list-chart-of-primes/", - "article14title": "Product Design", - "article14link": "https://www.freecodecamp.org/news/product-design-explained-in-plain-english/", - "article15title": "Digital Design", - "article15link": "https://www.freecodecamp.org/news/what-is-digital-design-and-why-does-it-matter/", - "article16title": "Coding Games", - "article16link": "https://www.freecodecamp.org/news/best-coding-games-online-adults-learn-to-code/", - "article17title": "SVM", - "article17link": "https://www.freecodecamp.org/news/svm-machine-learning-tutorial-what-is-the-support-vector-machine-algorithm-explained-with-code-examples/", - "article18title": "JavaScript forEach", - "article18link": "https://www.freecodecamp.org/news/javascript-foreach-how-to-loop-through-an-array-in-js/", - "article19title": "Google BERT", - "article19link": "https://www.freecodecamp.org/news/google-bert-nlp-machine-learning-tutorial/", - "article20title": "Create Table SQL", - "article20link": "https://www.freecodecamp.org/news/sql-create-table-statement-with-example-syntax/", - "article21title": "Responsive Web Design", - "article21link": "https://www.freecodecamp.org/news/responsive-web-design-how-to-make-a-website-look-good-on-phones-and-tablets/", - "article22title": "What Is an SVG File?", - "article22link": "https://www.freecodecamp.org/news/svg-basics-what-are-scalable-vector-graphics-and-how-do-you-use-them/", - "article23title": "PDF Password Remover", - "article23link": "https://www.freecodecamp.org/news/pdf-password-remover-guide-how-to-remove-password-protection-from-a-pdf/", - "article24title": "What Is a PDF?", - "article24link": "https://www.freecodecamp.org/news/what-is-a-pdf-file-and-how-do-you-open-it-solved/", - "article25title": "What Is Python?", - "article25link": "https://www.freecodecamp.org/news/what-is-python-used-for-10-coding-uses-for-the-python-programming-language/", - "article26title": "What Is TLS?", - "article26link": "https://www.freecodecamp.org/news/what-is-tls-transport-layer-security-encryption-explained-in-plain-english/", - "article27title": "What Is a LAN?", - "article27link": "https://www.freecodecamp.org/news/what-is-a-lan-local-area-network-explained-in-plain-english/", - "article28title": "What Is npm?", - "article28link": "https://www.freecodecamp.org/news/what-is-npm-a-node-package-manager-tutorial-for-beginners/", - "article29title": "RSync Examples", - "article29link": "https://www.freecodecamp.org/news/rsync-examples-rsync-options-and-how-to-copy-files-over-ssh/", - "article30title": "Random Forest", - "article30link": "https://www.freecodecamp.org/news/how-to-use-the-tree-based-algorithm-for-machine-learning/" + "article0title": "What is Docker?", + "article0link": "https://www.freecodecamp.org/news/what-is-docker-used-for-a-docker-container-tutorial-for-beginners/", + "article1title": "TCP/IP Model", + "article1link": "https://www.freecodecamp.org/news/what-is-tcp-ip-layers-and-protocols-explained/", + "article2title": "RTF File", + "article2link": "https://www.freecodecamp.org/news/rtf-file-what-is-the-rich-text-format/", + "article3title": "CSS Transition", + "article3link": "https://www.freecodecamp.org/news/css-transition-examples/", + "article4title": "How to Use Instagram?", + "article4link": "https://www.freecodecamp.org/news/how-to-use-instagram-like-a-pro/", + "article5title": "MBR VS GPT", + "article5link": "https://www.freecodecamp.org/news/mbr-vs-gpt-whats-the-difference-between-an-mbr-partition-and-a-gpt-partition-solved/", + "article6title": "FAT32 Format", + "article6link": "https://www.freecodecamp.org/news/how-to-format-a-usb-drive-to-fat32-on-windows-10/", + "article7title": "Error 503 Code", + "article7link": "https://www.freecodecamp.org/news/http-error-503-service-unavailable-explained-what-the-503-error-code-means/", + "article8title": "Windows Hosts File", + "article8link": "https://www.freecodecamp.org/news/how-to-find-and-edit-a-windows-hosts-file/", + "article9title": "Mobi to PDF", + "article9link": "https://www.freecodecamp.org/news/mobi-to-pdf-how-to-convert-to-and-from-a-mobi-file/", + "article10title": "What is STEM?", + "article10link": "https://www.freecodecamp.org/news/what-is-stem-the-meaning-of-an-acronym-youll-hear-a-lot-in-school/", + "article11title": "JavaScript Void 0", + "article11link": "https://www.freecodecamp.org/news/javascript-void-keyword-explained/", + "article12title": "SQL Delete Row", + "article12link": "https://www.freecodecamp.org/news/sql-delete-row-statement-examples/", + "article13title": "JavaScript Replace", + "article13link": "https://www.freecodecamp.org/news/javascript-string-replace-example-with-regex/", + "article14title": "Python JSON Parser", + "article14link": "https://www.freecodecamp.org/news/python-read-json-file-how-to-load-json-from-a-file-and-parse-dumps/", + "article15title": "cmd Delete Folder", + "article15link": "https://www.freecodecamp.org/news/cmd-delete-folder-how-to-remove-files-and-folders-in-windows/", + "article16title": "What is NFC?", + "article16link": "https://www.freecodecamp.org/news/what-is-nfc-near-field-communication-uses-chips-tags-and-readers-explained/", + "article17title": "Content Type JSON", + "article17link": "https://www.freecodecamp.org/news/what-is-the-correct-content-type-for-json-request-header-mime-type-explained/", + "article18title": "Convert HEIC to JPG", + "article18link": "https://www.freecodecamp.org/news/heic-to-jpg-how-to-convert-images-on-a-mac/", + "article19title": "Math Random Java", + "article19link": "https://www.freecodecamp.org/news/generate-random-numbers-java/", + "article20title": "WordPress for Beginners", + "article20link": "https://www.freecodecamp.org/news/how-to-start-a-blog-with-wordpress/", + "article21title": "Qualitative VS Quantitative", + "article21link": "https://www.freecodecamp.org/news/qualitative-vs-quantitative-definition-research-methods-and-data/", + "article22title": "JavaScript Split String", + "article22link": "https://www.freecodecamp.org/news/javascript-split-string-example/", + "article23title": "Accented Letters on Mac", + "article23link": "https://www.freecodecamp.org/news/how-to-type-letters-with-accents-on-mac/", + "article24title": "Windows 10 Product Key", + "article24link": "https://www.freecodecamp.org/news/how-to-find-a-windows-10-product-key/", + "article25title": "Google Docs Landscape", + "article25link": "https://www.freecodecamp.org/news/google-docs-landscape-tutorial-how-to-make-a-google-doc-landscape-orientation/", + "article26title": "Antimalware Executable", + "article26link": "https://www.freecodecamp.org/news/antimalware-service-executable-what-is-msmpeng-exe-and-why-is-it-running-in-windows-10/", + "article27title": "Windows 10 Start Menu", + "article27link": "https://www.freecodecamp.org/news/windows-10-start-menu-not-working-solved/", + "article28title": "Windows 10 Command Line", + "article28link": "https://www.freecodecamp.org/news/how-to-open-the-command-prompt-in-windows-10/", + "article29title": "Google Account Recovery", + "article29link": "https://www.freecodecamp.org/news/google-account-recovery-change-gmail-password/" } diff --git a/client/i18n/locales/espanol/translations.json b/client/i18n/locales/espanol/translations.json index e60d318a55..922f611e79 100644 --- a/client/i18n/locales/espanol/translations.json +++ b/client/i18n/locales/espanol/translations.json @@ -379,6 +379,8 @@ "heres-a-quote": "No pudimos encontrar lo que estabas buscando, pero aquí hay una cita:" }, "search": { + "index-name": "news-es", + "search-page-url": "https://www.freecodecamp.org/espanol/news/search/?query={{searchQuery}}", "label": "Buscar", "placeholder": "Buscar tutorial", "see-results": "Ver todos los resultados de {{searchQuery}}", diff --git a/client/i18n/locales/espanol/trending.json b/client/i18n/locales/espanol/trending.json index 30a5adfdcb..3ed41f7d48 100644 --- a/client/i18n/locales/espanol/trending.json +++ b/client/i18n/locales/espanol/trending.json @@ -1,62 +1,62 @@ { - "article1title": "Spanish: Git Clone", - "article1link": "https://www.freecodecamp.org/news/git-clone-branch-how-to-clone-a-specific-branch/", - "article2title": "Spanish: Agile Methods", - "article2link": "https://www.freecodecamp.org/news/agile-methods-and-methodology-for-beginners/", - "article3title": "Spanish: Python Main", - "article3link": "https://www.freecodecamp.org/news/if-name-main-python-example/", - "article4title": "Spanish: Callback", - "article4link": "https://www.freecodecamp.org/news/javascript-callback-functions-what-are-callbacks-in-js-and-how-to-use-them/", - "article5title": "Spanish: Debounce", - "article5link": "https://www.freecodecamp.org/news/debounce-javascript-tutorial-how-to-make-your-js-wait-up/", - "article6title": "Spanish: URL Encode", - "article6link": "https://www.freecodecamp.org/news/javascript-url-encode-example-how-to-use-encodeuricomponent-and-encodeuri/", - "article7title": "Spanish: Blink HTML", - "article7link": "https://www.freecodecamp.org/news/make-it-blink-html-tutorial-how-to-use-the-blink-tag-with-code-examples/", - "article8title": "Spanish: Python Tuple", - "article8link": "https://www.freecodecamp.org/news/python-returns-multiple-values-how-to-return-a-tuple-list-dictionary/", - "article9title": "Spanish: JavaScript Push", - "article9link": "https://www.freecodecamp.org/news/javascript-array-insert-how-to-add-to-an-array-with-the-push-unshift-and-concat-functions/", - "article10title": "Spanish: Java List", - "article10link": "https://www.freecodecamp.org/news/java-list-tutorial-util-list-api-example/", - "article11title": "Spanish: UX", - "article11link": "https://www.freecodecamp.org/news/learn-ux-design-self-taught-user-experience-designer/", - "article12title": "Spanish: Design Thinking", - "article12link": "https://www.freecodecamp.org/news/what-is-design-thinking-an-introduction-to-the-design-process-for-entrepreneurs-and-developers/", - "article13title": "Spanish: Prime Number List", - "article13link": "https://www.freecodecamp.org/news/prime-numbers-list-chart-of-primes/", - "article14title": "Spanish: Product Design", - "article14link": "https://www.freecodecamp.org/news/product-design-explained-in-plain-english/", - "article15title": "Spanish: Digital Design", - "article15link": "https://www.freecodecamp.org/news/what-is-digital-design-and-why-does-it-matter/", - "article16title": "Spanish: Coding Games", - "article16link": "https://www.freecodecamp.org/news/best-coding-games-online-adults-learn-to-code/", - "article17title": "Spanish: SVM", - "article17link": "https://www.freecodecamp.org/news/svm-machine-learning-tutorial-what-is-the-support-vector-machine-algorithm-explained-with-code-examples/", - "article18title": "Spanish: JavaScript forEach", - "article18link": "https://www.freecodecamp.org/news/javascript-foreach-how-to-loop-through-an-array-in-js/", - "article19title": "Spanish: Google BERT", - "article19link": "https://www.freecodecamp.org/news/google-bert-nlp-machine-learning-tutorial/", - "article20title": "Spanish: Create Table SQL", - "article20link": "https://www.freecodecamp.org/news/sql-create-table-statement-with-example-syntax/", - "article21title": "Spanish: Responsive Web Design", - "article21link": "https://www.freecodecamp.org/news/responsive-web-design-how-to-make-a-website-look-good-on-phones-and-tablets/", - "article22title": "Spanish: What Is an SVG File?", - "article22link": "https://www.freecodecamp.org/news/svg-basics-what-are-scalable-vector-graphics-and-how-do-you-use-them/", - "article23title": "Spanish: PDF Password Remover", - "article23link": "https://www.freecodecamp.org/news/pdf-password-remover-guide-how-to-remove-password-protection-from-a-pdf/", - "article24title": "Spanish: What Is a PDF?", - "article24link": "https://www.freecodecamp.org/news/what-is-a-pdf-file-and-how-do-you-open-it-solved/", - "article25title": "Spanish: What Is Python?", - "article25link": "https://www.freecodecamp.org/news/what-is-python-used-for-10-coding-uses-for-the-python-programming-language/", - "article26title": "Spanish: What Is TLS?", - "article26link": "https://www.freecodecamp.org/news/what-is-tls-transport-layer-security-encryption-explained-in-plain-english/", - "article27title": "Spanish: What Is a LAN?", - "article27link": "https://www.freecodecamp.org/news/what-is-a-lan-local-area-network-explained-in-plain-english/", - "article28title": "Spanish: What Is npm?", - "article28link": "https://www.freecodecamp.org/news/what-is-npm-a-node-package-manager-tutorial-for-beginners/", - "article29title": "Spanish: RSync Examples", - "article29link": "https://www.freecodecamp.org/news/rsync-examples-rsync-options-and-how-to-copy-files-over-ssh/", - "article30title": "Spanish: Random Forest", - "article30link": "https://www.freecodecamp.org/news/how-to-use-the-tree-based-algorithm-for-machine-learning/" + "article0title": "Git Clone", + "article0link": "https://www.freecodecamp.org/espanol/news/como-clonar-una-branch-en-git/", + "article1title": "Métodos Agile", + "article1link": "https://www.freecodecamp.org/espanol/news/metodologia-agile/", + "article2title": "Python Main", + "article2link": "https://www.freecodecamp.org/espanol/news/python-if-name-main/", + "article3title": "Callback", + "article3link": "https://www.freecodecamp.org/news/javascript-callback-functions-what-are-callbacks-in-js-and-how-to-use-them/", + "article4title": "Debounce", + "article4link": "https://www.freecodecamp.org/espanol/news/curso-debounce-javascript-como-hacer-que-tu-js-espere/", + "article5title": "URL Encode", + "article5link": "https://www.freecodecamp.org/espanol/news/url-codificacion-como-utilizar-encodeuricomponent-javascript/", + "article6title": "Blink HTML", + "article6link": "https://www.freecodecamp.org/news/make-it-blink-html-tutorial-how-to-use-the-blink-tag-with-code-examples/", + "article7title": "Python Tupla", + "article7link": "https://www.freecodecamp.org/espanol/news/tuplas-listas-python/", + "article8title": "JavaScript Push", + "article8link": "https://www.freecodecamp.org/espanol/news/como-agregar-elementos-a-un-arreglo/", + "article9title": "Java List", + "article9link": "https://www.freecodecamp.org/news/java-list-tutorial-util-list-api-example/", + "article10title": "UX", + "article10link": "https://www.freecodecamp.org/espanol/news/diseno-ux-convertirse-en-un-disenador-de-experiencia-de-usuario/", + "article11title": "Proceso de Diseño", + "article11link": "https://www.freecodecamp.org/espanol/news/pensamiento-de-diseno-emprendedores-desarrolladores/", + "article12title": "Números Primos", + "article12link": "https://www.freecodecamp.org/espanol/news/lista-de-numeros-primos-una-grafica-con-todos-los/", + "article13title": "Diseño de Producto", + "article13link": "https://www.freecodecamp.org/espanol/news/product-design-explicado-en-un-espanol-sencillo/", + "article14title": "Digital Design", + "article14link": "https://www.freecodecamp.org/news/what-is-digital-design-and-why-does-it-matter/", + "article15title": "Juegos de Código", + "article15link": "https://www.freecodecamp.org/espanol/news/los-mejores-juegos-online-para-aprender-programar/", + "article16title": "SVM", + "article16link": "https://www.freecodecamp.org/news/svm-machine-learning-tutorial-what-is-the-support-vector-machine-algorithm-explained-with-code-examples/", + "article17title": "JavaScript forEach", + "article17link": "https://www.freecodecamp.org/news/javascript-foreach-how-to-loop-through-an-array-in-js/", + "article18title": "Google BERT", + "article18link": "https://www.freecodecamp.org/news/google-bert-nlp-machine-learning-tutorial/", + "article19title": "Create Table SQL", + "article19link": "https://www.freecodecamp.org/espanol/news/create-table-sql-server-con-ejemplo/", + "article20title": "Diseño Web Responsive", + "article20link": "https://www.freecodecamp.org/espanol/news/diseno-web-responsive-como-hacer-que-un-sitio-web-se-vea-bien-en-telefonos-y-tabletas/", + "article21title": "¿Qué es un archivo SVG?", + "article21link": "https://www.freecodecamp.org/espanol/news/que-es-svg-explicacion-de-etiquetas-imagenes/", + "article22title": "PDF Password Remover", + "article22link": "https://www.freecodecamp.org/news/pdf-password-remover-guide-how-to-remove-password-protection-from-a-pdf/", + "article23title": "¿Qué es un Archivo PDF?", + "article23link": "https://www.freecodecamp.org/espanol/news/que-es-un-archivo-pdf-como-lo-abres/", + "article24title": "What Is Python?", + "article24link": "https://www.freecodecamp.org/news/what-is-python-used-for-10-coding-uses-for-the-python-programming-language/", + "article25title": "¿Qué es TLS?", + "article25link": "https://www.freecodecamp.org/espanol/news/que-is-tls-explicado-en-espanol-simple/", + "article26title": "¿Qué es una red LAN?", + "article26link": "https://www.freecodecamp.org/espanol/news/que-es-una-red-lan-explicada-en-espanol/", + "article27title": "¿Qué es npm?", + "article27link": "https://www.freecodecamp.org/espanol/news/node-js-npm-tutorial/", + "article28title": "Ejemplos de RSync", + "article28link": "https://www.freecodecamp.org/espanol/news/rsync-ejemplos-opciones-y-copiar-archivos-atraves-ssh/", + "article29title": "Random Forest", + "article29link": "https://www.freecodecamp.org/news/how-to-use-the-tree-based-algorithm-for-machine-learning/" } diff --git a/client/i18n/translations-schema.js b/client/i18n/translations-schema.js index 81c4600171..1b9bd9e624 100644 --- a/client/i18n/translations-schema.js +++ b/client/i18n/translations-schema.js @@ -98,7 +98,7 @@ const translationsSchema = { 'ask-later': 'Ask me later' }, landing: { - 'big-heading-1': 'Learn to code at home.', + 'big-heading-1': 'Learn to code — for free.', 'big-heading-2': 'Build projects.', 'big-heading-3': 'Earn certifications.', 'h2-heading': @@ -449,8 +449,11 @@ const translationsSchema = { "We couldn't find what you were looking for, but here is a quote:" }, search: { + 'index-name': 'news', + 'search-page-url': + 'https://www.freecodecamp.org/news/search/?query={{searchQuery}}', label: 'Search', - placeholder: 'Search 6,000+ tutorial', + placeholder: 'Search 6,000+ tutorials', 'see-results': 'See all results for {{searchQuery}}', 'no-tutorials': 'No tutorials found', try: 'Looking for something? Try the search bar on this page.', diff --git a/client/i18n/trending-schema.js b/client/i18n/trending-schema.js index ee71623d6b..b72b36f562 100644 --- a/client/i18n/trending-schema.js +++ b/client/i18n/trending-schema.js @@ -4,96 +4,95 @@ */ const trendingSchema = { - article1title: 'Git Clone', + article0title: 'What is Docker?', + article0link: + 'https://www.freecodecamp.org/news/what-is-docker-used-for-a-docker-container-tutorial-for-beginners/', + article1title: 'TCP/IP Model', article1link: - 'https://www.freecodecamp.org/news/git-clone-branch-how-to-clone-a-specific-branch/', - article2title: 'Agile Methods', + 'https://www.freecodecamp.org/news/what-is-tcp-ip-layers-and-protocols-explained/', + article2title: 'RTF File', article2link: - 'https://www.freecodecamp.org/news/agile-methods-and-methodology-for-beginners/', - article3title: 'Python Main', - article3link: - 'https://www.freecodecamp.org/news/if-name-main-python-example/', - article4title: 'Callback', + 'https://www.freecodecamp.org/news/rtf-file-what-is-the-rich-text-format/', + article3title: 'CSS Transition', + article3link: 'https://www.freecodecamp.org/news/css-transition-examples/', + article4title: 'How to Use Instagram?', article4link: - 'https://www.freecodecamp.org/news/javascript-callback-functions-what-are-callbacks-in-js-and-how-to-use-them/', - article5title: 'Debounce', + 'https://www.freecodecamp.org/news/how-to-use-instagram-like-a-pro/', + article5title: 'MBR VS GPT', article5link: - 'https://www.freecodecamp.org/news/debounce-javascript-tutorial-how-to-make-your-js-wait-up/', - article6title: 'URL Encode', + 'https://www.freecodecamp.org/news/mbr-vs-gpt-whats-the-difference-between-an-mbr-partition-and-a-gpt-partition-solved/', + article6title: 'FAT32 Format', article6link: - 'https://www.freecodecamp.org/news/javascript-url-encode-example-how-to-use-encodeuricomponent-and-encodeuri/', - article7title: 'Blink HTML', + 'https://www.freecodecamp.org/news/how-to-format-a-usb-drive-to-fat32-on-windows-10/', + article7title: 'Error 503 Code', article7link: - 'https://www.freecodecamp.org/news/make-it-blink-html-tutorial-how-to-use-the-blink-tag-with-code-examples/', - article8title: 'Python Tuple', + 'https://www.freecodecamp.org/news/http-error-503-service-unavailable-explained-what-the-503-error-code-means/', + article8title: 'Windows Hosts File', article8link: - 'https://www.freecodecamp.org/news/python-returns-multiple-values-how-to-return-a-tuple-list-dictionary/', - article9title: 'JavaScript Push', + 'https://www.freecodecamp.org/news/how-to-find-and-edit-a-windows-hosts-file/', + article9title: 'Mobi to PDF', article9link: - 'https://www.freecodecamp.org/news/javascript-array-insert-how-to-add-to-an-array-with-the-push-unshift-and-concat-functions/', - article10title: 'Java List', + 'https://www.freecodecamp.org/news/mobi-to-pdf-how-to-convert-to-and-from-a-mobi-file/', + article10title: 'What is STEM?', article10link: - 'https://www.freecodecamp.org/news/java-list-tutorial-util-list-api-example/', - article11title: 'UX', + 'https://www.freecodecamp.org/news/what-is-stem-the-meaning-of-an-acronym-youll-hear-a-lot-in-school/', + article11title: 'JavaScript Void 0', article11link: - 'https://www.freecodecamp.org/news/learn-ux-design-self-taught-user-experience-designer/', - article12title: 'Design Thinking', + 'https://www.freecodecamp.org/news/javascript-void-keyword-explained/', + article12title: 'SQL Delete Row', article12link: - 'https://www.freecodecamp.org/news/what-is-design-thinking-an-introduction-to-the-design-process-for-entrepreneurs-and-developers/', - article13title: 'Prime Number List', + 'https://www.freecodecamp.org/news/sql-delete-row-statement-examples/', + article13title: 'JavaScript Replace', article13link: - 'https://www.freecodecamp.org/news/prime-numbers-list-chart-of-primes/', - article14title: 'Product Design', + 'https://www.freecodecamp.org/news/javascript-string-replace-example-with-regex/', + article14title: 'Python JSON Parser', article14link: - 'https://www.freecodecamp.org/news/product-design-explained-in-plain-english/', - article15title: 'Digital Design', + 'https://www.freecodecamp.org/news/python-read-json-file-how-to-load-json-from-a-file-and-parse-dumps/', + article15title: 'cmd Delete Folder', article15link: - 'https://www.freecodecamp.org/news/what-is-digital-design-and-why-does-it-matter/', - article16title: 'Coding Games', + 'https://www.freecodecamp.org/news/cmd-delete-folder-how-to-remove-files-and-folders-in-windows/', + article16title: 'What is NFC?', article16link: - 'https://www.freecodecamp.org/news/best-coding-games-online-adults-learn-to-code/', - article17title: 'SVM', + 'https://www.freecodecamp.org/news/what-is-nfc-near-field-communication-uses-chips-tags-and-readers-explained/', + article17title: 'Content Type JSON', article17link: - 'https://www.freecodecamp.org/news/svm-machine-learning-tutorial-what-is-the-support-vector-machine-algorithm-explained-with-code-examples/', - article18title: 'JavaScript forEach', + 'https://www.freecodecamp.org/news/what-is-the-correct-content-type-for-json-request-header-mime-type-explained/', + article18title: 'Convert HEIC to JPG', article18link: - 'https://www.freecodecamp.org/news/javascript-foreach-how-to-loop-through-an-array-in-js/', - article19title: 'Google BERT', + 'https://www.freecodecamp.org/news/heic-to-jpg-how-to-convert-images-on-a-mac/', + article19title: 'Math Random Java', article19link: - 'https://www.freecodecamp.org/news/google-bert-nlp-machine-learning-tutorial/', - article20title: 'Create Table SQL', + 'https://www.freecodecamp.org/news/generate-random-numbers-java/', + article20title: 'WordPress for Beginners', article20link: - 'https://www.freecodecamp.org/news/sql-create-table-statement-with-example-syntax/', - article21title: 'Responsive Web Design', + 'https://www.freecodecamp.org/news/how-to-start-a-blog-with-wordpress/', + article21title: 'Qualitative VS Quantitative', article21link: - 'https://www.freecodecamp.org/news/responsive-web-design-how-to-make-a-website-look-good-on-phones-and-tablets/', - article22title: 'What Is an SVG File?', + 'https://www.freecodecamp.org/news/qualitative-vs-quantitative-definition-research-methods-and-data/', + article22title: 'JavaScript Split String', article22link: - 'https://www.freecodecamp.org/news/svg-basics-what-are-scalable-vector-graphics-and-how-do-you-use-them/', - article23title: 'PDF Password Remover', + 'https://www.freecodecamp.org/news/javascript-split-string-example/', + article23title: 'Accented Letters on Mac', article23link: - 'https://www.freecodecamp.org/news/pdf-password-remover-guide-how-to-remove-password-protection-from-a-pdf/', - article24title: 'What Is a PDF?', + 'https://www.freecodecamp.org/news/how-to-type-letters-with-accents-on-mac/', + article24title: 'Windows 10 Product Key', article24link: - 'https://www.freecodecamp.org/news/what-is-a-pdf-file-and-how-do-you-open-it-solved/', - article25title: 'What Is Python?', + 'https://www.freecodecamp.org/news/how-to-find-a-windows-10-product-key/', + article25title: 'Google Docs Landscape', article25link: - 'https://www.freecodecamp.org/news/what-is-python-used-for-10-coding-uses-for-the-python-programming-language/', - article26title: 'What Is TLS?', + 'https://www.freecodecamp.org/news/google-docs-landscape-tutorial-how-to-make-a-google-doc-landscape-orientation/', + article26title: 'Antimalware Executable', article26link: - 'https://www.freecodecamp.org/news/what-is-tls-transport-layer-security-encryption-explained-in-plain-english/', - article27title: 'What Is a LAN?', + 'https://www.freecodecamp.org/news/antimalware-service-executable-what-is-msmpeng-exe-and-why-is-it-running-in-windows-10/', + article27title: 'Windows 10 Start Menu', article27link: - 'https://www.freecodecamp.org/news/what-is-a-lan-local-area-network-explained-in-plain-english/', - article28title: 'What Is npm?', + 'https://www.freecodecamp.org/news/windows-10-start-menu-not-working-solved/', + article28title: 'Windows 10 Command Line', article28link: - 'https://www.freecodecamp.org/news/what-is-npm-a-node-package-manager-tutorial-for-beginners/', - article29title: 'RSync Examples', + 'https://www.freecodecamp.org/news/how-to-open-the-command-prompt-in-windows-10/', + article29title: 'Google Account Recovery', article29link: - 'https://www.freecodecamp.org/news/rsync-examples-rsync-options-and-how-to-copy-files-over-ssh/', - article30title: 'Random Forest', - article30link: - 'https://www.freecodecamp.org/news/how-to-use-the-tree-based-algorithm-for-machine-learning/' + 'https://www.freecodecamp.org/news/google-account-recovery-change-gmail-password/' }; exports.trendingSchema = trendingSchema; diff --git a/client/src/components/Footer/__snapshots__/Footer.test.js.snap b/client/src/components/Footer/__snapshots__/Footer.test.js.snap index 1a755322e2..46b912e05c 100644 --- a/client/src/components/Footer/__snapshots__/Footer.test.js.snap +++ b/client/src/components/Footer/__snapshots__/Footer.test.js.snap @@ -76,6 +76,13 @@ exports[` matches snapshot 1`] = `