Replaced "include time" with "include timestamp".

This commit is contained in:
Violet Rose 2020-09-12 08:20:12 -07:00
parent 61c25a05f5
commit c5a00d49cf
3 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@ export default Vue.extend({
},
data: function () {
return {
includeTime: false
includeTimestamp: false
}
},
computed: {
@ -118,12 +118,12 @@ export default Vue.extend({
this.$refs.iconButton.toggleDropdown()
},
updateIncludeTime() {
this.includeTime = !this.includeTime
updateincludeTimestamp() {
this.includeTimestamp = !this.includeTimestamp
},
getFinalUrl(url) {
return this.includeTime ? `${url}&t=${this.getTimestamp()}` : url
return this.includeTimestamp ? `${url}&t=${this.getTimestamp()}` : url
},
...mapActions([

View File

@ -9,10 +9,10 @@
>
<ft-flex-box>
<ft-toggle-switch
:label="$t('Share.Include Time')"
:label="$t('Share.Include Timestamp')"
:compact="true"
:default-value="includeTime"
@change="updateIncludeTime"
:default-value="includeTimestamp"
@change="updateincludeTimestamp"
/>
</ft-flex-box>
<div class="shareLinks">

View File

@ -424,7 +424,7 @@ Change Format:
Use Audio Formats: Use Audio Formats
Share:
Share Video: Share Video
Include Time: Include Time
Include Timestamp: Include Timestamp
Copy Link: Copy Link
Open Link: Open Link
Copy Embed: Copy Embed