mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-17 02:24:34 +08:00
Fix localization [SCI-6835]
This commit is contained in:
parent
9e2c8bf25a
commit
3983d920e9
2 changed files with 7 additions and 2 deletions
|
@ -4,10 +4,13 @@
|
|||
<div class="progress-bar" :style="`width:${storagePrecentage}%`"></div>
|
||||
</div>
|
||||
<span v-if="this.step.attributes.storage_limit.total > 0">
|
||||
{{ `${this.step.attributes.storage_limit.used_human} / ${this.step.attributes.storage_limit.total_human} Space used`}}
|
||||
{{ i18n.t('protocols.steps.space_used_label', {
|
||||
used: this.step.attributes.storage_limit.used_human,
|
||||
limit: this.step.attributes.storage_limit.total_human
|
||||
}) }}
|
||||
</span>
|
||||
<span v-else>
|
||||
{{ `${this.step.attributes.storage_limit.used_human} / Unlimited Space used`}}
|
||||
{{ i18n.t('protocols.steps.space_used_label_unlimited', {used: this.step.attributes.storage_limit.used_human}) }}
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -2516,6 +2516,8 @@ en:
|
|||
empty_checklist: "No items"
|
||||
comment_title: "%{user} at %{time}:"
|
||||
drop_message: "Drop file to add to step %{position}"
|
||||
space_used_label: '%{used} / %{limit} space used.'
|
||||
space_used_label_unlimited: '%{used} / unlimited space used.'
|
||||
insert:
|
||||
button: 'Insert'
|
||||
title: 'insert content'
|
||||
|
|
Loading…
Add table
Reference in a new issue