From 45a40ae9998e898ab7163a8f1f0cfd538006a008 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Thu, 6 Nov 2025 17:40:28 +0100 Subject: [PATCH] Caption in english --- .gitea/workflows/pushImage.yaml | 2 +- app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/pushImage.yaml b/.gitea/workflows/pushImage.yaml index e90ac70..6315dc4 100644 --- a/.gitea/workflows/pushImage.yaml +++ b/.gitea/workflows/pushImage.yaml @@ -14,7 +14,7 @@ jobs: with: php-version: '8.3.0' - name: Install dependencies - run: composer install + run: composer install --prefer-dist --no-progress --no-suggest --no-interaction --prefer-stable - name: Run PHPUnit tests run: vendor/bin/phpunit --configuration phpunit.xml build-image: diff --git a/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php b/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php index fece381..be9f535 100644 --- a/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php +++ b/app/Browser/Jobs/InstagramRepost/InstagramRepostJob.php @@ -451,6 +451,7 @@ Captions must: 4. Encourage engagement relevant to the platform's algorithm (e.g., asking a question related to the joke/scene). 5. Optionally include relevant hashtags at the end (#hashtagsOnly), chosen appropriately for the reel's content or vibe. Use common tags if no specific ones are provided, but avoid overly generic ones unless fitting. 6. If credit information is provided in the input (e.g., `credit: twitteruser`), acknowledge it minimally within the caption text *using only that source*. Do not invent any account handles (`@`) or platform prefixes (`tt/`). Use phrases like \"Credited to...\" or simply insert the credited name if appropriate, but don't force it unless the core concept naturally includes attribution. If no credit is provided, do not mention a specific creator. +7. Be in english. **Do Not:** * Start captions with 'This reel...' or similar intros.