mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-27 15:55:55 +00:00
switch to translate
This commit is contained in:
parent
fbe8b6aecb
commit
4229e361d3
@ -412,7 +412,7 @@ class ProfileModalUpdate extends connect(store)(LitElement) {
|
|||||||
id="taglineLabel"
|
id="taglineLabel"
|
||||||
style="color: var(--black);"
|
style="color: var(--black);"
|
||||||
>
|
>
|
||||||
${get('profile.profile4')}
|
${translate('profile.profile4')}
|
||||||
</label>
|
</label>
|
||||||
<textarea
|
<textarea
|
||||||
class="input"
|
class="input"
|
||||||
@ -433,7 +433,7 @@ class ProfileModalUpdate extends connect(store)(LitElement) {
|
|||||||
id="bioLabel"
|
id="bioLabel"
|
||||||
style="color: var(--black);"
|
style="color: var(--black);"
|
||||||
>
|
>
|
||||||
${get('profile.profile5')}
|
${translate('profile.profile5')}
|
||||||
</label>
|
</label>
|
||||||
<textarea
|
<textarea
|
||||||
class="input"
|
class="input"
|
||||||
@ -448,7 +448,7 @@ class ProfileModalUpdate extends connect(store)(LitElement) {
|
|||||||
></textarea>
|
></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div style="height:15px"></div>
|
<div style="height:15px"></div>
|
||||||
<p>${get('profile.profile6')}</p>
|
<p>${translate('profile.profile6')}</p>
|
||||||
<div style="display: flex;flex-direction: column;">
|
<div style="display: flex;flex-direction: column;">
|
||||||
${Object.keys(this.wallets).map((key) => {
|
${Object.keys(this.wallets).map((key) => {
|
||||||
return html`
|
return html`
|
||||||
@ -467,7 +467,7 @@ class ProfileModalUpdate extends connect(store)(LitElement) {
|
|||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
id=${key}
|
id=${key}
|
||||||
placeholder=${`${key} ${get(
|
placeholder=${`${key} ${translate(
|
||||||
'settings.address'
|
'settings.address'
|
||||||
)}`}
|
)}`}
|
||||||
class="input"
|
class="input"
|
||||||
@ -591,7 +591,7 @@ class ProfileModalUpdate extends connect(store)(LitElement) {
|
|||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
id="key-name"
|
id="key-name"
|
||||||
placeholder=${`${get(
|
placeholder=${`${translate(
|
||||||
'profile.profile9'
|
'profile.profile9'
|
||||||
)}`}
|
)}`}
|
||||||
class="input"
|
class="input"
|
||||||
@ -603,7 +603,7 @@ class ProfileModalUpdate extends connect(store)(LitElement) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="height:15px"></div>
|
<div style="height:15px"></div>
|
||||||
<p>${get('profile.profile10')}</p>
|
<p>${translate('profile.profile10')}</p>
|
||||||
<div style="display: flex;flex-direction: column;">
|
<div style="display: flex;flex-direction: column;">
|
||||||
${Object.keys(this.newCustomDataField).map((key) => {
|
${Object.keys(this.newCustomDataField).map((key) => {
|
||||||
return html`
|
return html`
|
||||||
@ -623,7 +623,7 @@ class ProfileModalUpdate extends connect(store)(LitElement) {
|
|||||||
|
|
||||||
<input
|
<input
|
||||||
id=${key}
|
id=${key}
|
||||||
placeholder=${`${get('profile.profile13')}`}
|
placeholder=${`${translate('profile.profile13')}`}
|
||||||
class="input"
|
class="input"
|
||||||
.value=${this.newCustomDataField[key]}
|
.value=${this.newCustomDataField[key]}
|
||||||
@change=${(e) => {
|
@change=${(e) => {
|
||||||
@ -649,7 +649,7 @@ class ProfileModalUpdate extends connect(store)(LitElement) {
|
|||||||
<div style="width:100%;display:flex;justify-content:center;gap:10px">
|
<div style="width:100%;display:flex;justify-content:center;gap:10px">
|
||||||
<input
|
<input
|
||||||
|
|
||||||
placeholder=${`${get('profile.profile12')}`}
|
placeholder=${`${translate('profile.profile12')}`}
|
||||||
class="input"
|
class="input"
|
||||||
.value=${this.newFieldName}
|
.value=${this.newFieldName}
|
||||||
@change=${(e) => {
|
@change=${(e) => {
|
||||||
|
@ -463,18 +463,18 @@ class ProfileQdn 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="profile-icon" message="">
|
<popover-component for="profile-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('profile.profile1')}`}
|
${`${translate('profile.profile1')}`}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
Loading…
x
Reference in New Issue
Block a user