The following is a truth table in markdown of the pseudocode:
| Automatic translations | Purple Translations | Purple account | Promotional Translate Button |
| ---- | ---- | ---- | ---- |
| OFF | ENABLED | NOT ACTIVE | SHOW |
| ON | ENABLED | NOT ACTIVE | SHOW |
| OFF | DISABLED | NOT ACTIVE | SHOW |
| ON | DISABLED | NOT ACTIVE | DON'T SHOW |
| OFF | ENABLED | ACTIVE | SHOW |
| ON | ENABLED | ACTIVE | DON'T SHOW |
| OFF | DISABLED | ACTIVE | SHOW |
| ON | DISABLED | ACTIVE | DON'T SHOW |
I don't think it makes sense to display the Promotional Translate Button when the user has an active purple subscription at all.
Here are the two cases where purple subscription is active and the Promotional Translate Button was shown:
Case 1:
Automatic translations: Off
Purple translations enabled: True
Purple Account active: True
If the user decides they don't want automatic translations, when they click on the 'Translate Note' button, they should get the translation in their NoteContentView, not be shown their membership information (the Purple screen).
Case 2:
Automatic translations: Off
Purple translations enabled: False
Purple account active: True
If the user for some reason doesn't use purple translations even though they have an active subscription, they shouldn't be shown their membership information. If they don't have any translation system active, maybe we could navigate them to the setting to enable it. But if they have a different translation system active, they should be able to use it in peace if that's their preference.