mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-24 21:14:05 +00:00
Resolve "AB snagging: copy tweaks"
This commit is contained in:
parent
c71d6df6d3
commit
53e670d7ae
5 changed files with 25 additions and 4 deletions
web-frontend/modules
core
assets/scss/components/data_explorer
components
locales
database/locales
|
@ -1,3 +1,10 @@
|
||||||
.data-explorer {
|
.data-explorer {
|
||||||
width: 323px;
|
width: 323px;
|
||||||
|
|
||||||
|
.context__description {
|
||||||
|
padding: 32px;
|
||||||
|
text-align: center;
|
||||||
|
white-space: initial;
|
||||||
|
line-height: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,10 @@
|
||||||
>
|
>
|
||||||
</RootNode>
|
</RootNode>
|
||||||
<div v-if="matchingNodes.length === 0" class="context__description">
|
<div v-if="matchingNodes.length === 0" class="context__description">
|
||||||
{{ $t('dataExplorer.emptyText') }}
|
<span v-if="isSearching">{{
|
||||||
|
$t('dataExplorer.noMatchingNodesText')
|
||||||
|
}}</span>
|
||||||
|
<span v-else>{{ $t('dataExplorer.noProvidersText') }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,7 +4,11 @@
|
||||||
{{ application.name }} {{ $t('snapshotsModal.title') }}
|
{{ application.name }} {{ $t('snapshotsModal.title') }}
|
||||||
</h2>
|
</h2>
|
||||||
<p>
|
<p>
|
||||||
{{ $t('snapshotsModal.description') }}
|
{{
|
||||||
|
$t('snapshotsModal.description', {
|
||||||
|
applicationTypeName: applicationTypeName,
|
||||||
|
})
|
||||||
|
}}
|
||||||
<span v-if="maxSnapshots >= 0">{{
|
<span v-if="maxSnapshots >= 0">{{
|
||||||
$tc('snapshotsModal.descriptionLimits', maxSnapshots)
|
$tc('snapshotsModal.descriptionLimits', maxSnapshots)
|
||||||
}}</span>
|
}}</span>
|
||||||
|
@ -91,6 +95,12 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
applicationTypeName() {
|
||||||
|
return this.$registry
|
||||||
|
.get('application', this.application.type)
|
||||||
|
.getName()
|
||||||
|
.toLowerCase()
|
||||||
|
},
|
||||||
maxSnapshots() {
|
maxSnapshots() {
|
||||||
return parseInt(this.$config.BASEROW_MAX_SNAPSHOTS_PER_GROUP)
|
return parseInt(this.$config.BASEROW_MAX_SNAPSHOTS_PER_GROUP)
|
||||||
},
|
},
|
||||||
|
|
|
@ -583,6 +583,7 @@
|
||||||
"errorInvalidFormula": "The formula is invalid."
|
"errorInvalidFormula": "The formula is invalid."
|
||||||
},
|
},
|
||||||
"dataExplorer": {
|
"dataExplorer": {
|
||||||
"emptyText": "No data found"
|
"noMatchingNodesText": "No matching data providers were found.",
|
||||||
|
"noProvidersText": "No data providers were found. To get started you can, for example, add a data source or page parameter."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -736,7 +736,7 @@
|
||||||
},
|
},
|
||||||
"snapshotsModal": {
|
"snapshotsModal": {
|
||||||
"title": "snapshots",
|
"title": "snapshots",
|
||||||
"description": "Snapshots are a full copy of your database of the moment when they were created. A duplication of that data will be created when restoring. Snapshots are automatically deleted after one year.",
|
"description": "Snapshots are a full copy of your {applicationTypeName} of the moment when they were created. A duplication of that data will be created when restoring. Snapshots are automatically deleted after one year.",
|
||||||
"descriptionLimits": "You can have a maximum of {n} snapshots per workspace. | You can have a maximum of {n} snapshot per workspace. | You can have a maximum of {n} snapshots per workspace.",
|
"descriptionLimits": "You can have a maximum of {n} snapshots per workspace. | You can have a maximum of {n} snapshot per workspace. | You can have a maximum of {n} snapshots per workspace.",
|
||||||
"createLabel": "Create a new snapshot",
|
"createLabel": "Create a new snapshot",
|
||||||
"create": "Create snapshot",
|
"create": "Create snapshot",
|
||||||
|
|
Loading…
Add table
Reference in a new issue