From 33fdd3c143012bc9356eb28ab3f8016be360de91 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Fri, 19 Aug 2022 00:06:07 -0400 Subject: [PATCH] Revert "Improved translation header" This reverts commit e93e02972d2b8c028da71ca0c7b708114682e793. --- 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 7c93ff9..439c781 100644 --- a/src/status.ts +++ b/src/status.ts @@ -115,7 +115,7 @@ export const handleStatus = async ( destination: translation.target_lang.toUpperCase() }); - newText = `${formatText}\n\n` + `${translation.text}\n\n`; + newText = `${translation.text}\n\n` + `${formatText}\n\n` + `${newText}`; } /* This Tweet has a video to render. diff --git a/src/strings.ts b/src/strings.ts index 5e7be73..6a3638b 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}`,