4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-12 02:05:51 +00:00

translation fixes

This commit is contained in:
Phillip 2023-02-09 17:38:43 +02:00
parent 5df8f227f8
commit 544727c049
2 changed files with 7 additions and 7 deletions

View File

@ -1110,7 +1110,7 @@ class ChatPage extends LitElement {
<div class=${`smallLoading marginLoader`}></div> <div class=${`smallLoading marginLoader`}></div>
<p> <p>
${this.isDeletingAttachment ? ${this.isDeletingAttachment ?
translate("chatpage.cchange66") : translate("chatpage.cchange65")} translate("chatpage.cchange76") : translate("chatpage.cchange75")}
</p> </p>
</div> </div>
</div> </div>
@ -1631,7 +1631,7 @@ class ChatPage extends LitElement {
this.insertImage(file); this.insertImage(file);
} catch (error) { } catch (error) {
console.error(error); console.error(error);
let errorMsg = get("chatpage.cchange70") let errorMsg = get("chatpage.cchange81")
parentEpml.request('showSnackBar', `${errorMsg}`) parentEpml.request('showSnackBar', `${errorMsg}`)
} }
} else { } else {
@ -2993,7 +2993,7 @@ class ChatPage extends LitElement {
const identifier = `qchat_${id}`; const identifier = `qchat_${id}`;
const fileSize = attachment.size; const fileSize = attachment.size;
if (fileSize > 1000000) { if (fileSize > 1000000) {
parentEpml.request('showSnackBar', get("chatpage.cchange67")); parentEpml.request('showSnackBar', get("chatpage.cchange77"));
this.isLoading = false; this.isLoading = false;
this.isUploadingAttachment = false; this.isUploadingAttachment = false;
return; return;

View File

@ -642,7 +642,7 @@ class MessageTemplate extends LitElement {
</div> </div>
` : image && isImageDeleted ? html` ` : image && isImageDeleted ? html`
<p class="image-deleted-msg">${translate("chatpage.cchange71")}</p> <p class="image-deleted-msg">${translate("chatpage.cchange80")}</p>
` : html``} ` : html``}
${attachment && !isAttachmentDeleted ? ${attachment && !isAttachmentDeleted ?
html` html`
@ -683,7 +683,7 @@ class MessageTemplate extends LitElement {
<div class="attachment-container"> <div class="attachment-container">
<div class="attachment-info"> <div class="attachment-info">
<p style=${"font-style: italic;"} class="attachment-name"> <p style=${"font-style: italic;"} class="attachment-name">
${translate("chatpage.cchange72")} ${translate("chatpage.cchange82")}
</p> </p>
</div> </div>
</div> </div>
@ -860,7 +860,7 @@ class MessageTemplate extends LitElement {
this.openDeleteImage = false; this.openDeleteImage = false;
}}> }}>
<div class="delete-image-msg"> <div class="delete-image-msg">
<p>${translate("chatpage.cchange69")}</p> <p>${translate("chatpage.cchange78")}</p>
</div> </div>
<div class="modal-button-row" @click=${() => this.openDeleteImage = false}> <div class="modal-button-row" @click=${() => this.openDeleteImage = false}>
<button class="modal-button-red"> <button class="modal-button-red">
@ -885,7 +885,7 @@ class MessageTemplate extends LitElement {
this.openDeleteAttachment = false; this.openDeleteAttachment = false;
}}> }}>
<div class="delete-image-msg"> <div class="delete-image-msg">
<p>${translate("chatpage.cchange70")}</p> <p>${translate("chatpage.cchange79")}</p>
</div> </div>
<div class="modal-button-row" @click=${() => this.openDeleteAttachment = false}> <div class="modal-button-row" @click=${() => this.openDeleteAttachment = false}>
<button class="modal-button-red"> <button class="modal-button-red">