Skip to content

📨 The ultimate agentic social media scheduling tool 🤖

feat: fix settings

Nevo David003a77eb2ed0
diff --git a/apps/frontend/src/components/new-launch/manage.modal.tsx b/apps/frontend/src/components/new-launch/manage.modal.tsx
index 6d466e311..a361be7df 100644
--- a/apps/frontend/src/components/new-launch/manage.modal.tsx
+++ b/apps/frontend/src/components/new-launch/manage.modal.tsx
@@ -144,6 +144,9 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
// the channels the post already has, each with its own post
const existingPosts = [existingData, ...(existingData.siblings || [])];
+ // the channel in view, or the one that was opened
+ const channel =
+ existingPosts.find((p) => p.integration === current) || existingData;
useEffect(() => {
if (hide) {
@@ -225,9 +228,6 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
const deletePost = useCallback(async () => {
setLoading(true);
if (existingData.siblings?.length) {
- // the channel in view, or the one that was opened
- const channel =
- existingPosts.find((p) => p.integration === current) || existingData;
const groups = await new Promise<string[]>((resolve) => {
modal.openModal({
id: 'delete-post-channels',
@@ -317,8 +317,9 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
const schedule = useCallback(
(type: 'draft' | 'now' | 'schedule' | 'update') => async () => {
let republish = false;
- // channels saved without changing their state, the rest are saved as `type`
- let updateOnly: string[] = [];
+ // the channels saved as another type, the rest are saved as `type`
+ const saveAs: Record<string, 'draft' | 'schedule' | 'update'> = {};
+ const saveTypeOf = (id: string) => saveAs[id] || type;
// the channels that already went out, or are going out right now
const published = existingPosts.filter(
(p) =>
@@ -326,9 +327,137 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
(p.posts?.[0]?.state === 'QUEUE' &&
dayjs().isAfter((channelDates[p.integration] || date).utc()))
);
+ const others = existingPosts.filter((p) => p !== channel);
- if ((type === 'now' || type === 'schedule') && published.length) {
- const channels = published
+ // another channel whose date already passed would go out right away, it
+ // only gets its details saved
+ if (type === 'schedule') {
+ for (const p of others) {
+ if (
+ !published.includes(p) &&
+ dayjs().isAfter((channelDates[p.integration] || date).utc())
+ ) {
+ saveAs[p.integration] = 'update';
+ }
+ }
+ }
+
+ // a draft of a post with other channels leaves the published ones as they are
+ if (type === 'draft' && existingData.siblings?.length) {
+ for (const p of published) {
+ if (p.posts[0].state === 'PUBLISHED') {
+ saveAs[p.integration] = 'update';
+ }
+ }
+ }
+
+ // the save that leaves a channel in its state
+ const asItIs = (p: (typeof existingPosts)[number]) =>
+ p.posts?.[0]?.state === 'DRAFT'
+ ? 'draft'
+ : p.posts?.[0]?.state === 'QUEUE' && !published.includes(p)
+ ? 'schedule'
+ : 'update';
+
+ // like the delete, a save that changes the state of the other channels
+ // (scheduling their drafts, moving them to drafts) can do it only for
+ // the channel in view, the others keep their state
+ if (
+ type !== 'update' &&
+ others.some(
+ (p) =>
+ !saveAs[p.integration] &&
+ // the republish question covers the published ones
+ (type === 'draft' || !published.includes(p)) &&
+ asItIs(p) !== type
+ )
+ ) {
+ const question =
+ type === 'draft'
+ ? t(
+ 'draft_post_in_all_channels_question',
+ 'This post was created for more than one channel. Do you want to move all of them to drafts?'
+ )
+ : type === 'now'
+ ? t(
+ 'post_now_in_all_channels_question',
+ 'This post was created for more than one channel. Do you want to post all of them now?'
+ )
+ : t(
+ 'schedule_post_in_all_channels_question',
+ 'This post was created for more than one channel. Do you want to schedule all of them?'
+ );
+
+ const allChannels =
+ type === 'draft'
+ ? t('draft_all_channels', 'Move all channels to drafts')
+ : type === 'now'
+ ? t('post_now_all_channels', 'Post all channels now')
+ : t('schedule_all_channels', 'Schedule all channels');
+
+ const whichChannels = await new Promise((resolve) => {
+ modal.openModal({
+ id: 'change-post-channels',
+ title: t('what_do_you_want_to_do', 'What do you want to do?'),
+ onClose: () => resolve(undefined),
+ children: (
+ <div className="flex flex-col">
+ <div className="text-[20px] mb-[20px]">{question}</div>
+ <div className="flex w-full gap-[10px]">
+ <div className="flex-1 flex">
+ <Button
+ type="button"
+ className="flex-1"
+ onClick={() => {
+ modal.closeById('change-post-channels');
+ resolve('all');
+ }}
+ >
+ {allChannels}
+ </Button>
+ </div>
+ {/* a published channel in view stays published on a draft */}
+ {!saveAs[channel.integration] && (
+ <div className="flex-1 flex">
+ <Button
+ type="button"
+ secondary
+ className="flex-1"
+ onClick={() => {
+ modal.closeById('change-post-channels');
+ resolve('only');
+ }}
+ >
+ {t('only_channel', 'Only')}{' '}
+ {
+ integrations.find((p) => p.id === channel.integration)
+ ?.name
+ }
+ </Button>
+ </div>
+ )}
+ </div>
+ </div>
+ ),
+ });
+ });
+
+ if (!whichChannels) {
+ return;
+ }
+
+ if (whichChannels === 'only') {
+ for (const p of others) {
+ saveAs[p.integration] = asItIs(p);
+ }
+ }
+ }
+
+ // the published channels that would go out again
+ const republishing = published.filter((p) => !saveAs[p.integration]);
+
+ if ((type === 'now' || type === 'schedule') && republishing.length) {
+ const channels = republishing
.map(
(p) =>
`${integrations.find((i) => i.id === p.integration)?.name} ${t(
@@ -342,9 +471,13 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
const isRecurring =
!!repeater || !!existingData?.posts?.[0]?.intervalInDays;
+ // it closes on a choice, so a save that then fails its checks shows
+ // the channel to fix
const whatToDo = await new Promise((resolve) => {
modal.openModal({
+ id: 'republish-post',
title: t('what_do_you_want_to_do', 'What do you want to do?'),
+ onClose: () => resolve(undefined),
children: (
<div className="flex flex-col">
<div className="text-[20px] mb-[20px]">
@@ -367,7 +500,10 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
<Button
type="button"
className="flex-1"
- onClick={() => resolve('update')}
+ onClick={() => {
+ modal.closeById('republish-post');
+ resolve('update');
+ }}
>
{t(
'just_update_post_details',
@@ -379,7 +515,10 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
<Button
type="button"
className="flex-1"
- onClick={() => resolve('republish')}
+ onClick={() => {
+ modal.closeById('republish-post');
+ resolve('republish');
+ }}
>
{t('republish_the_post', 'Republish the post')}
</Button>
@@ -390,8 +529,14 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
});
});
+ if (!whatToDo) {
+ return;
+ }
+
if (whatToDo === 'update') {
- updateOnly = published.map((p) => p.integration);
+ for (const p of republishing) {
+ saveAs[p.integration] = 'update';
+ }
}
if (whatToDo === 'republish') {
@@ -399,29 +544,6 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
}
}
- // another channel whose date already passed would go out right away, it
- // only gets its details saved
- if (type === 'schedule') {
- updateOnly = [
- ...updateOnly,
- ...existingPosts
- .filter(
- (p) =>
- p.integration !== existingData.integration &&
- !published.includes(p) &&
- dayjs().isAfter((channelDates[p.integration] || date).utc())
- )
- .map((p) => p.integration),
- ];
- }
-
- // a draft of a post with other channels leaves the published ones as they are
- if (type === 'draft' && existingData.siblings?.length) {
- updateOnly = published
- .filter((p) => p.posts[0].state === 'PUBLISHED')
- .map((p) => p.integration);
- }
-
setLoading(true);
// Pull the local values to build the payload, but rely on the server
@@ -493,47 +615,50 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
return;
}
- if (type !== 'draft') {
- for (const item of checkAllValid) {
- if (item.valid === false) {
- toaster.show(
- `${capitalize(item.identifier.split('-')[0])} (${item.name}): ${
- item.settingsError ||
- t('please_fix_your_settings', 'Please fix your settings')
- }`,
- 'warning'
- );
- focus(item.id, 'fix');
- setLoading(false);
- setShowSettings(true);
- return;
- }
+ // a channel saved as a draft gets these checks once it's scheduled
+ const notDrafts = checkAllValid.filter(
+ (p: any) => saveTypeOf(p.id) !== 'draft'
+ );
- if (item.errors !== true) {
- toaster.show(
- `${capitalize(item.identifier.split('-')[0])} (${item.name}): ${
- item.errors
- }`,
- 'warning'
- );
- focus(item.id, 'preview');
- setLoading(false);
- setShowSettings(false);
- return;
- }
+ for (const item of notDrafts) {
+ if (item.valid === false) {
+ toaster.show(
+ `${capitalize(item.identifier.split('-')[0])} (${item.name}): ${
+ item.settingsError ||
+ t('please_fix_your_settings', 'Please fix your settings')
+ }`,
+ 'warning'
+ );
+ focus(item.id, 'fix');
+ setLoading(false);
+ setShowSettings(true);
+ return;
+ }
- if (item.tooLong) {
- toaster.show(
- `${item.name} (${item.identifier}) ${t(
- 'post_is_too_long',
- 'post is too long, please fix it'
- )}`,
- 'warning'
- );
- focus(item.id, 'preview');
- setLoading(false);
- return;
- }
+ if (item.errors !== true) {
+ toaster.show(
+ `${capitalize(item.identifier.split('-')[0])} (${item.name}): ${
+ item.errors
+ }`,
+ 'warning'
+ );
+ focus(item.id, 'preview');
+ setLoading(false);
+ setShowSettings(false);
+ return;
+ }
+
+ if (item.tooLong) {
+ toaster.show(
+ `${item.name} (${item.identifier}) ${t(
+ 'post_is_too_long',
+ 'post is too long, please fix it'
+ )}`,
+ 'warning'
+ );
+ focus(item.id, 'preview');
+ setLoading(false);
+ return;
}
}
}
@@ -606,23 +731,16 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
if (addEditSets) {
addEditSets(data);
} else {
- // the channels that only update their details are saved apart, first,
- // since a draft save skips the checks their update still runs
+ // every type of save is its own request, the drafts last, since a
+ // draft save skips the checks the others still run
let saved = false;
- for (const request of [
- {
- type: 'update',
- posts: posts.filter((p: any) =>
- updateOnly.includes(p.integration.id)
- ),
- },
- {
- type,
+ for (const requestType of ['update', 'schedule', 'now', 'draft']) {
+ const request = {
+ type: requestType,
posts: posts.filter(
- (p: any) => !updateOnly.includes(p.integration.id)
+ (p: any) => saveTypeOf(p.integration.id) === requestType
),
- },
- ]) {
+ };
if (!request.posts.length) {
continue;
}
@@ -678,7 +796,9 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
tags,
date,
channelDates,
+ current,
integrations,
+ selectedIntegrations,
addEditSets,
dummy,
shortlinkPreferenceData,
diff --git a/apps/frontend/src/components/new-launch/providers/high.order.provider.tsx b/apps/frontend/src/components/new-launch/providers/high.order.provider.tsx
index 71fb27786..d20e224e6 100644
--- a/apps/frontend/src/components/new-launch/providers/high.order.provider.tsx
+++ b/apps/frontend/src/components/new-launch/providers/high.order.provider.tsx
@@ -218,14 +218,6 @@ export const withProvider = function <T extends object>(params: {
selectedIntegration.integration.additionalSettings || '[]'
)
),
- fix: () => {
- setCurrent(props.id);
- setHide(true);
- },
- preview: () => {
- setCurrent(props.id);
- setHide(true);
- },
};
},
getValues: () => {
@@ -239,6 +231,17 @@ export const withProvider = function <T extends object>(params: {
trigger: () => {
return form.trigger();
},
+ // a save that failed on this channel brings it into view, with its
+ // settings showing what is wrong
+ fix: () => {
+ setCurrent(props.id);
+ setHide(true);
+ form.trigger();
+ },
+ preview: () => {
+ setCurrent(props.id);
+ setHide(true);
+ },
}),
[value]
);
diff --git a/i18n.lock b/i18n.lock
index 6e2d38374..c0ece4a90 100644
--- a/i18n.lock
+++ b/i18n.lock
@@ -837,3 +837,10 @@ checksums:
delete_post_from_all_channels_question: f37374b458fa43056a019397f342ea04
delete_from_all_channels: 39a7f754c6a1f730cd511307e483e13d
delete_only_from: 819a30bf30916eba1d5ced11efc16fde
+ draft_post_in_all_channels_question: 042b07c5150e2dc8b37553301cb2aa73
+ draft_all_channels: c9008358b4c607d26973eb08fb961424
+ post_now_in_all_channels_question: aba83099c4258ae0d2272b16d835b2b4
+ post_now_all_channels: c4a25fc5f6abc7fb2c584d22e5bea01c
+ schedule_post_in_all_channels_question: 8fd19c2e5e74c4a8438ba180beaed615
+ schedule_all_channels: 2c761cc9d12ac53696ddfbdabdff1088
+ only_channel: 5687ae99e7f5b168e35532f895efd2e8
diff --git a/libraries/react-shared-libraries/src/translation/locales/ar/translation.json b/libraries/react-shared-libraries/src/translation/locales/ar/translation.json
index 6b2bb647b..84b8d9fa9 100644
--- a/libraries/react-shared-libraries/src/translation/locales/ar/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/ar/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "هل أنت متأكد أنك تريد حذف الوسائط المحددة؟",
"delete_post_from_all_channels_question": "تم إنشاء هذا المنشور لأكثر من قناة. هل تريد حذفه منها جميعًا؟",
"delete_from_all_channels": "حذف من جميع القنوات",
- "delete_only_from": "فقط من"
+ "delete_only_from": "فقط من",
+ "draft_post_in_all_channels_question": "تم إنشاء هذا المنشور لأكثر من قناة. هل تريد نقلها جميعًا إلى المسودات؟",
+ "draft_all_channels": "نقل جميع القنوات إلى المسودات",
+ "post_now_in_all_channels_question": "تم إنشاء هذا المنشور لأكثر من قناة. هل تريد نشرها جميعًا الآن؟",
+ "post_now_all_channels": "النشر الآن على جميع القنوات",
+ "schedule_post_in_all_channels_question": "تم إنشاء هذا المنشور لأكثر من قناة. هل تريد جدولتها جميعًا؟",
+ "schedule_all_channels": "جدولة جميع القنوات",
+ "only_channel": "فقط"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/bn/translation.json b/libraries/react-shared-libraries/src/translation/locales/bn/translation.json
index 227c8d0ba..ac95c201b 100644
--- a/libraries/react-shared-libraries/src/translation/locales/bn/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/bn/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "আপনি কি নিশ্চিত যে আপনি নির্বাচিত মিডিয়া মুছে ফেলতে চান?",
"delete_post_from_all_channels_question": "এই পোস্টটি একাধিক চ্যানেলের জন্য তৈরি করা হয়েছে। আপনি কি এটি সবগুলো থেকে মুছে ফেলতে চান?",
"delete_from_all_channels": "সব চ্যানেল থেকে মুছে ফেলুন",
- "delete_only_from": "শুধুমাত্র চ্যানেল থেকে:"
+ "delete_only_from": "শুধুমাত্র চ্যানেল থেকে:",
+ "draft_post_in_all_channels_question": "এই পোস্টটি একাধিক চ্যানেলের জন্য তৈরি করা হয়েছে। আপনি কি সবগুলোকে খসড়ায় সরাতে চান?",
+ "draft_all_channels": "সব চ্যানেল খসড়ায় সরান",
+ "post_now_in_all_channels_question": "এই পোস্টটি একাধিক চ্যানেলের জন্য তৈরি করা হয়েছে। আপনি কি সবগুলো এখনই পোস্ট করতে চান?",
+ "post_now_all_channels": "সব চ্যানেলে এখনই পোস্ট করুন",
+ "schedule_post_in_all_channels_question": "এই পোস্টটি একাধিক চ্যানেলের জন্য তৈরি করা হয়েছে। আপনি কি সবগুলোর সময়সূচী করতে চান?",
+ "schedule_all_channels": "সব চ্যানেলের সময়সূচী করুন",
+ "only_channel": "শুধুমাত্র চ্যানেল:"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/de/translation.json b/libraries/react-shared-libraries/src/translation/locales/de/translation.json
index ad516ffc7..4a73e28af 100644
--- a/libraries/react-shared-libraries/src/translation/locales/de/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/de/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "Bist du sicher, dass du die ausgewählten Medien löschen möchtest?",
"delete_post_from_all_channels_question": "Dieser Beitrag wurde für mehr als einen Kanal erstellt. Möchtest du ihn aus allen löschen?",
"delete_from_all_channels": "Aus allen Kanälen löschen",
- "delete_only_from": "Nur aus"
+ "delete_only_from": "Nur aus",
+ "draft_post_in_all_channels_question": "Dieser Beitrag wurde für mehr als einen Kanal erstellt. Möchtest du ihn in allen Kanälen als Entwurf speichern?",
+ "draft_all_channels": "Alle Kanäle als Entwurf speichern",
+ "post_now_in_all_channels_question": "Dieser Beitrag wurde für mehr als einen Kanal erstellt. Möchtest du ihn jetzt in allen Kanälen posten?",
+ "post_now_all_channels": "Jetzt in allen Kanälen posten",
+ "schedule_post_in_all_channels_question": "Dieser Beitrag wurde für mehr als einen Kanal erstellt. Möchtest du ihn in allen Kanälen planen?",
+ "schedule_all_channels": "In allen Kanälen planen",
+ "only_channel": "Nur"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/en/translation.json b/libraries/react-shared-libraries/src/translation/locales/en/translation.json
index ae1c81aef..055417ece 100644
--- a/libraries/react-shared-libraries/src/translation/locales/en/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/en/translation.json
@@ -834,5 +834,12 @@
"are_you_sure_you_want_to_delete_selected_media": "Are you sure you want to delete the selected media?",
"delete_post_from_all_channels_question": "This post was created for more than one channel. Do you want to delete it from all of them?",
"delete_from_all_channels": "Delete from all channels",
- "delete_only_from": "Only from"
+ "delete_only_from": "Only from",
+ "draft_post_in_all_channels_question": "This post was created for more than one channel. Do you want to move all of them to drafts?",
+ "draft_all_channels": "Move all channels to drafts",
+ "post_now_in_all_channels_question": "This post was created for more than one channel. Do you want to post all of them now?",
+ "post_now_all_channels": "Post all channels now",
+ "schedule_post_in_all_channels_question": "This post was created for more than one channel. Do you want to schedule all of them?",
+ "schedule_all_channels": "Schedule all channels",
+ "only_channel": "Only"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/es/translation.json b/libraries/react-shared-libraries/src/translation/locales/es/translation.json
index dca0314f7..5cbce4675 100644
--- a/libraries/react-shared-libraries/src/translation/locales/es/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/es/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "¿Estás seguro de que quieres eliminar los medios seleccionados?",
"delete_post_from_all_channels_question": "Esta publicación se creó para más de un canal. ¿Quieres eliminarla de todos?",
"delete_from_all_channels": "Eliminar de todos los canales",
- "delete_only_from": "Solo de"
+ "delete_only_from": "Solo de",
+ "draft_post_in_all_channels_question": "Esta publicación se creó para más de un canal. ¿Quieres pasarlas todas a borradores?",
+ "draft_all_channels": "Pasar todos los canales a borradores",
+ "post_now_in_all_channels_question": "Esta publicación se creó para más de un canal. ¿Quieres publicarlas todas ahora?",
+ "post_now_all_channels": "Publicar ahora en todos los canales",
+ "schedule_post_in_all_channels_question": "Esta publicación se creó para más de un canal. ¿Quieres programarlas todas?",
+ "schedule_all_channels": "Programar todos los canales",
+ "only_channel": "Solo"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/fr/translation.json b/libraries/react-shared-libraries/src/translation/locales/fr/translation.json
index 9bb4d07f3..21e7400b6 100644
--- a/libraries/react-shared-libraries/src/translation/locales/fr/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/fr/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "Êtes-vous sûr de vouloir supprimer les médias sélectionnés ?",
"delete_post_from_all_channels_question": "Ce post a été créé pour plusieurs canaux. Voulez-vous le supprimer de tous ?",
"delete_from_all_channels": "Supprimer de tous les canaux",
- "delete_only_from": "Uniquement sur"
+ "delete_only_from": "Uniquement sur",
+ "draft_post_in_all_channels_question": "Ce post a été créé pour plusieurs canaux. Voulez-vous tous les passer en brouillon ?",
+ "draft_all_channels": "Passer tous les canaux en brouillon",
+ "post_now_in_all_channels_question": "Ce post a été créé pour plusieurs canaux. Voulez-vous tous les publier maintenant ?",
+ "post_now_all_channels": "Publier maintenant sur tous les canaux",
+ "schedule_post_in_all_channels_question": "Ce post a été créé pour plusieurs canaux. Voulez-vous tous les planifier ?",
+ "schedule_all_channels": "Planifier tous les canaux",
+ "only_channel": "Uniquement"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/he/translation.json b/libraries/react-shared-libraries/src/translation/locales/he/translation.json
index f597e6061..00da58405 100644
--- a/libraries/react-shared-libraries/src/translation/locales/he/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/he/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "האם אתה בטוח שברצונך למחוק את המדיה שנבחרה?",
"delete_post_from_all_channels_question": "הפוסט הזה נוצר עבור יותר מערוץ אחד. האם ברצונך למחוק אותו מכולם?",
"delete_from_all_channels": "מחק מכל הערוצים",
- "delete_only_from": "רק מהערוץ"
+ "delete_only_from": "רק מהערוץ",
+ "draft_post_in_all_channels_question": "הפוסט הזה נוצר עבור יותר מערוץ אחד. האם ברצונך להעביר את כולם לטיוטות?",
+ "draft_all_channels": "העבר את כל הערוצים לטיוטות",
+ "post_now_in_all_channels_question": "הפוסט הזה נוצר עבור יותר מערוץ אחד. האם ברצונך לפרסם את כולם עכשיו?",
+ "post_now_all_channels": "פרסם עכשיו בכל הערוצים",
+ "schedule_post_in_all_channels_question": "הפוסט הזה נוצר עבור יותר מערוץ אחד. האם ברצונך לתזמן את כולם?",
+ "schedule_all_channels": "תזמן את כל הערוצים",
+ "only_channel": "רק"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/it/translation.json b/libraries/react-shared-libraries/src/translation/locales/it/translation.json
index 4a554c703..5e0ffc4b6 100644
--- a/libraries/react-shared-libraries/src/translation/locales/it/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/it/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "Sei sicuro di voler eliminare i media selezionati?",
"delete_post_from_all_channels_question": "Questo post è stato creato per più di un canale. Vuoi eliminarlo da tutti?",
"delete_from_all_channels": "Elimina da tutti i canali",
- "delete_only_from": "Solo da"
+ "delete_only_from": "Solo da",
+ "draft_post_in_all_channels_question": "Questo post è stato creato per più di un canale. Vuoi spostarli tutti nelle bozze?",
+ "draft_all_channels": "Sposta tutti i canali nelle bozze",
+ "post_now_in_all_channels_question": "Questo post è stato creato per più di un canale. Vuoi pubblicarli tutti ora?",
+ "post_now_all_channels": "Pubblica ora su tutti i canali",
+ "schedule_post_in_all_channels_question": "Questo post è stato creato per più di un canale. Vuoi programmarli tutti?",
+ "schedule_all_channels": "Programma tutti i canali",
+ "only_channel": "Solo"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/ja/translation.json b/libraries/react-shared-libraries/src/translation/locales/ja/translation.json
index 57f052d4b..cc041ad3e 100644
--- a/libraries/react-shared-libraries/src/translation/locales/ja/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/ja/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "選択したメディアを削除してもよろしいですか?",
"delete_post_from_all_channels_question": "この投稿は複数のチャンネル向けに作成されました。すべてのチャンネルから削除しますか?",
"delete_from_all_channels": "すべてのチャンネルから削除",
- "delete_only_from": "このチャンネルのみ:"
+ "delete_only_from": "このチャンネルのみ:",
+ "draft_post_in_all_channels_question": "この投稿は複数のチャンネル向けに作成されました。すべてのチャンネルを下書きに移動しますか?",
+ "draft_all_channels": "すべてのチャンネルを下書きに移動",
+ "post_now_in_all_channels_question": "この投稿は複数のチャンネル向けに作成されました。すべてのチャンネルに今すぐ投稿しますか?",
+ "post_now_all_channels": "すべてのチャンネルに今すぐ投稿",
+ "schedule_post_in_all_channels_question": "この投稿は複数のチャンネル向けに作成されました。すべてのチャンネルでスケジュールしますか?",
+ "schedule_all_channels": "すべてのチャンネルでスケジュール",
+ "only_channel": "このチャンネルのみ:"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/ko/translation.json b/libraries/react-shared-libraries/src/translation/locales/ko/translation.json
index 17c5648f0..d4606aeec 100644
--- a/libraries/react-shared-libraries/src/translation/locales/ko/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/ko/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "선택한 미디어를 삭제하시겠습니까?",
"delete_post_from_all_channels_question": "이 게시글은 여러 채널용으로 만들어졌습니다. 모든 채널에서 삭제하시겠습니까?",
"delete_from_all_channels": "모든 채널에서 삭제",
- "delete_only_from": "다음 채널에서만:"
+ "delete_only_from": "다음 채널에서만:",
+ "draft_post_in_all_channels_question": "이 게시글은 여러 채널용으로 만들어졌습니다. 모든 채널을 임시 저장으로 옮기시겠습니까?",
+ "draft_all_channels": "모든 채널을 임시 저장으로 옮기기",
+ "post_now_in_all_channels_question": "이 게시글은 여러 채널용으로 만들어졌습니다. 모든 채널에 지금 게시하시겠습니까?",
+ "post_now_all_channels": "모든 채널에 지금 게시",
+ "schedule_post_in_all_channels_question": "이 게시글은 여러 채널용으로 만들어졌습니다. 모든 채널에 예약하시겠습니까?",
+ "schedule_all_channels": "모든 채널에 예약",
+ "only_channel": "다음 채널만:"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/pt/translation.json b/libraries/react-shared-libraries/src/translation/locales/pt/translation.json
index 6e4c2367c..f8f7d8a70 100644
--- a/libraries/react-shared-libraries/src/translation/locales/pt/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/pt/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "Tem certeza de que deseja excluir as mídias selecionadas?",
"delete_post_from_all_channels_question": "Esta publicação foi criada para mais de um canal. Deseja excluí-la de todos?",
"delete_from_all_channels": "Excluir de todos os canais",
- "delete_only_from": "Apenas de"
+ "delete_only_from": "Apenas de",
+ "draft_post_in_all_channels_question": "Esta publicação foi criada para mais de um canal. Deseja mover todas para rascunhos?",
+ "draft_all_channels": "Mover todos os canais para rascunhos",
+ "post_now_in_all_channels_question": "Esta publicação foi criada para mais de um canal. Deseja publicar todas agora?",
+ "post_now_all_channels": "Publicar agora em todos os canais",
+ "schedule_post_in_all_channels_question": "Esta publicação foi criada para mais de um canal. Deseja agendar todas?",
+ "schedule_all_channels": "Agendar todos os canais",
+ "only_channel": "Apenas"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/ru/translation.json b/libraries/react-shared-libraries/src/translation/locales/ru/translation.json
index 580773094..1a1c4d138 100644
--- a/libraries/react-shared-libraries/src/translation/locales/ru/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/ru/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "Вы уверены, что хотите удалить выбранные медиа?",
"delete_post_from_all_channels_question": "Этот пост создан для нескольких каналов. Удалить его из всех?",
"delete_from_all_channels": "Удалить из всех каналов",
- "delete_only_from": "Только из канала"
+ "delete_only_from": "Только из канала",
+ "draft_post_in_all_channels_question": "Этот пост создан для нескольких каналов. Перенести его в черновики во всех?",
+ "draft_all_channels": "Перенести все каналы в черновики",
+ "post_now_in_all_channels_question": "Этот пост создан для нескольких каналов. Опубликовать его сейчас во всех?",
+ "post_now_all_channels": "Опубликовать сейчас во всех каналах",
+ "schedule_post_in_all_channels_question": "Этот пост создан для нескольких каналов. Запланировать его во всех?",
+ "schedule_all_channels": "Запланировать во всех каналах",
+ "only_channel": "Только"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/tr/translation.json b/libraries/react-shared-libraries/src/translation/locales/tr/translation.json
index f94df9335..ba0b054ed 100644
--- a/libraries/react-shared-libraries/src/translation/locales/tr/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/tr/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "Seçili medyayı silmek istediğinizden emin misiniz?",
"delete_post_from_all_channels_question": "Bu gönderi birden fazla kanal için oluşturuldu. Hepsinden silmek istiyor musunuz?",
"delete_from_all_channels": "Tüm kanallardan sil",
- "delete_only_from": "Yalnızca şu kanaldan:"
+ "delete_only_from": "Yalnızca şu kanaldan:",
+ "draft_post_in_all_channels_question": "Bu gönderi birden fazla kanal için oluşturuldu. Hepsini taslaklara taşımak istiyor musunuz?",
+ "draft_all_channels": "Tüm kanalları taslaklara taşı",
+ "post_now_in_all_channels_question": "Bu gönderi birden fazla kanal için oluşturuldu. Hepsini şimdi paylaşmak istiyor musunuz?",
+ "post_now_all_channels": "Tüm kanallarda şimdi paylaş",
+ "schedule_post_in_all_channels_question": "Bu gönderi birden fazla kanal için oluşturuldu. Hepsini zamanlamak istiyor musunuz?",
+ "schedule_all_channels": "Tüm kanalları zamanla",
+ "only_channel": "Yalnızca şu kanal:"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/vi/translation.json b/libraries/react-shared-libraries/src/translation/locales/vi/translation.json
index 65db01a72..6510e18f6 100644
--- a/libraries/react-shared-libraries/src/translation/locales/vi/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/vi/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "Bạn có chắc muốn xóa phương tiện đã chọn không?",
"delete_post_from_all_channels_question": "Bài đăng này được tạo cho nhiều kênh. Bạn có muốn xóa nó khỏi tất cả các kênh không?",
"delete_from_all_channels": "Xóa khỏi tất cả các kênh",
- "delete_only_from": "Chỉ từ"
+ "delete_only_from": "Chỉ từ",
+ "draft_post_in_all_channels_question": "Bài đăng này được tạo cho nhiều kênh. Bạn có muốn chuyển tất cả sang bản nháp không?",
+ "draft_all_channels": "Chuyển tất cả các kênh sang bản nháp",
+ "post_now_in_all_channels_question": "Bài đăng này được tạo cho nhiều kênh. Bạn có muốn đăng ngay trên tất cả các kênh không?",
+ "post_now_all_channels": "Đăng ngay trên tất cả các kênh",
+ "schedule_post_in_all_channels_question": "Bài đăng này được tạo cho nhiều kênh. Bạn có muốn lên lịch cho tất cả các kênh không?",
+ "schedule_all_channels": "Lên lịch cho tất cả các kênh",
+ "only_channel": "Chỉ"
}
diff --git a/libraries/react-shared-libraries/src/translation/locales/zh/translation.json b/libraries/react-shared-libraries/src/translation/locales/zh/translation.json
index bc3261868..0b3235c94 100644
--- a/libraries/react-shared-libraries/src/translation/locales/zh/translation.json
+++ b/libraries/react-shared-libraries/src/translation/locales/zh/translation.json
@@ -832,5 +832,12 @@
"are_you_sure_you_want_to_delete_selected_media": "你确定要删除所选媒体吗?",
"delete_post_from_all_channels_question": "此帖子是为多个频道创建的。要从所有频道中删除它吗?",
"delete_from_all_channels": "从所有频道删除",
- "delete_only_from": "只删除"
+ "delete_only_from": "只删除",
+ "draft_post_in_all_channels_question": "此帖子是为多个频道创建的。要将所有频道都移至草稿吗?",
+ "draft_all_channels": "将所有频道移至草稿",
+ "post_now_in_all_channels_question": "此帖子是为多个频道创建的。要立即在所有频道发布吗?",
+ "post_now_all_channels": "立即在所有频道发布",
+ "schedule_post_in_all_channels_question": "此帖子是为多个频道创建的。要在所有频道安排发布吗?",
+ "schedule_all_channels": "在所有频道安排发布",
+ "only_channel": "仅"
}