mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-27 15:55:55 +00:00
Merge pull request #216 from Philreact/bugfix/translation-get
change to translate
This commit is contained in:
commit
56023cd0bb
@ -321,7 +321,7 @@ class AddFriendsModal extends connect(store)(LitElement) {
|
|||||||
id="willFollowLabel"
|
id="willFollowLabel"
|
||||||
style="color: var(--black);"
|
style="color: var(--black);"
|
||||||
>
|
>
|
||||||
${get('friends.friend5')}
|
${translate('friends.friend5')}
|
||||||
</label>
|
</label>
|
||||||
<mwc-checkbox
|
<mwc-checkbox
|
||||||
style="margin-right: -15px;"
|
style="margin-right: -15px;"
|
||||||
@ -339,7 +339,7 @@ class AddFriendsModal extends connect(store)(LitElement) {
|
|||||||
id="nameLabel"
|
id="nameLabel"
|
||||||
style="color: var(--black);"
|
style="color: var(--black);"
|
||||||
>
|
>
|
||||||
${get('login.name')}
|
${translate('login.name')}
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
id="name"
|
id="name"
|
||||||
@ -357,7 +357,7 @@ class AddFriendsModal extends connect(store)(LitElement) {
|
|||||||
id="aliasLabel"
|
id="aliasLabel"
|
||||||
style="color: var(--black);"
|
style="color: var(--black);"
|
||||||
>
|
>
|
||||||
${get('friends.friend6')}
|
${translate('friends.friend6')}
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
id="alias"
|
id="alias"
|
||||||
|
@ -2,7 +2,7 @@ import { LitElement, html, css } from 'lit';
|
|||||||
import '@material/mwc-icon';
|
import '@material/mwc-icon';
|
||||||
import './friends-side-panel.js';
|
import './friends-side-panel.js';
|
||||||
import '@vaadin/tooltip';
|
import '@vaadin/tooltip';
|
||||||
import { get } from 'lit-translate';
|
import { translate } from 'lit-translate';
|
||||||
|
|
||||||
|
|
||||||
class FriendsSidePanelParent extends LitElement {
|
class FriendsSidePanelParent extends LitElement {
|
||||||
@ -68,7 +68,7 @@ class FriendsSidePanelParent extends LitElement {
|
|||||||
position="bottom"
|
position="bottom"
|
||||||
hover-delay=${400}
|
hover-delay=${400}
|
||||||
hide-delay=${1}
|
hide-delay=${1}
|
||||||
text=${get('friends.friend12')}>
|
text=${translate('friends.friend12')}>
|
||||||
</vaadin-tooltip>
|
</vaadin-tooltip>
|
||||||
<friends-side-panel .setHasNewFeed=${(val)=> this.setHasNewFeed(val)} ?isOpen=${this.isOpen} .setIsOpen=${(val)=> this.isOpen = val}></friends-side-panel>
|
<friends-side-panel .setHasNewFeed=${(val)=> this.setHasNewFeed(val)} ?isOpen=${this.isOpen} .setIsOpen=${(val)=> this.isOpen = val}></friends-side-panel>
|
||||||
|
|
||||||
|
@ -568,20 +568,20 @@ class SaveSettingsQdn extends connect(store)(LitElement) {
|
|||||||
hover-delay=${300}
|
hover-delay=${300}
|
||||||
hide-delay=${1}
|
hide-delay=${1}
|
||||||
text=${this.error
|
text=${this.error
|
||||||
? get('save.saving1')
|
? translate('save.saving1')
|
||||||
: Object.values(this.valuesToBeSavedOnQdn)
|
: Object.values(this.valuesToBeSavedOnQdn)
|
||||||
.length > 0 ||
|
.length > 0 ||
|
||||||
this.resourceExists === false
|
this.resourceExists === false
|
||||||
? get('save.saving3')
|
? translate('save.saving3')
|
||||||
: get('save.saving2')}
|
: translate('save.saving2')}
|
||||||
>
|
>
|
||||||
</vaadin-tooltip>
|
</vaadin-tooltip>
|
||||||
<popover-component for="save-icon" message="">
|
<popover-component for="save-icon" message="">
|
||||||
<div style="margin-bottom:20px">
|
<div style="margin-bottom:20px">
|
||||||
<p style="margin:10px 0px; font-size:16px">
|
<p style="margin:10px 0px; font-size:16px">
|
||||||
${`${get('walletpage.wchange12')}: ${
|
${translate('walletpage.wchange12')}: ${
|
||||||
this.fee ? this.fee.feeToShow : ''
|
this.fee ? this.fee.feeToShow : ''
|
||||||
}`}
|
}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
Loading…
x
Reference in New Issue
Block a user