Skip to content
Snippets Groups Projects
Commit b89da8f3 authored by Jo Vuit's avatar Jo Vuit
Browse files

Added translation strings context

parent 02b2d3d7
No related branches found
No related tags found
No related merge requests found
<template>
<section class="ui vertical aligned stripe segment">
<div v-if="isLoading" :class="['ui', {'active': isLoading}, 'inverted', 'dimmer']">
<div class="ui text loader"><translate>Loading Libraries…</translate></div>
<div class="ui text loader"><translate :translate-context="'Content/Library/Paragraph'">Loading Libraries…</translate></div>
</div>
<div v-else class="ui text container">
<h1 class="ui header"><translate>My libraries</translate></h1>
<h1 class="ui header"><translate :translate-context="'Content/Library/Title'">My libraries</translate></h1>
<p v-if="libraries.length == 0">
<translate>Looks like you don't have a library, it's time to create one.</translate>
<translate :translate-context="'Content/Library/Paragraph'">Looks like you don't have a library, it's time to create one.</translate>
</p>
<a @click="hiddenForm = !hiddenForm">
<i class="plus icon" v-if="hiddenForm" />
<i class="minus icon" v-else />
<translate>Create a new library</translate>
<translate :translate-context="'Content/Library/Link/Verb'">Create a new library</translate>
</a>
<library-form :library="null" v-if="!hiddenForm" @created="libraryCreated" />
<div class="ui hidden divider"></div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment