Skip to content

Commit

Permalink
Minor edits to i18n key and remove unneeded _redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Oct 13, 2024
1 parent 4eeb2dd commit a7dd041
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion frontend/_redirects

This file was deleted.

6 changes: 3 additions & 3 deletions frontend/components/modal/ModalSharePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ import { IconMap } from "~/types/icon-map";
import { toast, Toaster } from "vue-sonner";
import { useI18n } from "vue-i18n";
const { t } = useI18n();
const props = defineProps<{
cta: BtnAction["cta"];
organization?: Organization;
Expand All @@ -261,6 +259,8 @@ const props = defineProps<{
resource?: Resource;
user?: User;
}>();
const { t } = useI18n();
const modalName = "ModalSharePage";
const getEntityType = () => {
Expand Down Expand Up @@ -355,7 +355,7 @@ const copyToClipboardThenOpenURL = async (
try {
await navigator.clipboard.writeText(url);
signalContentCopied.value = true;
toast(t("components.modal_share_page.open_signal"));
toast(t("components.modal_share_page.opening_signal"));
setTimeout(() => {
signalContentCopied.value = false;
if (redirectURL) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
"components.modal_share_page.messenger": "Messenger",
"components.modal_share_page.offline": "Offline",
"components.modal_share_page.online": "Online",
"components.modal_share_page.open_signal": "Opening Signal",
"components.modal_share_page.opening_signal": "Opening Signal",
"components.modal_share_page.signal": "Signal",
"components.modal_share_page.telegram": "Telegram",
"components.modal_share_page.url_copied": "URL copied",
Expand Down

0 comments on commit a7dd041

Please sign in to comment.