mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-26 23:47:25 +00:00
Merge pull request #2916 from pluto-lat/privacy-policy-pr
Add config for privacy policy
This commit is contained in:
commit
5047aa9bcc
@ -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 New Issue
Block a user