diff --git a/components/navigation/menu/Sidebar.vue b/components/navigation/menu/Sidebar.vue index 882d10197554db0a2117fe5c58a898749b2f090e..67472f9568137550d1fa81b15a2c75321984928f 100644 --- a/components/navigation/menu/Sidebar.vue +++ b/components/navigation/menu/Sidebar.vue @@ -7,7 +7,7 @@ </nuxt-link> <div class="d-flex text-info justify-content-between align-items-baseline mt-3 mx-2"> <div class="">v0.02</div> - <div class="small" v-if="countMax">Bloc n°<span class="font-weight-bold">{{ countMax.number }}</span> ({{ $d(new Date(countMax.utc0*1000), 'short') }} {{ $t('time.a') }} {{ $d(new Date(countMax.utc0*1000), 'hour') }})</div> + <div class="small" v-if="countMax">Bloc n°<span class="font-weight-bold">{{ countMax.number }}</span> ({{ $d(new Date(countMax.utc0*1000), 'short') }} {{ $t('time.a') }} {{ $d(new Date(countMax.utc0*1000), 'hour') }}{{ $d(new Date(countMax.utc0*1000), 'min') }})</div> </div> <button type="button" class="close position-absolute d-xl-none" aria-label="Close" @click="toggleMenu"> <span aria-hidden="true">×</span> diff --git a/i18n/locales/dateTimeFormats.js b/i18n/locales/dateTimeFormats.js index 419d655c049a8e7374959f957a494bab8eebbb76..6ed3420ad2db950d4a47f92e00b0985a6f253e50 100644 --- a/i18n/locales/dateTimeFormats.js +++ b/i18n/locales/dateTimeFormats.js @@ -12,6 +12,9 @@ export const dateTimeFormats = { }, hour: { hour: 'numeric' + }, + min: { + minute: '2-digit' } }, 'en': { @@ -27,6 +30,9 @@ export const dateTimeFormats = { }, hour: { hour: 'numeric' + }, + min: { + minute: '2-digit' } }, 'es': { @@ -42,6 +48,9 @@ export const dateTimeFormats = { }, hour: { hour: 'numeric' + }, + min: { + minute: '2-digit' } } } \ No newline at end of file diff --git a/i18n/locales/en.json b/i18n/locales/en.json index 35b321f41fb8eebf8c4d3fec851ba4091237a0a2..a781013f794b54b89a953c591d836ad14464ebc7 100644 --- a/i18n/locales/en.json +++ b/i18n/locales/en.json @@ -35,7 +35,7 @@ "breadcrumb": "Parameters", "name": { "avgGenTime": "The average time for writing 1 block (wished time)", - "c": "The relative growth of the UD every [dtReeval] period", + "c": "The relative growth of the UD every <code>dtReeval</code> period", "dt": "Time period between two UD", "dtDiffEval": "The number of blocks required to evaluate again PoWMin value", "dtReeval": "Time period between two re-evaluation of the UD", @@ -51,7 +51,7 @@ "sigStock": "Maximum quantity of active certifications made by member", "sigValidity": "Maximum age of an active certification", "sigWindow": "Maximum delay a certification can wait before being expired for non-writing", - "stepMax": "Maximum distance between a WOT member and [xpercent] of sentries", + "stepMax": "Maximum distance between a WOT member and <code>xpercent</code> of sentries", "txWindow": "Maximum delay a transaction can wait before being expired for non-writing", "ud0": "UD(0), i.e. initial Universal Dividend", "udReevalTime0": "Time of first reevaluation of the UD", diff --git a/i18n/locales/es.json b/i18n/locales/es.json index 894302f268bf2dd38162ac1cf444aafa87c7e7ae..fe5476446943248331a1df3a99666f37f16783c1 100644 --- a/i18n/locales/es.json +++ b/i18n/locales/es.json @@ -35,7 +35,7 @@ "breadcrumb": "Parámetros", "name": { "avgGenTime": "The average time for writing 1 block (wished time)", - "c": "The relative growth of the UD every [dtReeval] period", + "c": "The relative growth of the UD every <code>dtReeval</code> period", "dt": "Time period between two UD", "dtDiffEval": "The number of blocks required to evaluate again PoWMin value", "dtReeval": "Time period between two re-evaluation of the UD", @@ -51,7 +51,7 @@ "sigStock": "Maximum quantity of active certifications made by member", "sigValidity": "Maximum age of an active certification", "sigWindow": "Maximum delay a certification can wait before being expired for non-writing", - "stepMax": "Maximum distance between a WOT member and [xpercent] of sentries", + "stepMax": "Maximum distance between a WOT member and <code>xpercent</code> of sentries", "txWindow": "Maximum delay a transaction can wait before being expired for non-writing", "ud0": "UD(0), i.e. initial Universal Dividend", "udReevalTime0": "Time of first reevaluation of the UD",