remove resend as it does not make any sense with medium groups

and sendAnyway
pull/1495/head
Audric Ackermann 4 years ago
parent 20cf5dbf10
commit 6edcb88788
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "أرسل على كل حال",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "رقم الآمان الخاص بك مع $name$ قد تغير وغير متحقق منه. انقر للعرض.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Изпрати все пак",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Вашият номер за сигурност с $name$ е променен и все още не е потвърден. Натиснете за преглед.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Tot i així, envia'l",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "El número de seguretat amb $name$ ha canviat i ja no està verificat. Feu clic per veure'l.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Přesto poslat",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Bezpečnostní číslo $name$ bylo změněno a nebylo ověřeno. Klikněte pro zobrazení.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Send alligevel",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Dit sikkerhedsnummer med $name$ har ændret sig og er ikke længere verificeret. Klik for at vise.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -324,10 +324,6 @@
}
}
},
"sendAnyway": {
"message": "Trotzdem senden",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Deine Sicherheitsnummer mit $name$ hat sich geändert und ist nicht mehr verifiziert. Zum Anzeigen anklicken.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Αποστολή παρ'όλα αυτά",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Ο αριθμός ασφαλείας σας με τον/την $name$ έχει αλλάξει και δεν είναι πλέον επιβεβαιωμένος. Κάντε κλικ για εμφάνιση.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -414,10 +414,6 @@
},
"androidKey": "WebRtcCallScreen_you_may_wish_to_verify_this_contact"
},
"sendAnyway": {
"message": "Send Anyway",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Your safety number with $name$ has changed and is no longer verified. Click to show.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Tamen sendi",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Via sekuriga numero kun $name$ ŝanĝiĝis kaj ne plu estas konfirmita. Alklaku por montri ĝin.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Enviar de todos modos",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Las cifras de seguridad con $name$ han cambiado y ya no están verificadas. Haz clic para mostrar.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -303,10 +303,6 @@
}
}
},
"sendAnyway": {
"message": "Enviar de Cualquier Forma",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Tu número de seguridad con $name$ ha cambiado y ya no está verificado. Presiona para mostrar.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Saada ikkagi",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Sinu turvanumber kasutajaga $name$ on muutunud ja ei ole enam kinnitatud. Klõpsa nägemiseks.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "به هر حال بفرست",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "کد امنیتی $name$ تغییر کرده و دیگر تأییدشده نیست. برای نمایشش کلیک کنید.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Lähetä joka tapauksessa",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Turvanumerosi yhteystiedon $name$ kanssa on vaihtunut eikä se ole enää varmennettu. Näytä napsauttamalla.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Envoyer quand même",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Votre numéro de sécurité avec $name$ a changé et nest plus vérifié. Cliquez pour lafficher.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "שלח בכל זאת",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "מספר הבטיחות שלך עם $name$ השתנה ואינו מוֻדא יותר. לחץ כדי לראות.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "वैसे भी भेजें",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "आपकी सुरक्षा संख्या के साथ$name$बदल गया है और अब सत्यापित नहीं है। दिखने के लिए क्लिक करें।",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Svejedno pošalji",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Sigurnosni se broj s $name$ promijenio i više nije potvrđen. Kliknite za prikaz. ",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Küldés ennek ellenére",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Biztonsági számod $name$ nevű partnereddel megváltozott, ezért már nincs hitelesítve. Kattints a megjelenítéshez!",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Kirimkan Saja",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Nomor keamanan Anda dengan $name$ telah berubah dan tidak lagi diverifikasi. Klik untuk menampilkan.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Invia ugualmente",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Il tuo numero di sicurezza con $name$ è cambiato e non è più valido. Clicca per visualizzarlo.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "とにかく送信する",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "$name$との安全番号に変更があり,未検証です。クリックして表示してください。",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "ផ្ញើ ទោះយ៉ាងណាក៏ដោយ",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "លេខសុវត្ថិភាពរបស់អ្នកជាមួយ $name$ បានផ្លាស់ប្តូរ និងមិនត្រូវបានផ្ទៀងផ្ទាត់ឡើយ។ ចុច ដើម្បីបង្ហាញ។",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Send Anyway",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Your safety number with $name$ has changed and is no longer verified. Click to show.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Send Anyway",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Your safety number with $name$ has changed and is no longer verified. Click to show.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Vis tiek siųsti",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Jūsų saugumo numeris su $name$ pasikeitė ir daugiau nebėra patvirtintas. Spustelėkite, norėdami rodyti.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Send Anyway",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Your safety number with $name$ has changed and is no longer verified. Click to show.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Send allikevel",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Ditt sikkerhetsnummer med $name$ er endret og er ikke lenger bekreftet. Klikk for å vise nummeret.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Toch verzenden",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Je veiligheidsnummer met $name$ is veranderd en het is daarom niet langer geverifieerd. Klik om het te tonen.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Send likevel",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Tryggingsnummeret ditt med $name$ er endra og er ikkje lenger godkjent. Klikk for å visa nummeret.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Send allikevel",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Ditt sikkerhetsnummer med $name$ er endret og er ikke lenger bekreftet. Klikk for å vise nummeret.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Wyślij mimo wszystko",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Twój numer bezpieczeństwa z $name$ zmienił się. Naciśnij, aby zobaczyć.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Enviar Assim Mesmo",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "O seu número de segurança com$name$ mudou e não foi verificado. Clique para exibi-lo. ",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Enviar mesmo assim",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "O número de segurança com $name$ mudou e não está verificado. Clique para mostrar.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Trimite oricum",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Numărul tău de siguranță cu $name$ s-a modificat și nu mai este verificat. Apasă pentru a afișa.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Отправить в любом случае",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Код безопасности с $name$ изменился и более не является подтвержденным. Нажмите, чтобы показать.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Napriek tomu poslať",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Vaše bezpečnosné číslo s $name$ sa zmenilo, a už nie je overené. Kliknite pre zobrazenie. ",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Vseeno pošlji",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Vaše varnostno število z uporabnikom $name$ je bilo spremenjeno in ni več označeno kot potrjeno. Kliknite za prikaz.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Dërgoje Sido Qoftë",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Numri juaj i sigurisë për me $name$ ka ndryshuar dhe sështë më i verifikuar. Klikoni që të shfaqet.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Пошаљи свакако",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Ваша шифра за $name$ је промењена и није више проверена. Притисните да би сте приказали.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Skicka ändå",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Your safety number with $name$ has changed and is no longer verified. Click to show.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "ยืนยันที่จะส่ง",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "มีการเปลี่ยนแปลงในรหัสความปลอดภัยของคุณกับ $name$ และถือว่ายังไม่ได้รับการยืนยัน คลิกเพื่อแสดง",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Yine de Gönder",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "$name$ ile olan güvenlik numaranız değişti ve henüz doğrulanmadı. Göstermek için tıklayın.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Усе одно надіслати",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "$name$ та ви тепер використовуєте новий код безпеки. Натисніть, щоб подивитися.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",
@ -1165,4 +1161,4 @@
}
}
}
}
}

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "Send Anyway",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "Your safety number with $name$ has changed and is no longer verified. Click to show.",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "仍要发送",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "您与 $name$ 的安全号码已发生改变,而且不再被确认。点击展示。",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -311,10 +311,6 @@
}
}
},
"sendAnyway": {
"message": "無論如何都送出",
"description": "Used on a warning dialog to make it clear that it might be risky to send the message."
},
"noLongerVerified": {
"message": "你與 $name$ 的安全已經產生變動,並且不再是經驗證過的。點擊來顯示。",
"description": "Shown in converation banner when user's safety number has changed, but they were previously verified.",

@ -945,20 +945,6 @@
@include color-svg('../images/unidentified-delivery.svg', $color-gray-60);
}
.module-message-detail__contact__error-buttons {
text-align: right;
}
.module-message-detail__contact__send-anyway {
@include button-reset;
color: $color-white;
background-color: $session-color-danger;
margin-inline-start: 5px;
margin-top: 5px;
padding: 4px;
border-radius: 4px;
}
// Module: Media Gallery
.module-media-gallery {

@ -309,11 +309,6 @@
color: $session-color-danger;
}
.module-message-detail__contact__send-anyway {
color: $color-white;
background-color: $session-color-danger;
}
// Module: Media Gallery
.module-media-gallery__tab {

@ -17,8 +17,6 @@ interface Contact {
isOutgoingKeyError: boolean;
errors?: Array<Error>;
onSendAnyway: () => void;
}
interface Props {
@ -70,16 +68,6 @@ export class MessageDetail extends React.Component<Props> {
const { i18n } = window;
const errors = contact.errors || [];
const errorComponent = contact.isOutgoingKeyError ? (
<div className="module-message-detail__contact__error-buttons">
<button
className="module-message-detail__contact__send-anyway"
onClick={contact.onSendAnyway}
>
{i18n('sendAnyway')}
</button>
</div>
) : null;
const statusComponent = !contact.isOutgoingKeyError ? (
<div
className={classNames(
@ -108,7 +96,6 @@ export class MessageDetail extends React.Component<Props> {
</div>
))}
</div>
{errorComponent}
{statusComponent}
</div>
);

@ -66,8 +66,6 @@ export class SessionMessagesList extends React.Component<Props, State> {
this.getScrollOffsetBottomPx = this.getScrollOffsetBottomPx.bind(this);
this.displayUnreadBannerIndex = this.displayUnreadBannerIndex.bind(this);
this.onSendAnyway = this.onSendAnyway.bind(this);
this.messageContainerRef = this.props.messageContainerRef;
this.ignoreScrollEvents = true;
}
@ -592,8 +590,4 @@ export class SessionMessagesList extends React.Component<Props, State> {
const clientHeight = messageContainer.clientHeight;
return scrollHeight - scrollTop - clientHeight;
}
private async onSendAnyway({ contact, message }: any) {
message.resend(contact.id);
}
}

Loading…
Cancel
Save