renamed dash to em-dash

This commit is contained in:
Ulf Gebhardt 2022-03-16 03:16:05 +01:00
parent 90287eff17
commit 652babd191
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
7 changed files with 7 additions and 7 deletions

View File

@ -27,7 +27,7 @@
<b-input-group-prepend class="d-none d-md-block gray-background">
<b-icon icon="chat-right-text" class="display-4 m-3 mt-4"></b-icon>
</b-input-group-prepend>
<div class="p-3">{{ memo ? memo : $t('dash') }}</div>
<div class="p-3">{{ memo ? memo : $t('em-dash') }}</div>
</b-input-group>
</b-list-group>
</b-col>

View File

@ -10,7 +10,7 @@
</div>
<b-navbar-nav class="ml-auto" is-nav>
<b-nav-item>{{ pending ? $t('dash') : balance | amount }} {{ $t('GDD') }}</b-nav-item>
<b-nav-item>{{ pending ? $t('em-dash') : balance | amount }} {{ $t('GDD') }}</b-nav-item>
<b-nav-item to="/profile" right class="d-none d-sm-none d-md-none d-lg-flex shadow-lg">
<small>
{{ $store.state.firstName }} {{ $store.state.lastName }}

View File

@ -27,7 +27,7 @@ describe('Status', () => {
describe('balance is pending', () => {
it('it displays an en-dash', () => {
expect(wrapper.find('div.gdd-status-div').text()).toEqual('dash GDD')
expect(wrapper.find('div.gdd-status-div').text()).toEqual('em-dash GDD')
})
})

View File

@ -1,7 +1,7 @@
<template>
<div class="gdd-status">
<div class="p-0 gdd-status-div">
{{ pending || balance === null ? $t('dash') : $n(balance, 'decimal') }} {{ statusText }}
{{ pending || balance === null ? $t('em-dash') : $n(balance, 'decimal') }} {{ statusText }}
</div>
</div>
</template>

View File

@ -26,7 +26,7 @@
</div>
</b-col>
<b-col>
<div class="text-center font-weight-bold">{{ $t('dash') }}</div>
<div class="text-center font-weight-bold">{{ $t('em-dash') }}</div>
<div class="text-center">
{{ $t('community.community') }}
</div>

View File

@ -9,7 +9,7 @@
"other-communities": "Weitere Gemeinschaften",
"switch-to-this-community": "zu dieser Gemeinschaft wechseln"
},
"dash": "—",
"em-dash": "—",
"decay": {
"before_startblock_transaction": "Diese Transaktion beinhaltet keine Vergänglichkeit.",
"calculation_decay": "Berechnung der Vergänglichkeit",

View File

@ -9,7 +9,7 @@
"other-communities": "Other communities",
"switch-to-this-community": "Switch to this community"
},
"dash": "—",
"em-dash": "—",
"decay": {
"before_startblock_transaction": "This transaction does not include decay.",
"calculation_decay": "Calculation of Decay",