mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Add config for privacy policy
This commit is contained in:
parent
caa3e83ab8
commit
007b22a6a9
3 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,10 @@
|
|||
<font-awesome-icon :icon="['fa', 'donate']" />
|
||||
<span v-t="'actions.instance_donations'" class="ml-2" />
|
||||
</a>
|
||||
<a v-if="privacyPolicyHref" :href="privacyPolicyHref" target="_blank">
|
||||
<font-awesome-icon :icon="['fa', 'eye']" />
|
||||
<span v-t="'actions.instance_privacy_policy'" class="ml-2" />
|
||||
</a>
|
||||
</footer>
|
||||
</template>
|
||||
|
||||
|
@ -29,6 +33,7 @@ export default {
|
|||
return {
|
||||
donationHref: null,
|
||||
statusPageHref: null,
|
||||
privacyPolicyHref: null,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
@ -39,6 +44,7 @@ export default {
|
|||
this.fetchJson(this.apiUrl() + "/config").then(config => {
|
||||
this.donationHref = config?.donationUrl;
|
||||
this.statusPageHref = config?.statusPageUrl;
|
||||
this.privacyPolicyHref = config?.privacyPolicyUrl;
|
||||
});
|
||||
},
|
||||
},
|
||||
|
|
|
@ -132,6 +132,7 @@
|
|||
"status_page": "Status",
|
||||
"source_code": "Source code",
|
||||
"instance_donations": "Instance donations",
|
||||
"instance_privacy_policy": "Privacy Policy",
|
||||
"reply_count": "{count} replies",
|
||||
"no_valid_playlists": "The file doesn't contain valid playlists!",
|
||||
"with_playlist": "Share with playlist",
|
||||
|
|
|
@ -81,6 +81,7 @@
|
|||
"status_page": "Estado",
|
||||
"source_code": "Código fonte",
|
||||
"instance_donations": "Doações de instâncias",
|
||||
"instance_privacy_policy": "Política de Privacidade",
|
||||
"instance_auth_selection": "Instância de Autenticação",
|
||||
"clone_playlist_success": "Clonada com sucesso!",
|
||||
"download_as_txt": "Baixar como .txt",
|
||||
|
|
Loading…
Reference in a new issue