Auto detect language of a post by default #38

Open
CSDUMMI wants to merge 3 commits from feat-auto-detect-by-default into babka
CSDUMMI commented 2023-11-30 09:00:28 +00:00 (Migrated from gitlab.com)

This patch overwrite the source language of a post with nil if the ALWAYS_AUTO_DETECT env variable is set to true.

Mastodon will then request libretranslate/deepl to automatically detect the language.

This patch overwrite the source language of a post with `nil` if the `ALWAYS_AUTO_DETECT` env variable is set to `true`. Mastodon will then request libretranslate/deepl to automatically detect the language.
CSDUMMI commented 2023-11-30 09:00:28 +00:00 (Migrated from gitlab.com)

requested review from @emacsen

requested review from @emacsen
CSDUMMI commented 2023-11-30 09:00:29 +00:00 (Migrated from gitlab.com)

assigned to @CSDUMMI

assigned to @CSDUMMI
CSDUMMI commented 2024-01-29 18:06:15 +00:00 (Migrated from gitlab.com)

mentioned in issue #5

mentioned in issue #5
CSDUMMI commented 2024-02-09 23:06:34 +00:00 (Migrated from gitlab.com)

added 1025 commits

  • e688cf51...f26ed099 - 1024 commits from branch babka
  • 3cded80e - Merge branch 'babka' into feat-auto-detect-by-default

Compare with previous version

added 1025 commits <ul><li>e688cf51...f26ed099 - 1024 commits from branch <code>babka</code></li><li>3cded80e - Merge branch &#39;babka&#39; into feat-auto-detect-by-default</li></ul> [Compare with previous version](/babka_net/mastodon-babka/-/merge_requests/20/diffs?diff_id=920892217&start_sha=e688cf5157337a18f13796af08f364296db6ecce)
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat-auto-detect-by-default:feat-auto-detect-by-default
git switch feat-auto-detect-by-default

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch babka
git merge --no-ff feat-auto-detect-by-default
git switch feat-auto-detect-by-default
git rebase babka
git switch babka
git merge --ff-only feat-auto-detect-by-default
git switch feat-auto-detect-by-default
git rebase babka
git switch babka
git merge --no-ff feat-auto-detect-by-default
git switch babka
git merge --squash feat-auto-detect-by-default
git switch babka
git merge --ff-only feat-auto-detect-by-default
git switch babka
git merge feat-auto-detect-by-default
git push origin babka
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
babka/mastodon-babka!38
No description provided.