Skip to content

Commit

Permalink
chore: Change to a more accurate button text
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Oct 13, 2023
1 parent fd708d0 commit 606fcbd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/soapbox/components/translate-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const TranslateButton: React.FC<ITranslateButton> = ({ status }) => {
<Stack space={3} alignItems='start'>
<Button
theme='muted'
text={<FormattedMessage id='status.show_original' defaultMessage='Show original' />}
text={<FormattedMessage id='status.translate_hide' defaultMessage='Hide translation' />}
icon={require('@tabler/icons/language.svg')}
onClick={handleTranslate}
/>
Expand Down
1 change: 1 addition & 0 deletions app/soapbox/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1510,6 +1510,7 @@
"status.title": "Post Details",
"status.title_direct": "Direct message",
"status.translate": "Translate",
"status.translate_hide": "Hide translation",
"status.translated_from_with": "Translated from {lang} using {provider}",
"status.unbookmark": "Remove bookmark",
"status.unbookmarked": "Bookmark removed.",
Expand Down
5 changes: 3 additions & 2 deletions app/soapbox/locales/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -1070,8 +1070,9 @@
"status.show_original": "Show original",
"status.title": "Post",
"status.title_direct": "Direct message",
"status.translate": "Translate",
"status.translated_from_with": "Translated from {lang} using {provider}",
"status.translate": "Terjemahkan",
"status.translate_hide": "Sembunyikan terjemahan",
"status.translated_from_with": "Diterjemahkan dari bahasa {lang} menggunakan {provider}",
"status.unbookmark": "Remove bookmark",
"status.unbookmarked": "Bookmark removed.",
"status.unmute_conversation": "Unmute conversation",
Expand Down
1 change: 1 addition & 0 deletions app/soapbox/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,7 @@
"status.title": "Post",
"status.title_direct": "Direct message",
"status.translate": "Translate",
"status.translate_hide": "Hide translation",
"status.translated_from_with": "Translated from {lang} using {provider}",
"status.unbookmark": "ブックマークを解除",
"status.unbookmarked": "ブックマークを解除しました。",
Expand Down

0 comments on commit 606fcbd

Please sign in to comment.