From e93e02972d2b8c028da71ca0c7b708114682e793 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Fri, 19 Aug 2022 00:03:23 -0400 Subject: [PATCH] Improved translation header --- src/status.ts | 2 +- src/strings.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status.ts b/src/status.ts index 439c781..7c93ff9 100644 --- a/src/status.ts +++ b/src/status.ts @@ -115,7 +115,7 @@ export const handleStatus = async ( destination: translation.target_lang.toUpperCase() }); - newText = `${translation.text}\n\n` + `${formatText}\n\n` + `${newText}`; + newText = `${formatText}\n\n` + `${translation.text}\n\n`; } /* This Tweet has a video to render. diff --git a/src/strings.ts b/src/strings.ts index 6a3638b..5e7be73 100644 --- a/src/strings.ts +++ b/src/strings.ts @@ -67,7 +67,7 @@ This is caused by Twitter API downtime or a new bug. Try again in a little while DEFAULT_AUTHOR_TEXT: 'Twitter', QUOTE_TEXT: `═ ↘️ Quoting {name} (@{screen_name}) ═════`, - TRANSLATE_TEXT: `═ ↘️ Translated from {language} ═════`, + TRANSLATE_TEXT: `═ Translated from {language} ═════`, TRANSLATE_TEXT_INTL: `═ ↘️ {source} ➡️ {destination} ═════`, PHOTO_COUNT: `Photo {number} of {total}`, VIDEO_COUNT: `Video {number} of {total}`,