freetube/src/renderer
Emma 25d954f990
Cleaning up calls to the Clipboard API (#2597)
* Added a copyToClipboard function to utils

This should make it easier to handle errors which
result from the clipboard API (which are more likely
in web builds). This should also make it easier to handle
copying to clipboard in cordova builds by abstracting the
platform specific code out of the views and moving it
all into one function.

* Moved the $t function out of utils

* Removing locale snippets I was using and am not now

* Added function comment to copyToClipboard

* Adding some missing references

* Adding an additional check

* Re-reviewing my changes, I found a mistake

* Update src/renderer/store/modules/utils.js

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

* Update static/locales/en-US.yaml

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>

* Reverting the language back to what it was previously

* Switching to using i18n.t()

instead of handling the translations myself.
Also, it looks like eslint removed a tab.

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
2022-09-21 15:00:21 +08:00
..
assets Feature: Screenshot of video (#2221) 2022-05-30 15:24:34 +02:00
components Cleaning up calls to the Clipboard API (#2597) 2022-09-21 15:00:21 +08:00
i18n allow more locales to be used by FreeTube (#2322) 2022-07-08 18:01:58 +08:00
router Feature/channels page (#2129) 2022-07-08 11:40:10 +08:00
sass-partials Fix issue where the watched progress bar in ft-list-item would overflow 2022-02-06 15:54:49 -05:00
store Cleaning up calls to the Clipboard API (#2597) 2022-09-21 15:00:21 +08:00
views Cleaning up calls to the Clipboard API (#2597) 2022-09-21 15:00:21 +08:00
App.css Fix banner width (#2432) 2022-07-31 15:37:22 -04:00
App.js Electron variable at build time instead of at runtime (#2574) 2022-09-15 08:59:09 +00:00
App.vue Fix banner width (#2432) 2022-07-31 15:37:22 -04:00
main.js Electron variable at build time instead of at runtime (#2574) 2022-09-15 08:59:09 +00:00
themes.css Update css-loader and switch to webpack 5's asset modules (#2566) 2022-09-11 20:34:58 -04:00
videoJS.css Fix emojis displaying incorrectly (#2327) 2022-06-19 16:44:24 -04:00