mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 06:19:58 +02:00
Moved Modal t set instance url to a separate dedicated file
SetInstanceModal.vue
This commit is contained in:
parent
8beb08d677
commit
1d7ad6978a
15 changed files with 205 additions and 103 deletions
|
@ -63,7 +63,7 @@
|
|||
tag="h2"
|
||||
class="left floated"
|
||||
:translate-params="{number: disc_number + 1}"
|
||||
:translate-context="'Content/Album/'"
|
||||
:translate-context="'Content/Album/'"
|
||||
>Volume %{ number }</translate>
|
||||
<play-button class="right floated orange" :tracks="tracks">
|
||||
<translate :translate-context="'Content/*/Button.Label/Verb, Short'">Play all</translate>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<p><translate :translate-context="'Content/Library/Paragraph'">You are about to upload music to your library. Before proceeding, please ensure that:</translate></p>
|
||||
<ul>
|
||||
<li v-if="library.privacy_level != 'me'">
|
||||
<translate :translate-context="'Content/Library/List item'">You are not uploading copyrighted content in a public library, otherwise you may be infringing the law</translate>
|
||||
<translate :translate-context="'Content/Library/List item'">You are not uploading copyrighted content in a public library, otherwise you may be infringing the law</translate>
|
||||
</li>
|
||||
<li>
|
||||
<translate :translate-context="'Content/Library/List item'">The music files you are uploading are tagged properly.</translate>
|
||||
|
@ -217,17 +217,17 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
labels() {
|
||||
let denied = this.$pgettext('Content/Library/Help text',
|
||||
let denied = this.$pgettext('Content/Library/Help text',
|
||||
"Upload denied, ensure the file is not too big and that you have not reached your quota"
|
||||
);
|
||||
let server = this.$pgettext('Content/Library/Help text',
|
||||
let server = this.$pgettext('Content/Library/Help text',
|
||||
"Cannot upload this file, ensure it is not too big"
|
||||
);
|
||||
let network = this.$pgettext('Content/Library/Help text',
|
||||
let network = this.$pgettext('Content/Library/Help text',
|
||||
"A network error occured while uploading this file"
|
||||
);
|
||||
let timeout = this.$pgettext('Content/Library/Help text', "Upload timeout, please try again");
|
||||
let extension = this.$pgettext('Content/Library/Help text',
|
||||
let extension = this.$pgettext('Content/Library/Help text',
|
||||
"Invalid file type, ensure you are uploading an audio file. Supported file extensions are %{ extensions }"
|
||||
);
|
||||
return {
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<input id="public" type="checkbox" v-model="isPublic" />
|
||||
<label for="public"><translate :translate-context="'Content/Radio/Checkbox.Label/Verb'">Display publicly</translate></label>
|
||||
</div>
|
||||
<div class="ui hidden divider"></div>
|
||||
<div class="ui hidden divider"></div>
|
||||
<button :disabled="!canSave" @click="save" :class="['ui', 'green', {loading: isLoading}, 'button']">
|
||||
<translate :translate-context="'Content/Radio/Button.Label/Verb'">Save</translate>
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue