A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix(guild): import all template channel types, fetch on desktop (#3473)
Hampus99be186fa18c
diff --git a/fluxer_api/src/api/guild/services/data/GuildOperationsService.ts b/fluxer_api/src/api/guild/services/data/GuildOperationsService.tsindex d7ee5ee34..8cf10a8c9 100644--- a/fluxer_api/src/api/guild/services/data/GuildOperationsService.ts+++ b/fluxer_api/src/api/guild/services/data/GuildOperationsService.ts@@ -18,6 +18,7 @@ import {import type {ChannelService} from '@app/api/channel/services/ChannelService';import {getContentMessage} from '@app/api/content_i18n/ContentI18n';import {BatchBuilder} from '@app/api/database/CassandraQueryExecution';+import {Db, type DbOp} from '@app/api/database/CassandraTypes';import type {PermissionOverwrite} from '@app/api/database/types/ChannelTypes';import type {GuildRow} from '@app/api/database/types/GuildTypes';import {isTainted} from '@app/api/experiment/ChannelThreadsGate';@@ -25,6 +26,11 @@ import {mapGuildToGuildResponse, mapGuildToPartialResponse} from '@app/api/guildimport type {GuildDiscoveryRepository} from '@app/api/guild/repositories/GuildDiscoveryRepository';import type {GuildRepository} from '@app/api/guild/repositories/GuildRepository';import type {GuildDataHelpers} from '@app/api/guild/services/data/GuildDataHelpers';+import {+ buildTemplateThreadParentConfig,+ clipTemplateTopic,+ mapOtherPlatformTemplateChannelType,+} from '@app/api/guild/services/data/TemplateChannelImport';import {memberEndsInvitePause} from '@app/api/guild/services/GuildInvitePauseApplier';import {emitGuildCreated, emitGuildFeaturesChanged} from '@app/api/infrastructure/activity/GuildEvents';import {contentModerationService} from '@app/api/infrastructure/ContentModerationService';@@ -43,7 +49,16 @@ import {getGuildSearchService} from '@app/api/SearchFactory';import type {GuildDiscoveryContext} from '@app/api/search/guild/GuildSearchSerializer';import {deleteChannelMessageSearchDocuments} from '@app/api/search/MessageSearchIndexCleanup';import {deleteThreadSearchDocuments} from '@app/api/search/thread/ThreadSearchService';-import {Channels, ChannelsByGuild, GuildMembers, GuildMembersByUserId, GuildRoles, Guilds} from '@app/api/Tables';+import {+ Channels,+ ChannelsByGuild,+ GuildMembers,+ GuildMembersByUserId,+ GuildRoles,+ Guilds,+ ThreadOnlyChannelsByGuild,+ ThreadParentConfig as ThreadParentConfigTable,+} from '@app/api/Tables';import type {UserRepository} from '@app/api/user/repositories/UserRepository';import {mapUserSettingsToResponse} from '@app/api/user/UserMappers';import {addGuildToUncategorizedFolder, removeGuildFromUserFolders} from '@app/api/user/utils/GuildFolderUtils';@@ -71,6 +86,7 @@ import {VOICE_CHANNEL_CONNECTION_LIMIT_DEFAULT,VOICE_CHANNEL_USER_LIMIT_MAX,} from '@fluxer/constants/src/LimitConstants';+import {THREAD_ONLY_CHANNEL_TYPES} from '@fluxer/constants/src/ThreadConstants';import {DEFAULT_THREAD_PERMISSIONS,THREAD_AWARE_ALL_PERMISSIONS,@@ -190,7 +206,6 @@ const THREAD_PURGE_CONCURRENCY = 8;const GUILD_DELETION_MEMBER_CONCURRENCY = 25;const GUILD_DELETION_PENDING_FEATURES = [GuildFeatures.UNAVAILABLE_FOR_EVERYONE, GuildFeatures.UNAVAILABLE_HIDDEN];const TEMPLATE_AFK_TIMEOUT_MAX_SECONDS = 3600;-const THE_OTHER_PLATFORM_GUILD_STAGE_VOICE_CHANNEL_TYPE = 13;function isSystemChannelType(type: number): boolean {return type === ChannelTypes.GUILD_TEXT || type === ChannelTypes.GUILD_ANNOUNCEMENT;@@ -1024,7 +1039,7 @@ export class GuildOperationsService {throw new GuildTemplateInvalidError();}seenChannelKeys.add(channelKey);- const fluxerType = this.mapOtherPlatformTemplateChannelTypeToFluxer(channel.type);+ const fluxerType = mapOtherPlatformTemplateChannelType(channel.type);if (fluxerType == null) {skippedOtherPlatformChannelTypes.add(channel.type);continue;@@ -1102,7 +1117,9 @@ export class GuildOperationsService {const parentKey = channel.parent_id != null ? this.getTemplateEntityKey(channel.parent_id) : null;const parentType = parentKey != null ? channelTypeMap.get(parentKey) : null;const parentId =- parentKey != null && parentType === ChannelTypes.GUILD_CATEGORY ? (channelIdMap.get(parentKey) ?? null) : null;+ fluxerType !== ChannelTypes.GUILD_CATEGORY && parentKey != null && parentType === ChannelTypes.GUILD_CATEGORY+ ? (channelIdMap.get(parentKey) ?? null)+ : null;const isVoice = fluxerType === ChannelTypes.GUILD_VOICE;let permissionOverwrites: Map<RoleID | UserID, PermissionOverwrite> | null = null;if (channel.permission_overwrites && channel.permission_overwrites.length > 0) {@@ -1132,7 +1149,7 @@ export class GuildOperationsService {guild_id: guildId,type: fluxerType,name: channel.name,- topic: channel.topic ?? null,+ topic: clipTemplateTopic(channel.topic, fluxerType),icon_hash: null,url: null,parent_id: parentId,@@ -1160,11 +1177,25 @@ export class GuildOperationsService {}),);batch.addPrepared(- ChannelsByGuild.upsertAll({- guild_id: guildId,- channel_id: channelId,- }),+ THREAD_ONLY_CHANNEL_TYPES.has(fluxerType)+ ? ThreadOnlyChannelsByGuild.upsertAll({guild_id: guildId, channel_id: channelId})+ : ChannelsByGuild.upsertAll({guild_id: guildId, channel_id: channelId}),);+ const parentConfig = await buildTemplateThreadParentConfig(channel, fluxerType, () =>+ this.snowflakeService.generate(),+ );+ if (parentConfig) {+ const ops: Record<string, DbOp<unknown>> = {};+ for (const [key, value] of Object.entries(parentConfig)) {+ if (value !== undefined) ops[key] = Db.set(value);+ }+ batch.addPrepared(+ ThreadParentConfigTable.patchByPk(+ {guild_id: guildId, channel_id: channelId},+ ops as Parameters<typeof ThreadParentConfigTable.patchByPk>[1],+ ),+ );+ }}let systemChannelId: ChannelID | null = null;if (template.system_channel_id != null) {@@ -1241,21 +1272,6 @@ export class GuildOperationsService {return roles.find((role) => this.getTemplateEntityKey(role.id) === '0') ?? null;}- private mapOtherPlatformTemplateChannelTypeToFluxer(channelType: number): number | null {- if (- channelType === ChannelTypes.GUILD_TEXT ||- channelType === ChannelTypes.GUILD_ANNOUNCEMENT ||- channelType === ChannelTypes.GUILD_VOICE ||- channelType === ChannelTypes.GUILD_CATEGORY- ) {- return channelType;- }- if (channelType === THE_OTHER_PLATFORM_GUILD_STAGE_VOICE_CHANNEL_TYPE) {- return ChannelTypes.GUILD_VOICE;- }- return null;- }-private sanitiseTemplateGuildSettings(template?: TemplateSerializedGuild): TemplateGuildSettings {return {verificationLevel: this.clampTemplateSetting(diff --git a/fluxer_api/src/api/guild/services/data/TemplateChannelImport.ts b/fluxer_api/src/api/guild/services/data/TemplateChannelImport.tsnew file mode 100644index 000000000..660146387--- /dev/null+++ b/fluxer_api/src/api/guild/services/data/TemplateChannelImport.ts@@ -0,0 +1,118 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import type {ThreadParentConfigPatch} from '@app/api/channel/repositories/ThreadRepository';+import type {ForumTagUdt} from '@app/api/database/types/ThreadTypes';+import {ChannelTypes} from '@fluxer/constants/src/ChannelConstants';+import {CHANNEL_TOPIC_MAX_LENGTH} from '@fluxer/constants/src/LimitConstants';+import {+ ChannelFlags,+ FORUM_TAG_NAME_MAX_LENGTH,+ FORUM_TOPIC_MAX_LENGTH,+ ForumLayoutTypes,+ ForumSortOrderTypes,+ ForumTagSettings,+ MAX_FORUM_TAGS_PER_CHANNEL,+ settableChannelFlags,+ THREAD_AUTO_ARCHIVE_DURATIONS,+ THREAD_ONLY_CHANNEL_TYPES,+ THREAD_PARENT_CHANNEL_TYPES,+ THREAD_RATE_LIMIT_PER_USER_MAX,+} from '@fluxer/constants/src/ThreadConstants';+import type {TemplateChannel} from '@fluxer/schema/src/domains/guild/GuildTemplateSchemas';+import {isValidSingleUnicodeEmoji} from '@fluxer/schema/src/primitives/EmojiValidators';++const THE_OTHER_PLATFORM_GUILD_STAGE_VOICE_CHANNEL_TYPE = 13;++const IMPORTED_CHANNEL_TYPES = new Set<number>([+ ChannelTypes.GUILD_TEXT,+ ChannelTypes.GUILD_VOICE,+ ChannelTypes.GUILD_CATEGORY,+ ChannelTypes.GUILD_ANNOUNCEMENT,+ ChannelTypes.GUILD_FORUM,+ ChannelTypes.GUILD_MEDIA,+]);++const FORUM_SORT_ORDERS = new Set<number>(Object.values(ForumSortOrderTypes));+const FORUM_LAYOUTS = new Set<number>(Object.values(ForumLayoutTypes));+const FORUM_TAG_SETTINGS = new Set<string>(Object.values(ForumTagSettings));+const AUTO_ARCHIVE_DURATIONS = new Set<number>(THREAD_AUTO_ARCHIVE_DURATIONS);++export function mapOtherPlatformTemplateChannelType(channelType: number): number | null {+ if (IMPORTED_CHANNEL_TYPES.has(channelType)) return channelType;+ if (channelType === THE_OTHER_PLATFORM_GUILD_STAGE_VOICE_CHANNEL_TYPE) return ChannelTypes.GUILD_VOICE;+ return null;+}++function clipText(value: string, maxLength: number): string {+ if (value.length <= maxLength) return value;+ const last = value.charCodeAt(maxLength - 1);+ const end = last >= 0xd800 && last <= 0xdbff ? maxLength - 1 : maxLength;+ return value.slice(0, end);+}++export function clipTemplateTopic(topic: string | null | undefined, channelType: number): string | null {+ if (!topic) return null;+ const maxLength = THREAD_ONLY_CHANNEL_TYPES.has(channelType) ? FORUM_TOPIC_MAX_LENGTH : CHANNEL_TOPIC_MAX_LENGTH;+ return clipText(topic, maxLength);+}++function pickUnicodeEmoji(emojiName: string | null | undefined): string | null {+ return emojiName != null && isValidSingleUnicodeEmoji(emojiName) ? emojiName : null;+}++async function buildTemplateTags(+ tags: NonNullable<TemplateChannel['available_tags']>,+ generateId: () => Promise<bigint>,+): Promise<Array<ForumTagUdt>> {+ const names = new Set<string>();+ const result: Array<ForumTagUdt> = [];+ for (const tag of tags) {+ if (result.length >= MAX_FORUM_TAGS_PER_CHANNEL) break;+ const name = clipText(tag.name.trim(), FORUM_TAG_NAME_MAX_LENGTH);+ if (name.length === 0 || names.has(name)) continue;+ names.add(name);+ result.push({+ id: await generateId(),+ name,+ moderated: tag.moderated === true,+ emoji_id: null,+ emoji_name: pickUnicodeEmoji(tag.emoji_name),+ });+ }+ return result;+}++export async function buildTemplateThreadParentConfig(+ channel: TemplateChannel,+ channelType: number,+ generateId: () => Promise<bigint>,+): Promise<ThreadParentConfigPatch | null> {+ if (!THREAD_PARENT_CHANNEL_TYPES.has(channelType)) return null;+ const patch: ThreadParentConfigPatch = {};+ const archiveDuration = channel.default_auto_archive_duration;+ if (archiveDuration != null && AUTO_ARCHIVE_DURATIONS.has(archiveDuration)) {+ patch.default_auto_archive_duration = archiveDuration;+ }+ const threadSlowmode = channel.default_thread_rate_limit_per_user;+ if (threadSlowmode != null && threadSlowmode > 0) {+ patch.default_thread_rate_limit_per_user = Math.min(threadSlowmode, THREAD_RATE_LIMIT_PER_USER_MAX);+ }+ if (THREAD_ONLY_CHANNEL_TYPES.has(channelType)) {+ const tags = await buildTemplateTags(channel.available_tags ?? [], generateId);+ if (tags.length > 0) patch.available_tags = tags;+ const reactionEmoji = pickUnicodeEmoji(channel.default_reaction_emoji?.emoji_name);+ if (reactionEmoji) patch.default_reaction_emoji_name = reactionEmoji;+ const sortOrder = channel.default_sort_order;+ if (sortOrder != null && FORUM_SORT_ORDERS.has(sortOrder)) patch.default_sort_order = sortOrder;+ const layout = channel.default_forum_layout;+ if (channelType === ChannelTypes.GUILD_FORUM && layout != null && FORUM_LAYOUTS.has(layout)) {+ patch.default_forum_layout = layout;+ }+ const tagSetting = channel.default_tag_setting;+ if (tagSetting != null && FORUM_TAG_SETTINGS.has(tagSetting)) patch.default_tag_setting = tagSetting;+ let flags = (channel.flags ?? 0) & settableChannelFlags(channelType);+ if (!tags.some((tag) => !tag.moderated)) flags &= ~ChannelFlags.REQUIRE_TAG;+ if (flags !== 0) patch.flags = flags;+ }+ return Object.keys(patch).length > 0 ? patch : null;+}diff --git a/fluxer_api/src/api/guild/tests/GuildTemplateImport.test.ts b/fluxer_api/src/api/guild/tests/GuildTemplateImport.test.tsindex 9e63719d6..673e3404a 100644--- a/fluxer_api/src/api/guild/tests/GuildTemplateImport.test.ts+++ b/fluxer_api/src/api/guild/tests/GuildTemplateImport.test.ts@@ -1,12 +1,17 @@// SPDX-License-Identifier: AGPL-3.0-or-laterimport {createTestAccount} from '@app/api/auth/tests/AuthTestUtils';+import {createGuildID} from '@app/api/BrandedTypes';+import {fetchMany} from '@app/api/database/CassandraQueryExecution';import {getGuildChannels, getRoles} from '@app/api/guild/tests/GuildTestUtils';+import {ChannelsByGuild, ThreadOnlyChannelsByGuild} from '@app/api/Tables';import {type ApiTestHarness, createApiTestHarness} from '@app/api/test/ApiTestHarness';import {createBuilder} from '@app/api/test/TestRequestBuilder';import {ChannelTypes, Permissions} from '@fluxer/constants/src/ChannelConstants';import {SystemChannelFlags} from '@fluxer/constants/src/GuildConstants';import {CHANNEL_TOPIC_MAX_LENGTH, VOICE_CHANNEL_USER_LIMIT_MAX} from '@fluxer/constants/src/LimitConstants';+import {ChannelFlags, ForumLayoutTypes, ForumSortOrderTypes} from '@fluxer/constants/src/ThreadConstants';+import type {ChannelResponse} from '@fluxer/schema/src/domains/channel/ChannelSchemas';import type {GuildResponse} from '@fluxer/schema/src/domains/guild/GuildResponseSchemas';import {afterAll, beforeAll, beforeEach, describe, expect, test} from 'vitest';@@ -110,7 +115,7 @@ describe('Guild Template Import', () => {expect(guild.system_channel_flags).toBe(SystemChannelFlags.SUPPRESS_JOIN_NOTIFICATIONS);expect(guild.afk_timeout).toBe(60);});- test('maps supported competitor-only channel types to Fluxer equivalents and ignores unsupported ones', async () => {+ test('imports announcement, stage, forum and media channels and ignores unsupported types', async () => {const account = await createTestAccount(harness);const guild = await createBuilder<GuildResponse>(harness, account.token).post('/guilds')@@ -155,16 +160,31 @@ describe('Guild Template Import', () => {},{id: '4104',- type: 16,+ type: ChannelTypes.GUILD_MEDIA,name: 'media-feed',parent_id: '4101',position: 3,},+ {+ id: '4105',+ type: ChannelTypes.GUILD_FORUM,+ name: 'help',+ parent_id: '4101',+ position: 4,+ rate_limit_per_user: 120,+ },+ {+ id: '4106',+ type: 14,+ name: 'directory',+ parent_id: '4101',+ position: 5,+ },],},}).execute();- const channels = await getGuildChannels(harness, account.token, guild.id);+ const channels = await listThreadAwareChannels(account.token, guild.id);const categoryChannel = channels.find((channel) => channel.name === 'Main');const announcementsChannel = channels.find((channel) => channel.name === 'announcements');const stageChannel = channels.find((channel) => channel.name === 'town-hall');@@ -176,7 +196,14 @@ describe('Guild Template Import', () => {expect(stageChannel).toBeDefined();expect(stageChannel?.type).toBe(ChannelTypes.GUILD_VOICE);expect(stageChannel?.parent_id).toBe(categoryChannel?.id ?? null);- expect(mediaChannel).toBeUndefined();+ const forumChannel = channels.find((channel) => channel.name === 'help');+ expect(mediaChannel?.type).toBe(ChannelTypes.GUILD_MEDIA);+ expect(mediaChannel?.parent_id).toBe(categoryChannel?.id ?? null);+ expect(mediaChannel?.position).toBe(3);+ expect(forumChannel?.type).toBe(ChannelTypes.GUILD_FORUM);+ expect(forumChannel?.parent_id).toBe(categoryChannel?.id ?? null);+ expect(forumChannel?.rate_limit_per_user).toBe(120);+ expect(channels.find((channel) => channel.name === 'directory')).toBeUndefined();expect(guild.system_channel_id).toBe(announcementsChannel?.id ?? null);});test('accepts template roles and channels with empty names', async () => {@@ -273,7 +300,7 @@ describe('Guild Template Import', () => {expect(channels.find((channel) => channel.name === 'town-hall')?.user_limit).toBe(VOICE_CHANNEL_USER_LIMIT_MAX);expect(channels.find((channel) => channel.name === 'lounge')?.voice_connection_limit).toBe(100);});- test('accepts forum-length topics and shortens them to the channel topic limit', async () => {+ test('accepts forum-length topics and shortens them only for non-forum channels', async () => {const account = await createTestAccount(harness);const longTopic = `${'a'.repeat(CHANNEL_TOPIC_MAX_LENGTH - 1)}\u{1F600}${'b'.repeat(300)}`;const guild = await createBuilder<GuildResponse>(harness, account.token)@@ -288,13 +315,224 @@ describe('Guild Template Import', () => {}),}).execute();- const channels = await getGuildChannels(harness, account.token, guild.id);+ const channels = await listThreadAwareChannels(account.token, guild.id);const general = channels.find((channel) => channel.name === 'general');expect(general?.topic).toBe('a'.repeat(CHANNEL_TOPIC_MAX_LENGTH - 1));- expect(channels.find((channel) => channel.name === 'projects')).toBeUndefined();+ expect(channels.find((channel) => channel.name === 'projects')?.topic).toBe('c'.repeat(1356));+ });+ test('imports forum settings and drops values that cannot carry over', async () => {+ const account = await createTestAccount(harness);+ const guild = await createBuilder<GuildResponse>(harness, account.token)+ .post('/guilds')+ .body({+ name: 'Forum Settings Guild',+ template: buildMinimalTemplate({+ channels: [+ {id: 6001, type: ChannelTypes.GUILD_TEXT, name: 'general', position: 0},+ {+ id: 6002,+ type: ChannelTypes.GUILD_FORUM,+ name: 'support',+ position: 1,+ topic: 'Be kind',+ available_tags: [+ {id: 111, name: 'bug', moderated: false, emoji_id: null, emoji_name: '\u{1F41B}'},+ {id: 112, name: 'custom', moderated: false, emoji_id: '123456789', emoji_name: null},+ {id: 113, name: 'bug', moderated: true, emoji_id: null, emoji_name: null},+ {id: 114, name: 'staff', moderated: true, emoji_id: null, emoji_name: 'not-an-emoji'},+ ],+ default_reaction_emoji: {emoji_id: '987654321', emoji_name: null},+ default_sort_order: ForumSortOrderTypes.CREATION_TIME,+ default_forum_layout: ForumLayoutTypes.GRID,+ default_tag_setting: 'match_all',+ default_thread_rate_limit_per_user: 60,+ default_auto_archive_duration: 1440,+ flags: ChannelFlags.REQUIRE_TAG | ChannelFlags.HIDE_MEDIA_DOWNLOAD_OPTIONS,+ },+ {+ id: 6003,+ type: ChannelTypes.GUILD_MEDIA,+ name: 'gallery',+ position: 2,+ available_tags: Array.from({length: 25}, (_, index) => ({name: `tag-${index}`})),+ default_reaction_emoji: {emoji_id: null, emoji_name: '\u{1F525}'},+ default_forum_layout: ForumLayoutTypes.LIST,+ default_sort_order: 7,+ flags: ChannelFlags.HIDE_MEDIA_DOWNLOAD_OPTIONS,+ },+ {+ id: 6004,+ type: ChannelTypes.GUILD_FORUM,+ name: 'announcements-forum',+ position: 3,+ available_tags: [{name: 'staff', moderated: true}],+ flags: ChannelFlags.REQUIRE_TAG,+ },+ ],+ }),+ })+ .execute();+ const channels = await listThreadAwareChannels(account.token, guild.id);+ const forum = await getThreadAwareChannel(account.token, findChannelId(channels, 'support'));+ expect(forum.type).toBe(ChannelTypes.GUILD_FORUM);+ expect(forum.topic).toBe('Be kind');+ expect(+ forum.available_tags?.map(({name, moderated, emoji_id, emoji_name}) => ({name, moderated, emoji_id, emoji_name})),+ ).toEqual([+ {name: 'bug', moderated: false, emoji_id: null, emoji_name: '\u{1F41B}'},+ {name: 'custom', moderated: false, emoji_id: null, emoji_name: null},+ {name: 'staff', moderated: true, emoji_id: null, emoji_name: null},+ ]);+ expect(new Set(forum.available_tags?.map((tag) => tag.id)).size).toBe(3);+ expect(forum.available_tags?.some((tag) => ['111', '112', '113', '114'].includes(tag.id))).toBe(false);+ expect(forum.default_reaction_emoji).toBeNull();+ expect(forum.default_sort_order).toBe(ForumSortOrderTypes.CREATION_TIME);+ expect(forum.default_forum_layout).toBe(ForumLayoutTypes.GRID);+ expect(forum.default_tag_setting).toBe('match_all');+ expect(forum.default_thread_rate_limit_per_user).toBe(60);+ expect(forum.default_auto_archive_duration).toBe(1440);+ expect(forum.flags).toBe(ChannelFlags.REQUIRE_TAG);+ const media = await getThreadAwareChannel(account.token, findChannelId(channels, 'gallery'));+ expect(media.type).toBe(ChannelTypes.GUILD_MEDIA);+ expect(media.available_tags).toHaveLength(20);+ expect(media.default_reaction_emoji).toEqual({emoji_id: null, emoji_name: '\u{1F525}'});+ expect(media.default_forum_layout).toBeUndefined();+ expect(media.default_sort_order).toBeNull();+ expect(media.flags).toBe(ChannelFlags.HIDE_MEDIA_DOWNLOAD_OPTIONS);+ const moderatedOnly = await getThreadAwareChannel(account.token, findChannelId(channels, 'announcements-forum'));+ expect(moderatedOnly.flags).toBe(0);+ });+ test('indexes imported forum and media channels as thread-only channels', async () => {+ const account = await createTestAccount(harness);+ const guild = await createBuilder<GuildResponse>(harness, account.token)+ .post('/guilds')+ .body({+ name: 'Index Guild',+ template: buildMinimalTemplate({+ channels: [+ {id: 6001, type: ChannelTypes.GUILD_TEXT, name: 'general', position: 0},+ {id: 6002, type: ChannelTypes.GUILD_FORUM, name: 'forum', position: 1},+ {id: 6003, type: ChannelTypes.GUILD_MEDIA, name: 'media', position: 2},+ ],+ }),+ })+ .execute();+ const channels = await listThreadAwareChannels(account.token, guild.id);+ const threadOnlyIds = [findChannelId(channels, 'forum'), findChannelId(channels, 'media')];+ const guildId = createGuildID(BigInt(guild.id));+ const threadOnlyRows = await fetchMany<{channel_id: bigint}>(+ ThreadOnlyChannelsByGuild.selectCql({where: ThreadOnlyChannelsByGuild.where.eq('guild_id')}),+ {guild_id: guildId},+ );+ const regularRows = await fetchMany<{channel_id: bigint}>(+ ChannelsByGuild.selectCql({where: ChannelsByGuild.where.eq('guild_id')}),+ {guild_id: guildId},+ );+ expect(threadOnlyRows.map((row) => row.channel_id.toString()).sort()).toEqual([...threadOnlyIds].sort());+ expect(regularRows.some((row) => threadOnlyIds.includes(row.channel_id.toString()))).toBe(false);+ expect(regularRows.some((row) => row.channel_id.toString() === findChannelId(channels, 'general'))).toBe(true);});+ test('accepts channels shaped like a full template export', async () => {+ const account = await createTestAccount(harness);+ const exported = {+ bitrate: 64000,+ user_limit: 0,+ nsfw: false,+ rate_limit_per_user: 0,+ topic: null,+ default_auto_archive_duration: null,+ permission_overwrites: [{id: 0, type: 0, allow: '0', deny: Permissions.SEND_MESSAGES.toString()}],+ available_tags: [],+ template: '',+ default_reaction_emoji: null,+ default_thread_rate_limit_per_user: 0,+ default_sort_order: null,+ default_forum_layout: 0,+ default_tag_setting: null,+ icon_emoji: null,+ theme_color: null,+ };+ const guild = await createBuilder<GuildResponse>(harness, account.token)+ .post('/guilds')+ .body({+ name: 'Exported Guild',+ template: {+ ...buildMinimalTemplate({+ channels: [+ {...exported, id: 1, type: ChannelTypes.GUILD_CATEGORY, name: 'Info', position: 0, parent_id: null},+ {...exported, id: 6001, type: ChannelTypes.GUILD_TEXT, name: 'rules', position: 0, parent_id: 1},+ {...exported, id: 3, type: ChannelTypes.GUILD_CATEGORY, name: 'Nested', position: 1, parent_id: 1},+ {+ ...exported,+ id: 4,+ type: ChannelTypes.GUILD_FORUM,+ name: 'ideas',+ position: 1,+ parent_id: 1,+ nsfw: null,+ },+ ],+ }),+ afk_channel_id: null,+ preferred_locale: 'en-US',+ region: 'us-west',+ },+ })+ .execute();+ const channels = await listThreadAwareChannels(account.token, guild.id);+ const category = channels.find((channel) => channel.name === 'Info');+ const rules = channels.find((channel) => channel.name === 'rules');+ expect(rules?.parent_id).toBe(category?.id ?? null);+ expect(rules?.permission_overwrites?.find((overwrite) => overwrite.id === guild.id)?.deny).toBe(+ Permissions.SEND_MESSAGES.toString(),+ );+ expect(channels.find((channel) => channel.name === 'Nested')?.parent_id ?? null).toBeNull();+ expect(channels.find((channel) => channel.name === 'ideas')?.parent_id).toBe(category?.id ?? null);+ expect(guild.system_channel_id).toBe(rules?.id ?? null);+ });+ test('hides imported forum channels from viewers outside the threads experiment', async () => {+ const account = await createTestAccount(harness);+ const guild = await createBuilder<GuildResponse>(harness, account.token)+ .post('/guilds')+ .body({+ name: 'Hidden Forum Guild',+ template: buildMinimalTemplate({+ channels: [+ {id: 6001, type: ChannelTypes.GUILD_TEXT, name: 'general', position: 0},+ {id: 6002, type: ChannelTypes.GUILD_FORUM, name: 'forum', position: 1},+ ],+ }),+ })+ .execute();+ const legacy = await getGuildChannels(harness, account.token, guild.id);+ expect(legacy.some((channel) => channel.name === 'forum')).toBe(false);+ expect(legacy.some((channel) => channel.name === 'general')).toBe(true);+ });++ function listThreadAwareChannels(token: string, guildId: string): Promise<Array<ChannelResponse>> {+ return createBuilder<Array<ChannelResponse>>(harness, token)+ .get(`/guilds/${guildId}/channels`)+ .header(THREAD_FEATURES_HEADER, THREAD_FEATURES_CAPABLE)+ .execute();+ }++ function getThreadAwareChannel(token: string, channelId: string): Promise<ChannelResponse> {+ return createBuilder<ChannelResponse>(harness, token)+ .get(`/channels/${channelId}`)+ .header(THREAD_FEATURES_HEADER, THREAD_FEATURES_CAPABLE)+ .execute();+ }});+const THREAD_FEATURES_HEADER = 'X-Fluxer-Features';+const THREAD_FEATURES_CAPABLE = 'channel_threads';++function findChannelId(channels: Array<ChannelResponse>, name: string): string {+ const channel = channels.find((candidate) => candidate.name === name);+ if (!channel) throw new Error(`Missing channel ${name}`);+ return channel.id;+}+const DEFAULT_EVERYONE_PERMISSIONS = Permissions.VIEW_CHANNEL.toString();function buildMinimalTemplate(overrides: {channels?: Array<object>; roles?: Array<object>}) {diff --git a/fluxer_api/src/api/openapi/openapi.json b/fluxer_api/src/api/openapi/openapi.jsonindex 848db787d..eb0f4d500 100644--- a/fluxer_api/src/api/openapi/openapi.json+++ b/fluxer_api/src/api/openapi/openapi.json@@ -36430,13 +36430,16 @@"anyOf": [{"type": "integer", "minimum": 0, "maximum": 9007199254740991}, {"type": "string"}],"description": "The template-local channel ID"},- "type": {"type": "number", "description": "The channel type (0 = text, 2 = voice, 4 = category)"},+ "type": {+ "type": "number",+ "description": "The channel type (0 = text, 2 = voice, 4 = category, 5 = announcement, 13 = stage, 15 = forum, 16 = media)"+ },"name": {"description": "The name of the channel","anyOf": [{"type": "string", "maxLength": 100}, {"type": "null"}]},"topic": {- "description": "The channel topic, shortened to the Fluxer channel topic limit",+ "description": "The channel topic or forum guidelines, shortened to the limit for the channel type","anyOf": [{"type": "string", "maxLength": 4096}, {"type": "null"}]},"position": {"description": "The position of the channel", "$ref": "#/components/schemas/Int32Type"},@@ -36462,38 +36465,129 @@"description": "The per-user voice connection limit for voice channels","anyOf": [{"type": "integer", "minimum": 1, "maximum": 100}, {"type": "null"}]},- "nsfw": {"description": "Whether the channel is NSFW", "type": "boolean"},+ "nsfw": {"description": "Whether the channel is NSFW", "type": ["boolean", "null"]},"rate_limit_per_user": {"description": "Slowmode rate limit in seconds",- "type": "integer",- "minimum": 0,- "maximum": 21600+ "anyOf": [{"type": "integer", "minimum": 0, "maximum": 21600}, {"type": "null"}]},"permission_overwrites": {"description": "Permission overwrites for this channel",- "type": "array",- "items": {- "type": "object",- "properties": {- "id": {- "anyOf": [{"type": "integer", "minimum": 0, "maximum": 9007199254740991}, {"type": "string"}],- "description": "The ID of the role or user for this overwrite"- },- "type": {- "description": "The type of overwrite (0/role = role, 1/member = member)",- "type": ["number", "string"]- },- "allow": {- "anyOf": [{"type": "string"}, {"type": "integer", "minimum": 0, "maximum": 9007199254740991}],- "description": "The allowed permissions bitfield as a string"- },- "deny": {- "anyOf": [{"type": "string"}, {"type": "integer", "minimum": 0, "maximum": 9007199254740991}],- "description": "The denied permissions bitfield as a string"+ "anyOf": [+ {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "id": {+ "anyOf": [{"type": "integer", "minimum": 0, "maximum": 9007199254740991}, {"type": "string"}],+ "description": "The ID of the role or user for this overwrite"+ },+ "type": {+ "description": "The type of overwrite (0/role = role, 1/member = member)",+ "type": ["number", "string"]+ },+ "allow": {+ "anyOf": [{"type": "string"}, {"type": "integer", "minimum": 0, "maximum": 9007199254740991}],+ "description": "The allowed permissions bitfield as a string"+ },+ "deny": {+ "anyOf": [{"type": "string"}, {"type": "integer", "minimum": 0, "maximum": 9007199254740991}],+ "description": "The denied permissions bitfield as a string"+ }+ },+ "required": ["id", "type", "allow", "deny"]}},- "required": ["id", "type", "allow", "deny"]- }+ {"type": "null"}+ ]+ },+ "available_tags": {+ "description": "Tags for forum and media channels",+ "anyOf": [+ {+ "maxItems": 100,+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "name": {"type": "string", "maxLength": 100, "description": "The name of the tag"},+ "moderated": {+ "description": "Whether only moderators can apply the tag",+ "type": ["boolean", "null"]+ },+ "emoji_id": {+ "description": "A custom emoji reference, ignored on import",+ "anyOf": [+ {+ "anyOf": [+ {"type": "string", "maxLength": 64},+ {"type": "integer", "minimum": 0, "maximum": 9007199254740991}+ ]+ },+ {"type": "null"}+ ]+ },+ "emoji_name": {+ "description": "The unicode emoji of the tag",+ "anyOf": [{"type": "string", "maxLength": 64}, {"type": "null"}]+ }+ },+ "required": ["name"]+ }+ },+ {"type": "null"}+ ]+ },+ "default_reaction_emoji": {+ "description": "Default reaction for forum and media posts",+ "anyOf": [+ {+ "type": "object",+ "properties": {+ "emoji_id": {+ "description": "A custom emoji reference, ignored on import",+ "anyOf": [+ {+ "anyOf": [+ {"type": "string", "maxLength": 64},+ {"type": "integer", "minimum": 0, "maximum": 9007199254740991}+ ]+ },+ {"type": "null"}+ ]+ },+ "emoji_name": {+ "description": "The unicode emoji",+ "anyOf": [{"type": "string", "maxLength": 64}, {"type": "null"}]+ }+ }+ },+ {"type": "null"}+ ]+ },+ "default_sort_order": {+ "description": "Default post sort order for forum and media channels",+ "anyOf": [{"type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991}, {"type": "null"}]+ },+ "default_forum_layout": {+ "description": "Default layout for forum channels",+ "anyOf": [{"type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991}, {"type": "null"}]+ },+ "default_tag_setting": {+ "description": "How posts are filtered by several tags",+ "anyOf": [{"type": "string", "maxLength": 32}, {"type": "null"}]+ },+ "default_thread_rate_limit_per_user": {+ "description": "Slowmode in seconds copied onto new threads",+ "anyOf": [{"type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991}, {"type": "null"}]+ },+ "default_auto_archive_duration": {+ "description": "Default auto archive duration in minutes for new threads",+ "anyOf": [{"type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991}, {"type": "null"}]+ },+ "flags": {+ "description": "Channel flags",+ "anyOf": [{"type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991}, {"type": "null"}]}},"required": ["id", "type", "position"]diff --git a/fluxer_app/src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx b/fluxer_app/src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxindex 0efb4437d..584928823 100644--- a/fluxer_app/src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+++ b/fluxer_app/src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx@@ -27,26 +27,32 @@ import {type TemplateCreateFormInputs,type TemplateImportFormInputs,type TemplateJsonFormInputs,+ THE_OTHER_PLATFORM_TEMPLATE_NOT_FOUND_DESCRIPTOR,+ THE_OTHER_PLATFORM_TEMPLATE_RATE_LIMITED_DESCRIPTOR,+ THE_OTHER_PLATFORM_TEMPLATE_UNREADABLE_DESCRIPTOR,THIS_DOESN_T_LOOK_LIKE_A_VALID_TEMPLATE_DESCRIPTOR,} from '@app/features/guild/components/modals/add_guild_modal/shared';import {CREATE_COMMUNITY_DESCRIPTOR, NEXT_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';import {openExternalUrlWithWarning} from '@app/features/messaging/utils/ExternalLinkUtils';import * as NavigationCommands from '@app/features/navigation/commands/NavigationCommands';+import {Logger} from '@app/features/platform/utils/AppLogger';import {remFromPx} from '@app/features/theme/layout/RemFromPx';import {Button} from '@app/features/ui/button/Button';import * as ModalCommands from '@app/features/ui/commands/ModalCommands';import {Form} from '@app/features/ui/components/form/Form';import {Input, Textarea} from '@app/features/ui/components/form/FormInput';import {SteppedCarousel} from '@app/features/ui/stepped_carousel/SteppedCarousel';+import {getElectronAPI} from '@app/features/ui/utils/NativeUtils';import {ChannelTypes} from '@fluxer/constants/src/ChannelConstants';import {THE_OTHER_PLATFORM} from '@fluxer/constants/src/ExternalPlatformConstants';+import {OtherPlatformTemplateFetchFailure} from '@fluxer/desktop_ipc/src/OtherPlatformTemplateContract';import type {TemplateSerializedGuild} from '@fluxer/schema/src/domains/guild/GuildTemplateSchemas';import {msg} from '@lingui/core/macro';import {Trans, useLingui} from '@lingui/react/macro';import {ArrowSquareOutIcon} from '@phosphor-icons/react';import {observer} from 'mobx-react-lite';import type React from 'react';-import {useCallback, useContext, useEffect, useId, useMemo, useState} from 'react';+import {useCallback, useContext, useEffect, useId, useMemo, useRef, useState} from 'react';import {useForm} from 'react-hook-form';import * as v from 'valibot';@@ -71,7 +77,7 @@ const OverwriteType = v.pipe(return value;}),);-const TemplateChannelSchema = v.object({+const TemplateChannelSchema = v.looseObject({id: TemplateEntityId,type: v.number(),name: v.nullish(v.string(), ''),@@ -81,9 +87,9 @@ const TemplateChannelSchema = v.object({bitrate: v.nullish(v.number()),user_limit: v.nullish(v.number()),voice_connection_limit: v.nullish(v.number()),- nsfw: v.optional(v.boolean()),- rate_limit_per_user: v.optional(v.number()),- permission_overwrites: v.optional(+ nsfw: v.nullish(v.boolean()),+ rate_limit_per_user: v.nullish(v.number()),+ permission_overwrites: v.nullish(v.array(v.object({id: TemplateEntityId, type: OverwriteType, allow: PermissionBitfield, deny: PermissionBitfield})),),});@@ -116,6 +122,9 @@ const GuildTemplateResponseSchema = v.object({});type TemplateImportStep = 'url' | 'json' | 'create';+type TemplateResponseOutcome = 'applied' | 'invalid';++const logger = new Logger('TemplateImportForm');const TEMPLATE_IMPORT_STEP_ORDER: ReadonlyArray<TemplateImportStep> = ['url', 'json', 'create'];const TEMPLATE_STATS_DESCRIPTOR = msg({@@ -124,6 +133,18 @@ const TEMPLATE_STATS_DESCRIPTOR = msg({comment:'Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.',});+const TEMPLATE_STATS_WITH_FORUMS_DESCRIPTOR = msg({+ message:+ '{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}',+ comment:+ 'Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.',+});+const COULDN_T_LOAD_THE_TEMPLATE_AUTOMATICALLY_DESCRIPTOR = msg({+ message:+ "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box.",+ comment:+ 'Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.',+});const IMAGE_COULDN_T_BE_USED_DESCRIPTOR = msg({message: "Image couldn't be used",comment: 'Error modal title shown when a template-import community icon upload cannot be accepted or processed.',@@ -139,6 +160,9 @@ export const TemplateImportForm = observer(() => {const [apiUrl, setApiUrl] = useState<string | null>(null);const [templateData, setTemplateData] = useState<TemplateSerializedGuild | null>(null);const [templateName, setTemplateName] = useState<string | null>(null);+ const [loadedDirectly, setLoadedDirectly] = useState(false);+ const [directLoadFailed, setDirectLoadFailed] = useState(false);+ const lookupInFlightRef = useRef(false);const urlForm = useForm<TemplateImportFormInputs>({defaultValues: {url: ''}});const jsonForm = useForm<TemplateJsonFormInputs>({defaultValues: {json: ''}});const createForm = useForm<TemplateCreateFormInputs>({defaultValues: {name: ''}});@@ -146,23 +170,86 @@ export const TemplateImportForm = observer(() => {const urlFormId = useId();const jsonFormId = useId();const createFormId = useId();+ const applyTemplateResponse = useCallback(+ (json: unknown): TemplateResponseOutcome => {+ const parsed = v.safeParse(GuildTemplateResponseSchema, json);+ if (!parsed.success) return 'invalid';+ setTemplateData(parsed.output.serialized_source_guild);+ setTemplateName(parsed.output.name);+ createForm.setValue('name', parsed.output.serialized_source_guild.name);+ return 'applied';+ },+ [createForm],+ );+ const fallBackToPaste = useCallback((code: string, directLoadAttempted: boolean) => {+ setApiUrl(`https://discord.com/api/guilds/templates/${code}`);+ setLoadedDirectly(false);+ setDirectLoadFailed(directLoadAttempted);+ setStep('json');+ }, []);const handleResolveUrl = useCallback(- (data: TemplateImportFormInputs) => {+ async (data: TemplateImportFormInputs) => {const code = parseTemplateCode(data.url);+ const invalidCodeMessage = i18n._(PLEASE_ENTER_A_VALID_THE_OTHER_PLATFORM_TEMPLATE_URL_OR_DESCRIPTOR, {+ theOtherPlatform: THE_OTHER_PLATFORM,+ });if (!code) {- urlForm.setError('url', {- message: i18n._(PLEASE_ENTER_A_VALID_THE_OTHER_PLATFORM_TEMPLATE_URL_OR_DESCRIPTOR, {- theOtherPlatform: THE_OTHER_PLATFORM,- }),- });+ urlForm.setError('url', {message: invalidCodeMessage});return;}- setApiUrl(`https://discord.com/api/guilds/templates/${code}`);- setStep('json');+ const templateApi = getElectronAPI()?.otherPlatformTemplate;+ if (typeof templateApi?.fetch !== 'function') {+ fallBackToPaste(code, false);+ return;+ }+ if (lookupInFlightRef.current) return;+ lookupInFlightRef.current = true;+ let result: Awaited<ReturnType<typeof templateApi.fetch>>;+ try {+ result = await templateApi.fetch(code);+ } catch (error) {+ logger.warn('Direct template lookup failed, falling back to paste', error);+ fallBackToPaste(code, true);+ return;+ } finally {+ lookupInFlightRef.current = false;+ }+ if (result.ok) {+ if (applyTemplateResponse(result.template) === 'invalid') {+ urlForm.setError('url', {+ message: i18n._(THE_OTHER_PLATFORM_TEMPLATE_UNREADABLE_DESCRIPTOR, {theOtherPlatform: THE_OTHER_PLATFORM}),+ });+ return;+ }+ setLoadedDirectly(true);+ setStep('create');+ return;+ }+ switch (result.failure) {+ case OtherPlatformTemplateFetchFailure.INVALID_CODE:+ urlForm.setError('url', {message: invalidCodeMessage});+ return;+ case OtherPlatformTemplateFetchFailure.NOT_FOUND:+ urlForm.setError('url', {+ message: i18n._(THE_OTHER_PLATFORM_TEMPLATE_NOT_FOUND_DESCRIPTOR, {theOtherPlatform: THE_OTHER_PLATFORM}),+ });+ return;+ case OtherPlatformTemplateFetchFailure.RATE_LIMITED:+ urlForm.setError('url', {+ message: i18n._(THE_OTHER_PLATFORM_TEMPLATE_RATE_LIMITED_DESCRIPTOR, {+ theOtherPlatform: THE_OTHER_PLATFORM,+ }),+ });+ return;+ case OtherPlatformTemplateFetchFailure.NETWORK:+ case OtherPlatformTemplateFetchFailure.INVALID_RESPONSE:+ fallBackToPaste(code, true);+ return;+ }},- [urlForm, i18n],+ [urlForm, i18n, applyTemplateResponse, fallBackToPaste],);- const {handleSubmit: handleUrlSubmit} = useFormSubmit({+ const {handleSubmit: handleUrlSubmit, isSubmitting: isResolvingUrl} = useFormSubmit({form: urlForm,onSubmit: handleResolveUrl,defaultErrorField: 'url',@@ -176,17 +263,13 @@ export const TemplateImportForm = observer(() => {jsonForm.setError('json', {message: i18n._(INVALID_JSON_PLEASE_PASTE_THE_FULL_RESPONSE_FROM_DESCRIPTOR)});return;}- const parsed = v.safeParse(GuildTemplateResponseSchema, json);- if (!parsed.success) {+ if (applyTemplateResponse(json) === 'invalid') {jsonForm.setError('json', {message: i18n._(THIS_DOESN_T_LOOK_LIKE_A_VALID_TEMPLATE_DESCRIPTOR)});return;}- setTemplateData(parsed.output.serialized_source_guild);- setTemplateName(parsed.output.name);- createForm.setValue('name', parsed.output.serialized_source_guild.name);setStep('create');},- [jsonForm, createForm, i18n],+ [jsonForm, i18n, applyTemplateResponse],);const {handleSubmit: handleJsonSubmit} = useFormSubmit({form: jsonForm,@@ -231,13 +314,15 @@ export const TemplateImportForm = observer(() => {const channelTypes = templateData.channels.map((channel) => mapTemplateChannelTypeToFluxer(channel.type)).filter((channelType): channelType is number => channelType !== null);- const textChannels = channelTypes.filter(- (channelType) => channelType === ChannelTypes.GUILD_TEXT || channelType === ChannelTypes.GUILD_ANNOUNCEMENT,- ).length;- const voiceChannels = channelTypes.filter((channelType) => channelType === ChannelTypes.GUILD_VOICE).length;- const categories = channelTypes.filter((channelType) => channelType === ChannelTypes.GUILD_CATEGORY).length;- const roles = templateData.roles.filter((role) => !isTemplateEveryoneRole(role)).length;- return {textChannels, voiceChannels, categories, roles};+ const countOf = (...types: ReadonlyArray<number>) =>+ channelTypes.filter((channelType) => types.includes(channelType)).length;+ return {+ textChannels: countOf(ChannelTypes.GUILD_TEXT, ChannelTypes.GUILD_ANNOUNCEMENT),+ forumChannels: countOf(ChannelTypes.GUILD_FORUM, ChannelTypes.GUILD_MEDIA),+ voiceChannels: countOf(ChannelTypes.GUILD_VOICE),+ categories: countOf(ChannelTypes.GUILD_CATEGORY),+ roles: templateData.roles.filter((role) => !isTemplateEveryoneRole(role)).length,+ };}, [templateData]);const handleOpenApiUrl = useCallback(() => {if (apiUrl) {@@ -250,7 +335,7 @@ export const TemplateImportForm = observer(() => {modalFooterContext?.setFooterContent(<><Button- onClick={() => setStep('json')}+ onClick={() => setStep(loadedDirectly ? 'url' : 'json')}variant="secondary"data-flx="guild.add-guild-modal.template-import-form.button.back-to-json">@@ -299,6 +384,7 @@ export const TemplateImportForm = observer(() => {</Button><ButtononClick={handleUrlSubmit}+ submitting={isResolvingUrl}disabled={isUrlEmpty}data-flx="guild.add-guild-modal.template-import-form.button.url-submit">@@ -314,6 +400,8 @@ export const TemplateImportForm = observer(() => {handleJsonSubmit,handleCreateSubmit,isCreating,+ isResolvingUrl,+ loadedDirectly,modalFooterContext,nameValue,urlValue,@@ -344,6 +432,7 @@ export const TemplateImportForm = observer(() => {label={i18n._(TEMPLATE_URL_DESCRIPTOR)}name="url"placeholder={THE_OTHER_PLATFORM_TEMPLATE_EXAMPLE_URL}+ readOnly={isResolvingUrl}required={true}type="text"/>@@ -354,9 +443,13 @@ export const TemplateImportForm = observer(() => {const renderJsonStep = (): React.ReactNode => (<div className={styles.formContainer} data-flx="guild.add-guild-modal.template-import-form.form-container--4"><Modal.Description data-flx="guild.add-guild-modal.template-import-form.modal-description--2">- <Trans>- Open the link below in your browser, then copy the entire JSON response and paste it into the box.- </Trans>+ {directLoadFailed ? (+ i18n._(COULDN_T_LOAD_THE_TEMPLATE_AUTOMATICALLY_DESCRIPTOR)+ ) : (+ <Trans>+ Open the link below in your browser, then copy the entire JSON response and paste it into the box.+ </Trans>+ )}</Modal.Description><Buttonvariant="secondary"@@ -412,12 +505,20 @@ export const TemplateImportForm = observer(() => {{templateStats && (<div className={styles.templateStats} data-flx="guild.add-guild-modal.template-import-form.template-stats"><span data-flx="guild.add-guild-modal.template-import-form.span">- {i18n._(TEMPLATE_STATS_DESCRIPTOR, {- textChannelCount: templateStats.textChannels,- voiceChannelCount: templateStats.voiceChannels,- categoryCount: templateStats.categories,- roleCount: templateStats.roles,- })}+ {templateStats.forumChannels > 0+ ? i18n._(TEMPLATE_STATS_WITH_FORUMS_DESCRIPTOR, {+ textChannelCount: templateStats.textChannels,+ forumChannelCount: templateStats.forumChannels,+ voiceChannelCount: templateStats.voiceChannels,+ categoryCount: templateStats.categories,+ roleCount: templateStats.roles,+ })+ : i18n._(TEMPLATE_STATS_DESCRIPTOR, {+ textChannelCount: templateStats.textChannels,+ voiceChannelCount: templateStats.voiceChannels,+ categoryCount: templateStats.categories,+ roleCount: templateStats.roles,+ })}</span></div>)}diff --git a/fluxer_app/src/features/guild/components/modals/add_guild_modal/shared.ts b/fluxer_app/src/features/guild/components/modals/add_guild_modal/shared.tsindex 05bbcd32e..22ea5438c 100644--- a/fluxer_app/src/features/guild/components/modals/add_guild_modal/shared.ts+++ b/fluxer_app/src/features/guild/components/modals/add_guild_modal/shared.ts@@ -54,7 +54,9 @@ export function mapTemplateChannelTypeToFluxer(channelType: number): number | nuchannelType === ChannelTypes.GUILD_TEXT ||channelType === ChannelTypes.GUILD_ANNOUNCEMENT ||channelType === ChannelTypes.GUILD_VOICE ||- channelType === ChannelTypes.GUILD_CATEGORY+ channelType === ChannelTypes.GUILD_CATEGORY ||+ channelType === ChannelTypes.GUILD_FORUM ||+ channelType === ChannelTypes.GUILD_MEDIA) {return channelType;}@@ -139,6 +141,21 @@ export const THIS_DOESN_T_LOOK_LIKE_A_VALID_TEMPLATE_DESCRIPTOR = msg({comment:'Validation error in the paste-template-JSON form when the JSON parses but lacks the expected third-party template fields.',});+export const THE_OTHER_PLATFORM_TEMPLATE_NOT_FOUND_DESCRIPTOR = msg({+ message: "We couldn't find that {theOtherPlatform} template. Check the link and try again.",+ comment:+ 'Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.',+});+export const THE_OTHER_PLATFORM_TEMPLATE_RATE_LIMITED_DESCRIPTOR = msg({+ message: '{theOtherPlatform} is limiting template lookups right now. Try again in a moment.',+ comment:+ 'Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.',+});+export const THE_OTHER_PLATFORM_TEMPLATE_UNREADABLE_DESCRIPTOR = msg({+ message: "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet.",+ comment:+ 'Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.',+});export const IMPORT_TEMPLATE_FORM_DESCRIPTOR = msg({message: 'Import template form',comment: 'Accessible label for the import-template form element. Used by assistive tech only.',diff --git a/fluxer_app/src/features/i18n/locales/ar/messages.po b/fluxer_app/src/features/i18n/locales/ar/messages.poindex 132692c9e..cbc440b41 100644--- a/fluxer_app/src/features/i18n/locales/ar/messages.po+++ b/fluxer_app/src/features/i18n/locales/ar/messages.po@@ -2129,6 +2129,11 @@ msgstr "شاشة {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} ثوانٍ"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# قناة نصية} other {# قنوات نصية}}، {forumChannelCount, plural, one {# قناة منتدى} other {# قنوات منتدى}}، {voiceChannelCount, plural, one {# قناة صوتية} other {# قنوات صوتية}}، {categoryCount, plural, one {# فئة} other {# فئات}}، {roleCount, plural, one {# دور} other {# أدوار}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, zero {# قناة نصية} one {قناة نصmsgid "{themeName} Copy"msgstr "نسخة من {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "يحدّ {theOtherPlatform} حاليًا من عمليات البحث عن القوالب. حاول مرة أخرى بعد لحظة."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "تعذر تحميل الإعدادات"msgid "Couldn't load the report form."msgstr "تعذّر تحميل نموذج البلاغ."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "لم يتم تحميل القالب تلقائيًا. افتح الرابط أدناه في متصفحك، ثم انسخ استجابة JSON بأكملها والصقها في المربع."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "تعذر تحميل هذا التطبيق"@@ -33897,6 +33912,11 @@ msgstr "الخيار الثالث"msgid "Third party"msgstr "جهة خارجية"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "لم يمكن قراءة قالب {theOtherPlatform} هذا. قد يستخدم تنسيقًا لا يدعمه Fluxer بعد."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "لم نتمكن من العثور على عملية شراء حديثةmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "لم نتمكن من العثور على اشتراك نشط في هذا الحساب. يُرجى التحديث والمحاولة مرة أخرى."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "لم نتمكن من العثور على قالب {theOtherPlatform} هذا. تحقق من الرابط وحاول مرة أخرى."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.json b/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.jsonindex 8169c1f7a..52a11d73f 100644--- a/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.json+++ b/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.json@@ -846,6 +846,7 @@"Couldn't load posts. Try again later.","Couldn't load settings","Couldn't load the report form.",+ "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box.","Couldn't load this community. Try again in a moment.","Couldn't load this part of the app. Check your connection and try again.","Couldn't load your backup codes.",@@ -1574,6 +1575,7 @@"This thread is locked. Only moderators can send messages.","This username is already taken","This username is available",+ "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet.","Thread","Thread created","Thread deleted",@@ -1656,6 +1658,7 @@"Waiting for your desktop…","We could not renew your subscription. Update your payment method to keep your perks.","We couldn't delete <0>\"{0}\"</0>. Try again.",+ "We couldn't find that {theOtherPlatform} template. Check the link and try again.","We couldn't reach that account's instance to switch accounts. Your current account is still active. Try again when the instance is back online.","We couldn't reach the attachment upload service. {PRODUCT_NAME} can fall back to the standard upload path for messages up to {fallbackSizeFormatted} total, but these attachments exceed that combined limit and can't be sent until connectivity is restored. Try again later or contact the administrators of this instance if this keeps happening.","We couldn't reach {instanceLabel} to switch accounts. Your current account is still active. Try again when the instance is back online.",@@ -1829,6 +1832,8 @@"{remaining, plural, one {+# more} other {+# more}}","{renderedOnlineCount} online","{requestedLabel} could not start. Using {effectiveLabel} instead.",+ "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}",+ "{theOtherPlatform} is limiting template lookups right now. Try again in a moment.","{username} followed {name} into this channel. Messages published there will appear here.","{username} started a thread: {threadName}","{yearlyPrice}/yr",diff --git a/fluxer_app/src/features/i18n/locales/bg/messages.po b/fluxer_app/src/features/i18n/locales/bg/messages.poindex 680100a5d..d01e69ce0 100644--- a/fluxer_app/src/features/i18n/locales/bg/messages.po+++ b/fluxer_app/src/features/i18n/locales/bg/messages.po@@ -2129,6 +2129,11 @@ msgstr "Екранът на {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} секунди"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# текстов канал} other {# текстови канала}}, {forumChannelCount, plural, one {# форум канал} other {# форум канала}}, {voiceChannelCount, plural, one {# гласов канал} other {# гласови канала}}, {categoryCount, plural, one {# категория} other {# категории}}, {roleCount, plural, one {# роля} other {# роли}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# текстов канал} other {# тmsgid "{themeName} Copy"msgstr "Копие на {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} в момента ограничава търсенето на шаблони. Опитайте отново след малко."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Не успях да зареда настройките"msgid "Couldn't load the report form."msgstr "Не успяхме да заредим формуляра за подаване на сигнал."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Не успяхме да заредим шаблона автоматично. Отворете връзката по-долу в браузъра си, след което копирайте целия JSON отговор и го поставете в полето."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Приложението не можа да бъде заредено"@@ -33897,6 +33912,11 @@ msgstr "Трета опция"msgid "Third party"msgstr "Трети страни"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Този шаблон от {theOtherPlatform} не може да бъде прочетен. Възможно е да използва формат, който Fluxer все още не поддържа."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Не успяхме да намерим скорошна покупкаmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Не успяхме да намерим активен абонамент за този акаунт. Презареди и опитай отново."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Не успяхме да намерим този шаблон от {theOtherPlatform}. Проверете връзката и опитайте отново."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/cs/messages.po b/fluxer_app/src/features/i18n/locales/cs/messages.poindex f256c4cfc..81e2dc69b 100644--- a/fluxer_app/src/features/i18n/locales/cs/messages.po+++ b/fluxer_app/src/features/i18n/locales/cs/messages.po@@ -2129,6 +2129,11 @@ msgstr "Obrazovka uživatele {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} sekund"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# textový kanál} other {# textových kanálů}}, {forumChannelCount, plural, one {# kanál fóra} other {# kanálů fóra}}, {voiceChannelCount, plural, one {# hlasový kanál} other {# hlasových kanálů}}, {categoryCount, plural, one {# kategorie} other {# kategorií}}, {roleCount, plural, one {# role} other {# rolí}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# textový kanál} few {# textové kanámsgid "{themeName} Copy"msgstr "{themeName} (kopie)"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} momentálně omezuje vyhledávání šablon. Zkuste to za chvíli znovu."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Nastavení se nepodařilo načíst"msgid "Couldn't load the report form."msgstr "Nepodařilo se načíst formulář nahlášení."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Šablonu se nepodařilo automaticky načíst. Otevřete odkaz níže ve svém prohlížeči, zkopírujte celou odpověď ve formátu JSON a vložte ji do pole."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Nepodařilo se načíst tuto aplikaci"@@ -33897,6 +33912,11 @@ msgstr "Třetí možnost"msgid "Third party"msgstr "Třetí strana"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Tento šablonu z {theOtherPlatform} se nepodařilo přečíst. Možná používá formát, který Fluxer zatím nepodporuje."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Na tomto účtu jsme nenašli žádný nedávný nákup k vrácení penmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Na tomto účtu jsme nenašli aktivní předplatné. Obnovte stránku a zkuste to znovu."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Tento {theOtherPlatform} formulář jsme nenašli. Zkontrolujte odkaz a zkuste to znovu."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/da/messages.po b/fluxer_app/src/features/i18n/locales/da/messages.poindex 9019405d3..ff981e1d6 100644--- a/fluxer_app/src/features/i18n/locales/da/messages.po+++ b/fluxer_app/src/features/i18n/locales/da/messages.po@@ -2129,6 +2129,11 @@ msgstr "Skærmen fra {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} sekunder"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# tekstkanal} other {# tekstkanaler}}, {forumChannelCount, plural, one {# forumkanal} other {# forumkanaler}}, {voiceChannelCount, plural, one {# stemmekanal} other {# stemmekanaler}}, {categoryCount, plural, one {# kategori} other {# kategorier}}, {roleCount, plural, one {# rolle} other {# roller}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# tekstkanal} other {# tekstkanaler}}, {msgid "{themeName} Copy"msgstr "Kopi af {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} begrænser i øjeblikket skabelonopslag. Prøv igen om et øjeblik."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Kunne ikke indlæse indstillinger"msgid "Couldn't load the report form."msgstr "Kunne ikke indlæse anmeldelsesformularen."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Kunne ikke indlæse skabelonen automatisk. Åbn linket nedenfor i din browser, kopier derefter hele JSON-svaret, og indsæt det i feltet."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Kunne ikke indlæse denne app"@@ -33897,6 +33912,11 @@ msgstr "Tredje mulighed"msgid "Third party"msgstr "Tredjepart"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Denne {theOtherPlatform}-skabelon kunne ikke læses. Den bruger muligvis et format, som Fluxer endnu ikke understøtter."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Vi kunne ikke finde et nyligt køb, der kan refunderes, på denne konto.msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Vi kunne ikke finde et aktivt abonnement på denne konto. Opdater og prøv igen."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Vi kunne ikke finde den {theOtherPlatform}-skabelon. Tjek linket, og prøv igen."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/de/messages.po b/fluxer_app/src/features/i18n/locales/de/messages.poindex 62d69fb59..b26a46966 100644--- a/fluxer_app/src/features/i18n/locales/de/messages.po+++ b/fluxer_app/src/features/i18n/locales/de/messages.po@@ -2129,6 +2129,11 @@ msgstr "Bildschirm von {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} Sekunden"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# Textkanal} other {# Textkanäle}}, {forumChannelCount, plural, one {# Forumkanal} other {# Forumkanäle}}, {voiceChannelCount, plural, one {# Sprachkanal} other {# Sprachkanäle}}, {categoryCount, plural, one {# Kategorie} other {# Kategorien}}, {roleCount, plural, one {# Rolle} other {# Rollen}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# Textkanal} other {# Textkanäle}}, {vomsgid "{themeName} Copy"msgstr "Kopie von {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} schränkt die Vorlagensuche gerade ein. Versuche es gleich noch einmal."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Einstellungen konnten nicht geladen werden"msgid "Couldn't load the report form."msgstr "Das Formular für die Meldung konnte nicht geladen werden."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Vorlage konnte nicht automatisch geladen werden. Öffne den Link unten in deinem Browser, kopiere dann die gesamte JSON-Antwort und füge sie in das Feld ein."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Diese Anwendung konnte nicht geladen werden"@@ -33897,6 +33912,11 @@ msgstr "Dritte Option"msgid "Third party"msgstr "Drittanbieter"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Diese Vorlage von {theOtherPlatform} konnte nicht gelesen werden. Sie verwendet möglicherweise ein Format, das Fluxer noch nicht unterstützt."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Wir konnten auf diesem Account keinen kürzlich getätigten Kauf finden,msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Wir konnten kein aktives Abo für diesen Account finden. Aktualisiere die Seite und versuche es erneut."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Wir konnten diese {theOtherPlatform}-Vorlage nicht finden. Überprüfe den Link und versuche es erneut."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/el/messages.po b/fluxer_app/src/features/i18n/locales/el/messages.poindex b74825e34..14b282a02 100644--- a/fluxer_app/src/features/i18n/locales/el/messages.po+++ b/fluxer_app/src/features/i18n/locales/el/messages.po@@ -2129,6 +2129,11 @@ msgstr "Οθόνη του/της {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} δευτερόλεπτα"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# κανάλι κειμένου} other {# κανάλια κειμένου}}, {forumChannelCount, plural, one {# κανάλι φόρουμ} other {# κανάλια φόρουμ}}, {voiceChannelCount, plural, one {# κανάλι φωνής} other {# κανάλια φωνής}}, {categoryCount, plural, one {# κατηγορία} other {# κατηγορίες}}, {roleCount, plural, one {# ρόλος} other {# ρόλοι}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# κανάλι κειμένου} other {msgid "{themeName} Copy"msgstr "{themeName} αντίγραφο"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "Το {theOtherPlatform} περιορίζει προσωρινά τις αναζητήσεις προτύπων. Δοκιμάστε ξανά σε λίγο."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Αδυναμία φόρτωσης ρυθμίσεων"msgid "Couldn't load the report form."msgstr "Δεν ήταν δυνατή η φόρτωση της φόρμας αναφοράς."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Δεν ήταν δυνατή η αυτόματη φόρτωση του προτύπου. Ανοίξτε τον παρακάτω σύνδεσμο στο πρόγραμμα περιήγησής σας, αντιγράψτε ολόκληρη την απόκριση JSON και επικολλήστε την στο πλαίσιο."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Δεν ήταν δυνατή η φόρτωση αυτής της εφαρμογής"@@ -33897,6 +33912,11 @@ msgstr "Τρίτη επιλογή"msgid "Third party"msgstr "Τρίτα μέρη"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Αυτό το πρότυπο από το {theOtherPlatform} δεν διαβάστηκε. Μπορεί να χρησιμοποιεί μια μορφή που το Fluxer δεν υποστηρίζει ακόμη."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Δεν μπορέσαμε να βρούμε μια πρόσφατη αγmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Δεν βρέθηκε ενεργή συνδρομή σε αυτόν τον λογαριασμό. Ανανεώστε και δοκιμάστε ξανά."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Δεν μπορέσαμε να βρούμε αυτό το πρότυπο {theOtherPlatform}. Ελέγξτε τον σύνδεσμο και δοκιμάστε ξανά."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/en-GB/messages.po b/fluxer_app/src/features/i18n/locales/en-GB/messages.poindex a2d1cdcc1..c244010ca 100644--- a/fluxer_app/src/features/i18n/locales/en-GB/messages.po+++ b/fluxer_app/src/features/i18n/locales/en-GB/messages.po@@ -2129,6 +2129,11 @@ msgstr "{streamerDisplayName}'s screen"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} seconds"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# text channel} other {# text channels}}msgid "{themeName} Copy"msgstr "{themeName} Copy"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Couldn't load settings"msgid "Couldn't load the report form."msgstr "Couldn't load the report form."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Couldn't load this application"@@ -33897,6 +33912,11 @@ msgstr "Third option"msgid "Third party"msgstr "Third party"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "We couldn't find a recent purchase to refund on this account."msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "We couldn't find an active subscription on this account. Refresh and try again."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "We couldn't find that {theOtherPlatform} template. Check the link and try again."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/en-US/messages.po b/fluxer_app/src/features/i18n/locales/en-US/messages.poindex 94160f2e9..566e3f512 100644--- a/fluxer_app/src/features/i18n/locales/en-US/messages.po+++ b/fluxer_app/src/features/i18n/locales/en-US/messages.po@@ -2129,6 +2129,11 @@ msgstr "{streamerDisplayName}'s screen"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} seconds"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# text channel} other {# text channels}}msgid "{themeName} Copy"msgstr "{themeName} Copy"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Couldn't load settings"msgid "Couldn't load the report form."msgstr "Couldn't load the report form."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Couldn't load this application"@@ -33897,6 +33912,11 @@ msgstr "Third option"msgid "Third party"msgstr "Third party"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "We couldn't find a recent purchase to refund on this account."msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "We couldn't find an active subscription on this account. Refresh and try again."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "We couldn't find that {theOtherPlatform} template. Check the link and try again."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/es-419/messages.po b/fluxer_app/src/features/i18n/locales/es-419/messages.poindex 636746694..2e6cde16d 100644--- a/fluxer_app/src/features/i18n/locales/es-419/messages.po+++ b/fluxer_app/src/features/i18n/locales/es-419/messages.po@@ -2129,6 +2129,11 @@ msgstr "Pantalla de {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} segundos"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# canal de texto} other {# canales de texto}}, {forumChannelCount, plural, one {# canal de foro} other {# canales de foro}}, {voiceChannelCount, plural, one {# canal de voz} other {# canales de voz}}, {categoryCount, plural, one {# categoría} other {# categorías}}, {roleCount, plural, one {# rol} other {# roles}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# canal de texto} many {# canales de texmsgid "{themeName} Copy"msgstr "Copia de {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} está limitando las búsquedas de plantillas en este momento. Intenta de nuevo en un momento."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "No se pudieron cargar la configuración"msgid "Couldn't load the report form."msgstr "No se pudo cargar el formulario de reporte."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "No se pudo cargar la plantilla automáticamente. Abre el enlace a continuación en tu navegador, luego copia toda la respuesta JSON y pégala en el cuadro."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "No se pudo cargar esta aplicación"@@ -33897,6 +33912,11 @@ msgstr "Tercera opción"msgid "Third party"msgstr "Terceros"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Esta plantilla de {theOtherPlatform} no se pudo leer. Es posible que use un formato que Fluxer aún no admite."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "No pudimos encontrar una compra reciente para reembolsar en esta cuenta.msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "No pudimos encontrar una suscripción activa en esta cuenta. Actualiza y vuelve a intentarlo."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "No encontramos esa plantilla de {theOtherPlatform}. Revisa el enlace e inténtalo de nuevo."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/es-ES/messages.po b/fluxer_app/src/features/i18n/locales/es-ES/messages.poindex 93256077f..073ae62de 100644--- a/fluxer_app/src/features/i18n/locales/es-ES/messages.po+++ b/fluxer_app/src/features/i18n/locales/es-ES/messages.po@@ -2129,6 +2129,11 @@ msgstr "Pantalla de {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} segundos"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# canal de texto} other {# canales de texto}}, {forumChannelCount, plural, one {# canal de foro} other {# canales de foro}}, {voiceChannelCount, plural, one {# canal de voz} other {# canales de voz}}, {categoryCount, plural, one {# categoría} other {# categorías}}, {roleCount, plural, one {# rol} other {# roles}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# canal de texto} many {# canales de texmsgid "{themeName} Copy"msgstr "Copia de {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} está limitando las búsquedas de plantillas ahora mismo. Inténtalo de nuevo en un momento."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "No se pudieron cargar los ajustes"msgid "Couldn't load the report form."msgstr "No se ha podido cargar el formulario de denuncia."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "No se pudo cargar la plantilla automáticamente. Abre el enlace de abajo en tu navegador, luego copia toda la respuesta JSON y pégala en el cuadro."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "No se ha podido cargar esta aplicación"@@ -33897,6 +33912,11 @@ msgstr "Tercera opción"msgid "Third party"msgstr "Terceros"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Esta plantilla de {theOtherPlatform} no se ha podido leer. Es posible que use un formato que Fluxer aún no admita."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "No hemos encontrado ninguna compra reciente que reembolsar en esta cuentmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "No hemos encontrado una suscripción activa en esta cuenta. Actualiza y vuelve a intentarlo."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "No hemos encontrado esa plantilla de {theOtherPlatform}. Comprueba el enlace y vuelve a intentarlo."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/fi/messages.po b/fluxer_app/src/features/i18n/locales/fi/messages.poindex 839f74d7c..0d74a4d58 100644--- a/fluxer_app/src/features/i18n/locales/fi/messages.po+++ b/fluxer_app/src/features/i18n/locales/fi/messages.po@@ -2129,6 +2129,11 @@ msgstr "Käyttäjän {streamerDisplayName} näyttö"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} sekuntia"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# tekstikanava} other {# tekstikanavaa}}, {forumChannelCount, plural, one {# keskustelukanava} other {# keskustelukanavaa}}, {voiceChannelCount, plural, one {# äänikanava} other {# äänikanavaa}}, {categoryCount, plural, one {# kategoria} other {# kategoriaa}}, {roleCount, plural, one {# rooli} other {# roolia}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# tekstikanava} other {# tekstikanavaa}}msgid "{themeName} Copy"msgstr "{themeName} (kopio)"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} rajoittaa mallipohjien hakua juuri nyt. Yritä uudelleen hetken kuluttua."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Asetuksia ei voitu ladata"msgid "Couldn't load the report form."msgstr "Ilmoituslomakkeen lataaminen epäonnistui."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Mallia ei voitu ladata automaattisesti. Avaa alla oleva linkki selaimessasi, kopioi sitten koko JSON-vastaus ja liitä se ruutuun."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Sovellusta ei voitu ladata"@@ -33897,6 +33912,11 @@ msgstr "Kolmas vaihtoehto"msgid "Third party"msgstr "Kolmas osapuoli"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Tätä {theOtherPlatform}-mallia ei voitu lukea. Se saattaa käyttää muotoa, jota Fluxer ei vielä tue."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Emme löytäneet tältä tililtä äskettäistä ostosta, josta voisi samsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Emme löytäneet aktiivista tilausta tältä tililtä. Päivitä ja yritä uudelleen."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Emme löytäneet kyseistä {theOtherPlatform}-mallia. Tarkista linkki ja yritä uudelleen."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/fr/messages.po b/fluxer_app/src/features/i18n/locales/fr/messages.poindex a3fcef0b3..0ea3f8e65 100644--- a/fluxer_app/src/features/i18n/locales/fr/messages.po+++ b/fluxer_app/src/features/i18n/locales/fr/messages.po@@ -2129,6 +2129,11 @@ msgstr "Écran de {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} secondes"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# salon texte} other {# salons texte}}, {forumChannelCount, plural, one {# salon de discussion} other {# salons de discussion}}, {voiceChannelCount, plural, one {# salon vocal} other {# salons vocaux}}, {categoryCount, plural, one {# catégorie} other {# catégories}}, {roleCount, plural, one {# rôle} other {# rôles}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# salon textuel} many {# salons textuelsmsgid "{themeName} Copy"msgstr "Copie de {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} limite actuellement la recherche de modèles. Veuillez réessayer dans un moment."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Impossible de charger les paramètres"msgid "Couldn't load the report form."msgstr "Impossible de charger le formulaire de signalement."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Impossible de charger le modèle automatiquement. Ouvrez le lien ci-dessous dans votre navigateur, puis copiez l'intégralité de la réponse JSON et collez-la dans la zone."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Impossible de charger cette application"@@ -33897,6 +33912,11 @@ msgstr "Troisième option"msgid "Third party"msgstr "Tiers"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Ce modèle {theOtherPlatform} n'a pas pu être lu. Il utilise peut-être un format que Fluxer ne prend pas encore en charge."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Nous n’avons pas trouvé d’achat récent à rembourser sur ce comptemsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Nous n’avons pas trouvé d’abonnement actif pour ce compte. Actualisez la page et réessayez."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Nous n'avons pas trouvé ce modèle {theOtherPlatform}. Vérifiez le lien et réessayez."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/he/messages.po b/fluxer_app/src/features/i18n/locales/he/messages.poindex c5d66e7a3..f9ed16eb7 100644--- a/fluxer_app/src/features/i18n/locales/he/messages.po+++ b/fluxer_app/src/features/i18n/locales/he/messages.po@@ -2129,6 +2129,11 @@ msgstr "המסך של {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} שניות"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# ערוץ טקסט} other {# ערוצי טקסט}}, {forumChannelCount, plural, one {# ערוץ פורום} other {# ערוצי פורום}}, {voiceChannelCount, plural, one {# ערוץ קולי} other {# ערוצים קוליים}}, {categoryCount, plural, one {# קטגוריה} other {# קטגוריות}}, {roleCount, plural, one {# תפקיד} other {# תפקידים}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# ערוץ טקסט} two {# ערוציmsgid "{themeName} Copy"msgstr "עותק של {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} מגביל כרגע חיפושי תבניות. נסה שוב בעוד רגע."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "לא ניתן היה לטעון את ההגדרות"msgid "Couldn't load the report form."msgstr "לא ניתן היה לטעון את טופס הדיווח."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "לא ניתן היה לטעון את התבנית באופן אוטומטי. פתח את הקישור למטה בדפדפן שלך, לאחר מכן העתק את כל תגובת ה-JSON והדבק אותה בתיבה."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "לא ניתן לטעון את האפליקציה הזו"@@ -33897,6 +33912,11 @@ msgstr "אפשרות שלישית"msgid "Third party"msgstr "צד שלישי"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "לא ניתן היה לקרוא את התבנית הזו מ-{theOtherPlatform}. ייתכן שהיא משתמשת בפורמט ש-Fluxer עדיין לא תומך בו."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "לא מצאנו רכישה אחרונה להחזר כספי בחשבוןmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "לא מצאנו מינוי פעיל בחשבון זה. רענן ונסה שוב."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "לא מצאנו את התבנית הזו מ-{theOtherPlatform}. בדוק את הקישור ונסה שוב."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/hi/messages.po b/fluxer_app/src/features/i18n/locales/hi/messages.poindex acaacd605..6830809d0 100644--- a/fluxer_app/src/features/i18n/locales/hi/messages.po+++ b/fluxer_app/src/features/i18n/locales/hi/messages.po@@ -2129,6 +2129,11 @@ msgstr "{streamerDisplayName} की स्क्रीन"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} सेकंड"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# टेक्स्ट चैनल} other {# टेक्स्ट चैनल}}, {forumChannelCount, plural, one {# फ़ोरम चैनल} other {# फ़ोरम चैनल}}, {voiceChannelCount, plural, one {# वॉयस चैनल} other {# वॉयस चैनल}}, {categoryCount, plural, one {# श्रेणी} other {# श्रेणियाँ}}, {roleCount, plural, one {# भूमिका} other {# भूमिकाएँ}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# टेक्स्ट चैनल} otmsgid "{themeName} Copy"msgstr "{themeName} की कॉपी"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} अभी टेम्पलेट लुकअप सीमित कर रहा है। थोड़ी देर में फिर से प्रयास करें।"+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "सेटिंग्स लोड नहीं हो सकीं"msgid "Couldn't load the report form."msgstr "रिपोर्ट फ़ॉर्म लोड नहीं हो सका।"+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "टेम्पलेट स्वचालित रूप से लोड नहीं हो सका। नीचे दिए गए लिंक को अपने ब्राउज़र में खोलें, फिर पूरे JSON रिस्पॉन्स को कॉपी करें और बॉक्स में पेस्ट करें।"+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "यह ऐप्लिकेशन लोड नहीं हो सका"@@ -33897,6 +33912,11 @@ msgstr "तीसरा विकल्प"msgid "Third party"msgstr "थर्ड पार्टी"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "यह {theOtherPlatform} टेम्प्लेट पढ़ा नहीं जा सका। हो सकता है कि यह ऐसे फ़ॉर्मैट का उपयोग कर रहा हो जिसे Fluxer अभी तक सपोर्ट नहीं करता है।"+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "हमें इस अकाउंट पर रिफ़ंड केmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "हमें इस अकाउंट पर कोई सक्रिय सदस्यता नहीं मिली। रीफ़्रेश करें और फिर से कोशिश करें।"+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "हमें वह {theOtherPlatform} टेम्पलेट नहीं मिला। लिंक जांचें और पुनः प्रयास करें।"+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/hr/messages.po b/fluxer_app/src/features/i18n/locales/hr/messages.poindex ce1875fb4..fe60b178b 100644--- a/fluxer_app/src/features/i18n/locales/hr/messages.po+++ b/fluxer_app/src/features/i18n/locales/hr/messages.po@@ -2129,6 +2129,11 @@ msgstr "Zaslon korisnika {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} sekundi"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# tekstualni kanal} other {# tekstualnih kanala}}, {forumChannelCount, plural, one {# forum kanal} other {# forum kanala}}, {voiceChannelCount, plural, one {# glasovni kanal} other {# glasovnih kanala}}, {categoryCount, plural, one {# kategorija} other {# kategorija}}, {roleCount, plural, one {# uloga} other {# uloga}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# tekstualni kanal} few {# tekstualna kamsgid "{themeName} Copy"msgstr "{themeName} (kopija)"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} trenutačno ograničava preuzimanje predložaka. Pokušajte ponovno za trenutak."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Nije moguće učitati postavke"msgid "Couldn't load the report form."msgstr "Nismo mogli učitati obrazac za prijavu."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Nismo mogli automatski učitati predložak. Otvorite vezu ispod u svojem pregledniku, zatim kopirajte cijeli JSON odgovor i zalijepite ga u okvir."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Nije moguće učitati ovu aplikaciju"@@ -33897,6 +33912,11 @@ msgstr "Treća opcija"msgid "Third party"msgstr "Treća strana"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Ovu predlogu s {theOtherPlatform} nije moguće pročitati. Možda koristi format koji Fluxer još ne podržava."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Nismo pronašli nedavnu kupnju za povrat novca na ovom računu."msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Nismo pronašli aktivnu pretplatu na ovom računu. Osvježite i pokušajte ponovno."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Nismo mogli pronaći taj predložak {theOtherPlatform}. Provjerite poveznicu i pokušajte ponovno."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/hu/messages.po b/fluxer_app/src/features/i18n/locales/hu/messages.poindex 7fee08dec..69f62176a 100644--- a/fluxer_app/src/features/i18n/locales/hu/messages.po+++ b/fluxer_app/src/features/i18n/locales/hu/messages.po@@ -2129,6 +2129,11 @@ msgstr "{streamerDisplayName} képernyője"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} másodperc"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# szöveges csatorna} other {# szöveges csatorna}}, {forumChannelCount, plural, one {# fórumcsatorna} other {# fórumcsatorna}}, {voiceChannelCount, plural, one {# hangcsatorna} other {# hangcsatorna}}, {categoryCount, plural, one {# kategória} other {# kategória}}, {roleCount, plural, one {# szerepkör} other {# szerepkör}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# szöveges csatorna} other {# szövegesmsgid "{themeName} Copy"msgstr "{themeName} másolata"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "A(z) {theOtherPlatform} jelenleg korlátozza a sablonkereséseket. Próbáld meg később újra."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Nem sikerült betölteni a beállításokat"msgid "Couldn't load the report form."msgstr "Nem sikerült betölteni a bejelentési űrlapot."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Nem sikerült automatikusan betölteni a sablont. Nyisd meg az alábbi linket a böngésződben, majd másold ki a teljes JSON választ, és illeszd be a mezőbe."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Nem sikerült betölteni az alkalmazást"@@ -33897,6 +33912,11 @@ msgstr "Harmadik opció"msgid "Third party"msgstr "Harmadik fél"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Ezt a(z) {theOtherPlatform} sablont nem sikerült beolvasni. Lehetséges, hogy olyan formátumot használ, amelyet a Fluxer még nem támogat."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Nem találtunk visszatéríthető vásárlást ezen a fiókon."msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Nem találtunk aktív előfizetést ezen a fiókon. Frissítsd, majd próbáld újra."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Nem találtuk ezt a(z) {theOtherPlatform} sablont. Ellenőrizd a linket, és próbáld újra."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/id/messages.po b/fluxer_app/src/features/i18n/locales/id/messages.poindex 9a8f2ef6d..de3234ab3 100644--- a/fluxer_app/src/features/i18n/locales/id/messages.po+++ b/fluxer_app/src/features/i18n/locales/id/messages.po@@ -2129,6 +2129,11 @@ msgstr "Layar {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} detik"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# kanal teks} other {# kanal teks}}, {forumChannelCount, plural, one {# kanal forum} other {# kanal forum}}, {voiceChannelCount, plural, one {# kanal suara} other {# kanal suara}}, {categoryCount, plural, one {# kategori} other {# kategori}}, {roleCount, plural, one {# peran} other {# peran}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, other {# saluran teks}}, {voiceChannelCount,msgid "{themeName} Copy"msgstr "Salinan {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} sedang membatasi pencarian template saat ini. Coba lagi sebentar lagi."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Tidak dapat memuat setelan"msgid "Couldn't load the report form."msgstr "Tidak dapat memuat formulir laporan."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Tidak dapat memuat templat secara otomatis. Buka tautan di bawah ini di peramban Anda, lalu salin seluruh respons JSON dan tempelkan ke dalam kotak."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Tidak dapat memuat aplikasi ini"@@ -33897,6 +33912,11 @@ msgstr "Opsi ketiga"msgid "Third party"msgstr "Pihak ketiga"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Template {theOtherPlatform} ini tidak dapat dibaca. Kemungkinan formatnya belum didukung Fluxer."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Kami tidak dapat menemukan pembelian terbaru yang dapat dikembalikan danmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Kami tidak dapat menemukan langganan aktif di akun ini. Muat ulang dan coba lagi."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Kami tidak dapat menemukan templat {theOtherPlatform} tersebut. Periksa tautannya dan coba lagi."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/it/messages.po b/fluxer_app/src/features/i18n/locales/it/messages.poindex eb3632ac2..93beac89b 100644--- a/fluxer_app/src/features/i18n/locales/it/messages.po+++ b/fluxer_app/src/features/i18n/locales/it/messages.po@@ -2129,6 +2129,11 @@ msgstr "Schermo di {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} secondi"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# canale di testo} other {# canali di testo}}, {forumChannelCount, plural, one {# canale forum} other {# canali forum}}, {voiceChannelCount, plural, one {# canale vocale} other {# canali vocali}}, {categoryCount, plural, one {# categoria} other {# categorie}}, {roleCount, plural, one {# ruolo} other {# ruoli}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# canale testuale} many {# canali testuamsgid "{themeName} Copy"msgstr "Copia di {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} sta limitando le ricerche di modelli al momento. Riprova tra un momento."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Impossibile caricare le impostazioni"msgid "Couldn't load the report form."msgstr "Impossibile caricare il modulo di segnalazione."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Impossibile caricare il modello automaticamente. Apri il link qui sotto nel tuo browser, quindi copia l'intera risposta JSON e incollala nella casella."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Impossibile caricare questa applicazione"@@ -33897,6 +33912,11 @@ msgstr "Terza opzione"msgid "Third party"msgstr "Terze parti"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Questo template di {theOtherPlatform} non è stato letto. Potrebbe usare un formato non ancora supportato da Fluxer."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Non siamo riusciti a trovare un acquisto recente da rimborsare su questomsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Non abbiamo trovato un abbonamento attivo su questo account. Aggiorna e riprova."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Non siamo riusciti a trovare quel modello di {theOtherPlatform}. Controlla il link e riprova."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/ja/messages.po b/fluxer_app/src/features/i18n/locales/ja/messages.poindex 39ea03cb6..c467e264c 100644--- a/fluxer_app/src/features/i18n/locales/ja/messages.po+++ b/fluxer_app/src/features/i18n/locales/ja/messages.po@@ -2129,6 +2129,11 @@ msgstr "{streamerDisplayName}さんの画面"msgid "{tenSeconds} seconds"msgstr "{tenSeconds}秒"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# テキストチャンネル} other {# テキストチャンネル}}、{forumChannelCount, plural, one {# フォーラムチャンネル} other {# フォーラムチャンネル}}、{voiceChannelCount, plural, one {# ボイスチャンネル} other {# ボイスチャンネル}}、{categoryCount, plural, one {# カテゴリ} other {# カテゴリ}}、{roleCount, plural, one {# ロール} other {# ロール}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, other {#個のテキストチャンネル}}msgid "{themeName} Copy"msgstr "{themeName}のコピー"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} は現在、テンプレートの検索を制限しています。しばらくしてからもう一度お試しください。"+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "設定を読み込めませんでした"msgid "Couldn't load the report form."msgstr "報告フォームを読み込めませんでした。"+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "テンプレートを自動で読み込めませんでした。下のリンクをブラウザで開き、JSON全体をコピーしてボックスに貼り付けてください。"+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "このアプリを読み込めませんでした"@@ -33897,6 +33912,11 @@ msgstr "3番目の選択肢"msgid "Third party"msgstr "サードパーティ"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "この {theOtherPlatform} テンプレートは読み込めませんでした。Fluxer がまだサポートしていない形式を使用している可能性があります。"+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "このアカウントには、払い戻しできる最近の購入が見msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "このアカウントで有効なサブスクリプションが見つかりませんでした。更新してもう一度お試しください。"+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "その {theOtherPlatform} テンプレートが見つかりませんでした。リンクを確認して、もう一度お試しください。"+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/ko/messages.po b/fluxer_app/src/features/i18n/locales/ko/messages.poindex 51b1fe684..1acc21059 100644--- a/fluxer_app/src/features/i18n/locales/ko/messages.po+++ b/fluxer_app/src/features/i18n/locales/ko/messages.po@@ -2129,6 +2129,11 @@ msgstr "{streamerDisplayName}님의 화면"msgid "{tenSeconds} seconds"msgstr "{tenSeconds}초"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {#개의 텍스트 채널} other {#개의 텍스트 채널}}, {forumChannelCount, plural, one {#개의 포럼 채널} other {#개의 포럼 채널}}, {voiceChannelCount, plural, one {#개의 음성 채널} other {#개의 음성 채널}}, {categoryCount, plural, one {#개의 카테고리} other {#개의 카테고리}}, {roleCount, plural, one {#개의 역할} other {#개의 역할}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, other {텍스트 채널 #개}}, {voiceChannelmsgid "{themeName} Copy"msgstr "{themeName} 복사본"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform}에서 현재 템플릿 조회를 제한하고 있습니다. 잠시 후 다시 시도해 주세요."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "설정을 불러올 수 없습니다"msgid "Couldn't load the report form."msgstr "신고 양식을 불러오지 못했습니다."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "템플릿을 자동으로 불러올 수 없습니다. 아래 링크를 브라우저에서 열고 전체 JSON 응답을 복사하여 상자에 붙여넣으세요."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "이 애플리케이션을 불러올 수 없습니다"@@ -33897,6 +33912,11 @@ msgstr "세 번째 옵션"msgid "Third party"msgstr "타사"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "이 {theOtherPlatform} 템플릿을 읽을 수 없습니다. Fluxer에서 아직 지원하지 않는 형식일 수 있습니다."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "이 계정에서 환불할 최근 구매 내역을 찾을 수 없습니msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "이 계정에서 활성 구독을 찾을 수 없습니다. 새로고침 후 다시 시도해 주세요."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "{theOtherPlatform} 템플릿을 찾을 수 없습니다. 링크를 확인하고 다시 시도해 주세요."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/lt/messages.po b/fluxer_app/src/features/i18n/locales/lt/messages.poindex 7c7743383..746d863ed 100644--- a/fluxer_app/src/features/i18n/locales/lt/messages.po+++ b/fluxer_app/src/features/i18n/locales/lt/messages.po@@ -2129,6 +2129,11 @@ msgstr "{streamerDisplayName} ekranas"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} sekundžių"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# teksto kanalas} other {# teksto kanalai}}, {forumChannelCount, plural, one {# forumo kanalas} other {# forumo kanalai}}, {voiceChannelCount, plural, one {# balso kanalas} other {# balso kanalai}}, {categoryCount, plural, one {# kategorija} other {# kategorijos}}, {roleCount, plural, one {# vaidmuo} other {# vaidmenys}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# tekstinis kanalas} few {# tekstiniai kmsgid "{themeName} Copy"msgstr "{themeName} kopija"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} šiuo metu apriboja šablonų paieškas. Pabandykite dar kartą po akimirkos."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Nepavyko įkelti nuostatų"msgid "Couldn't load the report form."msgstr "Nepavyko įkelti pranešimo formos."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Nepavyko automatiškai įkelti šablono. Atsidarykite toliau pateiktą nuorodą savo naršyklėje, tada nukopijuokite visą JSON atsakymą ir įklijuokite jį į laukelį."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Nepavyko įkelti šios programos"@@ -33898,6 +33913,11 @@ msgstr "Trečias pasirinkimas"msgid "Third party"msgstr "Trečioji šalis"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Šablono iš {theOtherPlatform} nepavyko nuskaityti. Gali būti, kad jis naudoja formatą, kurio Fluxer dar nepalaiko."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38483,6 +38503,11 @@ msgstr "Šioje paskyroje neradome neseniai atlikto pirkinio, už kurį būtų gamsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Nerandame aktyvios prenumeratos šioje paskyroje. Atnaujinkite ir bandykite dar kartą."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Nepavyko rasti šablono iš {theOtherPlatform}. Patikrinkite nuorodą ir pabandykite dar kartą."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/nl/messages.po b/fluxer_app/src/features/i18n/locales/nl/messages.poindex 02eeae5fb..aeb7f6b5f 100644--- a/fluxer_app/src/features/i18n/locales/nl/messages.po+++ b/fluxer_app/src/features/i18n/locales/nl/messages.po@@ -2129,6 +2129,11 @@ msgstr "Scherm van {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} seconden"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# tekstkanaal} other {# tekstkanalen}}, {forumChannelCount, plural, one {# forumkanaal} other {# forumkanalen}}, {voiceChannelCount, plural, one {# spraakkanaal} other {# spraakkanalen}}, {categoryCount, plural, one {# categorie} other {# categorieën}}, {roleCount, plural, one {# rol} other {# rollen}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# tekstkanaal} other {# tekstkanalen}},msgid "{themeName} Copy"msgstr "{themeName} kopie"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} beperkt momenteel het opzoeken van sjablonen. Probeer het later opnieuw."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Instellingen konden niet worden geladen"msgid "Couldn't load the report form."msgstr "Kon het meldingsformulier niet laden."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Kon het sjabloon niet automatisch laden. Open de onderstaande link in je browser, kopieer vervolgens de volledige JSON-reactie en plak deze in het vak."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Deze applicatie kon niet worden geladen"@@ -33897,6 +33912,11 @@ msgstr "Derde optie"msgid "Third party"msgstr "Derden"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Deze {theOtherPlatform}-sjabloon kon niet worden gelezen. Mogelijk gebruikt deze een indeling die Fluxer nog niet ondersteunt."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "We konden geen recente aankoop vinden om terug te betalen op dit accountmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "We konden geen actief abonnement vinden voor dit account. Vernieuw en probeer het opnieuw."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "We konden die sjabloon van {theOtherPlatform} niet vinden. Controleer de link en probeer het opnieuw."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/no/messages.po b/fluxer_app/src/features/i18n/locales/no/messages.poindex 5bddf07dd..a0e0371de 100644--- a/fluxer_app/src/features/i18n/locales/no/messages.po+++ b/fluxer_app/src/features/i18n/locales/no/messages.po@@ -2129,6 +2129,11 @@ msgstr "Skjermen til {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} sekunder"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# tekstkanal} other {# tekstkanaler}}, {forumChannelCount, plural, one {# forumkanal} other {# forumkanaler}}, {voiceChannelCount, plural, one {# stemmekanal} other {# stemmekanaler}}, {categoryCount, plural, one {# kategori} other {# kategorier}}, {roleCount, plural, one {# rolle} other {# roller}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# tekstkanal} other {# tekstkanaler}}, {msgid "{themeName} Copy"msgstr "Kopi av {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} begrenser maloppslag akkurat nå. Prøv igjen om et øyeblikk."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Kunne ikke laste inn innstillinger"msgid "Couldn't load the report form."msgstr "Kunne ikke laste inn rapportskjemaet."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Kunne ikke laste malen automatisk. Åpne lenken nedenfor i nettleseren din, kopier deretter hele JSON-svaret og lim det inn i boksen."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Kunne ikke laste inn denne appen"@@ -33897,6 +33912,11 @@ msgstr "Tredje alternativ"msgid "Third party"msgstr "Tredjepart"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Denne {theOtherPlatform}-malen kunne ikke leses. Den bruker kanskje et format Fluxer ikke støtter ennå."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Vi kunne ikke finne et nylig kjøp å refundere på denne kontoen."msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Vi fant ikke noe aktivt abonnement på denne kontoen. Oppdater og prøv igjen."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Vi fant ikke den {theOtherPlatform}-malen. Sjekk lenken og prøv igjen."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/pl/messages.po b/fluxer_app/src/features/i18n/locales/pl/messages.poindex 6dc970298..942576b52 100644--- a/fluxer_app/src/features/i18n/locales/pl/messages.po+++ b/fluxer_app/src/features/i18n/locales/pl/messages.po@@ -2129,6 +2129,11 @@ msgstr "Ekran użytkownika {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} sekund"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# kanał tekstowy} other {# kanałów tekstowych}}, {forumChannelCount, plural, one {# kanał na forum} other {# kanałów na forum}}, {voiceChannelCount, plural, one {# kanał głosowy} other {# kanałów głosowych}}, {categoryCount, plural, one {# kategoria} other {# kategorii}}, {roleCount, plural, one {# rola} other {# ról}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# kanał tekstowy} few {# kanały tekstomsgid "{themeName} Copy"msgstr "Kopia {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} tymczasowo ogranicza wyszukiwanie szablonów. Spróbuj ponownie za chwilę."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Nie można załadować ustawień"msgid "Couldn't load the report form."msgstr "Nie udało się załadować formularza zgłoszenia."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Nie udało się automatycznie załadować szablonu. Otwórz poniższy link w przeglądarce, a następnie skopiuj całą odpowiedź JSON i wklej ją do pola."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Nie udało się wczytać tej aplikacji"@@ -33897,6 +33912,11 @@ msgstr "Trzecia opcja"msgid "Third party"msgstr "Inne firmy"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Ten szablon z {theOtherPlatform} nie mógł zostać odczytany. Może używać formatu, którego Fluxer jeszcze nie obsługuje."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Nie znaleźliśmy na tym koncie niedawnego zakupu, za który można uzysmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Nie znaleźliśmy aktywnej subskrypcji na tym koncie. Odśwież i spróbuj ponownie."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Nie znaleźliśmy tego szablonu {theOtherPlatform}. Sprawdź link i spróbuj ponownie."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po b/fluxer_app/src/features/i18n/locales/pt-BR/messages.poindex 5ea0a196f..d98616b35 100644--- a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po+++ b/fluxer_app/src/features/i18n/locales/pt-BR/messages.po@@ -2129,6 +2129,11 @@ msgstr "Tela de {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} segundos"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# canal de texto} other {# canais de texto}}, {forumChannelCount, plural, one {# canal de fórum} other {# canais de fórum}}, {voiceChannelCount, plural, one {# canal de voz} other {# canais de voz}}, {categoryCount, plural, one {# categoria} other {# categorias}}, {roleCount, plural, one {# cargo} other {# cargos}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, =0 {# canais de texto} one {# canal de texto}msgid "{themeName} Copy"msgstr "Cópia de {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} está limitando as buscas de modelos no momento. Tente novamente em um instante."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Não foi possível carregar as configurações"msgid "Couldn't load the report form."msgstr "Não foi possível carregar o formulário de denúncia."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Não foi possível carregar o modelo automaticamente. Abra o link abaixo no seu navegador, copie toda a resposta JSON e cole-a na caixa."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Não foi possível carregar este aplicativo"@@ -33897,6 +33912,11 @@ msgstr "Terceira opção"msgid "Third party"msgstr "Terceiros"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Este modelo do {theOtherPlatform} não pôde ser lido. Ele pode usar um formato que o Fluxer ainda não suporta."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Não foi possível encontrar uma compra recente para reembolsar nesta comsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Não conseguimos encontrar uma assinatura ativa nesta conta. Atualize e tente novamente."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Não encontramos esse modelo do {theOtherPlatform}. Verifique o link e tente novamente."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/ro/messages.po b/fluxer_app/src/features/i18n/locales/ro/messages.poindex ead8c34e4..5d2c9aaf0 100644--- a/fluxer_app/src/features/i18n/locales/ro/messages.po+++ b/fluxer_app/src/features/i18n/locales/ro/messages.po@@ -2129,6 +2129,11 @@ msgstr "Ecranul lui {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} secunde"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# canal text} other {# canale text}}, {forumChannelCount, plural, one {# canal forum} other {# canale forum}}, {voiceChannelCount, plural, one {# canal vocal} other {# canale vocale}}, {categoryCount, plural, one {# categorie} other {# categorii}}, {roleCount, plural, one {# rol} other {# roluri}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# canal text} few {# canale text} othermsgid "{themeName} Copy"msgstr "Copie după {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} limitează acum căutările de șabloane. Încearcă din nou peste o clipă."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Nu s-au putut încărca setările"msgid "Couldn't load the report form."msgstr "Nu am putut încărca formularul de raportare."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Nu am putut încărca automat șablonul. Deschide linkul de mai jos în browser, apoi copiază întregul răspuns JSON și lipește-l în casetă."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Nu s-a putut încărca această aplicație"@@ -33897,6 +33912,11 @@ msgstr "A treia opțiune"msgid "Third party"msgstr "Terță parte"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Acest șablon de la {theOtherPlatform} nu a putut fi citit. S-ar putea să folosească un format pe care Fluxer nu îl suportă încă."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Nu am putut găsi o achiziție recentă de rambursat în acest cont."msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Nu am putut găsi un abonament activ pentru acest cont. Reîmprospătează și încearcă din nou."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Nu am putut găsi șablonul respectiv de la {theOtherPlatform}. Verifică linkul și încearcă din nou."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/ru/messages.po b/fluxer_app/src/features/i18n/locales/ru/messages.poindex 294cb491f..62e59afa8 100644--- a/fluxer_app/src/features/i18n/locales/ru/messages.po+++ b/fluxer_app/src/features/i18n/locales/ru/messages.po@@ -2129,6 +2129,11 @@ msgstr "Экран пользователя {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} секунд"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# текстовый канал} other {# текстовых каналов}}, {forumChannelCount, plural, one {# форумный канал} other {# форумных каналов}}, {voiceChannelCount, plural, one {# голосовой канал} other {# голосовых каналов}}, {categoryCount, plural, one {# категория} other {# категорий}}, {roleCount, plural, one {# роль} other {# ролей}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# текстовый канал} few {#msgid "{themeName} Copy"msgstr "{themeName} (копия)"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} временно ограничивает поиск шаблонов. Попробуйте снова через мгновение."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Не удалось загрузить настройки"msgid "Couldn't load the report form."msgstr "Не удалось загрузить форму жалобы."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Не удалось автоматически загрузить шаблон. Откройте ссылку ниже в браузере, затем скопируйте весь JSON-ответ и вставьте его в поле."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Не удалось загрузить это приложение"@@ -33897,6 +33912,11 @@ msgstr "Третий вариант"msgid "Third party"msgstr "Сторонние"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Этот шаблон от {theOtherPlatform} не удалось прочитать. Возможно, он использует формат, который Fluxer пока не поддерживает."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Нам не удалось найти недавнюю покупку дmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Нам не удалось найти активную подписку на этом аккаунте. Обновите страницу и попробуйте ещё раз."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Мы не смогли найти этот шаблон {theOtherPlatform}. Проверьте ссылку и попробуйте снова."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po b/fluxer_app/src/features/i18n/locales/sv-SE/messages.poindex 0617e5ea0..051df3a89 100644--- a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po+++ b/fluxer_app/src/features/i18n/locales/sv-SE/messages.po@@ -2129,6 +2129,11 @@ msgstr "Skärmen för {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} sekunder"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# textkanal} other {# textkanaler}}, {forumChannelCount, plural, one {# forumkanal} other {# forumkanaler}}, {voiceChannelCount, plural, one {# röstkanal} other {# röstkanaler}}, {categoryCount, plural, one {# kategori} other {# kategorier}}, {roleCount, plural, one {# roll} other {# roller}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# textkanal} other {# textkanaler}}, {vomsgid "{themeName} Copy"msgstr "{themeName} kopia"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} begränsar mallhämtningar just nu. Försök igen om en stund."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Kunde inte ladda inställningar"msgid "Couldn't load the report form."msgstr "Kunde inte ladda formuläret för anmälan."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Kunde inte ladda mallen automatiskt. Öppna länken nedan i webbläsaren, kopiera sedan hela JSON-svaret och klistra in det i rutan."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Det gick inte att läsa in den här applikationen"@@ -33897,6 +33912,11 @@ msgstr "Tredje alternativet"msgid "Third party"msgstr "Tredje part"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Den här mallen från {theOtherPlatform} kunde inte läsas. Den kanske använder ett format som Fluxer inte stöder än."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Vi kunde inte hitta något nyligt köp att återbetala på det här kontmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Vi hittade inget aktivt abonnemang på det här kontot. Uppdatera och försök igen."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Vi kunde inte hitta mallen för {theOtherPlatform}. Kontrollera länken och försök igen."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/th/messages.po b/fluxer_app/src/features/i18n/locales/th/messages.poindex 3a12febfc..6745b4160 100644--- a/fluxer_app/src/features/i18n/locales/th/messages.po+++ b/fluxer_app/src/features/i18n/locales/th/messages.po@@ -2129,6 +2129,11 @@ msgstr "หน้าจอของ {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} วินาที"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# ช่องข้อความ} other {# ช่องข้อความ}}, {forumChannelCount, plural, one {# ช่องฟอรัม} other {# ช่องฟอรัม}}, {voiceChannelCount, plural, one {# ช่องเสียง} other {# ช่องเสียง}}, {categoryCount, plural, one {# หมวดหมู่} other {# หมวดหมู่}}, {roleCount, plural, one {# บทบาท} other {# บทบาท}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, other {ช่องข้อความ #msgid "{themeName} Copy"msgstr "{themeName} (สำเนา)"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} กำลังจำกัดการค้นหาเทมเพลตในขณะนี้ โปรดลองอีกครั้งในอีกสักครู่"+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "ไม่สามารถโหลดการตั้งค่าไmsgid "Couldn't load the report form."msgstr "ไม่สามารถโหลดแบบฟอร์มรายงานได้"+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "ไม่สามารถโหลดเทมเพลตได้โดยอัตโนมัติ เปิดลิงก์ด้านล่างในเบราว์เซอร์ของคุณ จากนั้นคัดลอกการตอบสนอง JSON ทั้งหมดแล้ววางลงในช่อง"+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "ไม่สามารถโหลดแอปพลิเคชันนี้ได้"@@ -33897,6 +33912,11 @@ msgstr "ตัวเลือกที่ 3"msgid "Third party"msgstr "บุคคลภายนอก"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "เทมเพลต {theOtherPlatform} นี้ไม่สามารถอ่านได้ อาจใช้รูปแบบที่ Fluxer ยังไม่รองรับ"+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "เราไม่พบการซื้อล่าสุดที่msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "เราไม่พบการสมัครสมาชิกที่ใช้งานอยู่สำหรับบัญชีนี้ โปรดรีเฟรชแล้วลองอีกครั้ง"+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "เราไม่พบเทมเพลต {theOtherPlatform} นั้น โปรดตรวจสอบลิงก์แล้วลองอีกครั้ง"+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/tr/messages.po b/fluxer_app/src/features/i18n/locales/tr/messages.poindex 1ddfa0bec..4ed6253f1 100644--- a/fluxer_app/src/features/i18n/locales/tr/messages.po+++ b/fluxer_app/src/features/i18n/locales/tr/messages.po@@ -2129,6 +2129,11 @@ msgstr "{streamerDisplayName} adlı kullanıcının ekranı"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} saniye"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# metin kanalı} other {# metin kanalı}}, {forumChannelCount, plural, one {# forum kanalı} other {# forum kanalı}}, {voiceChannelCount, plural, one {# sesli kanal} other {# sesli kanal}}, {categoryCount, plural, one {# kategori} other {# kategori}}, {roleCount, plural, one {# rol} other {# rol}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# metin kanalı} other {# metin kanalı}msgid "{themeName} Copy"msgstr "{themeName} kopyası"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} şu anda şablon aramalarını sınırlıyor. Bir süre sonra tekrar deneyin."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Ayarlar yüklenemedi"msgid "Couldn't load the report form."msgstr "Rapor formu yüklenemedi."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Şablon otomatik olarak yüklenemedi. Aşağıdaki bağlantıyı tarayıcınızda açın, ardından tüm JSON yanıtını kopyalayıp kutuya yapıştırın."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Bu uygulama yüklenemedi"@@ -33897,6 +33912,11 @@ msgstr "Üçüncü seçenek"msgid "Third party"msgstr "Üçüncü taraf"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Bu {theOtherPlatform} şablonu okunamadı. Fluxer'ın henüz desteklemediği bir biçim kullanıyor olabilir."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Bu hesapta iade edilecek yakın tarihli bir satın alma işlemi bulamadmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Bu hesapta etkin bir abonelik bulamadık. Yenileyip tekrar deneyin."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "{theOtherPlatform} şablonunu bulamadık. Bağlantıyı kontrol edip tekrar deneyin."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/uk/messages.po b/fluxer_app/src/features/i18n/locales/uk/messages.poindex 8483de166..c0a024c0d 100644--- a/fluxer_app/src/features/i18n/locales/uk/messages.po+++ b/fluxer_app/src/features/i18n/locales/uk/messages.po@@ -2129,6 +2129,11 @@ msgstr "Екран {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} секунд"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# текстовий канал} few {# текстові канали} many {# текстових каналів} other {# текстових каналів}}, {forumChannelCount, plural, one {# форумний канал} few {# форумні канали} many {# форумних каналів} other {# форумних каналів}}, {voiceChannelCount, plural, one {# голосовий канал} few {# голосові канали} many {# голосових каналів} other {# голосових каналів}}, {categoryCount, plural, one {# категорія} few {# категорії} many {# категорій} other {# категорій}}, {roleCount, plural, one {# роль} few {# ролі} many {# ролей} other {# ролей}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, one {# текстовий канал} few {#msgid "{themeName} Copy"msgstr "Копія {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} тимчасово обмежує пошук шаблонів. Спробуйте ще раз за мить."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Не вдалося завантажити налаштування"msgid "Couldn't load the report form."msgstr "Не вдалося завантажити форму скарги."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Не вдалося автоматично завантажити шаблон. Відкрийте посилання нижче у браузері, скопіюйте всю відповідь JSON і вставте її в поле."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Не вдалося завантажити цей застосунок"@@ -33897,6 +33912,11 @@ msgstr "Третій варіант"msgid "Third party"msgstr "Сторонні"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Цей шаблон від {theOtherPlatform} не вдалося прочитати. Можливо, він використовує формат, який Fluxer ще не підтримує."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "На цьому обліковому записі не знайденоmsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "На цьому обліковому записі не знайдено активної підписки. Оновіть сторінку та спробуйте ще раз."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Ми не змогли знайти цей шаблон {theOtherPlatform}. Перевірте посилання та спробуйте ще раз."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/vi/messages.po b/fluxer_app/src/features/i18n/locales/vi/messages.poindex b893134ef..2d88611ab 100644--- a/fluxer_app/src/features/i18n/locales/vi/messages.po+++ b/fluxer_app/src/features/i18n/locales/vi/messages.po@@ -2129,6 +2129,11 @@ msgstr "Màn hình của {streamerDisplayName}"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} giây"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# kênh văn bản} other {# kênh văn bản}}, {forumChannelCount, plural, one {# kênh diễn đàn} other {# kênh diễn đàn}}, {voiceChannelCount, plural, one {# kênh thoại} other {# kênh thoại}}, {categoryCount, plural, one {# danh mục} other {# danh mục}}, {roleCount, plural, one {# vai trò} other {# vai trò}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, other {# kênh văn bản}}, {voiceChannelCoumsgid "{themeName} Copy"msgstr "Bản sao của {themeName}"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} hiện đang giới hạn việc tra cứu mẫu. Vui lòng thử lại sau."+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "Không thể tải cài đặt"msgid "Couldn't load the report form."msgstr "Không thể tải biểu mẫu báo cáo."+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "Không thể tự động tải mẫu. Hãy mở liên kết bên dưới trong trình duyệt của bạn, sau đó sao chép toàn bộ phản hồi JSON và dán vào ô."+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "Không thể tải ứng dụng này"@@ -33897,6 +33912,11 @@ msgstr "Tùy chọn thứ ba"msgid "Third party"msgstr "Bên thứ ba"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "Mẫu {theOtherPlatform} này không thể đọc được. Có thể mẫu này sử dụng định dạng mà Fluxer chưa hỗ trợ."+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "Chúng tôi không tìm thấy giao dịch mua gần đây nào để homsgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "Chúng tôi không tìm thấy gói đăng ký đang hoạt động nào trên tài khoản này. Vui lòng làm mới và thử lại."+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "Chúng tôi không tìm thấy mẫu {theOtherPlatform} đó. Vui lòng kiểm tra lại liên kết và thử lại."+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po b/fluxer_app/src/features/i18n/locales/zh-CN/messages.poindex 839a30545..b343608d1 100644--- a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po+++ b/fluxer_app/src/features/i18n/locales/zh-CN/messages.po@@ -2129,6 +2129,11 @@ msgstr "{streamerDisplayName}的屏幕"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} 秒"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# 个文本频道} other {# 个文本频道}}, {forumChannelCount, plural, one {# 个论坛频道} other {# 个论坛频道}}, {voiceChannelCount, plural, one {# 个语音频道} other {# 个语音频道}}, {categoryCount, plural, one {# 个频道分类} other {# 个频道分类}}, {roleCount, plural, one {# 个角色} other {# 个角色}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, other {# 个文字频道}},{voiceChannelCoumsgid "{themeName} Copy"msgstr "{themeName} 副本"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} 目前正在限制模板查找。请稍后重试。"+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "无法加载设置"msgid "Couldn't load the report form."msgstr "无法加载举报表单。"+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "无法自动加载模板。请在浏览器中打开下面的链接,然后复制整个 JSON 响应并粘贴到框中。"+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "无法加载此应用"@@ -33897,6 +33912,11 @@ msgstr "第三个选项"msgid "Third party"msgstr "第三方"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "此 {theOtherPlatform} 模板无法读取。它可能使用了 Fluxer 尚不支持的格式。"+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "我们没有在此账号中找到可退款的近期购买记录。"msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "我们没有在此账号中找到有效的订阅。请刷新后重试。"+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "我们找不到该 {theOtherPlatform} 模板。请检查链接后重试。"+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po b/fluxer_app/src/features/i18n/locales/zh-TW/messages.poindex 4d6c6b956..0e953f608 100644--- a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po+++ b/fluxer_app/src/features/i18n/locales/zh-TW/messages.po@@ -2129,6 +2129,11 @@ msgstr "{streamerDisplayName}的螢幕"msgid "{tenSeconds} seconds"msgstr "{tenSeconds} 秒"+#. Template preview summary listing how many text channels, forum channels, voice channels, categories, and roles will be imported. Used when the template has at least one forum or media channel.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {forumChannelCount, plural, one {# forum channel} other {# forum channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"+msgstr "{textChannelCount, plural, one {# 文字頻道} other {# 文字頻道}}, {forumChannelCount, plural, one {# 論壇頻道} other {# 論壇頻道}}, {voiceChannelCount, plural, one {# 語音頻道} other {# 語音頻道}}, {categoryCount, plural, one {# 類別} other {# 類別}}, {roleCount, plural, one {# 角色} other {# 角色}}"+#. Template preview summary listing how many text channels, voice channels, categories, and roles will be imported.#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsxmsgid "{textChannelCount, plural, one {# text channel} other {# text channels}}, {voiceChannelCount, plural, one {# voice channel} other {# voice channels}}, {categoryCount, plural, one {# category} other {# categories}}, {roleCount, plural, one {# role} other {# roles}}"@@ -2139,6 +2144,11 @@ msgstr "{textChannelCount, plural, other {# 個文字頻道}}、{voiceChannelCoumsgid "{themeName} Copy"msgstr "{themeName} 副本"+#. Error in the import-template form when the third-party platform named by {theOtherPlatform} temporarily refused the desktop app template lookup because of too many requests.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "{theOtherPlatform} is limiting template lookups right now. Try again in a moment."+msgstr "{theOtherPlatform} 目前正在限制範本查詢。請稍後再試。"+#. Time window preset label shown as a standalone duration in option lists. The number is interpolated.#: src/features/app/config/TimeWindowPresets.tsmsgid "{thirtyMinutes} minutes"@@ -10204,6 +10214,11 @@ msgstr "無法載入設定"msgid "Couldn't load the report form."msgstr "無法載入檢舉表單。"+#. Instructions in the desktop app import-template flow shown when looking up the template directly failed, so the user has to fetch the JSON in a browser and paste it instead. "JSON" must not be translated.+#: src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx+msgid "Couldn't load the template automatically. Open the link below in your browser, then copy the entire JSON response and paste it into the box."+msgstr "無法自動載入範本。請在瀏覽器中開啟下方的連結,然後複製整個 JSON 回應並貼到方塊中。"+#: src/features/user/components/modals/tabs/applications_tab/ApplicationDetail.tsxmsgid "Couldn't load this application"msgstr "無法載入此應用程式"@@ -33897,6 +33912,11 @@ msgstr "第三個選項"msgid "Third party"msgstr "第三方"+#. Error in the import-template form when the desktop app loaded the template from the third-party platform named by {theOtherPlatform} but its contents were not in the expected shape.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "This {theOtherPlatform} template couldn't be read. It may use a format Fluxer doesn't support yet."+msgstr "這個 {theOtherPlatform} 範本無法讀取。它可能使用了 Fluxer 尚未支援的格式。"+#. Body of the block-user error modal when the target is a system account that cannot be blocked.#: src/features/relationship/components/alerts/RelationshipErrorModalUtils.tsxmsgid "This account can't be blocked."@@ -38482,6 +38502,11 @@ msgstr "我們找不到此帳號近期有可退款的購買項目。"msgid "We couldn't find an active subscription on this account. Refresh and try again."msgstr "我們找不到此帳號的有效訂閱。請重新整理並再試一次。"+#. Error in the import-template form when the desktop app looked up the template and the third-party platform named by {theOtherPlatform} said it does not exist or has expired.+#: src/features/guild/components/modals/add_guild_modal/shared.ts+msgid "We couldn't find that {theOtherPlatform} template. Check the link and try again."+msgstr "找不到該 {theOtherPlatform} 範本。請檢查連結後再試一次。"+#. Error message in the message forward failed modal.#: src/features/messaging/components/modals/ForwardModal.tsxmsgid "We couldn't forward the message at this time."diff --git a/fluxer_app/src/types/electron.d.ts b/fluxer_app/src/types/electron.d.tsindex c1d3880a3..7e43a758d 100644--- a/fluxer_app/src/types/electron.d.ts+++ b/fluxer_app/src/types/electron.d.ts@@ -59,6 +59,7 @@ import type {DesktopLegacyHarvest} from '@fluxer/desktop_ipc/src/LegacyHarvestCoimport type {DesktopLocalAppUploadProgress} from '@fluxer/desktop_ipc/src/LocalAppRouteContract';import type {DesktopRuntimeConfigAPI} from '@fluxer/desktop_ipc/src/LocalAppRuntimeContract';import type {DesktopModuleAPI, DesktopUpdateAPI} from '@fluxer/desktop_ipc/src/ModuleContract';+import type {OtherPlatformTemplateAPI} from '@fluxer/desktop_ipc/src/OtherPlatformTemplateContract';import type {DesktopStorageAPI} from '@fluxer/desktop_ipc/src/StorageContract';import type {VoiceEngineV2BridgeHardwareEncoderApi} from '@fluxer/voice_engine_v2/bridge';import type {AuthenticationResponseJSON, RegistrationResponseJSON} from '@simplewebauthn/browser';@@ -370,6 +371,7 @@ export interface ElectronAPI {desktopStorage?: DesktopStorageAPI;desktopKnownInstances?: DesktopKnownInstanceStorageAPI;desktopHandoff?: DesktopHandoffAPI;+ otherPlatformTemplate?: OtherPlatformTemplateAPI;voiceEngine?: VoiceEngineV2BridgeHardwareEncoderApi;desktopRuntimeConfig?: DesktopRuntimeConfigAPI;desktopLegacyHarvest?: DesktopLegacyHarvestAPI;diff --git a/fluxer_desktop/src/common/Types.ts b/fluxer_desktop/src/common/Types.tsindex 881823715..175652382 100644--- a/fluxer_desktop/src/common/Types.ts+++ b/fluxer_desktop/src/common/Types.ts@@ -59,6 +59,7 @@ import type {DesktopCapabilityManifest} from '@fluxer/desktop_ipc/src/Capabilityimport type {NativeGatewayTransportAPI} from '@fluxer/desktop_ipc/src/GatewayTransportContract';import type {DesktopKnownInstanceStorageAPI} from '@fluxer/desktop_ipc/src/KnownInstanceContract';import type {DesktopModuleAPI, DesktopUpdateAPI} from '@fluxer/desktop_ipc/src/ModuleContract';+import type {OtherPlatformTemplateAPI} from '@fluxer/desktop_ipc/src/OtherPlatformTemplateContract';import type {DesktopStorageAPI} from '@fluxer/desktop_ipc/src/StorageContract';import type {VoiceEngineV2BridgeHardwareEncoderApi} from '@fluxer/voice_engine_v2/bridge';import type {@@ -384,6 +385,7 @@ export interface ElectronAPI {desktopKnownInstances: DesktopKnownInstanceStorageAPI;desktopHandoff: DesktopHandoffAPI;nativeGatewayTransport: NativeGatewayTransportAPI;+ otherPlatformTemplate: OtherPlatformTemplateAPI;}export interface GlobalShortcutsPortalStatus {diff --git a/fluxer_desktop/src/main/IpcHandlers.ts b/fluxer_desktop/src/main/IpcHandlers.tsindex b8bfb25ed..763e3044d 100644--- a/fluxer_desktop/src/main/IpcHandlers.ts+++ b/fluxer_desktop/src/main/IpcHandlers.ts@@ -49,6 +49,10 @@ import {} from '@electron/main/NativeGatewayTransport';import {registerNotificationIpcHandlers} from '@electron/main/NotificationsIpc';import {openExternalDeduped} from '@electron/main/OpenExternal';+import {+ cleanupOtherPlatformTemplateHandlers,+ registerOtherPlatformTemplateHandlers,+} from '@electron/main/OtherPlatformTemplateIpc';import {registerPasskeyHandlers} from '@electron/main/Passkeys';import {getAppMetricsSnapshot, getDesktopInfo, getGpuInfo} from '@electron/main/PlatformInfo';import {@@ -487,6 +491,7 @@ export function registerIpcHandlers(): void {registerPasskeyHandlers();registerLinuxAppearanceHandlers();registerBrowserHandoffHandlers();+ registerOtherPlatformTemplateHandlers();}let linuxAppearanceSubscription: LinuxAppearanceSubscription | null = null;@@ -570,6 +575,7 @@ export function cleanupIpcHandlers(_options: {quitting?: boolean} = {}): void {browserHandoff?.cleanup();browserHandoff = null;setHandoffReturnLinkSink(null);+ cleanupOtherPlatformTemplateHandlers();if (linuxAppearanceSubscription) {try {linuxAppearanceSubscription.close();diff --git a/fluxer_desktop/src/main/OtherPlatformTemplateIpc.test.mjs b/fluxer_desktop/src/main/OtherPlatformTemplateIpc.test.mjsnew file mode 100644index 000000000..966d1f4a5--- /dev/null+++ b/fluxer_desktop/src/main/OtherPlatformTemplateIpc.test.mjs@@ -0,0 +1,206 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import assert from 'node:assert/strict';+import {afterEach, describe, test} from 'node:test';+import {installElectronStub, installWindowStub} from './LocalAppTestSupport.test.mjs';++installElectronStub();+installWindowStub(null);++const {DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS, OtherPlatformTemplateFetchFailure, isOtherPlatformTemplateCode} =+ await import('../../../packages/desktop_ipc/src/OtherPlatformTemplateContract.ts');+const {+ MAX_TEMPLATE_RESPONSE_BYTES,+ cleanupOtherPlatformTemplateHandlers,+ fetchOtherPlatformTemplate,+ registerOtherPlatformTemplateHandlers,+} = await import('./OtherPlatformTemplateIpc.ts');+const {createOtherPlatformTemplatePreloadAPI} = await import('../preload/OtherPlatformTemplatePreload.ts');++const TEMPLATE_BODY = {code: 'hgM48av5Q69A', name: 'Starter', serialized_source_guild: {name: 'Starter'}};++function installFetch(respond) {+ const calls = [];+ const handlers = new Map();+ installElectronStub({+ net: {+ fetch: async (url, init) => {+ calls.push({url, init});+ return respond(url, init);+ },+ },+ ipcMain: {+ handle: (channel, listener) => handlers.set(channel, listener),+ removeHandler: (channel) => handlers.delete(channel),+ },+ });+ return {calls, handlers};+}++function jsonResponse(body, init = {}) {+ return new Response(JSON.stringify(body), {+ status: 200,+ headers: {'content-type': 'application/json'},+ ...init,+ });+}++function topLevelSender() {+ const frame = {detached: false, parent: null, url: 'fluxer-app://app/'};+ return {sender: {}, senderFrame: frame};+}++function subframeSender() {+ const parent = {detached: false, parent: null, url: 'fluxer-app://app/'};+ return {sender: {}, senderFrame: {detached: false, parent, url: 'fluxer-app://app/'}};+}++afterEach(() => {+ cleanupOtherPlatformTemplateHandlers();+});++describe('template code validation', () => {+ test('accepts alphanumeric codes and rejects anything that could reshape the URL', () => {+ assert.equal(isOtherPlatformTemplateCode('hgM48av5Q69A'), true);+ assert.equal(isOtherPlatformTemplateCode('a'.repeat(64)), true);+ for (const value of [+ '',+ 'a'.repeat(65),+ 'abc/def',+ '../users/@me',+ 'abc?x=1',+ 'abc#frag',+ 'abc def',+ 'abc%2F',+ 'https://discord.new/abc',+ 42,+ null,+ undefined,+ ]) {+ assert.equal(isOtherPlatformTemplateCode(value), false, String(value));+ }+ });++ test('rejects an invalid code before any request is made', async () => {+ const {calls} = installFetch(() => jsonResponse(TEMPLATE_BODY));+ for (const code of ['abc/../x', '', 'a'.repeat(65), {code: 'abc'}]) {+ const result = await fetchOtherPlatformTemplate(code);+ assert.deepEqual(result, {+ ok: false,+ failure: OtherPlatformTemplateFetchFailure.INVALID_CODE,+ });+ }+ assert.equal(calls.length, 0);+ });+});++describe('template fetch', () => {+ test('requests only the fixed template endpoint with a generic browser user agent and no credentials', async () => {+ const {calls} = installFetch(() => jsonResponse(TEMPLATE_BODY));+ const result = await fetchOtherPlatformTemplate('hgM48av5Q69A');+ assert.deepEqual(result, {ok: true, template: TEMPLATE_BODY});+ assert.equal(calls.length, 1);+ const [{url, init}] = calls;+ assert.equal(url, 'https://discord.com/api/v10/guilds/templates/hgM48av5Q69A');+ assert.equal(init.method, 'GET');+ assert.equal(init.redirect, 'error');+ assert.equal(init.credentials, 'omit');+ const userAgent = init.headers['User-Agent'];+ assert.match(userAgent, /^Mozilla\/5\.0 \(/);+ assert.doesNotMatch(userAgent, /fluxer|electron/i);+ assert.equal(init.headers.Accept, 'application/json');+ assert.ok(init.signal instanceof AbortSignal);+ });++ test('maps a 404 to not found', async () => {+ installFetch(() => jsonResponse({message: 'Unknown Guild Template', code: 10057}, {status: 404}));+ assert.deepEqual(await fetchOtherPlatformTemplate('missing'), {+ ok: false,+ failure: OtherPlatformTemplateFetchFailure.NOT_FOUND,+ });+ });++ test('maps a 429 to rate limited', async () => {+ installFetch(() =>+ jsonResponse({message: 'You are being rate limited.'}, {status: 429, headers: {'retry-after': '2.4'}}),+ );+ assert.deepEqual(await fetchOtherPlatformTemplate('busy'), {+ ok: false,+ failure: OtherPlatformTemplateFetchFailure.RATE_LIMITED,+ });+ });++ test('maps server errors and transport failures to network', async () => {+ installFetch(() => new Response('oops', {status: 503}));+ assert.equal((await fetchOtherPlatformTemplate('abc')).failure, OtherPlatformTemplateFetchFailure.NETWORK);+ installFetch(() => {+ throw new TypeError('net::ERR_INTERNET_DISCONNECTED');+ });+ assert.equal((await fetchOtherPlatformTemplate('abc')).failure, OtherPlatformTemplateFetchFailure.NETWORK);+ installFetch(() => {+ throw new TypeError('redirect mode is set to error');+ });+ assert.equal((await fetchOtherPlatformTemplate('abc')).failure, OtherPlatformTemplateFetchFailure.NETWORK);+ });++ test('maps unreadable, non-object and oversized bodies to invalid response', async () => {+ installFetch(() => new Response('<html>not json</html>', {status: 200}));+ assert.equal((await fetchOtherPlatformTemplate('abc')).failure, OtherPlatformTemplateFetchFailure.INVALID_RESPONSE);+ installFetch(() => jsonResponse([TEMPLATE_BODY]));+ assert.equal((await fetchOtherPlatformTemplate('abc')).failure, OtherPlatformTemplateFetchFailure.INVALID_RESPONSE);+ installFetch(+ () => new Response('x', {status: 200, headers: {'content-length': String(MAX_TEMPLATE_RESPONSE_BYTES + 1)}}),+ );+ assert.equal((await fetchOtherPlatformTemplate('abc')).failure, OtherPlatformTemplateFetchFailure.INVALID_RESPONSE);+ const chunk = new Uint8Array(1024 * 1024).fill(0x20);+ let sent = 0;+ const stream = new ReadableStream({+ pull(controller) {+ if (sent > MAX_TEMPLATE_RESPONSE_BYTES) {+ controller.close();+ return;+ }+ sent += chunk.byteLength;+ controller.enqueue(chunk);+ },+ });+ installFetch(() => new Response(stream, {status: 200}));+ assert.equal((await fetchOtherPlatformTemplate('abc')).failure, OtherPlatformTemplateFetchFailure.INVALID_RESPONSE);+ assert.ok(sent <= MAX_TEMPLATE_RESPONSE_BYTES + chunk.byteLength);+ });+});++describe('template IPC', () => {+ test('the preload call reaches the registered handler for a trusted top-level document', async () => {+ const {handlers} = installFetch(() => jsonResponse(TEMPLATE_BODY));+ registerOtherPlatformTemplateHandlers();+ const handler = handlers.get(DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS.fetch);+ assert.equal(typeof handler, 'function');+ const api = createOtherPlatformTemplatePreloadAPI({+ invoke: (channel, ...args) => handlers.get(channel)(topLevelSender(), ...args),+ });+ assert.deepEqual(await api.otherPlatformTemplate.fetch('hgM48av5Q69A'), {ok: true, template: TEMPLATE_BODY});+ });++ test('refuses subframes and detached frames without fetching', async () => {+ const {calls, handlers} = installFetch(() => jsonResponse(TEMPLATE_BODY));+ registerOtherPlatformTemplateHandlers();+ const handler = handlers.get(DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS.fetch);+ assert.throws(() => handler(subframeSender(), 'hgM48av5Q69A'), /trusted top-level renderer document/);+ const detached = topLevelSender();+ detached.senderFrame.detached = true;+ assert.throws(() => handler(detached, 'hgM48av5Q69A'), /trusted top-level renderer document/);+ assert.throws(+ () => handler({sender: {}, senderFrame: null}, 'hgM48av5Q69A'),+ /trusted top-level renderer document/,+ );+ assert.equal(calls.length, 0);+ });++ test('cleanup removes the handler', () => {+ const {handlers} = installFetch(() => jsonResponse(TEMPLATE_BODY));+ registerOtherPlatformTemplateHandlers();+ cleanupOtherPlatformTemplateHandlers();+ assert.equal(handlers.has(DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS.fetch), false);+ });+});diff --git a/fluxer_desktop/src/main/OtherPlatformTemplateIpc.ts b/fluxer_desktop/src/main/OtherPlatformTemplateIpc.tsnew file mode 100644index 000000000..c41da6a0a--- /dev/null+++ b/fluxer_desktop/src/main/OtherPlatformTemplateIpc.ts@@ -0,0 +1,145 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {createChildLogger} from '@electron/common/Logger';+import {requirePrivilegedRendererDocumentSender} from '@electron/main/PrivilegedRendererDocuments';+import {+ DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS,+ isOtherPlatformTemplateCode,+ type OtherPlatformTemplateFetchError,+ OtherPlatformTemplateFetchFailure,+ type OtherPlatformTemplateFetchResult,+} from '@fluxer/desktop_ipc/src/OtherPlatformTemplateContract';+import {isRecord} from '@fluxer/record_utils/src/RecordGuards';+import {ipcMain, net} from 'electron';++const logger = createChildLogger('OtherPlatformTemplate');++const TEMPLATE_ENDPOINT_ORIGIN = 'https://discord.com';+const TEMPLATE_ENDPOINT_PATH = '/api/v10/guilds/templates/';+const FETCH_TIMEOUT_MS = 15_000;+export const MAX_TEMPLATE_RESPONSE_BYTES = 4 * 1024 * 1024;++let handlersRegistered = false;++class ResponseTooLargeError extends Error {+ public constructor() {+ super('Template response exceeded the size cap');+ this.name = 'ResponseTooLargeError';+ }+}++function browserPlatformToken(): string {+ switch (process.platform) {+ case 'darwin':+ return 'Macintosh; Intel Mac OS X 10_15_7';+ case 'win32':+ return 'Windows NT 10.0; Win64; x64';+ default:+ return 'X11; Linux x86_64';+ }+}++export function genericBrowserUserAgent(): string {+ const chromeMajor = Number.parseInt(process.versions.chrome ?? '', 10);+ const version = Number.isFinite(chromeMajor) && chromeMajor > 0 ? chromeMajor : 140;+ return `Mozilla/5.0 (${browserPlatformToken()}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${version}.0.0.0 Safari/537.36`;+}++export function otherPlatformTemplateUrl(code: string): string {+ return `${TEMPLATE_ENDPOINT_ORIGIN}${TEMPLATE_ENDPOINT_PATH}${code}`;+}++function failure(kind: OtherPlatformTemplateFetchError['failure']) {+ return {ok: false, failure: kind} satisfies OtherPlatformTemplateFetchError;+}++async function readBoundedText(response: Response): Promise<string> {+ const declaredLength = Number.parseInt(response.headers.get('content-length') ?? '', 10);+ if (Number.isFinite(declaredLength) && declaredLength > MAX_TEMPLATE_RESPONSE_BYTES) {+ throw new ResponseTooLargeError();+ }+ if (response.body === null) return '';+ const reader = response.body.getReader();+ const chunks: Array<Uint8Array> = [];+ let received = 0;+ try {+ for (;;) {+ const {done, value} = await reader.read();+ if (done) break;+ received += value.byteLength;+ if (received > MAX_TEMPLATE_RESPONSE_BYTES) {+ throw new ResponseTooLargeError();+ }+ chunks.push(value);+ }+ } finally {+ reader.cancel().catch(() => undefined);+ }+ return Buffer.concat(chunks).toString('utf8');+}++export async function fetchOtherPlatformTemplate(code: unknown): Promise<OtherPlatformTemplateFetchResult> {+ if (!isOtherPlatformTemplateCode(code)) {+ return failure(OtherPlatformTemplateFetchFailure.INVALID_CODE);+ }+ const controller = new AbortController();+ const timeout = setTimeout(() => controller.abort(), FETCH_TIMEOUT_MS);+ try {+ const response = await net.fetch(otherPlatformTemplateUrl(code), {+ method: 'GET',+ headers: {+ Accept: 'application/json',+ 'User-Agent': genericBrowserUserAgent(),+ },+ cache: 'no-store',+ credentials: 'omit',+ redirect: 'error',+ signal: controller.signal,+ bypassCustomProtocolHandlers: true,+ });+ if (response.status === 404) {+ return failure(OtherPlatformTemplateFetchFailure.NOT_FOUND);+ }+ if (response.status === 429) {+ return failure(OtherPlatformTemplateFetchFailure.RATE_LIMITED);+ }+ if (!response.ok) {+ logger.warn('Template endpoint answered with an unexpected status', {status: response.status});+ return failure(OtherPlatformTemplateFetchFailure.NETWORK);+ }+ let template: unknown;+ try {+ template = JSON.parse(await readBoundedText(response));+ } catch (error) {+ if (controller.signal.aborted) {+ throw error;+ }+ logger.warn('Template endpoint returned an unreadable body', error);+ return failure(OtherPlatformTemplateFetchFailure.INVALID_RESPONSE);+ }+ if (!isRecord(template)) {+ return failure(OtherPlatformTemplateFetchFailure.INVALID_RESPONSE);+ }+ return {ok: true, template};+ } catch (error) {+ logger.warn('Template fetch failed', error);+ return failure(OtherPlatformTemplateFetchFailure.NETWORK);+ } finally {+ clearTimeout(timeout);+ }+}++export function registerOtherPlatformTemplateHandlers(): void {+ if (handlersRegistered) return;+ handlersRegistered = true;+ ipcMain.handle(DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS.fetch, (event, code: unknown) => {+ requirePrivilegedRendererDocumentSender(event, DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS.fetch);+ return fetchOtherPlatformTemplate(code);+ });+}++export function cleanupOtherPlatformTemplateHandlers(): void {+ if (!handlersRegistered) return;+ handlersRegistered = false;+ ipcMain.removeHandler(DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS.fetch);+}diff --git a/fluxer_desktop/src/preload/OtherPlatformTemplatePreload.ts b/fluxer_desktop/src/preload/OtherPlatformTemplatePreload.tsnew file mode 100644index 000000000..7e161f0c7--- /dev/null+++ b/fluxer_desktop/src/preload/OtherPlatformTemplatePreload.ts@@ -0,0 +1,29 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import type {+ OtherPlatformTemplateAPI,+ OtherPlatformTemplateFetchResult,+} from '@fluxer/desktop_ipc/src/OtherPlatformTemplateContract';+import {DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS} from '@fluxer/desktop_ipc/src/OtherPlatformTemplateContract';++interface OtherPlatformTemplateInvoker {+ invoke: (channel: string, ...args: Array<unknown>) => Promise<unknown>;+}++interface OtherPlatformTemplatePreloadAPI {+ readonly otherPlatformTemplate: OtherPlatformTemplateAPI;+}++export function createOtherPlatformTemplatePreloadAPI(+ renderer: OtherPlatformTemplateInvoker,+): OtherPlatformTemplatePreloadAPI {+ return Object.freeze({+ otherPlatformTemplate: Object.freeze<OtherPlatformTemplateAPI>({+ fetch: (code: string) =>+ renderer.invoke(+ DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS.fetch,+ code,+ ) as Promise<OtherPlatformTemplateFetchResult>,+ }),+ });+}diff --git a/fluxer_desktop/src/preload/index.ts b/fluxer_desktop/src/preload/index.tsindex 8852ca33e..96b58fca9 100644--- a/fluxer_desktop/src/preload/index.ts+++ b/fluxer_desktop/src/preload/index.ts@@ -65,6 +65,7 @@ import {createFirstContentPaintSignal} from '@electron/preload/FirstContentPaintimport {applyLegacyRawLocalStorage} from '@electron/preload/LegacyRawStorageSeed';import {createLocalAppPreloadAPI} from '@electron/preload/LocalAppPreload';import {createNativeGatewayPreloadAPI} from '@electron/preload/NativeGatewayPreload';+import {createOtherPlatformTemplatePreloadAPI} from '@electron/preload/OtherPlatformTemplatePreload';import type {DesktopCapabilityManifest} from '@fluxer/desktop_ipc/src/CapabilityManifest';import {DESKTOP_CAPABILITY_MANIFEST_CHANNEL} from '@fluxer/desktop_ipc/src/CapabilityManifest';import {DESKTOP_LAST_ROUTE_CHANNEL} from '@fluxer/desktop_ipc/src/LastRouteContract';@@ -403,6 +404,7 @@ const api: ElectronAPI = {...createLocalAppPreloadAPI(ipcRenderer),...createBrowserHandoffPreloadAPI(ipcRenderer),...createNativeGatewayPreloadAPI(ipcRenderer),+ ...createOtherPlatformTemplatePreloadAPI(ipcRenderer),reportLastRoute: (routePath: string): void => {ipcRenderer.send(DESKTOP_LAST_ROUTE_CHANNEL, routePath);},diff --git a/packages/desktop_ipc/src/OtherPlatformTemplateContract.ts b/packages/desktop_ipc/src/OtherPlatformTemplateContract.tsnew file mode 100644index 000000000..093f80e87--- /dev/null+++ b/packages/desktop_ipc/src/OtherPlatformTemplateContract.ts@@ -0,0 +1,38 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++export const DESKTOP_OTHER_PLATFORM_TEMPLATE_CHANNELS = Object.freeze({+ fetch: 'desktop-other-platform-template:fetch',+} as const);++const OTHER_PLATFORM_TEMPLATE_CODE_PATTERN = /^[A-Za-z0-9]{1,64}$/;++export function isOtherPlatformTemplateCode(value: unknown): value is string {+ return typeof value === 'string' && OTHER_PLATFORM_TEMPLATE_CODE_PATTERN.test(value);+}++export const OtherPlatformTemplateFetchFailure = Object.freeze({+ INVALID_CODE: 'invalid_code',+ NOT_FOUND: 'not_found',+ RATE_LIMITED: 'rate_limited',+ NETWORK: 'network',+ INVALID_RESPONSE: 'invalid_response',+} as const);++export type OtherPlatformTemplateFetchFailure =+ (typeof OtherPlatformTemplateFetchFailure)[keyof typeof OtherPlatformTemplateFetchFailure];++export interface OtherPlatformTemplateFetchSuccess {+ readonly ok: true;+ readonly template: Readonly<Record<string, unknown>>;+}++export interface OtherPlatformTemplateFetchError {+ readonly ok: false;+ readonly failure: OtherPlatformTemplateFetchFailure;+}++export type OtherPlatformTemplateFetchResult = OtherPlatformTemplateFetchSuccess | OtherPlatformTemplateFetchError;++export interface OtherPlatformTemplateAPI {+ fetch: (code: string) => Promise<OtherPlatformTemplateFetchResult>;+}diff --git a/packages/schema/src/domains/guild/GuildTemplateSchemas.ts b/packages/schema/src/domains/guild/GuildTemplateSchemas.tsindex e7494673a..8d13afb95 100644--- a/packages/schema/src/domains/guild/GuildTemplateSchemas.ts+++ b/packages/schema/src/domains/guild/GuildTemplateSchemas.ts@@ -3,7 +3,6 @@import {CHANNEL_RATE_LIMIT_PER_USER_MAX,CHANNEL_RATE_LIMIT_PER_USER_MIN,- CHANNEL_TOPIC_MAX_LENGTH,VOICE_CHANNEL_CONNECTION_LIMIT_MAX,VOICE_CHANNEL_CONNECTION_LIMIT_MIN,VOICE_CHANNEL_USER_LIMIT_MIN,@@ -13,13 +12,8 @@ import {z} from 'zod';const TEMPLATE_NAME_MAX_LENGTH = 100;const TEMPLATE_TOPIC_MAX_LENGTH = 4096;--function clipTopic(value: string): string {- if (value.length <= CHANNEL_TOPIC_MAX_LENGTH) return value;- const last = value.charCodeAt(CHANNEL_TOPIC_MAX_LENGTH - 1);- const end = last >= 0xd800 && last <= 0xdbff ? CHANNEL_TOPIC_MAX_LENGTH - 1 : CHANNEL_TOPIC_MAX_LENGTH;- return value.slice(0, end);-}+const TEMPLATE_FORUM_TAGS_MAX = 100;+const TEMPLATE_EMOJI_NAME_MAX_LENGTH = 64;const TemplateEntityId = z.union([@@ -42,6 +36,17 @@ const TemplateOverwriteType = z}).pipe(z.number()).describe('The type of overwrite (0/role = role, 1/member = member)');+const TemplateEmojiReference = z.union([z.string().max(64), z.number().int().nonnegative()]);+const TemplateForumTag = z.object({+ name: z.string().max(TEMPLATE_NAME_MAX_LENGTH).describe('The name of the tag'),+ moderated: z.boolean().nullish().describe('Whether only moderators can apply the tag'),+ emoji_id: TemplateEmojiReference.nullish().describe('A custom emoji reference, ignored on import'),+ emoji_name: z.string().max(TEMPLATE_EMOJI_NAME_MAX_LENGTH).nullish().describe('The unicode emoji of the tag'),+});+const TemplateReactionEmoji = z.object({+ emoji_id: TemplateEmojiReference.nullish().describe('A custom emoji reference, ignored on import'),+ emoji_name: z.string().max(TEMPLATE_EMOJI_NAME_MAX_LENGTH).nullish().describe('The unicode emoji'),+});const TemplatePermissionOverwrite = z.object({id: TemplateEntityId.describe('The ID of the role or user for this overwrite'),type: TemplateOverwriteType,@@ -51,7 +56,11 @@ const TemplatePermissionOverwrite = z.object({export const TemplateChannel = z.object({id: TemplateEntityId.describe('The template-local channel ID'),- type: z.number().describe('The channel type (0 = text, 2 = voice, 4 = category)'),+ type: z+ .number()+ .describe(+ 'The channel type (0 = text, 2 = voice, 4 = category, 5 = announcement, 13 = stage, 15 = forum, 16 = media)',+ ),name: z.string().max(TEMPLATE_NAME_MAX_LENGTH)@@ -61,9 +70,8 @@ export const TemplateChannel = z.object({topic: z.string().max(TEMPLATE_TOPIC_MAX_LENGTH)- .transform(clipTopic).nullish()- .describe('The channel topic, shortened to the Fluxer channel topic limit'),+ .describe('The channel topic or forum guidelines, shortened to the limit for the channel type'),position: Int32Type.describe('The position of the channel'),parent_id: TemplateEntityId.nullish().describe('The template-local ID of the parent category'),bitrate: z.number().int().nonnegative().nullish().describe('The bitrate for voice channels'),@@ -80,18 +88,38 @@ export const TemplateChannel = z.object({.max(VOICE_CHANNEL_CONNECTION_LIMIT_MAX).nullish().describe('The per-user voice connection limit for voice channels'),- nsfw: z.boolean().optional().describe('Whether the channel is NSFW'),+ nsfw: z.boolean().nullish().describe('Whether the channel is NSFW'),rate_limit_per_user: z.number().int().min(CHANNEL_RATE_LIMIT_PER_USER_MIN).max(CHANNEL_RATE_LIMIT_PER_USER_MAX)- .optional()+ .nullish().describe('Slowmode rate limit in seconds'),permission_overwrites: z.array(TemplatePermissionOverwrite)- .optional()+ .nullish().describe('Permission overwrites for this channel'),+ available_tags: z+ .array(TemplateForumTag)+ .max(TEMPLATE_FORUM_TAGS_MAX)+ .nullish()+ .describe('Tags for forum and media channels'),+ default_reaction_emoji: TemplateReactionEmoji.nullish().describe('Default reaction for forum and media posts'),+ default_sort_order: z.number().int().nullish().describe('Default post sort order for forum and media channels'),+ default_forum_layout: z.number().int().nullish().describe('Default layout for forum channels'),+ default_tag_setting: z.string().max(32).nullish().describe('How posts are filtered by several tags'),+ default_thread_rate_limit_per_user: z+ .number()+ .int()+ .nullish()+ .describe('Slowmode in seconds copied onto new threads'),+ default_auto_archive_duration: z+ .number()+ .int()+ .nullish()+ .describe('Default auto archive duration in minutes for new threads'),+ flags: z.number().int().nullish().describe('Channel flags'),});export type TemplateChannel = z.infer<typeof TemplateChannel>;