Skip to content

Commit

Permalink
CHANGELOG entry + Small adjustments to #1058
Browse files Browse the repository at this point in the history
  • Loading branch information
andreynering committed Mar 21, 2023
1 parent eead5f4 commit fc50b84
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 17 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/sync-translated-documents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: "docs: sync translated documents"
title: "docs: sync translated documents"
body: "- [x] Sync translated documents"
branch: feature/auto-sync-translated-documents
commit-message: "Website: Sync translations"
title: "Website: Sync translations"
body: Synchonizing translations with Crowdin
branch: chore/sync-translations
delete-branch: true
draft: true
author: task-bot <106601941+task-bot@users.noreply.github.com>
labels: translation
token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

## Unreleased

- The website was integrated with [Crowdin](https://crowdin.com/project/taskfile)
to allow the community to contribute with translations!
[Chinese](https://taskfile.dev/zh-Hans/) is the first language available
([#1057](https://github.com/go-task/task/issues/1057), [#1058](https://github.com/go-task/task/pull/1058) by @misitebao).
- Added task location data to the `--json` flag output ([#1056](https://github.com/go-task/task/pull/1056) by @pd93)

## Unreleased

- Change the name of the file generated by `task --init` from `Taskfile.yaml`
to `Taskfile.yml`
([#1062](https://github.com/go-task/task/pull/1062) by @misitebao).
- Added new `splitArgs` to the template system
(`{{splitArgs "foo bar 'foo bar baz'"}}`) to ensure string is splitted as
arguments not whitespaces
([#1040](https://github.com/go-task/task/issues/1040), [#1059](https://github.com/go-task/task/pull/1059) by @dhanusaputra).
- Added task location data to the `--json` flag output ([#1056](https://github.com/go-task/task/pull/1056) by @pd93)

## v3.22.0 - 2023-03-10

Expand Down
6 changes: 5 additions & 1 deletion docs/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ tasks:
preview:
desc: Preview Website
deps: [build]
aliases: [serve]
vars:
HOST: '{{default "localhost" .HOST}}'
PORT: '{{default "3001" .PORT}}'
cmds:
- npx docusaurus serve
- npx docusaurus serve --no-open --host={{.HOST}} --port={{.PORT}}

clean:
desc: Clean temp directories
Expand Down
21 changes: 21 additions & 0 deletions docs/docs/translate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
slug: /translate/
sidebar_position: 13
---

# Translate

Want to help us translate this documentation? In this document we explain how.

Do NOT edit translated markdown files directly on the GitHub repository!
We use [Crowdin][crowdin] to allow contributors on work on translations.
The repository is periodically updated with progress from Crowdin.

If you want to have access to the Crowdin project to be able to suggest
translations, please ask for access on the
[#translations channel on our Discord server][discord].
If a given language is not being shown to Crowdin yet, just ask and we can
configure it.

[crowdin]: https://crowdin.com/project/taskfile
[discord]: https://discord.gg/6TY36E39UK
14 changes: 7 additions & 7 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ const config = {
},
{
type: 'localeDropdown',
position: 'left'
// dropdownItemsAfter: [
// {
// to: '/',
// label: 'Help Us Translate'
// }
// ]
position: 'left',
dropdownItemsAfter: [
{
to: '/translate/',
label: 'Help Us Translate'
}
]
},
{
href: GITHUB_URL,
Expand Down

0 comments on commit fc50b84

Please sign in to comment.