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 () {
|
||||
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([
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue