Replaced "include time" with "include timestamp".
This commit is contained in:
parent
61c25a05f5
commit
c5a00d49cf
|
@ -26,7 +26,7 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
includeTime: false
|
includeTimestamp: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -118,12 +118,12 @@ export default Vue.extend({
|
||||||
this.$refs.iconButton.toggleDropdown()
|
this.$refs.iconButton.toggleDropdown()
|
||||||
},
|
},
|
||||||
|
|
||||||
updateIncludeTime() {
|
updateincludeTimestamp() {
|
||||||
this.includeTime = !this.includeTime
|
this.includeTimestamp = !this.includeTimestamp
|
||||||
},
|
},
|
||||||
|
|
||||||
getFinalUrl(url) {
|
getFinalUrl(url) {
|
||||||
return this.includeTime ? `${url}&t=${this.getTimestamp()}` : url
|
return this.includeTimestamp ? `${url}&t=${this.getTimestamp()}` : url
|
||||||
},
|
},
|
||||||
|
|
||||||
...mapActions([
|
...mapActions([
|
||||||
|
|
|
@ -9,10 +9,10 @@
|
||||||
>
|
>
|
||||||
<ft-flex-box>
|
<ft-flex-box>
|
||||||
<ft-toggle-switch
|
<ft-toggle-switch
|
||||||
:label="$t('Share.Include Time')"
|
:label="$t('Share.Include Timestamp')"
|
||||||
:compact="true"
|
:compact="true"
|
||||||
:default-value="includeTime"
|
:default-value="includeTimestamp"
|
||||||
@change="updateIncludeTime"
|
@change="updateincludeTimestamp"
|
||||||
/>
|
/>
|
||||||
</ft-flex-box>
|
</ft-flex-box>
|
||||||
<div class="shareLinks">
|
<div class="shareLinks">
|
||||||
|
|
|
@ -424,7 +424,7 @@ Change Format:
|
||||||
Use Audio Formats: Use Audio Formats
|
Use Audio Formats: Use Audio Formats
|
||||||
Share:
|
Share:
|
||||||
Share Video: Share Video
|
Share Video: Share Video
|
||||||
Include Time: Include Time
|
Include Timestamp: Include Timestamp
|
||||||
Copy Link: Copy Link
|
Copy Link: Copy Link
|
||||||
Open Link: Open Link
|
Open Link: Open Link
|
||||||
Copy Embed: Copy Embed
|
Copy Embed: Copy Embed
|
||||||
|
|
Loading…
Reference in New Issue