A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
feat: user and guild badges (#3080)
Renn7b860f7dd62f
diff --git a/fluxer_admin/openapi-admin.json b/fluxer_admin/openapi-admin.jsonindex d02fad234..a32423c90 100644--- a/fluxer_admin/openapi-admin.json+++ b/fluxer_admin/openapi-admin.json@@ -1146,6 +1146,237 @@]}},+ "/admin/badges": {+ "get": {+ "operationId": "list_admin_badges",+ "summary": "List custom badges",+ "tags": ["Admin"],+ "responses": {+ "200": {+ "description": "Success",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdminCustomBadgeListResponse"}}}+ },+ "400": {+ "description": "Bad Request - The request was malformed or contained invalid data",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "401": {+ "description": "Unauthorized - Authentication is required or the token is invalid",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "403": {+ "description": "Forbidden - You do not have permission to perform this action",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "429": {+ "description": "Too Many Requests - You are being rate limited",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ThrottledError"}}},+ "headers": {+ "Retry-After": {+ "description": "Number of seconds to wait before retrying (only on 429)",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Limit": {+ "description": "The number of requests that can be made in the current window",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Remaining": {+ "description": "The number of remaining requests that can be made",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Reset": {+ "description": "Unix timestamp when the rate limit resets",+ "schema": {"type": "integer"}+ }+ }+ },+ "500": {+ "description": "Internal Server Error - An unexpected error occurred",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ }+ },+ "description": "Lists the user and guild badges defined on this instance, in display order. Requires BADGE_LIST permission.",+ "security": [{"adminApiKey": []}]+ },+ "post": {+ "operationId": "create_admin_badge",+ "summary": "Create custom badge",+ "tags": ["Admin"],+ "responses": {+ "200": {+ "description": "Success",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdminCustomBadgeResponse"}}}+ },+ "400": {+ "description": "Bad Request - The request was malformed or contained invalid data",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "401": {+ "description": "Unauthorized - Authentication is required or the token is invalid",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "403": {+ "description": "Forbidden - You do not have permission to perform this action",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "429": {+ "description": "Too Many Requests - You are being rate limited",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ThrottledError"}}},+ "headers": {+ "Retry-After": {+ "description": "Number of seconds to wait before retrying (only on 429)",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Limit": {+ "description": "The number of requests that can be made in the current window",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Remaining": {+ "description": "The number of remaining requests that can be made",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Reset": {+ "description": "Unix timestamp when the rate limit resets",+ "schema": {"type": "integer"}+ }+ }+ },+ "500": {+ "description": "Internal Server Error - An unexpected error occurred",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ }+ },+ "description": "Creates a user or guild badge and uploads its image to the media proxy. Each type has at most 10 badges. Creates audit log entry. Requires BADGE_CREATE permission.",+ "security": [{"adminApiKey": []}],+ "requestBody": {+ "required": true,+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/CreateCustomBadgeRequest"}}}+ }+ }+ },+ "/admin/badges/{badge_id}": {+ "patch": {+ "operationId": "update_admin_badge",+ "summary": "Update custom badge",+ "tags": ["Admin"],+ "responses": {+ "200": {+ "description": "Success",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdminCustomBadgeResponse"}}}+ },+ "400": {+ "description": "Bad Request - The request was malformed or contained invalid data",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "401": {+ "description": "Unauthorized - Authentication is required or the token is invalid",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "403": {+ "description": "Forbidden - You do not have permission to perform this action",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "429": {+ "description": "Too Many Requests - You are being rate limited",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ThrottledError"}}},+ "headers": {+ "Retry-After": {+ "description": "Number of seconds to wait before retrying (only on 429)",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Limit": {+ "description": "The number of requests that can be made in the current window",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Remaining": {+ "description": "The number of remaining requests that can be made",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Reset": {+ "description": "Unix timestamp when the rate limit resets",+ "schema": {"type": "integer"}+ }+ }+ },+ "500": {+ "description": "Internal Server Error - An unexpected error occurred",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ }+ },+ "description": "Replaces the name, description and link of a badge, and its image when one is sent. The type cannot change. Creates audit log entry. Requires BADGE_UPDATE permission.",+ "security": [{"adminApiKey": []}],+ "parameters": [+ {+ "name": "badge_id",+ "in": "path",+ "required": true,+ "schema": {"description": "The ID of the badge", "allOf": [{"$ref": "#/components/schemas/SnowflakeType"}]},+ "description": "The ID of the badge"+ }+ ],+ "requestBody": {+ "required": true,+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UpdateCustomBadgeRequest"}}}+ }+ },+ "delete": {+ "operationId": "delete_admin_badge",+ "summary": "Delete custom badge",+ "tags": ["Admin"],+ "responses": {+ "204": {"description": "No Content"},+ "400": {+ "description": "Bad Request - The request was malformed or contained invalid data",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "401": {+ "description": "Unauthorized - Authentication is required or the token is invalid",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "403": {+ "description": "Forbidden - You do not have permission to perform this action",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "429": {+ "description": "Too Many Requests - You are being rate limited",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ThrottledError"}}},+ "headers": {+ "Retry-After": {+ "description": "Number of seconds to wait before retrying (only on 429)",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Limit": {+ "description": "The number of requests that can be made in the current window",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Remaining": {+ "description": "The number of remaining requests that can be made",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Reset": {+ "description": "Unix timestamp when the rate limit resets",+ "schema": {"type": "integer"}+ }+ }+ },+ "500": {+ "description": "Internal Server Error - An unexpected error occurred",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ }+ },+ "description": "Deletes a badge and its image. Users and guilds it was assigned to stop showing it. Creates audit log entry. Requires BADGE_DELETE permission.",+ "security": [{"adminApiKey": []}],+ "parameters": [+ {+ "name": "badge_id",+ "in": "path",+ "required": true,+ "schema": {"description": "The ID of the badge", "allOf": [{"$ref": "#/components/schemas/SnowflakeType"}]},+ "description": "The ID of the badge"+ }+ ]+ }+ },"/admin/blocklists": {"get": {"operationId": "list_admin_blocklist_types",@@ -3412,7 +3643,7 @@"content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}},- "description": "Partially updates a guild. The permissions required are selected by the fields present in the body and are evaluated with all-of semantics: name requires GUILD_UPDATE_NAME, vanity_url_code requires GUILD_UPDATE_VANITY, new_owner_id requires GUILD_TRANSFER_OWNERSHIP, add_features and remove_features require GUILD_UPDATE_FEATURES, and fields together with every other setting requires GUILD_UPDATE_SETTINGS. A body with no fields applies no change. Every applied change is logged to the audit log.",+ "description": "Partially updates a guild. The permissions required are selected by the fields present in the body and are evaluated with all-of semantics: name requires GUILD_UPDATE_NAME, vanity_url_code requires GUILD_UPDATE_VANITY, new_owner_id requires GUILD_TRANSFER_OWNERSHIP, add_features and remove_features require GUILD_UPDATE_FEATURES, badge_ids requires GUILD_UPDATE_BADGES, and fields together with every other setting requires GUILD_UPDATE_SETTINGS. A body with no fields applies no change. Every applied change is logged to the audit log.","security": [{"adminApiKey": []}],"parameters": [{@@ -8074,6 +8305,72 @@}}},+ "/admin/users/{user_id}/badges": {+ "patch": {+ "operationId": "update_admin_user_badges",+ "summary": "Update user custom badges",+ "tags": ["Admin"],+ "responses": {+ "200": {+ "description": "Success",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UserMutationResponse"}}}+ },+ "400": {+ "description": "Bad Request - The request was malformed or contained invalid data",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "401": {+ "description": "Unauthorized - Authentication is required or the token is invalid",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "403": {+ "description": "Forbidden - You do not have permission to perform this action",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ },+ "429": {+ "description": "Too Many Requests - You are being rate limited",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ThrottledError"}}},+ "headers": {+ "Retry-After": {+ "description": "Number of seconds to wait before retrying (only on 429)",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Limit": {+ "description": "The number of requests that can be made in the current window",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Remaining": {+ "description": "The number of remaining requests that can be made",+ "schema": {"type": "integer"}+ },+ "X-RateLimit-Reset": {+ "description": "Unix timestamp when the rate limit resets",+ "schema": {"type": "integer"}+ }+ }+ },+ "500": {+ "description": "Internal Server Error - An unexpected error occurred",+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}+ }+ },+ "description": "Replaces the custom badges assigned to a user. Every ID must be a user badge, and a user can have at most 10. Creates audit log entry. Requires USER_UPDATE_BADGES permission.",+ "security": [{"adminApiKey": []}],+ "parameters": [+ {+ "name": "user_id",+ "in": "path",+ "required": true,+ "schema": {"description": "The ID of the user", "allOf": [{"$ref": "#/components/schemas/SnowflakeType"}]},+ "description": "The ID of the user"+ }+ ],+ "requestBody": {+ "required": true,+ "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UpdateUserCustomBadgesRequest"}}}+ }+ }+ },"/admin/users/{user_id}/ban": {"put": {"operationId": "ban_admin_user",@@ -13890,6 +14187,11 @@},"required": ["duration_hours", "decision"]},+ "UpdateUserCustomBadgesRequest": {+ "type": "object",+ "properties": {"badge_ids": {"allOf": [{"$ref": "#/components/schemas/CustomBadgeIdsType"}]}},+ "required": ["badge_ids"]+ },"BanUserAvatarRequest": {"type": "object","properties": {"reason": {"type": "string"}, "notes": {"type": "string"}}@@ -13958,7 +14260,7 @@"type": "object","properties": {"acls": {- "maxItems": 110,+ "maxItems": 116,"type": "array","items": {"$ref": "#/components/schemas/AdminAclType"},"description": "List of access control permissions to assign"@@ -14029,6 +14331,10 @@"admin:authenticate","jobs:view","jobs:cancel",+ "badge:create",+ "badge:delete",+ "badge:list",+ "badge:update","ban:email:add","ban:email:check","ban:email:remove",@@ -14075,6 +14381,7 @@"guild:reload","guild:shutdown","guild:transfer_ownership",+ "guild:update:badges","guild:update:features","guild:update:name","guild:update:settings",@@ -14109,6 +14416,7 @@"user:view:email","user:view:ip","user:temp_ban",+ "user:update:badges","user:update:bot_status","user:update:dob","user:update:email",@@ -17184,6 +17492,7 @@"type": "array","items": {"allOf": [{"$ref": "#/components/schemas/GuildFeatureSchema"}]}},+ "badge_ids": {"allOf": [{"$ref": "#/components/schemas/CustomBadgeIdsType"}]},"fields": {"maxItems": 10,"type": "array",@@ -17252,6 +17561,7 @@"type": "array","items": {"type": "string", "minLength": 1, "maxLength": 256}},+ "badge_ids": {"allOf": [{"$ref": "#/components/schemas/CustomBadgeIdListResponse"}]},"verification_level": {"allOf": [{"$ref": "#/components/schemas/GuildVerificationLevel"}]},"mfa_level": {"allOf": [{"$ref": "#/components/schemas/GuildMFALevel"}]},"nsfw_level": {"allOf": [{"$ref": "#/components/schemas/NSFWLevel"}]},@@ -17323,6 +17633,7 @@"splash","embed_splash","features",+ "badge_ids","verification_level","mfa_level","nsfw_level",@@ -18510,6 +18821,76 @@"required": ["items"],"additionalProperties": false},+ "UpdateCustomBadgeRequest": {+ "type": "object",+ "properties": {+ "name": {"description": "The name of the badge", "type": "string"},+ "description": {+ "nullable": true,+ "description": "Text shown under the name when hovering over the badge, or null",+ "type": "string"+ },+ "href": {+ "nullable": true,+ "description": "Absolute https URL opened when the badge is clicked",+ "type": "string"+ },+ "image": {+ "description": "A new image as a base64 data URL. Leave it out to keep the current one",+ "type": "string",+ "maxLength": 16000000+ }+ },+ "required": ["name", "description", "href"]+ },+ "AdminCustomBadgeResponse": {+ "type": "object",+ "properties": {+ "id": {"description": "The ID of the badge", "allOf": [{"$ref": "#/components/schemas/SnowflakeStringType"}]},+ "type": {"allOf": [{"$ref": "#/components/schemas/CustomBadgeTypeSchema"}]},+ "name": {"type": "string", "description": "The name of the badge"},+ "description": {+ "nullable": true,+ "description": "Text shown under the name when hovering over the badge, or null",+ "type": "string"+ },+ "asset_url": {"type": "string", "description": "URL of the badge image, served as WebP by the media proxy"},+ "href": {"nullable": true, "description": "URL opened when the badge is clicked, or null", "type": "string"}+ },+ "required": ["id", "type", "name", "description", "asset_url", "href"],+ "additionalProperties": false+ },+ "CreateCustomBadgeRequest": {+ "type": "object",+ "properties": {+ "type": {"allOf": [{"$ref": "#/components/schemas/CustomBadgeTypeSchema"}]},+ "name": {"description": "The name of the badge", "type": "string"},+ "description": {"description": "Text shown when hovering over the badge", "nullable": true, "type": "string"},+ "href": {+ "nullable": true,+ "description": "Absolute https URL opened when the badge is clicked",+ "type": "string"+ },+ "image": {+ "type": "string",+ "maxLength": 16000000,+ "description": "The badge image as a base64 data URL. PNG, JPEG, GIF, WebP and SVG images are accepted"+ }+ },+ "required": ["type", "name", "image"]+ },+ "AdminCustomBadgeListResponse": {+ "type": "object",+ "properties": {+ "badges": {+ "type": "array",+ "items": {"$ref": "#/components/schemas/AdminCustomBadgeResponse"},+ "description": "Badges defined on this instance, in display order"+ }+ },+ "required": ["badges"],+ "additionalProperties": false+ },"AdminAuditLogResponseSchema": {"type": "object","properties": {@@ -18777,7 +19158,7 @@},"acls": {"description": "Replacement list of access control permissions for the key",- "maxItems": 110,+ "maxItems": 116,"type": "array","items": {"$ref": "#/components/schemas/AdminAclType"}}@@ -18795,7 +19176,7 @@"type": "string"},"acls": {- "maxItems": 110,+ "maxItems": 116,"type": "array","items": {"type": "string"},"description": "List of access control permissions for the key"@@ -18825,7 +19206,7 @@"maximum": 365},"acls": {- "maxItems": 110,+ "maxItems": 116,"type": "array","items": {"$ref": "#/components/schemas/AdminAclType"},"description": "List of access control permissions for the key"@@ -18846,7 +19227,7 @@"type": "string"},"acls": {- "maxItems": 110,+ "maxItems": 116,"type": "array","items": {"type": "string"},"description": "List of access control permissions for the key"@@ -18859,7 +19240,7 @@"type": "object","properties": {"acls": {- "maxItems": 110,+ "maxItems": 116,"type": "array","items": {"type": "string", "minLength": 1, "maxLength": 64},"description": "Every admin access control permission the admin API recognises"@@ -19018,6 +19399,16 @@"Personal notes DM channel"]},+ "CustomBadgeTypeSchema": {+ "description": "Where the badge is shown",+ "x-enumNames": ["User", "Guild"],+ "x-enumDescriptions": [+ "Shown on the profiles of the users it is assigned to",+ "Shown next to the names of the communities it is assigned to"+ ],+ "enum": ["user", "guild"],+ "type": "string"+ },"BanProfileSubstringRequest": {"type": "object","properties": {@@ -19357,11 +19748,6 @@"description": "User has dismissed premium onboarding"},{"name": "APP_STORE_REVIEWER", "value": "9007199254740992", "description": "User is an app store reviewer"},- {- "name": "STAFF_HIDDEN",- "value": "144115188075855872",- "description": "User staff status is hidden from public flags"- },{"name": "AGE_VERIFIED_ADULT","value": "1152921504606846976",@@ -21299,6 +21685,18 @@"Member of the server for more than 10 minutes"]},+ "CustomBadgeIdListResponse": {+ "maxItems": 10,+ "type": "array",+ "items": {"$ref": "#/components/schemas/SnowflakeStringType"},+ "description": "IDs of the custom badges assigned to it"+ },+ "CustomBadgeIdsType": {+ "maxItems": 10,+ "type": "array",+ "items": {"$ref": "#/components/schemas/SnowflakeType"},+ "description": "IDs of the badges to assign, replacing the current ones"+ },"GuildOperations": {"type": "integer","minimum": 0,@@ -23176,8 +23574,9 @@"description": "The enforcement decision behind the current suspension or closure, null when none owns it","allOf": [{"$ref": "#/components/schemas/SnowflakeStringType"}]},- "acls": {"maxItems": 110, "type": "array", "items": {"type": "string"}},+ "acls": {"maxItems": 116, "type": "array", "items": {"type": "string"}},"traits": {"maxItems": 100, "type": "array", "items": {"type": "string"}},+ "badge_ids": {"allOf": [{"$ref": "#/components/schemas/CustomBadgeIdListResponse"}]},"has_totp": {"type": "boolean"},"has_password": {"type": "boolean", "description": "Whether the account has a password"},"claimed": {"type": "boolean", "description": "Whether the account can be signed in to from another device"},@@ -23228,6 +23627,7 @@"enforcement_decision_id","acls","traits",+ "badge_ids","has_totp","has_password","claimed",@@ -23300,9 +23700,13 @@"AdminProfileBadgeResponse": {"type": "object","properties": {+ "key": {+ "type": "string",+ "description": "Stable identity of the badge. It equals kind for built-in badges and is custom:{id} for custom badges, so use it as the list key"+ },"kind": {"type": "string",- "description": "Stable badge key. Known values: staff, partner, bug_hunter, operator_pass, visionary, visionary_number, plutonium, and premium on self-hosted instances. Clients must render unknown values from the other fields."+ "description": "Badge type. Known values: staff, partner, bug_hunter, operator_pass, visionary, visionary_number, plutonium, custom, and premium on self-hosted instances. Clients must render unknown values from the other fields."},"label": {"type": "string",@@ -23310,9 +23714,14 @@},"asset": {"nullable": true,- "description": "Badge image hash. The image is served at {static_cdn}/badges/{asset}.webp. Null for text badges",+ "description": "Badge image hash. The image is served at {static_cdn}/badges/{asset}.webp. Null for text badges and for badges with asset_url","allOf": [{"$ref": "#/components/schemas/HexString16Type"}]},+ "asset_url": {+ "nullable": true,+ "description": "Absolute image URL for a badge whose image is not a static badge hash, such as a custom badge. Null otherwise",+ "type": "string"+ },"small_asset": {"description": "Image hash drawn for 20 pixels and smaller, served like asset. Use it instead of asset at those sizes. Absent when asset reads well small","allOf": [{"$ref": "#/components/schemas/HexString16Type"}]@@ -23362,7 +23771,7 @@"description": "True when the public profile does not show this badge, because of a privacy setting or account state"}},- "required": ["kind", "label", "asset", "aspect_ratio", "caption", "href", "suppressed"],+ "required": ["key", "kind", "label", "asset", "asset_url", "aspect_ratio", "caption", "href", "suppressed"],"additionalProperties": false},"PremiumFlags": {@@ -23373,27 +23782,16 @@"format": "int32","x-bitflagValues": [{"name": "DISCRIMINATOR", "value": "1", "description": "User has a premium discriminator"},- {"name": "BADGE_HIDDEN", "value": "2", "description": "User has hidden their premium badge"},{"name": "BADGE_MASKED", "value": "4", "description": "User has masked their premium badge"},{"name": "BADGE_TIMESTAMP_HIDDEN","value": "8","description": "User has hidden their premium badge timestamp"},- {- "name": "BADGE_SEQUENCE_HIDDEN",- "value": "16",- "description": "User has hidden their premium badge sequence"- },{"name": "PERKS_SANITIZED", "value": "32", "description": "User premium perks are sanitized"},{"name": "PURCHASE_DISABLED", "value": "64", "description": "Premium purchase is disabled for this user"},{"name": "ENABLED_OVERRIDE", "value": "128", "description": "Premium status is enabled via override"},{"name": "PERKS_DISABLED", "value": "256", "description": "User has temporarily disabled premium perks"},- {- "name": "OPERATOR_PASS_BADGE_HIDDEN",- "value": "512",- "description": "User has chosen to hide their Operator Pass badge"- },{"name": "OPERATOR_PASS_BADGE_TIMESTAMP_HIDDEN","value": "2048",@@ -24530,6 +24928,7 @@"IP_BAN_DECLINED","IP_BAN_LINKED_TO_DECISION","MAX_APPLICATIONS",+ "MAX_BADGES","MAX_BOOKMARKS","MAX_ACTIVE_THREADS","MAX_CATEGORY_CHANNELS",@@ -24677,6 +25076,7 @@"UNCLAIMED_ACCOUNT_CANNOT_SEND_FRIEND_REQUESTS","UNCLAIMED_ACCOUNT_CANNOT_SEND_MESSAGES","UNCLAIMED_ACCOUNT_CANNOT_SUBMIT_REPORTS",+ "UNKNOWN_BADGE","UNKNOWN_CHANNEL","UNKNOWN_EMOJI","UNKNOWN_ENFORCEMENT_DECISION",@@ -24892,6 +25292,7 @@"This IP address cannot be added to the blocklist.","This network block belongs to an enforcement decision. End the decision to remove it.","You've reached the maximum of {limit, plural, one {# application} other {# applications}}.",+ "You've reached the maximum of {count, plural, one {# badge} other {# badges}} for this type.","You've reached the maximum of {count, plural, one {# bookmark} other {# bookmarks}}.","This community has reached its active thread limit of {count}.","You've reached the maximum of {count, plural, one {# category channel} other {# category channels}}.",@@ -25039,6 +25440,7 @@"Claim your account to send friend requests.","Claim your account to send messages.","Claim your account to submit reports.",+ "Badge wasn't found.","Channel wasn't found.","Unknown emoji.","Unknown enforcement decision.",diff --git a/fluxer_admin/src/acl.rs b/fluxer_admin/src/acl.rsindex e3c32abd2..d3d68dddd 100644--- a/fluxer_admin/src/acl.rs+++ b/fluxer_admin/src/acl.rs@@ -14,6 +14,10 @@ pub const AUDIT_LOG_VIEW: &str = "audit_log:view";pub const AUTHENTICATE: &str = "admin:authenticate";pub const JOBS_VIEW: &str = "jobs:view";pub const JOBS_CANCEL: &str = "jobs:cancel";+pub const BADGE_CREATE: &str = "badge:create";+pub const BADGE_DELETE: &str = "badge:delete";+pub const BADGE_LIST: &str = "badge:list";+pub const BADGE_UPDATE: &str = "badge:update";pub const BAN_EMAIL_ADD: &str = "ban:email:add";pub const BAN_EMAIL_CHECK: &str = "ban:email:check";pub const BAN_EMAIL_REMOVE: &str = "ban:email:remove";@@ -60,6 +64,7 @@ pub const GUILD_LOOKUP: &str = "guild:lookup";pub const GUILD_RELOAD: &str = "guild:reload";pub const GUILD_SHUTDOWN: &str = "guild:shutdown";pub const GUILD_TRANSFER_OWNERSHIP: &str = "guild:transfer_ownership";+pub const GUILD_UPDATE_BADGES: &str = "guild:update:badges";pub const GUILD_UPDATE_FEATURES: &str = "guild:update:features";pub const GUILD_UPDATE_NAME: &str = "guild:update:name";pub const GUILD_UPDATE_SETTINGS: &str = "guild:update:settings";@@ -94,6 +99,7 @@ pub const USER_VIEW_DOB: &str = "user:view:dob";pub const USER_VIEW_EMAIL: &str = "user:view:email";pub const USER_VIEW_IP: &str = "user:view:ip";pub const USER_TEMP_BAN: &str = "user:temp_ban";+pub const USER_UPDATE_BADGES: &str = "user:update:badges";pub const USER_UPDATE_BOT_STATUS: &str = "user:update:bot_status";pub const USER_UPDATE_DOB: &str = "user:update:dob";pub const USER_UPDATE_EMAIL: &str = "user:update:email";@@ -125,6 +131,10 @@ pub const ALL_ACLS: &[&str] = &[AUTHENTICATE,JOBS_VIEW,JOBS_CANCEL,+ BADGE_CREATE,+ BADGE_DELETE,+ BADGE_LIST,+ BADGE_UPDATE,BAN_EMAIL_ADD,BAN_EMAIL_CHECK,BAN_EMAIL_REMOVE,@@ -171,6 +181,7 @@ pub const ALL_ACLS: &[&str] = &[GUILD_RELOAD,GUILD_SHUTDOWN,GUILD_TRANSFER_OWNERSHIP,+ GUILD_UPDATE_BADGES,GUILD_UPDATE_FEATURES,GUILD_UPDATE_NAME,GUILD_UPDATE_SETTINGS,@@ -205,6 +216,7 @@ pub const ALL_ACLS: &[&str] = &[USER_VIEW_EMAIL,USER_VIEW_IP,USER_TEMP_BAN,+ USER_UPDATE_BADGES,USER_UPDATE_BOT_STATUS,USER_UPDATE_DOB,USER_UPDATE_EMAIL,diff --git a/fluxer_admin/src/admin_flags.rs b/fluxer_admin/src/admin_flags.rsindex b7c1a2313..3105d85e4 100644--- a/fluxer_admin/src/admin_flags.rs+++ b/fluxer_admin/src/admin_flags.rs@@ -32,7 +32,6 @@ pub mod user_flag_bits {pub const ACCOUNT_LIMITED: u64 = 1 << 50;pub const HAS_DISMISSED_PREMIUM_ONBOARDING: u64 = 1 << 51;pub const APP_STORE_REVIEWER: u64 = 1 << 53;- pub const STAFF_HIDDEN: u64 = 1 << 57;pub const AGE_VERIFIED_ADULT: u64 = 1 << 60;pub const LIMIT_EXEMPT: u64 = 1 << 62;}@@ -128,11 +127,6 @@ pub const USER_FLAGS: &[U64Flag] = &[value: user_flag_bits::APP_STORE_REVIEWER,help: "For accounts used by app store reviewers. Skips new IP checks and blocks direct messages from strangers.",},- U64Flag {- name: "STAFF_HIDDEN",- value: user_flag_bits::STAFF_HIDDEN,- help: "Hides the staff badge while keeping the staff flag.",- },U64Flag {name: "AGE_VERIFIED_ADULT",value: user_flag_bits::AGE_VERIFIED_ADULT,@@ -165,10 +159,6 @@ pub const PREMIUM_FLAGS: &[I32Flag] = &[name: "DISCRIMINATOR",value: 1 << 0,},- I32Flag {- name: "BADGE_HIDDEN",- value: 1 << 1,- },I32Flag {name: "BADGE_MASKED",value: 1 << 2,@@ -177,10 +167,6 @@ pub const PREMIUM_FLAGS: &[I32Flag] = &[name: "BADGE_TIMESTAMP_HIDDEN",value: 1 << 3,},- I32Flag {- name: "BADGE_SEQUENCE_HIDDEN",- value: 1 << 4,- },I32Flag {name: "PERKS_SANITIZED",value: 1 << 5,@@ -197,10 +183,6 @@ pub const PREMIUM_FLAGS: &[I32Flag] = &[name: "PERKS_DISABLED",value: 1 << 8,},- I32Flag {- name: "OPERATOR_PASS_BADGE_HIDDEN",- value: 1 << 9,- },I32Flag {name: "OPERATOR_PASS_BADGE_TIMESTAMP_HIDDEN",value: 1 << 11,diff --git a/fluxer_admin/src/api/badges.rs b/fluxer_admin/src/api/badges.rsnew file mode 100644index 000000000..6c38e0097--- /dev/null+++ b/fluxer_admin/src/api/badges.rs@@ -0,0 +1,111 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++use crate::api::generated::{snowflake, types as generated_types};++use super::client::{AdminApiClient, ApiError, ApiResult};+use super::types::{+ AdminCustomBadge, AdminCustomBadgeList, AdminUser, CustomBadgeFields, CustomBadgeType,+ UserMutationResponse,+};++fn badge_ids(ids: &[String]) -> generated_types::CustomBadgeIdsType {+ generated_types::CustomBadgeIdsType(ids.iter().map(|id| snowflake(id)).collect())+}++fn parse_error(error: impl std::fmt::Display) -> ApiError {+ ApiError::Parse(error.to_string())+}++impl AdminApiClient {+ pub async fn list_badges(&self) -> ApiResult<AdminCustomBadgeList> {+ let response = self+ .generated()+ .list_admin_badges()+ .await+ .map_err(|e| self.generated_error(e))?;+ self.generated_value(response.into_inner())+ }++ pub async fn create_badge(+ &self,+ badge_type: CustomBadgeType,+ fields: CustomBadgeFields,+ ) -> ApiResult<AdminCustomBadge> {+ let image = fields+ .image+ .ok_or_else(|| ApiError::Parse("Choose an image to upload".to_owned()))?;+ let body = generated_types::CreateCustomBadgeRequest {+ type_: match badge_type {+ CustomBadgeType::User => generated_types::CustomBadgeTypeSchema::User,+ CustomBadgeType::Guild => generated_types::CustomBadgeTypeSchema::Guild,+ },+ name: fields.name,+ description: fields.description,+ href: fields.href,+ image: image.as_str().try_into().map_err(parse_error)?,+ };+ let response = self+ .generated()+ .create_admin_badge(&body)+ .await+ .map_err(|e| self.generated_error(e))?;+ self.generated_value(response.into_inner())+ }++ pub async fn update_badge(+ &self,+ badge_id: &str,+ fields: CustomBadgeFields,+ ) -> ApiResult<AdminCustomBadge> {+ let body = generated_types::UpdateCustomBadgeRequest {+ name: fields.name,+ description: fields.description,+ href: fields.href,+ image: fields+ .image+ .as_deref()+ .map(TryInto::try_into)+ .transpose()+ .map_err(parse_error)?,+ };+ let response = self+ .generated()+ .update_admin_badge(&snowflake(badge_id), &body)+ .await+ .map_err(|e| self.generated_error(e))?;+ self.generated_value(response.into_inner())+ }++ pub async fn delete_badge(&self, badge_id: &str) -> ApiResult<()> {+ self.generated()+ .delete_admin_badge(&snowflake(badge_id))+ .await+ .map_err(|e| self.generated_error(e))?;+ Ok(())+ }++ pub async fn update_user_badges(&self, user_id: &str, ids: &[String]) -> ApiResult<AdminUser> {+ let body = generated_types::UpdateUserCustomBadgesRequest {+ badge_ids: badge_ids(ids),+ };+ let response = self+ .generated()+ .update_admin_user_badges(&snowflake(user_id), &body)+ .await+ .map_err(|e| self.generated_error(e))?;+ let resp: UserMutationResponse = self.generated_value(response.into_inner())?;+ Ok(resp.user)+ }++ pub async fn update_guild_badges(&self, guild_id: &str, ids: &[String]) -> ApiResult<()> {+ let body = generated_types::UpdateGuildRequest {+ badge_ids: Some(badge_ids(ids)),+ ..Default::default()+ };+ self.generated()+ .update_admin_guild(&snowflake(guild_id), &body)+ .await+ .map_err(|e| self.generated_error(e))?;+ Ok(())+ }+}diff --git a/fluxer_admin/src/api/mod.rs b/fluxer_admin/src/api/mod.rsindex eb07f81f5..ba8ff7a12 100644--- a/fluxer_admin/src/api/mod.rs+++ b/fluxer_admin/src/api/mod.rs@@ -7,6 +7,7 @@ pub mod applications;pub mod archives;pub mod assets;pub mod audit;+pub mod badges;pub mod bans;pub mod bulk;pub mod client;diff --git a/fluxer_admin/src/api/types/badges.rs b/fluxer_admin/src/api/types/badges.rsnew file mode 100644index 000000000..bccf2a959--- /dev/null+++ b/fluxer_admin/src/api/types/badges.rs@@ -0,0 +1,74 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++use serde::{Deserialize, Serialize};++pub const BADGE_IMAGE_MAX_BYTES: usize = 10 * 1024 * 1024;++pub const BADGE_IMAGE_TYPES: &[&str] = &[+ "image/png",+ "image/jpeg",+ "image/gif",+ "image/webp",+ "image/svg+xml",+];++#[derive(Clone, Copy, Debug, Deserialize, Eq, PartialEq, Serialize)]+#[serde(rename_all = "lowercase")]+pub enum CustomBadgeType {+ User,+ Guild,+}++impl CustomBadgeType {+ pub fn parse(value: &str) -> Option<Self> {+ match value {+ "user" => Some(Self::User),+ "guild" => Some(Self::Guild),+ _ => None,+ }+ }++ pub fn as_str(self) -> &'static str {+ match self {+ Self::User => "user",+ Self::Guild => "guild",+ }+ }+}++#[derive(Clone, Debug, Deserialize, Serialize)]+pub struct AdminCustomBadge {+ pub id: String,+ #[serde(rename = "type")]+ pub badge_type: CustomBadgeType,+ pub name: String,+ pub description: Option<String>,+ pub asset_url: String,+ pub href: Option<String>,+}++impl AdminCustomBadge {+ pub fn image_url(&self) -> String {+ format!("{}?size=96", self.asset_url)+ }+}++#[derive(Clone, Debug, Deserialize, Serialize)]+pub struct AdminCustomBadgeList {+ pub badges: Vec<AdminCustomBadge>,+}++impl AdminCustomBadgeList {+ pub fn of_type(&self, badge_type: CustomBadgeType) -> impl Iterator<Item = &AdminCustomBadge> {+ self.badges+ .iter()+ .filter(move |badge| badge.badge_type == badge_type)+ }+}++pub struct CustomBadgeFields {+ pub name: String,+ pub description: Option<String>,+ pub href: Option<String>,+ pub image: Option<String>,+}diff --git a/fluxer_admin/src/api/types/common.rs b/fluxer_admin/src/api/types/common.rsindex dee9c7577..fdf03de29 100644--- a/fluxer_admin/src/api/types/common.rs+++ b/fluxer_admin/src/api/types/common.rs@@ -96,6 +96,8 @@ pub struct AdminUser {pub acls: Vec<String>,#[serde(default)]pub traits: Vec<String>,+ #[serde(default)]+ pub badge_ids: Vec<String>,#[serde(default, deserialize_with = "deserialize_string_or_u64")]pub flags: u64,#[serde(default)]@@ -156,6 +158,8 @@ pub struct AdminProfileBadge {pub label: String,pub asset: Option<String>,#[serde(default)]+ pub asset_url: Option<String>,+ #[serde(default)]pub small_asset: Option<String>,#[serde(default)]pub aspect_ratio: Option<f64>,@@ -201,6 +205,8 @@ pub struct GuildDetailInfo {pub embed_splash: Option<String>,#[serde(default)]pub features: Vec<String>,+ #[serde(default)]+ pub badge_ids: Vec<String>,pub verification_level: Option<i32>,pub mfa_level: Option<i32>,pub nsfw_level: Option<i32>,diff --git a/fluxer_admin/src/api/types/mod.rs b/fluxer_admin/src/api/types/mod.rsindex bf337d152..394acd355 100644--- a/fluxer_admin/src/api/types/mod.rs+++ b/fluxer_admin/src/api/types/mod.rs@@ -4,6 +4,7 @@ mod admin_api_keys;mod applications;mod archives;mod audit;+mod badges;mod bulk;mod codes;mod common;@@ -25,6 +26,7 @@ pub use admin_api_keys::*;pub use applications::*;pub use archives::*;pub use audit::*;+pub use badges::*;pub use bulk::*;pub use codes::*;pub use common::*;diff --git a/fluxer_admin/src/routes/badges.rs b/fluxer_admin/src/routes/badges.rsnew file mode 100644index 000000000..f5d010e88--- /dev/null+++ b/fluxer_admin/src/routes/badges.rs@@ -0,0 +1,181 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++use crate::{+ api::{+ client::{AdminApiClient, ApiError},+ types::{BADGE_IMAGE_MAX_BYTES, BADGE_IMAGE_TYPES, CustomBadgeFields, CustomBadgeType},+ },+ middleware::{+ auth::AuthContext,+ csrf,+ flash::{self, FlashData},+ },+ state::AppState,+ templates,+};+use axum::{+ Router,+ extract::{DefaultBodyLimit, Multipart, Path, Request, State},+ response::{Html, IntoResponse, Response},+ routing::{get, post},+};+use base64::{Engine as _, engine::general_purpose::STANDARD};++pub fn router() -> Router<AppState> {+ Router::new()+ .route("/badges", get(badges_page).post(create_badge))+ .route("/badges/{badge_id}", post(update_badge))+ .route("/badges/{badge_id}/delete", post(delete_badge))+ .layer(DefaultBodyLimit::max(BADGE_IMAGE_MAX_BYTES + 64 * 1024))+}++async fn badges_page(+ State(state): State<AppState>,+ auth: axum::Extension<AuthContext>,+ request: Request,+) -> Response {+ let config = state.config();+ let csrf_token = csrf::get_csrf_token(&request);+ let client = AdminApiClient::new(state.http_client(), config, &auth.0.session);+ let result = client.list_badges().await;+ if let Err(error) = &result {+ tracing::warn!(%error, "admin API request failed: list badges");+ }+ let markup =+ templates::pages::badges::badges_page(config, &auth.0, result.as_ref().ok(), &csrf_token);+ Html(markup.into_string()).into_response()+}++struct BadgeForm {+ badge_type: Option<CustomBadgeType>,+ fields: CustomBadgeFields,+}++fn optional_text(value: String) -> Option<String> {+ let trimmed = value.trim();+ (!trimmed.is_empty()).then(|| trimmed.to_owned())+}++async fn read_badge_form(mut multipart: Multipart) -> Result<BadgeForm, &'static str> {+ let mut badge_type = None;+ let mut name = String::new();+ let mut description = None;+ let mut href = None;+ let mut image = None;+ while let Some(field) = multipart+ .next_field()+ .await+ .map_err(|_| "Invalid form data")?+ {+ let field_name = field.name().unwrap_or_default().to_owned();+ if field_name == "image" {+ let content_type = field.content_type().unwrap_or_default().to_owned();+ let bytes = field+ .bytes()+ .await+ .map_err(|_| "The image must be under 10 MB")?;+ if bytes.is_empty() {+ continue;+ }+ if !BADGE_IMAGE_TYPES.contains(&content_type.as_str()) {+ return Err("Choose a PNG, JPEG, GIF, WebP or SVG image");+ }+ image = Some(format!(+ "data:{content_type};base64,{}",+ STANDARD.encode(&bytes)+ ));+ continue;+ }+ let value = field.text().await.map_err(|_| "Invalid form data")?;+ match field_name.as_str() {+ "type" => badge_type = CustomBadgeType::parse(value.trim()),+ "name" => name = value.trim().to_owned(),+ "description" => description = optional_text(value),+ "href" => href = optional_text(value),+ _ => {}+ }+ }+ if name.is_empty() {+ return Err("Enter a name for the badge");+ }+ Ok(BadgeForm {+ badge_type,+ fields: CustomBadgeFields {+ name,+ description,+ href,+ image,+ },+ })+}++fn failure(action: &str, error: &ApiError) -> FlashData {+ tracing::warn!(%error, "admin API request failed: {action} badge");+ match error+ .validation_message()+ .or_else(|| error.detail_message())+ {+ Some(message) => FlashData::error(format!("Failed to {action} the badge: {message}")),+ None => FlashData::error(format!("Failed to {action} the badge")),+ }+}++async fn create_badge(+ State(state): State<AppState>,+ auth: axum::Extension<AuthContext>,+ multipart: Multipart,+) -> Response {+ let config = state.config();+ let back = format!("{}/badges", config.base_path);+ let form = match read_badge_form(multipart).await {+ Ok(form) => form,+ Err(message) => return flash::redirect_error(config, &back, message),+ };+ let Some(badge_type) = form.badge_type else {+ return flash::redirect_error(config, &back, "Choose who the badge is for");+ };+ if form.fields.image.is_none() {+ return flash::redirect_error(config, &back, "Choose an image to upload");+ }+ let client = AdminApiClient::new(state.http_client(), config, &auth.0.session);+ let flash = match client.create_badge(badge_type, form.fields).await {+ Ok(_) => FlashData::success("Badge created"),+ Err(error) => failure("create", &error),+ };+ flash::redirect_with_flash(&back, flash, config.secure_cookies())+}++async fn update_badge(+ State(state): State<AppState>,+ auth: axum::Extension<AuthContext>,+ Path(badge_id): Path<String>,+ multipart: Multipart,+) -> Response {+ let config = state.config();+ let back = format!("{}/badges", config.base_path);+ let form = match read_badge_form(multipart).await {+ Ok(form) => form,+ Err(message) => return flash::redirect_error(config, &back, message),+ };+ let client = AdminApiClient::new(state.http_client(), config, &auth.0.session);+ let flash = match client.update_badge(&badge_id, form.fields).await {+ Ok(_) => FlashData::success("Badge saved"),+ Err(error) => failure("save", &error),+ };+ flash::redirect_with_flash(&back, flash, config.secure_cookies())+}++async fn delete_badge(+ State(state): State<AppState>,+ auth: axum::Extension<AuthContext>,+ Path(badge_id): Path<String>,+) -> Response {+ let config = state.config();+ let back = format!("{}/badges", config.base_path);+ let client = AdminApiClient::new(state.http_client(), config, &auth.0.session);+ let flash = match client.delete_badge(&badge_id).await {+ Ok(()) => FlashData::success("Badge deleted"),+ Err(error) => failure("delete", &error),+ };+ flash::redirect_with_flash(&back, flash, config.secure_cookies())+}diff --git a/fluxer_admin/src/routes/guild_tabs.rs b/fluxer_admin/src/routes/guild_tabs.rsindex 3586b6f64..af201ce1c 100644--- a/fluxer_admin/src/routes/guild_tabs.rs+++ b/fluxer_admin/src/routes/guild_tabs.rs@@ -39,6 +39,29 @@ pub async fn render(.await.log_error("load guild tab guild")?;match tab {+ "badges" => {+ if !acl::has_permission(admin_acls, acl::BADGE_LIST) {+ return None;+ }+ let (detail, badges) = tokio::join!(+ async {+ client+ .lookup_guild(guild_id)+ .await+ .log_error("load guild badges")+ .flatten()+ },+ async {+ client+ .list_badges()+ .await+ .log_error("load badges for guild")+ }+ );+ Some(tabs::badges::badges_tab(+ config, &detail?, &badges?, csrf_token, admin_acls,+ ))+ }"members" => {let page = query.members_page.unwrap_or(0);let limit: u32 = 50;diff --git a/fluxer_admin/src/routes/guilds.rs b/fluxer_admin/src/routes/guilds.rsindex 3ec1bed0c..df06e560d 100644--- a/fluxer_admin/src/routes/guilds.rs+++ b/fluxer_admin/src/routes/guilds.rs@@ -261,6 +261,16 @@ async fn dispatch_guild_action("Failed to update guild features",)}+ "update_badges" => action_result(+ client+ .update_guild_badges(+ guild_id,+ &form.list_values_any(&["badge_ids[]", "badge_ids"]),+ )+ .await,+ "Guild badges updated",+ "Failed to update guild badges",+ ),"clear_fields" => {let fields = form.list_values_any(&["fields[]", "fields"]);action_result(diff --git a/fluxer_admin/src/routes/mod.rs b/fluxer_admin/src/routes/mod.rsindex a9a4840a5..540cffa8e 100644--- a/fluxer_admin/src/routes/mod.rs+++ b/fluxer_admin/src/routes/mod.rs@@ -3,6 +3,7 @@pub mod admin;pub mod applications;pub mod auth;+pub mod badges;pub mod bans;mod bans_actions;mod billing_actions;@@ -76,6 +77,7 @@ pub fn build_router(config: AdminConfig) -> Router {.merge(messages::router()).merge(system::router()).merge(voice::router())+ .merge(badges::router()).merge(admin::router()).route("/", get(dashboard)).route("/dashboard", get(dashboard))diff --git a/fluxer_admin/src/routes/user_actions.rs b/fluxer_admin/src/routes/user_actions.rsindex 79682db14..95ee82b8b 100644--- a/fluxer_admin/src/routes/user_actions.rs+++ b/fluxer_admin/src/routes/user_actions.rs@@ -64,6 +64,16 @@ pub async fn dispatch() -> DispatchOutcome {let get = |k: &str| form.clean(k);match action {+ "update_badges" => DispatchOutcome::from_result(+ client+ .update_user_badges(+ user_id,+ &form.list_values_any(&["badge_ids[]", "badge_ids"]),+ )+ .await,+ "User badges updated",+ "Failed to update user badges",+ ),"update_flags" => {if has_legacy_flag_delta_fields(form) {let add = form.list_values_any(&["add_flags[]", "add_flags"]);diff --git a/fluxer_admin/src/routes/user_tabs.rs b/fluxer_admin/src/routes/user_tabs.rsindex fd7cf2cd5..07a94b8ef 100644--- a/fluxer_admin/src/routes/user_tabs.rs+++ b/fluxer_admin/src/routes/user_tabs.rs@@ -54,17 +54,34 @@ pub async fn render(} else {None};- let limit_config = client- .get_limit_config()- .await- .log_error("load limit config for user overview");- Some(tabs::overview::overview_tab_with_limit_config(+ let (limit_config, custom_badges) = tokio::join!(+ async {+ client+ .get_limit_config()+ .await+ .log_error("load limit config for user overview")+ },+ async {+ if acl::has_permission(admin_acls, acl::BADGE_LIST) {+ client+ .list_badges()+ .await+ .log_error("load badges for user overview")+ } else {+ None+ }+ }+ );+ Some(tabs::overview::overview_tab_with_sources(config,&u,admin_acls,csrf_token,- change_log.as_ref(),- limit_config.as_ref(),+ &tabs::overview::OverviewSources {+ change_log: change_log.as_ref(),+ limit_config: limit_config.as_ref(),+ custom_badges: custom_badges.as_ref(),+ },account_identity.mode.is_username(),))}diff --git a/fluxer_admin/src/templates/components/user_profile_badges.rs b/fluxer_admin/src/templates/components/user_profile_badges.rsindex 421d0cdca..95f5fcf3c 100644--- a/fluxer_admin/src/templates/components/user_profile_badges.rs+++ b/fluxer_admin/src/templates/components/user_profile_badges.rs@@ -61,6 +61,9 @@ pub fn user_profile_badges(alt=(badge.caption.as_deref().unwrap_or(&title)) title=(title)class={(size.image_class(badge.aspect_ratio)) (opacity)}style=[badge.aspect_ratio.map(|ratio| format!("aspect-ratio: {ratio}"))];+ } @else if let Some(asset_url) = &badge.asset_url {+ img src={(asset_url) "?size=96"} alt=(title) title=(title)+ class={(size.image_class(None)) " object-contain" (opacity)};} @else if let Some(caption) = &badge.caption {span title=(title)class={(size.caption_class()) " font-bold tabular-nums text-indigo-600" (opacity)} {diff --git a/fluxer_admin/src/templates/layout_sidebar_nav.rs b/fluxer_admin/src/templates/layout_sidebar_nav.rsindex 89a7e80db..dcd51fa22 100644--- a/fluxer_admin/src/templates/layout_sidebar_nav.rs+++ b/fluxer_admin/src/templates/layout_sidebar_nav.rs@@ -249,6 +249,7 @@ pub const NAV_SECTIONS: &[NavSection] = &[acl::INSTANCE_LIMIT_CONFIG_UPDATE]),+ item!("Badges", "/badges", "badges", [acl::BADGE_LIST]),item!("Admin API Keys","/admin-api-keys",diff --git a/fluxer_admin/src/templates/pages/badges.rs b/fluxer_admin/src/templates/pages/badges.rsnew file mode 100644index 000000000..691b5cd56--- /dev/null+++ b/fluxer_admin/src/templates/pages/badges.rs@@ -0,0 +1,254 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++use crate::{+ acl,+ api::types::{+ AdminCustomBadge, AdminCustomBadgeList, BADGE_IMAGE_MAX_BYTES, BADGE_IMAGE_TYPES,+ CustomBadgeType,+ },+ config::AdminConfig,+ middleware::auth::AuthContext,+ templates::{+ components::{+ empty_state::empty_state_full,+ error_display::error_alert,+ form::{+ FORM_INPUT_CLASS, FORM_LABEL_CLASS, FORM_SELECT_CLASS, csrf_input, danger_button,+ submit_button,+ },+ page_container::{card_with_header, page_header},+ },+ layout::admin_layout,+ },+};+use maud::{Markup, html};++struct BadgePermissions {+ create: bool,+ update: bool,+ delete: bool,+}++pub fn badges_page(+ config: &AdminConfig,+ auth: &AuthContext,+ badges: Option<&AdminCustomBadgeList>,+ csrf_token: &str,+) -> Markup {+ let acls = auth.acls();+ let permissions = BadgePermissions {+ create: acl::has_permission(acls, acl::BADGE_CREATE),+ update: acl::has_permission(acls, acl::BADGE_UPDATE),+ delete: acl::has_permission(acls, acl::BADGE_DELETE),+ };+ let content = html! {+ (page_header(+ "Badges",+ Some("Badges that you give to users and guilds. Users show them on their profile, and guilds show them next to their name. You can make up to 10 badges of each type."),+ ))+ @match badges {+ None => (error_alert("Failed to load badges.")),+ Some(list) => {+ div class="space-y-6" {+ (badge_section(config, list, CustomBadgeType::User, &permissions, csrf_token))+ (badge_section(config, list, CustomBadgeType::Guild, &permissions, csrf_token))+ @if permissions.create {+ (create_form(config, csrf_token))+ }+ }+ }+ }+ };+ admin_layout(config, auth, "Badges", "badges", None, content)+}++fn section_title(badge_type: CustomBadgeType) -> &'static str {+ match badge_type {+ CustomBadgeType::User => "User badges",+ CustomBadgeType::Guild => "Guild badges",+ }+}++fn badge_section(+ config: &AdminConfig,+ list: &AdminCustomBadgeList,+ badge_type: CustomBadgeType,+ permissions: &BadgePermissions,+ csrf_token: &str,+) -> Markup {+ let badges: Vec<&AdminCustomBadge> = list.of_type(badge_type).collect();+ card_with_header(+ section_title(badge_type),+ html! {+ @if badges.is_empty() {+ (empty_state_full(None, "No badges of this type yet.", None))+ } @else {+ div class="divide-y divide-neutral-100" {+ @for badge in badges {+ (badge_row(config, badge, permissions, csrf_token))+ }+ }+ }+ },+ )+}++fn badge_row(+ config: &AdminConfig,+ badge: &AdminCustomBadge,+ permissions: &BadgePermissions,+ csrf_token: &str,+) -> Markup {+ let base = &config.base_path;+ html! {+ div class="flex flex-col gap-4 py-4 first:pt-0 last:pb-0" {+ div class="flex items-start gap-3" {+ img src=(badge.image_url()) alt=""+ class="h-10 w-10 shrink-0 rounded object-contain";+ div class="flex min-w-0 flex-col gap-1" {+ span class="font-medium text-neutral-900" { (badge.name) }+ @if let Some(description) = &badge.description {+ span class="text-sm text-neutral-600" { (description) }+ }+ @if let Some(href) = &badge.href {+ a href=(href) target="_blank" rel="noopener noreferrer"+ class="break-all text-sm text-blue-600 hover:underline" { (href) }+ }+ span class="font-mono text-neutral-500 text-xs" { (badge.id) }+ }+ }+ @if permissions.update || permissions.delete {+ div class="flex flex-wrap items-start gap-2" {+ @if permissions.update {+ details class="rounded-lg border border-neutral-200 open:basis-full" {+ summary class="cursor-pointer rounded-lg px-3 py-2 font-medium text-sm" { "Edit" }+ form method="post" enctype="multipart/form-data"+ action={(base) "/badges/" (badge.id) "?_csrf=" (csrf_token)}+ class="flex flex-col gap-3 border-neutral-200 border-t p-3" {+ (badge_fields(&badge.id, Some(badge)))+ (image_field(&badge.id, false))+ div { (submit_button("Save changes")) }+ }+ }+ }+ @if permissions.delete {+ form method="post" action={(base) "/badges/" (badge.id) "/delete"}+ onsubmit="return confirm('Delete this badge? Everyone it was given to stops showing it.')" {+ (csrf_input(csrf_token))+ (danger_button("Delete badge"))+ }+ }+ }+ }+ }+ }+}++fn badge_fields(prefix: &str, badge: Option<&AdminCustomBadge>) -> Markup {+ let name = badge.map_or("", |badge| badge.name.as_str());+ let description = badge+ .and_then(|badge| badge.description.as_deref())+ .unwrap_or("");+ let href = badge.and_then(|badge| badge.href.as_deref()).unwrap_or("");+ html! {+ label class="flex flex-col gap-1" for={"badge-" (prefix) "-name"} {+ span class=(FORM_LABEL_CLASS) { "Name" }+ input type="text" id={"badge-" (prefix) "-name"} name="name" value=(name)+ required maxlength="64" class=(FORM_INPUT_CLASS);+ }+ label class="flex flex-col gap-1" for={"badge-" (prefix) "-description"} {+ span class=(FORM_LABEL_CLASS) { "Description" }+ input type="text" id={"badge-" (prefix) "-description"} name="description"+ value=(description) maxlength="256" class=(FORM_INPUT_CLASS);+ span class="text-neutral-500 text-xs" {+ "Shown under the name when someone hovers over the badge."+ }+ }+ label class="flex flex-col gap-1" for={"badge-" (prefix) "-href"} {+ span class=(FORM_LABEL_CLASS) { "Link" }+ input type="url" id={"badge-" (prefix) "-href"} name="href" value=(href)+ placeholder="https://" class=(FORM_INPUT_CLASS);+ span class="text-neutral-500 text-xs" {+ "Opens when someone clicks the badge. It must start with https://."+ }+ }+ }+}++fn image_field(prefix: &str, required: bool) -> Markup {+ html! {+ label class="flex flex-col gap-1" for={"badge-" (prefix) "-image"} {+ span class=(FORM_LABEL_CLASS) { (if required { "Image" } else { "Replace the image" }) }+ input type="file" id={"badge-" (prefix) "-image"} name="image" accept=(BADGE_IMAGE_TYPES.join(","))+ required[required] class="text-sm"+ onchange=(format!("this.setCustomValidity(this.files[0] && this.files[0].size > {BADGE_IMAGE_MAX_BYTES} ? 'The image must be under 10 MB' : '')"));+ span class="text-neutral-500 text-xs" {+ "Use a square PNG, JPEG, GIF, WebP or SVG image of at least 128 by 128 pixels, under 10 MB. A GIF plays as an animation."+ }+ }+ }+}++fn create_form(config: &AdminConfig, csrf_token: &str) -> Markup {+ card_with_header(+ "Create a badge",+ html! {+ form method="post" enctype="multipart/form-data"+ action={(config.base_path) "/badges?_csrf=" (csrf_token)}+ class="flex flex-col gap-3" {+ label class="flex flex-col gap-1" for="badge-new-type" {+ span class=(FORM_LABEL_CLASS) { "Given to" }+ select id="badge-new-type" name="type" class=(FORM_SELECT_CLASS) {+ option value=(CustomBadgeType::User.as_str()) { "Users" }+ option value=(CustomBadgeType::Guild.as_str()) { "Guilds" }+ }+ }+ (badge_fields("new", None))+ (image_field("new", true))+ div { (submit_button("Create badge")) }+ }+ },+ )+}++pub fn custom_badge_list(badges: &[&AdminCustomBadge]) -> Markup {+ html! {+ @if badges.is_empty() {+ p class="text-sm text-neutral-500" { "No badges given." }+ } @else {+ div class="flex flex-wrap gap-3" {+ @for badge in badges {+ span class="inline-flex items-center gap-2 text-sm text-neutral-800" {+ img src=(badge.image_url()) alt="" class="h-5 w-5 object-contain";+ (badge.name)+ }+ }+ }+ }+ }+}++pub fn custom_badge_picker(badges: &[&AdminCustomBadge], assigned: &[String]) -> Markup {+ html! {+ div class="grid grid-cols-1 gap-2 sm:grid-cols-2" {+ @for badge in badges {+ label class="flex items-center gap-2 text-sm text-neutral-800" {+ input type="checkbox" name="badge_ids[]" value=(badge.id)+ checked[assigned.contains(&badge.id)]+ class="h-4 w-4 rounded border-neutral-300";+ img src=(badge.image_url()) alt="" class="h-5 w-5 object-contain";+ (badge.name)+ }+ }+ }+ }+}++pub fn no_badges_defined(config: &AdminConfig, label: &str) -> Markup {+ html! {+ p class="text-sm text-neutral-500" {+ "No " (label) " are defined yet. "+ a href={(config.base_path) "/badges"} class="text-blue-600 underline" { "Open badges" }+ }+ }+}diff --git a/fluxer_admin/src/templates/pages/guild_detail.rs b/fluxer_admin/src/templates/pages/guild_detail.rsindex ff4b96c3c..df97fc7d5 100644--- a/fluxer_admin/src/templates/pages/guild_detail.rs+++ b/fluxer_admin/src/templates/pages/guild_detail.rs@@ -22,6 +22,7 @@ pub const GUILD_TABS: &[(&str, &str)] = &[("members", "Members"),("settings", "Settings"),("features", "Features"),+ ("badges", "Badges"),("moderation", "Moderation"),("archives", "Archives"),("emojis", "Emojis"),@@ -214,6 +215,7 @@ fn guild_tab_visible(_config: &AdminConfig, tab_id: &str, admin_acls: &[String])match tab_id {"overview" | "members" | "settings" | "features" | "moderation" => true,"reports" => acl::has_permission(admin_acls, acl::REPORT_VIEW),+ "badges" => acl::has_permission(admin_acls, acl::BADGE_LIST),"emojis" | "stickers" => acl::has_permission(admin_acls, acl::ASSET_PURGE),"threads" => acl::has_permission(admin_acls, acl::GUILD_LOOKUP),"audit_logs" => acl::has_permission(admin_acls, acl::AUDIT_LOG_VIEW),diff --git a/fluxer_admin/src/templates/pages/guild_detail_tabs/badges.rs b/fluxer_admin/src/templates/pages/guild_detail_tabs/badges.rsnew file mode 100644index 000000000..1ac803337--- /dev/null+++ b/fluxer_admin/src/templates/pages/guild_detail_tabs/badges.rs@@ -0,0 +1,55 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++use crate::{+ acl,+ api::types::{AdminCustomBadgeList, CustomBadgeType, GuildDetailInfo},+ config::AdminConfig,+ templates::{+ components::{+ form::{csrf_input, form_actions, submit_button},+ page_container::card_with_header,+ },+ pages::badges::{custom_badge_list, custom_badge_picker, no_badges_defined},+ },+};+use maud::{Markup, html};++pub fn badges_tab(+ config: &AdminConfig,+ guild: &GuildDetailInfo,+ badges: &AdminCustomBadgeList,+ csrf_token: &str,+ admin_acls: &[String],+) -> Markup {+ let definitions: Vec<_> = badges.of_type(CustomBadgeType::Guild).collect();+ let assigned: Vec<_> = definitions+ .iter()+ .copied()+ .filter(|badge| guild.badge_ids.contains(&badge.id))+ .collect();+ let can_edit = acl::has_permission(admin_acls, acl::GUILD_UPDATE_BADGES);+ html! {+ div class="space-y-6" {+ (card_with_header("Badges", html! {+ p class="mb-4 text-sm text-neutral-500" {+ "Badges show next to the guild name, after its verified, partnered or discoverable badge."+ }+ @if definitions.is_empty() {+ (no_badges_defined(config, "guild badges"))+ } @else if can_edit {+ form method="post"+ action={(config.base_path) "/guilds/" (guild.id) "?action=update_badges&tab=badges"} {+ (csrf_input(csrf_token))+ div class="space-y-4" {+ (custom_badge_picker(&definitions, &guild.badge_ids))+ (form_actions(html! { (submit_button("Save badges")) }))+ }+ }+ } @else {+ (custom_badge_list(&assigned))+ p class="mt-2 text-xs text-neutral-500" { "You need the guild badges permission to change these." }+ }+ }))+ }+ }+}diff --git a/fluxer_admin/src/templates/pages/guild_detail_tabs/mod.rs b/fluxer_admin/src/templates/pages/guild_detail_tabs/mod.rsindex f2e20ef52..381bc05dc 100644--- a/fluxer_admin/src/templates/pages/guild_detail_tabs/mod.rs+++ b/fluxer_admin/src/templates/pages/guild_detail_tabs/mod.rs@@ -2,6 +2,7 @@pub mod archives;pub mod audit_log;+pub mod badges;pub mod emojis;pub mod features;pub mod members;diff --git a/fluxer_admin/src/templates/pages/mod.rs b/fluxer_admin/src/templates/pages/mod.rsindex 210c656b4..437995d94 100644--- a/fluxer_admin/src/templates/pages/mod.rs+++ b/fluxer_admin/src/templates/pages/mod.rs@@ -6,6 +6,7 @@ pub mod applications_list;pub mod archives;pub mod audit_logs;pub mod audit_logs_table;+pub mod badges;pub mod bans;pub(crate) mod blocklist_helpers;pub mod bulk_actions;diff --git a/fluxer_admin/src/templates/pages/user_detail_tabs/overview.rs b/fluxer_admin/src/templates/pages/user_detail_tabs/overview.rsindex c718a539a..f650f019a 100644--- a/fluxer_admin/src/templates/pages/user_detail_tabs/overview.rs+++ b/fluxer_admin/src/templates/pages/user_detail_tabs/overview.rs@@ -2,14 +2,20 @@use crate::{acl, admin_flags,- api::types::{AdminUser, LimitConfigResponse, ListUserChangeLogResponse, account_tier_label},+ api::types::{+ AdminCustomBadgeList, AdminUser, CustomBadgeType, LimitConfigResponse,+ ListUserChangeLogResponse, account_tier_label,+ },config::AdminConfig,templates::components::{badge::{BadgeVariant, badge},form::{Checkbox, csrf_input, form_actions, submit_button},page_container::{card_with_header, detail_row},},- templates::pages::enforcement_decision::suspension_label,+ templates::pages::{+ badges::{custom_badge_list, custom_badge_picker, no_badges_defined},+ enforcement_decision::suspension_label,+ },utils::{bigint::format_discriminator,timestamps::{format_admin_timestamp, snowflake_creation_date},@@ -18,6 +24,13 @@ use crate::{};use maud::{Markup, html};+#[derive(Default)]+pub struct OverviewSources<'a> {+ pub change_log: Option<&'a ListUserChangeLogResponse>,+ pub limit_config: Option<&'a LimitConfigResponse>,+ pub custom_badges: Option<&'a AdminCustomBadgeList>,+}+pub fn overview_tab(config: &AdminConfig,user: &AdminUser,@@ -25,19 +38,19 @@ pub fn overview_tab(csrf_token: &str,change_log: Option<&ListUserChangeLogResponse>,) -> Markup {- render_overview_tab(- config, user, admin_acls, csrf_token, change_log, None, false, false,- )+ let sources = OverviewSources {+ change_log,+ ..OverviewSources::default()+ };+ render_overview_tab(config, user, admin_acls, csrf_token, &sources, false, false)}-#[allow(clippy::too_many_arguments)]-pub fn overview_tab_with_limit_config(+pub fn overview_tab_with_sources(config: &AdminConfig,user: &AdminUser,admin_acls: &[String],csrf_token: &str,- change_log: Option<&ListUserChangeLogResponse>,- limit_config: Option<&LimitConfigResponse>,+ sources: &OverviewSources,username_sign_in: bool,) -> Markup {render_overview_tab(@@ -45,24 +58,26 @@ pub fn overview_tab_with_limit_config(user,admin_acls,csrf_token,- change_log,- limit_config,+ sources,true,username_sign_in,)}-#[allow(clippy::too_many_arguments)]fn render_overview_tab(config: &AdminConfig,user: &AdminUser,admin_acls: &[String],csrf_token: &str,- change_log: Option<&ListUserChangeLogResponse>,- limit_config: Option<&LimitConfigResponse>,+ sources: &OverviewSources,show_traits: bool,username_sign_in: bool,) -> Markup {+ let OverviewSources {+ change_log,+ limit_config,+ custom_badges,+ } = *sources;html! {div class="space-y-6" {(restriction_banner(config, user))@@ -242,6 +257,9 @@ fn render_overview_tab((acls_card(config, user, admin_acls, csrf_token))@if show_traits {(traits_card(config, user, admin_acls, csrf_token, limit_config))+ @if let Some(badges) = custom_badges {+ (custom_badges_card(config, user, admin_acls, csrf_token, badges))+ }}@if acl::has_permission(admin_acls, acl::USER_VIEW_CONTACT_LOG) {(card_with_header("Contact Change Log", html! {@@ -444,6 +462,41 @@ fn acls_card()}+fn custom_badges_card(+ config: &AdminConfig,+ user: &AdminUser,+ admin_acls: &[String],+ csrf_token: &str,+ badges: &AdminCustomBadgeList,+) -> Markup {+ let definitions: Vec<_> = badges.of_type(CustomBadgeType::User).collect();+ let assigned: Vec<_> = definitions+ .iter()+ .copied()+ .filter(|badge| user.badge_ids.contains(&badge.id))+ .collect();+ let can_edit = acl::has_permission(admin_acls, acl::USER_UPDATE_BADGES);+ card_with_header(+ "Badges",+ html! {+ @if definitions.is_empty() {+ (no_badges_defined(config, "user badges"))+ } @else if can_edit {+ form method="post" action={(config.base_path) "/users/" (user.id) "?action=update_badges&tab=overview"} {+ (csrf_input(csrf_token))+ div class="space-y-4" {+ (custom_badge_picker(&definitions, &user.badge_ids))+ (form_actions(html! { (submit_button("Save badges")) }))+ }+ }+ } @else {+ (custom_badge_list(&assigned))+ p class="mt-2 text-xs text-neutral-500" { "You need the user badges permission to change these." }+ }+ },+ )+}+fn traits_card(config: &AdminConfig,user: &AdminUser,diff --git a/fluxer_api/pkgs/elasticsearch_search/src/ElasticsearchIndexDefinitions.ts b/fluxer_api/pkgs/elasticsearch_search/src/ElasticsearchIndexDefinitions.tsindex 1ae4db22f..0fff0bfda 100644--- a/fluxer_api/pkgs/elasticsearch_search/src/ElasticsearchIndexDefinitions.ts+++ b/fluxer_api/pkgs/elasticsearch_search/src/ElasticsearchIndexDefinitions.ts@@ -121,6 +121,7 @@ export const ELASTICSEARCH_INDEX_DEFINITIONS: Record<FluxerSearchIndexName, ElasbannerHash: keyword(),splashHash: keyword(),features: keyword(),+ badgeIds: keyword(),verificationLevel: integer(),mfaLevel: integer(),nsfwLevel: integer(),diff --git a/fluxer_api/src/api/admin/AdminAuditActions.ts b/fluxer_api/src/api/admin/AdminAuditActions.tsindex 4d4a8660c..3ead031db 100644--- a/fluxer_api/src/api/admin/AdminAuditActions.ts+++ b/fluxer_api/src/api/admin/AdminAuditActions.ts@@ -35,6 +35,7 @@ export const AdminAuditReadActions = {LIST_APP_SESSIONS: 'list_app_sessions',LIST_ARCHIVES: 'list_archives',LIST_AUDIT_LOGS: 'list_audit_logs',+ LIST_BADGES: 'list_badges',LIST_BLOCKLIST_ENTRIES: 'list_blocklist_entries',LIST_BLOCKLISTS: 'list_blocklists',LIST_CHANNEL_MESSAGES: 'list_channel_messages',diff --git a/fluxer_api/src/api/admin/AdminService.ts b/fluxer_api/src/api/admin/AdminService.tsindex ba0862043..92fcb36a8 100644--- a/fluxer_api/src/api/admin/AdminService.ts+++ b/fluxer_api/src/api/admin/AdminService.ts@@ -5,6 +5,7 @@ import type {AdminRepository} from '@app/api/admin/AdminRepository';import {AdminApplicationService} from '@app/api/admin/services/AdminApplicationService';import {AdminAssetPurgeService} from '@app/api/admin/services/AdminAssetPurgeService';import {AdminAuditService} from '@app/api/admin/services/AdminAuditService';+import {AdminBadgeService} from '@app/api/admin/services/AdminBadgeService';import {AdminBanManagementService} from '@app/api/admin/services/AdminBanManagementService';import {AdminCodeGenerationService} from '@app/api/admin/services/AdminCodeGenerationService';import {AdminGuildService} from '@app/api/admin/services/AdminGuildService';@@ -37,6 +38,7 @@ import type {JobLedgerRepository} from '@app/api/jobs/JobLedgerRepository';import {getEnforcementDecisionRepository,getGuildDiscoveryRepository,+ getInstanceConfigRepository,getKVAccountDeletionQueue,getOAuth2TokenRepository,getPaymentDisputeRepository,@@ -68,6 +70,7 @@ export class AdminService {readonly enforcementService: EnforcementDecisionService;readonly banService: AdminUserBanService;readonly voiceService: AdminVoiceService;+ readonly badgeService: AdminBadgeService;readonly searchService: AdminSearchService;readonly codeGenerationService: AdminCodeGenerationService;readonly assetPurgeService: AdminAssetPurgeService;@@ -174,6 +177,7 @@ export class AdminService {auditService: this.auditService,discoveryRepository: getGuildDiscoveryRepository(),enforcement: this.enforcementService,+ instanceConfigRepository: getInstanceConfigRepository(),});this.messageShredService = new AdminMessageShredService({apiContext: this.apiContext,@@ -230,6 +234,14 @@ export class AdminService {voiceRepository: this.voiceRepository,auditService: this.auditService,});+ this.badgeService = new AdminBadgeService({+ instanceConfigRepository: getInstanceConfigRepository(),+ entityAssetService: this.entityAssetService,+ assetDeletionQueue: this.assetDeletionQueue,+ snowflakeService: snowflake,+ userRepository: users,+ cacheService: this.apiContext.services.cache,+ });this.searchService = new AdminSearchService({apiContext: this.apiContext,guildRepository: this.guildRepository,diff --git a/fluxer_api/src/api/admin/controllers/BadgeAdminController.ts b/fluxer_api/src/api/admin/controllers/BadgeAdminController.tsnew file mode 100644index 000000000..4e7105c0d--- /dev/null+++ b/fluxer_api/src/api/admin/controllers/BadgeAdminController.ts@@ -0,0 +1,161 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {AdminAuditReadActions} from '@app/api/admin/AdminAuditActions';+import {recordAdminRead, recordAdminWrite} from '@app/api/admin/AdminAuditRecorder';+import {createUserID} from '@app/api/BrandedTypes';+import {requireAdminACL} from '@app/api/middleware/AdminMiddleware';+import {RateLimitMiddleware} from '@app/api/middleware/RateLimitMiddleware';+import {OpenAPI} from '@app/api/middleware/ResponseTypeMiddleware';+import {RateLimitConfigs} from '@app/api/RateLimitConfig';+import {AdminRateLimitConfigs} from '@app/api/rate_limit_configs/AdminRateLimitConfig';+import type {HonoApp} from '@app/api/types/HonoEnv';+import {Validator} from '@app/api/Validator';+import {AdminACLs} from '@fluxer/constants/src/AdminACLs';+import {+ AdminCustomBadgeListResponse,+ AdminCustomBadgeResponse,+ CreateCustomBadgeRequest,+ CustomBadgeIdParam,+ UpdateCustomBadgeRequest,+ UpdateUserCustomBadgesRequest,+} from '@fluxer/schema/src/domains/admin/AdminBadgeSchemas';+import {UserMutationResponse} from '@fluxer/schema/src/domains/admin/AdminUserSchemas';+import {UserIdParam} from '@fluxer/schema/src/domains/common/CommonParamSchemas';++export function BadgeAdminController(app: HonoApp) {+ app.get(+ '/admin/badges',+ RateLimitMiddleware(AdminRateLimitConfigs.ADMIN_LOOKUP),+ requireAdminACL(AdminACLs.BADGE_LIST),+ OpenAPI({+ operationId: 'list_admin_badges',+ summary: 'List custom badges',+ description:+ 'Lists the user and guild badges defined on this instance, in display order. Requires BADGE_LIST permission.',+ responseSchema: AdminCustomBadgeListResponse,+ statusCode: 200,+ security: 'adminApiKey',+ tags: 'Admin',+ }),+ async (ctx) => {+ const response = await ctx.get('adminService').badgeService.listBadges();+ await recordAdminRead(ctx, {+ targetType: 'badge',+ targetId: 0n,+ action: AdminAuditReadActions.LIST_BADGES,+ metadata: {result_count: response.badges.length},+ });+ return ctx.json(response);+ },+ );+ app.post(+ '/admin/badges',+ RateLimitMiddleware(RateLimitConfigs.ADMIN_USER_MODIFY),+ requireAdminACL(AdminACLs.BADGE_CREATE),+ Validator('json', CreateCustomBadgeRequest),+ OpenAPI({+ operationId: 'create_admin_badge',+ summary: 'Create custom badge',+ description:+ 'Creates a user or guild badge and uploads its image to the media proxy. Each type has at most 10 badges. Creates audit log entry. Requires BADGE_CREATE permission.',+ responseSchema: AdminCustomBadgeResponse,+ statusCode: 200,+ security: 'adminApiKey',+ tags: 'Admin',+ }),+ async (ctx) => {+ const badge = await ctx.get('adminService').badgeService.createBadge(ctx.req.valid('json'));+ await recordAdminWrite(ctx, {+ targetType: 'badge',+ targetId: BigInt(badge.id),+ action: 'create_badge',+ metadata: {type: badge.type},+ });+ return ctx.json(badge);+ },+ );+ app.patch(+ '/admin/badges/:badge_id',+ RateLimitMiddleware(RateLimitConfigs.ADMIN_USER_MODIFY),+ requireAdminACL(AdminACLs.BADGE_UPDATE),+ Validator('param', CustomBadgeIdParam),+ Validator('json', UpdateCustomBadgeRequest),+ OpenAPI({+ operationId: 'update_admin_badge',+ summary: 'Update custom badge',+ description:+ 'Replaces the name, description and link of a badge, and its image when one is sent. The type cannot change. Creates audit log entry. Requires BADGE_UPDATE permission.',+ responseSchema: AdminCustomBadgeResponse,+ statusCode: 200,+ security: 'adminApiKey',+ tags: 'Admin',+ }),+ async (ctx) => {+ const {badge_id: badgeId} = ctx.req.valid('param');+ const body = ctx.req.valid('json');+ const badge = await ctx.get('adminService').badgeService.updateBadge(badgeId, body);+ await recordAdminWrite(ctx, {+ targetType: 'badge',+ targetId: badgeId,+ action: 'update_badge',+ metadata: {image_replaced: body.image !== undefined},+ });+ return ctx.json(badge);+ },+ );+ app.delete(+ '/admin/badges/:badge_id',+ RateLimitMiddleware(RateLimitConfigs.ADMIN_USER_MODIFY),+ requireAdminACL(AdminACLs.BADGE_DELETE),+ Validator('param', CustomBadgeIdParam),+ OpenAPI({+ operationId: 'delete_admin_badge',+ summary: 'Delete custom badge',+ description:+ 'Deletes a badge and its image. Users and guilds it was assigned to stop showing it. Creates audit log entry. Requires BADGE_DELETE permission.',+ responseSchema: null,+ statusCode: 204,+ security: 'adminApiKey',+ tags: 'Admin',+ }),+ async (ctx) => {+ const {badge_id: badgeId} = ctx.req.valid('param');+ await ctx.get('adminService').badgeService.deleteBadge(badgeId);+ await recordAdminWrite(ctx, {targetType: 'badge', targetId: badgeId, action: 'delete_badge'});+ return ctx.body(null, 204);+ },+ );+ app.patch(+ '/admin/users/:user_id/badges',+ RateLimitMiddleware(RateLimitConfigs.ADMIN_USER_MODIFY),+ requireAdminACL(AdminACLs.USER_UPDATE_BADGES),+ Validator('param', UserIdParam),+ Validator('json', UpdateUserCustomBadgesRequest),+ OpenAPI({+ operationId: 'update_admin_user_badges',+ summary: 'Update user custom badges',+ description:+ 'Replaces the custom badges assigned to a user. Every ID must be a user badge, and a user can have at most 10. Creates audit log entry. Requires USER_UPDATE_BADGES permission.',+ responseSchema: UserMutationResponse,+ statusCode: 200,+ security: 'adminApiKey',+ tags: 'Admin',+ }),+ async (ctx) => {+ const userId = createUserID(ctx.req.valid('param').user_id);+ const {badge_ids: badgeIds} = ctx.req.valid('json');+ const response = await ctx.get('adminService').badgeService.updateUserBadges({+ userId,+ badgeIds,+ acls: ctx.get('adminUserAcls'),+ });+ await recordAdminWrite(ctx, {+ targetType: 'user',+ targetId: userId,+ action: 'update_user_badges',+ metadata: {badge_ids: badgeIds.join(',')},+ });+ return ctx.json(response);+ },+ );+}diff --git a/fluxer_api/src/api/admin/controllers/GuildAdminController.ts b/fluxer_api/src/api/admin/controllers/GuildAdminController.tsindex 21795f6d3..dc99c163a 100644--- a/fluxer_api/src/api/admin/controllers/GuildAdminController.ts+++ b/fluxer_api/src/api/admin/controllers/GuildAdminController.ts@@ -35,6 +35,7 @@ const GUILD_UPDATE_ACLS = [AdminACLs.GUILD_UPDATE_NAME,AdminACLs.GUILD_UPDATE_SETTINGS,AdminACLs.GUILD_UPDATE_FEATURES,+ AdminACLs.GUILD_UPDATE_BADGES,AdminACLs.GUILD_UPDATE_VANITY,AdminACLs.GUILD_TRANSFER_OWNERSHIP,];@@ -68,6 +69,9 @@ function selectGuildUpdateACLs(body: UpdateGuildRequest): Array<string> {if (hasGuildFeatureUpdate(body)) {required.push(AdminACLs.GUILD_UPDATE_FEATURES);}+ if (body.badge_ids !== undefined) {+ required.push(AdminACLs.GUILD_UPDATE_BADGES);+ }if (body.vanity_url_code !== undefined) {required.push(AdminACLs.GUILD_UPDATE_VANITY);}@@ -157,7 +161,7 @@ export function GuildAdminController(app: HonoApp) {operationId: 'update_admin_guild',summary: 'Update guild',description:- 'Partially updates a guild. The permissions required are selected by the fields present in the body and are evaluated with all-of semantics: name requires GUILD_UPDATE_NAME, vanity_url_code requires GUILD_UPDATE_VANITY, new_owner_id requires GUILD_TRANSFER_OWNERSHIP, add_features and remove_features require GUILD_UPDATE_FEATURES, and fields together with every other setting requires GUILD_UPDATE_SETTINGS. A body with no fields applies no change. Every applied change is logged to the audit log.',+ 'Partially updates a guild. The permissions required are selected by the fields present in the body and are evaluated with all-of semantics: name requires GUILD_UPDATE_NAME, vanity_url_code requires GUILD_UPDATE_VANITY, new_owner_id requires GUILD_TRANSFER_OWNERSHIP, add_features and remove_features require GUILD_UPDATE_FEATURES, badge_ids requires GUILD_UPDATE_BADGES, and fields together with every other setting requires GUILD_UPDATE_SETTINGS. A body with no fields applies no change. Every applied change is logged to the audit log.',responseSchema: GuildUpdateResponse,statusCode: 200,security: 'adminApiKey',@@ -201,6 +205,14 @@ export function GuildAdminController(app: HonoApp) {auditLogReason,});}+ if (body.badge_ids !== undefined) {+ await updateService.updateGuildBadges({+ guildId: createGuildID(guildIdRaw),+ badgeIds: body.badge_ids,+ adminUserId,+ auditLogReason,+ });+ }if (body.name !== undefined) {await updateService.updateGuildName({guild_id: guildIdRaw, name: body.name}, adminUserId, auditLogReason);}@@ -226,6 +238,7 @@ export function GuildAdminController(app: HonoApp) {body.fields !== undefined ||hasGuildSettingsUpdate(body) ||hasGuildFeatureUpdate(body) ||+ body.badge_ids !== undefined ||body.name !== undefined ||body.vanity_url_code !== undefined ||body.new_owner_id !== undefined;diff --git a/fluxer_api/src/api/admin/controllers/InstanceConfigAdminController.ts b/fluxer_api/src/api/admin/controllers/InstanceConfigAdminController.tsindex 93b3bf497..9d2e857dc 100644--- a/fluxer_api/src/api/admin/controllers/InstanceConfigAdminController.ts+++ b/fluxer_api/src/api/admin/controllers/InstanceConfigAdminController.ts@@ -10,8 +10,8 @@ import {createGuildID, createInviteCode, createUserID} from '@app/api/BrandedTypimport {loadSigningKey} from '@app/api/bluesky/BlueskyOAuthService';import {Config} from '@app/api/Config';import {enqueueEndUnassignedGuildVisits} from '@app/api/guild/visits/GuildVisitLifecycle';-import {brandingAssetStorageKey, resolveBrandingAsset} from '@app/api/instance/BrandingAssetReferences';import {resolveEffectiveSmtpConfig, type StoredEmailSmtpConfig} from '@app/api/instance/EmailDelivery';+import {assetStorageKey, resolveBrandingAsset} from '@app/api/instance/InstanceAssetReferences';import {type InstanceAttachmentDecayEffectiveConfig,type InstanceConfigRepository,@@ -102,7 +102,7 @@ async function queueReleasedBrandingAssets(references: ReadonlyArray<string>): Pconst queue = getAssetDeletionQueue();for (const reference of references) {await queue.queueDeletion({- s3Key: brandingAssetStorageKey(reference),+ s3Key: assetStorageKey(reference),cdnUrl: resolveBrandingAsset(reference, Config.endpoints.media),reason: 'branding_asset_released',});diff --git a/fluxer_api/src/api/admin/controllers/index.ts b/fluxer_api/src/api/admin/controllers/index.tsindex 7d4846574..1f374308b 100644--- a/fluxer_api/src/api/admin/controllers/index.ts+++ b/fluxer_api/src/api/admin/controllers/index.ts@@ -5,6 +5,7 @@ import {ApplicationAdminController} from '@app/api/admin/controllers/Applicationimport {ArchiveAdminController} from '@app/api/admin/controllers/ArchiveAdminController';import {AssetAdminController} from '@app/api/admin/controllers/AssetAdminController';import {AuditLogAdminController} from '@app/api/admin/controllers/AuditLogAdminController';+import {BadgeAdminController} from '@app/api/admin/controllers/BadgeAdminController';import {BanAdminController} from '@app/api/admin/controllers/BanAdminController';import {BulkAdminController} from '@app/api/admin/controllers/BulkAdminController';import {CodesAdminController} from '@app/api/admin/controllers/CodesAdminController';@@ -32,6 +33,7 @@ export function registerAdminControllers(app: HonoApp) {AdminApiKeyAdminController(app);ApplicationAdminController(app);UserAdminController(app);+ BadgeAdminController(app);EnforcementAdminController(app);StoreBillingAdminController(app);OperatorPassAdminController(app);diff --git a/fluxer_api/src/api/admin/models/UserTypes.ts b/fluxer_api/src/api/admin/models/UserTypes.tsindex bb0e3b210..88fd351f6 100644--- a/fluxer_api/src/api/admin/models/UserTypes.ts+++ b/fluxer_api/src/api/admin/models/UserTypes.ts@@ -46,7 +46,7 @@ async function buildAdminProfileBadges(operatorPass: operatorPassState ? resolveOperatorPassHolder(operatorPassState) : null,locale,environment,- hidden: isProfileHidden(user),+ profileHidden: isProfileHidden(user),});}@@ -112,6 +112,7 @@ export async function mapUserToAdminResponse(enforcement_decision_id: user.enforcementDecisionId?.toString() ?? null,acls: user.acls ? filterKnownAdminACLs(user.acls) : [],traits: Array.from(user.traits).sort(),+ badge_ids: Array.from(user.badgeIds, String),has_totp: user.totpSecret !== null,has_password: user.passwordHash !== null,claimed: accountTier !== AccountTiers.UNCLAIMED,diff --git a/fluxer_api/src/api/admin/services/AdminBadgeService.ts b/fluxer_api/src/api/admin/services/AdminBadgeService.tsnew file mode 100644index 000000000..9b0a9aa1f--- /dev/null+++ b/fluxer_api/src/api/admin/services/AdminBadgeService.ts@@ -0,0 +1,199 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {mapUserToAdminResponse} from '@app/api/admin/models/UserTypes';+import type {UserID} from '@app/api/BrandedTypes';+import {Config} from '@app/api/Config';+import type {EntityAssetService, PreparedAssetUpload} from '@app/api/infrastructure/EntityAssetService';+import type {IAssetDeletionQueue} from '@app/api/infrastructure/IAssetDeletionQueue';+import type {ISnowflakeService} from '@app/api/infrastructure/ISnowflakeService';+import {+ assetReferenceHash,+ assetReferenceUrl,+ assetStorageKey,+ customBadgeAssetReferenceFromOwnUrl,+ customBadgeImageUrl,+} from '@app/api/instance/InstanceAssetReferences';+import type {CustomBadgeDefinition, InstanceConfigRepository} from '@app/api/instance/InstanceConfigRepository';+import type {UserRepository} from '@app/api/user/repositories/UserRepository';+import {type CustomBadgeType, MAX_CUSTOM_BADGES_PER_TYPE} from '@fluxer/constants/src/BadgeConstants';+import {MaxBadgesError} from '@fluxer/errors/src/domains/badge/MaxBadgesError';+import {UnknownBadgeError} from '@fluxer/errors/src/domains/badge/UnknownBadgeError';+import type {+ AdminCustomBadgeListResponse,+ AdminCustomBadgeResponse,+ CreateCustomBadgeRequest,+ UpdateCustomBadgeRequest,+} from '@fluxer/schema/src/domains/admin/AdminBadgeSchemas';+import type {UserMutationResponse} from '@fluxer/schema/src/domains/admin/AdminUserSchemas';+import type {ICacheService} from '@pkgs/cache/src/ICacheService';++interface AdminBadgeServiceDeps {+ instanceConfigRepository: InstanceConfigRepository;+ entityAssetService: EntityAssetService;+ assetDeletionQueue: IAssetDeletionQueue;+ snowflakeService: ISnowflakeService;+ userRepository: UserRepository;+ cacheService: ICacheService;+}++function mapCustomBadgeToAdminResponse(badge: CustomBadgeDefinition): AdminCustomBadgeResponse {+ return {+ id: badge.id,+ type: badge.type,+ name: badge.name,+ description: badge.description,+ asset_url: customBadgeImageUrl(badge.asset, Config.endpoints.media),+ href: badge.href,+ };+}++function findBadge(badges: ReadonlyArray<CustomBadgeDefinition>, badgeId: string): CustomBadgeDefinition {+ const badge = badges.find((candidate) => candidate.id === badgeId);+ if (!badge) {+ throw new UnknownBadgeError();+ }+ return badge;+}++function assertBelowTypeLimit(badges: ReadonlyArray<CustomBadgeDefinition>, type: CustomBadgeType): void {+ if (badges.filter((badge) => badge.type === type).length >= MAX_CUSTOM_BADGES_PER_TYPE) {+ throw new MaxBadgesError({maxBadges: MAX_CUSTOM_BADGES_PER_TYPE});+ }+}++export async function assertCustomBadgeIdsOfType(+ instanceConfigRepository: Pick<InstanceConfigRepository, 'getCustomBadges'>,+ type: CustomBadgeType,+ badgeIds: ReadonlyArray<bigint>,+): Promise<void> {+ const badges = await instanceConfigRepository.getCustomBadges();+ const known = new Set(badges.filter((badge) => badge.type === type).map((badge) => badge.id));+ if (badgeIds.some((badgeId) => !known.has(badgeId.toString()))) {+ throw new UnknownBadgeError();+ }+}++export class AdminBadgeService {+ constructor(private readonly deps: AdminBadgeServiceDeps) {}++ async listBadges(): Promise<AdminCustomBadgeListResponse> {+ const badges = await this.deps.instanceConfigRepository.getCustomBadges();+ return {badges: badges.map(mapCustomBadgeToAdminResponse)};+ }++ async createBadge(data: CreateCustomBadgeRequest): Promise<AdminCustomBadgeResponse> {+ const {instanceConfigRepository, snowflakeService} = this.deps;+ assertBelowTypeLimit(await instanceConfigRepository.getCustomBadges(), data.type);+ const badgeId = await snowflakeService.generate();+ const prepared = await this.uploadImage(badgeId, data.image);+ const badge: CustomBadgeDefinition = {+ id: badgeId.toString(),+ type: data.type,+ name: data.name,+ description: data.description ?? null,+ asset: this.storedReference(prepared),+ href: data.href ?? null,+ };+ await this.writeOrRollback(prepared, (current) => {+ assertBelowTypeLimit(current, data.type);+ return [...current, badge];+ });+ return mapCustomBadgeToAdminResponse(badge);+ }++ async updateBadge(badgeId: bigint, data: UpdateCustomBadgeRequest): Promise<AdminCustomBadgeResponse> {+ const id = badgeId.toString();+ const existing = findBadge(await this.deps.instanceConfigRepository.getCustomBadges(), id);+ const prepared =+ data.image === undefined ? null : await this.uploadImage(badgeId, data.image, assetReferenceHash(existing.asset));+ const replaced: {badge?: CustomBadgeDefinition} = {};+ const badges = await this.writeOrRollback(prepared, (current) => {+ const previous = findBadge(current, id);+ replaced.badge = previous;+ const next: CustomBadgeDefinition = {+ ...previous,+ name: data.name,+ description: data.description,+ href: data.href,+ asset: prepared ? this.storedReference(prepared) : previous.asset,+ };+ return current.map((badge) => (badge.id === id ? next : badge));+ });+ const updated = findBadge(badges, id);+ if (replaced.badge && replaced.badge.asset !== updated.asset) {+ await this.releaseAsset(replaced.badge.asset);+ }+ return mapCustomBadgeToAdminResponse(updated);+ }++ async deleteBadge(badgeId: bigint): Promise<void> {+ const id = badgeId.toString();+ const removed: {badge?: CustomBadgeDefinition} = {};+ await this.deps.instanceConfigRepository.updateCustomBadges((current) => {+ removed.badge = findBadge(current, id);+ return current.filter((badge) => badge.id !== id);+ });+ if (removed.badge) {+ await this.releaseAsset(removed.badge.asset);+ }+ }++ async updateUserBadges(params: {+ userId: UserID;+ badgeIds: ReadonlyArray<bigint>;+ acls: ReadonlySet<string>;+ }): Promise<UserMutationResponse> {+ const {userRepository, cacheService, instanceConfigRepository} = this.deps;+ const user = await userRepository.findUniqueAssert(params.userId);+ await assertCustomBadgeIdsOfType(instanceConfigRepository, 'user', params.badgeIds);+ const badgeIds = new Set(params.badgeIds);+ const updatedUser = await userRepository.patchUpsert(+ params.userId,+ {badge_ids: badgeIds.size > 0 ? badgeIds : null},+ user.toRow(),+ );+ return {user: await mapUserToAdminResponse(updatedUser, cacheService, params.acls)};+ }++ private async uploadImage(+ badgeId: bigint,+ image: string,+ previousHash: string | null = null,+ ): Promise<PreparedAssetUpload> {+ return this.deps.entityAssetService.prepareAssetUpload({+ assetType: 'custom_badge',+ entityType: 'instance',+ entityId: badgeId,+ previousHash,+ base64Image: image,+ errorPath: 'image',+ });+ }++ private storedReference(prepared: PreparedAssetUpload): string {+ if (!prepared.newCdnUrl) {+ throw new Error('Custom badge image upload returned no URL');+ }+ return customBadgeAssetReferenceFromOwnUrl(prepared.newCdnUrl, Config.endpoints.media);+ }++ private async writeOrRollback(+ prepared: PreparedAssetUpload | null,+ update: (current: ReadonlyArray<CustomBadgeDefinition>) => Array<CustomBadgeDefinition>,+ ): Promise<ReadonlyArray<CustomBadgeDefinition>> {+ try {+ return await this.deps.instanceConfigRepository.updateCustomBadges(update);+ } catch (error) {+ if (prepared) await this.deps.entityAssetService.rollbackAssetUpload(prepared);+ throw error;+ }+ }++ private async releaseAsset(reference: string): Promise<void> {+ await this.deps.assetDeletionQueue.queueDeletion({+ s3Key: assetStorageKey(reference),+ cdnUrl: assetReferenceUrl(reference, Config.endpoints.media),+ reason: 'custom_badge_released',+ });+ }+}diff --git a/fluxer_api/src/api/admin/services/AdminGuildService.ts b/fluxer_api/src/api/admin/services/AdminGuildService.tsindex 7caf3eccd..47e043ad2 100644--- a/fluxer_api/src/api/admin/services/AdminGuildService.ts+++ b/fluxer_api/src/api/admin/services/AdminGuildService.ts@@ -15,6 +15,7 @@ import type {GuildRepository} from '@app/api/guild/repositories/GuildRepository'import type {GuildService} from '@app/api/guild/services/GuildService';import type {EntityAssetService} from '@app/api/infrastructure/EntityAssetService';import type {IGatewayService} from '@app/api/infrastructure/IGatewayService';+import type {InstanceConfigRepository} from '@app/api/instance/InstanceConfigRepository';import type {InviteRepository} from '@app/api/invite/InviteRepository';import {createRequestCache} from '@app/api/middleware/RequestCacheMiddleware';import type {UserRepository} from '@app/api/user/repositories/UserRepository';@@ -31,6 +32,7 @@ interface AdminGuildServiceDeps {auditService: AdminAuditService;discoveryRepository: GuildDiscoveryRepository;enforcement: EnforcementDecisionService;+ instanceConfigRepository: Pick<InstanceConfigRepository, 'getCustomBadges'>;}export class AdminGuildService {@@ -61,6 +63,7 @@ export class AdminGuildService {auditService: deps.auditService,updatePropagator: this.updatePropagator,guildService: deps.guildService,+ instanceConfigRepository: deps.instanceConfigRepository,});this.vanityService = new AdminGuildVanityService({guildRepository: deps.guildRepository,diff --git a/fluxer_api/src/api/admin/services/guild/AdminGuildLookupService.ts b/fluxer_api/src/api/admin/services/guild/AdminGuildLookupService.tsindex e9b026f20..5154a4d75 100644--- a/fluxer_api/src/api/admin/services/guild/AdminGuildLookupService.ts+++ b/fluxer_api/src/api/admin/services/guild/AdminGuildLookupService.ts@@ -54,6 +54,7 @@ export class AdminGuildLookupService {splash: guild.splashHash,embed_splash: guild.embedSplashHash,features: mapGuildFeatures(guild.features),+ badge_ids: Array.from(guild.badgeIds, String),verification_level: guild.verificationLevel,mfa_level: guild.mfaLevel,nsfw_level: guild.nsfwLevel,diff --git a/fluxer_api/src/api/admin/services/guild/AdminGuildUpdateService.ts b/fluxer_api/src/api/admin/services/guild/AdminGuildUpdateService.tsindex 215248a4f..867e8b9d4 100644--- a/fluxer_api/src/api/admin/services/guild/AdminGuildUpdateService.ts+++ b/fluxer_api/src/api/admin/services/guild/AdminGuildUpdateService.ts@@ -2,6 +2,7 @@import {mapGuildToAdminResponse} from '@app/api/admin/models/GuildTypes';import type {AdminAuditService} from '@app/api/admin/services/AdminAuditService';+import {assertCustomBadgeIdsOfType} from '@app/api/admin/services/AdminBadgeService';import type {AdminGuildUpdatePropagator} from '@app/api/admin/services/guild/AdminGuildUpdatePropagator';import {createGuildID, createUserID, type GuildID, type UserID} from '@app/api/BrandedTypes';import {Config} from '@app/api/Config';@@ -14,6 +15,7 @@ import type {GuildService} from '@app/api/guild/services/GuildService';import {onGuildVisitSettingsChanged} from '@app/api/guild/visits/GuildVisitLifecycle';import {emitGuildFeaturesChanged} from '@app/api/infrastructure/activity/GuildEvents';import type {EntityAssetService, PreparedAssetUpload} from '@app/api/infrastructure/EntityAssetService';+import type {InstanceConfigRepository} from '@app/api/instance/InstanceConfigRepository';import {Logger} from '@app/api/Logger';import {DiscoveryApplicationStatus} from '@fluxer/constants/src/DiscoveryConstants';import {GuildFeatures} from '@fluxer/constants/src/GuildConstants';@@ -32,6 +34,7 @@ interface AdminGuildUpdateServiceDeps {auditService: AdminAuditService;updatePropagator: AdminGuildUpdatePropagator;guildService: Pick<GuildService, 'withUpdateLock'>;+ instanceConfigRepository: Pick<InstanceConfigRepository, 'getCustomBadges'>;}export class AdminGuildUpdateService {@@ -110,6 +113,38 @@ export class AdminGuildUpdateService {};}+ async updateGuildBadges({+ guildId,+ badgeIds,+ adminUserId,+ auditLogReason,+ }: {+ guildId: GuildID;+ badgeIds: ReadonlyArray<bigint>;+ adminUserId: UserID;+ auditLogReason: string | null;+ }) {+ const {guildRepository, auditService, updatePropagator, guildService, instanceConfigRepository} = this.deps;+ await assertCustomBadgeIdsOfType(instanceConfigRepository, 'guild', badgeIds);+ const assigned = new Set(badgeIds);+ const updatedGuild = await guildService.withUpdateLock(guildId, async () => {+ const guild = await guildRepository.findUnique(guildId);+ if (!guild) {+ throw new UnknownGuildError();+ }+ return guildRepository.upsertPartial(guildId, {badge_ids: assigned.size > 0 ? assigned : null}, guild.toRow());+ });+ await updatePropagator.dispatchGuildUpdate(guildId, updatedGuild);+ await auditService.createAuditLog({+ adminUserId,+ targetType: 'guild',+ targetId: BigInt(guildId),+ action: 'update_guild_badges',+ auditLogReason,+ metadata: new Map([['badge_ids', Array.from(assigned).join(',')]]),+ });+ }+async clearGuildFields(data: ClearGuildFieldsRequest, adminUserId: UserID, auditLogReason: string | null) {const {guildRepository, entityAssetService, auditService, updatePropagator} = this.deps;const guildId = createGuildID(data.guild_id);diff --git a/fluxer_api/src/api/admin/tests/AdminCustomBadges.test.ts b/fluxer_api/src/api/admin/tests/AdminCustomBadges.test.tsnew file mode 100644index 000000000..d08befa7e--- /dev/null+++ b/fluxer_api/src/api/admin/tests/AdminCustomBadges.test.ts@@ -0,0 +1,115 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {createTestCustomBadge} from '@app/api/admin/tests/AdminTestUtils';+import {createTestAccount, setUserACLs, type TestAccount} from '@app/api/auth/tests/AuthTestUtils';+import {getPngDataUrl} from '@app/api/emoji/tests/EmojiTestUtils';+import {createGuild} from '@app/api/message/tests/MessageTestUtils';+import {getInstanceConfigRepository} from '@app/api/middleware/ServiceSingletons';+import {type ApiTestHarness, createApiTestHarness} from '@app/api/test/ApiTestHarness';+import {HTTP_STATUS} from '@app/api/test/TestConstants';+import {createBuilder} from '@app/api/test/TestRequestBuilder';+import {AdminACLs} from '@fluxer/constants/src/AdminACLs';+import type {AdminCustomBadgeResponse} from '@fluxer/schema/src/domains/admin/AdminBadgeSchemas';+import type {ProfileBadgeResponse} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';+import {afterAll, beforeAll, beforeEach, describe, expect, test} from 'vitest';++describe('custom badges', () => {+ let harness: ApiTestHarness;+ let admin: TestAccount;++ beforeAll(async () => {+ harness = await createApiTestHarness();+ });+ afterAll(async () => {+ await harness.shutdown();+ });+ beforeEach(async () => {+ await harness.resetData();+ admin = await setUserACLs(harness, await createTestAccount(harness), [AdminACLs.WILDCARD]);+ });++ async function profileBadges(viewer: TestAccount, target: TestAccount): Promise<Array<ProfileBadgeResponse>> {+ const profile = await createBuilder<{profile_badges: Array<ProfileBadgeResponse>}>(harness, viewer.token)+ .get(`/users/${target.userId}/profile`)+ .expect(HTTP_STATUS.OK)+ .execute();+ return profile.profile_badges;+ }++ async function assignUserBadges(target: TestAccount, badgeIds: Array<string>, status: number, code?: string) {+ await createBuilder(harness, admin.token)+ .patch(`/admin/users/${target.userId}/badges`)+ .body({badge_ids: badgeIds})+ .expect(status, code)+ .execute();+ }++ test('stores an uploaded image reference and serves it as a profile badge until deleted', async () => {+ const badge = await createTestCustomBadge(harness, admin.token, 'user', 'Translator');+ const [stored] = await getInstanceConfigRepository().getCustomBadges();+ expect(stored?.asset).toMatch(new RegExp(`^custom-badges/${badge.id}/[0-9a-f]{8}\\.png$`));+ expect(badge.asset_url).toMatch(new RegExp(`/custom-badges/${badge.id}/[0-9a-f]{8}\\.webp$`));++ const updated = await createBuilder<AdminCustomBadgeResponse>(harness, admin.token)+ .patch(`/admin/badges/${badge.id}`)+ .body({name: 'Translator', description: 'Helps translate', href: 'https://example.com/translate'})+ .expect(HTTP_STATUS.OK)+ .execute();+ expect(updated.asset_url).toBe(badge.asset_url);++ const target = await createTestAccount(harness);+ await assignUserBadges(target, [badge.id], HTTP_STATUS.OK);+ expect(await profileBadges(target, target)).toContainEqual(+ expect.objectContaining({+ key: `custom:${badge.id}`,+ kind: 'custom',+ label: 'Translator',+ asset: null,+ asset_url: badge.asset_url,+ href: 'https://example.com/translate',+ details: {title: 'Translator', lines: ['Helps translate']},+ }),+ );++ await createBuilder(harness, admin.token)+ .delete(`/admin/badges/${badge.id}`)+ .expect(HTTP_STATUS.NO_CONTENT)+ .execute();+ expect((await profileBadges(target, target)).some((entry) => entry.kind === 'custom')).toBe(false);+ });++ test('refuses a guild badge on a user and a user badge on a guild', async () => {+ const guildBadge = await createTestCustomBadge(harness, admin.token, 'guild');+ const userBadge = await createTestCustomBadge(harness, admin.token, 'user');+ const target = await createTestAccount(harness);+ await assignUserBadges(target, [guildBadge.id], HTTP_STATUS.NOT_FOUND, 'UNKNOWN_BADGE');+ const guild = await createGuild(harness, admin.token, 'Badge Guild');+ await createBuilder(harness, admin.token)+ .patch(`/admin/guilds/${guild.id}`)+ .body({badge_ids: [userBadge.id]})+ .expect(HTTP_STATUS.NOT_FOUND, 'UNKNOWN_BADGE')+ .execute();+ });++ test('needs the matching ACL on every route', async () => {+ const badge = await createTestCustomBadge(harness, admin.token);+ const target = await createTestAccount(harness);+ const limited = await setUserACLs(harness, await createTestAccount(harness), [AdminACLs.AUTHENTICATE]);+ const requests = [+ createBuilder(harness, limited.token).get('/admin/badges'),+ createBuilder(harness, limited.token)+ .post('/admin/badges')+ .body({type: 'user', name: 'Denied', image: getPngDataUrl()}),+ createBuilder(harness, limited.token)+ .patch(`/admin/badges/${badge.id}`)+ .body({name: 'Denied', description: null, href: null}),+ createBuilder(harness, limited.token).delete(`/admin/badges/${badge.id}`),+ createBuilder(harness, limited.token)+ .patch(`/admin/users/${target.userId}/badges`)+ .body({badge_ids: [badge.id]}),+ ];+ for (const request of requests) {+ await request.expect(HTTP_STATUS.FORBIDDEN, 'MISSING_ACL').execute();+ }+ });+});diff --git a/fluxer_api/src/api/admin/tests/AdminTestUtils.ts b/fluxer_api/src/api/admin/tests/AdminTestUtils.tsindex 1c75c1bf1..32ce2e683 100644--- a/fluxer_api/src/api/admin/tests/AdminTestUtils.ts+++ b/fluxer_api/src/api/admin/tests/AdminTestUtils.ts@@ -1,9 +1,12 @@// SPDX-License-Identifier: AGPL-3.0-or-laterimport {createTestAccount, setUserACLs, type TestAccount} from '@app/api/auth/tests/AuthTestUtils';+import {getPngDataUrl} from '@app/api/emoji/tests/EmojiTestUtils';import type {ApiTestHarness} from '@app/api/test/ApiTestHarness';import {createBuilder} from '@app/api/test/TestRequestBuilder';import {AdminACLs} from '@fluxer/constants/src/AdminACLs';+import type {CustomBadgeType} from '@fluxer/constants/src/BadgeConstants';+import type {AdminCustomBadgeResponse} from '@fluxer/schema/src/domains/admin/AdminBadgeSchemas';interface AdminApiKey {keyId: string;@@ -65,3 +68,16 @@ export async function createAdminWithAcls(harness: ApiTestHarness, acls: Array<sconst account = await createTestAccount(harness);return await setUserACLs(harness, account, [AdminACLs.AUTHENTICATE, ...acls]);}++export async function createTestCustomBadge(+ harness: ApiTestHarness,+ token: string,+ type: CustomBadgeType = 'user',+ name = 'Coverage badge',+): Promise<AdminCustomBadgeResponse> {+ return createBuilder<AdminCustomBadgeResponse>(harness, token)+ .post('/admin/badges')+ .body({type, name, image: getPngDataUrl()})+ .expect(200)+ .execute();+}diff --git a/fluxer_api/src/api/admin/tests/audit_coverage/AdminAuditRouteCoverage.test.ts b/fluxer_api/src/api/admin/tests/audit_coverage/AdminAuditRouteCoverage.test.tsindex 5e04395cc..d9bb3c27a 100644--- a/fluxer_api/src/api/admin/tests/audit_coverage/AdminAuditRouteCoverage.test.ts+++ b/fluxer_api/src/api/admin/tests/audit_coverage/AdminAuditRouteCoverage.test.ts@@ -7,6 +7,7 @@ import {ApplicationAdminAuditCases} from '@app/api/admin/tests/audit_coverage/Apimport {ArchiveAdminAuditCases} from '@app/api/admin/tests/audit_coverage/ArchiveAdminAuditCases';import {AssetAdminAuditCases} from '@app/api/admin/tests/audit_coverage/AssetAdminAuditCases';import {AuditLogAdminAuditCases} from '@app/api/admin/tests/audit_coverage/AuditLogAdminAuditCases';+import {BadgeAdminAuditCases} from '@app/api/admin/tests/audit_coverage/BadgeAdminAuditCases';import {BanAdminAuditCases} from '@app/api/admin/tests/audit_coverage/BanAdminAuditCases';import {BulkAdminAuditCases} from '@app/api/admin/tests/audit_coverage/BulkAdminAuditCases';import {CodesAdminAuditCases} from '@app/api/admin/tests/audit_coverage/CodesAdminAuditCases';@@ -38,6 +39,7 @@ const ALL_CASES = [...ArchiveAdminAuditCases,...AssetAdminAuditCases,...AuditLogAdminAuditCases,+ ...BadgeAdminAuditCases,...BanAdminAuditCases,...BulkAdminAuditCases,...CodesAdminAuditCases,diff --git a/fluxer_api/src/api/admin/tests/audit_coverage/BadgeAdminAuditCases.ts b/fluxer_api/src/api/admin/tests/audit_coverage/BadgeAdminAuditCases.tsnew file mode 100644index 000000000..d486f36f8--- /dev/null+++ b/fluxer_api/src/api/admin/tests/audit_coverage/BadgeAdminAuditCases.ts@@ -0,0 +1,93 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {createTestCustomBadge} from '@app/api/admin/tests/AdminTestUtils';+import type {AdminAuditCoverageCase} from '@app/api/admin/tests/audit_coverage/AdminAuditCoverage';+import {createTestAccount} from '@app/api/auth/tests/AuthTestUtils';+import {getPngDataUrl} from '@app/api/emoji/tests/EmojiTestUtils';+import {expect} from 'vitest';++export const BadgeAdminAuditCases: ReadonlyArray<AdminAuditCoverageCase> = [+ {+ method: 'GET',+ route: '/admin/badges',+ async prepare({harness, admin}) {+ await createTestCustomBadge(harness, admin.token);+ return {+ request: {path: '/admin/badges'},+ expected: {+ action: 'list_badges',+ targetType: 'badge',+ targetId: '0',+ metadata: {result_count: '1'},+ },+ };+ },+ },+ {+ method: 'POST',+ route: '/admin/badges',+ async prepare() {+ return {+ request: {path: '/admin/badges', body: {type: 'guild', name: 'Audit badge', image: getPngDataUrl()}},+ expected: {+ action: 'create_badge',+ targetType: 'badge',+ targetId: expect.any(String),+ metadata: {type: 'guild'},+ },+ };+ },+ },+ {+ method: 'PATCH',+ route: '/admin/badges/:badge_id',+ async prepare({harness, admin}) {+ const badge = await createTestCustomBadge(harness, admin.token);+ return {+ request: {+ path: `/admin/badges/${badge.id}`,+ body: {name: 'Renamed badge', description: null, href: null},+ },+ expected: {+ action: 'update_badge',+ targetType: 'badge',+ targetId: badge.id,+ metadata: {image_replaced: 'false'},+ },+ };+ },+ },+ {+ method: 'DELETE',+ route: '/admin/badges/:badge_id',+ async prepare({harness, admin}) {+ const badge = await createTestCustomBadge(harness, admin.token);+ return {+ request: {path: `/admin/badges/${badge.id}`, expectStatus: 204},+ expected: {+ action: 'delete_badge',+ targetType: 'badge',+ targetId: badge.id,+ metadata: {},+ },+ };+ },+ },+ {+ method: 'PATCH',+ route: '/admin/users/:user_id/badges',+ async prepare({harness, admin}) {+ const badge = await createTestCustomBadge(harness, admin.token);+ const target = await createTestAccount(harness);+ return {+ request: {path: `/admin/users/${target.userId}/badges`, body: {badge_ids: [badge.id]}},+ expected: {+ action: 'update_user_badges',+ targetType: 'user',+ targetId: target.userId,+ metadata: {badge_ids: badge.id},+ },+ };+ },+ },+];diff --git a/fluxer_api/src/api/admin/tests/audit_coverage/BadgeAdminAuditCoverage.test.ts b/fluxer_api/src/api/admin/tests/audit_coverage/BadgeAdminAuditCoverage.test.tsnew file mode 100644index 000000000..7a2df1af9--- /dev/null+++ b/fluxer_api/src/api/admin/tests/audit_coverage/BadgeAdminAuditCoverage.test.ts@@ -0,0 +1,6 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {describeAdminAuditCoverage} from '@app/api/admin/tests/audit_coverage/AdminAuditCoverage';+import {BadgeAdminAuditCases} from '@app/api/admin/tests/audit_coverage/BadgeAdminAuditCases';++describeAdminAuditCoverage('BadgeAdminController', BadgeAdminAuditCases);diff --git a/fluxer_api/src/api/admin/tests/audit_coverage/GuildAdminAuditCases.ts b/fluxer_api/src/api/admin/tests/audit_coverage/GuildAdminAuditCases.tsindex 26c48932e..45b3f56c3 100644--- a/fluxer_api/src/api/admin/tests/audit_coverage/GuildAdminAuditCases.ts+++ b/fluxer_api/src/api/admin/tests/audit_coverage/GuildAdminAuditCases.ts@@ -1,5 +1,6 @@// SPDX-License-Identifier: AGPL-3.0-or-later+import {createTestCustomBadge} from '@app/api/admin/tests/AdminTestUtils';import type {AdminAuditCoverageCase} from '@app/api/admin/tests/audit_coverage/AdminAuditCoverage';import {createTestAccount, type TestAccount} from '@app/api/auth/tests/AuthTestUtils';import {createGuild} from '@app/api/message/tests/MessageTestUtils';@@ -115,6 +116,24 @@ export const GuildAdminAuditCases: ReadonlyArray<AdminAuditCoverageCase> = [};},},+ {+ method: 'PATCH',+ route: '/admin/guilds/:guild_id',+ name: 'badge_ids',+ async prepare({harness, admin}) {+ const badge = await createTestCustomBadge(harness, admin.token, 'guild');+ const guild = await createGuild(harness, admin.token, 'Audit Badge Guild');+ return {+ request: {path: `/admin/guilds/${guild.id}`, body: {badge_ids: [badge.id]}},+ expected: {+ action: 'update_guild_badges',+ targetType: 'guild',+ targetId: guild.id,+ metadata: {badge_ids: badge.id},+ },+ };+ },+ },{method: 'DELETE',route: '/admin/guilds/:guild_id',diff --git a/fluxer_api/src/api/admin/tests/audit_coverage/UserWriteAdminAuditCases.ts b/fluxer_api/src/api/admin/tests/audit_coverage/UserWriteAdminAuditCases.tsindex 752c1f0a6..f231da709 100644--- a/fluxer_api/src/api/admin/tests/audit_coverage/UserWriteAdminAuditCases.ts+++ b/fluxer_api/src/api/admin/tests/audit_coverage/UserWriteAdminAuditCases.ts@@ -651,16 +651,16 @@ export const UserWriteAdminAuditCases: ReadonlyArray<AdminAuditCoverageCase> = [return {request: {path: `/admin/users/${target.userId}/premium-flags`,- body: {add_flags: [PremiumFlags.BADGE_HIDDEN], remove_flags: [PremiumFlags.PURCHASE_DISABLED]},+ body: {add_flags: [PremiumFlags.BADGE_MASKED], remove_flags: [PremiumFlags.PURCHASE_DISABLED]},},expected: {action: 'update_premium_flags',targetType: 'user',targetId: target.userId,metadata: {- add_flags: PremiumFlags.BADGE_HIDDEN.toString(),+ add_flags: PremiumFlags.BADGE_MASKED.toString(),remove_flags: PremiumFlags.PURCHASE_DISABLED.toString(),- new_flags: ((premiumFlags | PremiumFlags.BADGE_HIDDEN) & ~PremiumFlags.PURCHASE_DISABLED).toString(),+ new_flags: ((premiumFlags | PremiumFlags.BADGE_MASKED) & ~PremiumFlags.PURCHASE_DISABLED).toString(),},},};diff --git a/fluxer_api/src/api/database/types/GuildTypes.ts b/fluxer_api/src/api/database/types/GuildTypes.tsindex e62ba68a7..4d23e9c19 100644--- a/fluxer_api/src/api/database/types/GuildTypes.ts+++ b/fluxer_api/src/api/database/types/GuildTypes.ts@@ -31,6 +31,7 @@ export interface GuildRow {embed_splash_width: number | null;embed_splash_height: number | null;features: Set<string> | null;+ badge_ids?: Set<bigint> | null;verification_level: number;mfa_level: number;nsfw_level: number;@@ -70,6 +71,7 @@ export const GUILD_COLUMNS = ['embed_splash_width','embed_splash_height','features',+ 'badge_ids','verification_level','mfa_level','nsfw_level',diff --git a/fluxer_api/src/api/database/types/UserTypes.ts b/fluxer_api/src/api/database/types/UserTypes.tsindex 3336130b3..6e1076e25 100644--- a/fluxer_api/src/api/database/types/UserTypes.ts+++ b/fluxer_api/src/api/database/types/UserTypes.ts@@ -79,6 +79,8 @@ export interface UserRow {content_hidden_since?: Date | null;acls: Set<string> | null;traits: Set<string> | null;+ badge_ids?: Set<bigint> | null;+ hidden_profile_badges?: Set<string> | null;first_refund_at: Date | null;gift_inventory_server_seq: number | null;gift_inventory_client_seq: number | null;@@ -145,6 +147,8 @@ export const USER_COLUMNS = ['content_hidden_since','acls','traits',+ 'badge_ids',+ 'hidden_profile_badges','first_refund_at','gift_inventory_server_seq','gift_inventory_client_seq',@@ -210,6 +214,8 @@ export const EMPTY_USER_ROW: UserRow = {content_hidden_since: null,acls: null,traits: null,+ badge_ids: null,+ hidden_profile_badges: null,first_refund_at: null,gift_inventory_server_seq: null,gift_inventory_client_seq: null,diff --git a/fluxer_api/src/api/guild/GuildModel.ts b/fluxer_api/src/api/guild/GuildModel.tsindex 78046f028..56a3c89c4 100644--- a/fluxer_api/src/api/guild/GuildModel.ts+++ b/fluxer_api/src/api/guild/GuildModel.ts@@ -47,6 +47,7 @@ export function mapGuildToPartialResponse(guild: Guild): GuildPartialResponse {embed_splash_height: embedSplashHash ? guild.embedSplashHeight : null,splash_card_alignment: guild.splashCardAlignment,features: mapGuildFeatures(guild.features),+ badge_ids: Array.from(guild.badgeIds, String),};}diff --git a/fluxer_api/src/api/guild/services/GuildDiscoveryService.ts b/fluxer_api/src/api/guild/services/GuildDiscoveryService.tsindex 23978d92e..47df2d92a 100644--- a/fluxer_api/src/api/guild/services/GuildDiscoveryService.ts+++ b/fluxer_api/src/api/guild/services/GuildDiscoveryService.ts@@ -76,6 +76,7 @@ interface DiscoveryGuildResult {member_count: number;online_count: number;features: Array<string>;+ badge_ids: Array<string>;verification_level: number;}@@ -440,6 +441,7 @@ export class GuildDiscoveryService {member_count: hit.memberCount,online_count: 0,features: hit.features,+ badge_ids: hit.badgeIds ?? [],verification_level: getEffectiveGuildVerificationLevel(hit.verificationLevel, hit.isDiscoverable),}));const total = results.total;diff --git a/fluxer_api/src/api/guild/services/data/GuildOperationsService.ts b/fluxer_api/src/api/guild/services/data/GuildOperationsService.tsindex a33a062d7..ef3ece854 100644--- a/fluxer_api/src/api/guild/services/data/GuildOperationsService.ts+++ b/fluxer_api/src/api/guild/services/data/GuildOperationsService.ts@@ -395,6 +395,7 @@ export class GuildOperationsService {embed_splash_width: null,embed_splash_height: null,features: featuresSet,+ badge_ids: null,verification_level: templateSettings.verificationLevel,mfa_level: 0,nsfw_level: 0,diff --git a/fluxer_api/src/api/infrastructure/EntityAssetService.ts b/fluxer_api/src/api/infrastructure/EntityAssetService.tsindex 0e2944e61..12dfbbd92 100644--- a/fluxer_api/src/api/infrastructure/EntityAssetService.ts+++ b/fluxer_api/src/api/infrastructure/EntityAssetService.ts@@ -19,7 +19,15 @@ import {InputValidationError} from '@fluxer/errors/src/domains/core/InputValidatimport {ms} from 'itty-time';import sharp from 'sharp';-type AssetType = 'avatar' | 'banner' | 'icon' | 'splash' | 'embed_splash' | 'branding' | 'branding_backdrop';+type AssetType =+ | 'avatar'+ | 'banner'+ | 'icon'+ | 'splash'+ | 'embed_splash'+ | 'branding'+ | 'branding_backdrop'+ | 'custom_badge';type EntityType = 'user' | 'guild' | 'guild_member' | 'instance';const ASSET_TYPE_TO_PREFIX: Record<AssetType, string> = {@@ -30,6 +38,7 @@ const ASSET_TYPE_TO_PREFIX: Record<AssetType, string> = {embed_splash: 'embed-splashes',branding: 'branding',branding_backdrop: 'branding-backdrops',+ custom_badge: 'custom-badges',};function normalizeContentType(contentType: string | null | undefined): string {@@ -85,6 +94,8 @@ export class EntityAssetService {case 'avatar':return 'avatar';case 'icon':+ case 'branding':+ case 'custom_badge':return 'guild_icon';case 'banner':return 'banner';@@ -92,8 +103,6 @@ export class EntityAssetService {return 'splash';case 'embed_splash':return 'embed_splash';- case 'branding':- return 'guild_icon';case 'branding_backdrop':return 'sign_in_backdrop';}diff --git a/fluxer_api/src/api/infrastructure/IAssetDeletionQueue.ts b/fluxer_api/src/api/infrastructure/IAssetDeletionQueue.tsindex 540294123..6f1559814 100644--- a/fluxer_api/src/api/infrastructure/IAssetDeletionQueue.ts+++ b/fluxer_api/src/api/infrastructure/IAssetDeletionQueue.ts@@ -8,7 +8,8 @@ export type QueuedAssetType =| 'splash'| 'embed_splash'| 'branding'- | 'branding_backdrop';+ | 'branding_backdrop'+ | 'custom_badge';export interface QueuedAssetReference {entityType: QueuedAssetEntityType;diff --git a/fluxer_api/src/api/instance/BrandingAssetReferences.ts b/fluxer_api/src/api/instance/InstanceAssetReferences.tssimilarity index 65%rename from fluxer_api/src/api/instance/BrandingAssetReferences.tsrename to fluxer_api/src/api/instance/InstanceAssetReferences.tsindex b622e65ce..e73c2b922 100644--- a/fluxer_api/src/api/instance/BrandingAssetReferences.ts+++ b/fluxer_api/src/api/instance/InstanceAssetReferences.ts@@ -1,5 +1,7 @@// SPDX-License-Identifier: AGPL-3.0-or-later+import {trimTrailingSlash} from '@app/api/utils/UrlUtils';+export const BRANDING_ASSET_FIELDS = ['icon_url','symbol_url',@@ -14,17 +16,14 @@ export type BrandingAssetField = (typeof BRANDING_ASSET_FIELDS)[number];const BRANDING_ASSET_REFERENCE = /^branding(?:-backdrops)?\/\d{1,20}\/(?:a_)?[0-9a-f]{8}\.[a-z0-9]{2,5}$/;const BRANDING_ASSET_PATH = /\/(branding(?:-backdrops)?\/\d{1,20}\/(?:a_)?[0-9a-f]{8}\.[a-z0-9]{2,5})$/;--function trimTrailingSlashes(value: string): string {- return value.replace(/\/+$/u, '');-}+const CUSTOM_BADGE_ASSET_REFERENCE = /^custom-badges\/\d{1,20}\/(?:a_)?[0-9a-f]{8}\.[a-z0-9]{2,5}$/;export function isBrandingAssetReference(value: string): boolean {return BRANDING_ASSET_REFERENCE.test(value);}function brandingAssetReferenceFromOwnUrl(value: string, mediaEndpoint: string): string | null {- const prefix = `${trimTrailingSlashes(mediaEndpoint)}/`;+ const prefix = `${trimTrailingSlash(mediaEndpoint)}/`;if (!value.startsWith(prefix)) return null;const remainder = value.slice(prefix.length);return isBrandingAssetReference(remainder) ? remainder : null;@@ -41,11 +40,35 @@ export function brandingAssetReferenceFromAnyUrl(value: string): string | null {return BRANDING_ASSET_PATH.exec(url.pathname)?.[1] ?? null;}-export function brandingAssetStorageKey(reference: string): string {- const slash = reference.lastIndexOf('/');- const file = reference.slice(slash + 1);- const hash = file.slice(0, file.indexOf('.')).replace(/^a_/u, '');- return `${reference.slice(0, slash)}/${hash}`;+export function assetReferenceHash(reference: string): string {+ const file = reference.slice(reference.lastIndexOf('/') + 1);+ return file.slice(0, file.indexOf('.'));+}++export function assetStorageKey(reference: string): string {+ const hash = assetReferenceHash(reference).replace(/^a_/u, '');+ return `${reference.slice(0, reference.lastIndexOf('/'))}/${hash}`;+}++export function assetReferenceUrl(reference: string, mediaEndpoint: string): string {+ return `${trimTrailingSlash(mediaEndpoint)}/${reference}`;+}++export function isCustomBadgeAssetReference(value: string): boolean {+ return CUSTOM_BADGE_ASSET_REFERENCE.test(value);+}++export function customBadgeAssetReferenceFromOwnUrl(value: string, mediaEndpoint: string): string {+ const prefix = `${trimTrailingSlash(mediaEndpoint)}/`;+ const reference = value.startsWith(prefix) ? value.slice(prefix.length) : value;+ if (!isCustomBadgeAssetReference(reference)) {+ throw new Error('Uploaded custom badge image has an unexpected URL');+ }+ return reference;+}++export function customBadgeImageUrl(reference: string, mediaEndpoint: string): string {+ return `${trimTrailingSlash(mediaEndpoint)}/${reference.slice(0, reference.lastIndexOf('.'))}.webp`;}export function toStoredBrandingAsset(@@ -58,7 +81,7 @@ export function toStoredBrandingAsset(export function resolveBrandingAsset(value: string | null, mediaEndpoint: string): string | null {if (value === null || !isBrandingAssetReference(value)) return value;- return `${trimTrailingSlashes(mediaEndpoint)}/${value}`;+ return assetReferenceUrl(value, mediaEndpoint);}export function mapBrandingAssets<T extends Partial<Record<BrandingAssetField, string | null | undefined>>>(@@ -80,7 +103,7 @@ export function brandingAssetStorageKeys(const keys = new Set<string>();for (const field of BRANDING_ASSET_FIELDS) {const value = branding[field];- if (typeof value === 'string' && isBrandingAssetReference(value)) keys.add(brandingAssetStorageKey(value));+ if (typeof value === 'string' && isBrandingAssetReference(value)) keys.add(assetStorageKey(value));}return keys;}@@ -94,7 +117,7 @@ export function releasedBrandingAssetReferences(for (const field of BRANDING_ASSET_FIELDS) {const value = before[field];if (typeof value !== 'string' || !isBrandingAssetReference(value)) continue;- const key = brandingAssetStorageKey(value);+ const key = assetStorageKey(value);if (!kept.has(key) && !released.has(key)) released.set(key, value);}return [...released.values()];diff --git a/fluxer_api/src/api/instance/InstanceConfigRepository.ts b/fluxer_api/src/api/instance/InstanceConfigRepository.tsindex dfc7ba986..e7b5f71db 100644--- a/fluxer_api/src/api/instance/InstanceConfigRepository.ts+++ b/fluxer_api/src/api/instance/InstanceConfigRepository.ts@@ -22,18 +22,6 @@ import {setCachedAccountsConfig,setCachedEmailDeliveryState,} from '@app/api/instance/AccountsConfigCache';-import {- BRANDING_ASSET_FIELDS,- type BrandingAssetField,- brandingAssetReferenceFromAnyUrl,- brandingAssetStorageKey,- brandingAssetStorageKeys,- isBrandingAssetReference,- mapBrandingAssets,- releasedBrandingAssetReferences,- resolveBrandingAsset,- toStoredBrandingAsset,-} from '@app/api/instance/BrandingAssetReferences';import {getLegacyDateOfBirthCollectionDefault} from '@app/api/instance/DateOfBirthCollectionCache';import {describeIncompleteSmtpConfig,@@ -46,6 +34,19 @@ import {type StoredEmailSmtpConfig,storedSmtpTlsMode,} from '@app/api/instance/EmailDelivery';+import {+ assetStorageKey,+ BRANDING_ASSET_FIELDS,+ type BrandingAssetField,+ brandingAssetReferenceFromAnyUrl,+ brandingAssetStorageKeys,+ isBrandingAssetReference,+ isCustomBadgeAssetReference,+ mapBrandingAssets,+ releasedBrandingAssetReferences,+ resolveBrandingAsset,+ toStoredBrandingAsset,+} from '@app/api/instance/InstanceAssetReferences';import {InstanceConfigCache} from '@app/api/instance/InstanceConfigCache';import {setCachedConfiguredLegalUrls} from '@app/api/instance/LegalUrls';import {getDefaultProductName, setCachedProductName} from '@app/api/instance/ProductName';@@ -94,6 +95,7 @@ import {} from '@fluxer/constants/src/AccountIdentityConstants';import {resolveIdentifierFirst, resolveInstantAccountAvailability} from '@fluxer/constants/src/AccountTierRules';import {APIErrorCodes} from '@fluxer/constants/src/ApiErrorCodes';+import {CustomBadgeTypes} from '@fluxer/constants/src/BadgeConstants';import {resolveSmtpTlsMode, type SmtpTlsMode} from '@fluxer/constants/src/SmtpConstants';import {ConflictError} from '@fluxer/errors/src/domains/core/ConflictError';import {ServiceUnavailableError} from '@fluxer/errors/src/domains/core/ServiceUnavailableError';@@ -164,7 +166,7 @@ import {type InstanceServices,type InstanceSetup,} from '@fluxer/schema/src/domains/instance/InstanceSchemas';-import {normalizeString, SnowflakeType} from '@fluxer/schema/src/primitives/SchemaPrimitives';+import {normalizeString, SnowflakeStringType, SnowflakeType} from '@fluxer/schema/src/primitives/SchemaPrimitives';import type {IKVProvider} from '@pkgs/kv_client/src/IKVProvider';import {z} from 'zod';@@ -192,6 +194,7 @@ const INSTANCE_MEDIA_CONFIG_KEY = 'instance_media_config';const INSTANCE_BILLING_CONFIG_KEY = 'instance_billing_config';const ACCOUNT_IDENTITY_CONFIG_KEY = 'account_identity_config';const INSTANCE_NOTICE_KEY = 'instance_notice';+const CUSTOM_BADGES_CONFIG_KEY = 'custom_badges';export const INSTANCE_CONFIG_REFRESH_CHANNEL = 'instance-config-refresh';export const REGISTRATION_PENDING_APPROVAL_TRAIT = 'registration_pending_approval';export const REGISTRATION_REJECTED_TRAIT = 'registration_rejected';@@ -553,7 +556,8 @@ type StoredConfigSection =| 'SSO flags'| 'SSO allowed domains'| 'account identity'- | 'instance notice';+ | 'instance notice'+ | 'custom badges';function parseStoredConfigValue(raw: string | null, section: StoredConfigSection): unknown {if (raw === null) return {};@@ -904,6 +908,25 @@ function parseStoredExperimentDeliveryConfig(raw: string | null): ExperimentDelireturn parseStoredConfigOrDefault(ExperimentDeliveryConfigSchema, raw, 'experiment delivery');}+const StoredCustomBadgeSchema = z.object({+ id: SnowflakeStringType,+ type: z.enum([CustomBadgeTypes.USER, CustomBadgeTypes.GUILD]),+ name: z.string().min(1),+ description: z.string().min(1).nullable(),+ asset: z.string().refine(isCustomBadgeAssetReference),+ href: z.string().nullable(),+});++const StoredCustomBadgesSchema = z.object({+ badges: z.array(StoredCustomBadgeSchema).default([]),+});++export type CustomBadgeDefinition = z.infer<typeof StoredCustomBadgeSchema>;++function parseStoredCustomBadges(raw: string | null): Array<CustomBadgeDefinition> {+ return parseStoredConfigOrDefault(StoredCustomBadgesSchema, raw, 'custom badges').badges;+}+function validateStoredCollection<T>(schema: z.ZodType<T>, value: unknown, section: StoredConfigSection): Array<T> {if (!Array.isArray(value)) {throw new Error(`Stored ${section} configuration must be an array`);@@ -1588,6 +1611,7 @@ export class InstanceConfigRepository {private configCache: InstanceConfigCache;private effectiveBlueskyConfig: BlueskyOAuthConfig | null = null;private effectiveBlueskyConfigSource: string | null = null;+ private parsedCustomBadges: {raw: string | null; badges: ReadonlyArray<CustomBadgeDefinition>} | null = null;constructor(kvClient: IKVProvider | null = null) {this.kvClient = kvClient;@@ -1750,6 +1774,7 @@ export class InstanceConfigRepository {parseStoredExperimentDeliveryConfig(snapshot.get(EXPERIMENT_DELIVERY_CONFIG_KEY) ?? null);parseStoredInstancePolicyConfig(snapshot.get(INSTANCE_POLICY_CONFIG_KEY) ?? null);parseStoredInstanceNotice(snapshot.get(INSTANCE_NOTICE_KEY) ?? null);+ parseStoredCustomBadges(snapshot.get(CUSTOM_BADGES_CONFIG_KEY) ?? null);checkStoredConfig('registration', () =>parseStoredRegistrationConfig(snapshot.get(REGISTRATION_CONFIG_KEY) ?? null),);@@ -2119,6 +2144,36 @@ export class InstanceConfigRepository {);}+ async getCustomBadges(): Promise<ReadonlyArray<CustomBadgeDefinition>> {+ const raw = await this.getConfig(CUSTOM_BADGES_CONFIG_KEY);+ if (this.parsedCustomBadges?.raw !== raw) {+ this.parsedCustomBadges = {raw, badges: parseStoredCustomBadges(raw)};+ }+ return this.parsedCustomBadges.badges;+ }++ async updateCustomBadges(+ update: (current: ReadonlyArray<CustomBadgeDefinition>) => Array<CustomBadgeDefinition>,+ ): Promise<ReadonlyArray<CustomBadgeDefinition>> {+ const config = await this.updateStoredConfig(CUSTOM_BADGES_CONFIG_KEY, (raw) =>+ validateStoredConfig(+ StoredCustomBadgesSchema,+ {badges: update(parseStoredConfig(StoredCustomBadgesSchema, raw, 'custom badges').badges)},+ 'custom badges',+ ),+ );+ return config.badges;+ }++ async readStoredCustomBadgeAssetKeys(): Promise<Set<string>> {+ const cache = this.configCache;+ cache.assertActive();+ const raw = await this.fetchConfigFromDatabase(CUSTOM_BADGES_CONFIG_KEY);+ cache.assertActive();+ const {badges} = parseStoredConfig(StoredCustomBadgesSchema, raw, 'custom badges');+ return new Set(badges.map((badge) => assetStorageKey(badge.asset)));+ }+async getCaptchaConfig(): Promise<CaptchaConfig> {const raw = await this.getConfig(CAPTCHA_CONFIG_KEY);return parseStoredCaptchaConfig(raw);@@ -2483,10 +2538,7 @@ export class InstanceConfigRepository {}const candidate = brandingAssetReferenceFromAnyUrl(value);if (candidate === null) continue;- const metadata = await storageService.getObjectMetadata(- Config.s3.buckets.cdn,- brandingAssetStorageKey(candidate),- );+ const metadata = await storageService.getObjectMetadata(Config.s3.buckets.cdn, assetStorageKey(candidate));if (metadata !== null) {rewrites.set(value, candidate);}diff --git a/fluxer_api/src/api/instance/InstanceController.ts b/fluxer_api/src/api/instance/InstanceController.tsindex 0160c3852..c9277cf34 100644--- a/fluxer_api/src/api/instance/InstanceController.ts+++ b/fluxer_api/src/api/instance/InstanceController.ts@@ -8,6 +8,8 @@ import {isDiscoveryNotModified,nextDiscoveryValidators,} from '@app/api/instance/DiscoveryValidators';+import {customBadgeImageUrl} from '@app/api/instance/InstanceAssetReferences';+import type {CustomBadgeDefinition} from '@app/api/instance/InstanceConfigRepository';import {assertSetupToken} from '@app/api/instance/SetupToken';import {RateLimitMiddleware} from '@app/api/middleware/RateLimitMiddleware';import {OpenAPI} from '@app/api/middleware/ResponseTypeMiddleware';@@ -40,6 +42,7 @@ import {toDomainMigrationDiscovery} from '@fluxer/schema/src/domains/admin/Domaiimport {InstanceAccountIdentityResponse,InstanceAccountIdentityUpdateRequest,+ type InstanceGuildBadge,InstanceSetupTokenCheckRequest,WellKnownFluxerResponse,} from '@fluxer/schema/src/domains/instance/InstanceSchemas';@@ -135,6 +138,18 @@ function buildDiscoveryStaticInput(};}+function mapGuildBadgesForDiscovery(badges: ReadonlyArray<CustomBadgeDefinition>): Array<InstanceGuildBadge> {+ return badges+ .filter((badge) => badge.type === 'guild')+ .map((badge) => ({+ id: badge.id,+ name: badge.name,+ description: badge.description,+ asset_url: customBadgeImageUrl(badge.asset, Config.endpoints.media),+ href: badge.href,+ }));+}+export function InstanceController(app: Hono<HonoEnv>) {app.get('/.well-known/fluxer',@@ -168,6 +183,7 @@ export function InstanceController(app: Hono<HonoEnv>) {accounts,instantAccountAvailability,notice,+ customBadges,] = await Promise.all([instanceConfigRepository.getRegistrationPublicConfig(),instanceConfigRepository.getInstanceCommunityPublicConfig(),@@ -181,6 +197,7 @@ export function InstanceController(app: Hono<HonoEnv>) {instanceConfigRepository.getAccountsConfig(),instanceConfigRepository.getInstantAccountAvailability(),instanceConfigRepository.getActiveInstanceNotice(),+ instanceConfigRepository.getCustomBadges(),]);const lockReason =Config.instance.selfHosted && !appPublicConfig.setup.configured@@ -222,7 +239,12 @@ export function InstanceController(app: Hono<HonoEnv>) {limits,},);- const response = {...discovery, notice, domain_migration: toDomainMigrationDiscovery(domainMigration)};+ const response = {+ ...discovery,+ notice,+ domain_migration: toDomainMigrationDiscovery(domainMigration),+ guild_badges: mapGuildBadgesForDiscovery(customBadges),+ };discoveryValidators = nextDiscoveryValidators(response, discoveryValidators);ctx.header('ETag', discoveryValidators.etag);ctx.header('Last-Modified', discoveryValidators.lastModified.toUTCString());diff --git a/fluxer_api/src/api/models/Guild.ts b/fluxer_api/src/api/models/Guild.tsindex 558af2735..1cacb0847 100644--- a/fluxer_api/src/api/models/Guild.ts+++ b/fluxer_api/src/api/models/Guild.ts@@ -31,6 +31,7 @@ export class Guild {readonly embedSplashWidth: number | null;readonly embedSplashHeight: number | null;readonly features: Set<string>;+ readonly badgeIds: ReadonlySet<bigint>;readonly verificationLevel: GuildVerificationLevelValue;readonly mfaLevel: GuildMFALevelValue;readonly nsfwLevel: GuildNSFWLevelValue;@@ -69,6 +70,7 @@ export class Guild {this.embedSplashWidth = row.embed_splash_width ?? null;this.embedSplashHeight = row.embed_splash_height ?? null;this.features = row.features ?? new Set();+ this.badgeIds = row.badge_ids ?? new Set();this.verificationLevel = Math.min(row.verification_level ?? 0,GuildVerificationLevel.HIGH,@@ -112,6 +114,7 @@ export class Guild {embed_splash_width: this.embedSplashWidth,embed_splash_height: this.embedSplashHeight,features: this.features.size > 0 ? this.features : null,+ badge_ids: this.badgeIds.size > 0 ? new Set(this.badgeIds) : null,verification_level: this.verificationLevel,mfa_level: this.mfaLevel,nsfw_level: this.nsfwLevel,diff --git a/fluxer_api/src/api/models/User.ts b/fluxer_api/src/api/models/User.tsindex d79183421..f6741ef5c 100644--- a/fluxer_api/src/api/models/User.ts+++ b/fluxer_api/src/api/models/User.ts@@ -4,8 +4,10 @@ import type {UserID} from '@app/api/BrandedTypes';import {LocalDate} from '@app/api/database/LocalDate';import type {UserRow} from '@app/api/database/types/UserTypes';import {checkIsPremium, getEffectivePremiumUntil} from '@app/api/user/UserHelpers';+import {isProfileBadgeKey, type ProfileBadgeKey} from '@fluxer/constants/src/BadgeConstants';import {extractPremiumFlagsFromLegacyUserFlags,+ legacyHiddenProfileBadges,type MentionReplyPreference,ProfileFieldPrivacyFlags,type UserAuthenticatorType,@@ -69,6 +71,8 @@ export class User {readonly contentHiddenSince: Date | null;readonly acls: Set<string>;private readonly _traits: Set<string>;+ readonly badgeIds: ReadonlySet<bigint>;+ readonly hiddenProfileBadges: ReadonlySet<ProfileBadgeKey>;readonly lastRefundAt: Date | null;readonly giftInventoryServerSeq: number | null;readonly giftInventoryClientSeq: number | null;@@ -135,6 +139,11 @@ export class User {this.contentHiddenSince = row.content_hidden_since ?? null;this.acls = row.acls ?? new Set();this._traits = row.traits ?? new Set();+ this.badgeIds = row.badge_ids ?? new Set();+ this.hiddenProfileBadges = new Set([+ ...[...(row.hidden_profile_badges ?? [])].filter(isProfileBadgeKey),+ ...legacyHiddenProfileBadges(rawFlags, this.premiumFlags),+ ]);this.lastRefundAt = row.first_refund_at ?? null;this.giftInventoryServerSeq = row.gift_inventory_server_seq ?? null;this.giftInventoryClientSeq = row.gift_inventory_client_seq ?? null;@@ -214,6 +223,8 @@ export class User {content_hidden_since: this.contentHiddenSince,acls: this.acls.size > 0 ? this.acls : null,traits: this._traits.size > 0 ? this._traits : null,+ badge_ids: this.badgeIds.size > 0 ? new Set(this.badgeIds) : null,+ hidden_profile_badges: this.hiddenProfileBadges.size > 0 ? new Set(this.hiddenProfileBadges) : null,first_refund_at: this.lastRefundAt,gift_inventory_server_seq: this.giftInventoryServerSeq,gift_inventory_client_seq: this.giftInventoryClientSeq,diff --git a/fluxer_api/src/api/openapi/openapi.json b/fluxer_api/src/api/openapi/openapi.jsonindex a8085a747..f60ad88e9 100644--- a/fluxer_api/src/api/openapi/openapi.json+++ b/fluxer_api/src/api/openapi/openapi.json@@ -27066,6 +27066,12 @@"description": "ISO8601 timestamp of when the user got the Operator Pass, or null when absent or hidden. Older servers omit it","type": ["string", "null"]},+ "hidden_profile_badge_count": {+ "description": "How many of the badges you hold are hidden from other people. Only present on your own profile",+ "type": "integer",+ "minimum": -9007199254740991,+ "maximum": 9007199254740991+ },"mutual_friends": {"description": "Array of mutual friends","type": "array",@@ -27222,9 +27228,14 @@"type": "boolean","description": "Whether the user selected a premium-only discriminator that will be rerolled when non-lifetime premium access ends"},+ "hidden_profile_badges": {+ "type": "array",+ "items": {"type": "string"},+ "description": "Keys of the badges hidden from other people, as in the key field of a profile badge"+ },"premium_badge_hidden": {"type": "boolean",- "description": "Whether the premium badge is hidden on the profile"+ "description": "Deprecated, use hidden_profile_badges. Whether the premium badge held is in that list"},"premium_badge_masked": {"type": "boolean",@@ -27236,7 +27247,7 @@},"premium_badge_sequence_hidden": {"type": "boolean",- "description": "Whether the lifetime sequence number is hidden"+ "description": "Deprecated, use hidden_profile_badges. Whether visionary_number is in that list"},"premium_purchase_disabled": {"type": "boolean",@@ -27251,7 +27262,7 @@"description": "Whether premium perks are temporarily disabled for this account"},"operator_pass_badge_hidden": {- "description": "Whether the Operator Pass badge is hidden from other people. Only present on the current user response. Older servers omit it",+ "description": "Deprecated, use hidden_profile_badges. Whether operator_pass is in that list. Only present on the current user response. Older servers omit it","type": "boolean"},"operator_pass_badge_timestamp_hidden": {@@ -27380,6 +27391,7 @@"premium_lifetime_sequence","premium_grace_ends_at","premium_discriminator",+ "hidden_profile_badges","premium_badge_hidden","premium_badge_masked","premium_badge_timestamp_hidden",@@ -28100,17 +28112,12 @@"ProfileBadgePreviewRequest": {"type": "object","properties": {- "premium_badge_hidden": {"description": "Preview with the premium badge hidden", "type": "boolean"},+ "hidden_profile_badges": {"$ref": "#/components/schemas/HiddenProfileBadgesType"},"premium_badge_masked": {"description": "Preview with the premium badge masked", "type": "boolean"},"premium_badge_timestamp_hidden": {"description": "Preview with the premium badge date hidden","type": "boolean"},- "premium_badge_sequence_hidden": {"description": "Preview with the Visionary ID hidden", "type": "boolean"},- "operator_pass_badge_hidden": {- "description": "Preview with the Operator Pass badge hidden, or shown when false",- "type": "boolean"- },"operator_pass_badge_timestamp_hidden": {"description": "Preview with the month and year the Operator Pass was first held hidden","type": "boolean"@@ -28118,13 +28125,26 @@"operator_pass_badge_count_hidden": {"description": "Preview with the number of Operator Passes held hidden","type": "boolean"- }+ },+ "premium_badge_hidden": {"description": "Deprecated, use hidden_profile_badges", "type": "boolean"},+ "premium_badge_sequence_hidden": {"description": "Deprecated, use hidden_profile_badges", "type": "boolean"},+ "operator_pass_badge_hidden": {"description": "Deprecated, use hidden_profile_badges", "type": "boolean"}}},"ProfileBadgePreviewResponse": {"type": "object",- "properties": {"profile_badges": {"$ref": "#/components/schemas/ProfileBadgeListResponse"}},- "required": ["profile_badges"],+ "properties": {+ "profile_badges": {+ "description": "The badges other people would see with these settings",+ "$ref": "#/components/schemas/ProfileBadgeListResponse"+ },+ "own_badges": {+ "type": "array",+ "items": {"$ref": "#/components/schemas/OwnProfileBadgeResponse"},+ "description": "Every badge you hold, in display order, with whether these settings hide it"+ }+ },+ "required": ["profile_badges", "own_badges"],"additionalProperties": false},"PreloadMessagesRequest": {@@ -29580,6 +29600,10 @@"items": {"$ref": "#/components/schemas/GuildFeatureSchema"},"description": "Array of guild feature flags"},+ "badge_ids": {+ "description": "IDs of the custom badges assigned to the community. Look them up in guild_badges of the instance discovery document and skip IDs that are not there",+ "$ref": "#/components/schemas/CustomBadgeIdListResponse"+ },"verification_level": {"$ref": "#/components/schemas/GuildVerificationLevel","description": "Required verification level for members to participate"@@ -29673,6 +29697,7 @@"system_channel_flags","afk_timeout","features",+ "badge_ids","verification_level","mfa_level","nsfw_level",@@ -30356,16 +30381,23 @@"type": ["string", "null"]},"timezone_privacy_flags": {"$ref": "#/components/schemas/ProfileFieldPrivacyFlags"},- "premium_badge_hidden": {"type": "boolean", "description": "Whether to hide the premium badge"},+ "hidden_profile_badges": {"$ref": "#/components/schemas/HiddenProfileBadgesType"},+ "premium_badge_hidden": {+ "type": "boolean",+ "description": "Deprecated, use hidden_profile_badges. true adds plutonium, visionary and premium to the list, and false removes them"+ },"premium_badge_masked": {"type": "boolean", "description": "Whether to mask the premium badge"},"premium_badge_timestamp_hidden": {"type": "boolean","description": "Whether to hide premium badge timestamp"},- "premium_badge_sequence_hidden": {"type": "boolean", "description": "Whether to hide premium badge sequence"},+ "premium_badge_sequence_hidden": {+ "type": "boolean",+ "description": "Deprecated, use hidden_profile_badges. true adds visionary_number to the list, and false removes it"+ },"operator_pass_badge_hidden": {"type": "boolean",- "description": "Whether to hide the Operator Pass badge from other people. Either value replaces the default"+ "description": "Deprecated, use hidden_profile_badges. true adds operator_pass to the list, and false removes it"},"operator_pass_badge_timestamp_hidden": {"type": "boolean",@@ -30507,9 +30539,14 @@"type": "boolean","description": "Whether the user selected a premium-only discriminator that will be rerolled when non-lifetime premium access ends"},+ "hidden_profile_badges": {+ "type": "array",+ "items": {"type": "string"},+ "description": "Keys of the badges hidden from other people, as in the key field of a profile badge"+ },"premium_badge_hidden": {"type": "boolean",- "description": "Whether the premium badge is hidden on the profile"+ "description": "Deprecated, use hidden_profile_badges. Whether the premium badge held is in that list"},"premium_badge_masked": {"type": "boolean",@@ -30521,7 +30558,7 @@},"premium_badge_sequence_hidden": {"type": "boolean",- "description": "Whether the lifetime sequence number is hidden"+ "description": "Deprecated, use hidden_profile_badges. Whether visionary_number is in that list"},"premium_purchase_disabled": {"type": "boolean",@@ -30536,7 +30573,7 @@"description": "Whether premium perks are temporarily disabled for this account"},"operator_pass_badge_hidden": {- "description": "Whether the Operator Pass badge is hidden from other people. Only present on the current user response. Older servers omit it",+ "description": "Deprecated, use hidden_profile_badges. Whether operator_pass is in that list. Only present on the current user response. Older servers omit it","type": "boolean"},"operator_pass_badge_timestamp_hidden": {@@ -30673,6 +30710,7 @@"premium_lifetime_sequence","premium_grace_ends_at","premium_discriminator",+ "hidden_profile_badges","premium_badge_hidden","premium_badge_masked","premium_badge_timestamp_hidden",@@ -34429,6 +34467,10 @@"member_count": {"type": "number", "description": "Approximate member count"},"online_count": {"type": "number", "description": "Approximate online member count"},"features": {"type": "array", "items": {"type": "string"}, "description": "Guild feature flags"},+ "badge_ids": {+ "description": "IDs of the custom badges assigned to the community",+ "$ref": "#/components/schemas/CustomBadgeIdListResponse"+ },"verification_level": {"type": "number", "description": "Verification level"},"visits_enabled": {"type": "boolean",@@ -34444,6 +34486,7 @@"member_count","online_count","features",+ "badge_ids","verification_level"],"additionalProperties": false@@ -37270,6 +37313,12 @@"domain_migration": {"description": "Web domain migration switch and anonymous rollout, only acted on by official instance clients","$ref": "#/components/schemas/DomainMigrationDiscoveryResponse"+ },+ "guild_badges": {+ "description": "Custom badges that communities on this instance can show next to their name, in display order",+ "maxItems": 10,+ "type": "array",+ "items": {"$ref": "#/components/schemas/InstanceGuildBadgeSchema"}}},"required": [@@ -37288,6 +37337,24 @@],"additionalProperties": false},+ "InstanceGuildBadgeSchema": {+ "type": "object",+ "properties": {+ "id": {+ "description": "The ID of the badge, as listed in badge_ids of a community",+ "$ref": "#/components/schemas/SnowflakeStringType"+ },+ "name": {"type": "string", "description": "The name of the badge"},+ "description": {+ "description": "Text shown under the name when hovering over the badge, or null",+ "type": ["string", "null"]+ },+ "asset_url": {"type": "string", "description": "URL of the badge image, served as WebP by the media proxy"},+ "href": {"description": "URL opened when the badge is clicked, or null", "type": ["string", "null"]}+ },+ "required": ["id", "name", "description", "asset_url", "href"],+ "additionalProperties": false+ },"DomainMigrationDiscoveryResponse": {"type": "object","properties": {@@ -37891,6 +37958,7 @@"description": "Age policy for one region"},"InstanceAgePolicyActionSchema": {"type": "string", "enum": ["restrict", "block"]},+ "SnowflakeStringType": {"type": "string", "pattern": "^(0|[1-9][0-9]*)$", "format": "snowflake"},"BotFlags": {"type": "integer","minimum": 0,@@ -37914,7 +37982,6 @@"x-enumNames": ["TOTP", "WEBAUTHN"],"x-enumDescriptions": ["Time-based one-time password authenticator", "WebAuthn authenticator"]},- "SnowflakeStringType": {"type": "string", "pattern": "^(0|[1-9][0-9]*)$", "format": "snowflake"},"MentionReplyPreferences": {"description": "Reply mention preference","type": "integer",@@ -38758,6 +38825,10 @@"items": {"$ref": "#/components/schemas/GuildFeatureSchema"},"description": "Array of guild feature flags"},+ "badge_ids": {+ "description": "IDs of the custom badges assigned to the community. Look them up in guild_badges of the instance discovery document and skip IDs that are not there",+ "$ref": "#/components/schemas/CustomBadgeIdListResponse"+ },"visits_enabled": {"type": "boolean","description": "Whether opening this invite starts a visit instead of a join for the requesting user. Omitted for a caller outside the guild visits experiment",@@ -38889,15 +38960,25 @@"items": {"$ref": "#/components/schemas/GuildFeatureSchema"},"description": "Array of guild feature flags"},+ "badge_ids": {+ "description": "IDs of the custom badges assigned to the community. Look them up in guild_badges of the instance discovery document and skip IDs that are not there",+ "$ref": "#/components/schemas/CustomBadgeIdListResponse"+ },"visits_enabled": {"type": "boolean","description": "Whether opening this invite starts a visit instead of a join for the requesting user. Omitted for a caller outside the guild visits experiment","x-fluxer-experiment": "guild_visits"}},- "required": ["id", "name", "splash_card_alignment", "features"],+ "required": ["id", "name", "splash_card_alignment", "features", "badge_ids"],"additionalProperties": false},+ "CustomBadgeIdListResponse": {+ "maxItems": 10,+ "type": "array",+ "items": {"$ref": "#/components/schemas/SnowflakeStringType"},+ "description": "IDs of the custom badges assigned to it"+ },"GuildFeatureSchema": {"description": "A guild feature flag Known values: ANIMATED_ICON, ANIMATED_BANNER, AUDIO_BITRATE_128_KBPS, AUDIO_BITRATE_256_KBPS, AUDIO_BITRATE_384_KBPS, BANNER, CLONE_EMOJI_DISABLED, CLONE_EMOJI_ENABLED, CLONE_STICKER_DISABLED, CLONE_STICKER_ENABLED, DETACHED_BANNER, INVITE_SPLASH, INVITES_DISABLED, RAID_DETECTED, TEXT_CHANNEL_FLEXIBLE_NAMES, HIDE_OWNER_CROWN, MORE_EMOJI, MORE_STICKERS, UNLIMITED_EMOJI, UNLIMITED_STICKERS, EXPRESSION_PURGE_ALLOWED, VANITY_URL, DISCOVERABLE, PARTNERED, VERIFIED, VIP_VOICE, VOICE_E2EE, UNAVAILABLE_FOR_EVERYONE, UNAVAILABLE_FOR_EVERYONE_BUT_STAFF, UNAVAILABLE_HIDDEN, VISIONARY, LARGE_GUILD_OVERRIDE, VERY_LARGE_GUILD, ANNOUNCEMENT_CHANNELS_DISABLED, VISITS_ENABLED (other values allowed)","x-enumNames": [@@ -43705,6 +43786,15 @@}]},+ "HiddenProfileBadgesType": {+ "maxItems": 18,+ "type": "array",+ "items": {+ "type": "string",+ "description": "A badge key: a built-in badge kind, or custom:{id} for a custom badge"+ },+ "description": "The full list of badge keys to hide from other people. It replaces the stored list, takes precedence over the deprecated hide fields, and keys of custom badges that no longer exist are dropped"+ },"ConfirmEmailClaimAccountResponse": {"type": "object","properties": {@@ -44031,6 +44121,80 @@"required": ["status"],"additionalProperties": false},+ "OwnProfileBadgeResponse": {+ "type": "object",+ "properties": {+ "key": {+ "type": "string",+ "description": "Stable identity of the badge. It equals kind for built-in badges and is custom:{id} for custom badges, so use it as the list key"+ },+ "kind": {+ "type": "string",+ "description": "Badge type. Known values: staff, partner, bug_hunter, operator_pass, visionary, visionary_number, plutonium, custom, and premium on self-hosted instances. Clients must render unknown values from the other fields."+ },+ "label": {+ "type": "string",+ "description": "Full badge description, localized for the viewer. Use it as the tooltip, and as alt text when there is no caption"+ },+ "asset": {+ "anyOf": [{"$ref": "#/components/schemas/HexString16Type"}, {"type": "null"}],+ "description": "Badge image hash. The image is served at {static_cdn}/badges/{asset}.webp. Null for text badges and for badges with asset_url"+ },+ "asset_url": {+ "description": "Absolute image URL for a badge whose image is not a static badge hash, such as a custom badge. Null otherwise",+ "type": ["string", "null"]+ },+ "small_asset": {+ "description": "Image hash drawn for 20 pixels and smaller, served like asset. Use it instead of asset at those sizes. Absent when asset reads well small",+ "$ref": "#/components/schemas/HexString16Type"+ },+ "aspect_ratio": {+ "anyOf": [{"type": "number", "exclusiveMinimum": 0}, {"type": "null"}],+ "description": "Image width divided by its height. Render the image at the badge height and this many times as wide. Null for square badges"+ },+ "caption": {+ "description": "Short text for the badge, such as #42. A badge with an image uses it as alt text, and a badge without one shows it as text. Null when the label covers it",+ "type": ["string", "null"]+ },+ "href": {+ "description": "Absolute URL to open when the badge is clicked, or null",+ "type": ["string", "null"]+ },+ "count": {+ "description": "How many passes the badge stands for, from 2. The badge art already carries the number, so clients never draw it on top. Absent below 2 and when the holder hides the number from other people",+ "anyOf": [{"type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991}, {"type": "null"}]+ },+ "accessible_label": {+ "description": "Label for screen readers with the full count, used instead of label when present",+ "type": ["string", "null"]+ },+ "details": {+ "description": "Content for the richer vertical tooltip, null or absent when label is the whole tooltip",+ "anyOf": [+ {+ "type": "object",+ "properties": {+ "title": {"type": "string", "description": "First line of the tooltip under the larger badge art"},+ "lines": {+ "type": "array",+ "items": {"type": "string"},+ "description": "Further tooltip lines, in order"+ }+ },+ "required": ["title", "lines"],+ "additionalProperties": false+ },+ {"type": "null"}+ ]+ },+ "hidden": {+ "type": "boolean",+ "description": "True when the badge key is in your hidden_profile_badges, so other people do not see it"+ }+ },+ "required": ["key", "kind", "label", "asset", "asset_url", "aspect_ratio", "caption", "href", "hidden"],+ "additionalProperties": false+ },"ProfileBadgeListResponse": {"type": "array","items": {"$ref": "#/components/schemas/ProfileBadgeResponse"},@@ -44039,9 +44203,13 @@"ProfileBadgeResponse": {"type": "object","properties": {+ "key": {+ "type": "string",+ "description": "Stable identity of the badge. It equals kind for built-in badges and is custom:{id} for custom badges, so use it as the list key"+ },"kind": {"type": "string",- "description": "Stable badge key. Known values: staff, partner, bug_hunter, operator_pass, visionary, visionary_number, plutonium, and premium on self-hosted instances. Clients must render unknown values from the other fields."+ "description": "Badge type. Known values: staff, partner, bug_hunter, operator_pass, visionary, visionary_number, plutonium, custom, and premium on self-hosted instances. Clients must render unknown values from the other fields."},"label": {"type": "string",@@ -44049,7 +44217,11 @@},"asset": {"anyOf": [{"$ref": "#/components/schemas/HexString16Type"}, {"type": "null"}],- "description": "Badge image hash. The image is served at {static_cdn}/badges/{asset}.webp. Null for text badges"+ "description": "Badge image hash. The image is served at {static_cdn}/badges/{asset}.webp. Null for text badges and for badges with asset_url"+ },+ "asset_url": {+ "description": "Absolute image URL for a badge whose image is not a static badge hash, such as a custom badge. Null otherwise",+ "type": ["string", "null"]},"small_asset": {"description": "Image hash drawn for 20 pixels and smaller, served like asset. Use it instead of asset at those sizes. Absent when asset reads well small",@@ -44095,7 +44267,7 @@]}},- "required": ["kind", "label", "asset", "aspect_ratio", "caption", "href"],+ "required": ["key", "kind", "label", "asset", "asset_url", "aspect_ratio", "caption", "href"],"additionalProperties": false},"HexString16Type": {"type": "string", "pattern": "^[a-f0-9]{16}$"},@@ -44640,6 +44812,7 @@"IP_BAN_DECLINED","IP_BAN_LINKED_TO_DECISION","MAX_APPLICATIONS",+ "MAX_BADGES","MAX_BOOKMARKS","MAX_ACTIVE_THREADS","MAX_CATEGORY_CHANNELS",@@ -44787,6 +44960,7 @@"UNCLAIMED_ACCOUNT_CANNOT_SEND_FRIEND_REQUESTS","UNCLAIMED_ACCOUNT_CANNOT_SEND_MESSAGES","UNCLAIMED_ACCOUNT_CANNOT_SUBMIT_REPORTS",+ "UNKNOWN_BADGE","UNKNOWN_CHANNEL","UNKNOWN_EMOJI","UNKNOWN_ENFORCEMENT_DECISION",@@ -45002,6 +45176,7 @@"This IP address cannot be added to the blocklist.","This network block belongs to an enforcement decision. End the decision to remove it.","You've reached the maximum of {limit, plural, one {# application} other {# applications}}.",+ "You've reached the maximum of {count, plural, one {# badge} other {# badges}} for this type.","You've reached the maximum of {count, plural, one {# bookmark} other {# bookmarks}}.","This community has reached its active thread limit of {count}.","You've reached the maximum of {count, plural, one {# category channel} other {# category channels}}.",@@ -45149,6 +45324,7 @@"Claim your account to send friend requests.","Claim your account to send messages.","Claim your account to submit reports.",+ "Badge wasn't found.","Channel wasn't found.","Unknown emoji.","Unknown enforcement decision.",diff --git a/fluxer_api/src/api/operator_pass/OperatorPassEntitlementService.ts b/fluxer_api/src/api/operator_pass/OperatorPassEntitlementService.tsindex cb9f6a65b..064848457 100644--- a/fluxer_api/src/api/operator_pass/OperatorPassEntitlementService.ts+++ b/fluxer_api/src/api/operator_pass/OperatorPassEntitlementService.ts@@ -8,7 +8,6 @@ import type {User} from '@app/api/models/User';import type {OperatorPassRepository} from '@app/api/operator_pass/OperatorPassRepository';import {operatorPassNow} from '@app/api/operator_pass/OperatorPassSchedule';import {- isOperatorPassBadgeHidden,isOperatorPassCountHidden,isOperatorPassTimestampHidden,} from '@app/api/user/profile_badges/PremiumBadgeMasking';@@ -111,7 +110,7 @@ export function operatorPassPrivateFields(> {return {operator_pass_since: holder?.since.toISOString() ?? null,- operator_pass_badge_hidden: isOperatorPassBadgeHidden(user.premiumFlags),+ operator_pass_badge_hidden: user.hiddenProfileBadges.has('operator_pass'),operator_pass_badge_timestamp_hidden: isOperatorPassTimestampHidden(user.premiumFlags),operator_pass_badge_count_hidden: isOperatorPassCountHidden(user.premiumFlags),};@@ -131,7 +130,7 @@ export function profileOperatorPassSince(params: {const holder = resolveOperatorPassHolder(state);if (!holder ||- (!isOwner && (isOperatorPassBadgeHidden(user.premiumFlags) || isOperatorPassTimestampHidden(user.premiumFlags)))+ (!isOwner && (user.hiddenProfileBadges.has('operator_pass') || isOperatorPassTimestampHidden(user.premiumFlags)))) {return null;}diff --git a/fluxer_api/src/api/search/guild/GuildSearchSerializer.ts b/fluxer_api/src/api/search/guild/GuildSearchSerializer.tsindex fc6898ceb..cd4fffd04 100644--- a/fluxer_api/src/api/search/guild/GuildSearchSerializer.ts+++ b/fluxer_api/src/api/search/guild/GuildSearchSerializer.ts@@ -34,6 +34,7 @@ export function convertToSearchableGuild(guild: Guild, discovery?: GuildDiscoverbannerHash: guild.bannerHash,splashHash: guild.splashHash,features: Array.from(guild.features),+ badgeIds: Array.from(guild.badgeIds, String),verificationLevel: getEffectiveGuildVerificationLevel(guild.verificationLevel, isDiscoverable),mfaLevel: guild.mfaLevel,nsfwLevel: guild.nsfwLevel,diff --git a/fluxer_api/src/api/test/NoopGatewayService.ts b/fluxer_api/src/api/test/NoopGatewayService.tsindex fe3d0d704..0e407caae 100644--- a/fluxer_api/src/api/test/NoopGatewayService.ts+++ b/fluxer_api/src/api/test/NoopGatewayService.ts@@ -67,6 +67,7 @@ function createDummyGuildResponse(params: {guildId: GuildID; userId: UserID}): Gafk_channel_id: null,afk_timeout: 60,features: [],+ badge_ids: [],verification_level: 0,mfa_level: 0,nsfw_level: 0,diff --git a/fluxer_api/src/api/user/UserHelpers.ts b/fluxer_api/src/api/user/UserHelpers.tsindex 98508054f..6a37d580d 100644--- a/fluxer_api/src/api/user/UserHelpers.ts+++ b/fluxer_api/src/api/user/UserHelpers.ts@@ -58,6 +58,7 @@ const FIELDS_CLEARED_ON_DELETION = ['date_of_birth','locale','premium_flags',+ 'hidden_profile_badges','premium_type','premium_since','premium_until',diff --git a/fluxer_api/src/api/user/UserMappers.ts b/fluxer_api/src/api/user/UserMappers.tsindex 8a3db0cb7..f5c222964 100644--- a/fluxer_api/src/api/user/UserMappers.ts+++ b/fluxer_api/src/api/user/UserMappers.ts@@ -1,6 +1,7 @@// SPDX-License-Identifier: AGPL-3.0-or-laterimport {createGuildID, type UserID} from '@app/api/BrandedTypes';+import {Config} from '@app/api/Config';import {stripAvatarForUser, stripBannerForUser} from '@app/api/infrastructure/AssetEntitlementUtils';import type {IGatewayService} from '@app/api/infrastructure/IGatewayService';import {resolveEffectiveUserTraits} from '@app/api/limits/EffectiveUserTraits';@@ -21,6 +22,7 @@ import {} from '@app/api/user/AccountTier';import {isDateOfBirthMissing} from '@app/api/user/DateOfBirth';import {hiddenUserPartial, isProfileHidden} from '@app/api/user/ProfileVisibility';+import {deprecatedBadgeHideFields} from '@app/api/user/profile_badges/HiddenProfileBadges';import {canUserAccessNsfwContent} from '@app/api/utils/AgeUtils';import {AccountTiers} from '@fluxer/constants/src/AccountTierConstants';import type {ChannelMessageNotifications} from '@fluxer/constants/src/NotificationConstants';@@ -32,6 +34,7 @@ import {type GuildFolderIcon,PremiumFlags,PUBLIC_USER_FLAGS,+ stripHiddenProfileBadgeFlags,UNCATEGORIZED_FOLDER_ID,type UserAuthenticatorType,UserAuthenticatorTypes,@@ -48,15 +51,8 @@ import type {UserSettingsResponse,} from '@fluxer/schema/src/domains/user/UserResponseSchemas';-const PUBLIC_USER_FLAGS_WITHOUT_STAFF = PUBLIC_USER_FLAGS & ~UserFlags.STAFF;--function getVisiblePublicUserFlags(userFlags: bigint): bigint {- return (userFlags & UserFlags.STAFF_HIDDEN) !== 0n ? PUBLIC_USER_FLAGS_WITHOUT_STAFF : PUBLIC_USER_FLAGS;-}-function mapUserFlagsToPublicBitfield(user: User): number {- const flags = user.flags ?? 0n;- return Number(flags & getVisiblePublicUserFlags(flags));+ return Number(stripHiddenProfileBadgeFlags(user.flags ?? 0n, user.hiddenProfileBadges) & PUBLIC_USER_FLAGS);}export function getActiveAuthenticatorTypes(user: User): Array<UserAuthenticatorType> {@@ -148,6 +144,7 @@ export function mapUserToPrivateResponse(user: User): UserPrivateResponse {const traits = Array.from(resolveEffectiveUserTraits(user.traits, isActuallyPremium)).sort();const authenticatorTypes = getActiveAuthenticatorTypes(user);const accountTier = getAccountTier(user);+ const deprecatedHideFields = deprecatedBadgeHideFields(user, Config.instance.selfHosted);return {...partialResponse,flags: mapUserFlagsToPublicBitfield(user),@@ -175,10 +172,11 @@ export function mapUserToPrivateResponse(user: User): UserPrivateResponse {premium_lifetime_sequence: user.premiumLifetimeSequence ?? null,premium_grace_ends_at: user.premiumGraceEndsAt?.toISOString() ?? null,premium_discriminator: !!(user.premiumFlags & PremiumFlags.DISCRIMINATOR),- premium_badge_hidden: !!(user.premiumFlags & PremiumFlags.BADGE_HIDDEN),+ hidden_profile_badges: [...user.hiddenProfileBadges].sort(),+ premium_badge_hidden: deprecatedHideFields.premium_badge_hidden,premium_badge_masked: !!(user.premiumFlags & PremiumFlags.BADGE_MASKED),premium_badge_timestamp_hidden: !!(user.premiumFlags & PremiumFlags.BADGE_TIMESTAMP_HIDDEN),- premium_badge_sequence_hidden: !!(user.premiumFlags & PremiumFlags.BADGE_SEQUENCE_HIDDEN),+ premium_badge_sequence_hidden: deprecatedHideFields.premium_badge_sequence_hidden,premium_purchase_disabled: !!(user.premiumFlags & PremiumFlags.PURCHASE_DISABLED),premium_enabled_override: !!(user.premiumFlags & PremiumFlags.ENABLED_OVERRIDE),premium_perks_disabled: !!(user.premiumFlags & PremiumFlags.PERKS_DISABLED),diff --git a/fluxer_api/src/api/user/profile_badges/HiddenProfileBadges.ts b/fluxer_api/src/api/user/profile_badges/HiddenProfileBadges.tsnew file mode 100644index 000000000..75f35c130--- /dev/null+++ b/fluxer_api/src/api/user/profile_badges/HiddenProfileBadges.ts@@ -0,0 +1,77 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import type {CustomBadgeDefinition} from '@app/api/instance/InstanceConfigRepository';+import type {User} from '@app/api/models/User';+import {heldPremiumBadgeKind} from '@app/api/user/profile_badges/PremiumBadgeMasking';+import {getBadgePremiumType} from '@app/api/user/UserHelpers';+import {+ CustomBadgeTypes,+ customBadgeIdFromProfileBadgeKey,+ PREMIUM_PROFILE_BADGE_KINDS,+ type ProfileBadgeKey,+ type ProfileBadgeKind,+} from '@fluxer/constants/src/BadgeConstants';++export interface HiddenProfileBadgeChanges {+ hidden_profile_badges?: Array<ProfileBadgeKey>;+ premium_badge_hidden?: boolean;+ premium_badge_sequence_hidden?: boolean;+ operator_pass_badge_hidden?: boolean;+}++const DEPRECATED_HIDE_FIELDS: ReadonlyArray<{+ field: 'premium_badge_hidden' | 'premium_badge_sequence_hidden' | 'operator_pass_badge_hidden';+ kinds: ReadonlyArray<ProfileBadgeKind>;+}> = [+ {field: 'premium_badge_hidden', kinds: PREMIUM_PROFILE_BADGE_KINDS},+ {field: 'premium_badge_sequence_hidden', kinds: ['visionary_number']},+ {field: 'operator_pass_badge_hidden', kinds: ['operator_pass']},+];++export function resolveHiddenProfileBadges(+ current: ReadonlySet<ProfileBadgeKey>,+ changes: HiddenProfileBadgeChanges,+): Set<ProfileBadgeKey> | null {+ if (changes.hidden_profile_badges !== undefined) return new Set(changes.hidden_profile_badges);+ if (DEPRECATED_HIDE_FIELDS.every(({field}) => changes[field] === undefined)) return null;+ const next = new Set(current);+ for (const {field, kinds} of DEPRECATED_HIDE_FIELDS) {+ const hide = changes[field];+ if (hide === undefined) continue;+ for (const kind of kinds) {+ if (hide) next.add(kind);+ else next.delete(kind);+ }+ }+ return next;+}++export function dropUndefinedCustomBadgeKeys(+ hidden: ReadonlySet<ProfileBadgeKey>,+ customBadges: ReadonlyArray<CustomBadgeDefinition>,+): Set<ProfileBadgeKey> {+ const userBadgeIds = new Set(+ customBadges.filter((badge) => badge.type === CustomBadgeTypes.USER).map((badge) => badge.id),+ );+ return new Set(+ [...hidden].filter((key) => {+ const id = customBadgeIdFromProfileBadgeKey(key);+ return id === null || userBadgeIds.has(id);+ }),+ );+}++export function deprecatedBadgeHideFields(+ user: Pick<User, 'hiddenProfileBadges' | 'premiumType' | 'premiumFlags'>,+ selfHosted: boolean,+): Required<Omit<HiddenProfileBadgeChanges, 'hidden_profile_badges'>> {+ const hidden = user.hiddenProfileBadges;+ const heldKind = heldPremiumBadgeKind(getBadgePremiumType(user), selfHosted);+ return {+ premium_badge_hidden: heldKind+ ? hidden.has(heldKind)+ : PREMIUM_PROFILE_BADGE_KINDS.every((kind) => hidden.has(kind)),+ premium_badge_sequence_hidden: hidden.has('visionary_number'),+ operator_pass_badge_hidden: hidden.has('operator_pass'),+ };+}diff --git a/fluxer_api/src/api/user/profile_badges/PremiumBadgeMasking.ts b/fluxer_api/src/api/user/profile_badges/PremiumBadgeMasking.tsindex 5cd6382e1..c7d779c1c 100644--- a/fluxer_api/src/api/user/profile_badges/PremiumBadgeMasking.ts+++ b/fluxer_api/src/api/user/profile_badges/PremiumBadgeMasking.ts@@ -2,6 +2,7 @@import type {User} from '@app/api/models/User';import {getBadgePremiumType} from '@app/api/user/UserHelpers';+import type {ProfileBadgeKey, ProfileBadgeKind} from '@fluxer/constants/src/BadgeConstants';import {PremiumFlags, type UserPremiumType, UserPremiumTypes} from '@fluxer/constants/src/UserConstants';export interface VisiblePremiumBadge {@@ -10,45 +11,47 @@ export interface VisiblePremiumBadge {premiumLifetimeSequence?: number;}+export function heldPremiumBadgeKind(+ premiumType: UserPremiumType | undefined,+ selfHosted: boolean,+): ProfileBadgeKind | null {+ if (premiumType === undefined || premiumType === UserPremiumTypes.NONE) return null;+ if (selfHosted) return 'premium';+ return premiumType === UserPremiumTypes.LIFETIME ? 'visionary' : 'plutonium';+}+export function applyPremiumBadgeMasking(user: Pick<User, 'premiumType' | 'premiumFlags' | 'premiumSince' | 'premiumLifetimeSequence'>,- premiumFlags: number,- restricted: boolean,+ options: {premiumFlags: number; hidden: ReadonlySet<ProfileBadgeKey>; selfHosted: boolean; restricted: boolean},): VisiblePremiumBadge {- if (restricted || premiumFlags & PremiumFlags.BADGE_HIDDEN) {- return {};- }- let premiumType = getBadgePremiumType(user);+ if (options.restricted) return {};+ const heldType = getBadgePremiumType(user);+ const heldKind = heldPremiumBadgeKind(heldType, options.selfHosted);+ if (heldKind && options.hidden.has(heldKind)) return {};+ let premiumType = heldType;let premiumLifetimeSequence = user.premiumLifetimeSequence ?? undefined;if (user.premiumType === UserPremiumTypes.LIFETIME) {- if (premiumFlags & PremiumFlags.BADGE_MASKED) {+ if (options.premiumFlags & PremiumFlags.BADGE_MASKED) {premiumType = UserPremiumTypes.SUBSCRIPTION;}- if (premiumFlags & PremiumFlags.BADGE_SEQUENCE_HIDDEN) {+ if (options.hidden.has('visionary_number')) {premiumLifetimeSequence = undefined;}}const premiumSince =- premiumFlags & PremiumFlags.BADGE_TIMESTAMP_HIDDEN ? undefined : (user.premiumSince ?? undefined);+ options.premiumFlags & PremiumFlags.BADGE_TIMESTAMP_HIDDEN ? undefined : (user.premiumSince ?? undefined);return {premiumType, premiumSince, premiumLifetimeSequence};}const PROFILE_BADGE_SETTING_FLAGS = [- {field: 'premium_badge_hidden', flag: PremiumFlags.BADGE_HIDDEN},{field: 'premium_badge_masked', flag: PremiumFlags.BADGE_MASKED},{field: 'premium_badge_timestamp_hidden', flag: PremiumFlags.BADGE_TIMESTAMP_HIDDEN},- {field: 'premium_badge_sequence_hidden', flag: PremiumFlags.BADGE_SEQUENCE_HIDDEN},- {field: 'operator_pass_badge_hidden', flag: PremiumFlags.OPERATOR_PASS_BADGE_HIDDEN},{field: 'operator_pass_badge_timestamp_hidden', flag: PremiumFlags.OPERATOR_PASS_BADGE_TIMESTAMP_HIDDEN},{field: 'operator_pass_badge_count_hidden', flag: PremiumFlags.OPERATOR_PASS_BADGE_COUNT_HIDDEN},] as const;export type ProfileBadgeSettings = Partial<Record<(typeof PROFILE_BADGE_SETTING_FLAGS)[number]['field'], boolean>>;-export function isOperatorPassBadgeHidden(premiumFlags: number): boolean {- return (premiumFlags & PremiumFlags.OPERATOR_PASS_BADGE_HIDDEN) !== 0;-}-export function isOperatorPassTimestampHidden(premiumFlags: number): boolean {return (premiumFlags & PremiumFlags.OPERATOR_PASS_BADGE_TIMESTAMP_HIDDEN) !== 0;}diff --git a/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.test.ts b/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.test.tsindex 66e272988..b86555168 100644--- a/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.test.ts+++ b/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.test.ts@@ -8,6 +8,7 @@ import {type ProfileBadgeSubject,} from '@app/api/user/profile_badges/ProfileBadgeBuilder';import type {ProfileBadgeEnvironment} from '@app/api/user/profile_badges/ProfileBadgeRegistry';+import type {ProfileBadgeKey} from '@fluxer/constants/src/BadgeConstants';import {PremiumFlags, UserFlags, UserPremiumTypes} from '@fluxer/constants/src/UserConstants';import {describe, expect, test} from 'vitest';@@ -18,6 +19,8 @@ const HOSTED: ProfileBadgeEnvironment = {premiumName: 'Plutonium',premiumInfoUrl: null,marketingUrl: 'https://fluxer.example',+ mediaUrl: 'https://media.fluxer.example',+ customBadges: [],};const OCTOBER = new Date('2026-10-15T12:00:00Z');@@ -29,6 +32,8 @@ function subject(overrides: Partial<ProfileBadgeSubject> = {}): ProfileBadgeSubjpremiumType: null,premiumSince: null,premiumLifetimeSequence: null,+ badgeIds: new Set(),+ hiddenProfileBadges: new Set(),...overrides,};}@@ -60,8 +65,17 @@ const everything = subject({});describe('buildProfileBadges', () => {- test('a hidden staff flag drops the staff badge', () => {- expect(kinds({user: subject({flags: UserFlags.STAFF | UserFlags.STAFF_HIDDEN})})).toEqual([]);+ test('a hidden key drops the badge it names, and hiding a held Visionary also drops its mask', () => {+ const hide = (...keys: Array<ProfileBadgeKey>) => new Set(keys);+ expect(kinds({user: {...everything, hiddenProfileBadges: hide('staff', 'bug_hunter')}})).toEqual([+ 'partner',+ 'plutonium',+ ]);+ expect(kinds({user: {...visionary(), hiddenProfileBadges: hide('visionary_number')}})).toEqual(['visionary']);+ const masked = visionary(PremiumFlags.BADGE_MASKED);+ expect(kinds({user: masked})).toEqual(['plutonium']);+ expect(kinds({user: {...masked, hiddenProfileBadges: hide('visionary')}})).toEqual([]);+ expect(kinds({user: {...masked, hiddenProfileBadges: hide('plutonium')}})).toEqual(['plutonium']);});test('restricted profiles keep only the flag badges', () => {@@ -70,7 +84,7 @@ describe('buildProfileBadges', () => {});test('hidden accounts show nothing', () => {- expect(build({user: everything, hidden: true})).toEqual([]);+ expect(build({user: everything, profileHidden: true})).toEqual([]);});describe('localization', () => {diff --git a/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.ts b/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.tsindex d6b7de4d6..7df7dfea2 100644--- a/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.ts+++ b/fluxer_api/src/api/user/profile_badges/ProfileBadgeBuilder.ts@@ -1,30 +1,37 @@// SPDX-License-Identifier: AGPL-3.0-or-laterimport {resolveContentLocale} from '@app/api/content_i18n/ContentI18n';+import {customBadgeImageUrl} from '@app/api/instance/InstanceAssetReferences';import type {User} from '@app/api/models/User';import type {OperatorPassHolder} from '@app/api/operator_pass/OperatorPassEntitlementService';import {applyPremiumBadgeMasking,- isOperatorPassBadgeHidden,isOperatorPassCountHidden,isOperatorPassTimestampHidden,} from '@app/api/user/profile_badges/PremiumBadgeMasking';import {PROFILE_BADGE_REGISTRY,type ProfileBadgeEnvironment,- type ProfileBadgeKind,type ProfileBadgeView,type VisibleOperatorPass,} from '@app/api/user/profile_badges/ProfileBadgeRegistry';-import {UserFlags} from '@fluxer/constants/src/UserConstants';+import {customProfileBadgeKey, type ProfileBadgeKey, type ProfileBadgeKind} from '@fluxer/constants/src/BadgeConstants';+import {PremiumFlags, stripHiddenProfileBadgeFlags} from '@fluxer/constants/src/UserConstants';import type {AdminProfileBadgeResponse,+ OwnProfileBadgeResponse,ProfileBadgeResponse,} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';export type ProfileBadgeSubject = Pick<User,- 'flags' | 'premiumFlags' | 'premiumType' | 'premiumSince' | 'premiumLifetimeSequence'+ | 'flags'+ | 'premiumFlags'+ | 'premiumType'+ | 'premiumSince'+ | 'premiumLifetimeSequence'+ | 'badgeIds'+ | 'hiddenProfileBadges'>;export interface ProfileBadgeInput {@@ -33,65 +40,80 @@ export interface ProfileBadgeInput {locale: string | null | undefined;environment: ProfileBadgeEnvironment;restricted?: boolean;- hidden?: boolean;+ profileHidden?: boolean;viewerIsSelf?: boolean;- previewPremiumFlags?: number;}-type ViewSource = Omit<ProfileBadgeView, 'shown'>;+type ViewSource = Omit<ProfileBadgeView, 'shown'> & {customBadgeIds: ReadonlySet<bigint>};++const NO_HIDDEN_BADGES: ReadonlySet<ProfileBadgeKey> = new Set();function publicOperatorPass(holder: OperatorPassHolder | null,- premiumFlags: number,+ user: ProfileBadgeSubject,viewerIsSelf: boolean,): VisibleOperatorPass | null {- if (!holder || isOperatorPassBadgeHidden(premiumFlags)) return null;- const since = !viewerIsSelf && isOperatorPassTimestampHidden(premiumFlags) ? null : holder.since;- const count = !viewerIsSelf && isOperatorPassCountHidden(premiumFlags) ? null : holder.count;+ if (!holder || user.hiddenProfileBadges.has('operator_pass')) return null;+ const since = !viewerIsSelf && isOperatorPassTimestampHidden(user.premiumFlags) ? null : holder.since;+ const count = !viewerIsSelf && isOperatorPassCountHidden(user.premiumFlags) ? null : holder.count;return {since, count};}function publicViewSource(input: ProfileBadgeInput): ViewSource | null {- if (input.hidden) return null;- const {user} = input;- const premiumFlags = input.previewPremiumFlags ?? user.premiumFlags;+ if (input.profileHidden) return null;+ const {user, environment} = input;+ const hidden = user.hiddenProfileBadges;const restricted = input.restricted === true;- const flags = (user.flags & UserFlags.STAFF_HIDDEN) !== 0n ? user.flags & ~UserFlags.STAFF : user.flags;- const premium = applyPremiumBadgeMasking(user, premiumFlags, restricted);return {- flags,- premium,- operatorPass: restricted ? null : publicOperatorPass(input.operatorPass, premiumFlags, input.viewerIsSelf === true),- environment: input.environment,+ flags: stripHiddenProfileBadgeFlags(user.flags, hidden),+ premium: applyPremiumBadgeMasking(user, {+ premiumFlags: user.premiumFlags,+ hidden,+ selfHosted: environment.selfHosted,+ restricted,+ }),+ operatorPass: restricted ? null : publicOperatorPass(input.operatorPass, user, input.viewerIsSelf === true),+ environment,locale: resolveContentLocale(input.locale),+ customBadgeIds: new Set([...user.badgeIds].filter((id) => !hidden.has(customProfileBadgeKey(id.toString())))),};}-function operatorViewSource(input: ProfileBadgeInput): ViewSource {- const {user} = input;+function heldViewSource(input: ProfileBadgeInput, premiumFlags: number): ViewSource {+ const {user, environment} = input;return {flags: user.flags,- premium: applyPremiumBadgeMasking(user, 0, false),+ premium: applyPremiumBadgeMasking(user, {+ premiumFlags,+ hidden: NO_HIDDEN_BADGES,+ selfHosted: environment.selfHosted,+ restricted: false,+ }),operatorPass: input.operatorPass ? {since: input.operatorPass.since, count: input.operatorPass.count} : null,- environment: input.environment,+ environment,locale: resolveContentLocale(input.locale),+ customBadgeIds: user.badgeIds,};}-function render(source: ViewSource | null): Array<ProfileBadgeResponse> {+type KeyedProfileBadge = ProfileBadgeResponse & {key: ProfileBadgeKey};++function render(source: ViewSource | null): Array<KeyedProfileBadge> {if (!source) return [];const {selfHosted} = source.environment;const shown = new Set<ProfileBadgeKind>();- const badges: Array<ProfileBadgeResponse> = [];+ const badges: Array<KeyedProfileBadge> = [];for (const definition of PROFILE_BADGE_REGISTRY) {if (definition.availability === (selfHosted ? 'hosted' : 'self_hosted')) continue;const content = definition.qualify({...source, shown});if (!content) continue;shown.add(definition.kind);badges.push({+ key: definition.kind,kind: definition.kind,label: content.label,asset: content.asset ?? definition.asset,+ asset_url: null,...(content.smallAsset ? {small_asset: content.smallAsset} : {}),aspect_ratio: content.aspectRatio ?? null,caption: content.caption ?? null,@@ -101,6 +123,20 @@ function render(source: ViewSource | null): Array<ProfileBadgeResponse> {...(content.details !== undefined ? {details: content.details} : {}),});}+ for (const badge of source.environment.customBadges) {+ if (!source.customBadgeIds.has(BigInt(badge.id))) continue;+ badges.push({+ key: customProfileBadgeKey(badge.id),+ kind: 'custom',+ label: badge.name,+ asset: null,+ asset_url: customBadgeImageUrl(badge.asset, source.environment.mediaUrl),+ aspect_ratio: null,+ caption: null,+ href: badge.href,+ ...(badge.description !== null ? {details: {title: badge.name, lines: [badge.description]}} : {}),+ });+ }return badges;}@@ -108,7 +144,15 @@ export function buildProfileBadges(input: ProfileBadgeInput): Array<ProfileBadgereturn render(publicViewSource(input));}+export function buildOwnProfileBadges(input: ProfileBadgeInput): Array<OwnProfileBadgeResponse> {+ const hidden = input.user.hiddenProfileBadges;+ return render(heldViewSource(input, input.user.premiumFlags & ~PremiumFlags.BADGE_MASKED)).map((badge) => ({+ ...badge,+ hidden: hidden.has(badge.key),+ }));+}+export function buildOperatorProfileBadges(input: ProfileBadgeInput): Array<AdminProfileBadgeResponse> {- const publicKinds = new Set(render(publicViewSource({...input, restricted: false})).map((badge) => badge.kind));- return render(operatorViewSource(input)).map((badge) => ({...badge, suppressed: !publicKinds.has(badge.kind)}));+ const publicKeys = new Set(render(publicViewSource({...input, restricted: false})).map((badge) => badge.key));+ return render(heldViewSource(input, 0)).map((badge) => ({...badge, suppressed: !publicKeys.has(badge.key)}));}diff --git a/fluxer_api/src/api/user/profile_badges/ProfileBadgeEnvironment.ts b/fluxer_api/src/api/user/profile_badges/ProfileBadgeEnvironment.tsindex cc5b093e5..05cc43276 100644--- a/fluxer_api/src/api/user/profile_badges/ProfileBadgeEnvironment.ts+++ b/fluxer_api/src/api/user/profile_badges/ProfileBadgeEnvironment.ts@@ -5,16 +5,17 @@ import {getInstanceConfigRepository} from '@app/api/middleware/ServiceSingletonsimport {getBillingBranding} from '@app/api/stripe/BillingBranding';import {isPremiumTieringActive} from '@app/api/stripe/BillingConfigCache';import type {ProfileBadgeEnvironment} from '@app/api/user/profile_badges/ProfileBadgeRegistry';+import {CustomBadgeTypes} from '@fluxer/constants/src/BadgeConstants';export async function loadProfileBadgeEnvironment(): Promise<ProfileBadgeEnvironment> {const selfHosted = Config.instance.selfHosted;- const [branding, premiumInfoUrl] = await Promise.all([+ const instanceConfigRepository = getInstanceConfigRepository();+ const [branding, premiumInfoUrl, customBadges] = await Promise.all([getBillingBranding(),selfHosted- ? getInstanceConfigRepository()- .getAppPublicConfig()- .then((config) => config.branding.premium_info_url)+ ? instanceConfigRepository.getAppPublicConfig().then((config) => config.branding.premium_info_url): Promise.resolve(null),+ instanceConfigRepository.getCustomBadges(),]);return {selfHosted,@@ -23,5 +24,7 @@ export async function loadProfileBadgeEnvironment(): Promise<ProfileBadgeEnvironpremiumName: branding.premiumName,premiumInfoUrl,marketingUrl: Config.endpoints.marketing,+ mediaUrl: Config.endpoints.media,+ customBadges: customBadges.filter((badge) => badge.type === CustomBadgeTypes.USER),};}diff --git a/fluxer_api/src/api/user/profile_badges/ProfileBadgeRegistry.ts b/fluxer_api/src/api/user/profile_badges/ProfileBadgeRegistry.tsindex 3115f6108..1b9b130a3 100644--- a/fluxer_api/src/api/user/profile_badges/ProfileBadgeRegistry.ts+++ b/fluxer_api/src/api/user/profile_badges/ProfileBadgeRegistry.ts@@ -1,6 +1,7 @@// SPDX-License-Identifier: AGPL-3.0-or-laterimport {getContentMessage} from '@app/api/content_i18n/ContentI18n';+import type {CustomBadgeDefinition} from '@app/api/instance/InstanceConfigRepository';import {Logger} from '@app/api/Logger';import type {VisiblePremiumBadge} from '@app/api/user/profile_badges/PremiumBadgeMasking';import {@@ -9,19 +10,10 @@ import {PROFILE_BADGE_ASSETS,} from '@app/api/user/profile_badges/ProfileBadgeAssets';import {getVisionaryNumberTag} from '@app/api/user/profile_badges/VisionaryNumberTags';+import type {ProfileBadgeKind} from '@fluxer/constants/src/BadgeConstants';import {UserFlags, UserPremiumTypes} from '@fluxer/constants/src/UserConstants';import {getDateFormatter} from '@fluxer/date_utils/src/DateFormatterCache';-export type ProfileBadgeKind =- | 'staff'- | 'partner'- | 'bug_hunter'- | 'operator_pass'- | 'visionary'- | 'visionary_number'- | 'plutonium'- | 'premium';-export interface ProfileBadgeEnvironment {selfHosted: boolean;premiumTieringActive: boolean;@@ -29,6 +21,8 @@ export interface ProfileBadgeEnvironment {premiumName: string;premiumInfoUrl: string | null;marketingUrl: string;+ mediaUrl: string;+ customBadges: ReadonlyArray<CustomBadgeDefinition>;}export interface VisibleOperatorPass {diff --git a/fluxer_api/src/api/user/repositories/UserRepository.ts b/fluxer_api/src/api/user/repositories/UserRepository.tsindex d0c08d129..2e97965a2 100644--- a/fluxer_api/src/api/user/repositories/UserRepository.ts+++ b/fluxer_api/src/api/user/repositories/UserRepository.ts@@ -103,6 +103,10 @@ export class UserRepository {return this.accountRepo.compareAndSetFlags(user, flags);}+ async moveLegacyBadgeHideBits(userId: UserID, options: {mergeIntoHiddenList: boolean}): Promise<User | null> {+ return this.accountRepo.moveLegacyBadgeHideBits(userId, options);+ }+async updateFlags(userId: UserID, mutate: (flags: bigint) => bigint): Promise<User | null> {return this.accountRepo.updateFlags(userId, mutate);}diff --git a/fluxer_api/src/api/user/repositories/account/UserAccountRepository.ts b/fluxer_api/src/api/user/repositories/account/UserAccountRepository.tsindex 6fde36663..cd6d09e2a 100644--- a/fluxer_api/src/api/user/repositories/account/UserAccountRepository.ts+++ b/fluxer_api/src/api/user/repositories/account/UserAccountRepository.ts@@ -17,9 +17,13 @@ import {UserIndexRepository} from '@app/api/user/repositories/account/crud/UserIimport {UserSearchRepository} from '@app/api/user/repositories/account/crud/UserSearchRepository';import {personalFieldsToClear} from '@app/api/user/UserHelpers';import {+ clearLegacyBadgeHideBits,extractPremiumFlagsFromLegacyUserFlags,+ LEGACY_BADGE_HIDE_PREMIUM_FLAGS_MASK,+ LEGACY_BADGE_HIDE_USER_FLAGS_MASK,LEGACY_DEAD_USER_FLAGS_MASK,LEGACY_PREMIUM_FLAGS_MASK,+ legacyHiddenProfileBadges,} from '@fluxer/constants/src/UserConstants';import type {IKVProvider} from '@pkgs/kv_client/src/IKVProvider';@@ -140,6 +144,30 @@ export class UserAccountRepository {throw new Error(`User ${userId} flags kept changing during update`);}+ async moveLegacyBadgeHideBits(userId: UserID, options: {mergeIntoHiddenList: boolean}): Promise<User | null> {+ for (let attempt = 0; attempt < USER_FLAGS_WRITE_ATTEMPTS; attempt++) {+ const row = await this.dataRepo.findRow(userId);+ if (!row) return null;+ const legacyHidden = legacyHiddenProfileBadges(row.flags ?? 0n, row.premium_flags ?? 0);+ if (legacyHidden.length === 0) return null;+ const cleared = clearLegacyBadgeHideBits(row.flags ?? 0n, row.premium_flags ?? 0);+ const hidden = new Set(row.hidden_profile_badges ?? []);+ if (options.mergeIntoHiddenList) {+ for (const key of legacyHidden) hidden.add(key);+ }+ const updatedData = await this.dataRepo.compareAndSetBadgeHideState(row, {+ flags: cleared.flags,+ premium_flags: cleared.premiumFlags,+ hidden_profile_badges: hidden.size > 0 ? hidden : null,+ });+ if (!updatedData) continue;+ const updatedUser = new User(updatedData);+ await this.searchRepo.updateUser(updatedUser);+ return updatedUser;+ }+ throw new Error(`User ${userId} flags kept changing while moving legacy badge hide bits`);+ }+async updateDeletionSchedule(user: User, patch: UserDeletionScheduleUpdate): Promise<User> {return this.patchAccount(user.id,@@ -191,7 +219,7 @@ export class UserAccountRepository {const existingUser = await this.findUniqueAssert(userId);oldData = existingUser.toRow();}- patchData = this.migratePremiumFlagsInPatch(patchData, oldData);+ patchData = this.migrateBadgeHideBitsInPatch(this.migratePremiumFlagsInPatch(patchData, oldData), oldData);const userPatch: Record<string, DbOp<unknown>> = {};for (const [key, value] of Object.entries(patchData)) {if (key === 'user_id' || value === undefined) continue;@@ -227,6 +255,9 @@ export class UserAccountRepository {await this.indexRepo.syncIndices(updatedData, previousData);}await this.searchRepo.updateUser(updatedUser);+ if (legacyHiddenProfileBadges(updatedData.flags ?? 0n, updatedData.premium_flags ?? 0).length > 0) {+ return (await this.moveLegacyBadgeHideBits(userId, {mergeIntoHiddenList: false})) ?? updatedUser;+ }return updatedUser;} catch (error) {if (!dataCommitted && emailClaim) {@@ -298,6 +329,26 @@ export class UserAccountRepository {const basePremiumFlags = data.premium_flags ?? oldData?.premium_flags ?? 0;data.premium_flags = basePremiumFlags | legacyPremiumBits;}+ const legacyHidden = legacyHiddenProfileBadges(rawFlags, data.premium_flags ?? 0);+ if (legacyHidden.length === 0) return;+ data.hidden_profile_badges = new Set([...(data.hidden_profile_badges ?? []), ...legacyHidden]);+ data.flags = (data.flags ?? 0n) & ~LEGACY_BADGE_HIDE_USER_FLAGS_MASK;+ data.premium_flags = (data.premium_flags ?? 0) & ~LEGACY_BADGE_HIDE_PREMIUM_FLAGS_MASK;+ }++ private migrateBadgeHideBitsInPatch(patchData: Partial<UserRow>, oldData: UserRow): Partial<UserRow> {+ const flags = patchData.flags !== undefined ? (patchData.flags ?? 0n) : (oldData.flags ?? 0n);+ const premiumFlags =+ patchData.premium_flags !== undefined ? (patchData.premium_flags ?? 0) : (oldData.premium_flags ?? 0);+ const legacyHidden = legacyHiddenProfileBadges(flags, premiumFlags);+ if (legacyHidden.length === 0) return patchData;+ const migrated = {...patchData};+ if (migrated.hidden_profile_badges === undefined) {+ migrated.hidden_profile_badges = new Set([...(oldData.hidden_profile_badges ?? []), ...legacyHidden]);+ }+ if (migrated.flags != null) migrated.flags &= ~LEGACY_BADGE_HIDE_USER_FLAGS_MASK;+ if (migrated.premium_flags != null) migrated.premium_flags &= ~LEGACY_BADGE_HIDE_PREMIUM_FLAGS_MASK;+ return migrated;}private migratePremiumFlagsInPatch(patchData: Partial<UserRow>, oldData: UserRow): Partial<UserRow> {diff --git a/fluxer_api/src/api/user/repositories/account/crud/UserDataRepository.ts b/fluxer_api/src/api/user/repositories/account/crud/UserDataRepository.tsindex 026fa8943..f1b470a1a 100644--- a/fluxer_api/src/api/user/repositories/account/crud/UserDataRepository.ts+++ b/fluxer_api/src/api/user/repositories/account/crud/UserDataRepository.ts@@ -233,6 +233,38 @@ export class UserDataRepository {return null;}+ async findRow(userId: UserID): Promise<UserRow | null> {+ return fetchOne<UserRow>(FETCH_USER_BY_ID_CQL, {user_id: userId});+ }++ async compareAndSetBadgeHideState(+ previousData: UserRow,+ next: Pick<UserRow, 'flags' | 'premium_flags' | 'hidden_profile_badges'>,+ ): Promise<UserRow | null> {+ assertWritableUserId(previousData.user_id);+ const version = nextVersion(previousData.version);+ const applied = await executeConditional(+ Users.conditionalPatchByPk(+ {user_id: previousData.user_id},+ {+ flags: Db.set(next.flags ?? 0n),+ premium_flags: Db.set(next.premium_flags ?? 0),+ hidden_profile_badges: next.hidden_profile_badges ? Db.set(next.hidden_profile_badges) : Db.clear(),+ version: Db.set(version),+ },+ {+ flags: previousData.flags ?? null,+ premium_flags: previousData.premium_flags ?? null,+ version: previousData.version ?? null,+ },+ ),+ );+ if (!applied) return null;+ const updatedData = {...previousData, ...next, version};+ await emitAccountChangedIfRelevant(previousData, updatedData);+ return updatedData;+ }+async startDeletion(userId: UserID, pendingDeletionAt: Date): Promise<User | null> {assertWritableUserId(userId);const scheduledAt = pendingDeletionAt.getTime();diff --git a/fluxer_api/src/api/user/services/UserAccountLookupService.ts b/fluxer_api/src/api/user/services/UserAccountLookupService.tsindex 746b53e97..098d3325b 100644--- a/fluxer_api/src/api/user/services/UserAccountLookupService.ts+++ b/fluxer_api/src/api/user/services/UserAccountLookupService.ts@@ -1,6 +1,7 @@// SPDX-License-Identifier: AGPL-3.0-or-laterimport type {GuildID, UserID} from '@app/api/BrandedTypes';+import {Config} from '@app/api/Config';import type {ConnectionRepository} from '@app/api/connection/ConnectionRepository';import type {UserConnectionRow} from '@app/api/database/types/ConnectionTypes';import type {GuildRepository} from '@app/api/guild/repositories/GuildRepository';@@ -91,11 +92,12 @@ export class UserAccountLookupService {}}}- const {premiumType, premiumSince, premiumLifetimeSequence} = applyPremiumBadgeMasking(- user,- user.premiumFlags,- restrictProfile,- );+ const {premiumType, premiumSince, premiumLifetimeSequence} = applyPremiumBadgeMasking(user, {+ premiumFlags: user.premiumFlags,+ hidden: user.hiddenProfileBadges,+ selfHosted: Config.instance.selfHosted,+ restricted: restrictProfile,+ });const profileFieldPrivacyContext = restrictProfile? null: await this.getProfileFieldPrivacyContext(userId, targetId);diff --git a/fluxer_api/src/api/user/services/UserAccountProfileService.ts b/fluxer_api/src/api/user/services/UserAccountProfileService.tsindex 12f206665..3cc273760 100644--- a/fluxer_api/src/api/user/services/UserAccountProfileService.ts+++ b/fluxer_api/src/api/user/services/UserAccountProfileService.ts@@ -8,7 +8,12 @@ import type {LimitConfigService} from '@app/api/limits/LimitConfigService';import {resolveLimitSafe} from '@app/api/limits/LimitConfigUtils';import {createLimitMatchContext} from '@app/api/limits/LimitMatchContextBuilder';import {profileSubstringBlocklistCache} from '@app/api/middleware/ProfileSubstringBlocklistCache';+import {getInstanceConfigRepository} from '@app/api/middleware/ServiceSingletons';import type {User} from '@app/api/models/User';+import {+ dropUndefinedCustomBadgeKeys,+ resolveHiddenProfileBadges,+} from '@app/api/user/profile_badges/HiddenProfileBadges';import {applyProfileBadgeSettings} from '@app/api/user/profile_badges/PremiumBadgeMasking';import type {UserRepository} from '@app/api/user/repositories/UserRepository';import {isProfileSubstringExempt} from '@app/api/user/UserHelpers';@@ -90,6 +95,7 @@ export class UserAccountProfileService {}if (!user.isBot) {this.processPremiumBadgeFlags({user, data, updates});+ await this.processHiddenProfileBadges({user, data, updates});}if (data.avatar !== undefined) {preparedAvatarUpload = await this.processAvatarUpdate({user, avatar: data.avatar, updates});@@ -377,6 +383,21 @@ export class UserAccountProfileService {}}+ private async processHiddenProfileBadges(params: {+ user: User;+ data: UserUpdateRequest;+ updates: UserFieldUpdates;+ }): Promise<void> {+ const {user, data, updates} = params;+ const requested = resolveHiddenProfileBadges(user.hiddenProfileBadges, data);+ if (!requested) return;+ const next = dropUndefinedCustomBadgeKeys(requested, await getInstanceConfigRepository().getCustomBadges());+ if (next.size === user.hiddenProfileBadges.size && [...next].every((key) => user.hiddenProfileBadges.has(key))) {+ return;+ }+ updates.hidden_profile_badges = next.size > 0 ? next : null;+ }+private processPremiumOnboardingDismissal(params: {data: UserUpdateRequest; updates: UserFieldUpdates}): void {const {data, updates} = params;if (data.has_dismissed_premium_onboarding) {diff --git a/fluxer_api/src/api/user/services/UserAccountRequestService.ts b/fluxer_api/src/api/user/services/UserAccountRequestService.tsindex eb383d7e2..074fb953a 100644--- a/fluxer_api/src/api/user/services/UserAccountRequestService.ts+++ b/fluxer_api/src/api/user/services/UserAccountRequestService.ts@@ -31,8 +31,9 @@ import {tierDenialError,} from '@app/api/user/AccountTier';import {isProfileHidden} from '@app/api/user/ProfileVisibility';+import {resolveHiddenProfileBadges} from '@app/api/user/profile_badges/HiddenProfileBadges';import {applyProfileBadgeSettings} from '@app/api/user/profile_badges/PremiumBadgeMasking';-import {buildProfileBadges} from '@app/api/user/profile_badges/ProfileBadgeBuilder';+import {buildOwnProfileBadges, buildProfileBadges} from '@app/api/user/profile_badges/ProfileBadgeBuilder';import {loadProfileBadgeEnvironment} from '@app/api/user/profile_badges/ProfileBadgeEnvironment';import type {UserRepository} from '@app/api/user/repositories/UserRepository';import type {EmailChangeService} from '@app/api/user/services/EmailChangeService';@@ -84,6 +85,7 @@ const PROFILE_CUSTOMIZATION_FIELDS: ReadonlyArray<keyof UserUpdatePayload> = ['accent_color','timezone','timezone_privacy_flags',+ 'hidden_profile_badges','premium_badge_hidden','premium_badge_masked','premium_badge_timestamp_hidden',@@ -285,7 +287,7 @@ export class UserAccountRequestService {}}if (- (userUpdateData.operator_pass_badge_hidden !== undefined ||+ (user.hiddenProfileBadges.has('operator_pass') !== updatedUser.hiddenProfileBadges.has('operator_pass') ||userUpdateData.operator_pass_badge_timestamp_hidden !== undefined ||userUpdateData.operator_pass_badge_count_hidden !== undefined) &&this.operatorPassEntitlementService@@ -405,15 +407,20 @@ export class UserAccountRequestService {restrictProfile,}): null;- const profileBadges = buildProfileBadges({+ const viewerIsSelf = params.currentUserId === profileUser.id;+ const badgeInput = {user: profileUser,operatorPass: profileUser.isBot || !operatorPassState ? null : resolveOperatorPassHolder(operatorPassState),locale: params.requestLocale,environment: badgeEnvironment,restricted: restrictProfile,- hidden,- viewerIsSelf: params.currentUserId === profileUser.id,- });+ profileHidden: hidden,+ viewerIsSelf,+ };+ const profileBadges = buildProfileBadges(badgeInput);+ const hiddenProfileBadgeCount = viewerIsSelf+ ? buildOwnProfileBadges(badgeInput).filter((badge) => badge.hidden).length+ : undefined;return {user:params.requestCache.userPartials.get(profileUser.id) ??@@ -426,6 +433,7 @@ export class UserAccountRequestService {premium_lifetime_sequence: premiumLifetimeSequence,profile_badges: profileBadges,operator_pass_since: operatorPassSince?.toISOString() ?? null,+ hidden_profile_badge_count: hiddenProfileBadgeCount,mutual_friends: mutualFriends,mutual_guilds: profile.mutualGuilds,connected_accounts: connectedAccounts,@@ -439,28 +447,28 @@ export class UserAccountRequestService {settings: ProfileBadgePreviewRequest;requestLocale: string;}): Promise<ProfileBadgePreviewResponse> {- const {user} = params;+ const {user, settings} = params;const [operatorPassState, environment] = await Promise.all([user.isBot ? null : (this.operatorPassEntitlementService?.loadState(user.id) ?? null),loadProfileBadgeEnvironment(),]);const expired = shouldStripExpiredPremium(user);- return {- profile_badges: buildProfileBadges({- user: {- flags: user.flags,- premiumFlags: user.premiumFlags,- premiumType: expired ? null : user.premiumType,- premiumSince: expired ? null : user.premiumSince,- premiumLifetimeSequence: expired ? null : user.premiumLifetimeSequence,- },- operatorPass: operatorPassState ? resolveOperatorPassHolder(operatorPassState) : null,- locale: params.requestLocale,- environment,- hidden: isProfileHidden(user),- previewPremiumFlags: applyProfileBadgeSettings(user.premiumFlags, params.settings),- }),+ const input = {+ user: {+ flags: user.flags,+ premiumFlags: applyProfileBadgeSettings(user.premiumFlags, settings),+ premiumType: expired ? null : user.premiumType,+ premiumSince: expired ? null : user.premiumSince,+ premiumLifetimeSequence: expired ? null : user.premiumLifetimeSequence,+ badgeIds: user.badgeIds,+ hiddenProfileBadges: resolveHiddenProfileBadges(user.hiddenProfileBadges, settings) ?? user.hiddenProfileBadges,+ },+ operatorPass: operatorPassState ? resolveOperatorPassHolder(operatorPassState) : null,+ locale: params.requestLocale,+ environment,+ profileHidden: isProfileHidden(user),};+ return {profile_badges: buildProfileBadges(input), own_badges: buildOwnProfileBadges(input)};}checkTagAvailability(params: {currentUser: User; username: string; discriminator: number}): boolean {@@ -505,6 +513,7 @@ export class UserAccountRequestService {response.premium_will_cancel = false;response.premium_billing_cycle = null;response.premium_lifetime_sequence = null;+ response.hidden_profile_badges = [];response.premium_badge_hidden = false;response.premium_badge_masked = false;response.premium_badge_timestamp_hidden = false;diff --git a/fluxer_api/src/api/user/tests/HiddenProfileBadgesMigration.test.ts b/fluxer_api/src/api/user/tests/HiddenProfileBadgesMigration.test.tsnew file mode 100644index 000000000..ea73a2781--- /dev/null+++ b/fluxer_api/src/api/user/tests/HiddenProfileBadgesMigration.test.ts@@ -0,0 +1,141 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {createTestAccount, type TestAccount} from '@app/api/auth/tests/AuthTestUtils';+import {createUserID} from '@app/api/BrandedTypes';+import {fetchOne, upsertOne} from '@app/api/database/CassandraQueryExecution';+import {Db} from '@app/api/database/CassandraTypes';+import type {UserRow} from '@app/api/database/types/UserTypes';+import {getUserRepository} from '@app/api/middleware/ServiceSingletons';+import {Users} from '@app/api/Tables';+import {type ApiTestHarness, createApiTestHarness} from '@app/api/test/ApiTestHarness';+import {HTTP_STATUS} from '@app/api/test/TestConstants';+import {createBuilder} from '@app/api/test/TestRequestBuilder';+import {backfillHiddenProfileBadges} from '@app/api/worker/tasks/BackfillHiddenProfileBadges';+import {PremiumFlags, UserFlags} from '@fluxer/constants/src/UserConstants';+import type {UserPrivateResponse} from '@fluxer/schema/src/domains/user/UserResponseSchemas';+import {afterAll, beforeAll, beforeEach, describe, expect, test} from 'vitest';++const FETCH_USER_ROW = Users.select({where: Users.where.eq('user_id'), limit: 1});++const LEGACY_STAFF_HIDDEN = 1n << 57n;+const LEGACY_PREMIUM_BADGE_HIDDEN_IN_USER_FLAGS = 1n << 40n;+const LEGACY_BADGE_SEQUENCE_HIDDEN_IN_USER_FLAGS = 1n << 43n;+const LEGACY_PREMIUM_BADGE_HIDDEN = 1 << 1;+const LEGACY_BADGE_SEQUENCE_HIDDEN = 1 << 4;+const LEGACY_OPERATOR_PASS_BADGE_HIDDEN = 1 << 9;++describe('hidden profile badges migration', () => {+ let harness: ApiTestHarness;++ beforeAll(async () => {+ harness = await createApiTestHarness();+ });+ afterAll(async () => {+ await harness.shutdown();+ });+ beforeEach(async () => {+ await harness.resetData();+ });++ async function writeLegacyBits(account: TestAccount, flags: bigint, premiumFlags: number): Promise<void> {+ await upsertOne(+ Users.patchByPk(+ {user_id: createUserID(BigInt(account.userId))},+ {flags: Db.set(flags), premium_flags: Db.set(premiumFlags)},+ ),+ );+ }++ async function storedRow(account: TestAccount): Promise<UserRow> {+ const row = await fetchOne<UserRow>(FETCH_USER_ROW.bind({user_id: createUserID(BigInt(account.userId))}));+ return row!;+ }++ async function hiddenList(account: TestAccount): Promise<Array<string>> {+ const me = await createBuilder<UserPrivateResponse>(harness, account.token)+ .get('/users/@me')+ .expect(HTTP_STATUS.OK)+ .execute();+ return me.hidden_profile_badges;+ }++ test('each legacy bit loads as its hidden keys and the next write clears the bits', async () => {+ const staff = await createTestAccount(harness);+ await writeLegacyBits(staff, UserFlags.STAFF | LEGACY_STAFF_HIDDEN, LEGACY_OPERATOR_PASS_BADGE_HIDDEN);+ expect(await hiddenList(staff)).toEqual(['operator_pass', 'staff']);++ const premium = await createTestAccount(harness);+ await writeLegacyBits(premium, 0n, LEGACY_PREMIUM_BADGE_HIDDEN);+ expect(await hiddenList(premium)).toEqual(['plutonium', 'premium', 'visionary']);++ const sequence = await createTestAccount(harness);+ await writeLegacyBits(sequence, 0n, LEGACY_BADGE_SEQUENCE_HIDDEN);+ expect(await hiddenList(sequence)).toEqual(['visionary_number']);++ const older = await createTestAccount(harness);+ await writeLegacyBits(+ older,+ LEGACY_PREMIUM_BADGE_HIDDEN_IN_USER_FLAGS | LEGACY_BADGE_SEQUENCE_HIDDEN_IN_USER_FLAGS,+ 0,+ );+ expect(await hiddenList(older)).toEqual(['plutonium', 'premium', 'visionary', 'visionary_number']);++ await createBuilder(harness, staff.token)+ .patch('/users/@me')+ .body({bio: 'still hidden'})+ .expect(HTTP_STATUS.OK)+ .execute();+ const row = await storedRow(staff);+ expect(row.flags).toBe(UserFlags.STAFF);+ expect(row.premium_flags ?? 0).toBe(0);+ expect([...(row.hidden_profile_badges ?? [])].sort()).toEqual(['operator_pass', 'staff']);+ expect(await hiddenList(staff)).toEqual(['operator_pass', 'staff']);+ });++ test('moving the bits on a write keeps flags changed by someone else after the read', async () => {+ const account = await createTestAccount(harness);+ await writeLegacyBits(account, LEGACY_STAFF_HIDDEN, LEGACY_PREMIUM_BADGE_HIDDEN);+ const userId = createUserID(BigInt(account.userId));+ const staleRow = (await getUserRepository().findUniqueAssert(userId)).toRow();+ await getUserRepository().updateFlags(userId, (flags) => flags | UserFlags.DISABLED);+ await upsertOne(+ Users.patchByPk(+ {user_id: userId},+ {premium_flags: Db.set(LEGACY_PREMIUM_BADGE_HIDDEN | PremiumFlags.PURCHASE_DISABLED)},+ ),+ );++ await getUserRepository().patchUpsert(userId, {bio: 'written from a stale read'}, staleRow);+ const row = await storedRow(account);+ expect(row.flags).toBe(UserFlags.DISABLED);+ expect(row.premium_flags).toBe(PremiumFlags.PURCHASE_DISABLED);+ expect([...(row.hidden_profile_badges ?? [])].sort()).toEqual(['plutonium', 'premium', 'staff', 'visionary']);+ });++ test('the backfill moves every legacy bit once and leaves nothing for a second run', async () => {+ const staff = await createTestAccount(harness);+ const premium = await createTestAccount(harness);+ const untouched = await createTestAccount(harness);+ await writeLegacyBits(staff, UserFlags.STAFF | LEGACY_STAFF_HIDDEN, 0);+ await writeLegacyBits(premium, 0n, LEGACY_PREMIUM_BADGE_HIDDEN | LEGACY_BADGE_SEQUENCE_HIDDEN);+ const untouchedVersion = (await storedRow(untouched)).version;++ expect(await backfillHiddenProfileBadges(getUserRepository(), 2)).toEqual({migrated: 2, failed: 0});+ const staffRow = await storedRow(staff);+ expect(staffRow.flags).toBe(UserFlags.STAFF);+ expect([...(staffRow.hidden_profile_badges ?? [])]).toEqual(['staff']);+ const premiumRow = await storedRow(premium);+ expect(premiumRow.premium_flags ?? 0).toBe(0);+ expect([...(premiumRow.hidden_profile_badges ?? [])].sort()).toEqual([+ 'plutonium',+ 'premium',+ 'visionary',+ 'visionary_number',+ ]);++ const versions = [(await storedRow(staff)).version, (await storedRow(premium)).version];+ expect(await backfillHiddenProfileBadges(getUserRepository(), 2)).toEqual({migrated: 0, failed: 0});+ expect([(await storedRow(staff)).version, (await storedRow(premium)).version]).toEqual(versions);+ expect((await storedRow(untouched)).version).toBe(untouchedVersion);+ });+});diff --git a/fluxer_api/src/api/user/tests/ProfileBadges.test.ts b/fluxer_api/src/api/user/tests/ProfileBadges.test.tsindex 556a9e14e..d8ca4a826 100644--- a/fluxer_api/src/api/user/tests/ProfileBadges.test.ts+++ b/fluxer_api/src/api/user/tests/ProfileBadges.test.ts@@ -1,5 +1,6 @@// SPDX-License-Identifier: AGPL-3.0-or-later+import {createTestCustomBadge} from '@app/api/admin/tests/AdminTestUtils';import {createTestAccount, setUserACLs, type TestAccount} from '@app/api/auth/tests/AuthTestUtils';import {acceptInvite, createChannelInvite, createGuild, getGuildChannels} from '@app/api/guild/tests/GuildTestUtils';import {type ApiTestHarness, createApiTestHarness} from '@app/api/test/ApiTestHarness';@@ -7,18 +8,26 @@ import {HTTP_STATUS} from '@app/api/test/TestConstants';import {createBuilder} from '@app/api/test/TestRequestBuilder';import {PROFILE_BADGE_ASSETS} from '@app/api/user/profile_badges/ProfileBadgeAssets';import {VISIONARY_NUMBER_TAGS} from '@app/api/user/profile_badges/VisionaryNumberTags';-import {PremiumFlags, ProfilePrivacyLevels, UserFlags, UserPremiumTypes} from '@fluxer/constants/src/UserConstants';+import {AdminACLs} from '@fluxer/constants/src/AdminACLs';+import {+ PremiumFlags,+ ProfilePrivacyLevels,+ PublicUserFlags,+ UserFlags,+ UserPremiumTypes,+} from '@fluxer/constants/src/UserConstants';import type {UserAdminResponse} from '@fluxer/schema/src/domains/admin/AdminUserSchemas';import type {ProfileBadgePreviewResponse,ProfileBadgeResponse,} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';-import type {UserProfileFullResponse} from '@fluxer/schema/src/domains/user/UserResponseSchemas';+import type {UserPrivateResponse, UserProfileFullResponse} from '@fluxer/schema/src/domains/user/UserResponseSchemas';import {afterAll, beforeAll, beforeEach, describe, expect, test} from 'vitest';type ProfileWithBadges = UserProfileFullResponse & {profile_badges: Array<ProfileBadgeResponse>};const PREMIUM_SINCE = '2026-10-15T12:00:00.000Z';+const PUBLIC_BADGE_FLAGS = PublicUserFlags.STAFF | PublicUserFlags.PARTNER | PublicUserFlags.BUG_HUNTER;describe('profile badges', () => {let harness: ApiTestHarness;@@ -69,7 +78,7 @@ describe('profile badges', () => {return builder.expect(HTTP_STATUS.OK).execute();}- async function preview(account: TestAccount, body: Record<string, boolean>): Promise<ProfileBadgePreviewResponse> {+ async function preview(account: TestAccount, body: Record<string, unknown>): Promise<ProfileBadgePreviewResponse> {return createBuilder<ProfileBadgePreviewResponse>(harness, account.token).post('/users/@me/profile-badges/preview').body(body)@@ -88,33 +97,41 @@ describe('profile badges', () => {const english = await profile(viewer, target);expect(english.profile_badges).toEqual([{+ key: 'staff',kind: 'staff',label: 'Fluxer Staff',asset: PROFILE_BADGE_ASSETS.staff,+ asset_url: null,aspect_ratio: null,caption: null,href: expect.any(String),},{+ key: 'bug_hunter',kind: 'bug_hunter',label: 'Fluxer Bug Hunter',asset: PROFILE_BADGE_ASSETS.bug_hunter,+ asset_url: null,aspect_ratio: null,caption: null,href: expect.any(String),},{+ key: 'visionary',kind: 'visionary',label: 'Fluxer Visionary since October 15, 2026',asset: PROFILE_BADGE_ASSETS.visionary,+ asset_url: null,aspect_ratio: null,caption: null,href: expect.stringMatching(/\/help\/visionary$/),},{+ key: 'visionary_number',kind: 'visionary_number',label: 'Visionary ID #42',asset: VISIONARY_NUMBER_TAGS['42']!.asset,+ asset_url: null,aspect_ratio: 226 / 128,caption: '#42',href: expect.stringMatching(/\/help\/visionary$/),@@ -190,39 +207,102 @@ describe('profile badges', () => {expect((await profile(viewer, target)).profile_badges).toEqual([]);});+ async function hideBadges(account: TestAccount, body: Record<string, unknown>): Promise<UserPrivateResponse> {+ return createBuilder<UserPrivateResponse>(harness, account.token)+ .patch('/users/@me')+ .body(body)+ .expect(HTTP_STATUS.OK)+ .execute();+ }+test('the preview reflects each setting without saving it', async () => {const account = await createTestAccount(harness);await makeVisionary(account);expect(kinds(await preview(account, {}))).toEqual(['visionary', 'visionary_number']);- expect(kinds(await preview(account, {premium_badge_hidden: true}))).toEqual([]);+ expect(kinds(await preview(account, {hidden_profile_badges: ['visionary']}))).toEqual([]);expect(kinds(await preview(account, {premium_badge_masked: true}))).toEqual(['plutonium']);- expect(kinds(await preview(account, {premium_badge_sequence_hidden: true}))).toEqual(['visionary']);+ expect(kinds(await preview(account, {hidden_profile_badges: ['visionary_number']}))).toEqual(['visionary']);const dateless = await preview(account, {premium_badge_timestamp_hidden: true});expect(dateless.profile_badges[0]?.label).toBe('Fluxer Visionary');- const saved = await createBuilder<{premium_badge_hidden: boolean}>(harness, account.token)- .get('/users/@me')- .execute();- expect(saved.premium_badge_hidden).toBe(false);+ const masked = await preview(account, {premium_badge_masked: true, hidden_profile_badges: ['visionary_number']});+ expect(masked.own_badges.map(({key, hidden}) => [key, hidden])).toEqual([+ ['visionary', false],+ ['visionary_number', true],+ ]);+ const saved = await createBuilder<UserPrivateResponse>(harness, account.token).get('/users/@me').execute();+ expect(saved.hidden_profile_badges).toEqual([]);expect(kinds(await profile(account, account))).toEqual(['visionary', 'visionary_number']);});- test('staff see every badge with the hidden ones marked', async () => {- const admin = await setUserACLs(harness, await createTestAccount(harness), ['admin:authenticate', 'user:lookup']);+ test('hidden badges leave other people and the public flags but stay listed for you and staff', async () => {+ const admin = await setUserACLs(harness, await createTestAccount(harness), [AdminACLs.WILDCARD]);const target = await createTestAccount(harness);- await setFlags(target, UserFlags.STAFF | UserFlags.STAFF_HIDDEN);+ const viewer = await createTestAccount(harness);+ await shareGuild(target, viewer);+ await setFlags(target, UserFlags.STAFF | UserFlags.PARTNER | UserFlags.BUG_HUNTER);await makeVisionary(target);- await createBuilder(harness, '')- .patch(`/test/users/${target.userId}/premium-flags`)- .body({premium_flags: PremiumFlags.BADGE_HIDDEN})+ const custom = await createTestCustomBadge(harness, admin.token);+ await createBuilder(harness, admin.token)+ .patch(`/admin/users/${target.userId}/badges`)+ .body({badge_ids: [custom.id]})+ .expect(HTTP_STATUS.OK).execute();+ const hidden = ['staff', 'bug_hunter', 'visionary_number', `custom:${custom.id}`];+ const saved = await hideBadges(target, {hidden_profile_badges: hidden});+ expect(saved.hidden_profile_badges).toEqual([...hidden].sort());++ expect(kinds(await profile(viewer, target))).toEqual(['partner', 'visionary']);+ const partial = await createBuilder<{flags: number}>(harness, viewer.token)+ .get(`/users/${target.userId}`)+ .expect(HTTP_STATUS.OK)+ .execute();+ expect(partial.flags & PUBLIC_BADGE_FLAGS).toBe(PublicUserFlags.PARTNER);++ const own = await preview(target, {});+ expect(own.own_badges.map(({key, hidden}) => [key, hidden])).toEqual([+ ['staff', true],+ ['partner', false],+ ['bug_hunter', true],+ ['visionary', false],+ ['visionary_number', true],+ [`custom:${custom.id}`, true],+ ]);+const {users} = await createBuilder<{users: Array<UserAdminResponse>}>(harness, admin.token).get(`/admin/users/${target.userId}`).expect(HTTP_STATUS.OK).execute();- expect(users[0]!.profile_badges.map(({kind, suppressed}) => [kind, suppressed])).toEqual([+ expect(users[0]!.profile_badges.map(({key, suppressed}) => [key, suppressed])).toEqual([['staff', true],- ['visionary', true],+ ['partner', false],+ ['bug_hunter', true],+ ['visionary', false],['visionary_number', true],+ [`custom:${custom.id}`, true],]);});++ test('the deprecated hide fields edit the list, and the list wins when both are sent', async () => {+ const account = await createTestAccount(harness);+ await makeVisionary(account);+ const hidden = await hideBadges(account, {premium_badge_hidden: true, operator_pass_badge_hidden: true});+ expect(hidden.hidden_profile_badges).toEqual(['operator_pass', 'plutonium', 'premium', 'visionary']);+ expect(hidden).toMatchObject({premium_badge_hidden: true, premium_badge_sequence_hidden: false});+ expect(kinds(await profile(account, account))).toEqual([]);++ await hideBadges(account, {premium_badge_sequence_hidden: true});+ const shown = await hideBadges(account, {premium_badge_hidden: false});+ expect(shown.hidden_profile_badges).toEqual(['operator_pass', 'visionary_number']);+ expect(shown).toMatchObject({premium_badge_hidden: false, premium_badge_sequence_hidden: true});++ const listed = await hideBadges(account, {premium_badge_hidden: true, hidden_profile_badges: ['staff']});+ expect(listed.hidden_profile_badges).toEqual(['staff']);+ expect(listed.premium_badge_hidden).toBe(false);++ await createBuilder(harness, account.token)+ .patch('/users/@me')+ .body({hidden_profile_badges: ['not_a_badge']})+ .expect(HTTP_STATUS.BAD_REQUEST)+ .execute();+ });});diff --git a/fluxer_api/src/api/user/tests/UserFlagsResponse.test.ts b/fluxer_api/src/api/user/tests/UserFlagsResponse.test.tsindex e7737a906..afcd63604 100644--- a/fluxer_api/src/api/user/tests/UserFlagsResponse.test.ts+++ b/fluxer_api/src/api/user/tests/UserFlagsResponse.test.ts@@ -4,7 +4,7 @@ import {createTestAccount} from '@app/api/auth/tests/AuthTestUtils';import {type ApiTestHarness, createApiTestHarness} from '@app/api/test/ApiTestHarness';import {HTTP_STATUS} from '@app/api/test/TestConstants';import {createBuilder} from '@app/api/test/TestRequestBuilder';-import {fetchUser, fetchUserMe, updateUserProfile} from '@app/api/user/tests/UserTestUtils';+import {fetchUserMe, updateUserProfile} from '@app/api/user/tests/UserTestUtils';import {PublicUserFlags, UserFlags} from '@fluxer/constants/src/UserConstants';import {afterAll, beforeAll, beforeEach, describe, expect, test} from 'vitest';@@ -27,29 +27,6 @@ describe('User flags in responses', () => {beforeEach(async () => {await harness.reset();});- test('GET /users/@me hides staff flag when STAFF_HIDDEN is set', async () => {- const account = await createTestAccount(harness);- await setUserFlags(harness, account.userId, UserFlags.STAFF | UserFlags.STAFF_HIDDEN);- const {json} = await fetchUserMe(harness, account.token);- expect(json.flags & PublicUserFlags.STAFF).toBe(0);- expect(json.is_staff).toBe(true);- });- test('PATCH /users/@me preserves staff flag with STAFF_HIDDEN after profile update', async () => {- const account = await createTestAccount(harness);- await setUserFlags(harness, account.userId, UserFlags.STAFF | UserFlags.STAFF_HIDDEN);- const {json} = await updateUserProfile(harness, account.token, {- bio: 'updated bio',- });- expect(json.flags & PublicUserFlags.STAFF).toBe(0);- expect(json.is_staff).toBe(true);- });- test('GET /users/:id hides staff flag when STAFF_HIDDEN is set', async () => {- const account = await createTestAccount(harness);- const viewer = await createTestAccount(harness);- await setUserFlags(harness, account.userId, UserFlags.STAFF | UserFlags.STAFF_HIDDEN);- const {json} = await fetchUser(harness, account.userId, viewer.token);- expect(json.flags & PublicUserFlags.STAFF).toBe(0);- });test('PATCH /users/@me does not leak internal flags', async () => {const account = await createTestAccount(harness);await setUserFlags(harness, account.userId, UserFlags.STAFF | UserFlags.SPAMMER | UserFlags.HIGH_GLOBAL_RATE_LIMIT);diff --git a/fluxer_api/src/api/worker/WorkerLaneConfig.ts b/fluxer_api/src/api/worker/WorkerLaneConfig.tsindex 489708654..9eb40e688 100644--- a/fluxer_api/src/api/worker/WorkerLaneConfig.ts+++ b/fluxer_api/src/api/worker/WorkerLaneConfig.ts@@ -104,6 +104,7 @@ const LANE_CONFIG = {'backfillPasskeyTrait','backfillUserAclIndex','backfillDeletedUsers',+ 'backfillHiddenProfileBadges','syncDiscoveryIndex','syncUrlBlocklists','syncFileShaBlocklists',diff --git a/fluxer_api/src/api/worker/WorkerMain.ts b/fluxer_api/src/api/worker/WorkerMain.tsindex 7df98eb6c..9cecc1fef 100644--- a/fluxer_api/src/api/worker/WorkerMain.ts+++ b/fluxer_api/src/api/worker/WorkerMain.ts@@ -45,6 +45,7 @@ import {queueBlocklistFeedStartupJobs} from '@app/api/worker/BlocklistFeedStartuimport {CronScheduler} from '@app/api/worker/CronScheduler';import {JetStreamWorkerQueue, JOBS_STREAM_MAX_AGE_MS} from '@app/api/worker/JetStreamWorkerQueue';import {queueDeletedUsersBackfill} from '@app/api/worker/tasks/BackfillDeletedUsers';+import {queueHiddenProfileBadgesBackfill} from '@app/api/worker/tasks/BackfillHiddenProfileBadges';import {queuePasskeyTraitBackfill} from '@app/api/worker/tasks/BackfillPasskeyTrait';import {queueUserAclIndexBackfill} from '@app/api/worker/tasks/BackfillUserAclIndex';import {singleCommunityJoinPending} from '@app/api/worker/tasks/JoinSingleCommunityMembers';@@ -232,6 +233,7 @@ export async function startWorkerRuntime(options: WorkerRuntimeOptions): Promiseawait queuePasskeyTraitBackfill(dependencies.kvClient, workerService);await queueUserAclIndexBackfill(dependencies.kvClient, workerService);await queueDeletedUsersBackfill(dependencies.kvClient, workerService);+ await queueHiddenProfileBadgesBackfill(dependencies.kvClient, workerService);try {const normalized = await getInstanceConfigRepository().normalizeStoredBrandingAssets(dependencies.storageService);if (normalized > 0) {diff --git a/fluxer_api/src/api/worker/WorkerTaskRegistry.ts b/fluxer_api/src/api/worker/WorkerTaskRegistry.tsindex 4f004c371..5c275e6e5 100644--- a/fluxer_api/src/api/worker/WorkerTaskRegistry.ts+++ b/fluxer_api/src/api/worker/WorkerTaskRegistry.ts@@ -8,6 +8,7 @@ import bulkScheduleUserDeletion from '@app/api/worker/tasks/admin_bulk/BulkSchedimport bulkUpdateGuildFeatures from '@app/api/worker/tasks/admin_bulk/BulkUpdateGuildFeatures';import bulkUpdateUserFlags from '@app/api/worker/tasks/admin_bulk/BulkUpdateUserFlags';import backfillDeletedUsers from '@app/api/worker/tasks/BackfillDeletedUsers';+import backfillHiddenProfileBadges from '@app/api/worker/tasks/BackfillHiddenProfileBadges';import backfillPasskeyTrait from '@app/api/worker/tasks/BackfillPasskeyTrait';import backfillUserAclIndex from '@app/api/worker/tasks/BackfillUserAclIndex';import batchGuildAuditLogMessageDeletes from '@app/api/worker/tasks/BatchGuildAuditLogMessageDeletes';@@ -92,6 +93,7 @@ export const workerTasks: Record<WorkerTaskName, WorkerTaskHandler> = {syncThreadSearchDocument,backfillThreadSearch,backfillDeletedUsers,+ backfillHiddenProfileBadges,backfillPasskeyTrait,backfillUserAclIndex,batchGuildAuditLogMessageDeletes,diff --git a/fluxer_api/src/api/worker/tasks/BackfillHiddenProfileBadges.ts b/fluxer_api/src/api/worker/tasks/BackfillHiddenProfileBadges.tsnew file mode 100644index 000000000..0e3a94eb5--- /dev/null+++ b/fluxer_api/src/api/worker/tasks/BackfillHiddenProfileBadges.ts@@ -0,0 +1,73 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {Logger} from '@app/api/Logger';+import type {User} from '@app/api/models/User';+import type {UserRepository} from '@app/api/user/repositories/UserRepository';+import {getWorkerDependencies} from '@app/api/worker/WorkerContext';+import {WorkerQueueOverflowError} from '@app/api/worker/WorkerQueueOverflowError';+import type {WorkerService} from '@app/api/worker/WorkerService';+import {legacyHiddenProfileBadges} from '@fluxer/constants/src/UserConstants';+import type {IKVProvider} from '@pkgs/kv_client/src/IKVProvider';+import type {WorkerTaskHandler} from '@pkgs/worker/src/contracts/WorkerTask';+import {ms} from 'itty-time';++const HIDDEN_PROFILE_BADGES_BACKFILL_DONE_KEY = 'backfill:hidden_profile_badges:done';+const CLAIM_KEY = 'backfill:hidden_profile_badges:queued';+const CLAIM_TTL_SECONDS = ms('6 hours') / 1000;+const DEFAULT_PAGE_SIZE = 500;++interface HiddenProfileBadgesBackfillSummary {+ migrated: number;+ failed: number;+}++function hasLegacyBadgeHideBits(user: User): boolean {+ return legacyHiddenProfileBadges(user.flags, user.premiumFlags).length > 0;+}++export async function backfillHiddenProfileBadges(+ userRepository: Pick<UserRepository, 'scanAllUsersPage' | 'moveLegacyBadgeHideBits'>,+ pageSize = DEFAULT_PAGE_SIZE,+): Promise<HiddenProfileBadgesBackfillSummary> {+ const summary: HiddenProfileBadgesBackfillSummary = {migrated: 0, failed: 0};+ let pageState: string | null = null;+ do {+ const page = await userRepository.scanAllUsersPage(pageSize, pageState);+ pageState = page.pageState;+ for (const scanned of page.users.filter(hasLegacyBadgeHideBits)) {+ try {+ const migrated = await userRepository.moveLegacyBadgeHideBits(scanned.id, {mergeIntoHiddenList: true});+ if (migrated) summary.migrated++;+ } catch (error) {+ summary.failed++;+ Logger.error({error, userId: scanned.id.toString()}, 'Failed to move the hidden badge bits of a user');+ }+ }+ } while (pageState !== null);+ Logger.info(summary, 'Backfilled hidden profile badges');+ return summary;+}++export async function queueHiddenProfileBadgesBackfill(+ kvClient: Pick<IKVProvider, 'get' | 'setnx' | 'del'>,+ workerService: Pick<WorkerService, 'addJob'>,+): Promise<void> {+ if ((await kvClient.get(HIDDEN_PROFILE_BADGES_BACKFILL_DONE_KEY)) !== null) return;+ if (!(await kvClient.setnx(CLAIM_KEY, '1', CLAIM_TTL_SECONDS))) return;+ try {+ await workerService.addJob('backfillHiddenProfileBadges', {});+ } catch (error) {+ await kvClient.del(CLAIM_KEY);+ if (!(error instanceof WorkerQueueOverflowError)) throw error;+ Logger.warn('Dropped the hidden profile badges backfill job, jobs stream is at its limit');+ }+}++const backfillHiddenProfileBadgesTask: WorkerTaskHandler = async () => {+ const {userRepository, kvClient} = getWorkerDependencies();+ const summary = await backfillHiddenProfileBadges(userRepository);+ if (summary.failed > 0) throw new Error(`Hidden profile badges backfill failed for ${summary.failed} users`);+ await kvClient.set(HIDDEN_PROFILE_BADGES_BACKFILL_DONE_KEY, new Date().toISOString());+};++export default backfillHiddenProfileBadgesTask;diff --git a/fluxer_api/src/api/worker/tasks/ProcessAssetDeletionQueue.ts b/fluxer_api/src/api/worker/tasks/ProcessAssetDeletionQueue.tsindex 15635d883..11be0bae8 100644--- a/fluxer_api/src/api/worker/tasks/ProcessAssetDeletionQueue.ts+++ b/fluxer_api/src/api/worker/tasks/ProcessAssetDeletionQueue.ts@@ -32,7 +32,10 @@ interface ProcessItemResult {interface AssetReferenceRepositories {userRepository: Pick<UserRepository, 'findUnique'>;guildRepository: Pick<GuildRepository, 'findUnique' | 'getMember'>;- instanceConfigRepository: Pick<InstanceConfigRepository, 'readStoredBrandingAssetKeys'>;+ instanceConfigRepository: Pick<+ InstanceConfigRepository,+ 'readStoredBrandingAssetKeys' | 'readStoredCustomBadgeAssetKeys'+ >;}interface AssetDeletionDependencies extends AssetReferenceRepositories {@@ -181,6 +184,9 @@ async function isQueuedAssetStillCurrent(if (/^branding(?:-backdrops)?\//.test(item.s3Key)) {return (await deps.instanceConfigRepository.readStoredBrandingAssetKeys()).has(item.s3Key);}+ if (item.s3Key.startsWith('custom-badges/')) {+ return (await deps.instanceConfigRepository.readStoredCustomBadgeAssetKeys()).has(item.s3Key);+ }const references = inferAssetReferencesFromS3Key(item.s3Key);const {staleReference} = item;if (diff --git a/fluxer_api/src/api/worker/tasks/admin_bulk/AdminBulkServices.ts b/fluxer_api/src/api/worker/tasks/admin_bulk/AdminBulkServices.tsindex 3131081e8..0db3fe261 100644--- a/fluxer_api/src/api/worker/tasks/admin_bulk/AdminBulkServices.ts+++ b/fluxer_api/src/api/worker/tasks/admin_bulk/AdminBulkServices.ts@@ -16,6 +16,7 @@ import {getEnforcementDecisionRepository,getEntityAssetService,getGuildDiscoveryRepository,+ getInstanceConfigRepository,getInviteRepository,} from '@app/api/middleware/ServiceSingletons';import {queuePaymentDisputeClosures} from '@app/api/payment_disputes/PaymentDisputeEnforcement';@@ -135,6 +136,7 @@ export function createAdminBulkServices(deps: WorkerDependencies): AdminBulkServauditService,discoveryRepository: getGuildDiscoveryRepository(),enforcement: enforcementService,+ instanceConfigRepository: getInstanceConfigRepository(),});return {auditService, banManagementService, userService, guildService};}diff --git a/fluxer_app/src/features/app/components/floating/UserAreaPopout.tsx b/fluxer_app/src/features/app/components/floating/UserAreaPopout.tsxindex 53b3188a3..59b0cceba 100644--- a/fluxer_app/src/features/app/components/floating/UserAreaPopout.tsx+++ b/fluxer_app/src/features/app/components/floating/UserAreaPopout.tsx@@ -33,6 +33,7 @@ import FocusRingScope from '@app/features/ui/focus_ring/FocusRingScope';import {CaretRightIcon} from '@app/features/ui/icons/DirectionalIcons';import {Popout} from '@app/features/ui/popover/PopoverPopout';import {Tooltip} from '@app/features/ui/tooltip/Tooltip';+import {openProfileBadgeSettings} from '@app/features/user/commands/UserSettingsModalCommands';import {CustomStatusModal} from '@app/features/user/components/modals/CustomStatusModal';import {UserProfileModal} from '@app/features/user/components/modals/UserProfileModal';import {UserProfileBadges} from '@app/features/user/components/popouts/UserProfileBadges';@@ -52,7 +53,7 @@ import UserSettings from '@app/features/user/state/UserSettings';import Users from '@app/features/user/state/Users';import * as NicknameUtils from '@app/features/user/utils/NicknameUtils';import * as ProfileDisplayUtils from '@app/features/user/utils/ProfileDisplayUtils';-import {canOpenProfileEditor} from '@app/features/user/utils/ProfileEditAccess';+import {canEditOwnProfileBadges, canOpenProfileEditor} from '@app/features/user/utils/ProfileEditAccess';import {createMockProfile} from '@app/features/user/utils/ProfileUtils';import {copyVoiceDiagnostics} from '@app/features/voice/commands/VoiceDiagnosticsCommands';import MediaEngine from '@app/features/voice/engine/MediaEngineFacade';@@ -324,6 +325,10 @@ export const UserAreaPopout = observer(() => {);PopoutCommands.close();}, []);+ const openBadgeSettings = useCallback(() => {+ openProfileBadgeSettings();+ PopoutCommands.close();+ }, []);const openUserProfile = useCallback(() => {if (!currentUserId) {return;@@ -435,6 +440,7 @@ export const UserAreaPopout = observer(() => {/><UserProfileBadgesbadges={profile?.profileBadges ?? []}+ onEditBadges={canEditOwnProfileBadges(currentUser.id, profile) ? openBadgeSettings : undefined}data-flx="app.floating.user-area-popout.user-profile-badges"/><ProfileCardContent isWebhook={false} data-flx="app.floating.user-area-popout.profile-card-content">diff --git a/fluxer_app/src/features/app/components/layout/GuildHeader.tsx b/fluxer_app/src/features/app/components/layout/GuildHeader.tsxindex f9cbe664b..ce35a7a88 100644--- a/fluxer_app/src/features/app/components/layout/GuildHeader.tsx+++ b/fluxer_app/src/features/app/components/layout/GuildHeader.tsx@@ -154,6 +154,8 @@ export const GuildHeader = observer(({guild, banner}: {guild: Guild; banner: Gui<><GuildBadgefeatures={guild.features}+ badgeIds={guild.badgeIds}+ customBadgeLimit={2}variant={onBanner ? 'banner' : 'default'}tooltipPosition="bottom"data-flx="app.guild-header.guild-badge"diff --git a/fluxer_app/src/features/app/components/layout/sidebar_nav/GuildListItemTooltip.tsx b/fluxer_app/src/features/app/components/layout/sidebar_nav/GuildListItemTooltip.tsxindex fb4d7b944..35dfa272d 100644--- a/fluxer_app/src/features/app/components/layout/sidebar_nav/GuildListItemTooltip.tsx+++ b/fluxer_app/src/features/app/components/layout/sidebar_nav/GuildListItemTooltip.tsx@@ -187,6 +187,8 @@ export function GuildListItemTooltip({><GuildBadgefeatures={guild.features}+ badgeIds={guild.badgeIds}+ customBadgeLimit={2}showTooltip={false}onLightSurfacedata-flx="app.sidebar-nav.guild-list-item-tooltip.guild-badge"diff --git a/fluxer_app/src/features/app/components/pages/YouPage.module.css b/fluxer_app/src/features/app/components/pages/YouPage.module.cssindex 4a8a16e32..6c1b3cdda 100644--- a/fluxer_app/src/features/app/components/pages/YouPage.module.css+++ b/fluxer_app/src/features/app/components/pages/YouPage.module.css@@ -126,6 +126,7 @@display: flex;align-items: center;flex-shrink: 0;+ max-width: 100%;}.customStatusRow {diff --git a/fluxer_app/src/features/app/components/pages/YouPage.tsx b/fluxer_app/src/features/app/components/pages/YouPage.tsxindex 7aa85ad3a..1672b2801 100644--- a/fluxer_app/src/features/app/components/pages/YouPage.tsx+++ b/fluxer_app/src/features/app/components/pages/YouPage.tsx@@ -11,7 +11,7 @@ import {modal} from '@app/features/ui/commands/ModalCommands';import {NotificationDot} from '@app/features/ui/components/NotificationDot';import {Scroller} from '@app/features/ui/components/Scroller';import {StatusAwareAvatar} from '@app/features/ui/components/StatusAwareAvatar';-import {openUserSettingsModal} from '@app/features/user/commands/UserSettingsModalCommands';+import {openProfileBadgeSettings, openUserSettingsModal} from '@app/features/user/commands/UserSettingsModalCommands';import {NoteEditSheet} from '@app/features/user/components/modals/NoteEditSheet';import {UserProfileBadges} from '@app/features/user/components/popouts/UserProfileBadges';import {UserProfileBio, UserProfileMembershipInfo} from '@app/features/user/components/popouts/UserProfileShared';@@ -23,7 +23,7 @@ import UserSettings from '@app/features/user/state/UserSettings';import Users from '@app/features/user/state/Users';import * as AvatarUtils from '@app/features/user/utils/AvatarUtils';import * as NicknameUtils from '@app/features/user/utils/NicknameUtils';-import {canOpenProfileEditor} from '@app/features/user/utils/ProfileEditAccess';+import {canEditOwnProfileBadges, canOpenProfileEditor} from '@app/features/user/utils/ProfileEditAccess';import {createMockProfile} from '@app/features/user/utils/ProfileUtils';import {msg} from '@lingui/core/macro';import {Trans, useLingui} from '@lingui/react/macro';@@ -147,6 +147,7 @@ export const YouPage = observer(({onAvatarClick}: YouPageProps) => {badges={profile?.profileBadges ?? []}isModal={true}isMobile={true}+ onEditBadges={canEditOwnProfileBadges(user.id, profile) ? openProfileBadgeSettings : undefined}data-flx="app.you-page.user-profile-badges"/></div>diff --git a/fluxer_app/src/features/app/state/InstanceSnapshotStore.ts b/fluxer_app/src/features/app/state/InstanceSnapshotStore.tsindex 493dea4f8..733550169 100644--- a/fluxer_app/src/features/app/state/InstanceSnapshotStore.ts+++ b/fluxer_app/src/features/app/state/InstanceSnapshotStore.ts@@ -120,6 +120,7 @@ export function runtimeSnapshotFromDiscovery(document: InstanceDiscoveryDocumentagePolicy: discovery.agePolicy,domainMigration: discovery.domainMigration,notice: discovery.notice ?? null,+ guildBadges: discovery.guildBadges,});}diff --git a/fluxer_app/src/features/app/state/RuntimeConfig.ts b/fluxer_app/src/features/app/state/RuntimeConfig.tsindex 7ed22d8d4..feb1e13c5 100644--- a/fluxer_app/src/features/app/state/RuntimeConfig.ts+++ b/fluxer_app/src/features/app/state/RuntimeConfig.ts@@ -55,6 +55,7 @@ import type {InstanceAppPublic,InstanceCommunity,InstanceFeatures,+ InstanceGuildBadge,InstanceNotice,InstanceServices,InstanceSso as InstanceSsoConfig,@@ -682,6 +683,7 @@ class RuntimeConfig {features: resolution.snapshot.features,appPublic: resolution.snapshot.appPublic,notice: resolution.snapshot.notice,+ guildBadges: resolution.snapshot.guildBadges,});this.activeRuntime = {...runtime, snapshot: usable};this.lifecycleGeneration = nextLifecycleGeneration(this.lifecycleGeneration);@@ -905,6 +907,10 @@ class RuntimeConfig {return this.activeRuntime?.snapshot.notice ?? null;}+ get guildBadges(): ReadonlyArray<InstanceGuildBadge> {+ return this.activeRuntime?.snapshot.guildBadges ?? [];+ }+get gifEnabled(): boolean {return this.services.gif_enabled;}diff --git a/fluxer_app/src/features/app/state/RuntimeConfigSnapshot.ts b/fluxer_app/src/features/app/state/RuntimeConfigSnapshot.tsindex 5de66d4c7..67e1bac2e 100644--- a/fluxer_app/src/features/app/state/RuntimeConfigSnapshot.ts+++ b/fluxer_app/src/features/app/state/RuntimeConfigSnapshot.ts@@ -33,6 +33,7 @@ import {type InstanceCommunity,type InstanceDomainMigration,type InstanceFeatures,+ type InstanceGuildBadge,type InstanceNotice,type InstanceRegistration,type InstanceServices,@@ -74,6 +75,7 @@ export interface RuntimeConfigSnapshot extends RuntimeConfigIdentity {readonly agePolicy: InstanceAgePolicy | null;readonly domainMigration: InstanceDomainMigration | null;readonly notice: InstanceNotice | null;+ readonly guildBadges: ReadonlyArray<InstanceGuildBadge>;}export class InvalidRuntimeConfigSnapshotError extends Error {@@ -561,6 +563,26 @@ function readNotice(value: unknown): InstanceNotice | null {};}+function readGuildBadges(value: unknown): Array<InstanceGuildBadge> {+ if (value === undefined) {+ return [];+ }+ if (!Array.isArray(value)) {+ invalid('guildBadges', 'must be an array');+ }+ return value.map((entry, index) => {+ const path = `guildBadges[${index}]`;+ const source = readRecord(entry, path);+ return {+ id: readNonEmptyString(source, 'id', `${path}.id`),+ name: readNonEmptyString(source, 'name', `${path}.name`),+ description: readNullableNonEmptyString(source, 'description', `${path}.description`),+ asset_url: readNonEmptyString(source, 'asset_url', `${path}.asset_url`),+ href: readNullableAbsoluteHttpUrl(source, 'href', `${path}.href`),+ };+ });+}+export function requireRuntimeConfigSnapshot(value: unknown): RuntimeConfigSnapshot {const source = readRecord(value, 'root');return {@@ -590,5 +612,6 @@ export function requireRuntimeConfigSnapshot(value: unknown): RuntimeConfigSnapsagePolicy: readAgePolicy(source.agePolicy),domainMigration: parseInstanceDomainMigration(source.domainMigration),notice: readNotice(source.notice),+ guildBadges: readGuildBadges(source.guildBadges),};}diff --git a/fluxer_app/src/features/auth/flow/InviteHeader.tsx b/fluxer_app/src/features/auth/flow/InviteHeader.tsxindex fb4ef6ed4..e6ccacfa2 100644--- a/fluxer_app/src/features/auth/flow/InviteHeader.tsx+++ b/fluxer_app/src/features/auth/flow/InviteHeader.tsx@@ -31,6 +31,7 @@ interface PreviewGuildInviteHeaderProps {guildName: string;guildIcon: string | null;features: ReadonlyArray<string>;+ badgeIds: ReadonlyArray<string>;presenceCount: number;memberCount: number;previewIconUrl?: string | null;@@ -75,7 +76,12 @@ export const GuildInviteHeader = observer(function GuildInviteHeader({invite}: G<h2 className={styles.entityTitle} data-flx="auth.flow.invite-header.guild-invite-header.entity-title">{guild.name}</h2>- <GuildBadge features={features} data-flx="auth.flow.invite-header.guild-invite-header.guild-badge" />+ <GuildBadge+ features={features}+ badgeIds={guild.badge_ids}+ linkable+ data-flx="auth.flow.invite-header.guild-invite-header.guild-badge"+ /></div><div className={styles.entityStats} data-flx="auth.flow.invite-header.guild-invite-header.entity-stats"><div className={styles.entityStat} data-flx="auth.flow.invite-header.guild-invite-header.entity-stat">@@ -163,6 +169,7 @@ export const PreviewGuildInviteHeader = observer(function PreviewGuildInviteHeadguildName,guildIcon,features,+ badgeIds,presenceCount,memberCount,previewIconUrl,@@ -222,7 +229,11 @@ export const PreviewGuildInviteHeader = observer(function PreviewGuildInviteHead>{displayName}</h2>- <GuildBadge features={features} data-flx="auth.flow.invite-header.preview-guild-invite-header.guild-badge" />+ <GuildBadge+ features={features}+ badgeIds={badgeIds}+ data-flx="auth.flow.invite-header.preview-guild-invite-header.guild-badge"+ /></div><div className={styles.entityStats} data-flx="auth.flow.invite-header.preview-guild-invite-header.entity-stats"><div className={styles.entityStat} data-flx="auth.flow.invite-header.preview-guild-invite-header.entity-stat">diff --git a/fluxer_app/src/features/channel/components/InviteEmbed.tsx b/fluxer_app/src/features/channel/components/InviteEmbed.tsxindex f058b7066..9cd298ce9 100644--- a/fluxer_app/src/features/channel/components/InviteEmbed.tsx+++ b/fluxer_app/src/features/channel/components/InviteEmbed.tsx@@ -339,6 +339,8 @@ const InviteEmbedInner = observer(function InviteEmbedInner({</h3><GuildBadgefeatures={features}+ badgeIds={invite.guild.badge_ids}+ linkablevariant="large"onLightSurfacedata-flx="channel.invite-embed.guild-badge"@@ -608,6 +610,7 @@ export const GuildInviteEmbedPreview = observer(function GuildInviteEmbedPreview</h3><GuildBadgefeatures={guild.features}+ badgeIds={guild.badgeIds}variant="large"onLightSurfacedata-flx="channel.invite-embed.guild-invite-embed-preview.guild-badge"diff --git a/fluxer_app/src/features/discovery/commands/DiscoveryCommands.ts b/fluxer_app/src/features/discovery/commands/DiscoveryCommands.tsindex 87d0690f0..f8b717168 100644--- a/fluxer_app/src/features/discovery/commands/DiscoveryCommands.ts+++ b/fluxer_app/src/features/discovery/commands/DiscoveryCommands.ts@@ -18,6 +18,7 @@ export interface DiscoveryGuild {member_count: number;online_count: number;features: Array<string>;+ badge_ids: Array<string>;verification_level: number;visits_enabled?: boolean;}diff --git a/fluxer_app/src/features/discovery/components/modals/DiscoveryGuildPreviewModal.tsx b/fluxer_app/src/features/discovery/components/modals/DiscoveryGuildPreviewModal.tsxindex d39848bc6..3465a8341 100644--- a/fluxer_app/src/features/discovery/components/modals/DiscoveryGuildPreviewModal.tsx+++ b/fluxer_app/src/features/discovery/components/modals/DiscoveryGuildPreviewModal.tsx@@ -106,6 +106,7 @@ export const DiscoveryGuildPreviewModal = observer(function DiscoveryGuildPrevieguildName={guild.name}guildIcon={guild.icon}features={badgeFeatures}+ badgeIds={guild.badge_ids}presenceCount={guild.online_count}memberCount={guild.member_count}eyebrowText={i18n._(PUBLIC_COMMUNITY_DESCRIPTOR)}diff --git a/fluxer_app/src/features/discovery/discovery/DiscoveryGuildCard.tsx b/fluxer_app/src/features/discovery/discovery/DiscoveryGuildCard.tsxindex 759e6db98..cf0f8b537 100644--- a/fluxer_app/src/features/discovery/discovery/DiscoveryGuildCard.tsx+++ b/fluxer_app/src/features/discovery/discovery/DiscoveryGuildCard.tsx@@ -143,6 +143,7 @@ export const DiscoveryGuildCard = observer(function DiscoveryGuildCard({</span><GuildBadgefeatures={nameBadgeFeatures}+ badgeIds={guild.badge_ids}tooltipPosition="bottom"data-flx="discovery.discovery.discovery-guild-card.guild-badge"/>diff --git a/fluxer_app/src/features/guild/components/GuildBadge.module.css b/fluxer_app/src/features/guild/components/GuildBadge.module.cssindex c86e330b6..01ce479b9 100644--- a/fluxer_app/src/features/guild/components/GuildBadge.module.css+++ b/fluxer_app/src/features/guild/components/GuildBadge.module.css@@ -5,6 +5,28 @@align-items: center;}+.badgeRow {+ display: inline-flex;+ align-items: center;+ gap: 0.25rem;+}++.customBadge {+ flex-shrink: 0;+ object-fit: contain;+}++.customBadgeTooltip {+ display: flex;+ flex-direction: column;+ gap: 0.125rem;+ max-width: 16rem;+}++.customBadgeTooltipName {+ font-weight: 600;+}+.badge {flex-shrink: 0;--guild-badge-seal: var(--brand-primary-fill);diff --git a/fluxer_app/src/features/guild/components/GuildBadge.tsx b/fluxer_app/src/features/guild/components/GuildBadge.tsxindex eb4b56e22..ae2a3abb2 100644--- a/fluxer_app/src/features/guild/components/GuildBadge.tsx+++ b/fluxer_app/src/features/guild/components/GuildBadge.tsx@@ -7,10 +7,14 @@ import {DiscoverableBadgeIcon} from '@app/features/ui/components/icons/Discoveraimport {PartneredBadgeIcon} from '@app/features/ui/components/icons/PartneredBadgeIcon';import {VerifiedBadgeIcon} from '@app/features/ui/components/icons/VerifiedBadgeIcon';import {Tooltip} from '@app/features/ui/tooltip/Tooltip';+import {handleExternalLinkClick} from '@app/features/ui/utils/NativeUtils';+import {customBadgeImageUrl} from '@app/features/user/utils/ProfileUtils';import {GuildFeatures} from '@fluxer/constants/src/GuildConstants';+import type {InstanceGuildBadge} from '@fluxer/instance_bootstrap/src/Types';import {msg} from '@lingui/core/macro';import {useLingui} from '@lingui/react/macro';import {observer} from 'mobx-react-lite';+import {useEffect} from 'react';const VERIFIED_PARTNERED_COMMUNITY_DESCRIPTOR = msg({message: 'Verified & partnered community',@@ -25,8 +29,14 @@ const VERIFIED_COMMUNITY_DESCRIPTOR = msg({comment: 'Short label in the community badge. Keep it concise.',});+const UNKNOWN_BADGE_REVALIDATION_COOLDOWN_MS = 5 * 60 * 1000;+const unknownBadgeRevalidatedAt = new Map<string, number>();+interface GuildBadgeProps {readonly features: ReadonlySet<string> | ReadonlyArray<string>;+ readonly badgeIds?: ReadonlyArray<string>;+ readonly customBadgeLimit?: number;+ readonly linkable?: boolean;readonly variant?: 'default' | 'large' | 'banner';readonly tooltipPosition?: 'top' | 'bottom';readonly showTooltip?: boolean;@@ -41,14 +51,101 @@ function hasFeature(features: ReadonlySet<string> | ReadonlyArray<string>, featureturn (features as ReadonlySet<string>).has(feature);}-export const GuildBadge = observer(function GuildBadge({+function assignedCustomBadges(badgeIds: ReadonlyArray<string>): ReadonlyArray<InstanceGuildBadge> {+ if (badgeIds.length === 0) return [];+ const assigned = new Set(badgeIds);+ return RuntimeConfig.guildBadges.filter((badge) => assigned.has(badge.id));+}++function revalidateUnknownBadges(badgeIds: ReadonlyArray<string>): void {+ const known = new Set(RuntimeConfig.guildBadges.map((badge) => badge.id));+ const now = Date.now();+ const unknown = badgeIds.filter(+ (id) => !known.has(id) && now - (unknownBadgeRevalidatedAt.get(id) ?? 0) >= UNKNOWN_BADGE_REVALIDATION_COOLDOWN_MS,+ );+ if (unknown.length === 0) return;+ for (const id of unknown) unknownBadgeRevalidatedAt.set(id, now);+ void RuntimeConfig.revalidateDiscovery().catch(() => undefined);+}++function CustomGuildBadge({+ badge,+ size,+ linkable,+ tooltipPosition,+ showTooltip,+}: {+ readonly badge: InstanceGuildBadge;+ readonly size: number;+ readonly linkable: boolean;+ readonly tooltipPosition: 'top' | 'bottom';+ readonly showTooltip: boolean;+}) {+ const image = (+ <img+ src={customBadgeImageUrl(badge.asset_url)}+ alt={badge.name}+ width={size}+ height={size}+ className={styles.customBadge}+ data-flx="guild.guild-badge.custom-badge-image"+ />+ );+ const href = linkable ? badge.href : null;+ const content = href ? (+ <a+ href={href}+ target="_blank"+ rel="noopener noreferrer"+ className={styles.badgeWrapper}+ onClick={(event) => handleExternalLinkClick(event, href)}+ data-flx="guild.guild-badge.custom-badge-link"+ >+ {image}+ </a>+ ) : (+ <span className={styles.badgeWrapper} data-flx="guild.guild-badge.custom-badge-wrapper">+ {image}+ </span>+ );+ if (!showTooltip) {+ return content;+ }+ const description = badge.description;+ const tooltip =+ description === null+ ? badge.name+ : () => (+ <span className={styles.customBadgeTooltip} data-flx="guild.guild-badge.custom-badge-tooltip-content">+ <span className={styles.customBadgeTooltipName} data-flx="guild.guild-badge.custom-badge-tooltip-name">+ {badge.name}+ </span>+ <span data-flx="guild.guild-badge.custom-badge-tooltip-description">{description}</span>+ </span>+ );+ return (+ <Tooltip text={tooltip} position={tooltipPosition} data-flx="guild.guild-badge.custom-badge-tooltip">+ {content}+ </Tooltip>+ );+}++type BuiltInGuildBadgeProps = Required<+ Omit<GuildBadgeProps, 'badgeIds' | 'customBadgeLimit' | 'linkable' | 'variant'>+> & {+ readonly variant: NonNullable<GuildBadgeProps['variant']>;+ readonly size: number;+};++const BuiltInGuildBadge = observer(function BuiltInGuildBadge({features,- variant = 'default',- tooltipPosition = 'top',- showTooltip = true,- forceDarkTheme = false,- onLightSurface = false,-}: GuildBadgeProps) {+ variant,+ size,+ tooltipPosition,+ showTooltip,+ forceDarkTheme,+ onLightSurface,+}: BuiltInGuildBadgeProps) {const {i18n} = useLingui();const isVerified = hasFeature(features, GuildFeatures.VERIFIED);const isPartnered = hasFeature(features, GuildFeatures.PARTNERED);@@ -56,7 +153,6 @@ export const GuildBadge = observer(function GuildBadge({if (!isVerified && !isPartnered && !isDiscoverable) {return null;}- const badgeSize = variant === 'large' ? 24 : 20;let badgeClassName: string;if (variant === 'banner') {badgeClassName = forceDarkTheme ? styles.badgeBannerDark : styles.badgeBanner;@@ -68,22 +164,18 @@ export const GuildBadge = observer(function GuildBadge({if (isPartnered) {tooltipText = isVerified ? i18n._(VERIFIED_PARTNERED_COMMUNITY_DESCRIPTOR) : i18n._(PARTNERED_COMMUNITY_DESCRIPTOR);icon = (- <PartneredBadgeIcon- size={badgeSize}- className={badgeClassName}- data-flx="guild.guild-badge.partnered-badge-icon"- />+ <PartneredBadgeIcon size={size} className={badgeClassName} data-flx="guild.guild-badge.partnered-badge-icon" />);} else if (isVerified) {tooltipText = i18n._(VERIFIED_COMMUNITY_DESCRIPTOR);icon = (- <VerifiedBadgeIcon size={badgeSize} className={badgeClassName} data-flx="guild.guild-badge.verified-badge-icon" />+ <VerifiedBadgeIcon size={size} className={badgeClassName} data-flx="guild.guild-badge.verified-badge-icon" />);} else {tooltipText = i18n._(DISCOVERABLE_COMMUNITY_DESCRIPTOR);icon = (<DiscoverableBadgeIcon- size={badgeSize}+ size={size}className={badgeClassName}data-flx="guild.guild-badge.discoverable-badge-icon"/>@@ -100,3 +192,52 @@ export const GuildBadge = observer(function GuildBadge({</Tooltip>);});++export const GuildBadge = observer(function GuildBadge({+ features,+ badgeIds = [],+ customBadgeLimit,+ linkable = false,+ variant = 'default',+ tooltipPosition = 'top',+ showTooltip = true,+ forceDarkTheme = false,+ onLightSurface = false,+}: GuildBadgeProps) {+ const size = variant === 'large' ? 24 : 20;+ const builtIn = (+ <BuiltInGuildBadge+ features={features}+ variant={variant}+ size={size}+ tooltipPosition={tooltipPosition}+ showTooltip={showTooltip}+ forceDarkTheme={forceDarkTheme}+ onLightSurface={onLightSurface}+ data-flx="guild.guild-badge.built-in-guild-badge"+ />+ );+ useEffect(() => {+ if (badgeIds.length > 0) revalidateUnknownBadges(badgeIds);+ }, [badgeIds]);+ const customBadges = assignedCustomBadges(badgeIds).slice(0, customBadgeLimit);+ if (customBadges.length === 0) {+ return builtIn;+ }+ return (+ <span className={styles.badgeRow} data-flx="guild.guild-badge.badge-row">+ {builtIn}+ {customBadges.map((badge) => (+ <CustomGuildBadge+ key={badge.id}+ badge={badge}+ size={size}+ linkable={linkable}+ tooltipPosition={tooltipPosition}+ showTooltip={showTooltip}+ data-flx="guild.guild-badge.custom-guild-badge"+ />+ ))}+ </span>+ );+});diff --git a/fluxer_app/src/features/guild/models/Guild.ts b/fluxer_app/src/features/guild/models/Guild.tsindex 4866e9f8c..52a509d52 100644--- a/fluxer_app/src/features/guild/models/Guild.ts+++ b/fluxer_app/src/features/guild/models/Guild.ts@@ -45,6 +45,7 @@ export class Guild {readonly embedSplashWidth: number | null;readonly embedSplashHeight: number | null;readonly features: ReadonlySet<string>;+ readonly badgeIds: ReadonlyArray<string>;readonly vanityURLCode: string | null;readonly ownerId: string;readonly systemChannelId: string | null;@@ -85,6 +86,7 @@ export class Guild {this.embedSplashWidth = this.normalizeEmbedSplashWidth(guild);this.embedSplashHeight = this.normalizeEmbedSplashHeight(guild);this.features = new Set(guild.features);+ this.badgeIds = this.normalizeFieldWithDefault(guild, 'badge_ids', 'badgeIds', []);this.vanityURLCode = this.normalizeVanityUrlCode(guild);this.ownerId = this.normalizeOwnerId(guild);this.systemChannelId = this.normalizeSystemChannelId(guild);@@ -310,6 +312,7 @@ export class Guild {embed_splash_width: this.embedSplashWidth,embed_splash_height: this.embedSplashHeight,features: [...this.features],+ badge_ids: this.badgeIds,vanity_url_code: this.vanityURLCode,owner_id: this.ownerId,system_channel_id: this.systemChannelId,diff --git a/fluxer_app/src/features/i18n/locales/ar/messages.po b/fluxer_app/src/features/i18n/locales/ar/messages.poindex b236c7c57..2107c0997 100644--- a/fluxer_app/src/features/i18n/locales/ar/messages.po+++ b/fluxer_app/src/features/i18n/locales/ar/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}، خيار مطلوب من نوع {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "يتولى {PAYMENT_PROVIDER_NAME} الدفع بأمان."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "خصوصية شارة {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "الرموز الاحتياطية"msgid "Backup codes regenerated"msgstr "تم تجديد الرموز الاحتياطية"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "شارة"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "الشارات"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "اختر المكان الذي سيتم نشر رسائله فيه. يمmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "اختر ما إذا كان بإمكان الأشخاص الذين يشاركونك مجتمعًا إرسال رسائل مباشرة إليك دون أن يكونوا أصدقاء أولاً."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "اختر الشارات التي يراها الآخرون في ملفك الشخصي."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "مقارنة"msgid "Complete payment"msgstr "إتمام الدفع"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "إخفاء شارة {premiumProductName} الخاصة بك بالكامل عن المستخدمين الآخرين"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "اضبط الكاميرا وجودة مشاركة الشاشة والمmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "اضبط الميكروفون ومكبرات الصوت ووضع الإدخال والمعالجة وأصوات الدردشة الصوتية."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "إعداد شارة ملفك الشخصي"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "أكّد بريدك الإلكتروني قبل تغيير اسمك ال#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "أكّد بريدك الإلكتروني قبل تغيير اسم المستخدم أو اسم العرض أو الصورة الرمزية أو اللافتة أو النبذة الشخصية أو الضمائر أو المنطقة الزمنية أو خصوصية شارة {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "أكّد بريدك الإلكتروني قبل تغيير اسم المستخدم أو اسم العرض أو الصورة الرمزية أو اللافتة أو النبذة الشخصية أو الضمائر أو المنطقة الزمنية أو الشارات."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "تحكّم في كيفية عرض صور HDR على الشاشات الmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "تحكّم في كيفية فلترة الوسائط الحساسة أو التي تحتوي على محتوى للبالغين في سياقات مختلفة."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "تحكّم في كيفية عرض شارة {premiumProductName} للآخرين"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "تعديل أساسيات التطبيق وعناوين URI لإعادةmsgid "Edit attachment"msgstr "تعديل المرفق"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "تعديل الشارات"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "إخفاء"msgid "Hide {appName}"msgstr "إخفاء {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "إخفاء شارة {premiumProductName} بالكامل"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "إخفاء تاريخ شراء {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "إخفاء تاريخ شراء {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "إخفاء الإرشادات"msgid "Hide help center button"msgstr "إخفاء زر مركز المساعدة"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "إخفاء عدد Operator Pass لديك"@@ -18678,18 +18658,8 @@ msgstr "إخفاء النافذة عند التصغير وإعادة الفتحmsgid "Hide user avatars"msgstr "إخفاء صور المستخدمين الرمزية"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "إخفاء شارة Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "إخفاء شارة Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "إخفاء موعد حصولك على {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "إخفاء تفاصيل الحساب الخاصة مثل البريد اmsgid "Mask private details before sharing your screen or stream."msgstr "إخفاء التفاصيل الخاصة قبل مشاركة شاشتك أو بثك."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "إظهار Visionary كاشتراك"@@ -26174,11 +26144,6 @@ msgstr "عروض Operator Pass"msgid "Operator Pass purchase"msgstr "شراء Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass منذ {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "يفضل تقليل الحركة"msgid "Premium"msgstr "مميز"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "شارة Premium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "إزالة المهلة"msgid "Remove translator"msgstr "إزالة المترجم"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "إزالة تاريخ أول شراء لـ {premiumProductName} من شارتك"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "إزالة شارة Visionary ID الخاصة بك"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "إظهار"msgid "Show {appName}"msgstr "إظهار {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "إظهار {badgeLabel} في ملفك الشخصي"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "عرض النشاط على الحسابات الأخرى"msgid "Show attachment expiration indicator"msgstr "إظهار مؤشر انتهاء صلاحية المرفق"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "إظهار الشارة على ملفي الشخصي"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "إظهار الصورة الرمزية لملفك الشخصي العاmsgid "Show your global profile banner in this community"msgstr "إظهار لافتة ملفك الشخصي العام في هذا المجتمع"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "إظهار اشتراكك في Visionary كاشتراك عادي بدلاً من ذلك"@@ -33420,6 +33375,11 @@ msgstr "يظهر في بطاقات الدعوة المضمّنة في الدردmsgid "Shown on every post so people can react with one click."msgstr "يُعرض على كل منشور ليتمكن الأشخاص من التفاعل بنقرة واحدة."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "يظهر فقط عندما تكون شارة Visionary ظاهرة وغير معروضة كاشتراك."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "ليس لديك مجموعة استرداد بعد"msgid "You don't have access to any channels in this community."msgstr "ليس لديك صلاحية الوصول إلى أي قنوات في هذا المجتمع."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "ليست لديك أي شارات بعد."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "شارتك فعّالة. تحقّق من ظهورك على الجدارmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "شارتك فعّالة. يظهر اسمك على جدار Operators بعد أن نراجعه."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "تعذّر تحميل شاراتك."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/bg/messages.po b/fluxer_app/src/features/i18n/locales/bg/messages.poindex 863ccea1b..f799039f0 100644--- a/fluxer_app/src/features/i18n/locales/bg/messages.po+++ b/fluxer_app/src/features/i18n/locales/bg/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, задължителен аргумент от тип {optmsgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} обработва плащанията сигурно."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Поверителност на значката {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Кодове за възстановяване"msgid "Backup codes regenerated"msgstr "Кодовете за възстановяване са генерирани наново"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Значка"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Значки"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Изберете къде да се публикуват съобщенmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Изберете дали хората, които споделят общност с вас, могат да ви изпращат директни съобщения, без да са първо приятели."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Избери кои значки виждат другите в профила ти."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Сравнение"msgid "Complete payment"msgstr "Завършване на плащането"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Пълно скриване на значката ти {premiumProductName} от другите потребители"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Настрой камерата, качеството на споделmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Настрой микрофона, високоговорителите, режима на въвеждане, обработката и звуците в гласовия чат."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Конфигуриране на значката на профила"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Потвърди имейла си, преди да промениш п#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Потвърди имейла си, преди да промениш потребителското си име, показваното име, аватара, банера, биографията, местоименията, часовата зона или поверителността на значката {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Потвърди имейла си, преди да промениш потребителското си име, показваното име, аватара, банера, биографията, местоименията, часовата зона или значките."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Управлявай как се показват HDR изображенmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Управлявай как се филтрира медията за възрастни или чувствителната медия в различни контексти."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Управлявай как значката ти {premiumProductName} се показва на другите"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Редактиране на основни данни за приложmsgid "Edit attachment"msgstr "Редактиране на прикачен файл"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Редактирай значките"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Скрий"msgid "Hide {appName}"msgstr "Скрий {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Скрий изцяло значката {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Скрий датата на покупка на {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Скрий датата на покупка на {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Скрий указанията"msgid "Hide help center button"msgstr "Скрий бутона за помощния център"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Скрий колко пропуска Operator Pass имаш"@@ -18678,18 +18658,8 @@ msgstr "Скриване на прозореца при минимизиранеmsgid "Hide user avatars"msgstr "Скрий аватарите на потребителите"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Скрий значката „Visionary ID“"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Скрий значката „Visionary ID“ ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Скрий кога получи своя {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Маскиране на лични данни за акаунта катmsgid "Mask private details before sharing your screen or stream."msgstr "Маскиране на лични данни преди споделяне на екрана или стрийма."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Маскирай Visionary като абонамент"@@ -26174,11 +26144,6 @@ msgstr "Предложения за Operator Pass"msgid "Operator Pass purchase"msgstr "Покупка на Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass от {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Предпочита намалено движение"msgid "Premium"msgstr "Премиум"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Премиум значка"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Премахване на времето за изчакване"msgid "Remove translator"msgstr "Премахване на преводача"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Премахване на датата на първоначалната покупка на {premiumProductName} от значката"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Премахване на значката „Visionary ID“"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Показване"msgid "Show {appName}"msgstr "Показване на {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Показване на {badgeLabel} в профила ти"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Покажи активност в други профили"msgid "Show attachment expiration indicator"msgstr "Показване на индикатор за изтичане на прикачен файл"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Покажи значката в профила ми"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Показва аватара на глобалния ти профилmsgid "Show your global profile banner in this community"msgstr "Показва банера на глобалния ти профил в тази общност"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Показване на Visionary като обикновен абонамент"@@ -33420,6 +33375,11 @@ msgstr "Показва се във вградените покани в чатаmsgid "Shown on every post so people can react with one click."msgstr "Показва се над всяка публикация, за да могат хората да реагират с едно кликване."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Показва се само когато значката ти Visionary е видима и не е маскирана като абонамент."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Все още нямате комплект за възстановявmsgid "You don't have access to any channels in this community."msgstr "Нямаш достъп до нито един канал в тази общност."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Все още нямаш значки."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Значката ти е активна. Провери записа сmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Значката ти е активна. Името ти се показва на стената Operators, след като го проверим."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Значките ти не можаха да се заредят."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/cs/messages.po b/fluxer_app/src/features/i18n/locales/cs/messages.poindex 3c5ca5f20..3c8acb6c5 100644--- a/fluxer_app/src/features/i18n/locales/cs/messages.po+++ b/fluxer_app/src/features/i18n/locales/cs/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, povinný parametr typu {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} zpracovává platby bezpečně."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Soukromí odznaku {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Záložní kódy"msgid "Backup codes regenerated"msgstr "Záložní kódy byly vygenerovány znovu"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Odznak"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Odznaky"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Vyberte, kam se mají publikované zprávy odesílat. Kdykoli se můžetmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Vyberte, zda vám lidé, kteří sdílejí komunitu, mohou posílat přímé zprávy, aniž by byli nejprve přáteli."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Vyberte, které odznaky ostatní uvidí na vašem profilu."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Porovnání"msgid "Complete payment"msgstr "Dokončit platbu"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Zcela skrýt odznak {premiumProductName} před ostatními uživateli"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Nastavte si kameru, kvalitu sdílení obrazovky, náhledy a snímkovou fmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Nastavte mikrofon, reproduktory, režim vstupu, zpracování zvuku a zvuky hovorů."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Nastavit odznak profilu"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Před změnou přezdívky, avataru, banneru, popisu profilu, zájmen neb#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Před změnou uživatelského jména, zobrazovaného jména, avataru, banneru, popisu profilu, zájmen, časového pásma nebo soukromí odznaku {premiumProductName} potvrďte svůj e-mail."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Před změnou uživatelského jména, zobrazovaného jména, avataru, banneru, popisu profilu, zájmen, časového pásma nebo odznaků potvrďte svůj e-mail."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Určete, jak se budou HDR obrázky zobrazovat na monitorech s podporou Hmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Nastavte, jak se média pro dospělé nebo citlivá média filtrují v různých kontextech."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Nastavte, jak se ostatním zobrazuje váš odznak {premiumProductName}"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Upravit základní údaje aplikace a URI pro přesměrování"msgid "Edit attachment"msgstr "Upravit přílohu"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Upravit odznaky"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Skrýt"msgid "Hide {appName}"msgstr "Skrýt aplikaci {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Úplně skrýt odznak {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Skrýt datum nákupu {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Skrýt datum zakoupení {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Skrýt pokyny"msgid "Hide help center button"msgstr "Skrýt tlačítko centra nápovědy"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Skrýt, kolik máte Operator Passů"@@ -18678,18 +18658,8 @@ msgstr "Po minimalizaci skrýt okno a znovu ho otevřít z oznamovací oblasti"msgid "Hide user avatars"msgstr "Skrýt avatary uživatelů"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Skrýt odznak Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Skrýt odznak Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Skrýt, odkdy máte {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Maskovat soukromé údaje o účtu, jako je e-mail, propojené účty amsgid "Mask private details before sharing your screen or stream."msgstr "Maskujte soukromé údaje před sdílením obrazovky nebo streamu."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Maskovat Visionary jako předplatné"@@ -26174,11 +26144,6 @@ msgstr "Nabídky Operator Pass"msgid "Operator Pass purchase"msgstr "Nákup Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass od {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Preferuje omezené animace"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Odznak Premium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Zrušit dočasné omezení"msgid "Remove translator"msgstr "Odebrat překladač"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Skrýt na odznaku datum prvního nákupu {premiumProductName}"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Odstranit odznak Visionary ID"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Zobrazit"msgid "Show {appName}"msgstr "Zobrazit {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Zobrazit {badgeLabel} na vašem profilu"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Zobrazit aktivitu na jiných účtech"msgid "Show attachment expiration indicator"msgstr "Zobrazit indikátor vypršení přílohy"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Zobrazit odznak na mém profilu"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Zobrazit avatar globálního profilu v této komunitě"msgid "Show your global profile banner in this community"msgstr "Zobrazit banner globálního profilu v této komunitě"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Zobrazit Visionary jako běžné předplatné"@@ -33420,6 +33375,11 @@ msgstr "Zobrazuje se ve vložených náhledech pozvánek v chatu."msgid "Shown on every post so people can react with one click."msgstr "Zobrazuje se u každého příspěvku, aby na něj lidé mohli reagovat jedním kliknutím."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Zobrazuje se jen tehdy, když je váš odznak Visionary viditelný a není maskovaný jako předplatné."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Ještě nemáte záchrannou sadu"msgid "You don't have access to any channels in this community."msgstr "Nemáte přístup k žádným kanálům v této komunitě."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Zatím nemáte žádné odznaky."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Váš odznak je aktivní. Záznam na zdi si zkontrolujte v nastavení."msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Váš odznak je aktivní. Vaše jméno se na zdi Operators zobrazí, jakmile ho zkontrolujeme."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Vaše odznaky se nepodařilo načíst."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/da/messages.po b/fluxer_app/src/features/i18n/locales/da/messages.poindex 3d729ef3b..91511a9cf 100644--- a/fluxer_app/src/features/i18n/locales/da/messages.po+++ b/fluxer_app/src/features/i18n/locales/da/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, påkrævet argument af typen {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} håndterer betaling sikkert."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Privatliv for {premiumProductName}-badge"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Backupkoder"msgid "Backup codes regenerated"msgstr "Backupkoder er fornyet"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Badges"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Vælg, hvor dens publicerede beskeder skal sendes hen. Du kan til enhvermsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Vælg, om personer, der deler et fællesskab med dig, kan sende dig direkte beskeder uden at være venner først."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Vælg, hvilke badges andre kan se på din profil."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Sammenligning"msgid "Complete payment"msgstr "Gennemfør betaling"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Skjul dit {premiumProductName}-badge fuldstændigt for andre brugere"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Konfigurer dit kamera, kvaliteten af skærmdeling, forhåndsvisninger ogmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Konfigurer mikrofon, højttalere, inputtilstand, lydbehandling og lyde i taleopkald."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Konfigurer dit profilbadge"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Bekræft din e-mail, før du ændrer dit kaldenavn, din avatar, dit bann#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Bekræft din e-mail, før du ændrer dit brugernavn, visningsnavn, avatar, banner, biografi, pronominer, tidszone eller privatlivsindstillinger for dit {premiumProductName}-badge."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Bekræft din e-mail, før du ændrer dit brugernavn, visningsnavn, avatar, banner, biografi, pronominer, tidszone eller badges."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Styr, hvordan HDR-billeder vises på HDR-kompatible skærme."msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Styr, hvordan medier med indhold for voksne eller følsomt indhold filtreres i forskellige sammenhænge."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Styr, hvordan dit {premiumProductName}-badge vises for andre"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Rediger appens grundlæggende oplysninger og omdirigerings-URI’er"msgid "Edit attachment"msgstr "Rediger vedhæftet fil"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Rediger badges"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Skjul"msgid "Hide {appName}"msgstr "Skjul {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Skjul {premiumProductName}-badge helt"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Skjul købsdato for {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Skjul købsdato for {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Skjul retningslinjer"msgid "Hide help center button"msgstr "Skjul knap til hjælpecenter"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Skjul, hvor mange Operator Pass du har"@@ -18678,18 +18658,8 @@ msgstr "Skjul vinduet, når det minimeres, og åbn det igen fra systembakken"msgid "Hide user avatars"msgstr "Skjul brugeravatarer"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Skjul Visionary ID-badge"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Skjul Visionary ID-badge ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Skjul, hvornår du fik dit {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Masker private kontooplysninger som e-mail, tilknyttede konti og noter"msgid "Mask private details before sharing your screen or stream."msgstr "Maskér private detaljer, før du deler din skærm eller stream."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Vis Visionary som et abonnement"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass-tilbud"msgid "Operator Pass purchase"msgstr "Køb af Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass siden {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Foretrækker reduceret bevægelse"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Premium-badge"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Fjern timeout"msgid "Remove translator"msgstr "Fjern oversætter"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Fjern, hvornår du først købte {premiumProductName} fra dit badge"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Fjern dit Visionary ID-badge"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Vis"msgid "Show {appName}"msgstr "Vis {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Vis {badgeLabel} på din profil"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Vis aktivitet på andre konti"msgid "Show attachment expiration indicator"msgstr "Vis indikator for udløb af vedhæftet fil"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Vis badge på min profil"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Vis din globale profilavatar i dette fællesskab"msgid "Show your global profile banner in this community"msgstr "Vis dit globale profilbanner i dette fællesskab"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Vis dit Visionary som et almindeligt abonnement i stedet"@@ -33420,6 +33375,11 @@ msgstr "Vises i indlejrede invitationer i chatten."msgid "Shown on every post so people can react with one click."msgstr "Vises på hvert opslag, så folk kan reagere med ét klik."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Vises kun, når dit Visionary-badge er synligt og ikke vises som et abonnement."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Du har endnu ikke et gendannelsessæt"msgid "You don't have access to any channels in this community."msgstr "Du har ikke adgang til nogen kanaler i dette fællesskab."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Du har ingen badges endnu."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Dit badge er aktivt. Tjek din plads på væggen i indstillingerne."msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Dit badge er aktivt. Dit navn vises på Operators-væggen, når vi har tjekket det."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Dine badges kunne ikke indlæses."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/de/messages.po b/fluxer_app/src/features/i18n/locales/de/messages.poindex 0a1429179..ebf931e88 100644--- a/fluxer_app/src/features/i18n/locales/de/messages.po+++ b/fluxer_app/src/features/i18n/locales/de/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, erforderliche Option vom Typ {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} wickelt die Zahlung sicher ab."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Sichtbarkeit des {premiumProductName}-Abzeichens"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,9 +6097,9 @@ msgstr "Backup-Codes"msgid "Backup codes regenerated"msgstr "Backup-Codes neu generiert"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"msgstr "Abzeichen"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.@@ -8492,6 +8487,11 @@ msgstr "Wähle aus, wo die veröffentlichten Nachrichten erscheinen sollen. Du kmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Lege fest, ob Personen, die eine Community mit dir teilen, dir Direktnachrichten senden können, ohne vorher Freunde zu sein."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Wähle, welche Abzeichen andere auf deinem Profil sehen."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Vergleich"msgid "Complete payment"msgstr "Zahlung abschließen"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Dein {premiumProductName}-Abzeichen vollständig vor anderen Nutzern verbergen"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Kamera, Bildschirmfreigabe-Qualität, Vorschauen und Bildrate konfiguriemsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Konfiguriere Mikrofon, Lautsprecher, Eingabemodus, Verarbeitung und Signaltöne für Sprachchats."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Profilabzeichen konfigurieren"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Bestätige deine E-Mail-Adresse, bevor du deinen Community-Spitznamen, A#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Bestätige deine E-Mail-Adresse, bevor du deinen Benutzernamen, Anzeigenamen, Avatar, Banner, deine Biografie, Pronomen, Zeitzone oder die Sichtbarkeit deines {premiumProductName}-Abzeichens änderst."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Bestätige deine E-Mail-Adresse, bevor du deinen Benutzernamen, Anzeigenamen, Avatar, Banner, deine Biografie, Pronomen, Zeitzone oder Abzeichen änderst."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Lege fest, wie HDR-Bilder auf HDR-fähigen Monitoren angezeigt werden."msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Lege fest, wie nicht jugendfreie oder sensible Medien in verschiedenen Kontexten gefiltert werden."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Lege fest, wie dein {premiumProductName}-Abzeichen anderen angezeigt wird"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Anwendungsgrundlagen und Weiterleitungs-URIs bearbeiten"msgid "Edit attachment"msgstr "Anhang bearbeiten"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Abzeichen bearbeiten"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Ausblenden"msgid "Hide {appName}"msgstr "{appName} ausblenden"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "{premiumProductName}-Abzeichen komplett ausblenden"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Kaufdatum von {premiumProductName} ausblenden"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Kaufdatum von {premiumProductName} ausblenden ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Richtlinien ausblenden"msgid "Hide help center button"msgstr "Hilfe-Button ausblenden"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Ausblenden, wie viele Operator Passes du hast"@@ -18678,18 +18658,8 @@ msgstr "Fenster bei Minimierung ausblenden und über das Tray wieder öffnen"msgid "Hide user avatars"msgstr "Benutzer-Avatare ausblenden"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Visionary-ID-Abzeichen ausblenden"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Visionary-ID-Abzeichen ausblenden ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Ausblenden, seit wann du deinen {operatorPassName} hast"@@ -21976,8 +21946,8 @@ msgstr "Private Accountdaten wie E-Mail, verknüpfte Accounts und Notizen verstemsgid "Mask private details before sharing your screen or stream."msgstr "Private Details maskieren, bevor du deinen Bildschirm oder Stream teilst."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Visionary als Abo tarnen"@@ -26174,11 +26144,6 @@ msgstr "Operator-Pass-Angebote"msgid "Operator Pass purchase"msgstr "Operator-Pass-Kauf"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass seit {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Bewegung reduzieren"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Premium-Abzeichen"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Timeout aufheben"msgid "Remove translator"msgstr "Übersetzer entfernen"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Entferne aus deinem Abzeichen, wann du {premiumProductName} gekauft hast"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Dein Visionary-ID-Abzeichen entfernen"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Anzeigen"msgid "Show {appName}"msgstr "{appName} anzeigen"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "{badgeLabel} auf deinem Profil anzeigen"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Aktivität auf anderen Konten anzeigen"msgid "Show attachment expiration indicator"msgstr "Ablaufanzeige für Anhänge zeigen"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Abzeichen auf meinem Profil anzeigen"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Zeige dein globales Profilbild in dieser Community"msgid "Show your global profile banner in this community"msgstr "Zeige dein globales Profilbanner in dieser Community"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Dein Visionary stattdessen als reguläres Abo anzeigen"@@ -33420,6 +33375,11 @@ msgstr "Wird in Einladungs-Einbettungen im Chat angezeigt."msgid "Shown on every post so people can react with one click."msgstr "Wird bei jedem Beitrag angezeigt, damit Leute mit einem Klick reagieren können."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Wird nur angezeigt, wenn dein Visionary-Abzeichen sichtbar und nicht als Abo getarnt ist."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Du hast noch kein Wiederherstellungspaket"msgid "You don't have access to any channels in this community."msgstr "Du hast keinen Zugriff auf Kanäle in dieser Community."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Du hast noch keine Abzeichen."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Dein Abzeichen ist aktiv. Prüfe deinen Eintrag auf der Wand in den Einsmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Dein Abzeichen ist aktiv. Dein Name erscheint auf der Operators-Wand, sobald wir ihn geprüft haben."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Deine Abzeichen konnten nicht geladen werden."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/el/messages.po b/fluxer_app/src/features/i18n/locales/el/messages.poindex dde6d6eb2..0ad8d0e5f 100644--- a/fluxer_app/src/features/i18n/locales/el/messages.po+++ b/fluxer_app/src/features/i18n/locales/el/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, υποχρεωτικό όρισμα, τύπος {optionTypmsgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "Το {PAYMENT_PROVIDER_NAME} διαχειρίζεται την πληρωμή με ασφάλεια."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Απόρρητο σήματος {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Εφεδρικοί κωδικοί"msgid "Backup codes regenerated"msgstr "Οι εφεδρικοί κωδικοί ανανεώθηκαν"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Σήμα"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Σήματα"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Επιλέξτε πού θα δημοσιεύονται τα μηνύμmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Επίλεξε αν άτομα που μοιράζονται μια κοινότητα μαζί σου μπορούν να σου στείλουν απευθείας μηνύματα χωρίς να είναι πρώτα φίλοι."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Επιλέξτε ποια σήματα βλέπουν οι άλλοι στο προφίλ σας."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Σύγκριση"msgid "Complete payment"msgstr "Ολοκλήρωση πληρωμής"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Πλήρης απόκρυψη του σήματος {premiumProductName} από τους άλλους χρήστες"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Διαμορφώστε την κάμερα, την ποιότητα κοmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Διαμορφώστε το μικρόφωνο, τα ηχεία, τον τρόπο εισόδου, την επεξεργασία και τους ήχους φωνής σας."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Διαμόρφωση σήματος προφίλ"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Επιβεβαιώστε το email σας πριν αλλάξετε τ#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Επιβεβαιώστε το email σας πριν αλλάξετε το όνομα χρήστη, το όνομα εμφάνισης, το avatar, το banner, το βιογραφικό, τις αντωνυμίες, τη ζώνη ώρας ή το απόρρητο του σήματος {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Επιβεβαιώστε το email σας πριν αλλάξετε το όνομα χρήστη, το όνομα εμφάνισης, το avatar, το banner, το βιογραφικό, τις αντωνυμίες, τη ζώνη ώρας ή τα σήματα."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Έλεγχος του τρόπου εμφάνισης των εικόνmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Ελέγξτε πώς φιλτράρονται τα ακατάλληλα ή ευαίσθητα πολυμέσα σε διαφορετικά περιβάλλοντα."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Ελέγξτε πώς εμφανίζεται το σήμα {premiumProductName} στους άλλους"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Επεξεργασία βασικών στοιχείων εφαρμογmsgid "Edit attachment"msgstr "Επεξεργασία συνημμένου"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Επεξεργασία σημάτων"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Απόκρυψη"msgid "Hide {appName}"msgstr "Απόκρυψη {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Πλήρης απόκρυψη του σήματος {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Απόκρυψη ημερομηνίας αγοράς {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Απόκρυψη ημερομηνίας αγοράς {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Απόκρυψη οδηγιών"msgid "Hide help center button"msgstr "Απόκρυψη κουμπιού κέντρου βοήθειας"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Απόκρυψη του αριθμού των Operator Pass που έχετε"@@ -18678,18 +18658,8 @@ msgstr "Απόκρυψη του παραθύρου κατά την ελαχισmsgid "Hide user avatars"msgstr "Απόκρυψη avatar χρηστών"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Απόκρυψη σήματος Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Απόκρυψη σήματος Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Απόκρυψη του πότε αποκτήσατε το {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Απόκρυψη προσωπικών στοιχείων λογαριαmsgid "Mask private details before sharing your screen or stream."msgstr "Απόκρυψη προσωπικών στοιχείων πριν από την κοινή χρήση της οθόνης ή της ροής σας."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Εμφάνιση του Visionary ως συνδρομής"@@ -26174,11 +26144,6 @@ msgstr "Προτάσεις Operator Pass"msgid "Operator Pass purchase"msgstr "Αγορά Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass: {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Προτιμά μειωμένη κίνηση"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Σήμα Premium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Κατάργηση προσωρινού περιορισμού"msgid "Remove translator"msgstr "Κατάργηση μεταφραστή"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Κατάργηση της ημερομηνίας αγοράς του {premiumProductName} από το σήμα σας"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Κατάργηση του σήματος Visionary ID"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Εμφάνιση"msgid "Show {appName}"msgstr "Εμφάνιση {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Εμφάνιση του {badgeLabel} στο προφίλ σας"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Εμφάνιση δραστηριότητας σε άλλους λογαmsgid "Show attachment expiration indicator"msgstr "Εμφάνιση ένδειξης λήξης συνημμένου"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Εμφάνιση σήματος στο προφίλ μου"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Εμφάνιση του avatar του καθολικού προφίλ σmsgid "Show your global profile banner in this community"msgstr "Εμφάνιση του banner του καθολικού προφίλ σας σε αυτήν την κοινότητα"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Εμφάνιση του Visionary ως κανονική συνδρομή"@@ -33420,6 +33375,11 @@ msgstr "Εμφανίζεται στις ενσωματώσεις πρόσκληmsgid "Shown on every post so people can react with one click."msgstr "Εμφανίζεται σε κάθε ανάρτηση για να μπορούν οι χρήστες να αντιδρούν με ένα κλικ."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Εμφανίζεται μόνο όταν το σήμα Visionary σας είναι ορατό και δεν εμφανίζεται ως συνδρομή."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Δεν έχετε ακόμη κιτ ανάκτησης"msgid "You don't have access to any channels in this community."msgstr "Δεν έχετε πρόσβαση σε κανένα κανάλι σε αυτήν την κοινότητα."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Δεν έχετε ακόμα κανένα σήμα."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Το σήμα σας είναι ενεργό. Ελέγξτε την καmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Το σήμα σας είναι ενεργό. Το όνομά σας εμφανίζεται στον τοίχο Operators μόλις το ελέγξουμε."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Δεν ήταν δυνατή η φόρτωση των σημάτων σας."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/en-GB/messages.po b/fluxer_app/src/features/i18n/locales/en-GB/messages.poindex 3d1ffe7d6..28bf35671 100644--- a/fluxer_app/src/features/i18n/locales/en-GB/messages.po+++ b/fluxer_app/src/features/i18n/locales/en-GB/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, required {optionType} option"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} handles payment securely."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName} badge privacy"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Backup codes"msgid "Backup codes regenerated"msgstr "Backup codes regenerated"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Badges"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Choose where its published messages should go. You can unfollow any timemsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Choose whether people who share a community with you can send you direct messages without being friends first."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Choose which badges other people see on your profile."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Comparison"msgid "Complete payment"msgstr "Complete payment"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Completely hide your {premiumProductName} badge from other users"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Configure your camera, screen sharing quality, previews, and frame rate.msgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Configure your microphone, speakers, input mode, processing, and voice sounds."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Configure your profile badge"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Confirm your email before changing your community nickname, avatar, bann#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Control how HDR images are displayed on HDR-capable monitors."msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Control how mature or sensitive media is filtered in different contexts."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Control how your {premiumProductName} badge is displayed to others"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Edit application basics and redirect URIs"msgid "Edit attachment"msgstr "Edit attachment"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Edit badges"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Hide"msgid "Hide {appName}"msgstr "Hide {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Hide {premiumProductName} badge entirely"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Hide {premiumProductName} purchase date"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Hide guidelines"msgid "Hide help center button"msgstr "Hide help centre button"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Hide how many Operator Passes you have"@@ -18678,18 +18658,8 @@ msgstr "Hide the window when minimised and reopen from the tray"msgid "Hide user avatars"msgstr "Hide user avatars"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Hide Visionary ID badge"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Hide when you got your {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Mask private account details like email, linked accounts, and notes"msgid "Mask private details before sharing your screen or stream."msgstr "Mask private details before sharing your screen or stream."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Mask Visionary as subscription"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass offers"msgid "Operator Pass purchase"msgstr "Operator Pass purchase"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass since {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Prefers reduced motion"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Premium badge"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Remove timeout"msgid "Remove translator"msgstr "Remove translator"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Remove when you first bought {premiumProductName} from your badge"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Remove your Visionary ID badge"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Show"msgid "Show {appName}"msgstr "Show {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Show {badgeLabel} on your profile"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Show activity on other accounts"msgid "Show attachment expiration indicator"msgstr "Show attachment expiration indicator"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Show badge on my profile"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Show your global profile avatar in this community"msgid "Show your global profile banner in this community"msgstr "Show your global profile banner in this community"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Show your Visionary as a regular subscription instead"@@ -33420,6 +33375,11 @@ msgstr "Shown in invite embeds in chat."msgid "Shown on every post so people can react with one click."msgstr "Shown on every post so people can react with one click."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Shown only when your Visionary badge is visible and not masked."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "You don't have a recovery kit yet"msgid "You don't have access to any channels in this community."msgstr "You don't have access to any channels in this community."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "You don't have any badges yet."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Your badge is live. Check your wall listing in settings."msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Your badge is live. Your name shows on the Operators' wall once we check it."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Your badges couldn't be loaded."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/en-US/messages.po b/fluxer_app/src/features/i18n/locales/en-US/messages.poindex 6b4cf9412..d32a04b65 100644--- a/fluxer_app/src/features/i18n/locales/en-US/messages.po+++ b/fluxer_app/src/features/i18n/locales/en-US/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, required {optionType} option"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} handles payment securely."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName} badge privacy"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Backup codes"msgid "Backup codes regenerated"msgstr "Backup codes regenerated"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Badges"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Choose where its published messages should go. You can unfollow any timemsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Choose whether people who share a community with you can send you direct messages without being friends first."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Choose which badges other people see on your profile."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Comparison"msgid "Complete payment"msgstr "Complete payment"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Completely hide your {premiumProductName} badge from other users"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Configure your camera, screen sharing quality, previews, and frame rate.msgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Configure your microphone, speakers, input mode, processing, and voice sounds."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Configure your profile badge"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Confirm your email before changing your community nickname, avatar, bann#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Control how HDR images are displayed on HDR-capable monitors."msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Control how mature or sensitive media is filtered in different contexts."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Control how your {premiumProductName} badge is displayed to others"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Edit application basics and redirect URIs"msgid "Edit attachment"msgstr "Edit attachment"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Edit badges"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Hide"msgid "Hide {appName}"msgstr "Hide {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Hide {premiumProductName} badge entirely"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Hide {premiumProductName} purchase date"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Hide guidelines"msgid "Hide help center button"msgstr "Hide help center button"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Hide how many Operator Passes you have"@@ -18678,18 +18658,8 @@ msgstr "Hide the window when minimized and reopen from the tray"msgid "Hide user avatars"msgstr "Hide user avatars"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Hide Visionary ID badge"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Hide when you got your {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Mask private account details like email, linked accounts, and notes"msgid "Mask private details before sharing your screen or stream."msgstr "Mask private details before sharing your screen or stream."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Mask Visionary as subscription"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass offers"msgid "Operator Pass purchase"msgstr "Operator Pass purchase"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass since {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Prefers reduced motion"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Premium badge"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Remove timeout"msgid "Remove translator"msgstr "Remove translator"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Remove when you first bought {premiumProductName} from your badge"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Remove your Visionary ID badge"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Show"msgid "Show {appName}"msgstr "Show {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Show {badgeLabel} on your profile"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Show activity on other accounts"msgid "Show attachment expiration indicator"msgstr "Show attachment expiration indicator"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Show badge on my profile"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Show your global profile avatar in this community"msgid "Show your global profile banner in this community"msgstr "Show your global profile banner in this community"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Show your Visionary as a regular subscription instead"@@ -33420,6 +33375,11 @@ msgstr "Shown in invite embeds in chat."msgid "Shown on every post so people can react with one click."msgstr "Shown on every post so people can react with one click."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Shown only when your Visionary badge is visible and not masked."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "You don't have a recovery kit yet"msgid "You don't have access to any channels in this community."msgstr "You don't have access to any channels in this community."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "You don't have any badges yet."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Your badge is live. Check your wall listing in settings."msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Your badge is live. Your name shows on the Operators' wall once we check it."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Your badges couldn't be loaded."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/es-419/messages.po b/fluxer_app/src/features/i18n/locales/es-419/messages.poindex 98fcc5930..55a9f5f72 100644--- a/fluxer_app/src/features/i18n/locales/es-419/messages.po+++ b/fluxer_app/src/features/i18n/locales/es-419/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, opción obligatoria de tipo {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} maneja el pago de forma segura."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Privacidad de la insignia de {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Códigos de respaldo"msgid "Backup codes regenerated"msgstr "Códigos de respaldo regenerados"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Insignia"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Insignias"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Elige a dónde deben ir los mensajes publicados. Puedes dejar de seguirmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Elige si las personas que comparten una comunidad contigo pueden enviarte mensajes directos sin ser tus amigos primero."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Elige qué insignias ven otras personas en tu perfil."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Comparación"msgid "Complete payment"msgstr "Completar pago"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Ocultar completamente tu insignia de {premiumProductName} a otros usuarios"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Configura tu cámara, calidad de pantalla compartida, previsualizacionesmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Configura tu micrófono, altavoces, modo de entrada, procesamiento y sonidos de voz."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Configura tu insignia de perfil"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Confirma tu correo electrónico antes de cambiar tu apodo de la comunida#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Confirma tu correo electrónico antes de cambiar tu nombre de usuario, nombre visible, avatar, banner, biografía, pronombres, zona horaria o la privacidad de tu insignia de {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Confirma tu correo electrónico antes de cambiar tu nombre de usuario, nombre visible, avatar, banner, biografía, pronombres, zona horaria o insignias."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Controla cómo se muestran las imágenes HDR en monitores compatibles comsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Controla cómo se filtra el contenido delicado o para adultos en diferentes contextos."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Controla cómo se muestra tu insignia de {premiumProductName} a los demás"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Editar información básica de la aplicación y URI de redireccionamientmsgid "Edit attachment"msgstr "Editar archivo adjunto"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Editar insignias"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Ocultar"msgid "Hide {appName}"msgstr "Ocultar {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Ocultar la insignia de {premiumProductName} por completo"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Ocultar fecha de compra de {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Ocultar fecha de compra de {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Ocultar lineamientos"msgid "Hide help center button"msgstr "Ocultar el botón de ayuda"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Ocultar cuántos Operator Pass tienes"@@ -18678,18 +18658,8 @@ msgstr "Ocultar la ventana al minimizar y volver a abrir desde la bandeja"msgid "Hide user avatars"msgstr "Ocultar avatares de usuario"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Ocultar insignia de Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Ocultar insignia de Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Ocultar cuándo obtuviste tu {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Ocultar detalles privados de la cuenta como el correo electrónico, lasmsgid "Mask private details before sharing your screen or stream."msgstr "Ocultar detalles privados antes de compartir tu pantalla o transmisión."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Mostrar Visionary como una suscripción normal"@@ -26174,11 +26144,6 @@ msgstr "Propuestas de Operator Pass"msgid "Operator Pass purchase"msgstr "Compra de Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass desde el {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Prefiere movimiento reducido"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Insignia prémium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Quitar el aislamiento temporal"msgid "Remove translator"msgstr "Eliminar traductor"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Ocultar en tu insignia la fecha en que compraste {premiumProductName} por primera vez"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Quitar tu insignia de ID de Visionary"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Mostrar"msgid "Show {appName}"msgstr "Mostrar {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Mostrar {badgeLabel} en tu perfil"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Mostrar actividad en otras cuentas"msgid "Show attachment expiration indicator"msgstr "Mostrar indicador de vencimiento de archivos adjuntos"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Mostrar insignia en mi perfil"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Mostrar tu avatar de perfil global en esta comunidad"msgid "Show your global profile banner in this community"msgstr "Mostrar tu banner de perfil global en esta comunidad"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Mostrar tu Visionary como una suscripción normal"@@ -33420,6 +33375,11 @@ msgstr "Se muestra en las vistas previas incrustadas de invitaciones en el chat.msgid "Shown on every post so people can react with one click."msgstr "Se muestra en cada publicación para que la gente pueda reaccionar con un solo clic."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Solo se muestra cuando tu insignia Visionary está visible y no se muestra como una suscripción normal."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Aún no tienes un kit de recuperación"msgid "You don't have access to any channels in this community."msgstr "No tienes acceso a ningún canal en esta comunidad."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Todavía no tienes insignias."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Tu insignia ya está activa. Revisa tu entrada en el muro en la configurmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Tu insignia ya está activa. Tu nombre aparecerá en el muro de Operators cuando lo revisemos."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "No se pudieron cargar tus insignias."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/es-ES/messages.po b/fluxer_app/src/features/i18n/locales/es-ES/messages.poindex 380d99620..fa31ab684 100644--- a/fluxer_app/src/features/i18n/locales/es-ES/messages.po+++ b/fluxer_app/src/features/i18n/locales/es-ES/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, opción obligatoria de tipo {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} se encarga del pago de forma segura."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Privacidad de la insignia de {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Códigos de respaldo"msgid "Backup codes regenerated"msgstr "Códigos de respaldo regenerados"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Insignia"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Insignias"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Elige dónde se publicarán sus mensajes. Puedes dejar de seguir en cualmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Elige si las personas que comparten una comunidad contigo pueden enviarte mensajes directos sin ser amigos primero."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Elige qué insignias ven otras personas en tu perfil."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Comparación"msgid "Complete payment"msgstr "Completar pago"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Ocultar completamente tu insignia de {premiumProductName} a otros usuarios"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Configura tu cámara, la calidad de la pantalla compartida, las previsuamsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Configura tu micrófono, altavoces, modo de entrada, procesamiento y sonidos de voz."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Configura tu insignia de perfil"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Confirma tu correo electrónico antes de cambiar tu apodo de comunidad,#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Confirma tu correo electrónico antes de cambiar tu nombre de usuario, nombre visible, avatar, banner, biografía, pronombres, zona horaria o la privacidad de la insignia de {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Confirma tu correo electrónico antes de cambiar tu nombre de usuario, nombre visible, avatar, banner, biografía, pronombres, zona horaria o insignias."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Controla cómo se muestran las imágenes HDR en monitores compatibles comsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Controla cómo se filtra el contenido delicado o para adultos en diferentes contextos."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Controla cómo se muestra tu insignia de {premiumProductName} a los demás"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Editar aspectos básicos de la aplicación y URI de redireccionamiento"msgid "Edit attachment"msgstr "Editar archivo adjunto"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Editar insignias"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Ocultar"msgid "Hide {appName}"msgstr "Ocultar {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Ocultar la insignia de {premiumProductName} por completo"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Ocultar fecha de compra de {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Ocultar fecha de compra de {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Ocultar directrices"msgid "Hide help center button"msgstr "Ocultar el botón de ayuda"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Ocultar cuántos Operator Pass tienes"@@ -18678,18 +18658,8 @@ msgstr "Ocultar la ventana al minimizar y reabrir desde la bandeja"msgid "Hide user avatars"msgstr "Ocultar avatares de usuario"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Ocultar insignia de Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Ocultar insignia de Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Ocultar cuándo conseguiste tu {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Ocultar detalles privados de la cuenta como el correo electrónico, lasmsgid "Mask private details before sharing your screen or stream."msgstr "Ocultar detalles privados antes de compartir tu pantalla o transmisión."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Mostrar Visionary como una suscripción normal"@@ -26174,11 +26144,6 @@ msgstr "Propuestas de Operator Pass"msgid "Operator Pass purchase"msgstr "Compra de Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass desde el {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Prefiere el movimiento reducido"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Insignia prémium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Quitar el aislamiento temporal"msgid "Remove translator"msgstr "Eliminar traductor"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Ocultar en tu insignia la fecha en que compraste {premiumProductName} por primera vez"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Quitar tu insignia de ID de Visionary"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Mostrar"msgid "Show {appName}"msgstr "Mostrar {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Mostrar {badgeLabel} en tu perfil"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Mostrar actividad en otras cuentas"msgid "Show attachment expiration indicator"msgstr "Mostrar indicador de caducidad de archivos adjuntos"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Mostrar insignia en mi perfil"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Mostrar tu avatar de perfil global en esta comunidad"msgid "Show your global profile banner in this community"msgstr "Mostrar tu banner de perfil global en esta comunidad"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Mostrar tu Visionary como una suscripción normal"@@ -33420,6 +33375,11 @@ msgstr "Se muestra en las vistas previas incrustadas de invitaciones en el chat.msgid "Shown on every post so people can react with one click."msgstr "Se muestra en cada publicación para que la gente pueda reaccionar con un solo clic."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Solo se muestra cuando tu insignia Visionary está visible y no se muestra como una suscripción normal."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Todavía no tienes un kit de recuperación"msgid "You don't have access to any channels in this community."msgstr "No tienes acceso a ningún canal en esta comunidad."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Todavía no tienes insignias."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Tu insignia ya está activa. Revisa tu entrada en el muro en la configurmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Tu insignia ya está activa. Tu nombre aparecerá en el muro de Operators cuando lo revisemos."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "No se han podido cargar tus insignias."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/fi/messages.po b/fluxer_app/src/features/i18n/locales/fi/messages.poindex cb27e31a6..b7d66caad 100644--- a/fluxer_app/src/features/i18n/locales/fi/messages.po+++ b/fluxer_app/src/features/i18n/locales/fi/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, pakollinen {optionType}-parametri"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} hoitaa maksut turvallisesti."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName}-merkin yksityisyysasetukset"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Varakoodit"msgid "Backup codes regenerated"msgstr "Varakoodit luotu uudelleen"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Merkki"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Merkit"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Valitse, mihin julkaistut viestit lähetetään. Voit lopettaa seuraamismsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Valitse, voivatko yhteisösi jäsenet lähettää sinulle yksityisviestejä ilman ystävyyspyyntöä."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Valitse, mitkä merkit muut näkevät profiilissasi."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Vertailu"msgid "Complete payment"msgstr "Suorita maksu"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Piilota {premiumProductName}-merkki kokonaan muilta käyttäjiltä"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Määritä kamera, näytön jakamisen laatu, esikatselut ja kuvataajuus.msgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Määritä mikrofoni, kaiuttimet, syöttötila, käsittely ja äänimerkit."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Määritä profiilimerkkisi"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Vahvista sähköpostiosoitteesi ennen kuin vaihdat yhteisön lempinimeä#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Vahvista sähköpostiosoitteesi ennen kuin vaihdat käyttäjänimeäsi, näyttönimeäsi, avataria, banneria, kuvaustasi, pronomineja, aikavyöhykettä tai {premiumProductName}-merkin yksityisyyttä."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Vahvista sähköpostiosoitteesi ennen kuin vaihdat käyttäjänimeäsi, näyttönimeäsi, avataria, banneria, kuvaustasi, pronomineja, aikavyöhykettä tai merkkejä."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Hallitse, miten HDR-kuvat näkyvät HDR-yhteensopivilla näytöillä."msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Hallitse, miten aikuisille tarkoitettu tai arkaluonteinen media suodatetaan eri yhteyksissä."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Hallitse, miten {premiumProductName}-merkkisi näkyy muille"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Muokkaa sovelluksen perustietoja ja uudelleenohjaus-URI-osoitteita"msgid "Edit attachment"msgstr "Muokkaa liitettä"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Muokkaa merkkejä"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Piilota"msgid "Hide {appName}"msgstr "Piilota {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Piilota {premiumProductName}-merkki kokonaan"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Piilota {premiumProductName}-ostopäivämäärä"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Piilota {premiumProductName}-ostopäivämäärä ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Piilota ohjeet"msgid "Hide help center button"msgstr "Piilota ohjekeskuksen painike"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Piilota Operator Passiesi määrä"@@ -18678,18 +18658,8 @@ msgstr "Piilota ikkuna minimoinnin yhteydessä ja avaa uudelleen ilmaisinalueeltmsgid "Hide user avatars"msgstr "Piilota käyttäjien avatarit"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Piilota Visionary ID -merkki"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Piilota Visionary ID -merkki ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Piilota, milloin sait {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Piilota yksityiset tilitiedot, kuten sähköpostiosoite, linkitetyt tilimsgid "Mask private details before sharing your screen or stream."msgstr "Piilota yksityiset tiedot ennen näytön tai striimin jakamista."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Näytä Visionary tavallisena tilauksena"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass -tarjoukset"msgid "Operator Pass purchase"msgstr "Operator Pass -osto"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass: {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Suosii vähennettyä liikettä"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Premium-merkki"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Poista jäähy"msgid "Remove translator"msgstr "Poista kääntäjä"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Poista merkistäsi tieto siitä, milloin ostit {premiumProductName}-tilauksen"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Poista Visionary ID -merkki"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Näytä"msgid "Show {appName}"msgstr "Näytä {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Näytä {badgeLabel} profiilissasi"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Näytä toiminta muilla tileillä"msgid "Show attachment expiration indicator"msgstr "Näytä liitteen vanhenemisilmaisin"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Näytä merkki profiilissani"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Näytä globaali profiilikuvasi tässä yhteisössä"msgid "Show your global profile banner in this community"msgstr "Näytä globaali profiilibannerisi tässä yhteisössä"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Näytä Visionary sen sijaan tavallisena tilauksena"@@ -33420,6 +33375,11 @@ msgstr "Näkyy kutsujen upotuksissa chatissa."msgid "Shown on every post so people can react with one click."msgstr "Näytetään jokaisessa viestissä, jotta ihmiset voivat reagoida yhdellä napsautuksella."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Näkyy vain, kun Visionary-merkkisi on näkyvissä eikä näy tavallisena tilauksena."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Sinulla ei ole vielä palautussarjaa"msgid "You don't have access to any channels in this community."msgstr "Sinulla ei ole pääsyä mihinkään tämän yhteisön kanavista."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Sinulla ei ole vielä merkkejä."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Merkkisi on nyt näkyvissä. Tarkista listauksesi seinällä asetuksistamsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Merkkisi on nyt näkyvissä. Nimesi näkyy Operators-seinällä, kun olemme tarkistaneet sen."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Merkkejäsi ei voitu ladata."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/fr/messages.po b/fluxer_app/src/features/i18n/locales/fr/messages.poindex aa0ce1796..4853cc430 100644--- a/fluxer_app/src/features/i18n/locales/fr/messages.po+++ b/fluxer_app/src/features/i18n/locales/fr/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, option obligatoire de type {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} gère le paiement en toute sécurité."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Confidentialité du badge {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Codes de secours"msgid "Backup codes regenerated"msgstr "Codes de secours régénérés"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Badges"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Choisissez où ses messages publiés doivent être envoyés. Vous pouvezmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Choisissez si les personnes qui partagent une communauté avec vous peuvent vous envoyer des messages directs sans être d'abord amies."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Choisissez les badges que les autres voient sur votre profil."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Comparaison"msgid "Complete payment"msgstr "Finaliser le paiement"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Masquer complètement votre badge {premiumProductName} aux autres utilisateurs"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Configurez votre caméra, la qualité du partage d'écran, les aperçusmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Configurez votre microphone, vos haut-parleurs, le mode de transmission, le traitement audio et les sons des appels vocaux."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Configurer votre badge de profil"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Confirmez votre adresse e-mail avant de modifier votre surnom, votre ava#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Confirmez votre adresse e-mail avant de modifier votre nom d’utilisateur, votre nom affiché, votre avatar, votre bannière, votre bio, vos pronoms, votre fuseau horaire ou la confidentialité de votre badge {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Confirmez votre adresse e-mail avant de modifier votre nom d’utilisateur, votre nom affiché, votre avatar, votre bannière, votre bio, vos pronoms, votre fuseau horaire ou vos badges."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Contrôlez la façon dont les images HDR s'affichent sur les écrans commsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Contrôlez le filtrage des médias pour adultes ou sensibles selon le contexte."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Gérez la façon dont votre badge {premiumProductName} est affiché aux autres"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Modifier les informations de base de l'application et les URI de redirecmsgid "Edit attachment"msgstr "Modifier la pièce jointe"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Modifier les badges"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Masquer"msgid "Hide {appName}"msgstr "Masquer {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Masquer entièrement le badge {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Masquer la date d'achat de {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Masquer la date d'achat de {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Masquer les consignes"msgid "Hide help center button"msgstr "Masquer le bouton du centre d'aide"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Masquer le nombre d’Operator Pass que vous avez"@@ -18678,18 +18658,8 @@ msgstr "Masquer la fenêtre lorsqu’elle est réduite et la rouvrir depuis la zmsgid "Hide user avatars"msgstr "Masquer les avatars des utilisateurs"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Masquer le badge Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Masquer le badge Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Masquer quand vous avez obtenu votre {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Masquer les détails de compte privés comme l’e-mail, les comptes limsgid "Mask private details before sharing your screen or stream."msgstr "Masquez vos informations privées avant de partager votre écran ou de lancer une diffusion."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Afficher Visionary comme un abonnement"@@ -26174,11 +26144,6 @@ msgstr "Propositions d’Operator Pass"msgid "Operator Pass purchase"msgstr "Achat d’Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass depuis le {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Préfère les animations réduites"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Badge Premium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Lever la restriction temporaire"msgid "Remove translator"msgstr "Supprimer le traducteur"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Supprimer la date d'achat de {premiumProductName} de votre badge"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Supprimer votre badge Visionary ID"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Afficher"msgid "Show {appName}"msgstr "Afficher {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Afficher {badgeLabel} sur votre profil"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Afficher l'activité sur d'autres comptes"msgid "Show attachment expiration indicator"msgstr "Afficher l'indicateur d'expiration des pièces jointes"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Afficher le badge sur mon profil"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Afficher votre avatar de profil global dans cette communauté"msgid "Show your global profile banner in this community"msgstr "Afficher votre bannière de profil global dans cette communauté"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Afficher Visionary comme un abonnement classique"@@ -33420,6 +33375,11 @@ msgstr "Affiché dans les aperçus d’invitation du chat."msgid "Shown on every post so people can react with one click."msgstr "Affiché sur chaque message pour que les gens puissent réagir en un clic."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Affiché uniquement quand votre badge Visionary est visible et n'est pas affiché comme un abonnement."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Vous n'avez pas encore de kit de récupération"msgid "You don't have access to any channels in this community."msgstr "Vous n'avez accès à aucun salon dans cette communauté."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Vous n'avez encore aucun badge."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Votre badge est actif. Vérifiez votre inscription sur le mur dans les pmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Votre badge est actif. Votre nom apparaît sur le mur des Operators une fois que nous l’avons vérifié."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Impossible de charger vos badges."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/he/messages.po b/fluxer_app/src/features/i18n/locales/he/messages.poindex 087c3f9fe..db5f976ff 100644--- a/fluxer_app/src/features/i18n/locales/he/messages.po+++ b/fluxer_app/src/features/i18n/locales/he/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, אפשרות {optionType} חובה"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} מטפל בתשלומים באופן מאובטח."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "פרטיות תג ה-{premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "קודי גיבוי"msgid "Backup codes regenerated"msgstr "קודי הגיבוי נוצרו מחדש"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "תג"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "תגים"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "בחר לאן יפורסמו ההודעות. ניתן להסיר את הmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "בחר אם אנשים שחולקים קהילה איתך יכולים לשלוח לך הודעות ישירות מבלי להיות חברים תחילה."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "אפשר לבחור אילו תגים אחרים יראו בפרופיל שלך."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "השוואה"msgid "Complete payment"msgstr "השלם תשלום"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "להסתיר לחלוטין את התג של {premiumProductName} ממשתמשים אחרים"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "הגדר את המצלמה, איכות שיתוף המסך, התצוגוmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "הגדר את המיקרופון, הרמקולים, מצב הקלט, העיבוד וצלילי הקול שלך."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "הגדר את תג הפרופיל שלך"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "יש לאשר את כתובת האימייל שלך לפני שינוי#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "יש לאשר את כתובת האימייל שלך לפני שינוי שם המשתמש, שם התצוגה, האווטאר, הבאנר, הביוגרפיה, כינויי הגוף, אזור הזמן או פרטיות התג של {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "יש לאשר את כתובת האימייל שלך לפני שינוי שם המשתמש, שם התצוגה, האווטאר, הבאנר, הביוגרפיה, כינויי הגוף, אזור הזמן או התגים."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "שליטה על אופן הצגת תמונות HDR במסכים תומכmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "שליטה על אופן סינון מדיה רגישה או למבוגרים בלבד בהקשרים שונים."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "שליטה באופן שבו התג של {premiumProductName} מוצג לאחרים"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "עריכת פרטי האפליקציה הבסיסיים וכתובותmsgid "Edit attachment"msgstr "עריכת קובץ מצורף"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "עריכת תגים"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "הסתר"msgid "Hide {appName}"msgstr "הסתר את {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "הסתרת תג ה-{premiumProductName} לחלוטין"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "הסתרת תאריך הרכישה של {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "הסתרת תאריך הרכישה של {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "הסתר הנחיות"msgid "Hide help center button"msgstr "הסתר את כפתור מרכז העזרה"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "הסתרת מספר ה-Operator Pass שיש לך"@@ -18678,18 +18658,8 @@ msgstr "הסתר את החלון כשהוא ממוזער ופתח אותו מחmsgid "Hide user avatars"msgstr "הסתר אווטרים של משתמשים"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "הסתרת תג Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "הסתרת תג Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "הסתרת המועד שבו קיבלת את ה-{operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "הסתר פרטים אישיים של החשבון, כגון אימייmsgid "Mask private details before sharing your screen or stream."msgstr "הסתר פרטים אישיים לפני שיתוף המסך או השידור שלך."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "הצגת Visionary כמנוי"@@ -26174,11 +26144,6 @@ msgstr "הצעות של Operator Pass"msgid "Operator Pass purchase"msgstr "רכישת Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass מאז {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "העדפת תנועה מופחתת"msgid "Premium"msgstr "פרימיום"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "תג פרימיום"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "הסר פסק זמן"msgid "Remove translator"msgstr "הסר מתרגם"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "מסיר מהתג שלך את תאריך הרכישה הראשונה של {premiumProductName}"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "מסיר את תג ה-Visionary ID שלך"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "הצגה"msgid "Show {appName}"msgstr "הצג את {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "הצגת {badgeLabel} בפרופיל שלך"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "הצג פעילות בחשבונות אחרים"msgid "Show attachment expiration indicator"msgstr "הצגת חיווי תפוגת קובץ מצורף"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "הצג תג בפרופיל שלי"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "הצג את תמונת הפרופיל הגלובלית שלך בקהילmsgid "Show your global profile banner in this community"msgstr "הצג את באנר הפרופיל הגלובלי שלך בקהילה זו"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "הצג את Visionary כמנוי רגיל במקום זאת"@@ -33420,6 +33375,11 @@ msgstr "מוצג בהטמעות הזמנה בצ'אט."msgid "Shown on every post so people can react with one click."msgstr "מוצג בכל פוסט כדי שאנשים יוכלו להגיב בלחיצה אחת."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "מוצג רק כשתג ה-Visionary שלך גלוי ולא מוצג כמנוי."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "עדיין אין לך ערכת שחזור"msgid "You don't have access to any channels in this community."msgstr "אין לך גישה לאף ערוץ בקהילה זו."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "עדיין אין לך תגים."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "התג שלך פעיל. אפשר לבדוק את הרישום בקירmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "התג שלך פעיל. השם שלך יופיע בקיר ה-Operators אחרי שנבדוק אותו."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "לא ניתן היה לטעון את התגים שלך."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/hi/messages.po b/fluxer_app/src/features/i18n/locales/hi/messages.poindex c4027849c..086573f75 100644--- a/fluxer_app/src/features/i18n/locales/hi/messages.po+++ b/fluxer_app/src/features/i18n/locales/hi/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, ज़रूरी {optionType} विकल्प"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} सुरक्षित रूप से भुगतान संभालता है।"-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName} बैज की गोपनीयता"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,9 +6097,9 @@ msgstr "बैकअप कोड"msgid "Backup codes regenerated"msgstr "बैकअप कोड फिर से जनरेट किए गए"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"msgstr "बैज"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.@@ -8492,6 +8487,11 @@ msgstr "चुनें कि इसके प्रकाशित संदmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "यह चुनें कि क्या जिन लोगों का समुदाय आपके साथ साझा है, वे आपको दोस्त बनाए बिना सीधे संदेश भेज सकते हैं।"+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "चुनें कि दूसरे लोग आपकी प्रोफ़ाइल पर कौन-से बैज देखें।"+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "तुलना"msgid "Complete payment"msgstr "भुगतान पूरा करें"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "अपने {premiumProductName} बैज को दूसरे यूज़र से पूरी तरह छिपाएँ"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "अपने कैमरे, स्क्रीन शेयरिंmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "अपना माइक्रोफ़ोन, स्पीकर, इनपुट मोड, प्रोसेसिंग और वॉइस साउंड कॉन्फ़िगर करें।"-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "अपना प्रोफ़ाइल बैज कॉन्फ़िगर करें"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "अपना कम्युनिटी निकनेम, अवत#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "अपना यूज़रनेम, डिसप्ले नेम, अवतार, बैनर, बायो, सर्वनाम, टाइमज़ोन या {premiumProductName} बैज की प्राइवेसी बदलने से पहले अपना ईमेल कन्फ़र्म करें।"+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "अपना यूज़रनेम, डिसप्ले नेम, अवतार, बैनर, बायो, सर्वनाम, टाइमज़ोन या बैज बदलने से पहले अपना ईमेल कन्फ़र्म करें।"#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "नियंत्रित करें कि HDR-सक्षम मmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "नियंत्रित करें कि अलग-अलग संदर्भों में वयस्क या संवेदनशील मीडिया को कैसे फ़िल्टर किया जाता है।"-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "नियंत्रित करें कि आपका {premiumProductName} बैज दूसरों को कैसे दिखाई देता है"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "ऐप्लिकेशन की बुनियादी बातेmsgid "Edit attachment"msgstr "अटैचमेंट एडिट करें"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "बैज एडिट करें"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "छिपाएँ"msgid "Hide {appName}"msgstr "{appName} छिपाएँ"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "{premiumProductName} बैज को पूरी तरह से छिपाएँ"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "{premiumProductName} खरीदने की तारीख छिपाएँ"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "{premiumProductName} खरीदने की तारीख ({dateUtilsGetFormattedShortDatePremiumSince}) छिपाएँ"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "दिशानिर्देश छिपाएँ"msgid "Hide help center button"msgstr "सहायता केंद्र बटन छिपाएं"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "छिपाएँ कि आपके पास कितने Operator Pass हैं"@@ -18678,18 +18658,8 @@ msgstr "छोटा करने पर विंडो छिपाएं औmsgid "Hide user avatars"msgstr "यूज़र अवतार छिपाएं"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "विजनरी आईडी बैज छिपाएँ"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "विजनरी आईडी बैज ({premiumLifetimeSequenceLabel}) छिपाएँ"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "छिपाएँ कि आपको {operatorPassName} कब मिला"@@ -21976,8 +21946,8 @@ msgstr "ईमेल, लिंक किए गए अकाउंट औरmsgid "Mask private details before sharing your screen or stream."msgstr "अपनी स्क्रीन या स्ट्रीम शेयर करने से पहले निजी जानकारी छिपाएँ।"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "विजनरी को सदस्यता के रूप में दिखाएँ"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass ऑफ़र"msgid "Operator Pass purchase"msgstr "Operator Pass की ख़रीद"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "{since} से Operator Pass"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "कम गति की प्राथमिकता"msgid "Premium"msgstr "प्रीमियम"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "प्रीमियम बैज"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "टाइमआउट हटाएँ"msgid "Remove translator"msgstr "अनुवादक हटाएँ"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "अपने बैज से हटाएँ कि आपने {premiumProductName} पहली बार कब खरीदा था"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "अपना विजनरी आईडी बैज हटाएँ"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "दिखाएँ"msgid "Show {appName}"msgstr "{appName} दिखाएं"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "अपनी प्रोफ़ाइल पर {badgeLabel} दिखाएँ"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "अन्य खातों पर गतिविधि दिखाmsgid "Show attachment expiration indicator"msgstr "अटैचमेंट की समय-सीमा खत्म होने का इंडिकेटर दिखाएं"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "मेरी प्रोफ़ाइल पर बैज दिखाएँ"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "इस कम्युनिटी में अपना ग्लोmsgid "Show your global profile banner in this community"msgstr "इस कम्युनिटी में अपना ग्लोबल प्रोफ़ाइल बैनर दिखाएं"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "अपनी विजनरी को सामान्य सदस्यता के तौर पर दिखाएँ"@@ -33420,6 +33375,11 @@ msgstr "चैट के इनवाइट एम्बेड में दिmsgid "Shown on every post so people can react with one click."msgstr "हर पोस्ट पर दिखाया जाता है ताकि लोग एक क्लिक से प्रतिक्रिया दे सकें।"+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "यह तभी दिखता है जब आपका विजनरी बैज दिख रहा हो और सदस्यता के रूप में न दिखाया गया हो।"+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "आपके पास अभी तक कोई रिकवरी कmsgid "You don't have access to any channels in this community."msgstr "आपके पास इस कम्युनिटी के किसी भी चैनल का एक्सेस नहीं है।"+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "आपके पास अभी कोई बैज नहीं है।"+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "आपका बैज लाइव है। सेटिंग मेmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "आपका बैज लाइव है। हमारी जाँच के बाद आपका नाम Operators वॉल पर दिखेगा।"+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "आपके बैज लोड नहीं हो सके।"+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/hr/messages.po b/fluxer_app/src/features/i18n/locales/hr/messages.poindex 6b3185496..aa33d5ac7 100644--- a/fluxer_app/src/features/i18n/locales/hr/messages.po+++ b/fluxer_app/src/features/i18n/locales/hr/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, obavezna opcija vrste {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} sigurno obrađuje plaćanje."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Privatnost značke {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Rezervni kodovi"msgid "Backup codes regenerated"msgstr "Rezervni kodovi ponovno su generirani"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Značka"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Značke"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Odaberite kamo će se objavljivati njegove poruke. U bilo kojem trenutkumsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Odaberite hoće li vam ljudi koji dijele zajednicu s vama moći slati izravne poruke bez prethodnog prijateljstva."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Odaberite koje značke drugi vide na vašem profilu."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Usporedba"msgid "Complete payment"msgstr "Dovrši plaćanje"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Potpuno sakrijte svoju značku {premiumProductName} od drugih korisnika"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Konfigurirajte kameru, kvalitetu dijeljenja zaslona, preglede i broj slimsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Konfigurirajte mikrofon, zvučnike, način unosa, obradu i zvukove glasa."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Konfigurirajte svoju značku profila"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Potvrdite svoju e-poštu prije promjene nadimka u zajednici, avatara, na#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Potvrdite svoju e-poštu prije promjene korisničkog imena, imena za prikaz, avatara, naslovne slike, biografije, zamjenica, vremenske zone ili privatnosti značke {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Potvrdite svoju e-poštu prije promjene korisničkog imena, imena za prikaz, avatara, naslovne slike, biografije, zamjenica, vremenske zone ili znački."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Kontrolirajte kako se HDR slike prikazuju na monitorima koji podržavajumsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Kontrolirajte kako se u različitim kontekstima filtriraju mediji za odrasle ili osjetljivi mediji."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Kontrolirajte kako se vaša značka {premiumProductName} prikazuje drugima"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Uredite osnove aplikacije i URI-je za preusmjeravanje"msgid "Edit attachment"msgstr "Uredi privitak"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Uredi značke"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Sakrij"msgid "Hide {appName}"msgstr "Sakrij {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Potpuno sakrij značku {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Sakrij datum kupnje {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Sakrij datum kupnje {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Sakrij smjernice"msgid "Hide help center button"msgstr "Sakrij gumb centra za pomoć"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Sakrij koliko Operator Passova imate"@@ -18678,18 +18658,8 @@ msgstr "Sakrij prozor kad je minimiziran i ponovno ga otvori iz palete sustava"msgid "Hide user avatars"msgstr "Sakrij avatare korisnika"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Sakrij značku Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Sakrij značku Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Sakrij od kada imate {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Maskiraj privatne podatke računa kao što su e-pošta, povezani računimsgid "Mask private details before sharing your screen or stream."msgstr "Maskirajte privatne detalje prije dijeljenja zaslona ili prijenosa uživo."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Maskiraj Visionary kao pretplatu"@@ -26174,11 +26144,6 @@ msgstr "Ponude za Operator Pass"msgid "Operator Pass purchase"msgstr "Kupnja Operator Passa"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass od {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Preferira smanjeno kretanje"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Premium značka"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Ukloni vremensko ograničenje"msgid "Remove translator"msgstr "Ukloni prevoditelja"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Uklonite datum prve kupnje proizvoda {premiumProductName} sa svoje značke"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Uklonite svoju značku Visionary ID"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Prikaži"msgid "Show {appName}"msgstr "Prikaži {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Prikaži {badgeLabel} na vašem profilu"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Prikaži aktivnost na drugim računima"msgid "Show attachment expiration indicator"msgstr "Prikaži indikator isteka privitka"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Prikaži značku na mom profilu"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Prikaži avatar svog globalnog profila u ovoj zajednici"msgid "Show your global profile banner in this community"msgstr "Prikaži naslovnu sliku svog globalnog profila u ovoj zajednici"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Prikaži svoj Visionary kao običnu pretplatu"@@ -33420,6 +33375,11 @@ msgstr "Prikazuje se u pozivnicama u chatu."msgid "Shown on every post so people can react with one click."msgstr "Prikazano uz svaku poruku kako bi ljudi mogli reagirati jednim klikom."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Prikazuje se samo kada je vaša značka Visionary vidljiva i nije maskirana kao pretplata."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Još nemate komplet za oporavak"msgid "You don't have access to any channels in this community."msgstr "Nemate pristup nijednom kanalu u ovoj zajednici."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Još nemate nijednu značku."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Vaša značka je aktivna. Provjerite svoj unos na zidu u postavkama."msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Vaša značka je aktivna. Vaše ime prikazat će se na zidu Operators kad ga provjerimo."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Vaše značke nije moguće učitati."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/hu/messages.po b/fluxer_app/src/features/i18n/locales/hu/messages.poindex 8fff198be..3dd06b102 100644--- a/fluxer_app/src/features/i18n/locales/hu/messages.po+++ b/fluxer_app/src/features/i18n/locales/hu/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, kötelező {optionType} típusú argumentum"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "A(z) {PAYMENT_PROVIDER_NAME} biztonságosan kezeli a fizetést."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName} jelvény adatvédelme"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Biztonsági kódok"msgid "Backup codes regenerated"msgstr "Biztonsági kódok újragenerálva"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Jelvény"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Jelvények"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Válaszd ki, hová kerüljenek a közzétett üzenetek. Bármikor követmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Válaszd ki, hogy azok, akikkel közös közösséged van, küldhetnek-e neked közvetlen üzeneteket anélkül, hogy előtte barátok lennétek."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Válaszd ki, mely jelvényeket látják mások a profilodon."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Összehasonlítás"msgid "Complete payment"msgstr "Fizetés befejezése"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Teljesen elrejti a(z) {premiumProductName} jelvényedet a többi felhasználó elől"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Állítsd be a kamerádat, a képernyőmegosztás minőségét, az előnmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Itt állíthatod be a mikrofonodat, a hangszórókat, a bemeneti módot, a feldolgozást és a hangokat."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Profiljelvény beállítása"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Erősítsd meg az e-mail-címedet, mielőtt módosítod a közösségi b#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Erősítsd meg az e-mail-címedet, mielőtt módosítod a felhasználónevedet, megjelenítendő nevedet, profilképedet, borítóképedet, bemutatkozásodat, névmásaidat, időzónádat vagy a(z) {premiumProductName} jelvényed adatvédelmi beállításait."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Erősítsd meg az e-mail-címedet, mielőtt módosítod a felhasználónevedet, megjelenítendő nevedet, profilképedet, borítóképedet, bemutatkozásodat, névmásaidat, időzónádat vagy jelvényeidet."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Állítsd be, hogyan jelenjenek meg a HDR-képek a HDR-képes monitorokomsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Itt szabályozhatod, hogyan szűrje az alkalmazás a felnőtteknek szóló vagy érzékeny médiatartalmakat a különböző helyzetekben."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Irányítsd, hogyan jelenjen meg a(z) {premiumProductName} jelvényed másoknak"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Alapvető alkalmazásadatok és átirányítási URI-k szerkesztése"msgid "Edit attachment"msgstr "Melléklet szerkesztése"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Jelvények szerkesztése"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Elrejtés"msgid "Hide {appName}"msgstr "{appName} elrejtése"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "A(z) {premiumProductName} jelvény teljes elrejtése"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "{premiumProductName} vásárlási dátumának elrejtése"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "{premiumProductName} vásárlási dátumának elrejtése ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Útmutató elrejtése"msgid "Hide help center button"msgstr "Súgóközpont gomb elrejtése"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Annak elrejtése, hány Operator Passod van"@@ -18678,18 +18658,8 @@ msgstr "Az ablak elrejtése kis méretre állításkor, és újranyitása az érmsgid "Hide user avatars"msgstr "Felhasználói profilképek elrejtése"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Visionary-azonosító jelvényének elrejtése"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Visionary-azonosító jelvényének elrejtése ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Annak elrejtése, mikor kaptad meg az {operatorPassName}-t"@@ -21976,8 +21946,8 @@ msgstr "Privát fiókadatok, például e-mail-cím, összekapcsolt fiókok és jmsgid "Mask private details before sharing your screen or stream."msgstr "Rejtsd el a személyes adataidat a képernyőd vagy streamed megosztása előtt."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "A Visionary megjelenítése normál előfizetésként"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass-felajánlások"msgid "Operator Pass purchase"msgstr "Operator Pass-vásárlás"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass {since} óta"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Előnyben részesíti a csökkentett mozgást"msgid "Premium"msgstr "Prémium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Prémium jelvény"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Ideiglenes korlátozás feloldása"msgid "Remove translator"msgstr "Fordító eltávolítása"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Az első {premiumProductName}-vásárlás időpontjának eltávolítása a jelvényedről"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Visionary-azonosító jelvényének eltávolítása"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Megjelenítés"msgid "Show {appName}"msgstr "{appName} megjelenítése"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "{badgeLabel} megjelenítése a profilodon"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Tevékenység más fiókokon"msgid "Show attachment expiration indicator"msgstr "Melléklet lejárati jelzőjének megjelenítése"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Jelvény megjelenítése a profilomon"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "A globális profilképed megjelenítése ebben a közösségben"msgid "Show your global profile banner in this community"msgstr "Globális profilborítóképed megjelenítése ebben a közösségben"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "A Visionary-előfizetés megjelenítése normál előfizetésként"@@ -33420,6 +33375,11 @@ msgstr "Megjelenik a chatben található meghívó-beágyazásokban."msgid "Shown on every post so people can react with one click."msgstr "Minden bejegyzésen látható, hogy az emberek egy kattintással reagálhassanak."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Csak akkor látszik, ha a Visionary-jelvényed látható, és nem normál előfizetésként jelenik meg."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Még nincs helyreállítási csomagod"msgid "You don't have access to any channels in this community."msgstr "Nincs hozzáférésed egyetlen csatornához sem ebben a közösségben."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Még nincs egy jelvényed sem."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "A jelvényed aktív. A fali megjelenésedet a beállításokban ellenőrmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "A jelvényed aktív. A neved az ellenőrzés után megjelenik az Operators-falon."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Nem sikerült betölteni a jelvényeidet."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/id/messages.po b/fluxer_app/src/features/i18n/locales/id/messages.poindex a880b0ec8..87aacfa5a 100644--- a/fluxer_app/src/features/i18n/locales/id/messages.po+++ b/fluxer_app/src/features/i18n/locales/id/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, opsi {optionType} wajib"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} menangani pembayaran dengan aman."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Privasi lencana {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,9 +6097,9 @@ msgstr "Kode cadangan"msgid "Backup codes regenerated"msgstr "Kode cadangan dibuat ulang"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"msgstr "Lencana"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.@@ -8492,6 +8487,11 @@ msgstr "Pilih tempat pesan yang dipublikasikan akan dikirim. Anda dapat berhentimsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Pilih apakah orang yang berbagi komunitas dengan Anda dapat mengirimi Anda pesan langsung tanpa berteman terlebih dahulu."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Pilih lencana mana yang dilihat orang lain di profilmu."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Perbandingan"msgid "Complete payment"msgstr "Selesaikan pembayaran"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Sembunyikan lencana {premiumProductName} milikmu sepenuhnya dari pengguna lain"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Konfigurasi kameramu, kualitas berbagi layar, pratinjau, dan frame rate.msgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Konfigurasi mikrofon, speaker, mode input, pemrosesan, dan efek suara."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Konfigurasi lencana profilmu"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Konfirmasi emailmu sebelum mengubah nama panggilan komunitas, avatar, ba#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Konfirmasi emailmu sebelum mengubah nama pengguna, nama tampilan, avatar, banner, bio, kata ganti, zona waktu, atau privasi lencana {premiumProductName} milikmu."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Konfirmasi emailmu sebelum mengubah nama pengguna, nama tampilan, avatar, banner, bio, kata ganti, zona waktu, atau lencana."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Kontrol cara gambar HDR ditampilkan di monitor yang mendukung HDR."msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Kontrol cara media yang sensitif atau mengandung konten dewasa disaring di berbagai konteks."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Kontrol cara lencana {premiumProductName} milikmu ditampilkan kepada orang lain"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Edit pengaturan dasar aplikasi dan URI pengalihan"msgid "Edit attachment"msgstr "Edit lampiran"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Edit lencana"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Sembunyikan"msgid "Hide {appName}"msgstr "Sembunyikan {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Sembunyikan badge {premiumProductName} sepenuhnya"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Sembunyikan tanggal pembelian {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Sembunyikan tanggal pembelian {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Sembunyikan panduan"msgid "Hide help center button"msgstr "Sembunyikan tombol pusat bantuan"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Sembunyikan jumlah Operator Pass yang kamu punya"@@ -18678,18 +18658,8 @@ msgstr "Sembunyikan jendela saat diminimalkan dan buka kembali dari baki sistem"msgid "Hide user avatars"msgstr "Sembunyikan avatar pengguna"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Sembunyikan badge ID Visionary"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Sembunyikan badge Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Sembunyikan kapan kamu mendapatkan {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Samarkan detail akun pribadi seperti email, akun tertaut, dan catatan"msgid "Mask private details before sharing your screen or stream."msgstr "Samarkan detail pribadi sebelum kamu membagikan layar atau melakukan streaming."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Samarkan Visionary sebagai langganan"@@ -26174,11 +26144,6 @@ msgstr "Tawaran Operator Pass"msgid "Operator Pass purchase"msgstr "Pembelian Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass sejak {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Preferensi gerakan dikurangi"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Lencana premium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Hapus batas waktu"msgid "Remove translator"msgstr "Hapus penerjemah"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Hapus tanggal pembelian pertama {premiumProductName} dari lencanamu"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Hapus lencana ID Visionary milikmu"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Tampilkan"msgid "Show {appName}"msgstr "Tampilkan {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Tampilkan {badgeLabel} di profilmu"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Tampilkan aktivitas di akun lain"msgid "Show attachment expiration indicator"msgstr "Tampilkan indikator kedaluwarsa lampiran"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Tampilkan lencana di profil saya"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Tampilkan avatar profil globalmu di komunitas ini"msgid "Show your global profile banner in this community"msgstr "Tampilkan banner profil globalmu di komunitas ini"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Tampilkan Visionary-mu sebagai langganan biasa saja"@@ -33420,6 +33375,11 @@ msgstr "Ditampilkan di sematan undangan dalam obrolan."msgid "Shown on every post so people can react with one click."msgstr "Ditampilkan di setiap postingan agar orang dapat bereaksi dengan satu klik."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Hanya ditampilkan saat lencana Visionary-mu terlihat dan tidak disamarkan sebagai langganan."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Anda belum memiliki kit pemulihan"msgid "You don't have access to any channels in this community."msgstr "Kamu tidak memiliki akses ke saluran mana pun di komunitas ini."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Kamu belum punya lencana."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Lencanamu sudah aktif. Cek pencantumanmu di dinding di pengaturan."msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Lencanamu sudah aktif. Namamu tampil di dinding Operators setelah kami memeriksanya."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Lencanamu tidak dapat dimuat."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/it/messages.po b/fluxer_app/src/features/i18n/locales/it/messages.poindex a4eb31808..f53c2f6ff 100644--- a/fluxer_app/src/features/i18n/locales/it/messages.po+++ b/fluxer_app/src/features/i18n/locales/it/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, opzione obbligatoria di tipo {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} gestisce i pagamenti in modo sicuro."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Privacy del badge {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,9 +6097,9 @@ msgstr "Codici di backup"msgid "Backup codes regenerated"msgstr "Codici di backup rigenerati"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"msgstr "Badge"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.@@ -8492,6 +8487,11 @@ msgstr "Scegli dove verranno pubblicati i suoi messaggi. Puoi smettere di seguirmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Scegli se le persone che condividono una community con te possono inviarti messaggi diretti senza essere prima amici."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Scegli quali badge vedono gli altri sul tuo profilo."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Confronto"msgid "Complete payment"msgstr "Completa il pagamento"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Nascondi completamente il tuo badge {premiumProductName} agli altri utenti"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Configura fotocamera, qualità della condivisione schermo, anteprime e fmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Configura microfono, altoparlanti, modalità di input, elaborazione e suoni vocali."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Configura il tuo badge del profilo"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Conferma la tua email prima di cambiare soprannome, avatar, banner, biog#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Conferma la tua email prima di cambiare nome utente, nome visualizzato, avatar, banner, biografia, pronomi, fuso orario o la privacy del badge {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Conferma la tua email prima di cambiare nome utente, nome visualizzato, avatar, banner, biografia, pronomi, fuso orario o badge."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Controlla come le immagini HDR vengono visualizzate sui monitor compatibmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Controlla come vengono filtrati i contenuti multimediali per adulti o sensibili nei diversi contesti."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Controlla come viene mostrato agli altri il tuo badge {premiumProductName}"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Modifica le impostazioni di base dell'applicazione e gli URI di reindirimsgid "Edit attachment"msgstr "Modifica allegato"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Modifica badge"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Nascondi"msgid "Hide {appName}"msgstr "Nascondi {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Nascondi completamente il badge {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Nascondi la data di acquisto di {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Nascondi la data di acquisto di {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Nascondi linee guida"msgid "Hide help center button"msgstr "Nascondi il pulsante del Centro assistenza"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Nascondi quanti Operator Pass hai"@@ -18678,18 +18658,8 @@ msgstr "Nascondi la finestra quando è ridotta a icona e riaprila dall’area dimsgid "Hide user avatars"msgstr "Nascondi avatar utente"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Nascondi badge Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Nascondi il badge ID Visionary ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Nascondi quando hai ottenuto il tuo {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Nascondi i dettagli privati dell'account come email, account collegati emsgid "Mask private details before sharing your screen or stream."msgstr "Nascondi i dettagli privati prima di condividere lo schermo o lo streaming."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Maschera Visionary come abbonamento"@@ -26174,11 +26144,6 @@ msgstr "Proposte di Operator Pass"msgid "Operator Pass purchase"msgstr "Acquisto di Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass da {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Preferisce movimento ridotto"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Badge Premium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Rimuovi timeout"msgid "Remove translator"msgstr "Rimuovi traduttore"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Nascondi nel badge la data del tuo primo acquisto di {premiumProductName}"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Rimuovi il tuo badge ID Visionary"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Mostra"msgid "Show {appName}"msgstr "Mostra {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Mostra {badgeLabel} sul tuo profilo"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Mostra attività su altri account"msgid "Show attachment expiration indicator"msgstr "Mostra indicatore scadenza allegato"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Mostra badge sul mio profilo"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Mostra il tuo avatar del profilo globale in questa community"msgid "Show your global profile banner in this community"msgstr "Mostra il banner del tuo profilo globale in questa community"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Mostra il tuo Visionary come un normale abbonamento"@@ -33420,6 +33375,11 @@ msgstr "Visualizzato nelle anteprime degli inviti in chat."msgid "Shown on every post so people can react with one click."msgstr "Mostrato su ogni post per permettere alle persone di reagire con un clic."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Visibile solo quando il tuo badge Visionary è visibile e non è mascherato come abbonamento."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Non hai ancora un kit di recupero"msgid "You don't have access to any channels in this community."msgstr "Non hai accesso a nessun canale in questa community."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Non hai ancora nessun badge."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Il tuo badge è attivo. Controlla la tua voce nella bacheca nelle impostmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Il tuo badge è attivo. Il tuo nome compare nella bacheca degli Operators dopo che l'abbiamo controllato."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Impossibile caricare i tuoi badge."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/ja/messages.po b/fluxer_app/src/features/i18n/locales/ja/messages.poindex 88238c34d..71fe556b4 100644--- a/fluxer_app/src/features/i18n/locales/ja/messages.po+++ b/fluxer_app/src/features/i18n/locales/ja/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}、必須の{optionType}オプション"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME}が安全に支払いを処理します。"-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName}バッジのプライバシー設定"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,9 +6097,9 @@ msgstr "バックアップコード"msgid "Backup codes regenerated"msgstr "バックアップコードを再生成しました"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"msgstr "バッジ"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.@@ -8492,6 +8487,11 @@ msgstr "公開するメッセージの送信先を選びます。いつでもコmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "コミュニティを共有している人が、友達になる前にあなたにダイレクトメッセージを送信できるようにするかどうかを選択してください。"+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "プロフィールで他の人に表示するバッジを選べます。"+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "比較"msgid "Complete payment"msgstr "支払いを完了"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "{premiumProductName}バッジを他のユーザーから完全に非表示にする"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "カメラ、画面共有の品質、プレビュー、フレームレーmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "マイク、スピーカー、入力モード、処理、ボイスサウンドを設定します。"-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "プロフィールバッジを設定"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "コミュニティのニックネーム、アバター、バナー、自#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "ユーザー名、表示名、アバター、バナー、自己紹介、代名詞、タイムゾーン、または{premiumProductName}バッジのプライバシーを変更する前に、メールアドレスを確認してください。"+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "ユーザー名、表示名、アバター、バナー、自己紹介、代名詞、タイムゾーン、またはバッジを変更する前に、メールアドレスを確認してください。"#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "HDR対応モニターでのHDR画像の表示方法を設定します。msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "さまざまな状況で、成人向けまたは不適切なメディアがどのようにフィルタリングされるかを管理します。"-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "他のユーザーへの{premiumProductName}バッジの表示方法を管理します"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "アプリの基本情報とリダイレクトURIを編集"msgid "Edit attachment"msgstr "添付ファイルを編集"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "バッジを編集"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "非表示"msgid "Hide {appName}"msgstr "{appName}を隠す"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "{premiumProductName}バッジを完全に非表示にする"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "{premiumProductName}の購入日を非表示にする"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "{premiumProductName}の購入日を非表示にする({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "ガイドラインを非表示"msgid "Hide help center button"msgstr "ヘルプセンターボタンを非表示"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Operator Passの枚数を非表示にする"@@ -18678,18 +18658,8 @@ msgstr "最小化時にウィンドウを隠し、タスクトレイから再度msgid "Hide user avatars"msgstr "ユーザーアバターを非表示"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Visionary IDバッジを非表示"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Visionary IDバッジを非表示({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "{operatorPassName}を手に入れた時期を非表示にする"@@ -21976,8 +21946,8 @@ msgstr "メールアドレス、連携済みアカウント、メモなどの個msgid "Mask private details before sharing your screen or stream."msgstr "画面やストリームを共有する前に、個人情報を隠します。"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Visionaryをサブスクリプションとして表示"@@ -26174,11 +26144,6 @@ msgstr "Operator Passの申し出"msgid "Operator Pass purchase"msgstr "Operator Passの購入"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "{since}からOperator Passを保有"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "アニメーションを減らす"msgid "Premium"msgstr "プレミアム"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "プレミアムバッジ"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "タイムアウトを解除"msgid "Remove translator"msgstr "翻訳ツールを削除"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "バッジから{premiumProductName}の購入日を削除"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Visionary IDバッジを削除"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "表示"msgid "Show {appName}"msgstr "{appName}を表示"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "プロフィールに{badgeLabel}を表示"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "他のアカウントのアクティビティを表示"msgid "Show attachment expiration indicator"msgstr "添付ファイルの有効期限インジケーターを表示"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "プロフィールにバッジを表示"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "このコミュニティでグローバルプロフィールのアバタmsgid "Show your global profile banner in this community"msgstr "このコミュニティでグローバルプロフィールのバナーを表示"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Visionaryを通常のサブスクリプションとして表示する"@@ -33420,6 +33375,11 @@ msgstr "チャットの招待埋め込みに表示されます。"msgid "Shown on every post so people can react with one click."msgstr "投稿ごとに表示され、ワンクリックでリアクションできます。"+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Visionaryバッジが表示されていて、サブスクリプションとして表示していない場合にのみ表示されます。"+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "リカバリーキットがまだありません"msgid "You don't have access to any channels in this community."msgstr "このコミュニティには、アクセスできるチャンネルがありません。"+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "まだバッジがありません。"+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "バッジが表示されました。ウォールへの掲載は設定でmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "バッジが表示されました。名前は確認後にOperatorsウォールに表示されます。"+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "バッジを読み込めませんでした。"+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/ko/messages.po b/fluxer_app/src/features/i18n/locales/ko/messages.poindex 6b0cddbee..050daf9b5 100644--- a/fluxer_app/src/features/i18n/locales/ko/messages.po+++ b/fluxer_app/src/features/i18n/locales/ko/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, 필수 {optionType} 옵션"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME}에서 안전하게 결제합니다."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName} 배지 공개 설정"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,9 +6097,9 @@ msgstr "백업 코드"msgid "Backup codes regenerated"msgstr "백업 코드 재생성 완료"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"msgstr "배지"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.@@ -8492,6 +8487,11 @@ msgstr "팔로우한 메시지를 게시할 위치를 선택하세요. 커뮤니msgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "커뮤니티를 공유하는 사람이 먼저 친구가 되지 않아도 다이렉트 메시지를 보낼 수 있는지 선택하세요."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "다른 사람이 내 프로필에서 볼 배지를 선택하세요."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "비교"msgid "Complete payment"msgstr "결제 완료하기"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "다른 사용자에게 {premiumProductName} 배지를 완전히 숨깁니다"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "카메라, 화면 공유 품질, 미리보기, 프레임 레이트를msgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "마이크, 스피커, 입력 모드, 처리 및 음성 사운드를 설정합니다."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "프로필 배지 설정"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "커뮤니티 닉네임, 아바타, 배너, 자기소개, 대명사 또#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "사용자 이름, 표시 이름, 아바타, 배너, 자기소개, 대명사, 시간대 또는 {premiumProductName} 배지 공개 설정을 변경하기 전에 이메일을 인증하세요."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "사용자 이름, 표시 이름, 아바타, 배너, 자기소개, 대명사, 시간대 또는 배지를 변경하기 전에 이메일을 인증하세요."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "HDR 지원 모니터에서 HDR 이미지가 표시되는 방식을 제msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "다양한 상황에서 성인용 또는 민감한 미디어가 필터링되는 방식을 제어합니다."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "다른 사용자에게 {premiumProductName} 배지를 표시하는 방법을 관리합니다"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "앱 기본 정보 및 리디렉션 URI 편집"msgid "Edit attachment"msgstr "첨부 파일 편집"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "배지 편집"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "숨기기"msgid "Hide {appName}"msgstr "{appName} 가리기"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "{premiumProductName} 배지 완전히 숨기기"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "{premiumProductName} 구매 날짜 숨기기"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "{premiumProductName} 구매 날짜({dateUtilsGetFormattedShortDatePremiumSince}) 숨기기"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "가이드라인 숨기기"msgid "Hide help center button"msgstr "고객센터 버튼 숨기기"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Operator Pass 개수 숨기기"@@ -18678,18 +18658,8 @@ msgstr "최소화 시 창 숨기기 및 트레이에서 다시 열기"msgid "Hide user avatars"msgstr "사용자 아바타 숨기기"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Visionary ID 배지 숨기기"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Visionary ID 배지 숨기기({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "{operatorPassName}를 받은 시기 숨기기"@@ -21976,8 +21946,8 @@ msgstr "이메일, 연결된 계정, 메모 등 개인 계정 정보 가리기"msgid "Mask private details before sharing your screen or stream."msgstr "화면 또는 스트림을 공유하기 전에 비공개 세부 정보를 가립니다."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Visionary를 구독으로 표시"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass 제안"msgid "Operator Pass purchase"msgstr "Operator Pass 구매"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "{since}부터 Operator Pass 보유"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "동작 줄이기 선호"msgid "Premium"msgstr "프리미엄"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "프리미엄 배지"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "타임아웃 해제"msgid "Remove translator"msgstr "번역기 삭제"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "{premiumProductName}을(를) 처음 구매한 시점을 배지에서 제거"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Visionary ID 배지 제거"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "표시"msgid "Show {appName}"msgstr "{appName} 표시"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "내 프로필에 {badgeLabel} 표시"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "다른 계정의 활동 보기"msgid "Show attachment expiration indicator"msgstr "첨부파일 만료 표시"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "내 프로필에 배지 표시"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "이 커뮤니티에 글로벌 프로필 아바타 표시"msgid "Show your global profile banner in this community"msgstr "이 커뮤니티에 내 글로벌 프로필 배너 표시"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Visionary를 일반 구독으로 표시"@@ -33420,6 +33375,11 @@ msgstr "채팅 초대 임베드에 표시됩니다."msgid "Shown on every post so people can react with one click."msgstr "모든 게시물에 표시되어 한 번의 클릭으로 반응할 수 있습니다."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Visionary 배지가 표시되고 구독으로 표시되지 않을 때만 보입니다."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "복구 키트가 아직 없습니다"msgid "You don't have access to any channels in this community."msgstr "이 커뮤니티에서 접근할 수 있는 채널이 없습니다."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "아직 배지가 없습니다."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "배지가 표시되었습니다. 벽 표시는 설정에서 확인하세msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "배지가 표시되었습니다. 이름은 저희가 확인한 후 Operators 벽에 표시됩니다."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "배지를 불러오지 못했습니다."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/lt/messages.po b/fluxer_app/src/features/i18n/locales/lt/messages.poindex efdda6a2b..17042008c 100644--- a/fluxer_app/src/features/i18n/locales/lt/messages.po+++ b/fluxer_app/src/features/i18n/locales/lt/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, privaloma parinktis, tipas: {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} saugiai apdoroja mokėjimus."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName} ženkliuko privatumas"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Atsarginiai kodai"msgid "Backup codes regenerated"msgstr "Atsarginiai kodai sugeneruoti iš naujo"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Ženklelis"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Ženkleliai"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Pasirinkite, kur bus skelbiami jos pranešimai. Bet kada galėsite nebesmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Pasirinkite, ar žmonės, kurie dalijasi bendruomene su jumis, gali siųsti jums tiesiogines žinutes, prieš tai nebūdami draugais."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Pasirinkite, kuriuos ženklelius kiti mato jūsų profilyje."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Palyginimas"msgid "Complete payment"msgstr "Užbaigti mokėjimą"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Visiškai paslėpti savo {premiumProductName} ženklelį nuo kitų naudotojų"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Konfigūruokite kamerą, ekrano bendrinimo kokybę, peržiūras ir kadrmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Konfigūruokite mikrofoną, garsiakalbius, įvesties režimą, apdorojimą ir balso garsus."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Konfigūruoti profilio ženklelį"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Patvirtinkite savo el. paštą prieš keisdami bendruomenės slapyvardį#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Patvirtinkite savo el. paštą prieš keisdami naudotojo vardą, rodomą vardą, avatarą, reklamjuostę, biografiją, įvardžius, laiko juostą arba {premiumProductName} ženkliuko privatumą."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Patvirtinkite savo el. paštą prieš keisdami naudotojo vardą, rodomą vardą, avatarą, reklamjuostę, biografiją, įvardžius, laiko juostą arba ženklelius."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Valdykite, kaip HDR vaizdai rodomi HDR palaikančiuose monitoriuose."msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Valdykite, kaip skirtinguose kontekstuose filtruojama brandi arba jautri medija."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Valdykite, kaip kitiems rodomas jūsų {premiumProductName} ženklelis"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Redaguoti pagrindinius programos nustatymus ir nukreipimo URI"msgid "Edit attachment"msgstr "Redaguoti priedą"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Redaguoti ženklelius"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18523,21 +18513,11 @@ msgstr "Slėpti"msgid "Hide {appName}"msgstr "Slėpti {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Visiškai slėpti {premiumProductName} ženklelį"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Slėpti {premiumProductName} pirkimo datą"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Slėpti {premiumProductName} įsigijimo datą ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18596,8 +18576,8 @@ msgstr "Sutrumpinti gaires"msgid "Hide help center button"msgstr "Slėpti pagalbos centro mygtuką"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Slėpti, kiek turite Operator Pass leidimų"@@ -18679,18 +18659,8 @@ msgstr "Slėpti langą sumažinus ir atidaryti iš dėklo"msgid "Hide user avatars"msgstr "Slėpti naudotojų avatarus"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Slėpti Visionary ID ženklelį"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Slėpti Visionary ID ženklelį ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Slėpti, kada gavote {operatorPassName}"@@ -21977,8 +21947,8 @@ msgstr "Slėpti privačius paskyros duomenis, pvz., el. paštą, susietas paskyrmsgid "Mask private details before sharing your screen or stream."msgstr "Paslėpti asmeninę informaciją prieš bendrinant ekraną ar transliaciją."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Rodyti „Visionary“ kaip prenumeratą"@@ -26175,11 +26145,6 @@ msgstr "Operator Pass pasiūlymai"msgid "Operator Pass purchase"msgstr "Operator Pass pirkinys"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass nuo {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27640,11 +27605,6 @@ msgstr "Pageidauja sumažinto judesio"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "„Premium“ ženklelis"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29332,16 +29292,11 @@ msgstr "Pašalinti laikinąjį apribojimą"msgid "Remove translator"msgstr "Pašalinti vertėją"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Pašalinti iš ženklelio, kada pirmą kartą įsigijote „{premiumProductName}“"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Pašalinti Visionary ID ženklelį"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32893,6 +32848,11 @@ msgstr "Rodyti"msgid "Show {appName}"msgstr "Rodyti „{appName}“"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Rodyti {badgeLabel} jūsų profilyje"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32941,11 +32901,6 @@ msgstr "Rodyti veiklą kitose paskyrose"msgid "Show attachment expiration indicator"msgstr "Rodyti priedo galiojimo pabaigos indikatorių"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Rodyti ženklelį mano profilyje"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33391,8 +33346,8 @@ msgstr "Rodyti savo visuotinio profilio avatarą šioje bendruomenėje"msgid "Show your global profile banner in this community"msgstr "Rodyti savo visuotinio profilio reklamjuostę šioje bendruomenėje"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Rodyti „Visionary“ kaip įprastą prenumeratą"@@ -33421,6 +33376,11 @@ msgstr "Rodoma kvietimų įterptuosiuose elementuose pokalbiuose."msgid "Shown on every post so people can react with one click."msgstr "Rodyti prie kiekvieno įrašo, kad žmonės galėtų reaguoti vienu paspaudimu."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Rodoma tik tada, kai jūsų „Visionary“ ženklelis matomas ir nerodomas kaip prenumerata."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43008,6 +42968,11 @@ msgstr "Dar neturite atkūrimo rinkinio"msgid "You don't have access to any channels in this community."msgstr "Neturite prieigos prie jokių šios bendruomenės kanalų."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Kol kas neturite ženklelių."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43667,6 +43632,11 @@ msgstr "Jūsų ženklelis aktyvus. Įrašą sienoje patikrinkite nustatymuose."msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Jūsų ženklelis aktyvus. Jūsų vardas Operators sienoje atsiras, kai jį patikrinsime."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Nepavyko įkelti jūsų ženklelių."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/nl/messages.po b/fluxer_app/src/features/i18n/locales/nl/messages.poindex d1235a1ca..b7643a756 100644--- a/fluxer_app/src/features/i18n/locales/nl/messages.po+++ b/fluxer_app/src/features/i18n/locales/nl/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, verplichte {optionType}-optie"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} verwerkt betalingen veilig."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Privacy van de {premiumProductName}-badge"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Back-upcodes"msgid "Backup codes regenerated"msgstr "Back-upcodes opnieuw gegenereerd"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Badges"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Kies waar de gepubliceerde berichten naartoe moeten gaan. Je kunt op elkmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Kies of mensen die een community met je delen je direct berichten kunnen sturen zonder eerst vrienden te zijn."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Kies welke badges anderen op je profiel zien."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Vergelijking"msgid "Complete payment"msgstr "Betaling afronden"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Verberg je {premiumProductName}-badge volledig voor andere gebruikers"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Configureer je camera, kwaliteit van scherm delen, voorvertoningen en frmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Configureer je microfoon, luidsprekers, invoermodus, audioverwerking en spraakchatgeluiden."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Profielbadge configureren"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Bevestig je e-mailadres voordat je je community-bijnaam, avatar, banner,#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Bevestig je e-mailadres voordat je je gebruikersnaam, weergavenaam, avatar, banner, biografie, voornaamwoorden, tijdzone of {premiumProductName}-badgeprivacy wijzigt."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Bevestig je e-mailadres voordat je je gebruikersnaam, weergavenaam, avatar, banner, biografie, voornaamwoorden, tijdzone of badges wijzigt."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Bepaal hoe HDR-afbeeldingen worden weergegeven op HDR-compatibele schermmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Bepaal hoe media voor volwassenen of gevoelige media in verschillende situaties worden gefilterd."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Beheer hoe je {premiumProductName}-badge aan anderen wordt getoond"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Basisinstellingen en omleidings-URI's van de app bewerken"msgid "Edit attachment"msgstr "Bijlage bewerken"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Badges bewerken"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Verbergen"msgid "Hide {appName}"msgstr "{appName} verbergen"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Verberg de {premiumProductName}-badge volledig"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Aankoopdatum van {premiumProductName} verbergen"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Aankoopdatum {premiumProductName} verbergen ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Richtlijnen verbergen"msgid "Hide help center button"msgstr "Helpcentrumknop verbergen"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Verberg hoeveel Operator Passes je hebt"@@ -18678,18 +18658,8 @@ msgstr "Venster verbergen wanneer geminimaliseerd en heropenen vanuit het systeemsgid "Hide user avatars"msgstr "Gebruikersavatars verbergen"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Visionary ID-badge verbergen"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Verberg Visionary ID-badge ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Verberg sinds wanneer je je {operatorPassName} hebt"@@ -21976,8 +21946,8 @@ msgstr "Maskeer privégegevens zoals e-mail, gekoppelde accounts en notities"msgid "Mask private details before sharing your screen or stream."msgstr "Maskeer privégegevens voordat je je scherm of stream deelt."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Visionary weergeven als abonnement"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass-aanbiedingen"msgid "Operator Pass purchase"msgstr "Aankoop van Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass sinds {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Voorkeur voor minder beweging"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Premium-badge"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Time-out opheffen"msgid "Remove translator"msgstr "Vertaler verwijderen"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Verberg op je badge wanneer je {premiumProductName} voor het eerst hebt gekocht"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Verwijder je Visionary ID-badge"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Tonen"msgid "Show {appName}"msgstr "Toon {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "{badgeLabel} op je profiel tonen"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Activiteit op andere accounts weergeven"msgid "Show attachment expiration indicator"msgstr "Indicator voor het vervallen van bijlagen tonen"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Badge weergeven op mijn profiel"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Toon de avatar van je algemene profiel in deze community"msgid "Show your global profile banner in this community"msgstr "Toon de banner van je algemene profiel in deze community"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Toon je Visionary als een normaal abonnement"@@ -33420,6 +33375,11 @@ msgstr "Wordt weergegeven in ingesloten uitnodigingen in de chat."msgid "Shown on every post so people can react with one click."msgstr "Weergegeven bij elk bericht, zodat mensen met één klik kunnen reageren."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Alleen zichtbaar als je Visionary-badge zichtbaar is en niet als abonnement wordt weergegeven."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Je hebt nog geen herstelkit"msgid "You don't have access to any channels in this community."msgstr "Je hebt geen toegang tot kanalen in deze community."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Je hebt nog geen badges."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Je badge is actief. Bekijk je vermelding op de muur in de instellingen."msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Je badge is actief. Je naam verschijnt op de Operators-muur zodra we hem hebben gecontroleerd."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Je badges konden niet worden geladen."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/no/messages.po b/fluxer_app/src/features/i18n/locales/no/messages.poindex cbeab0362..383a426eb 100644--- a/fluxer_app/src/features/i18n/locales/no/messages.po+++ b/fluxer_app/src/features/i18n/locales/no/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, påkrevd argument av typen {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} håndterer betaling sikkert."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Personvern for {premiumProductName}-merket"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Reservekoder"msgid "Backup codes regenerated"msgstr "Reservekoder er fornyet"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Merke"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Merker"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Velg hvor publiserte meldinger skal sendes. Du kan når som helst sluttemsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Velg om folk som deler et fellesskap med deg kan sende deg direkte meldinger uten å være venner først."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Velg hvilke merker andre ser på profilen din."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Sammenligning"msgid "Complete payment"msgstr "Fullfør betaling"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Skjul {premiumProductName}-merket ditt fullstendig for andre brukere"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Konfigurer kamera, kvalitet på skjermdeling, forhåndsvisninger og bildmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Konfigurer mikrofon, høyttalere, inndatamodus, lydbehandling og samtalelyder."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Konfigurer profilmerket ditt"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Bekreft e-postadressen din før du endrer kallenavn, avatar, banner, bio#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Bekreft e-postadressen din før du endrer brukernavn, visningsnavn, avatar, banner, biografi, pronomen, tidssone eller personverninnstillinger for {premiumProductName}-merket ditt."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Bekreft e-postadressen din før du endrer brukernavn, visningsnavn, avatar, banner, biografi, pronomen, tidssone eller merker."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Kontroller hvordan HDR-bilder vises på HDR-kompatible skjermer."msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Styr hvordan voksent eller sensitivt medieinnhold filtreres i ulike sammenhenger."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Kontroller hvordan {premiumProductName}-merket ditt vises for andre"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Rediger grunnleggende appinformasjon og omdirigerings-URI-er"msgid "Edit attachment"msgstr "Rediger vedlegg"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Rediger merker"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Skjul"msgid "Hide {appName}"msgstr "Skjul {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Skjul {premiumProductName}-merket helt"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Skjul kjøpsdato for {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Skjul kjøpsdato for {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Skjul retningslinjer"msgid "Hide help center button"msgstr "Skjul hjelpesenterknappen"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Skjul hvor mange Operator Pass du har"@@ -18678,18 +18658,8 @@ msgstr "Skjul vinduet når det er minimert, og åpne det igjen fra systemstatusfmsgid "Hide user avatars"msgstr "Skjul brukeravatarer"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Skjul Visionary-ID-merket"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Skjul Visionary-ID-merket ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Skjul når du fikk {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Masker private kontodetaljer som e-post, tilknyttede kontoer og notater"msgid "Mask private details before sharing your screen or stream."msgstr "Masker private detaljer før du deler skjermen eller strømmen din."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Vis Visionary som et vanlig abonnement"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass-tilbud"msgid "Operator Pass purchase"msgstr "Kjøp av Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass siden {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Foretrekker redusert bevegelse"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Premium-merke"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Fjern timeout"msgid "Remove translator"msgstr "Fjern oversetter"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Fjern datoen for det første {premiumProductName}-kjøpet ditt fra merket"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Fjern Visionary ID-merket ditt"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Vis"msgid "Show {appName}"msgstr "Vis {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Vis {badgeLabel} på profilen din"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Vis aktivitet på andre kontoer"msgid "Show attachment expiration indicator"msgstr "Vis indikator for utløp av vedlegg"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Vis merke på profilen min"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Vis din globale profilavatar i dette fellesskapet"msgid "Show your global profile banner in this community"msgstr "Vis banneret for den globale profilen din i dette fellesskapet"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Vis Visionary som et vanlig abonnement i stedet"@@ -33420,6 +33375,11 @@ msgstr "Vises i innebygde invitasjonsforhåndsvisninger i chatten."msgid "Shown on every post so people can react with one click."msgstr "Vises på hvert innlegg slik at folk kan reagere med ett klikk."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Vises bare når Visionary-merket ditt er synlig og ikke vises som et vanlig abonnement."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Du har ikke et gjenopprettingssett ennå"msgid "You don't have access to any channels in this community."msgstr "Du har ikke tilgang til noen kanaler i dette fellesskapet."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Du har ingen merker ennå."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Merket ditt er aktivt. Sjekk oppføringen din på veggen i innstillingenmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Merket ditt er aktivt. Navnet ditt vises på Operators-veggen når vi har sjekket det."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Merkene dine kunne ikke lastes inn."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/pl/messages.po b/fluxer_app/src/features/i18n/locales/pl/messages.poindex ff5ea1a89..270393cd2 100644--- a/fluxer_app/src/features/i18n/locales/pl/messages.po+++ b/fluxer_app/src/features/i18n/locales/pl/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, wymagany argument typu {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} bezpiecznie obsługuje płatności."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Prywatność odznaki {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Kody zapasowe"msgid "Backup codes regenerated"msgstr "Kody zapasowe wygenerowane ponownie"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Odznaka"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Odznaki"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Wybierz, gdzie mają trafiać publikowane wiadomości. Możesz przestaćmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Wybierz, czy osoby należące do tej samej społeczności co Ty mogą wysyłać Ci wiadomości bezpośrednie bez wcześniejszego dodawania Cię do znajomych."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Wybierz, które odznaki inni widzą w twoim profilu."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Porównanie"msgid "Complete payment"msgstr "Dokończ płatność"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Całkowicie ukryj swoją odznakę {premiumProductName} przed innymi użytkownikami"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Skonfiguruj kamerę, jakość udostępniania ekranu, podglądy i liczbęmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Skonfiguruj mikrofon, głośniki, tryb wejścia audio, przetwarzanie dźwięku i dźwięki rozmów głosowych."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Skonfiguruj swoją odznakę profilową"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Potwierdź swój adres e-mail, zanim zmienisz pseudonim, awatar, baner,#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Potwierdź swój adres e-mail, zanim zmienisz nazwę użytkownika, nazwę wyświetlaną, awatar, baner, biogram, zaimki, strefę czasową lub prywatność odznaki {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Potwierdź swój adres e-mail, zanim zmienisz nazwę użytkownika, nazwę wyświetlaną, awatar, baner, biogram, zaimki, strefę czasową lub odznaki."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Kontroluj sposób wyświetlania obrazów HDR na monitorach obsługującymsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Kontroluj filtrowanie multimediów dla dorosłych lub o wrażliwej treści w różnych kontekstach."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Kontroluj, jak innym wyświetla się Twoja odznaka {premiumProductName}"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Edytuj podstawowe dane aplikacji i identyfikatory URI przekierowania"msgid "Edit attachment"msgstr "Edytuj załącznik"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Edytuj odznaki"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Ukryj"msgid "Hide {appName}"msgstr "Ukryj {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Całkowicie ukryj odznakę {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Ukryj datę zakupu {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Ukryj datę zakupu {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Ukryj wytyczne"msgid "Hide help center button"msgstr "Ukryj przycisk centrum pomocy"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Ukryj, ile masz przepustek Operator Pass"@@ -18678,18 +18658,8 @@ msgstr "Ukryj okno po zminimalizowaniu i otwórz ponownie z zasobnika systemowegmsgid "Hide user avatars"msgstr "Ukryj awatary użytkowników"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Ukryj odznakę Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Ukryj odznakę Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Ukryj, od kiedy masz {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Maskuj prywatne dane konta, takie jak e-mail, połączone konta i notatkmsgid "Mask private details before sharing your screen or stream."msgstr "Maskuj prywatne dane przed udostępnieniem ekranu lub transmisji."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Pokazuj Visionary jako subskrypcję"@@ -26174,11 +26144,6 @@ msgstr "Oferty Operator Pass"msgid "Operator Pass purchase"msgstr "Zakup Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass od {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Preferuje ograniczenie animacji"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Odznaka Premium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Cofnij czasowe ograniczenie"msgid "Remove translator"msgstr "Usuń translator"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Usuń datę pierwszego zakupu {premiumProductName} ze swojej odznaki"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Usuń swoją odznakę Visionary ID"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Pokaż"msgid "Show {appName}"msgstr "Pokaż {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Pokaż {badgeLabel} w twoim profilu"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Pokaż aktywność na innych kontach"msgid "Show attachment expiration indicator"msgstr "Pokaż wskaźnik wygaśnięcia załącznika"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Pokaż odznakę w moim profilu"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Pokaż swój globalny awatar profilowy w tej społeczności"msgid "Show your global profile banner in this community"msgstr "Pokaż swój globalny baner profilowy w tej społeczności"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Pokazuj Visionary jako zwykłą subskrypcję"@@ -33420,6 +33375,11 @@ msgstr "Widoczne w podglądach zaproszeń na czacie."msgid "Shown on every post so people can react with one click."msgstr "Wyświetlane przy każdym poście, aby ludzie mogli zareagować jednym kliknięciem."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Widoczne tylko wtedy, gdy twoja odznaka Visionary jest widoczna i nie jest pokazywana jako subskrypcja."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Nie masz jeszcze zestawu odzyskiwania"msgid "You don't have access to any channels in this community."msgstr "Nie masz dostępu do żadnych kanałów w tej społeczności."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Nie masz jeszcze żadnych odznak."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Twoja odznaka jest już aktywna. Sprawdź swój wpis na ścianie w ustawmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Twoja odznaka jest już aktywna. Twoja nazwa pojawi się na ścianie Operators, gdy ją sprawdzimy."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Nie udało się wczytać twoich odznak."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po b/fluxer_app/src/features/i18n/locales/pt-BR/messages.poindex 41aa76c97..bdbeb8c91 100644--- a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po+++ b/fluxer_app/src/features/i18n/locales/pt-BR/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, argumento obrigatório do tipo {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} processa pagamentos com segurança."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Privacidade do selo {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Códigos de recuperação"msgid "Backup codes regenerated"msgstr "Códigos de recuperação gerados novamente"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Selo"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Selos"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Escolha para onde as mensagens publicadas devem ir. Você pode deixar demsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Escolha se pessoas que compartilham uma comunidade com você podem enviar mensagens diretas sem serem seus amigos primeiro."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Escolha quais selos outras pessoas veem no seu perfil."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Comparação"msgid "Complete payment"msgstr "Concluir pagamento"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Ocultar completamente seu selo {premiumProductName} de outros usuários"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Configure sua câmera, qualidade de compartilhamento de tela, prévias emsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Configure seu microfone, alto-falantes, modo de entrada, processamento e sons de voz."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Configurar seu selo de perfil"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Confirme seu e-mail antes de mudar seu apelido da comunidade, avatar, ba#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Confirme seu e-mail antes de alterar seu nome de usuário, nome de exibição, avatar, banner, biografia, pronomes, fuso horário ou privacidade do selo {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Confirme seu e-mail antes de alterar seu nome de usuário, nome de exibição, avatar, banner, biografia, pronomes, fuso horário ou selos."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Controle como as imagens HDR são exibidas em monitores compatíveis commsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Controle como mídias sensíveis ou de conteúdo adulto são filtradas em diferentes contextos."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Controle como seu selo {premiumProductName} é exibido para outras pessoas"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Editar informações básicas do aplicativo e URIs de redirecionamento"msgid "Edit attachment"msgstr "Editar anexo"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Editar selos"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Ocultar"msgid "Hide {appName}"msgstr "Ocultar {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Ocultar o selo {premiumProductName} completamente"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Ocultar data de compra do {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Ocultar data de compra do {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Ocultar diretrizes"msgid "Hide help center button"msgstr "Ocultar botão da central de ajuda"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Ocultar quantos Operator Pass você tem"@@ -18678,18 +18658,8 @@ msgstr "Ocultar a janela ao minimizar e reabrir pela bandeja"msgid "Hide user avatars"msgstr "Ocultar fotos de perfil"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Ocultar selo de ID Visionary"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Ocultar selo de ID Visionary ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Ocultar quando você conseguiu seu {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Mascarar detalhes de conta privados, como e-mail, contas vinculadas e nomsgid "Mask private details before sharing your screen or stream."msgstr "Mascarar detalhes privados antes de compartilhar sua tela ou transmissão."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Exibir Visionary como assinatura"@@ -26174,11 +26144,6 @@ msgstr "Propostas de Operator Pass"msgid "Operator Pass purchase"msgstr "Compra do Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass desde {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Prefere movimento reduzido"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Selo premium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Remover suspensão temporária"msgid "Remove translator"msgstr "Remover tradutor"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Remover do selo a data da sua primeira compra do {premiumProductName}"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Remover seu selo de ID Visionary"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Mostrar"msgid "Show {appName}"msgstr "Mostrar {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Mostrar {badgeLabel} no seu perfil"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Mostrar atividade em outras contas"msgid "Show attachment expiration indicator"msgstr "Mostrar indicador de expiração de anexo"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Mostrar selo no meu perfil"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Mostrar o avatar do seu perfil global nesta comunidade"msgid "Show your global profile banner in this community"msgstr "Mostrar seu banner de perfil global nesta comunidade"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Mostrar sua assinatura Visionary como uma assinatura comum"@@ -33420,6 +33375,11 @@ msgstr "Mostrado nas prévias de convites no chat."msgid "Shown on every post so people can react with one click."msgstr "Exibido em cada postagem para que as pessoas possam reagir com um clique."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Só aparece quando seu selo Visionary está visível e não é exibido como assinatura."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Você ainda não tem um kit de recuperação"msgid "You don't have access to any channels in this community."msgstr "Você não tem acesso a nenhum canal nesta comunidade."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Você ainda não tem selos."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Seu selo já está ativo. Confira sua presença no mural nas configuraçmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Seu selo já está ativo. Seu nome aparece no mural de Operators depois que o verificarmos."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Não foi possível carregar seus selos."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/ro/messages.po b/fluxer_app/src/features/i18n/locales/ro/messages.poindex 67787200e..6f6123321 100644--- a/fluxer_app/src/features/i18n/locales/ro/messages.po+++ b/fluxer_app/src/features/i18n/locales/ro/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, opțiune obligatorie de tip {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} procesează plățile în siguranță."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Confidențialitatea insignei {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Coduri de rezervă"msgid "Backup codes regenerated"msgstr "Codurile de rezervă au fost regenerate"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Insignă"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Insigne"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Alege unde să fie publicate mesajele. Poți renunța oricând la urmărmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Alege dacă persoanele care au o comunitate în comun cu tine îți pot trimite mesaje directe fără a fi prieteni mai întâi."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Alege ce insigne văd ceilalți pe profilul tău."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Comparație"msgid "Complete payment"msgstr "Finalizează plata"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Ascunde complet insigna {premiumProductName} față de ceilalți utilizatori"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Configurează-ți camera, calitatea partajării ecranului, previzualizămsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Configurează-ți microfonul, difuzoarele, modul de intrare, procesarea și sunetele vocale."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Configurează-ți insigna de profil"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Confirmă-ți adresa de e-mail înainte de a-ți schimba pseudonimul din#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Confirmă-ți adresa de e-mail înainte de a-ți schimba numele de utilizator, numele afișat, avatarul, bannerul, biografia, pronumele, fusul orar sau confidențialitatea insignei {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Confirmă-ți adresa de e-mail înainte de a-ți schimba numele de utilizator, numele afișat, avatarul, bannerul, biografia, pronumele, fusul orar sau insignele."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Controlează cum sunt afișate imaginile HDR pe monitoarele compatibilemsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Controlează modul în care conținutul matur sau sensibil este filtrat în diferite contexte."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Controlează cum este afișată insigna ta {premiumProductName} celorlalți"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Editează elementele de bază ale aplicației și URI-urile de redirecțmsgid "Edit attachment"msgstr "Editează atașamentul"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Editează insignele"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Ascunde"msgid "Hide {appName}"msgstr "Ascunde {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Ascunde complet insigna {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Ascunde data achiziției {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Ascunde data achiziției {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Ascunde ghidurile"msgid "Hide help center button"msgstr "Ascunde butonul centrului de ajutor"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Ascunde câte Operator Pass-uri ai"@@ -18678,18 +18658,8 @@ msgstr "Ascunde fereastra când este minimizată și redeschide-o din bara de simsgid "Hide user avatars"msgstr "Ascunde avatarele utilizatorilor"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Ascunde insigna cu ID-ul Visionary"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Ascunde insigna cu ID-ul Visionary ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Ascunde când ai primit {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Maschează detaliile private ale contului, cum ar fi e-mailul, conturilemsgid "Mask private details before sharing your screen or stream."msgstr "Maschează detaliile private înainte de a partaja ecranul sau streamul."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Maschează Visionary ca abonament"@@ -26174,11 +26144,6 @@ msgstr "Oferte de Operator Pass"msgid "Operator Pass purchase"msgstr "Achiziție Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass din {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Preferă mișcarea redusă"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Insignă Premium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Elimină timeoutul"msgid "Remove translator"msgstr "Elimină traducătorul"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Elimină data la care ai cumpărat {premiumProductName} de pe insignă"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Elimină-ți insigna ID vizionar"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Afișare"msgid "Show {appName}"msgstr "Afișează {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Afișează {badgeLabel} pe profilul tău"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Afișează activitatea pe alte conturi"msgid "Show attachment expiration indicator"msgstr "Afișează indicatorul de expirare a atașamentelor"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Afișează insigna în profilul meu"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Afișează-ți avatarul de profil global în această comunitate"msgid "Show your global profile banner in this community"msgstr "Afișează-ți bannerul de profil global în această comunitate"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Afișează-ți abonamentul Visionary ca un abonament obișnuit"@@ -33420,6 +33375,11 @@ msgstr "Afișat în încorporările de invitație din chat."msgid "Shown on every post so people can react with one click."msgstr "Afișat la fiecare postare, pentru ca oamenii să poată reacționa cu un singur clic."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Apare doar când insigna ta Visionary este vizibilă și nu este mascată ca abonament."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Nu ai încă un kit de recuperare"msgid "You don't have access to any channels in this community."msgstr "Nu ai acces la niciun canal din această comunitate."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Încă nu ai nicio insignă."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Insigna ta este activă. Verifică-ți înscrierea de pe perete în setmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Insigna ta este activă. Numele tău apare pe peretele Operators după ce îl verificăm."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Insignele tale nu au putut fi încărcate."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/ru/messages.po b/fluxer_app/src/features/i18n/locales/ru/messages.poindex 2a74d2221..67da13a4f 100644--- a/fluxer_app/src/features/i18n/locales/ru/messages.po+++ b/fluxer_app/src/features/i18n/locales/ru/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, обязательный параметр типа {optionmsgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} безопасно обрабатывает платежи."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Конфиденциальность значка {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Резервные коды"msgid "Backup codes regenerated"msgstr "Резервные коды обновлены"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Значок"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Значки"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Выберите, куда будут публиковаться сооmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Выберите, могут ли люди, состоящие в том же сообществе, что и вы, отправлять вам личные сообщения до того, как вы станете друзьями."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Выберите, какие значки другие видят в вашем профиле."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Сравнение"msgid "Complete payment"msgstr "Завершить оплату"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Полностью скрыть значок {premiumProductName} от других пользователей"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Настройте камеру, качество демонстрациmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Настройте микрофон, динамики, режим ввода, обработку и звуки голоса."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Настроить значок профиля"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Подтвердите эл. почту, прежде чем менят#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Подтвердите эл. почту, прежде чем менять имя пользователя, отображаемое имя, аватар, баннер, описание, местоимения, часовой пояс или настройки конфиденциальности значка {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Подтвердите эл. почту, прежде чем менять имя пользователя, отображаемое имя, аватар, баннер, описание, местоимения, часовой пояс или значки."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Настройте отображение HDR-изображений нmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Настройте фильтрацию контента 18+ и деликатных медиа в разных разделах."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Настройте отображение значка {premiumProductName} для других пользователей"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Изменить основные данные приложения и Umsgid "Edit attachment"msgstr "Изменить вложение"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Изменить значки"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Скрыть"msgid "Hide {appName}"msgstr "Скрыть {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Полностью скрыть значок {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Скрыть дату покупки {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Скрыть дату покупки {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Скрыть правила"msgid "Hide help center button"msgstr "Скрыть кнопку справочного центра"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Скрывать, сколько у вас пропусков Operator Pass"@@ -18678,18 +18658,8 @@ msgstr "Скрывать окно при сворачивании и открыmsgid "Hide user avatars"msgstr "Скрывать аватары пользователей"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Скрыть значок Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Скрыть значок Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Скрывать, когда вы получили {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Скрывать личные данные аккаунта, такиеmsgid "Mask private details before sharing your screen or stream."msgstr "Скрывать личные данные при демонстрации экрана или трансляции."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Маскировать Visionary под подписку"@@ -26174,11 +26144,6 @@ msgstr "Предложения Operator Pass"msgid "Operator Pass purchase"msgstr "Покупка Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass с {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Уменьшение движения"msgid "Premium"msgstr "Премиум"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Значок премиум"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Снять тайм-аут"msgid "Remove translator"msgstr "Удалить переводчик"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Удалить из значка дату первой покупки {premiumProductName}"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Удалить значок Visionary ID"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Показывать"msgid "Show {appName}"msgstr "Показать {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Показывать {badgeLabel} в вашем профиле"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Показать активность в других аккаунтахmsgid "Show attachment expiration indicator"msgstr "Показывать индикатор срока действия вложений"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Показывать значок в моем профиле"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Показывать аватар глобального профиляmsgid "Show your global profile banner in this community"msgstr "Показывать баннер глобального профиля в этом сообществе"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Показывать Visionary как обычную подписку"@@ -33420,6 +33375,11 @@ msgstr "Отображается в карточке приглашения вmsgid "Shown on every post so people can react with one click."msgstr "Отображается под каждым сообщением, чтобы люди могли отреагировать одним кликом."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Показывается, только когда ваш значок Visionary виден и не замаскирован под подписку."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "У вас еще нет комплекта восстановления"msgid "You don't have access to any channels in this community."msgstr "У вас нет доступа ни к одному каналу в этом сообществе."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "У вас пока нет значков."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Ваш значок уже виден. Проверьте записьmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Ваш значок уже виден. Ваше имя появится на стене Operators после нашей проверки."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Не удалось загрузить ваши значки."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po b/fluxer_app/src/features/i18n/locales/sv-SE/messages.poindex 114db8a73..1b024065b 100644--- a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po+++ b/fluxer_app/src/features/i18n/locales/sv-SE/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, obligatoriskt alternativ av typen {optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} hanterar betalningar säkert."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Synlighet för ditt {premiumProductName}-märke"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Reservkoder"msgid "Backup codes regenerated"msgstr "Reservkoder har återskapats"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Märke"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Märken"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Välj vart dess publicerade meddelanden ska skickas. Du kan när som helmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Välj om personer som delar en community med dig kan skicka direktmeddelanden till dig utan att vara vänner först."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Välj vilka märken andra ser på din profil."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Jämförelse"msgid "Complete payment"msgstr "Slutför betalning"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Dölj ditt {premiumProductName}-märke helt för andra användare"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Konfigurera kamera, skärmdelningskvalitet, förhandsvisningar och bildfmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Konfigurera mikrofon, högtalare, inmatningsläge, bearbetning och röstljud."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Konfigurera ditt profilmärke"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Bekräfta din e-postadress innan du ändrar ditt smeknamn, din avatar, b#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Bekräfta din e-postadress innan du ändrar ditt användarnamn, visningsnamn, din avatar, banner, presentation, dina pronomen, din tidszon eller sekretessen för ditt {premiumProductName}-märke."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Bekräfta din e-postadress innan du ändrar ditt användarnamn, visningsnamn, din avatar, banner, presentation, dina pronomen, din tidszon eller dina märken."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Styr hur HDR-bilder visas på skärmar med HDR-stöd."msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Styr hur medier med vuxet eller känsligt innehåll filtreras i olika sammanhang."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Styr hur ditt {premiumProductName}-märke visas för andra"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Redigera appens grundinställningar och omdirigerings-URI:er"msgid "Edit attachment"msgstr "Redigera bilaga"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Redigera märken"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Dölj"msgid "Hide {appName}"msgstr "Dölj {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Dölj {premiumProductName}-märket helt"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Dölj inköpsdatum för {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Dölj inköpsdatum för {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Dölj riktlinjer"msgid "Hide help center button"msgstr "Dölj hjälpcenterknappen"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Dölj hur många Operator Pass du har"@@ -18678,18 +18658,8 @@ msgstr "Dölj fönstret när det minimeras och öppna det igen från meddelandefmsgid "Hide user avatars"msgstr "Dölj användarprofilbilder"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Dölj märket för Visionary-ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Dölj märket för Visionary-ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Dölj när du fick ditt {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Maskera privata kontouppgifter som e-post, länkade konton och anteckninmsgid "Mask private details before sharing your screen or stream."msgstr "Maskera privata uppgifter innan du delar din skärm eller sänder."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Visa Visionary som ett abonnemang"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass-erbjudanden"msgid "Operator Pass purchase"msgstr "Köp av Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass sedan {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Föredrar minskad rörelse"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Premiummärke"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Ta bort timeout"msgid "Remove translator"msgstr "Ta bort översättare"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Dölj datumet för ditt första köp av {premiumProductName} på märket"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Ta bort ditt märke för Visionary-ID"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Visa"msgid "Show {appName}"msgstr "Visa {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Visa {badgeLabel} på din profil"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Visa aktivitet på andra konton"msgid "Show attachment expiration indicator"msgstr "Visa indikator för bilagors utgångsdatum"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Visa märke på min profil"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Visa din globala profilavatar i den här communityn"msgid "Show your global profile banner in this community"msgstr "Visa din globala profilbanner i den här communityn"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Visa ditt Visionary som ett vanligt abonnemang i stället"@@ -33420,6 +33375,11 @@ msgstr "Visas i inbäddade inbjudningar i chatten."msgid "Shown on every post so people can react with one click."msgstr "Visas på varje inlägg så att folk kan reagera med ett klick."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Visas bara när ditt Visionary-märke syns och inte visas som ett abonnemang."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Du har ingen återställningskit än"msgid "You don't have access to any channels in this community."msgstr "Du har inte åtkomst till några kanaler i den här communityn."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Du har inga märken än."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Ditt märke är aktivt. Kontrollera din plats på väggen i inställningmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Ditt märke är aktivt. Ditt namn visas på Operators-väggen när vi har granskat det."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Dina märken kunde inte läsas in."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/th/messages.po b/fluxer_app/src/features/i18n/locales/th/messages.poindex 0fbcbe392..c74c1f0ca 100644--- a/fluxer_app/src/features/i18n/locales/th/messages.po+++ b/fluxer_app/src/features/i18n/locales/th/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName} ตัวเลือกแบบ {optionType} ที่ตmsgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} จัดการการชำระเงินอย่างปลอดภัย"-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "ความเป็นส่วนตัวของป้าย {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,9 +6097,9 @@ msgstr "รหัสสำรอง"msgid "Backup codes regenerated"msgstr "สร้างรหัสสำรองใหม่แล้ว"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"msgstr "ป้าย"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.@@ -8492,6 +8487,11 @@ msgstr "เลือกปลายทางสำหรับข้อควาmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "เลือกว่าผู้คนที่อยู่ในชุมชนเดียวกันกับคุณจะสามารถส่งข้อความส่วนตัวถึงคุณได้หรือไม่ โดยไม่ต้องเป็นเพื่อนกันก่อน"+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "เลือกป้ายที่คนอื่นจะเห็นบนโปรไฟล์ของคุณ"+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "เปรียบเทียบ"msgid "Complete payment"msgstr "ชำระเงินให้เสร็จสมบูรณ์"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "ซ่อนป้าย {premiumProductName} ของคุณจากผู้ใช้คนอื่นโดยสมบูรณ์"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "ตั้งค่ากล้อง คุณภาพการแชmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "ตั้งค่าไมโครโฟน ลำโพง โหมดอินพุต การประมวลผล และเสียงประกอบในช่องเสียง"-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "ตั้งค่าป้ายโปรไฟล์"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "ยืนยันอีเมลของคุณก่อนเปล#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "ยืนยันอีเมลของคุณก่อนเปลี่ยนชื่อผู้ใช้ ชื่อที่แสดง รูปโปรไฟล์ แบนเนอร์ ประวัติส่วนตัว คำสรรพนาม เขตเวลา หรือความเป็นส่วนตัวของป้าย {premiumProductName}"+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "ยืนยันอีเมลของคุณก่อนเปลี่ยนชื่อผู้ใช้ ชื่อที่แสดง รูปโปรไฟล์ แบนเนอร์ ประวัติส่วนตัว คำสรรพนาม เขตเวลา หรือป้าย"#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "ควบคุมการแสดงภาพ HDR บนจอภาmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "ควบคุมการกรองเนื้อหาที่ละเอียดอ่อนหรือเนื้อหาสำหรับผู้ใหญ่ในบริบทต่างๆ"-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "ควบคุมการแสดงป้าย {premiumProductName} ของคุณให้ผู้อื่นเห็น"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "แก้ไขข้อมูลพื้นฐานแอปและmsgid "Edit attachment"msgstr "แก้ไขไฟล์แนบ"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "แก้ไขป้าย"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "ซ่อน"msgid "Hide {appName}"msgstr "ซ่อน {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "ซ่อนป้าย {premiumProductName} ทั้งหมด"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "ซ่อนวันที่ซื้อ {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "ซ่อนวันที่ซื้อ {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "ซ่อนแนวทาง"msgid "Hide help center button"msgstr "ซ่อนปุ่มศูนย์ช่วยเหลือ"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "ซ่อนจำนวน Operator Pass ที่คุณมี"@@ -18678,18 +18658,8 @@ msgstr "ซ่อนหน้าต่างเมื่อย่อขนาดmsgid "Hide user avatars"msgstr "ซ่อนรูปโปรไฟล์ผู้ใช้"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "ซ่อนป้าย Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "ซ่อนป้าย Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "ซ่อนวันที่คุณได้รับ {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "ซ่อนรายละเอียดบัญชีส่วนตmsgid "Mask private details before sharing your screen or stream."msgstr "ซ่อนรายละเอียดส่วนตัวก่อนแชร์หน้าจอหรือสตรีมของคุณ"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "แสดง Visionary เป็นการสมัครสมาชิกทั่วไป"@@ -26174,11 +26144,6 @@ msgstr "ข้อเสนอ Operator Pass"msgid "Operator Pass purchase"msgstr "การซื้อ Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass ตั้งแต่ {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "ลดการเคลื่อนไหว"msgid "Premium"msgstr "พรีเมียม"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "ป้ายพรีเมียม"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "ยกเลิกการพักการใช้งานชั่msgid "Remove translator"msgstr "ลบเครื่องมือแปลภาษา"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "นำวันที่คุณซื้อ {premiumProductName} ครั้งแรกออกจากป้ายของคุณ"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "นำป้าย Visionary ID ออก"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "แสดง"msgid "Show {appName}"msgstr "แสดง {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "แสดง {badgeLabel} บนโปรไฟล์ของคุณ"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "แสดงกิจกรรมในบัญชีอื่น"msgid "Show attachment expiration indicator"msgstr "แสดงตัวบ่งชี้วันหมดอายุของไฟล์แนบ"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "แสดงป้ายบนโปรไฟล์ของฉัน"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "แสดงรูปโปรไฟล์ส่วนกลางขอmsgid "Show your global profile banner in this community"msgstr "แสดงแบนเนอร์โปรไฟล์ส่วนกลางของคุณในคอมมูนิตี้นี้"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "แสดง Visionary เป็นการสมัครสมาชิกปกติแทน"@@ -33420,6 +33375,11 @@ msgstr "แสดงในเนื้อหาคำเชิญที่ฝัmsgid "Shown on every post so people can react with one click."msgstr "แสดงในทุกโพสต์เพื่อให้ผู้คนสามารถแสดงความคิดเห็นได้ในคลิกเดียว"+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "จะแสดงเฉพาะเมื่อป้าย Visionary ของคุณมองเห็นได้และไม่ได้แสดงเป็นการสมัครสมาชิกทั่วไป"+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "คุณยังไม่มีชุดกู้คืน"msgid "You don't have access to any channels in this community."msgstr "คุณไม่มีสิทธิ์เข้าถึงช่องใดๆ ในคอมมูนิตี้นี้"+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "คุณยังไม่มีป้ายใดๆ"+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "ป้ายของคุณแสดงแล้ว ตรวจสmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "ป้ายของคุณแสดงแล้ว ชื่อของคุณจะแสดงบนกำแพง Operators เมื่อเราตรวจสอบแล้ว"+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "โหลดป้ายของคุณไม่ได้"+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/tr/messages.po b/fluxer_app/src/features/i18n/locales/tr/messages.poindex 5d3e2aa1d..620d5d7b5 100644--- a/fluxer_app/src/features/i18n/locales/tr/messages.po+++ b/fluxer_app/src/features/i18n/locales/tr/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, zorunlu {optionType} seçeneği"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} ödemeleri güvenli bir şekilde işler."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName} rozeti gizliliği"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Yedek kodlar"msgid "Backup codes regenerated"msgstr "Yedek kodlar yenilendi"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Rozet"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Rozetler"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Yayınlanan iletilerinin nereye gideceğini seçin. İstediğin zaman Tomsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Seninle aynı topluluğu paylaşan kişilerin arkadaş olmasalar bile sana doğrudan mesaj gönderip gönderemeyeceğini seç."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Profilinizde başkalarının hangi rozetleri göreceğini seçin."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Karşılaştırma"msgid "Complete payment"msgstr "Ödemeyi tamamla"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "{premiumProductName} rozetinizi diğer kullanıcılardan tamamen gizleyin"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Kameranızı, ekran paylaşım kalitenizi, önizlemelerinizi ve kare hımsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Mikrofonunuzu, hoparlörlerinizi, giriş modunuzu, işlemeyi ve ses efektlerinizi yapılandırın."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Profil rozetinizi yapılandırın"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Topluluk takma adınızı, avatarınızı, banner'ınızı, biyografiniz#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Kullanıcı adınızı, görünen adınızı, avatarınızı, banner'ınızı, biyografinizi, zamirlerinizi, saat diliminizi veya {premiumProductName} rozeti gizliliğinizi değiştirmeden önce e-posta adresinizi onaylayın."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Kullanıcı adınızı, görünen adınızı, avatarınızı, banner'ınızı, biyografinizi, zamirlerinizi, saat diliminizi veya rozetlerinizi değiştirmeden önce e-posta adresinizi onaylayın."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "HDR görüntülerinin HDR özellikli monitörlerde nasıl görüntülenemsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Hassas veya yetişkinlere yönelik medyaların farklı bağlamlarda nasıl filtreleneceğini kontrol edin."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "{premiumProductName} rozetinizin başkalarına nasıl gösterileceğini kontrol edin"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Uygulama temel bilgilerini ve yönlendirme URI'lerini düzenle"msgid "Edit attachment"msgstr "Eki düzenle"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Rozetleri düzenle"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Gizle"msgid "Hide {appName}"msgstr "{appName} uygulamasını gizle"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "{premiumProductName} rozetini tamamen gizle"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "{premiumProductName} satın alma tarihini gizle"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "{premiumProductName} satın alma tarihini ({dateUtilsGetFormattedShortDatePremiumSince}) gizle"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Yönergeleri gizle"msgid "Hide help center button"msgstr "Yardım merkezi düğmesini gizle"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Operator Pass sayısını gizle"@@ -18678,18 +18658,8 @@ msgstr "Küçültüldüğünde pencereyi gizle ve tepsiden yeniden aç"msgid "Hide user avatars"msgstr "Kullanıcı avatarlarını gizle"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Visionary kimlik rozetini gizle"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Visionary kimlik rozetini gizle ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "{operatorPassName} alma tarihini gizle"@@ -21976,8 +21946,8 @@ msgstr "E-posta, bağlı hesaplar ve notlar gibi özel hesap ayrıntılarını mmsgid "Mask private details before sharing your screen or stream."msgstr "Ekranınızı veya yayınınızı paylaşmadan önce özel ayrıntıları maskeleyin."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Visionary'yi abonelik olarak maskele"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass teklifleri"msgid "Operator Pass purchase"msgstr "Operator Pass satın alımı"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "{since} tarihinden beri Operator Pass"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Hareket azaltmayı tercih eder"msgid "Premium"msgstr "Premium"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Premium rozeti"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Zaman aşımını kaldır"msgid "Remove translator"msgstr "Çevirmeni kaldır"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "{premiumProductName} satın alma tarihinizi rozetinizden kaldırın"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Visionary kimlik rozetinizi kaldırın"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Göster"msgid "Show {appName}"msgstr "{appName} uygulamasını göster"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Profilinizde {badgeLabel} göster"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Diğer hesaplardaki etkinliği göster"msgid "Show attachment expiration indicator"msgstr "Ek sona erme göstergesini göster"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Profilimde rozeti göster"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Genel profil avatarınızı bu toplulukta gösterin"msgid "Show your global profile banner in this community"msgstr "Genel profil banner'ınızı bu toplulukta gösterin"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Visionary rozetini normal abonelik olarak göster"@@ -33420,6 +33375,11 @@ msgstr "Sohbetteki davet gömülü içeriklerinde gösterilir."msgid "Shown on every post so people can react with one click."msgstr "Her gönderide gösterilir, böylece insanlar tek tıklamayla tepki verebilir."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Yalnızca Visionary rozetiniz görünür olduğunda ve abonelik olarak maskelenmediğinde gösterilir."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Henüz bir kurtarma kitiniz yok"msgid "You don't have access to any channels in this community."msgstr "Bu topluluktaki hiçbir kanala erişiminiz yok."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Henüz hiç rozetiniz yok."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Rozetiniz yayında. Duvar kaydınızı ayarlardan kontrol edin."msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Rozetiniz yayında. Adınız, kontrol ettikten sonra Operators duvarında görünür."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Rozetleriniz yüklenemedi."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/uk/messages.po b/fluxer_app/src/features/i18n/locales/uk/messages.poindex e2eb161c7..9afedf4ef 100644--- a/fluxer_app/src/features/i18n/locales/uk/messages.po+++ b/fluxer_app/src/features/i18n/locales/uk/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, обов'язковий параметр типу {optionTmsgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} безпечно обробляє платежі."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Конфіденційність значка {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,10 +6097,10 @@ msgstr "Резервні коди"msgid "Backup codes regenerated"msgstr "Резервні коди оновлено"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"-msgstr "Значок"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"+msgstr "Значки"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.#: src/features/moderation/utils/ModerationMessageDescriptors.ts@@ -8492,6 +8487,11 @@ msgstr "Виберіть, куди надсилатимуться опублікmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Виберіть, чи можуть люди, які мають спільну спільноту з вами, надсилати вам прямі повідомлення, не будучи спочатку друзями."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Виберіть, які значки інші бачать у вашому профілі."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "Порівняння"msgid "Complete payment"msgstr "Завершити оплату"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Повністю приховати свій значок {premiumProductName} від інших користувачів"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Налаштуйте камеру, якість демонстраціїmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Налаштуйте мікрофон, динаміки, режим введення, обробку та звуки голосу."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Налаштуйте свій значок профілю"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Підтвердьте свою електронну пошту, пер#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Підтвердьте свою електронну пошту, перш ніж змінювати ім'я користувача, ім'я для відображення, аватар, банер, біографію, займенники, часовий пояс або конфіденційність значка {premiumProductName}."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Підтвердьте свою електронну пошту, перш ніж змінювати ім'я користувача, ім'я для відображення, аватар, банер, біографію, займенники, часовий пояс або значки."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Керуйте відображенням HDR-зображень на мmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Керуйте фільтрацією медіафайлів для дорослих або з чутливим вмістом у різних контекстах."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Керуйте тим, як ваш значок {premiumProductName} відображається іншим"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Редагувати основні дані застосунку та Umsgid "Edit attachment"msgstr "Редагувати вкладення"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Редагувати значки"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Сховати"msgid "Hide {appName}"msgstr "Сховати {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Повністю приховати значок {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Приховати дату придбання {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Приховати дату придбання {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Приховати правила"msgid "Hide help center button"msgstr "Сховати кнопку довідкового центру"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Приховати, скільки у вас пропусків Operator Pass"@@ -18678,18 +18658,8 @@ msgstr "Приховувати вікно під час згортання таmsgid "Hide user avatars"msgstr "Сховати аватари користувачів"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Сховати значок Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Сховати значок Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Приховати, коли ви отримали {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Приховати особисті дані облікового запmsgid "Mask private details before sharing your screen or stream."msgstr "Приховати особисті дані перед демонстрацією екрана або трансляцією."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Маскувати Visionary як підписку"@@ -26174,11 +26144,6 @@ msgstr "Пропозиції Operator Pass"msgid "Operator Pass purchase"msgstr "Придбання Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass з {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Віддає перевагу зменшеному руху"msgid "Premium"msgstr "Преміум"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Значок преміуму"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Зняти тайм-аут"msgid "Remove translator"msgstr "Видалити перекладач"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Видалити дату першої покупки {premiumProductName} зі свого значка"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Видалити значок Visionary ID"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Показувати"msgid "Show {appName}"msgstr "Показати {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Показувати {badgeLabel} у вашому профілі"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Показати активність в інших обліковихmsgid "Show attachment expiration indicator"msgstr "Показувати індикатор закінчення терміну дії вкладення"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Показувати значок у моєму профілі"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Показувати аватар глобального профілюmsgid "Show your global profile banner in this community"msgstr "Показувати банер глобального профілю в цій спільноті"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Натомість показувати Visionary як звичайну підписку"@@ -33420,6 +33375,11 @@ msgstr "Відображається у вбудованих запрошеннmsgid "Shown on every post so people can react with one click."msgstr "Відображається під кожним дописом, щоб люди могли реагувати одним кліком."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Показується, лише коли ваш значок Visionary видимий і не замаскований під підписку."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "У вас ще немає комплекту для відновленнmsgid "You don't have access to any channels in this community."msgstr "У вас немає доступу до жодного каналу в цій спільноті."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "У вас поки немає значків."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Ваш значок активний. Перевірте свій запmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Ваш значок активний. Ваше ім'я з'явиться на стіні Operators після нашої перевірки."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Не вдалося завантажити ваші значки."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/vi/messages.po b/fluxer_app/src/features/i18n/locales/vi/messages.poindex bd75543b5..cfefa6134 100644--- a/fluxer_app/src/features/i18n/locales/vi/messages.po+++ b/fluxer_app/src/features/i18n/locales/vi/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName}, tham số {optionType} bắt buộc"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} xử lý thanh toán một cách bảo mật."-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "Quyền riêng tư của huy hiệu {premiumProductName}"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,9 +6097,9 @@ msgstr "Mã dự phòng"msgid "Backup codes regenerated"msgstr "Đã tạo lại mã dự phòng"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"msgstr "Huy hiệu"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.@@ -8492,6 +8487,11 @@ msgstr "Chọn nơi đăng tin nhắn của nó. Bạn có thể bỏ theo dõimsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "Chọn xem những người dùng chung cộng đồng với bạn có thể gửi tin nhắn trực tiếp cho bạn mà không cần kết bạn trước hay không."+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "Chọn những huy hiệu người khác thấy trên hồ sơ của bạn."+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "So sánh"msgid "Complete payment"msgstr "Hoàn tất thanh toán"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "Ẩn hoàn toàn huy hiệu {premiumProductName} của bạn với những người dùng khác"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "Cấu hình camera, chất lượng chia sẻ màn hình, bản xem trưmsgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "Cấu hình micrô, loa, chế độ nhập, xử lý và âm thanh giọng nói của bạn."-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "Cấu hình huy hiệu hồ sơ của bạn"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "Xác nhận email của bạn trước khi thay đổi biệt danh cộn#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "Xác nhận email của bạn trước khi thay đổi tên người dùng, tên hiển thị, ảnh đại diện, ảnh bìa, tiểu sử, đại từ, múi giờ hoặc quyền riêng tư huy hiệu {premiumProductName} của bạn."+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "Xác nhận email của bạn trước khi thay đổi tên người dùng, tên hiển thị, ảnh đại diện, ảnh bìa, tiểu sử, đại từ, múi giờ hoặc huy hiệu."#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "Kiểm soát cách hiển thị hình ảnh HDR trên màn hình có hmsgid "Control how mature or sensitive media is filtered in different contexts."msgstr "Kiểm soát cách lọc nội dung người lớn hoặc nhạy cảm trong các ngữ cảnh khác nhau."-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "Kiểm soát cách hiển thị huy hiệu {premiumProductName} của bạn với người khác"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "Chỉnh sửa thông tin cơ bản và URI chuyển hướng của ứngmsgid "Edit attachment"msgstr "Chỉnh sửa tệp đính kèm"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "Chỉnh sửa huy hiệu"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "Ẩn"msgid "Hide {appName}"msgstr "Ẩn {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "Ẩn hoàn toàn huy hiệu {premiumProductName}"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "Ẩn ngày mua {premiumProductName}"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "Ẩn ngày mua {premiumProductName} ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "Ẩn hướng dẫn"msgid "Hide help center button"msgstr "Ẩn nút trung tâm trợ giúp"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "Ẩn số lượng Operator Pass bạn có"@@ -18678,18 +18658,8 @@ msgstr "Ẩn cửa sổ khi thu nhỏ và mở lại từ khay hệ thống"msgid "Hide user avatars"msgstr "Ẩn ảnh đại diện người dùng"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "Ẩn huy hiệu Visionary ID"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "Ẩn huy hiệu Visionary ID ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "Ẩn thời điểm bạn có {operatorPassName}"@@ -21976,8 +21946,8 @@ msgstr "Che giấu thông tin tài khoản riêng tư như email, tài khoảnmsgid "Mask private details before sharing your screen or stream."msgstr "Che giấu thông tin cá nhân trước khi chia sẻ màn hình hoặc phát trực tiếp."-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "Hiển thị Visionary dưới dạng gói đăng ký"@@ -26174,11 +26144,6 @@ msgstr "Lời đề nghị chuyển Operator Pass"msgid "Operator Pass purchase"msgstr "Giao dịch mua Operator Pass"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "Operator Pass từ {since}"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "Ưu tiên giảm chuyển động"msgid "Premium"msgstr "Cao cấp"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "Huy hiệu Premium"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "Gỡ tạm dừng"msgid "Remove translator"msgstr "Xóa trình dịch"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "Xóa ngày bạn mua {premiumProductName} lần đầu khỏi huy hiệu"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "Gỡ huy hiệu Visionary ID của bạn"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "Hiển thị"msgid "Show {appName}"msgstr "Hiện {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "Hiển thị {badgeLabel} trên hồ sơ của bạn"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "Hiển thị hoạt động trên các tài khoản khác"msgid "Show attachment expiration indicator"msgstr "Hiển thị chỉ báo hết hạn tệp đính kèm"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "Hiển thị huy hiệu trên hồ sơ của tôi"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "Hiển thị ảnh đại diện hồ sơ chung của bạn trong cộngmsgid "Show your global profile banner in this community"msgstr "Hiển thị ảnh bìa hồ sơ chung của bạn trong cộng đồng này"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "Hiển thị Visionary của bạn dưới dạng gói đăng ký thông thường"@@ -33420,6 +33375,11 @@ msgstr "Hiển thị trong nội dung nhúng lời mời ở cuộc trò chuyệmsgid "Shown on every post so people can react with one click."msgstr "Hiển thị trên mỗi bài đăng để mọi người có thể phản hồi chỉ bằng một cú nhấp chuột."+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "Chỉ hiển thị khi huy hiệu Visionary của bạn đang hiện và không hiển thị dưới dạng gói đăng ký."+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "Bạn chưa có bộ công cụ khôi phục"msgid "You don't have access to any channels in this community."msgstr "Bạn không có quyền truy cập vào bất kỳ kênh nào trong cộng đồng này."+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "Bạn chưa có huy hiệu nào."+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "Huy hiệu của bạn đã hiển thị. Hãy kiểm tra mục trên bmsgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "Huy hiệu của bạn đã hiển thị. Tên của bạn sẽ hiển thị trên bức tường Operators sau khi chúng tôi kiểm tra."+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "Không thể tải huy hiệu của bạn."+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po b/fluxer_app/src/features/i18n/locales/zh-CN/messages.poindex 3c707377b..94c787068 100644--- a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po+++ b/fluxer_app/src/features/i18n/locales/zh-CN/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName},必填参数,类型:{optionType}"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} 安全地处理付款。"-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName} 徽章隐私"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,9 +6097,9 @@ msgstr "备用码"msgid "Backup codes regenerated"msgstr "备用码已重新生成"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"msgstr "徽章"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.@@ -8492,6 +8487,11 @@ msgstr "选择要发布消息的目的地。你随时可以在社区设置 → Wmsgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "选择是否允许与您在同一社区中的用户在您未成为好友的情况下直接给您发送消息。"+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "选择其他人在你的个人资料中能看到哪些徽章。"+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "比较"msgid "Complete payment"msgstr "完成支付"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "对其他用户完全隐藏你的 {premiumProductName} 徽章"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "配置你的摄像头、屏幕共享画质、预览和帧率。"msgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "配置麦克风、扬声器、输入模式、音频处理和语音提示音。"-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "配置你的个人资料徽章"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "请先确认邮箱,再修改社区昵称、头像、横幅、个人简#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "请先确认你的邮箱,然后才能更改用户名、显示名称、头像、横幅、个人简介、代词、时区或 {premiumProductName} 徽章隐私设置。"+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "请先确认你的邮箱,然后才能更改用户名、显示名称、头像、横幅、个人简介、代词、时区或徽章。"#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "控制 HDR 图像在支持 HDR 的显示器上的显示方式。"msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "控制不同场景下成人或敏感媒体的过滤方式。"-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "控制你的 {premiumProductName} 徽章如何向他人显示"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "编辑应用基本信息和重定向 URI"msgid "Edit attachment"msgstr "编辑附件"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "编辑徽章"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "隐藏"msgid "Hide {appName}"msgstr "隐藏 {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "完全隐藏 {premiumProductName} 徽章"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "隐藏 {premiumProductName} 购买日期"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "隐藏 {premiumProductName} 购买日期({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "隐藏指南"msgid "Hide help center button"msgstr "隐藏帮助中心按钮"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "隐藏你拥有的 Operator Pass 数量"@@ -18678,18 +18658,8 @@ msgstr "最小化时隐藏窗口,可从托盘重新打开"msgid "Hide user avatars"msgstr "隐藏用户头像"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "隐藏 Visionary ID 徽章"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "隐藏 Visionary ID 徽章({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "隐藏你获得 {operatorPassName} 的时间"@@ -21976,8 +21946,8 @@ msgstr "隐藏邮箱、关联账号和备注等账号隐私信息"msgid "Mask private details before sharing your screen or stream."msgstr "在共享屏幕或直播前隐藏隐私信息。"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "将 Visionary 显示为普通订阅"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass 转交请求"msgid "Operator Pass purchase"msgstr "Operator Pass 购买"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "自 {since} 起拥有 Operator Pass"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "偏好减少动态效果"msgid "Premium"msgstr "会员"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "会员徽章"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "解除禁言"msgid "Remove translator"msgstr "移除翻译器"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "从徽章中移除你首次购买 {premiumProductName} 的日期"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "移除你的 Visionary ID 徽章"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "显示"msgid "Show {appName}"msgstr "显示 {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "在你的个人资料中显示 {badgeLabel}"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "显示其他账号的动态"msgid "Show attachment expiration indicator"msgstr "显示附件过期提示"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "在我的个人资料中显示徽章"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "在此社区中显示你的全局个人资料头像"msgid "Show your global profile banner in this community"msgstr "在此社区中显示你的全局个人资料横幅"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "改为将你的 Visionary 显示为普通订阅"@@ -33420,6 +33375,11 @@ msgstr "会显示在聊天里的邀请嵌入内容中。"msgid "Shown on every post so people can react with one click."msgstr "每条帖子都会显示,方便用户一键做出反应。"+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "仅在你的 Visionary 徽章可见且未显示为普通订阅时显示。"+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "你还没有恢复工具包"msgid "You don't have access to any channels in this community."msgstr "你无法访问此社区中的任何频道。"+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "你还没有任何徽章。"+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "你的徽章已上线。请在设置中查看你的墙上展示。"msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "你的徽章已上线。你的名字会在我们审核后显示在 Operators 墙上。"+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "无法加载你的徽章。"+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po b/fluxer_app/src/features/i18n/locales/zh-TW/messages.poindex d80bdd7b2..1474db0dd 100644--- a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po+++ b/fluxer_app/src/features/i18n/locales/zh-TW/messages.po@@ -1872,11 +1872,6 @@ msgstr "{optionName},必填的 {optionType} 參數"msgid "{PAYMENT_PROVIDER_NAME} handles payment securely."msgstr "{PAYMENT_PROVIDER_NAME} 安全處理付款。"-#. Profile settings section title for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "{premiumProductName} badge privacy"-msgstr "{premiumProductName} 徽章隱私設定"-#. Nagbar body shown to monthly subscribers who are still billed the older, higher price after a price cut. {premiumProductName} is the short paid product name. {currentPrice} and {newPrice} are monthly currency amounts already formatted and localized by code, and {effectiveDate} is a date already formatted and localized by code; never write an amount or a date into the translation. Keep the tone calm and plain.#: src/features/premium/config/PriceAnnouncementCampaign.tsmsgid "{premiumProductName} costs less now. Switch from {currentPrice} to {newPrice} a month starting {effectiveDate}, and nothing is charged today."@@ -6102,9 +6097,9 @@ msgstr "備用碼"msgid "Backup codes regenerated"msgstr "備用碼已重新產生"-#. Settings search entry label. Also used as a search synonym in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Badge"+#. Title of the profile settings section that lists the badges you hold and lets you hide each one.+#: src/features/user/utils/UserMessageDescriptors.ts+msgid "Badges"msgstr "徽章"#. Short moderation action label. Ban a member from a community by removing them and preventing rejoining.@@ -8492,6 +8487,11 @@ msgstr "選擇要發布訊息的目的地。你隨時可以在「社群設定」msgid "Choose whether people who share a community with you can send you direct messages without being friends first."msgstr "選擇是否允許與您同一個社群的使用者,在未成為好友前就傳送私人訊息給您。"+#. Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Choose which badges other people see on your profile."+msgstr "選擇其他人在您的個人檔案中能看到哪些徽章。"+#. Description for the Custom export option.#: src/features/user/components/modals/tabs/privacy_safety_tab/data_request_modal/DataRequestModal.tsxmsgid "Choose which conversation kinds, communities, and time window to include in the archive."@@ -9510,11 +9510,6 @@ msgstr "比較"msgid "Complete payment"msgstr "完成付款"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Completely hide your {premiumProductName} badge from other users"-msgstr "完全對其他使用者隱藏您的 {premiumProductName} 徽章"-#: src/features/auth/components/pages/SignInLinkPage.tsx#: src/features/auth/components/pages/SsoCallbackPage.tsxmsgid "Completing sign-in…"@@ -9616,11 +9611,6 @@ msgstr "設定您的相機、螢幕分享畫質、預覽和影格速率。"msgid "Configure your microphone, speakers, input mode, processing, and voice sounds."msgstr "設定您的麥克風、揚聲器、輸入模式、處理和語音音效。"-#. Settings search entry description. One-line summary of what the settings search entry controls.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Configure your profile badge"-msgstr "設定您的個人檔案徽章"-#. Action label for confirming a mass mention that may notify many people.#. Settings search synonym. Used to match this term when the user types it in the settings search bar.#: src/features/channel/components/MentionEveryonePopout.tsx@@ -9713,8 +9703,8 @@ msgstr "請先確認您的電子郵件,才能更改社群暱稱、大頭貼、#. Label in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx-msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy."-msgstr "請先確認您的電子郵件,然後再變更您的使用者名稱、顯示名稱、大頭貼、橫幅、個人簡介、代名詞、時區或 {premiumProductName} 徽章隱私設定。"+msgid "Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges."+msgstr "請先確認您的電子郵件,然後再變更您的使用者名稱、顯示名稱、大頭貼、橫幅、個人簡介、代名詞、時區或徽章。"#. Description text in the my profile tab.#: src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -10231,11 +10221,6 @@ msgstr "控制 HDR 影像在支援 HDR 的螢幕上如何顯示。"msgid "Control how mature or sensitive media is filtered in different contexts."msgstr "控制不同情境下,成人或敏感內容的篩選方式。"-#. Profile settings section description for premium badge privacy controls.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Control how your {premiumProductName} badge is displayed to others"-msgstr "控制您的 {premiumProductName} 徽章如何向其他人顯示"-#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.tsmsgid "Control native smooth wheel and keyboard scrolling in the desktop app"@@ -14367,6 +14352,11 @@ msgstr "編輯應用程式基本資訊和重新導向 URI"msgid "Edit attachment"msgstr "編輯附件"+#. Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.+#: src/features/user/components/popouts/UserProfileBadges.tsx+msgid "Edit badges"+msgstr "編輯徽章"+#. Action that opens the edit-category modal.#. Tooltip and accessible label for the category settings button in the channel list.#: src/features/app/components/layout/ChannelItem.tsx@@ -18522,21 +18512,11 @@ msgstr "隱藏"msgid "Hide {appName}"msgstr "隱藏 {appName}"-#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} badge entirely"-msgstr "完全隱藏 {premiumProductName} 徽章"--#. Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide {premiumProductName} purchase date"msgstr "隱藏 {premiumProductName} 購買日期"-#. Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})"-msgstr "隱藏 {premiumProductName} 購買日期 ({dateUtilsGetFormattedShortDatePremiumSince})"-#. Accessible label for the button that collapses the other accounts section in the inbox.#: src/features/messaging/components/popouts/inbox/OtherAccountsInboxSection.tsxmsgid "Hide activity on other accounts"@@ -18595,8 +18575,8 @@ msgstr "隱藏指南"msgid "Hide help center button"msgstr "隱藏說明中心按鈕"-#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide how many Operator Passes you have"msgstr "隱藏您擁有的 Operator Pass 數量"@@ -18678,18 +18658,8 @@ msgstr "視窗最小化時隱藏,並可從系統匣重新開啟"msgid "Hide user avatars"msgstr "隱藏使用者大頭貼"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge"-msgstr "隱藏 Visionary ID 徽章"--#. Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Hide Visionary ID badge ({premiumLifetimeSequenceLabel})"-msgstr "隱藏 Visionary ID 徽章 ({premiumLifetimeSequenceLabel})"--#. Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Hide when you got your {operatorPassName}"msgstr "隱藏您獲得 {operatorPassName} 的時間"@@ -21976,8 +21946,8 @@ msgstr "遮蓋電子郵件、連結帳號和記事等私人帳號詳細資訊"msgid "Mask private details before sharing your screen or stream."msgstr "分享螢幕或直播前,遮蓋私人詳細資訊。"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Mask Visionary as subscription"msgstr "將 Visionary 顯示為訂閱"@@ -26174,11 +26144,6 @@ msgstr "Operator Pass 轉交請求"msgid "Operator Pass purchase"msgstr "Operator Pass 購買項目"-#. Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Operator Pass since {since}"-msgstr "自 {since} 起擁有 Operator Pass"-#. Link to the Operator Pass terms. Operator Pass is a product name.#. Link to the Operator Pass terms. Operator Pass is a product name.#: src/features/premium/components/operator_pass/OperatorPassHoldingsSection.tsx@@ -27639,11 +27604,6 @@ msgstr "偏好減少動態效果"msgid "Premium"msgstr "進階方案"-#. Settings search synonym. Used to match this term when the user types it in the settings search bar.-#: src/features/user/components/settings_utils/search_index/MyProfileIndex.ts-msgid "Premium badge"-msgstr "進階方案徽章"-#. Developer control label for the premium-expired banner.#: src/features/devtools/components/NagbarControls.tsmsgid "Premium expired nagbar"@@ -29331,16 +29291,11 @@ msgstr "解除禁言"msgid "Remove translator"msgstr "移除翻譯工具"-#. Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Remove when you first bought {premiumProductName} from your badge"msgstr "從徽章中移除您首次購買 {premiumProductName} 的時間"-#. Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Remove your Visionary ID badge"-msgstr "移除您的 Visionary ID 徽章"-#. Status badge for the application to Explore, shown in the "Explore" tab in community settings. The community was removed from Explore.#: src/features/guild/components/modals/guild_tabs/GuildDiscoveryTab.tsxmsgid "Removed"@@ -32892,6 +32847,11 @@ msgstr "顯示"msgid "Show {appName}"msgstr "顯示 {appName}"+#. Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Show {badgeLabel} on your profile"+msgstr "在您的個人檔案中顯示 {badgeLabel}"+#. Settings search entry description. One-line summary of what the settings search entry controls.#: src/features/user/components/settings_utils/search_index/DesktopSettingsIndex.tsmsgid "Show a {productName} icon in the system tray or menu bar"@@ -32940,11 +32900,6 @@ msgstr "顯示其他帳號的活動"msgid "Show attachment expiration indicator"msgstr "顯示附件到期指示器"-#. Switch in the Operator Pass profile settings that shows the Operator badge on the profile.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx-msgid "Show badge on my profile"-msgstr "在我的個人檔案中顯示徽章"-#. Developer voice status menu option for displaying participant avatars.#: src/features/voice/components/voice_connection_status/VoiceConnectionStatusInner.tsxmsgid "Show call avatars"@@ -33390,8 +33345,8 @@ msgstr "在此社群中顯示您的全域個人檔案大頭貼"msgid "Show your global profile banner in this community"msgstr "在此社群顯示您的全域個人檔案橫幅"-#. Label in the premium badge settings. Keep the tone plain and specific.-#: src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+#. Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxmsgid "Show your Visionary as a regular subscription instead"msgstr "改將您的 Visionary 顯示為一般訂閱"@@ -33420,6 +33375,11 @@ msgstr "會顯示在聊天的邀請嵌入內容中。"msgid "Shown on every post so people can react with one click."msgstr "顯示在每則貼文中,方便使用者一鍵回應。"+#. Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Shown only when your Visionary badge is visible and not masked."+msgstr "僅在您的 Visionary 徽章可見且未顯示為訂閱時顯示。"+#. Description text in the branding section. Keep the tone plain and specific.#: src/features/guild/components/modals/guild_tabs/guild_overview_tab/sections/BrandingSection.tsxmsgid "Shows the banner in its own section below the community header."@@ -43007,6 +42967,11 @@ msgstr "你還沒有復原套件"msgid "You don't have access to any channels in this community."msgstr "您沒有此社群中任何頻道的存取權限。"+#. Shown in the "Badges" profile settings section when you hold no badges.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "You don't have any badges yet."+msgstr "您還沒有任何徽章。"+#. Body of the error modal shown when cloning an emoji or sticker is blocked by missing permissions.#: src/features/app/components/alerts/ExpressionCloneFailedModal.tsxmsgid "You don't have permission to add expressions in {targetName}."@@ -43666,6 +43631,11 @@ msgstr "您的徽章已上線。請在設定中查看您的牆上展示。"msgid "Your badge is live. Your name shows on the Operators' wall once we check it."msgstr "您的徽章已上線。您的名字會在我們審核後顯示在 Operators 牆上。"+#. Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.+#: src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx+msgid "Your badges couldn't be loaded."+msgstr "無法載入您的徽章。"+#. Toast on the web app when the browser blocks the quick CSS editor window from opening.#: src/features/theme_settings/components/QuickCssEditorHost.tsxmsgid "Your browser blocked the editor window. Allow pop-ups for this site and try again."diff --git a/fluxer_app/src/features/invite/components/modals/InviteAcceptModalPreview.tsx b/fluxer_app/src/features/invite/components/modals/InviteAcceptModalPreview.tsxindex 4b4c27d10..2a1983bf2 100644--- a/fluxer_app/src/features/invite/components/modals/InviteAcceptModalPreview.tsx+++ b/fluxer_app/src/features/invite/components/modals/InviteAcceptModalPreview.tsx@@ -102,6 +102,7 @@ export const InviteAcceptModalPreview = observer(function InviteAcceptModalPreviguildName={guild.name}guildIcon={guild.icon}features={guildFeatures}+ badgeIds={guild.badgeIds}presenceCount={presenceCount}memberCount={memberCount}previewIconUrl={hasClearedIcon ? null : previewIconUrl}diff --git a/fluxer_app/src/features/invite/components/modals/InvitePagePreviewModal.tsx b/fluxer_app/src/features/invite/components/modals/InvitePagePreviewModal.tsxindex 084a6f7c2..56aaf3b9d 100644--- a/fluxer_app/src/features/invite/components/modals/InvitePagePreviewModal.tsx+++ b/fluxer_app/src/features/invite/components/modals/InvitePagePreviewModal.tsx@@ -145,6 +145,7 @@ export const InvitePagePreviewModal: React.FC<InvitePagePreviewModalProps> = obsguildName={guild.name}guildIcon={guild.icon}features={guildFeatures}+ badgeIds={guild.badgeIds}presenceCount={presenceCount}memberCount={memberCount}previewIconUrl={previewIconUrl}diff --git a/fluxer_app/src/features/user/commands/UserCommands.ts b/fluxer_app/src/features/user/commands/UserCommands.tsindex 703b72929..9326208bc 100644--- a/fluxer_app/src/features/user/commands/UserCommands.ts+++ b/fluxer_app/src/features/user/commands/UserCommands.ts@@ -63,10 +63,9 @@ type UserUpdatePayload = Partial<UserPrivate> & {avatar?: string | null;password?: string;new_password?: string;- premium_badge_hidden?: boolean;+ hidden_profile_badges?: ReadonlyArray<string>;premium_badge_masked?: boolean;premium_badge_timestamp_hidden?: boolean;- premium_badge_sequence_hidden?: boolean;accent_color?: number | null;has_dismissed_premium_onboarding?: boolean;has_unread_gift_inventory?: boolean;diff --git a/fluxer_app/src/features/user/commands/UserProfileCommands.tsx b/fluxer_app/src/features/user/commands/UserProfileCommands.tsxindex 4b5962045..23e0f60fb 100644--- a/fluxer_app/src/features/user/commands/UserProfileCommands.tsx+++ b/fluxer_app/src/features/user/commands/UserProfileCommands.tsx@@ -21,7 +21,6 @@ import {ME} from '@fluxer/constants/src/AppConstants';import type {ProfileBadgePreviewRequest,ProfileBadgePreviewResponse,- ProfileBadgeResponse,} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';const logger = new Logger('UserProfiles');@@ -98,13 +97,11 @@ export async function fetch(userId: string, guildId?: string): Promise<Profile>}}-export async function previewBadges(- settings: ProfileBadgePreviewRequest,-): Promise<ReadonlyArray<ProfileBadgeResponse>> {+export async function previewBadges(settings: ProfileBadgePreviewRequest): Promise<ProfileBadgePreviewResponse> {const response = await http.post<ProfileBadgePreviewResponse>(Endpoints.USER_PROFILE_BADGES_PREVIEW, {body: settings,});- return response.body.profile_badges;+ return response.body;}export function invalidate(userId: string, guildId?: string): void {diff --git a/fluxer_app/src/features/user/commands/UserSettingsModalCommands.tsx b/fluxer_app/src/features/user/commands/UserSettingsModalCommands.tsxindex 00aa24cf7..8ca18b784 100644--- a/fluxer_app/src/features/user/commands/UserSettingsModalCommands.tsx+++ b/fluxer_app/src/features/user/commands/UserSettingsModalCommands.tsx@@ -23,3 +23,20 @@ export function openUserSettingsModal(): void {),);}++export const PROFILE_BADGES_SECTION_ID = 'profile-badges';++export function openProfileBadgeSettings(): void {+ ModalCommands.push(+ modal(+ () => (+ <UserSettingsModal+ initialTab="my_profile"+ initialSubtab={PROFILE_BADGES_SECTION_ID}+ data-flx="user.user-settings-modal-commands.open-profile-badge-settings.user-settings-modal"+ />+ ),+ 'user-settings',+ ),+ );+}diff --git a/fluxer_app/src/features/user/components/modals/UserProfileMobileSheet.module.css b/fluxer_app/src/features/user/components/modals/UserProfileMobileSheet.module.cssindex 91c6a73f2..b16d14f14 100644--- a/fluxer_app/src/features/user/components/modals/UserProfileMobileSheet.module.css+++ b/fluxer_app/src/features/user/components/modals/UserProfileMobileSheet.module.css@@ -151,6 +151,7 @@display: flex;align-items: center;flex-shrink: 0;+ max-width: 100%;}.customStatusRow {diff --git a/fluxer_app/src/features/user/components/modals/UserProfileMobileSheet.tsx b/fluxer_app/src/features/user/components/modals/UserProfileMobileSheet.tsxindex 3110da98a..2912446a2 100644--- a/fluxer_app/src/features/user/components/modals/UserProfileMobileSheet.tsx+++ b/fluxer_app/src/features/user/components/modals/UserProfileMobileSheet.tsx@@ -35,6 +35,7 @@ import {Spinner} from '@app/features/ui/components/Spinner';import {StatusAwareAvatar} from '@app/features/ui/components/StatusAwareAvatar';import * as Sheet from '@app/features/ui/sheet/Sheet';import * as UserProfileCommands from '@app/features/user/commands/UserProfileCommands';+import {openProfileBadgeSettings} from '@app/features/user/commands/UserSettingsModalCommands';import {MutualItemsSheet} from '@app/features/user/components/modals/MutualItemsSheet';import {NoteEditSheet} from '@app/features/user/components/modals/NoteEditSheet';import {UserProfileActionsSheet} from '@app/features/user/components/modals/UserProfileActionsSheet';@@ -64,7 +65,7 @@ import {canPerform} from '@app/features/user/utils/AccountGates';import {blockedDmConfirmModal, openDMChannelOrShowError} from '@app/features/user/utils/DMActionUtils';import * as NicknameUtils from '@app/features/user/utils/NicknameUtils';import * as ProfileDisplayUtils from '@app/features/user/utils/ProfileDisplayUtils';-import {canOpenProfileEditor} from '@app/features/user/utils/ProfileEditAccess';+import {canEditOwnProfileBadges, canOpenProfileEditor} from '@app/features/user/utils/ProfileEditAccess';import {getProfileMembershipDisplayName,resolveProfileGuildMembership,@@ -611,6 +612,9 @@ const UserProfileMobileSheetContent: React.FC<UserProfileMobileSheetContentPropsbadges={profile.profileBadges}isModal={true}isMobile={true}+ onEditBadges={+ canEditOwnProfileBadges(user.id, profile) ? openProfileBadgeSettings : undefined+ }data-flx="user.user-profile-mobile-sheet.user-profile-mobile-sheet-content.user-profile-badges"/></div>diff --git a/fluxer_app/src/features/user/components/modals/UserProfileModal.module.css b/fluxer_app/src/features/user/components/modals/UserProfileModal.module.cssindex a2f57f0f7..99e802ca4 100644--- a/fluxer_app/src/features/user/components/modals/UserProfileModal.module.css+++ b/fluxer_app/src/features/user/components/modals/UserProfileModal.module.css@@ -138,6 +138,7 @@display: flex;align-items: center;justify-content: center;+ max-width: 100%;}.userNoteEditor {diff --git a/fluxer_app/src/features/user/components/modals/tabs/MyProfileTab.tsx b/fluxer_app/src/features/user/components/modals/tabs/MyProfileTab.tsxindex fd1274152..dcba76169 100644--- a/fluxer_app/src/features/user/components/modals/tabs/MyProfileTab.tsx+++ b/fluxer_app/src/features/user/components/modals/tabs/MyProfileTab.tsx@@ -5,7 +5,6 @@ import {UnclaimedAccountAlert} from '@app/features/app/components/dialogs/componimport {SettingsSection} from '@app/features/app/components/dialogs/shared/SettingsSection';import {SettingsTabContainer} from '@app/features/app/components/dialogs/shared/SettingsTabLayout';import {useFormSubmit} from '@app/features/app/hooks/useFormSubmit';-import RuntimeConfig from '@app/features/app/state/RuntimeConfig';import {LimitResolver} from '@app/features/app/utils/LimitResolverAdapter';import {isLimitToggleEnabled} from '@app/features/app/utils/LimitUtils';import type {FlatEmoji} from '@app/features/emoji/types/EmojiTypes';@@ -22,7 +21,6 @@ import {Logger} from '@app/features/platform/utils/AppLogger';import {OperatorPassHoldingsSection} from '@app/features/premium/components/operator_pass/OperatorPassHoldingsSection';import OperatorPassHoldings from '@app/features/premium/state/OperatorPassHoldings';import {hasOperatorPassProfileBadge, isOperatorPassAvailable} from '@app/features/premium/utils/OperatorPassUtils';-import {getPremiumProductName, shouldShowPremiumFeatures} from '@app/features/premium/utils/PremiumUtils';import * as ToastCommands from '@app/features/ui/commands/ToastCommands';import * as UnsavedChangesCommands from '@app/features/ui/commands/UnsavedChangesCommands';import {Form} from '@app/features/ui/components/form/Form';@@ -43,7 +41,6 @@ import {BIO_MARKDOWN_PARSER_FLAGS, BioEditor} from '@app/features/user/componentimport {UsernameSection} from '@app/features/user/components/modals/tabs/my_profile_tab/MyProfileTabUsernameSection';import {OperatorPassWallSettings} from '@app/features/user/components/modals/tabs/my_profile_tab/OperatorPassWallSettings';import {PerGuildPremiumUpsell} from '@app/features/user/components/modals/tabs/my_profile_tab/PerGuildPremiumUpsell';-import {PremiumBadgeSettings} from '@app/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings';import {assignProfileAssetUploadPatch,createGlobalProfileAssetRemoteState,@@ -56,10 +53,15 @@ import {selectProfileAssetCustomizationState,transitionProfileAssetCustomizationSnapshot,} from '@app/features/user/components/modals/tabs/my_profile_tab/ProfileAssetCustomizationStateMachine';+import {+ ProfileBadgeSettings,+ type ProfileBadgeVariantField,+} from '@app/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings';import {ProfileTypeSelector} from '@app/features/user/components/modals/tabs/my_profile_tab/ProfileTypeSelector';import {TimezoneProfileSettings} from '@app/features/user/components/modals/tabs/my_profile_tab/TimezoneProfileSettings';import {ProfilePreview} from '@app/features/user/components/profile/ProfilePreview';import {PRONOUNS_DESCRIPTOR} from '@app/features/user/components/settings_utils/section_registry/SharedDescriptors';+import {useProfileBadgePreview} from '@app/features/user/hooks/useOwnProfileBadges';import type {Profile} from '@app/features/user/models/Profile';import Users from '@app/features/user/state/Users';import {accountGateReason} from '@app/features/user/utils/AccountGatePresentation';@@ -75,9 +77,10 @@ import {import {setMeaningfulFormValue} from '@app/lib/forms/MeaningfulFormValue';import {type RemoteFormResetReason, useRemoteFormReset} from '@app/lib/forms/RemoteFormReset';import {AccountTiers, AccountVerificationNeeds, TierGatedActions} from '@fluxer/constants/src/AccountTierConstants';+import {isProfileBadgeKey} from '@fluxer/constants/src/BadgeConstants';import {Permissions} from '@fluxer/constants/src/ChannelConstants';import {GuildMemberProfileFlags} from '@fluxer/constants/src/GuildConstants';-import {ProfileFieldPrivacyFlags, UserPremiumTypes} from '@fluxer/constants/src/UserConstants';+import {ProfileFieldPrivacyFlags} from '@fluxer/constants/src/UserConstants';import {getCurrentTimeZoneOffsetMinutes} from '@fluxer/date_utils/src/TimeZoneUtils';import type {GuildMemberData} from '@fluxer/schema/src/domains/guild/GuildMemberSchemas';import type {UserProfile} from '@fluxer/schema/src/domains/user/UserResponseSchemas';@@ -135,7 +138,7 @@ const VERIFY_YOUR_EMAIL_BEFORE_CHANGING_YOUR_COMMUNITY_NICKNAME_DESCRIPTOR = msg});const VERIFY_YOUR_EMAIL_BEFORE_CHANGING_YOUR_USERNAME_DISPLAY_DESCRIPTOR = msg({message:- 'Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or {premiumProductName} badge privacy.',+ 'Confirm your email before changing your username, display name, avatar, banner, bio, pronouns, time zone, or badges.',comment: 'Label in the my profile tab.',});@@ -150,6 +153,10 @@ const YOU_DON_T_HAVE_PERMISSION_TO_CHANGE_YOUR_DESCRIPTOR = msg({const logger = new Logger('MyProfileTab');+function sameBadgeKeys(a: ReadonlyArray<string>, b: ReadonlyArray<string>): boolean {+ return a.length === b.length && a.every((key) => b.includes(key));+}+function hasGuildMemberProfileFlag(member: GuildMemberData, flag: number): boolean {return ((member.profile_flags ?? 0) & flag) !== 0;}@@ -190,11 +197,9 @@ interface FormInputs {timezone: string | null;timezone_privacy_flags: number;nick?: string | null;- premium_badge_hidden?: boolean;+ hidden_profile_badges?: Array<string>;premium_badge_timestamp_hidden?: boolean;premium_badge_masked?: boolean;- premium_badge_sequence_hidden?: boolean;- operator_pass_badge_hidden?: boolean;operator_pass_badge_timestamp_hidden?: boolean;operator_pass_badge_count_hidden?: boolean;}@@ -267,11 +272,9 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({timezone: user?.timezone ?? null,timezone_privacy_flags: user?.timezonePrivacyFlags ?? ProfileFieldPrivacyFlags.EVERYONE,nick: null,- premium_badge_hidden: user?.premiumBadgeHidden ?? false,+ hidden_profile_badges: [...(user?.hiddenProfileBadges ?? [])],premium_badge_timestamp_hidden: user?.premiumBadgeTimestampHidden ?? false,premium_badge_masked: user?.premiumBadgeMasked ?? false,- premium_badge_sequence_hidden: user?.premiumBadgeSequenceHidden ?? false,- operator_pass_badge_hidden: user?.operatorPassBadgeHidden ?? false,operator_pass_badge_timestamp_hidden: user?.operatorPassBadgeTimestampHidden ?? false,operator_pass_badge_count_hidden: user?.operatorPassBadgeCountHidden ?? false,},@@ -320,11 +323,9 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({const commonValues = {timezone: user.timezone ?? null,timezone_privacy_flags: user.timezonePrivacyFlags ?? ProfileFieldPrivacyFlags.EVERYONE,- premium_badge_hidden: user.premiumBadgeHidden ?? false,+ hidden_profile_badges: [...(user.hiddenProfileBadges ?? [])],premium_badge_timestamp_hidden: user.premiumBadgeTimestampHidden ?? false,premium_badge_masked: user.premiumBadgeMasked ?? false,- premium_badge_sequence_hidden: user.premiumBadgeSequenceHidden ?? false,- operator_pass_badge_hidden: user.operatorPassBadgeHidden ?? false,operator_pass_badge_timestamp_hidden: user.operatorPassBadgeTimestampHidden ?? false,operator_pass_badge_count_hidden: user.operatorPassBadgeCountHidden ?? false,};@@ -420,8 +421,6 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({},[commitProfileRemoteValues],);- const showPremiumFeatures = shouldShowPremiumFeatures();- const hasPremium = useMemo(() => showPremiumFeatures && (user?.isPremium() ?? false), [showPremiumFeatures, user]);const hasPerGuildProfiles = useMemo(() =>isLimitToggleEnabled(@@ -530,11 +529,9 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({timezone: user.timezone ?? null,timezone_privacy_flags: user.timezonePrivacyFlags ?? ProfileFieldPrivacyFlags.EVERYONE,nick: data.nick,- premium_badge_hidden: user.premiumBadgeHidden ?? false,+ hidden_profile_badges: [...(user.hiddenProfileBadges ?? [])],premium_badge_timestamp_hidden: user.premiumBadgeTimestampHidden ?? false,premium_badge_masked: user.premiumBadgeMasked ?? false,- premium_badge_sequence_hidden: user.premiumBadgeSequenceHidden ?? false,- operator_pass_badge_hidden: user.operatorPassBadgeHidden ?? false,operator_pass_badge_timestamp_hidden: user.operatorPassBadgeTimestampHidden ?? false,operator_pass_badge_count_hidden: user.operatorPassBadgeCountHidden ?? false,},@@ -552,26 +549,18 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({assignProfileAssetUploadPatch(updateData, 'banner', bannerAsset);updateData.timezone = data.timezone;updateData.timezone_privacy_flags = data.timezone_privacy_flags;- if (data.premium_badge_hidden !== undefined) {- updateData.premium_badge_hidden = data.premium_badge_hidden;+ if (+ data.hidden_profile_badges !== undefined &&+ user?.hiddenProfileBadges !== undefined &&+ !sameBadgeKeys(data.hidden_profile_badges, user.hiddenProfileBadges)+ ) {+ updateData.hidden_profile_badges = data.hidden_profile_badges;}if (data.premium_badge_timestamp_hidden !== undefined) {updateData.premium_badge_timestamp_hidden = data.premium_badge_timestamp_hidden;}if (data.premium_badge_masked !== undefined) {updateData.premium_badge_masked = data.premium_badge_masked;- if (data.premium_badge_masked) {- updateData.premium_badge_sequence_hidden = true;- }- }- if (data.premium_badge_sequence_hidden !== undefined && !data.premium_badge_masked) {- updateData.premium_badge_sequence_hidden = data.premium_badge_sequence_hidden;- }- if (- data.operator_pass_badge_hidden !== undefined &&- data.operator_pass_badge_hidden !== (user?.operatorPassBadgeHidden ?? false)- ) {- updateData.operator_pass_badge_hidden = data.operator_pass_badge_hidden;}if (data.operator_pass_badge_timestamp_hidden !== undefined &&@@ -597,11 +586,9 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({timezone: newUser.timezone ?? null,timezone_privacy_flags: newUser.timezone_privacy_flags ?? ProfileFieldPrivacyFlags.EVERYONE,nick: null,- premium_badge_hidden: newUser.premium_badge_hidden ?? false,+ hidden_profile_badges: [...(newUser.hidden_profile_badges ?? user?.hiddenProfileBadges ?? [])],premium_badge_timestamp_hidden: newUser.premium_badge_timestamp_hidden ?? false,premium_badge_masked: newUser.premium_badge_masked ?? false,- premium_badge_sequence_hidden: newUser.premium_badge_sequence_hidden ?? false,- operator_pass_badge_hidden: newUser.operator_pass_badge_hidden ?? user?.operatorPassBadgeHidden ?? false,operator_pass_badge_timestamp_hidden:newUser.operator_pass_badge_timestamp_hidden ?? user?.operatorPassBadgeTimestampHidden ?? false,operator_pass_badge_count_hidden:@@ -641,12 +628,17 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({const handleReset = useCallback(() => {resetProfileToRemoteValues();}, [resetProfileToRemoteValues]);- const handlePremiumBadgeToggle = useCallback(- (field: keyof FormInputs, value: boolean) => {+ const handleBadgeVariantToggle = useCallback(+ (field: ProfileBadgeVariantField, value: boolean) => {form.setValue(field, value, {shouldDirty: true});- if (field === 'premium_badge_masked' && value) {- form.setValue('premium_badge_sequence_hidden', true, {shouldDirty: true});- }+ },+ [form],+ );+ const handleBadgeHiddenToggle = useCallback(+ (key: string, hidden: boolean) => {+ const current = form.getValues('hidden_profile_badges') ?? [];+ const next = hidden ? [...new Set([...current, key])] : current.filter((entry) => entry !== key);+ form.setValue('hidden_profile_badges', next, {shouldDirty: true});},[form],);@@ -717,10 +709,31 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({UnsavedChangesCommands.clearUnsavedChanges(MY_PROFILE_TAB_ID);};}, []);+ const watchedHiddenProfileBadges = form.watch('hidden_profile_badges');+ const premiumBadgeTimestampHidden = form.watch('premium_badge_timestamp_hidden') ?? false;+ const premiumBadgeMasked = form.watch('premium_badge_masked') ?? false;+ const operatorPassBadgeTimestampHidden = form.watch('operator_pass_badge_timestamp_hidden') ?? false;+ const operatorPassBadgeCountHidden = form.watch('operator_pass_badge_count_hidden') ?? false;+ const hasUser = Boolean(user);+ const hiddenProfileBadges = useMemo(() => watchedHiddenProfileBadges ?? [], [watchedHiddenProfileBadges]);+ const badgeVariants = useMemo(+ () => ({+ premium_badge_timestamp_hidden: premiumBadgeTimestampHidden,+ premium_badge_masked: premiumBadgeMasked,+ operator_pass_badge_timestamp_hidden: operatorPassBadgeTimestampHidden,+ operator_pass_badge_count_hidden: operatorPassBadgeCountHidden,+ }),+ [premiumBadgeTimestampHidden, premiumBadgeMasked, operatorPassBadgeTimestampHidden, operatorPassBadgeCountHidden],+ );+ const badgePreviewRequest = useMemo(+ () =>+ hasUser ? {hidden_profile_badges: hiddenProfileBadges.filter(isProfileBadgeKey).sort(), ...badgeVariants} : null,+ [hasUser, hiddenProfileBadges, badgeVariants],+ );+ const badgePreview = useProfileBadgePreview(badgePreviewRequest);if (!user) return null;- const hasLifetimePremium = user.premiumType === UserPremiumTypes.LIFETIME && !RuntimeConfig.isSelfHosted();- const hasOperatorPassBadge = hasOperatorPassProfileBadge(user);- const holdsPassesWithoutBadge = !hasOperatorPassBadge && (OperatorPassHoldings.passes?.passes.length ?? 0) > 0;+ const holdsOperatorPasses =+ hasOperatorPassProfileBadge(user) || (OperatorPassHoldings.passes?.passes.length ?? 0) > 0;const guilds = Guilds.getGuilds();const selectedGuild = selectedGuildId ? guilds.find((g) => g.id === selectedGuildId) : null;const isPerGuildProfileCustomizationDisabled = isPerGuildProfile && !hasPerGuildProfiles;@@ -740,12 +753,9 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({} else {profileCustomizationDescription = i18n._(EDIT_YOUR_PROFILE_APPEARANCE_AND_SEE_A_LIVE_DESCRIPTOR);}- let profileVerificationDescriptor = VERIFY_YOUR_EMAIL_BEFORE_EDITING_YOUR_PROFILE_YOU_DESCRIPTOR;- if (isPerGuildProfile) {- profileVerificationDescriptor = VERIFY_YOUR_EMAIL_BEFORE_CHANGING_YOUR_COMMUNITY_NICKNAME_DESCRIPTOR;- } else if (showPremiumFeatures) {- profileVerificationDescriptor = VERIFY_YOUR_EMAIL_BEFORE_CHANGING_YOUR_USERNAME_DISPLAY_DESCRIPTOR;- }+ const profileVerificationDescriptor = isPerGuildProfile+ ? VERIFY_YOUR_EMAIL_BEFORE_CHANGING_YOUR_COMMUNITY_NICKNAME_DESCRIPTOR+ : VERIFY_YOUR_EMAIL_BEFORE_CHANGING_YOUR_USERNAME_DISPLAY_DESCRIPTOR;const hasAvatar =!avatarAsset.hasCleared &&(avatarAsset.hasAsset || (!avatarAsset.isDirty && Boolean(profileRemoteValues?.avatar.hasCustomAsset)));@@ -804,9 +814,7 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({}data-flx="user.my-profile-tab.my-profile-tab-component.email-verification-alert">- {!isPerGuildProfile && showPremiumFeatures- ? i18n._(profileVerificationDescriptor, {premiumProductName: getPremiumProductName()})- : i18n._(profileVerificationDescriptor)}+ {i18n._(profileVerificationDescriptor)}</EmailVerificationAlert>)}{isLoadingProfile ? (@@ -985,15 +993,7 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({guildId={selectedGuildId}guildMember={isPerGuildProfile ? guildMember : undefined}guildMemberProfile={isPerGuildProfile ? activeProfileData?.guildMemberProfile : undefined}- previewBadgeSettings={{- premium_badge_hidden: form.watch('premium_badge_hidden'),- premium_badge_timestamp_hidden: form.watch('premium_badge_timestamp_hidden'),- premium_badge_masked: form.watch('premium_badge_masked'),- premium_badge_sequence_hidden: form.watch('premium_badge_sequence_hidden'),- operator_pass_badge_hidden: form.watch('operator_pass_badge_hidden'),- operator_pass_badge_timestamp_hidden: form.watch('operator_pass_badge_timestamp_hidden'),- operator_pass_badge_count_hidden: form.watch('operator_pass_badge_count_hidden'),- }}+ previewProfileBadges={badgePreview.value?.profile_badges}ignoreGuildAvatarInPreview={isPerGuildProfile && avatarAsset.mode === 'inherit'}ignoreGuildBannerInPreview={isPerGuildProfile && bannerAsset.mode === 'inherit'}onAvatarClick={@@ -1005,27 +1005,18 @@ const MyProfileTabComponent = observer(function MyProfileTabComponent({</div>)}</SettingsSection>- {(hasPremium || hasOperatorPassBadge) && !isPerGuildProfile && (- <PremiumBadgeSettings- hasPremium={hasPremium}- hasOperatorPassBadge={hasOperatorPassBadge}- operatorPassBadgeHidden={form.watch('operator_pass_badge_hidden') ?? false}- operatorPassBadgeTimestampHidden={form.watch('operator_pass_badge_timestamp_hidden') ?? false}- operatorPassBadgeCountHidden={form.watch('operator_pass_badge_count_hidden') ?? false}- operatorPassSince={user.operatorPassSince}- premiumBadgeHidden={form.watch('premium_badge_hidden') ?? false}- premiumBadgeTimestampHidden={form.watch('premium_badge_timestamp_hidden') ?? false}- premiumBadgeMasked={form.watch('premium_badge_masked') ?? false}- premiumBadgeSequenceHidden={form.watch('premium_badge_sequence_hidden') ?? false}+ {!isPerGuildProfile && (+ <ProfileBadgeSettings+ preview={badgePreview}+ hiddenProfileBadges={hiddenProfileBadges}+ variants={badgeVariants}disabled={isProfileCustomizationLocked}- onToggle={handlePremiumBadgeToggle}- hasLifetimePremium={hasLifetimePremium}- premiumSince={user.premiumSince}- premiumLifetimeSequence={user.premiumLifetimeSequence}- data-flx="user.my-profile-tab.my-profile-tab-component.premium-badge-settings"+ onToggleHidden={handleBadgeHiddenToggle}+ onToggleVariant={handleBadgeVariantToggle}+ data-flx="user.my-profile-tab.my-profile-tab-component.profile-badge-settings"/>)}- {isOperatorPassAvailable() && !isPerGuildProfile && holdsPassesWithoutBadge && (+ {isOperatorPassAvailable() && !isPerGuildProfile && holdsOperatorPasses && (<OperatorPassWallSettings data-flx="user.my-profile-tab.my-profile-tab-component.operator-pass-wall-settings" />)}{isOperatorPassAvailable() && !isPerGuildProfile && (diff --git a/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.module.css b/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.module.cssdeleted file mode 100644index edaac279a..000000000--- a/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.module.css+++ /dev/null@@ -1,28 +0,0 @@-/* SPDX-License-Identifier: AGPL-3.0-or-later */--.sections {- display: flex;- flex-direction: column;- gap: 2rem;-}--.header {- margin-bottom: 1rem;-}--.title {- margin-bottom: 0.5rem;- font-weight: 600;- font-size: 1.25rem;-}--.description {- font-size: 0.875rem;- color: var(--text-primary-muted);-}--.switches {- display: flex;- flex-direction: column;- gap: 1rem;-}diff --git a/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx b/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsxdeleted file mode 100644index 2d1ed48b8..000000000--- a/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.tsx+++ /dev/null@@ -1,251 +0,0 @@-// SPDX-License-Identifier: AGPL-3.0-or-later--import {OPERATOR_PASS_NAME} from '@app/features/app/config/I18nDisplayConstants';-import {formatOperatorPassSinceDate} from '@app/features/premium/utils/OperatorPassUtils';-import {getPremiumProductName} from '@app/features/premium/utils/PremiumUtils';-import {Switch} from '@app/features/ui/components/form/FormSwitch';-import {OperatorPassWallSettings} from '@app/features/user/components/modals/tabs/my_profile_tab/OperatorPassWallSettings';-import styles from '@app/features/user/components/modals/tabs/my_profile_tab/PremiumBadgeSettings.module.css';-import * as DateUtils from '@app/features/user/utils/DateFormatting';-import {msg} from '@lingui/core/macro';-import {useLingui} from '@lingui/react/macro';-import {observer} from 'mobx-react-lite';--const HIDE_BADGE_ENTIRELY_DESCRIPTOR = msg({- message: 'Hide {premiumProductName} badge entirely',- comment:- 'Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.',-});-const COMPLETELY_HIDE_YOUR_BADGE_FROM_OTHER_USERS_DESCRIPTOR = msg({- message: 'Completely hide your {premiumProductName} badge from other users',- comment:- 'Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.',-});-const HIDE_PURCHASE_DATE_DESCRIPTOR = msg({- message: 'Hide {premiumProductName} purchase date ({dateUtilsGetFormattedShortDatePremiumSince})',- comment:- 'Description text in the premium badge settings. Preserve {premiumProductName}, {dateUtilsGetFormattedShortDatePremiumSince}; they are inserted by code. Keep the tone plain and specific.',-});-const HIDE_PURCHASE_DATE_2_DESCRIPTOR = msg({- message: 'Hide {premiumProductName} purchase date',- comment:- 'Label in the premium badge settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.',-});-const REMOVE_WHEN_YOU_FIRST_BOUGHT_FROM_YOUR_BADGE_DESCRIPTOR = msg({- message: 'Remove when you first bought {premiumProductName} from your badge',- comment:- 'Button or menu action label in the premium badge settings. Keep it concise. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.',-});-const MASK_VISIONARY_AS_SUBSCRIPTION_DESCRIPTOR = msg({- message: 'Mask Visionary as subscription',- comment: 'Label in the premium badge settings. Keep the tone plain and specific.',-});-const SHOW_YOUR_VISIONARY_AS_A_REGULAR_SUBSCRIPTION_INSTEAD_DESCRIPTOR = msg({- message: 'Show your Visionary as a regular subscription instead',- comment: 'Label in the premium badge settings. Keep the tone plain and specific.',-});-const HIDE_VISIONARY_ID_BADGE_DESCRIPTOR = msg({- message: 'Hide Visionary ID badge ({premiumLifetimeSequenceLabel})',- comment:- 'Label in the premium badge settings. Preserve {premiumLifetimeSequenceLabel}; it is inserted by code. Keep the tone plain and specific.',-});-const HIDE_VISIONARY_ID_BADGE_2_DESCRIPTOR = msg({- message: 'Hide Visionary ID badge',- comment: 'Label in the premium badge settings. Keep the tone plain and specific.',-});-const REMOVE_YOUR_VISIONARY_ID_BADGE_DESCRIPTOR = msg({- message: 'Remove your Visionary ID badge',- comment:- 'Button or menu action label in the premium badge settings. Keep it concise. Keep the tone plain and specific.',-});-const PREMIUM_BADGE_PRIVACY_DESCRIPTOR = msg({- message: '{premiumProductName} badge privacy',- comment: 'Profile settings section title for premium badge privacy controls.',-});-const PREMIUM_BADGE_DISPLAY_DESCRIPTION_DESCRIPTOR = msg({- message: 'Control how your {premiumProductName} badge is displayed to others',- comment: 'Profile settings section description for premium badge privacy controls.',-});--const OPERATOR_PASS_SINCE_DESCRIPTOR = msg({- message: 'Operator Pass since {since}',- comment:- 'Line under the Operator Pass heading in profile settings. {since} is a date such as November 14, 2026. Operator Pass is a product name and stays untranslated.',-});-const SHOW_OPERATOR_PASS_BADGE_DESCRIPTOR = msg({- message: 'Show badge on my profile',- comment: 'Switch in the Operator Pass profile settings that shows the Operator badge on the profile.',-});-const HIDE_OPERATOR_PASS_DATE_DESCRIPTOR = msg({- message: 'Hide when you got your {operatorPassName}',- comment:- 'Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.',-});-const HIDE_OPERATOR_PASS_COUNT_DESCRIPTOR = msg({- message: 'Hide how many Operator Passes you have',- comment:- "Switch label in the Operator Pass badge privacy settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators' wall. Operator Pass is a product name and stays untranslated.",-});--type BadgeSettingField =- | 'premium_badge_hidden'- | 'premium_badge_timestamp_hidden'- | 'premium_badge_masked'- | 'premium_badge_sequence_hidden'- | 'operator_pass_badge_hidden'- | 'operator_pass_badge_timestamp_hidden'- | 'operator_pass_badge_count_hidden';--interface PremiumBadgeSettingsProps {- premiumBadgeHidden: boolean;- premiumBadgeTimestampHidden: boolean;- premiumBadgeMasked: boolean;- premiumBadgeSequenceHidden: boolean;- operatorPassBadgeHidden: boolean;- operatorPassBadgeTimestampHidden: boolean;- operatorPassBadgeCountHidden: boolean;- disabled?: boolean;- onToggle: (field: BadgeSettingField, value: boolean) => void;- hasPremium: boolean;- hasOperatorPassBadge: boolean;- hasLifetimePremium: boolean;- premiumSince?: Date | null;- premiumLifetimeSequence?: number | null;- operatorPassSince?: Date | null;-}--export const PremiumBadgeSettings = observer(- ({- premiumBadgeHidden,- premiumBadgeTimestampHidden,- premiumBadgeMasked,- premiumBadgeSequenceHidden,- operatorPassBadgeHidden,- operatorPassBadgeTimestampHidden,- operatorPassBadgeCountHidden,- disabled,- onToggle,- hasPremium,- hasOperatorPassBadge,- hasLifetimePremium,- premiumSince,- premiumLifetimeSequence,- operatorPassSince,- }: PremiumBadgeSettingsProps) => {- const {i18n} = useLingui();- const premiumLifetimeSequenceLabel = premiumLifetimeSequence != null ? `#${premiumLifetimeSequence}` : null;- return (- <div className={styles.sections} data-flx="user.my-profile-tab.premium-badge-settings.sections">- {hasPremium && (- <div data-flx="user.my-profile-tab.premium-badge-settings.div">- <div className={styles.header} data-flx="user.my-profile-tab.premium-badge-settings.header">- <h2 className={styles.title} data-flx="user.my-profile-tab.premium-badge-settings.title">- {i18n._(PREMIUM_BADGE_PRIVACY_DESCRIPTOR, {premiumProductName: getPremiumProductName()})}- </h2>- <p className={styles.description} data-flx="user.my-profile-tab.premium-badge-settings.description">- {i18n._(PREMIUM_BADGE_DISPLAY_DESCRIPTION_DESCRIPTOR, {premiumProductName: getPremiumProductName()})}- </p>- </div>- <div className={styles.switches} data-flx="user.my-profile-tab.premium-badge-settings.switches">- <Switch- label={i18n._(HIDE_BADGE_ENTIRELY_DESCRIPTOR, {premiumProductName: getPremiumProductName()})}- description={i18n._(COMPLETELY_HIDE_YOUR_BADGE_FROM_OTHER_USERS_DESCRIPTOR, {- premiumProductName: getPremiumProductName(),- })}- value={premiumBadgeHidden}- onChange={(value) => onToggle('premium_badge_hidden', value)}- disabled={disabled}- data-flx="user.my-profile-tab.premium-badge-settings.switch.toggle"- />- <Switch- label={- premiumSince- ? i18n._(HIDE_PURCHASE_DATE_DESCRIPTOR, {- premiumProductName: getPremiumProductName(),- dateUtilsGetFormattedShortDatePremiumSince: DateUtils.getFormattedShortDate(premiumSince),- })- : i18n._(HIDE_PURCHASE_DATE_2_DESCRIPTOR, {premiumProductName: getPremiumProductName()})- }- description={i18n._(REMOVE_WHEN_YOU_FIRST_BOUGHT_FROM_YOUR_BADGE_DESCRIPTOR, {- premiumProductName: getPremiumProductName(),- })}- value={premiumBadgeTimestampHidden}- onChange={(value) => onToggle('premium_badge_timestamp_hidden', value)}- disabled={disabled || premiumBadgeHidden}- data-flx="user.my-profile-tab.premium-badge-settings.switch.toggle--2"- />- {hasLifetimePremium && (- <Switch- label={i18n._(MASK_VISIONARY_AS_SUBSCRIPTION_DESCRIPTOR)}- description={i18n._(SHOW_YOUR_VISIONARY_AS_A_REGULAR_SUBSCRIPTION_INSTEAD_DESCRIPTOR)}- value={premiumBadgeMasked}- onChange={(value) => onToggle('premium_badge_masked', value)}- disabled={disabled || premiumBadgeHidden}- data-flx="user.my-profile-tab.premium-badge-settings.switch.toggle--3"- />- )}- {hasLifetimePremium && (- <Switch- label={- premiumLifetimeSequenceLabel- ? i18n._(HIDE_VISIONARY_ID_BADGE_DESCRIPTOR, {premiumLifetimeSequenceLabel})- : i18n._(HIDE_VISIONARY_ID_BADGE_2_DESCRIPTOR)- }- description={i18n._(REMOVE_YOUR_VISIONARY_ID_BADGE_DESCRIPTOR)}- value={premiumBadgeSequenceHidden}- onChange={(value) => onToggle('premium_badge_sequence_hidden', value)}- disabled={disabled || premiumBadgeHidden || premiumBadgeMasked}- data-flx="user.my-profile-tab.premium-badge-settings.switch.toggle--4"- />- )}- </div>- </div>- )}- {hasOperatorPassBadge && (- <div data-flx="user.my-profile-tab.premium-badge-settings.operator-pass">- <div className={styles.header} data-flx="user.my-profile-tab.premium-badge-settings.operator-pass-header">- <h2 className={styles.title} data-flx="user.my-profile-tab.premium-badge-settings.operator-pass-title">- {OPERATOR_PASS_NAME}- </h2>- {operatorPassSince && (- <p- className={styles.description}- data-flx="user.my-profile-tab.premium-badge-settings.operator-pass-description"- >- {i18n._(OPERATOR_PASS_SINCE_DESCRIPTOR, {since: formatOperatorPassSinceDate(operatorPassSince)})}- </p>- )}- </div>- <div- className={styles.switches}- data-flx="user.my-profile-tab.premium-badge-settings.operator-pass-switches"- >- <Switch- label={i18n._(SHOW_OPERATOR_PASS_BADGE_DESCRIPTOR)}- value={!operatorPassBadgeHidden}- onChange={(value) => onToggle('operator_pass_badge_hidden', !value)}- disabled={disabled}- data-flx="user.my-profile-tab.premium-badge-settings.switch.toggle--operator-pass"- />- <Switch- label={i18n._(HIDE_OPERATOR_PASS_DATE_DESCRIPTOR, {operatorPassName: OPERATOR_PASS_NAME})}- value={operatorPassBadgeTimestampHidden}- onChange={(value) => onToggle('operator_pass_badge_timestamp_hidden', value)}- disabled={disabled || operatorPassBadgeHidden}- data-flx="user.my-profile-tab.premium-badge-settings.switch.toggle--operator-pass-date"- />- <Switch- label={i18n._(HIDE_OPERATOR_PASS_COUNT_DESCRIPTOR)}- value={operatorPassBadgeCountHidden}- onChange={(value) => onToggle('operator_pass_badge_count_hidden', value)}- disabled={disabled}- data-flx="user.my-profile-tab.premium-badge-settings.switch.toggle--operator-pass-count"- />- </div>- <OperatorPassWallSettings data-flx="user.my-profile-tab.premium-badge-settings.operator-pass-wall-settings" />- </div>- )}- </div>- );- },-);diff --git a/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.module.css b/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.module.cssnew file mode 100644index 000000000..46077867d--- /dev/null+++ b/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.module.css@@ -0,0 +1,86 @@+/* SPDX-License-Identifier: AGPL-3.0-or-later */++.list {+ display: flex;+ flex-direction: column;+ gap: 1rem;+ margin: 0;+ padding: 0;+ list-style: none;+}++.item {+ display: flex;+ flex-direction: column;+ gap: 0.75rem;+}++.row {+ display: flex;+ align-items: center;+ gap: 0.75rem;+ min-width: 0;+}++.artSlot {+ display: inline-flex;+ flex-shrink: 0;+ align-items: center;+ justify-content: center;+ width: 2.5rem;+ height: 1.5rem;+}++.art {+ width: 1.5rem;+ height: 1.5rem;+ object-fit: contain;+}++.caption {+ color: var(--brand-primary-light);+ font-weight: 700;+ font-size: 1rem;+ line-height: 1;+ font-variant-numeric: tabular-nums;+ white-space: nowrap;+}++:global(.theme-light) .caption {+ color: var(--brand-primary-foreground);+}++.label {+ flex: 1;+ min-width: 0;+ color: var(--text-primary);+ font-size: 0.875rem;+ font-weight: 500;+ line-height: 1.25rem;+ overflow-wrap: anywhere;+}++.variants {+ display: flex;+ flex-direction: column;+ gap: 0.75rem;+ padding-inline-start: 3.25rem;+}++.note {+ margin: 0;+ color: var(--text-secondary);+ font-size: 0.875rem;+ line-height: 1.25rem;+}++.item > .note {+ padding-inline-start: 3.25rem;+}++.status {+ display: flex;+ flex-wrap: wrap;+ align-items: center;+ gap: 0.75rem;+}diff --git a/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx b/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsxnew file mode 100644index 000000000..0c4e4c436--- /dev/null+++ b/fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.tsx@@ -0,0 +1,242 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {SettingsSection} from '@app/features/app/components/dialogs/shared/SettingsSection';+import {OPERATOR_PASS_NAME} from '@app/features/app/config/I18nDisplayConstants';+import {TRY_AGAIN_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';+import {getPremiumProductName} from '@app/features/premium/utils/PremiumUtils';+import {Button} from '@app/features/ui/button/Button';+import {Switch} from '@app/features/ui/components/form/FormSwitch';+import {Spinner} from '@app/features/ui/components/Spinner';+import {PROFILE_BADGES_SECTION_ID} from '@app/features/user/commands/UserSettingsModalCommands';+import styles from '@app/features/user/components/modals/tabs/my_profile_tab/ProfileBadgeSettings.module.css';+import type {ProfileBadgePreviewState} from '@app/features/user/hooks/useOwnProfileBadges';+import {profileBadgeImageUrl} from '@app/features/user/utils/ProfileUtils';+import {PROFILE_BADGES_DESCRIPTOR} from '@app/features/user/utils/UserMessageDescriptors';+import type {OwnProfileBadgeResponse} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';+import type {MessageDescriptor} from '@lingui/core';+import {msg} from '@lingui/core/macro';+import {useLingui} from '@lingui/react/macro';+import {observer} from 'mobx-react-lite';+import type React from 'react';++const BADGES_DESCRIPTION_DESCRIPTOR = msg({+ message: 'Choose which badges other people see on your profile.',+ comment:+ 'Description under the "Badges" title in profile settings. Each badge in the list has a switch that shows or hides it for other people.',+});+const NO_BADGES_DESCRIPTOR = msg({+ message: "You don't have any badges yet.",+ comment: 'Shown in the "Badges" profile settings section when you hold no badges.',+});+const BADGES_LOAD_FAILED_DESCRIPTOR = msg({+ message: "Your badges couldn't be loaded.",+ comment:+ 'Shown in the "Badges" profile settings section when the list of badges fails to load, next to a "Try again" button.',+});+const SHOW_BADGE_DESCRIPTOR = msg({+ message: 'Show {badgeLabel} on your profile',+ comment:+ 'Screen reader label for the switch next to one badge in the "Badges" profile settings. {badgeLabel} is the badge name, such as "Fluxer Staff" or "Operator Pass since November 14, 2026".',+});+const VISIONARY_NUMBER_NEEDS_VISIONARY_DESCRIPTOR = msg({+ message: 'Shown only when your Visionary badge is visible and not masked.',+ comment:+ 'Note under the Visionary ID row in the "Badges" profile settings, shown while its switch is disabled because the Visionary badge is hidden or shown as a regular subscription. Visionary is a product name and stays untranslated.',+});+const HIDE_PURCHASE_DATE_DESCRIPTOR = msg({+ message: 'Hide {premiumProductName} purchase date',+ comment:+ 'Switch under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.',+});+const REMOVE_WHEN_YOU_FIRST_BOUGHT_FROM_YOUR_BADGE_DESCRIPTOR = msg({+ message: 'Remove when you first bought {premiumProductName} from your badge',+ comment:+ 'Description of the switch that hides the purchase date, under the premium badge row in the "Badges" profile settings. Preserve {premiumProductName}; it is inserted by code. Keep the tone plain and specific.',+});+const MASK_VISIONARY_AS_SUBSCRIPTION_DESCRIPTOR = msg({+ message: 'Mask Visionary as subscription',+ comment: 'Switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.',+});+const SHOW_YOUR_VISIONARY_AS_A_REGULAR_SUBSCRIPTION_INSTEAD_DESCRIPTOR = msg({+ message: 'Show your Visionary as a regular subscription instead',+ comment:+ 'Description of the masking switch under the Visionary badge row in the "Badges" profile settings. Keep the tone plain and specific.',+});+const HIDE_OPERATOR_PASS_DATE_DESCRIPTOR = msg({+ message: 'Hide when you got your {operatorPassName}',+ comment:+ 'Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the month and year the pass was first bought or received on the badge. Operator Pass is a product name and stays untranslated.',+});+const HIDE_OPERATOR_PASS_COUNT_DESCRIPTOR = msg({+ message: 'Hide how many Operator Passes you have',+ comment:+ 'Switch under the Operator Pass badge row in the "Badges" profile settings, with no description under it. When on, other people no longer see the number of passes on the badge or on the Operators\' wall. Operator Pass is a product name and stays untranslated.',+});++export type ProfileBadgeVariantField =+ | 'premium_badge_timestamp_hidden'+ | 'premium_badge_masked'+ | 'operator_pass_badge_timestamp_hidden'+ | 'operator_pass_badge_count_hidden';++export type ProfileBadgeVariants = Record<ProfileBadgeVariantField, boolean>;++interface BadgeVariant {+ field: ProfileBadgeVariantField;+ label: MessageDescriptor;+ description?: MessageDescriptor;+}++const PURCHASE_DATE_VARIANT: BadgeVariant = {+ field: 'premium_badge_timestamp_hidden',+ label: HIDE_PURCHASE_DATE_DESCRIPTOR,+ description: REMOVE_WHEN_YOU_FIRST_BOUGHT_FROM_YOUR_BADGE_DESCRIPTOR,+};++const BADGE_VARIANTS: Readonly<Record<string, ReadonlyArray<BadgeVariant>>> = {+ visionary: [+ {+ field: 'premium_badge_masked',+ label: MASK_VISIONARY_AS_SUBSCRIPTION_DESCRIPTOR,+ description: SHOW_YOUR_VISIONARY_AS_A_REGULAR_SUBSCRIPTION_INSTEAD_DESCRIPTOR,+ },+ PURCHASE_DATE_VARIANT,+ ],+ plutonium: [PURCHASE_DATE_VARIANT],+ premium: [PURCHASE_DATE_VARIANT],+ operator_pass: [+ {field: 'operator_pass_badge_timestamp_hidden', label: HIDE_OPERATOR_PASS_DATE_DESCRIPTOR},+ {field: 'operator_pass_badge_count_hidden', label: HIDE_OPERATOR_PASS_COUNT_DESCRIPTOR},+ ],+};++interface ProfileBadgeSettingsProps {+ preview: ProfileBadgePreviewState;+ hiddenProfileBadges: ReadonlyArray<string>;+ variants: ProfileBadgeVariants;+ disabled: boolean;+ onToggleHidden: (key: string, hidden: boolean) => void;+ onToggleVariant: (field: ProfileBadgeVariantField, value: boolean) => void;+}++function BadgeArt({badge}: {badge: OwnProfileBadgeResponse}) {+ const imageUrl = profileBadgeImageUrl(badge);+ if (imageUrl === null) {+ return (+ <span className={styles.caption} aria-hidden="true" data-flx="user.profile-badge-settings.caption">+ {badge.caption}+ </span>+ );+ }+ return (+ <img+ src={imageUrl}+ alt=""+ className={styles.art}+ style={badge.aspect_ratio ? {width: 'auto', aspectRatio: badge.aspect_ratio} : undefined}+ data-flx="user.profile-badge-settings.art"+ />+ );+}++function BadgeList({+ ownBadges,+ hiddenProfileBadges,+ variants,+ disabled,+ onToggleHidden,+ onToggleVariant,+}: Omit<ProfileBadgeSettingsProps, 'preview'> & {ownBadges: ReadonlyArray<OwnProfileBadgeResponse>}) {+ const {i18n} = useLingui();+ const hidden = new Set(hiddenProfileBadges);+ const premiumProductName = getPremiumProductName();+ return (+ <ul className={styles.list} data-flx="user.profile-badge-settings.list">+ {ownBadges.map((badge) => {+ const shown = !hidden.has(badge.key);+ const numberHasNoEffect =+ badge.key === 'visionary_number' && (hidden.has('visionary') || variants.premium_badge_masked);+ const badgeVariants = shown ? (BADGE_VARIANTS[badge.key] ?? []) : [];+ return (+ <li key={badge.key} className={styles.item} data-flx="user.profile-badge-settings.item">+ <div className={styles.row} data-flx="user.profile-badge-settings.row">+ <span className={styles.artSlot} data-flx="user.profile-badge-settings.art-slot">+ <BadgeArt badge={badge} data-flx="user.profile-badge-settings.badge-art" />+ </span>+ <span className={styles.label} dir="auto" data-flx="user.profile-badge-settings.label">+ {badge.label}+ </span>+ <Switch+ value={shown}+ onChange={(value) => onToggleHidden(badge.key, !value)}+ disabled={disabled || numberHasNoEffect}+ ariaLabel={i18n._(SHOW_BADGE_DESCRIPTOR, {badgeLabel: badge.label})}+ compact+ data-flx="user.profile-badge-settings.switch"+ />+ </div>+ {numberHasNoEffect && (+ <p className={styles.note} data-flx="user.profile-badge-settings.note">+ {i18n._(VISIONARY_NUMBER_NEEDS_VISIONARY_DESCRIPTOR)}+ </p>+ )}+ {badgeVariants.length > 0 && (+ <div className={styles.variants} data-flx="user.profile-badge-settings.variants">+ {badgeVariants.map((variant) => (+ <Switch+ key={variant.field}+ label={i18n._(variant.label, {premiumProductName, operatorPassName: OPERATOR_PASS_NAME})}+ description={variant.description ? i18n._(variant.description, {premiumProductName}) : undefined}+ value={variants[variant.field]}+ onChange={(value) => onToggleVariant(variant.field, value)}+ disabled={disabled}+ compact+ data-flx="user.profile-badge-settings.variant-switch"+ />+ ))}+ </div>+ )}+ </li>+ );+ })}+ </ul>+ );+}++export const ProfileBadgeSettings = observer(({preview, ...listProps}: ProfileBadgeSettingsProps) => {+ const {i18n} = useLingui();+ const ownBadges = preview.value?.own_badges;+ let body: React.ReactNode;+ if (ownBadges === undefined && preview.status === 'failed') {+ body = (+ <div className={styles.status} data-flx="user.profile-badge-settings.failed">+ <p className={styles.note} data-flx="user.profile-badge-settings.failed-text">+ {i18n._(BADGES_LOAD_FAILED_DESCRIPTOR)}+ </p>+ <Button variant="secondary" small onClick={preview.retry} data-flx="user.profile-badge-settings.retry">+ {i18n._(TRY_AGAIN_DESCRIPTOR)}+ </Button>+ </div>+ );+ } else if (ownBadges === undefined) {+ body = <Spinner data-flx="user.profile-badge-settings.spinner" />;+ } else if (ownBadges.length === 0) {+ body = (+ <p className={styles.note} data-flx="user.profile-badge-settings.empty">+ {i18n._(NO_BADGES_DESCRIPTOR)}+ </p>+ );+ } else {+ body = <BadgeList ownBadges={ownBadges} {...listProps} data-flx="user.profile-badge-settings.badge-list" />;+ }+ return (+ <SettingsSection+ id={PROFILE_BADGES_SECTION_ID}+ title={i18n._(PROFILE_BADGES_DESCRIPTOR)}+ description={i18n._(BADGES_DESCRIPTION_DESCRIPTOR)}+ data-flx="user.profile-badge-settings.section"+ >+ {body}+ </SettingsSection>+ );+});diff --git a/fluxer_app/src/features/user/components/modals/user_profile_modal/UserProfileModalUserInfo.tsx b/fluxer_app/src/features/user/components/modals/user_profile_modal/UserProfileModalUserInfo.tsxindex 4719068ac..8d5e14b04 100644--- a/fluxer_app/src/features/user/components/modals/user_profile_modal/UserProfileModalUserInfo.tsx+++ b/fluxer_app/src/features/user/components/modals/user_profile_modal/UserProfileModalUserInfo.tsx@@ -2,6 +2,8 @@import {CustomStatusDisplay} from '@app/features/app/components/shared/custom_status_display/CustomStatusDisplay';import {UserTag} from '@app/features/channel/components/ChannelUserTag';+import * as ModalCommands from '@app/features/ui/commands/ModalCommands';+import {openProfileBadgeSettings} from '@app/features/user/commands/UserSettingsModalCommands';import userProfileModalStyles from '@app/features/user/components/modals/UserProfileModal.module.css';import type {UserInfoProps} from '@app/features/user/components/modals/user_profile_modal/UserProfileModalShared';import {LimitedProfileNotice} from '@app/features/user/components/popouts/LimitedProfileNotice';@@ -9,6 +11,7 @@ import {UserProfileBadges} from '@app/features/user/components/popouts/UserProfiimport {UserProfileDataWarning} from '@app/features/user/components/popouts/UserProfileDataWarning';import {useAutoplayExpandedProfileAnimations} from '@app/features/user/hooks/useAutoplayExpandedProfileAnimations';import * as NicknameUtils from '@app/features/user/utils/NicknameUtils';+import {canEditOwnProfileBadges} from '@app/features/user/utils/ProfileEditAccess';import {getProfileMembershipDisplayName,resolveProfileGuildMembership,@@ -23,6 +26,10 @@ export const UserInfo: React.FC<UserInfoProps> = observer(({user, profile, guildconst displayName = getProfileMembershipDisplayName(user, membership, guildId);const effectiveProfile = profile?.getEffectiveProfile() ?? null;const shouldAutoplayProfileAnimations = useAutoplayExpandedProfileAnimations();+ const handleEditBadges = () => {+ ModalCommands.pop();+ openProfileBadgeSettings();+ };return (<div className={userProfileModalStyles.userInfo} data-flx="user.user-profile-modal.user-info.div"><div@@ -68,6 +75,7 @@ export const UserInfo: React.FC<UserInfoProps> = observer(({user, profile, guildbadges={profile.profileBadges}isModal={true}isMobile={false}+ onEditBadges={canEditOwnProfileBadges(user.id, profile) ? handleEditBadges : undefined}data-flx="user.user-profile-modal.user-info.user-profile-badges"/></div>diff --git a/fluxer_app/src/features/user/components/popouts/UserProfileBadges.module.css b/fluxer_app/src/features/user/components/popouts/UserProfileBadges.module.cssindex dadd1b862..ec901bec2 100644--- a/fluxer_app/src/features/user/components/popouts/UserProfileBadges.module.css+++ b/fluxer_app/src/features/user/components/popouts/UserProfileBadges.module.css@@ -2,6 +2,7 @@.containerModal {display: flex;+ flex-wrap: wrap;align-items: center;}@@ -19,10 +20,14 @@.containerPopout {position: absolute;- top: 7.0625rem;+ top: 9.0625rem;inset-inline-end: 0.625rem;z-index: 10;display: flex;+ flex-wrap: wrap;+ justify-content: flex-end;+ max-width: calc(100% - 7rem);+ transform: translateY(-100%);gap: 0.375rem;border-radius: 0.375rem;padding: 0.25rem;@@ -116,3 +121,25 @@font-size: 0.8125rem;line-height: 1.125rem;}++.editButton {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ padding: 0;+ border: 0;+ border-radius: 0.25rem;+ background: none;+ color: var(--text-primary-muted);+ cursor: pointer;+}++:global(:where(html.window-focused, html.unfocused-fully-interactive):not(.window-focus-activation-guard))+ .editButton:hover {+ color: var(--text-primary);+}++.editIcon {+ width: 1rem;+ height: 1rem;+}diff --git a/fluxer_app/src/features/user/components/popouts/UserProfileBadges.tsx b/fluxer_app/src/features/user/components/popouts/UserProfileBadges.tsxindex c2336d87a..cf0bd4c8f 100644--- a/fluxer_app/src/features/user/components/popouts/UserProfileBadges.tsx+++ b/fluxer_app/src/features/user/components/popouts/UserProfileBadges.tsx@@ -8,6 +8,9 @@ import {handleExternalLinkClick} from '@app/features/ui/utils/NativeUtils';import styles from '@app/features/user/components/popouts/UserProfileBadges.module.css';import {profileBadgeImageUrl} from '@app/features/user/utils/ProfileUtils';import type {ProfileBadgeResponse} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';+import {msg} from '@lingui/core/macro';+import {useLingui} from '@lingui/react/macro';+import {PencilSimpleIcon} from '@phosphor-icons/react';import {clsx} from 'clsx';import {observer} from 'mobx-react-lite';import type React from 'react';@@ -17,9 +20,16 @@ interface UserProfileBadgesProps {badges: ReadonlyArray<ProfileBadgeResponse>;isModal?: boolean;isMobile?: boolean;+ onEditBadges?: () => void;'data-flx'?: string;}+const EDIT_BADGES_DESCRIPTOR = msg({+ message: 'Edit badges',+ comment:+ 'Tooltip and screen reader label for the pencil button next to your own profile badges. It opens the profile settings where you choose which badges other people see.',+});+const BADGE_REVEAL_TIMEOUT_MS = 1000;function isSettledImage(url: string): boolean {@@ -27,7 +37,7 @@ function isSettledImage(url: string): boolean {}function useBadgeImagesReady(badges: ReadonlyArray<ProfileBadgeResponse>): boolean {- const key = badges.flatMap((badge) => (badge.asset === null ? [] : [profileBadgeImageUrl(badge.asset)])).join('\n');+ const key = badges.flatMap((badge) => profileBadgeImageUrl(badge) ?? []).join('\n');const settled = key === '' || key.split('\n').every(isSettledImage);const [readyKey, setReadyKey] = useState<string | null>(null);useEffect(() => {@@ -57,11 +67,12 @@ function ProfileBadgeDetailsTooltip({details: NonNullable<ProfileBadgeResponse['details']>;'data-flx': string;}) {+ const imageUrl = profileBadgeImageUrl(badge);return (<div className={styles.details} data-flx={dataFlx}>- {badge.asset !== null && (+ {imageUrl !== null && (<img- src={profileBadgeImageUrl(badge.asset)}+ src={imageUrl}alt=""className={styles.detailsArt}style={badge.aspect_ratio ? {width: 'auto', aspectRatio: badge.aspect_ratio} : undefined}@@ -86,9 +97,10 @@ function opensPremiumModal(badge: ProfileBadgeResponse): boolean {}export const UserProfileBadges: React.FC<UserProfileBadgesProps> = observer(- ({badges, isModal = false, isMobile = false, 'data-flx': dataFlx = 'user.user-profile-badges'}) => {+ ({badges, isModal = false, isMobile = false, onEditBadges, 'data-flx': dataFlx = 'user.user-profile-badges'}) => {+ const {i18n} = useLingui();const ready = useBadgeImagesReady(badges);- if (badges.length === 0) {+ if (badges.length === 0 && !onEditBadges) {return null;}const containerClassName = isModal@@ -132,10 +144,11 @@ export const UserProfileBadges: React.FC<UserProfileBadgesProps> = observer(return (<div className={clsx(containerClassName, !ready && styles.pending)} data-flx={dataFlx}>{badges.map((badge) => {+ const imageUrl = profileBadgeImageUrl(badge);const content =- badge.asset !== null ? (+ imageUrl !== null ? (<img- src={profileBadgeImageUrl(badge.asset)}+ src={imageUrl}alt={badge.accessible_label ?? badge.caption ?? badge.label}className={touch ? styles.badgeMobile : styles.badgeDesktop}style={badge.aspect_ratio ? {width: 'auto', aspectRatio: badge.aspect_ratio} : undefined}@@ -158,13 +171,28 @@ export const UserProfileBadges: React.FC<UserProfileBadgesProps> = observer(): badge.label;return (- <Tooltip key={badge.kind} text={tooltipText} maxWidth="xl" data-flx={`${dataFlx}.tooltip`}>+ <Tooltip key={badge.key} text={tooltipText} maxWidth="xl" data-flx={`${dataFlx}.tooltip`}><FocusRing offset={-2} data-flx={`${dataFlx}.focus-ring`}>{renderInteractiveWrapper(badge, content)}</FocusRing></Tooltip>);})}+ {onEditBadges && (+ <Tooltip text={i18n._(EDIT_BADGES_DESCRIPTOR)} data-flx={`${dataFlx}.edit-tooltip`}>+ <FocusRing offset={-2} data-flx={`${dataFlx}.edit-focus-ring`}>+ <button+ type="button"+ className={clsx(styles.editButton, touch ? styles.badgeMobile : styles.badgeDesktop)}+ aria-label={i18n._(EDIT_BADGES_DESCRIPTOR)}+ onClick={onEditBadges}+ data-flx={`${dataFlx}.edit-button`}+ >+ <PencilSimpleIcon weight="bold" className={styles.editIcon} data-flx={`${dataFlx}.edit-icon`} />+ </button>+ </FocusRing>+ </Tooltip>+ )}</div>);},diff --git a/fluxer_app/src/features/user/components/popouts/UserProfilePopout.tsx b/fluxer_app/src/features/user/components/popouts/UserProfilePopout.tsxindex 10a1a0fff..e570d9ddb 100644--- a/fluxer_app/src/features/user/components/popouts/UserProfilePopout.tsx+++ b/fluxer_app/src/features/user/components/popouts/UserProfilePopout.tsx@@ -26,6 +26,7 @@ import {modal} from '@app/features/ui/commands/ModalCommands';import * as PopoutCommands from '@app/features/ui/commands/PopoutCommands';import FocusRingScope from '@app/features/ui/focus_ring/FocusRingScope';import * as UserProfileCommands from '@app/features/user/commands/UserProfileCommands';+import {openProfileBadgeSettings} from '@app/features/user/commands/UserSettingsModalCommands';import {LimitedProfileNotice} from '@app/features/user/components/popouts/LimitedProfileNotice';import {UserProfileBadges} from '@app/features/user/components/popouts/UserProfileBadges';import {UserProfileDataWarning} from '@app/features/user/components/popouts/UserProfileDataWarning';@@ -52,7 +53,7 @@ import {useUserProfileSurfaceState} from '@app/features/user/hooks/useUserProfilimport type {User} from '@app/features/user/models/User';import {blockedDmConfirmModal, openDMChannelOrShowError} from '@app/features/user/utils/DMActionUtils';import * as NicknameUtils from '@app/features/user/utils/NicknameUtils';-import {canOpenProfileEditor} from '@app/features/user/utils/ProfileEditAccess';+import {canEditOwnProfileBadges, canOpenProfileEditor} from '@app/features/user/utils/ProfileEditAccess';import {resolveProfileGuildMembership} from '@app/features/user/utils/ProfileGuildMembership';import {createMockProfile} from '@app/features/user/utils/ProfileUtils';import {Permissions} from '@fluxer/constants/src/ChannelConstants';@@ -272,9 +273,15 @@ export const UserProfilePopout: React.FC<UserProfilePopoutProps> = observer(data-flx="user.user-profile-popout.profile-card-banner"/>);+ const visibleProfileBadges = profile?.profileBadges ?? [];+ const handleEditBadges = () => {+ openProfileBadgeSettings();+ requestClose();+ };const profileBadges = !isWebhook && (<UserProfileBadges- badges={profile?.profileBadges ?? []}+ badges={visibleProfileBadges}+ onEditBadges={canEditOwnProfileBadges(user.id, profile) ? handleEditBadges : undefined}data-flx="user.user-profile-popout.user-profile-badges"/>);diff --git a/fluxer_app/src/features/user/components/profile/ProfilePreview.tsx b/fluxer_app/src/features/user/components/profile/ProfilePreview.tsxindex a85153229..53495b596 100644--- a/fluxer_app/src/features/user/components/profile/ProfilePreview.tsx+++ b/fluxer_app/src/features/user/components/profile/ProfilePreview.tsx@@ -31,7 +31,7 @@ import * as NicknameUtils from '@app/features/user/utils/NicknameUtils';import type {ProfilePreviewOverrides} from '@app/features/user/utils/ProfileDisplayUtils';import {createMockProfile} from '@app/features/user/utils/ProfileUtils';import {YOU_CAN_T_MESSAGE_YOURSELF_DESCRIPTOR} from '@app/features/user/utils/UserMessageDescriptors';-import type {ProfileBadgePreviewRequest} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';+import type {ProfileBadgeResponse} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';import type {UserProfile} from '@fluxer/schema/src/domains/user/UserResponseSchemas';import {msg} from '@lingui/core/macro';import {Trans, useLingui} from '@lingui/react/macro';@@ -60,7 +60,7 @@ interface ProfilePreviewProps {guildId?: string | null;guildMember?: GuildMember | null;guildMemberProfile?: UserProfile | null;- previewBadgeSettings?: ProfileBadgePreviewRequest;+ previewProfileBadges?: ReadonlyArray<ProfileBadgeResponse>;ignoreGuildAvatarInPreview?: boolean;ignoreGuildBannerInPreview?: boolean;showMembershipInfo?: boolean;@@ -86,7 +86,7 @@ export const ProfilePreview: React.FC<ProfilePreviewProps> = observer(guildId,guildMember,guildMemberProfile,- previewBadgeSettings,+ previewProfileBadges,ignoreGuildAvatarInPreview,ignoreGuildBannerInPreview,showMembershipInfo = true,@@ -115,7 +115,8 @@ export const ProfilePreview: React.FC<ProfilePreviewProps> = observer(],);const isCommunityProfile = Boolean(guildId && guildMemberProfile);- const profileBadges = useOwnProfileBadges(user.id, previewBadgeSettings);+ const cachedProfileBadges = useOwnProfileBadges(user.id);+ const profileBadges = previewProfileBadges ?? cachedProfileBadges;const previewUser = useMemo(() => {const globalName = previewGlobalName !== undefined ? previewGlobalName : user.globalName;if (isCommunityProfile) {diff --git a/fluxer_app/src/features/user/components/settings_utils/search_index/MyProfileIndex.ts b/fluxer_app/src/features/user/components/settings_utils/search_index/MyProfileIndex.tsindex a853249a7..0f13789d3 100644--- a/fluxer_app/src/features/user/components/settings_utils/search_index/MyProfileIndex.ts+++ b/fluxer_app/src/features/user/components/settings_utils/search_index/MyProfileIndex.ts@@ -1,16 +1,13 @@// SPDX-License-Identifier: AGPL-3.0-or-later-import {shouldShowPremiumFeatures} from '@app/features/premium/utils/PremiumUtils';import {shouldShowClaimedAccountSettings} from '@app/features/user/components/settings_utils/SettingsVisibility';import type {SearchableSettingDescriptor} from '@app/features/user/components/settings_utils/search_index/SearchIndexTypes';import {BACKGROUND_DESCRIPTOR,BIO_DESCRIPTOR,COLOR_DESCRIPTOR,- PREMIUM_PRODUCT_NAME_KEYWORD,PRONOUNS_DESCRIPTOR,} from '@app/features/user/components/settings_utils/section_registry/SharedDescriptors';-import Users from '@app/features/user/state/Users';import {ABOUT_ME_DESCRIPTOR,ACCENT_COLOR_DESCRIPTOR,@@ -168,25 +165,6 @@ const SET_YOUR_PRONOUNS_DESCRIPTOR = msg({message: 'Set your pronouns',comment: 'Settings search entry description. One-line summary of what the settings search entry controls.',});-const BADGE_DESCRIPTOR = msg({- message: 'Badge',- comment: 'Settings search entry label. Also used as a search synonym in the settings search bar.',-});-const PREMIUM_BADGE_DESCRIPTOR = msg({- message: 'Premium badge',- comment: 'Settings search synonym. Used to match this term when the user types it in the settings search bar.',-});-const CONFIGURE_YOUR_PROFILE_BADGE_DESCRIPTOR = msg({- message: 'Configure your profile badge',- comment: 'Settings search entry description. One-line summary of what the settings search entry controls.',-});--function shouldShowPremiumBadgeSettings(): boolean {- return (- shouldShowClaimedAccountSettings() && shouldShowPremiumFeatures() && (Users.getCurrentUser()?.isPremium() ?? false)- );-}-export const myProfileIndex: Array<SearchableSettingDescriptor> = [{id: 'profile-avatar',@@ -277,12 +255,4 @@ export const myProfileIndex: Array<SearchableSettingDescriptor> = [description: SET_YOUR_PRONOUNS_DESCRIPTOR,isVisible: shouldShowClaimedAccountSettings,},- {- id: 'profile-badge',- tabType: 'my_profile',- label: BADGE_DESCRIPTOR,- keywords: [BADGE_DESCRIPTOR, PREMIUM_BADGE_DESCRIPTOR, PREMIUM_PRODUCT_NAME_KEYWORD],- description: CONFIGURE_YOUR_PROFILE_BADGE_DESCRIPTOR,- isVisible: shouldShowPremiumBadgeSettings,- },];diff --git a/fluxer_app/src/features/user/components/settings_utils/section_registry/GeneralSettingsSections.ts b/fluxer_app/src/features/user/components/settings_utils/section_registry/GeneralSettingsSections.tsindex 385a9cd3d..25b6533d0 100644--- a/fluxer_app/src/features/user/components/settings_utils/section_registry/GeneralSettingsSections.ts+++ b/fluxer_app/src/features/user/components/settings_utils/section_registry/GeneralSettingsSections.ts@@ -15,6 +15,7 @@ import {} from '@app/features/user/components/settings_utils/section_registry/SharedDescriptors';import {INTERFACE_LANGUAGE_DESCRIPTOR,+ PROFILE_BADGES_DESCRIPTOR,PROFILE_CUSTOMIZATION_DESCRIPTOR,} from '@app/features/user/utils/UserMessageDescriptors';import {msg} from '@lingui/core/macro';@@ -47,6 +48,13 @@ export const generalSettingsSections = [keywords: [],isAdvanced: false,},+ {+ id: 'profile-badges',+ tabType: 'my_profile',+ label: PROFILE_BADGES_DESCRIPTOR,+ keywords: [],+ isAdvanced: false,+ },{id: 'redeem-gift', tabType: 'gift_inventory', label: REDEEM_A_GIFT_DESCRIPTOR, keywords: [], isAdvanced: false},{id: 'purchased-gifts',diff --git a/fluxer_app/src/features/user/hooks/useOwnProfileBadges.ts b/fluxer_app/src/features/user/hooks/useOwnProfileBadges.tsindex b878d4ed3..f104d4b22 100644--- a/fluxer_app/src/features/user/hooks/useOwnProfileBadges.ts+++ b/fluxer_app/src/features/user/hooks/useOwnProfileBadges.ts@@ -6,71 +6,44 @@ import * as UserProfileCommands from '@app/features/user/commands/UserProfileComimport UserProfile from '@app/features/user/state/UserProfile';import type {ProfileBadgePreviewRequest,+ ProfileBadgePreviewResponse,ProfileBadgeResponse,} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';-import {useEffect, useMemo} from 'react';+import {useCallback, useEffect, useMemo, useState} from 'react';const logger = new Logger('useOwnProfileBadges');const PREVIEW_DEBOUNCE_MS = 250;const NO_BADGES: ReadonlyArray<ProfileBadgeResponse> = [];-export function useOwnProfileBadges(- userId: string | null,- settings?: ProfileBadgePreviewRequest,-): ReadonlyArray<ProfileBadgeResponse> {+export function useOwnProfileBadges(userId: string | null): ReadonlyArray<ProfileBadgeResponse> {const cachedBadges = userId ? UserProfile.getProfile(userId)?.profileBadges : undefined;- const hasSettings = Boolean(settings);- const premiumBadgeHidden = settings?.premium_badge_hidden;- const premiumBadgeTimestampHidden = settings?.premium_badge_timestamp_hidden;- const premiumBadgeMasked = settings?.premium_badge_masked;- const premiumBadgeSequenceHidden = settings?.premium_badge_sequence_hidden;- const operatorPassBadgeHidden = settings?.operator_pass_badge_hidden;- const operatorPassBadgeTimestampHidden = settings?.operator_pass_badge_timestamp_hidden;- const operatorPassBadgeCountHidden = settings?.operator_pass_badge_count_hidden;const hasCachedProfile = cachedBadges !== undefined;useEffect(() => {- if (!userId || hasSettings || hasCachedProfile) {+ if (!userId || hasCachedProfile) {return;}UserProfileCommands.fetch(userId).catch((error: unknown) => {logger.warn('Failed to load profile badges', error);});- }, [userId, hasSettings, hasCachedProfile]);- const request = useMemo(() => {- if (!userId || !hasSettings) {- return null;- }- return {- input: {- premium_badge_hidden: premiumBadgeHidden,- premium_badge_timestamp_hidden: premiumBadgeTimestampHidden,- premium_badge_masked: premiumBadgeMasked,- premium_badge_sequence_hidden: premiumBadgeSequenceHidden,- operator_pass_badge_hidden: operatorPassBadgeHidden,- operator_pass_badge_timestamp_hidden: operatorPassBadgeTimestampHidden,- operator_pass_badge_count_hidden: operatorPassBadgeCountHidden,- },- load: UserProfileCommands.previewBadges,- };- }, [- userId,- hasSettings,- premiumBadgeHidden,- premiumBadgeTimestampHidden,- premiumBadgeMasked,- premiumBadgeSequenceHidden,- operatorPassBadgeHidden,- operatorPassBadgeTimestampHidden,- operatorPassBadgeCountHidden,- ]);+ }, [userId, hasCachedProfile]);+ return cachedBadges ?? NO_BADGES;+}++export interface ProfileBadgePreviewState {+ status: 'pending' | 'failed' | 'ready';+ value: ProfileBadgePreviewResponse | undefined;+ retry: () => void;+}++export function useProfileBadgePreview(settings: ProfileBadgePreviewRequest | null): ProfileBadgePreviewState {+ const [retryAttempt, setRetryAttempt] = useState(0);+ const request = useMemo(+ () => (settings ? {input: settings, load: UserProfileCommands.previewBadges, retryAttempt} : null),+ [settings, retryAttempt],+ );const preview = useDebouncedAsyncResource(request, PREVIEW_DEBOUNCE_MS, (error) => {- logger.warn('Failed to load profile badges', error);+ logger.warn('Failed to preview profile badges', error);});- if (!userId) {- return NO_BADGES;- }- if (hasSettings && preview?.value) {- return preview.value;- }- return cachedBadges ?? NO_BADGES;+ const retry = useCallback(() => setRetryAttempt((attempt) => attempt + 1), []);+ return {status: preview?.status ?? 'pending', value: preview?.value, retry};}diff --git a/fluxer_app/src/features/user/models/Profile.ts b/fluxer_app/src/features/user/models/Profile.tsindex 374204cea..34d3cd857 100644--- a/fluxer_app/src/features/user/models/Profile.ts+++ b/fluxer_app/src/features/user/models/Profile.ts@@ -22,6 +22,7 @@ export type ProfileWire = Readonly<{timezone_offset: number | null;guild_member?: GuildMemberData;profile_badges?: ReadonlyArray<ProfileBadgeResponse>;+ hidden_profile_badge_count?: number;mutual_friends?: Array<UserPartial>;mutual_guilds?: Array<ProfileMutualGuild>;connected_accounts?: Array<ConnectionResponse>;@@ -35,6 +36,7 @@ export class Profile {readonly guildMemberProfile: Readonly<UserProfile> | null;readonly timezoneOffset: number | null;readonly profileBadges: ReadonlyArray<ProfileBadgeResponse>;+ readonly hiddenProfileBadgeCount: number;readonly mutualFriends: ReadonlyArray<UserPartial> | null;readonly mutualGuilds: ReadonlyArray<ProfileMutualGuild> | null;readonly connectedAccounts: ReadonlyArray<ConnectionResponse> | null;@@ -48,6 +50,7 @@ export class Profile {this.guildMemberProfile = profile.guild_member_profile ? Object.freeze({...profile.guild_member_profile}) : null;this.timezoneOffset = profile.timezone_offset;this.profileBadges = Object.freeze([...(profile.profile_badges ?? [])]);+ this.hiddenProfileBadgeCount = profile.hidden_profile_badge_count ?? 0;this.mutualFriends = profile.mutual_friends ? Object.freeze([...profile.mutual_friends]) : null;this.mutualGuilds = profile.mutual_guilds ? Object.freeze([...profile.mutual_guilds]) : null;this.connectedAccounts = profile.connected_accounts ? Object.freeze([...profile.connected_accounts]) : null;@@ -69,6 +72,7 @@ export class Profile {guild_member:updates.guild_member !== undefined ? updates.guild_member : (this.embeddedGuildMember?.toJSON() ?? undefined),profile_badges: updates.profile_badges ?? this.profileBadges,+ hidden_profile_badge_count: updates.hidden_profile_badge_count ?? this.hiddenProfileBadgeCount,mutual_friends: updates.mutual_friends ?? (this.mutualFriends ? [...this.mutualFriends] : undefined),mutual_guilds: updates.mutual_guilds ?? (this.mutualGuilds ? [...this.mutualGuilds] : undefined),connected_accounts:@@ -123,6 +127,7 @@ export class Profile {guild_member: this.embeddedGuildMember?.toJSON(),timezone_offset: this.timezoneOffset,profile_badges: [...this.profileBadges],+ hidden_profile_badge_count: this.hiddenProfileBadgeCount,mutual_friends: this.mutualFriends ? [...this.mutualFriends] : undefined,mutual_guilds: this.mutualGuilds ? [...this.mutualGuilds] : undefined,connected_accounts: this.connectedAccounts ? [...this.connectedAccounts] : undefined,diff --git a/fluxer_app/src/features/user/models/User.ts b/fluxer_app/src/features/user/models/User.tsindex b0b00bd29..8079091fd 100644--- a/fluxer_app/src/features/user/models/User.ts+++ b/fluxer_app/src/features/user/models/User.ts@@ -167,11 +167,9 @@ export class User {private readonly _premiumLifetimeSequence: number | null | undefined;private readonly _premiumGraceEndsAt: Date | null | undefined;private readonly _premiumDiscriminator: boolean | undefined;- readonly premiumBadgeHidden: boolean | undefined;+ readonly hiddenProfileBadges: ReadonlyArray<string> | undefined;readonly premiumBadgeMasked: boolean | undefined;readonly premiumBadgeTimestampHidden: boolean | undefined;- readonly premiumBadgeSequenceHidden: boolean | undefined;- readonly operatorPassBadgeHidden: boolean | undefined;readonly operatorPassBadgeTimestampHidden: boolean | undefined;readonly operatorPassBadgeCountHidden: boolean | undefined;readonly operatorPassSince: Date | null | undefined;@@ -238,17 +236,13 @@ export class User {? (user.premium_lifetime_sequence ?? null): undefined;this._premiumDiscriminator = hasKey(user, 'premium_discriminator') ? user.premium_discriminator : undefined;- this.premiumBadgeHidden = hasKey(user, 'premium_badge_hidden') ? user.premium_badge_hidden : undefined;+ this.hiddenProfileBadges = hasKey(user, 'hidden_profile_badges')+ ? Object.freeze([...(user.hidden_profile_badges ?? [])])+ : undefined;this.premiumBadgeMasked = hasKey(user, 'premium_badge_masked') ? user.premium_badge_masked : undefined;this.premiumBadgeTimestampHidden = hasKey(user, 'premium_badge_timestamp_hidden')? user.premium_badge_timestamp_hidden: undefined;- this.premiumBadgeSequenceHidden = hasKey(user, 'premium_badge_sequence_hidden')- ? user.premium_badge_sequence_hidden- : undefined;- this.operatorPassBadgeHidden = hasKey(user, 'operator_pass_badge_hidden')- ? user.operator_pass_badge_hidden- : undefined;this.operatorPassBadgeTimestampHidden = hasKey(user, 'operator_pass_badge_timestamp_hidden')? user.operator_pass_badge_timestamp_hidden: undefined;@@ -468,8 +462,8 @@ export class User {if (premiumGraceEndsAt !== undefined) result.premium_grace_ends_at = dateToIsoOrNull(premiumGraceEndsAt);const premiumDiscriminator = pickField(this._premiumDiscriminator, u, 'premium_discriminator', opts);if (premiumDiscriminator !== undefined) result.premium_discriminator = premiumDiscriminator;- const premiumBadgeHidden = pickField(this.premiumBadgeHidden, u, 'premium_badge_hidden', opts);- if (premiumBadgeHidden !== undefined) result.premium_badge_hidden = premiumBadgeHidden;+ const hiddenProfileBadges = pickField(this.hiddenProfileBadges, u, 'hidden_profile_badges', opts);+ if (hiddenProfileBadges !== undefined) result.hidden_profile_badges = hiddenProfileBadges;const premiumBadgeMasked = pickField(this.premiumBadgeMasked, u, 'premium_badge_masked', opts);if (premiumBadgeMasked !== undefined) result.premium_badge_masked = premiumBadgeMasked;const premiumBadgeTimestampHidden = pickField(@@ -479,15 +473,6 @@ export class User {opts,);if (premiumBadgeTimestampHidden !== undefined) result.premium_badge_timestamp_hidden = premiumBadgeTimestampHidden;- const premiumBadgeSequenceHidden = pickField(- this.premiumBadgeSequenceHidden,- u,- 'premium_badge_sequence_hidden',- opts,- );- if (premiumBadgeSequenceHidden !== undefined) result.premium_badge_sequence_hidden = premiumBadgeSequenceHidden;- const operatorPassBadgeHidden = pickField(this.operatorPassBadgeHidden, u, 'operator_pass_badge_hidden', opts);- if (operatorPassBadgeHidden !== undefined) result.operator_pass_badge_hidden = operatorPassBadgeHidden;const operatorPassBadgeTimestampHidden = pickField(this.operatorPassBadgeTimestampHidden,u,@@ -731,11 +716,9 @@ export class User {this._premiumBillingCycle === other._premiumBillingCycle &&this._premiumLifetimeSequence === other._premiumLifetimeSequence &&this._premiumDiscriminator === other._premiumDiscriminator &&- this.premiumBadgeHidden === other.premiumBadgeHidden &&+ arraysShallowEqual(this.hiddenProfileBadges, other.hiddenProfileBadges) &&this.premiumBadgeMasked === other.premiumBadgeMasked &&this.premiumBadgeTimestampHidden === other.premiumBadgeTimestampHidden &&- this.premiumBadgeSequenceHidden === other.premiumBadgeSequenceHidden &&- this.operatorPassBadgeHidden === other.operatorPassBadgeHidden &&this.operatorPassBadgeTimestampHidden === other.operatorPassBadgeTimestampHidden &&this.operatorPassBadgeCountHidden === other.operatorPassBadgeCountHidden &&datesEqual(this.operatorPassSince, other.operatorPassSince) &&@@ -804,11 +787,9 @@ export class User {this._premiumGraceEndsAt === undefined ? undefined : dateToIsoOrNull(this._premiumGraceEndsAt),);setOptional('premium_discriminator', this._premiumDiscriminator);- setOptional('premium_badge_hidden', this.premiumBadgeHidden);+ setOptional('hidden_profile_badges', this.hiddenProfileBadges);setOptional('premium_badge_masked', this.premiumBadgeMasked);setOptional('premium_badge_timestamp_hidden', this.premiumBadgeTimestampHidden);- setOptional('premium_badge_sequence_hidden', this.premiumBadgeSequenceHidden);- setOptional('operator_pass_badge_hidden', this.operatorPassBadgeHidden);setOptional('operator_pass_badge_timestamp_hidden', this.operatorPassBadgeTimestampHidden);setOptional('operator_pass_badge_count_hidden', this.operatorPassBadgeCountHidden);setOptional(diff --git a/fluxer_app/src/features/user/state/Users.ts b/fluxer_app/src/features/user/state/Users.tsindex 33e3a3f38..d71f4e56b 100644--- a/fluxer_app/src/features/user/state/Users.ts+++ b/fluxer_app/src/features/user/state/Users.ts@@ -23,11 +23,9 @@ const CURRENT_USER_PRIVATE_WIRE_KEYS = ['premium_lifetime_sequence','premium_grace_ends_at','premium_discriminator',- 'premium_badge_hidden',+ 'hidden_profile_badges','premium_badge_masked','premium_badge_timestamp_hidden',- 'premium_badge_sequence_hidden',- 'operator_pass_badge_hidden','operator_pass_badge_timestamp_hidden','operator_pass_badge_count_hidden','operator_pass_since',diff --git a/fluxer_app/src/features/user/utils/ProfileEditAccess.ts b/fluxer_app/src/features/user/utils/ProfileEditAccess.tsindex 9a771b138..7d77b1489 100644--- a/fluxer_app/src/features/user/utils/ProfileEditAccess.ts+++ b/fluxer_app/src/features/user/utils/ProfileEditAccess.ts@@ -1,5 +1,7 @@// SPDX-License-Identifier: AGPL-3.0-or-later+import type {Profile} from '@app/features/user/models/Profile';+import Users from '@app/features/user/state/Users';import {type AccountGateUser, canPerform} from '@app/features/user/utils/AccountGates';import {AccountTiers, TierGatedActions} from '@fluxer/constants/src/AccountTierConstants';@@ -7,3 +9,12 @@ export function canOpenProfileEditor(user: AccountGateUser | null | undefined):const gate = canPerform(user, TierGatedActions.PROFILE_CUSTOMIZE);return gate.allowed || gate.tier === AccountTiers.UNVERIFIED;}++export function canEditOwnProfileBadges(+ userId: string,+ profile: Pick<Profile, 'profileBadges' | 'hiddenProfileBadgeCount'> | null | undefined,+): boolean {+ const currentUser = Users.currentUser;+ if (!profile || !currentUser || currentUser.id !== userId || !canOpenProfileEditor(currentUser)) return false;+ return profile.profileBadges.length > 0 || profile.hiddenProfileBadgeCount > 0;+}diff --git a/fluxer_app/src/features/user/utils/ProfileUtils.ts b/fluxer_app/src/features/user/utils/ProfileUtils.tsindex 2ebadad22..c116e5664 100644--- a/fluxer_app/src/features/user/utils/ProfileUtils.ts+++ b/fluxer_app/src/features/user/utils/ProfileUtils.ts@@ -53,12 +53,19 @@ export function createMockProfile(});}-export function profileBadgeImageUrl(asset: string): string {- return `${RuntimeConfig.staticCdnEndpoint}/badges/${asset}.webp`;+export function customBadgeImageUrl(assetUrl: string): string {+ return `${assetUrl}?size=96`;+}++export function profileBadgeImageUrl(badge: Pick<ProfileBadgeResponse, 'asset' | 'asset_url'>): string | null {+ if (badge.asset !== null) return `${RuntimeConfig.staticCdnEndpoint}/badges/${badge.asset}.webp`;+ if (badge.asset_url) return customBadgeImageUrl(badge.asset_url);+ return null;}export function warmProfileBadgeImages(badges: ReadonlyArray<ProfileBadgeResponse>): void {for (const badge of badges) {- if (badge.asset !== null) ImageCacheUtils.warmImage(profileBadgeImageUrl(badge.asset));+ const url = profileBadgeImageUrl(badge);+ if (url) ImageCacheUtils.warmImage(url);}}diff --git a/fluxer_app/src/features/user/utils/UserMessageDescriptors.ts b/fluxer_app/src/features/user/utils/UserMessageDescriptors.tsindex 36a10e60b..e713dfb5f 100644--- a/fluxer_app/src/features/user/utils/UserMessageDescriptors.ts+++ b/fluxer_app/src/features/user/utils/UserMessageDescriptors.ts@@ -237,6 +237,11 @@ export const PROFILE_CUSTOMIZATION_DESCRIPTOR = msg({comment: 'Settings section label for editing profile appearance and identity.',});+export const PROFILE_BADGES_DESCRIPTOR = msg({+ message: 'Badges',+ comment: 'Title of the profile settings section that lists the badges you hold and lets you hide each one.',+});+export const COMMUNITY_NICKNAME_DESCRIPTOR = msg({message: 'Community nickname',comment: 'Settings search entry label. Also used as a search synonym in the settings search bar.',diff --git a/fluxer_common/src/user_flags.rs b/fluxer_common/src/user_flags.rsindex 0dc1130fd..f81d10847 100644--- a/fluxer_common/src/user_flags.rs+++ b/fluxer_common/src/user_flags.rs@@ -7,23 +7,31 @@ const USER_FLAG_SPAMMER: i64 = 1 << 6;pub const USER_FLAG_PROFILE_HIDDEN: i64 = 1 << 7;const USER_FLAG_DELETED: i64 = 1 << 34;const USER_FLAG_DISABLED: i64 = 1 << 38;-pub const USER_FLAG_STAFF_HIDDEN: i64 = 1 << 57;+const LEGACY_USER_FLAG_STAFF_HIDDEN: i64 = 1 << 57;const PUBLIC_USER_FLAGS: i64 = USER_FLAG_STAFF| USER_FLAG_PARTNER| USER_FLAG_BUG_HUNTER| USER_FLAG_FRIENDLY_BOT| USER_FLAG_FRIENDLY_BOT_MANUAL_APPROVAL| USER_FLAG_SPAMMER;-const PUBLIC_USER_FLAGS_WITHOUT_STAFF: i64 = PUBLIC_USER_FLAGS & !USER_FLAG_STAFF;+const HIDEABLE_FLAG_BADGES: [(&str, i64); 3] = [+ ("staff", USER_FLAG_STAFF),+ ("partner", USER_FLAG_PARTNER),+ ("bug_hunter", USER_FLAG_BUG_HUNTER),+];const NON_ENFORCEMENT_DELETION_REASONS: [i32; 3] = [1, 2, 19];-pub fn visible_user_flags(flags: i64) -> i32 {- let visible_flags = if (flags & USER_FLAG_STAFF_HIDDEN) != 0 {- PUBLIC_USER_FLAGS_WITHOUT_STAFF- } else {- PUBLIC_USER_FLAGS- };- (flags & visible_flags) as i32+pub fn visible_user_flags(flags: i64, hidden_profile_badges: &[String]) -> i32 {+ let mut visible = PUBLIC_USER_FLAGS;+ for (key, flag) in HIDEABLE_FLAG_BADGES {+ if hidden_profile_badges.iter().any(|hidden| hidden == key) {+ visible &= !flag;+ }+ }+ if flags & LEGACY_USER_FLAG_STAFF_HIDDEN != 0 {+ visible &= !USER_FLAG_STAFF;+ }+ (flags & visible) as i32}#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]@@ -62,7 +70,10 @@ mod tests {#[test]fn the_hidden_bit_is_never_public() {assert_eq!(- visible_user_flags(USER_FLAG_PROFILE_HIDDEN | USER_FLAG_DISABLED | USER_FLAG_PARTNER),+ visible_user_flags(+ USER_FLAG_PROFILE_HIDDEN | USER_FLAG_DISABLED | USER_FLAG_PARTNER,+ &[]+ ),USER_FLAG_PARTNER as i32);}diff --git a/fluxer_common/src/user_partial.rs b/fluxer_common/src/user_partial.rsindex 2955d4b47..ee0520288 100644--- a/fluxer_common/src/user_partial.rs+++ b/fluxer_common/src/user_partial.rs@@ -38,6 +38,7 @@ pub struct UserPartialFields {pub bot: Option<bool>,pub system: Option<bool>,pub flags: Option<i64>,+ pub hidden_profile_badges: Vec<String>,pub mention_flags: Option<i32>,}@@ -55,7 +56,10 @@ impl From<UserPartialFields> for ApiUserPartial {avatar_color: partial.avatar_color,bot: partial.bot.filter(|bot| *bot),system: partial.system.filter(|system| *system),- flags: visible_user_flags(partial.flags.unwrap_or_default()),+ flags: visible_user_flags(+ partial.flags.unwrap_or_default(),+ &partial.hidden_profile_badges,+ ),mention_flags: partial.mention_flags.filter(|flags| *flags != 0),}}diff --git a/fluxer_docs/astro.config.ts b/fluxer_docs/astro.config.tsindex 706df7aac..78b863637 100644--- a/fluxer_docs/astro.config.ts+++ b/fluxer_docs/astro.config.ts@@ -301,6 +301,7 @@ export default defineConfig({'admin-api/api-keys','admin-api/users','admin-api/guilds',+ 'admin-api/badges','admin-api/threads','admin-api/applications','admin-api/reports',diff --git a/fluxer_docs/src/content/docs/admin-api/badges.mdx b/fluxer_docs/src/content/docs/admin-api/badges.mdxnew file mode 100644index 000000000..ea9ca4ea8--- /dev/null+++ b/fluxer_docs/src/content/docs/admin-api/badges.mdx@@ -0,0 +1,128 @@+---+# SPDX-License-Identifier: AGPL-3.0-or-later+title: Admin badges+description: Admin API routes for making custom badges and giving them to users and guilds.+---++import RouteHeader from '@/components/RouteHeader.astro';++A custom badge is an image that instance admins make and give out. A user badge shows on the [profile](/http-api/users/#profile-badge-object) of each account it's given to, after the built-in badges. A guild badge shows next to the guild name, after its verified, partnered or discoverable badge, and [instance discovery](/http-api/instance/#guild-badge-object) lists every guild badge for clients.++You can make up to 10 badges of each type, and an account or guild can have up to 10. Give badges with [Update user badges](/admin-api/users/#update-user-badges) and the `badge_ids` field of [Update guild](/admin-api/guilds/#update-guild). Deleting a badge takes it off everyone who had it.++## Admin custom badge object++### Structure++| Field | Type | Description |+| --- | --- | --- |+| id | snowflake | The ID of the badge |+| type | string | `user` or `guild` |+| name | string | The name of the badge (1-64 characters) |+| description | ?string | The tooltip text under the name (1-256 characters), or null |+| asset_url | string | The badge image as WebP from the media proxy |+| href | ?string | The `https` URL a click opens, or null |++### Example++```json+{+ "id": "1489002177550843904",+ "type": "user",+ "name": "Translator",+ "description": "Helps translate Fluxer",+ "asset_url": "https://media.example.com/custom-badges/1489002177550843904/3f2a9c1d.webp",+ "href": null+}+```++## List badges++<RouteHeader method="GET" path="/v1/admin/badges" auditReason />++Returns every custom badge in display order, which is the order they were made in. You need `badge:list`.++### Response body++| Field | Type | Description |+| --- | --- | --- |+| badges | array[[Admin custom badge](#admin-custom-badge-object) object] | The badges of both types |++### Response++| Status | Body | Condition |+| --- | --- | --- |+| 200 | response body | The badges were returned |++The rate limit is 200 requests per minute, on the `admin:lookup` bucket.++## Create badge++<RouteHeader method="POST" path="/v1/admin/badges" auditReason />++Uploads the image to the media proxy, makes the badge and returns it. You need `badge:create`.++### JSON body++| Field | Type | Description |+| --- | --- | --- |+| type | string | `user` or `guild` |+| name | string | The name of the badge (1-64 characters) |+| description? | ?string | The tooltip text (1-256 characters) |+| href? | ?string | The `https` URL a click opens |+| image<sup>1</sup> | string | The image as a base64 data URI (up to 16000000 characters) |++<sup>1</sup> Up to the `avatar_max_size` limit, 10 MiB by default, as PNG, JPEG, WebP, GIF, APNG, still AVIF, HEIC, HEIF, JXL or SVG, and at least 128 by 128 pixels. Clients always get a WebP version++### Response++| Status | Body | Condition |+| --- | --- | --- |+| 200 | [Admin custom badge](#admin-custom-badge-object) object | The badge was made |+| 400 | [error response](/admin-api/#error-response) | `MAX_BADGES` when the type already has 10 badges, or `INVALID_FORM_BODY` for a bad field |+| 400 | [error response](/admin-api/#error-response) | `IMAGE_SIZE_EXCEEDS_LIMIT`, `INVALID_IMAGE_FORMAT` or `FAILED_TO_UPLOAD_IMAGE` for a bad image |++The rate limit is 100 requests per minute, on the `admin:user:modify` bucket.++## Update badge++<RouteHeader method="PATCH" path="/v1/admin/badges/{badge_id}" auditReason />++Replaces the name, description and link of a badge, and its image when you send one, and returns the badge. The type can't change. You need `badge:update`.++### JSON body++| Field | Type | Description |+| --- | --- | --- |+| name | string | The name of the badge (1-64 characters) |+| description | ?string | The tooltip text under the name (1-256 characters), or null |+| href | ?string | The `https` URL a click opens, or null |+| image?<sup>1</sup> | string | A new image as a base64 data URI. Leave it out to keep the current one |++<sup>1</sup> The same formats and limits as [Create badge](#create-badge)++### Response++| Status | Body | Condition |+| --- | --- | --- |+| 200 | [Admin custom badge](#admin-custom-badge-object) object | The badge was updated |+| 400 | [error response](/admin-api/#error-response) | `INVALID_FORM_BODY` for a bad field |+| 400 | [error response](/admin-api/#error-response) | `IMAGE_SIZE_EXCEEDS_LIMIT`, `INVALID_IMAGE_FORMAT` or `FAILED_TO_UPLOAD_IMAGE` for a bad image |+| 404 | [error response](/admin-api/#error-response) | `UNKNOWN_BADGE` when the badge doesn't exist |++The rate limit is 100 requests per minute, on the `admin:user:modify` bucket.++## Delete badge++<RouteHeader method="DELETE" path="/v1/admin/badges/{badge_id}" auditReason />++Deletes a badge and its image and returns 204. Accounts and guilds that had it stop showing it. You need `badge:delete`.++### Response++| Status | Body | Condition |+| --- | --- | --- |+| 204 | none | The badge was deleted |+| 404 | [error response](/admin-api/#error-response) | `UNKNOWN_BADGE` when the badge doesn't exist |++The rate limit is 100 requests per minute, on the `admin:user:modify` bucket.diff --git a/fluxer_docs/src/content/docs/admin-api/guilds.mdx b/fluxer_docs/src/content/docs/admin-api/guilds.mdxindex 42a97b1cb..672e137b2 100644--- a/fluxer_docs/src/content/docs/admin-api/guilds.mdx+++ b/fluxer_docs/src/content/docs/admin-api/guilds.mdx@@ -80,6 +80,7 @@ The owner fields are null when the owner account doesn't exist.| splash | ?string | The invite splash hash || embed_splash | ?string | The embedded invite splash hash || features | array[string] | The [guild features](/http-api/guilds/#guild-features) (at most 100) |+| badge_ids | array[snowflake] | The [custom badges](/admin-api/badges/) of the guild (at most 10) || verification_level | integer | The [verification level](/http-api/guilds/#verification-levels) || mfa_level | integer | The [MFA level](/http-api/guilds/#mfa-levels) moderators need || nsfw_level | integer | The [NSFW level](/http-api/guilds/#nsfw-levels) |@@ -268,6 +269,7 @@ Changes a guild, including its owner, and returns the [Admin guild update](#admi| `guild:update:name` | Renaming the guild (`name`) || `guild:update:settings` | Clearing images and changing settings (`fields` and every field from `verification_level` to `disabled_operations`) || `guild:update:features` | Adding and removing features (`add_features`, `remove_features`) |+| `guild:update:badges` | Replacing the [custom badges](/admin-api/badges/) (`badge_ids`) || `guild:update:vanity` | Changing the custom invite code (`vanity_url_code`) || `guild:transfer_ownership` | Transferring ownership (`new_owner_id`) |@@ -282,6 +284,7 @@ To change `afk_channel_id`, `system_channel_id` or `afk_timeout`, use [Modify gu| new_owner_id?<sup>2</sup> | snowflake | The new owner || add_features?<sup>3</sup> | array[string] | [Guild features](/http-api/guilds/#guild-features) to add (at most 100) || remove_features?<sup>3</sup> | array[string] | [Guild features](/http-api/guilds/#guild-features) to remove (at most 100) |+| badge_ids? | array[snowflake] | The guild badges to give, replacing the current ones (at most 10) || fields? | array[string] | Images to clear, each `icon`, `banner`, `splash` or `embed_splash` (at most 10) || verification_level? | integer | The new [verification level](/http-api/guilds/#verification-levels) || mfa_level? | integer | The new [MFA level](/http-api/guilds/#mfa-levels) |@@ -312,9 +315,9 @@ To change `afk_channel_id`, `system_channel_id` or `afk_timeout`, use [Modify gu| 200 | response body | The changes were applied || 400 | [error response](/admin-api/#error-response) | `INVALID_FORM_BODY` when the custom invite code is invalid or `THIS_VANITY_URL_IS_ALREADY_TAKEN` || 403 | [error response](/admin-api/#error-response) | `MISSING_ACL` when you lack an ACL a field needs |-| 404 | [error response](/admin-api/#error-response) | `UNKNOWN_GUILD` when the guild doesn't exist |+| 404 | [error response](/admin-api/#error-response) | `UNKNOWN_GUILD` when the guild doesn't exist, or `UNKNOWN_BADGE` when an ID in `badge_ids` isn't a guild badge |-Fluxer saves image clears, settings, features, name, custom invite code and owner one at a time in that order, and each sends a [Guild Update](/gateway/events/#guild-update) event. If one fails, the ones before it stay saved.+Fluxer saves image clears, settings, features, badges, name, custom invite code and owner one at a time in that order, and each sends a [Guild Update](/gateway/events/#guild-update) event. If one fails, the ones before it stay saved.The rate limit is 100 requests per minute, on the `admin:guild:modify` bucket.diff --git a/fluxer_docs/src/content/docs/admin-api/index.mdx b/fluxer_docs/src/content/docs/admin-api/index.mdxindex 2ec8b6baa..73d0b8e5a 100644--- a/fluxer_docs/src/content/docs/admin-api/index.mdx+++ b/fluxer_docs/src/content/docs/admin-api/index.mdx@@ -50,6 +50,10 @@ Each route needs one or more ACLs, and the caller needs at least one of them. Th| admin:authenticate | Lets the account use the Admin API, and is enough for [List ACLs](#list-acls) and [Get current Admin user](/admin-api/users/#get-current-admin-user) || jobs:view | Reads background [job](/admin-api/jobs/) state || jobs:cancel | Requests background job cancellation |+| badge:create | Creates [custom badges](/admin-api/badges/) |+| badge:delete | Deletes custom badges |+| badge:list | Reads custom badges |+| badge:update | Updates custom badges || ban:email:add | Adds and updates `email` [blocklist](/admin-api/blocklists/) entries || ban:email:check | Reads the `email` blocklist || ban:email:remove | Removes `email` blocklist entries |@@ -96,6 +100,7 @@ Each route needs one or more ACLs, and the caller needs at least one of them. Th| guild:reload | Reloads one guild on the main Gateway || guild:shutdown | Stops one guild on the main Gateway || guild:transfer_ownership | Transfers guild ownership |+| guild:update:badges | Replaces the custom badges of a guild || guild:update:features | Adds and removes guild features || guild:update:name | Updates a guild name || guild:update:settings | Updates general guild settings and clears guild fields |@@ -129,6 +134,7 @@ Each route needs one or more ACLs, and the caller needs at least one of them. Th| user:view:email | Unredacts user email addresses and email verification state || user:view:ip | Unredacts the last active IP address and the location derived from it || user:temp_ban | Suspends accounts and lifts suspensions |+| user:update:badges | Replaces the custom badges of an account || user:update:bot_status | Updates bot and system account state || user:update:dob | Updates dates of birth || user:update:email | Updates the email address, verifies it, resends verification, sends a password reset and binds SSO subjects |@@ -322,6 +328,7 @@ These entries have `access` set to `read`.| list_app_sessions | Active app sessions were listed for one platform and release channel || list_archives | Archives were listed || list_audit_logs | A page of the Admin audit log was read |+| list_badges | The custom badges were listed || list_blocklist_entries | A page of blocklist entries was read || list_blocklists | The blocklist catalog was read || list_channel_messages | The messages of a channel were listed |@@ -395,6 +402,7 @@ These entries have `access` set to `write`.| clear_fields | Profile fields of an account, or fields of a guild, were cleared || clear_report_legal_hold | The legal hold on a report was cleared || create_admin_api_key | An Admin API key was created |+| create_badge | A custom badge was made || create_password_reset_link | A password reset link was created for an account || create_registration_url | A registration URL was issued || create_sign_in_link | A sign-in link was created for an admin account |@@ -403,6 +411,7 @@ These entries have `access` set to `write`.| create_voice_server | A voice server was registered || delete_all_user_messages | Deletion of every message an account sent was queued || delete_all_user_messages_dry_run | Deletion of every message an account sent was previewed with `dry_run`, and nothing was deleted |+| delete_badge | A custom badge was deleted || delete_guild | A guild was deleted || delete_message | One message was deleted || delete_report | A report was deleted with its stored evidence |@@ -465,16 +474,19 @@ These entries have `access` set to `write`.| unban_url_domain | A domain was removed from the URL domain blocklist || unlink_sso_identities | The single sign-on subjects of an account were released || update_admin_api_key | An Admin API key was renamed or its ACLs were replaced |+| update_badge | A custom badge was updated || update_discovery_categories | Guilds were moved to a discovery category || update_discovery_listing | A discovery listing was edited || update_features | Guild features were added or removed || update_flags | Account flags were changed || update_guild | A guild update changed none of the fields that have their own action |+| update_guild_badges | The custom badges of a guild were replaced || update_instance_config | The instance configuration was updated || update_limit_config | The limit configuration was replaced || update_name | A guild name was changed || update_premium_flags | Premium flags were changed || update_settings | General guild settings were changed |+| update_user_badges | The custom badges of an account were replaced || update_vanity | A guild custom invite code was changed || update_voice_region | A voice region was updated || update_voice_server | A registered voice server was updated |diff --git a/fluxer_docs/src/content/docs/admin-api/users.mdx b/fluxer_docs/src/content/docs/admin-api/users.mdxindex ada9a239c..c62174b5c 100644--- a/fluxer_docs/src/content/docs/admin-api/users.mdx+++ b/fluxer_docs/src/content/docs/admin-api/users.mdx@@ -53,6 +53,7 @@ The full admin view of one account, with the flags, lifecycle, contact and netwo| enforcement_decision_id | ?snowflake | The [enforcement decision](/admin-api/enforcement/) that owns the account's state || acls | array[string] | The [Admin ACLs](/admin-api/#acl-registry) set on the account || traits | array[string] | The operator labels on the account, sorted (at most 100) |+| badge_ids | array[snowflake] | The [custom badges](/admin-api/badges/) given to the account (at most 10) || has_totp | boolean | Whether a TOTP authenticator is registered || has_password | boolean | Whether the account has a password || claimed | boolean | Whether the account can sign in from another device |@@ -94,6 +95,7 @@ The full admin view of one account, with the flags, lifecycle, contact and netwo"deletion_reason_code": null,"acls": [],"traits": ["early-signup"],+ "badge_ids": [],"has_totp": true,"has_password": true,"claimed": true,@@ -115,9 +117,11 @@ A [profile badge](/http-api/users/#profile-badge-object) with a `suppressed` fie| Field | Type | Description || --- | --- | --- |-| kind | string | The badge key |+| key | string | The badge's identity, `custom:{id}` for a custom badge |+| kind | string | The badge type || label | string | The badge description in the caller's locale |-| asset | ?string | The badge image hash, or null for a text badge |+| asset | ?string | The badge image hash, or null for a text badge or a custom badge |+| asset_url | ?string | The image URL of a custom badge || aspect_ratio | ?number | The image width divided by its height || caption | ?string | The short badge text, such as `#42` || href | ?string | The URL a click opens |@@ -151,7 +155,6 @@ The `flags` field is a 64-bit bitfield sent as a decimal string. It has every st| 1 << 50 | ACCOUNT_LIMITED | Account is [limited](/http-api/users/#account-limitation) || 1 << 51 | HAS_DISMISSED_PREMIUM_ONBOARDING | Account dismissed premium onboarding || 1 << 53 | APP_STORE_REVIEWER | Account belongs to an app store reviewer |-| 1 << 57 | STAFF_HIDDEN | Staff status is hidden from public flags || 1 << 60 | AGE_VERIFIED_ADULT | Account verified its age as an adult || 1 << 62 | LIMIT_EXEMPT | Account is never limited |@@ -160,10 +163,8 @@ The `flags` field is a 64-bit bitfield sent as a decimal string. It has every st| Value | Name | Description || --- | --- | --- || 1 << 0 | DISCRIMINATOR | Account has a premium discriminator |-| 1 << 1 | BADGE_HIDDEN | Premium badge is hidden || 1 << 2 | BADGE_MASKED | Premium badge is masked || 1 << 3 | BADGE_TIMESTAMP_HIDDEN | Premium badge timestamp is hidden |-| 1 << 4 | BADGE_SEQUENCE_HIDDEN | Premium badge sequence is hidden || 1 << 5 | PERKS_SANITIZED | Premium perks are sanitized || 1 << 6 | PURCHASE_DISABLED | Premium purchase is blocked || 1 << 7 | ENABLED_OVERRIDE | Premium is turned on by override |@@ -833,6 +834,35 @@ Fluxer sends [User Update](/gateway/events/#user-update).The rate limit is 100 requests per minute, on the `admin:user:modify` bucket.+## Update user badges++<RouteHeader method="PATCH" path="/v1/admin/users/{user_id}/badges" auditReason />++Replaces the [custom badges](/admin-api/badges/) given to the account and returns the account. You need `user:update:badges`.++### JSON body++| Field | Type | Description |+| --- | --- | --- |+| badge_ids | array[snowflake] | The user badges to give, replacing the current ones (at most 10) |++### Response body++| Field | Type | Description |+| --- | --- | --- |+| user | [Admin user](#admin-user-object) object | The updated account |++### Response++| Status | Body | Condition |+| --- | --- | --- |+| 200 | response body | The badges were replaced |+| 404 | [error response](/admin-api/#error-response) | `UNKNOWN_BADGE` when an ID isn't a user badge, or `UNKNOWN_USER` |++The profile shows the change the next time someone loads it, and Fluxer sends no Gateway event.++The rate limit is 100 requests per minute, on the `admin:user:modify` bucket.+## Update user flags<RouteHeader method="PATCH" path="/v1/admin/users/{user_id}/flags" auditReason />diff --git a/fluxer_docs/src/content/docs/http-api/discovery.mdx b/fluxer_docs/src/content/docs/http-api/discovery.mdxindex cbd409e61..29fd0f4ad 100644--- a/fluxer_docs/src/content/docs/http-api/discovery.mdx+++ b/fluxer_docs/src/content/docs/http-api/discovery.mdx@@ -29,6 +29,7 @@ An approved guild listing as search returns it.| member_count | integer | The approximate member count of the guild || online_count | integer | The approximate online member count of the guild || features | array[string] | The [guild features](/http-api/guilds/#guild-features) of the guild |+| badge_ids | array[snowflake] | The [custom badges](/http-api/instance/#guild-badge-object) of the guild || verification_level | integer | The [verification level](/http-api/guilds/#verification-levels) of the guild (at least `1`) || visits_enabled? | boolean | Whether you can [visit](/http-api/guilds/#visiting-guilds) the guild before joining |@@ -47,6 +48,7 @@ An approved guild listing as search returns it."member_count": 4120,"online_count": 318,"features": ["DISCOVERABLE"],+ "badge_ids": [],"verification_level": 1}```diff --git a/fluxer_docs/src/content/docs/http-api/errors.md b/fluxer_docs/src/content/docs/http-api/errors.mdindex 998bab2ab..704eb3091 100644--- a/fluxer_docs/src/content/docs/http-api/errors.md+++ b/fluxer_docs/src/content/docs/http-api/errors.md@@ -235,6 +235,7 @@ These are the values of the top-level `code`, and the [OpenAPI document](/http-a| `IP_BAN_LINKED_TO_DECISION` | This network block belongs to an enforcement decision || `MAX_ACTIVE_THREADS` | This community has reached its active thread limit of {count} || `MAX_APPLICATIONS` | You've reached the maximum of {limit} applications |+| `MAX_BADGES` | You've reached the maximum of {count} badges for this type || `MAX_BOOKMARKS` | You've reached the maximum of {count} bookmarks || `MAX_CATEGORY_CHANNELS` | You've reached the maximum of {count} category channels || `MAX_EMOJIS` | You've reached the maximum of {count} emojis |@@ -353,6 +354,7 @@ These are the values of the top-level `code`, and the [OpenAPI document](/http-a| `UNCLAIMED_ACCOUNT_CANNOT_SUBMIT_REPORTS` | Claim your account to submit reports || `UNKNOWN_ACCOUNT_HANDOFF` | This sign-up link has expired or was already used || `UNKNOWN_APPLICATION` | Unknown application |+| `UNKNOWN_BADGE` | Badge wasn't found || `UNKNOWN_CHANNEL` | Channel wasn't found || `UNKNOWN_EMOJI` | Unknown emoji || `UNKNOWN_ENFORCEMENT_DECISION` | Unknown enforcement decision |diff --git a/fluxer_docs/src/content/docs/http-api/guilds.mdx b/fluxer_docs/src/content/docs/http-api/guilds.mdxindex 8d601a861..3a0dcca1b 100644--- a/fluxer_docs/src/content/docs/http-api/guilds.mdx+++ b/fluxer_docs/src/content/docs/http-api/guilds.mdx@@ -35,6 +35,7 @@ A guild is a community with its own channels, roles, members and settings. Membe| afk_channel_id | ?snowflake | Voice channel that inactive members are moved to || afk_timeout | integer | AFK timeout in seconds (60-3600) || features | array[string] | [Guild features](#guild-features), in no fixed order |+| badge_ids | array[string] | [Badge](/http-api/instance/#guild-badge-object) IDs || verification_level | integer | [Verification level](#verification-levels) || mfa_level | integer | [MFA level](#mfa-levels) || nsfw_level | integer | [NSFW level](#nsfw-levels) |@@ -118,6 +119,7 @@ Invites return this smaller guild object, and its asset fields follow the same f| embed_splash_width | ?integer | Embedded invite splash width in pixels || embed_splash_height | ?integer | Embedded invite splash height in pixels || features | array[string] | [Guild features](#guild-features) |+| badge_ids | array[string] | [Badge](/http-api/instance/#guild-badge-object) IDs || visits_enabled?<sup>1</sup> | boolean | Whether you can [visit](#visiting-guilds) the guild from this invite |<sup>1</sup> Only [Get invite](/http-api/invites/#get-invite) returns this field, and only with the `guild_visits` assignmentdiff --git a/fluxer_docs/src/content/docs/http-api/instance.mdx b/fluxer_docs/src/content/docs/http-api/instance.mdxindex 9b6a9606c..fbeefec07 100644--- a/fluxer_docs/src/content/docs/http-api/instance.mdx+++ b/fluxer_docs/src/content/docs/http-api/instance.mdx@@ -31,6 +31,21 @@ The public description of one instance.| app_public | [public application configuration](#public-application-configuration-object) object | Branding, setup state and legal links || age_policy? | [age policy](#age-policy-object) object | Regional age policy || notice? | ?[instance notice](#instance-notice-object) object | The current notice from the instance admins, or null |+| guild_badges? | array[[guild badge](#guild-badge-object) object] | The custom badges that guilds can show next to their name, in display order (at most 10) |++## Guild badge object++A custom badge that instance admins give to guilds. A guild lists the badges it has in `badge_ids`, and clients skip any ID that isn't in `guild_badges`.++### Structure++| Field | Type | Description |+| --- | --- | --- |+| id | snowflake | The ID of the badge |+| name | string | The name of the badge |+| description | ?string | The tooltip text under the name, or null |+| asset_url | string | The badge image as WebP from the media proxy. Add a `size` query parameter to get it at the size you draw it |+| href | ?string | The `https` URL a click opens, or null |## Instance notice objectdiff --git a/fluxer_docs/src/content/docs/http-api/users.mdx b/fluxer_docs/src/content/docs/http-api/users.mdxindex ce0686796..f2bb570a1 100644--- a/fluxer_docs/src/content/docs/http-api/users.mdx+++ b/fluxer_docs/src/content/docs/http-api/users.mdx@@ -106,10 +106,11 @@ The current account as its owner sees it, returned by [Get current user](/http-a| premium_lifetime_sequence<sup>1</sup> | ?integer | The lifetime premium sequence number, or null || premium_grace_ends_at<sup>1</sup> | ?ISO8601 timestamp | When premium access ends after `premium_until` passes, or null || premium_discriminator<sup>1</sup> <sup>4</sup> | boolean | Whether the discriminator was picked with premium |-| premium_badge_hidden<sup>1</sup> | boolean | Whether the premium badge is hidden from the profile |+| hidden_profile_badges<sup>1</sup> | array[string] | The [badge keys](#hiding-badges) hidden from other people, sorted |+| premium_badge_hidden<sup>1</sup> | boolean | Deprecated. Whether the premium badge the account holds is in the hidden list || premium_badge_masked<sup>1</sup> | boolean | Whether a lifetime badge shows as a subscription badge || premium_badge_timestamp_hidden<sup>1</sup> | boolean | Whether the premium start date is hidden from the profile |-| premium_badge_sequence_hidden<sup>1</sup> | boolean | Whether the lifetime sequence number is hidden from the profile |+| premium_badge_sequence_hidden<sup>1</sup> | boolean | Deprecated. Whether the Visionary ID is in the hidden list || premium_purchase_disabled<sup>1</sup> | boolean | Whether buying premium is turned off for the account || premium_enabled_override<sup>1</sup> | boolean | Whether an admin override grants premium || premium_perks_disabled<sup>1</sup> | boolean | Whether premium is suspended for the account |@@ -490,6 +491,7 @@ Returned by [Get user profile](#get-user-profile). When profile privacy restrict| premium_since?<sup>2</sup> | ISO8601 timestamp | When the target's premium started || premium_lifetime_sequence?<sup>2</sup> | integer | The target's lifetime premium sequence number || profile_badges | array[[profile badge](#profile-badge-object) object] | The badges to show, in order |+| hidden_profile_badge_count?<sup>5</sup> | integer | How many badges you hold that are [hidden](#hiding-badges) || mutual_friends?<sup>3</sup> | array[[partial user](#partial-user-object) object] | Your mutual friends with the target || mutual_guilds?<sup>3</sup> | array[[mutual guild](#mutual-guild-object) object] | The guilds you and the target share || connected_accounts<sup>4</sup> | array[[connection](/http-api/connections/#connection-object) object] | The target's verified connections you can see |@@ -504,6 +506,8 @@ Returned by [Get user profile](#get-user-profile). When profile privacy restrict<sup>4</sup> Empty or null when the profile is restricted or the target's [profile field privacy flags](#profile-field-privacy-flags) don't include you+<sup>5</sup> Only on your own profile+## Profile badge objectOne badge on a [full user profile](#full-user-profile-object). The API picks the badges, their order and their text, and clients show the list as it comes.@@ -512,21 +516,27 @@ One badge on a [full user profile](#full-user-profile-object). The API picks the| Field | Type | Description || --- | --- | --- |-| kind<sup>1</sup> | string | A stable key for the badge |-| label | string | The badge description in your locale, for the tooltip and alt text |-| asset<sup>2</sup> | ?string | The 16-character hex hash of the badge image, or null for a text badge |+| key | string | The badge's identity, equal to `kind` for built-in badges and `custom:{id}` for a custom badge. Use it as the list key |+| kind<sup>1</sup> | string | The badge type |+| label | string | The badge description in your locale, for the tooltip and alt text. A custom badge uses its name |+| asset<sup>2</sup> | ?string | The 16-character hex hash of the badge image, or null for a text badge or a custom badge |+| asset_url<sup>3</sup> | ?string | The image URL of a custom badge, or null for other badges || aspect_ratio | ?number | Image width divided by height, or null for a square badge || caption | ?string | Short text the badge stands for, shown in place of the image when `asset` is null || href | ?string | The URL a click opens, or null || small_asset? | string | The image hash to use at 20 pixels and smaller || count? | ?integer | A number shown with the badge, or null || accessible_label? | ?string | The label for screen readers, used in place of `label` |-| details? | ?[badge details](#badge-details-object) object | A richer tooltip with the badge art, `title` and `lines`. Without it, `label` is the tooltip |+| details?<sup>4</sup> | ?[badge details](#badge-details-object) object | A richer tooltip with the badge art, `title` and `lines`. Without it, `label` is the tooltip |-<sup>1</sup> Known values are `staff` and `premium`. Render any other kind from its other fields+<sup>1</sup> Known values are `staff`, `premium` and `custom`. Render any other kind from its other fields<sup>2</sup> The image is at `{static_cdn}/badges/{asset}.webp`, with `static_cdn` from [instance discovery](/http-api/instance/), and square badges also have a `.png`. Hashed files never change+<sup>3</sup> A WebP image from the media proxy. Add a `size` query parameter to get it at the size you draw it++<sup>4</sup> A custom badge with a description has one, with the name as `title` and the description as its only line+### Badge details object| Field | Type | Description |@@ -541,10 +551,29 @@ Your own profile follows the same rules and shows what other people see. `label`| Condition | Effect || --- | --- || The target is hidden or under enforcement | The list is empty |-| The profile is restricted for you | Only `staff` remains |-| The target hides the premium badge | `premium` is dropped |+| The profile is restricted for you | Only `staff` and custom badges remain |+| The target [hides a badge](#hiding-badges) | That badge is dropped || The target hides the premium start date | The premium label has no date |-| The target hides its staff flag | `staff` is dropped |++### Hiding badges++Every badge an account holds can be hidden from other people. The account's `hidden_profile_badges` lists the keys of the hidden badges, using the same values as `key`, and [Modify current user](/http-api/users/current-user/#modify-current-user) replaces it. A built-in badge's key is its `kind`, and a custom badge's key is `custom:{id}`.++| Key | Badge |+| --- | --- |+| `staff` | Staff |+| `partner` | Partner |+| `bug_hunter` | Bug Hunter |+| `operator_pass` | Operator Pass |+| `visionary` | Visionary |+| `visionary_number` | Visionary ID, which also needs `visionary` shown |+| `plutonium` | Plutonium subscription |+| `premium` | Premium on a self-hosted instance |+| `custom:{id}` | A custom badge |++A hidden badge is dropped from `profile_badges`. Hiding `staff`, `partner` or `bug_hunter` also clears that bit from the account's `flags` in every user object other people get. Hiding the key of the premium badge the account holds drops that badge even when a Visionary badge is masked as a subscription, and leaves the premium fields out of the full profile.++Staff in the [Admin API](/admin-api/users/#admin-profile-badge-object) still see every badge, with hidden ones marked.## Get userdiff --git a/fluxer_docs/src/content/docs/http-api/users/current-user.mdx b/fluxer_docs/src/content/docs/http-api/users/current-user.mdxindex 3c02a66c3..e6c707f4e 100644--- a/fluxer_docs/src/content/docs/http-api/users/current-user.mdx+++ b/fluxer_docs/src/content/docs/http-api/users/current-user.mdx@@ -88,10 +88,11 @@ Changes the account and returns the updated [user](/http-api/users/#user-object)| accent_color? | ?integer | Packed 24-bit RGB color (0-16777215), or null to clear || timezone?<sup>8</sup> | ?string | IANA timezone identifier (1-128 characters), or null to clear || timezone_privacy_flags? | integer | [Profile field privacy flags](/http-api/users/#profile-field-privacy-flags) for the timezone |-| premium_badge_hidden? | boolean | Whether to hide the premium badge from the public profile |+| hidden_profile_badges?<sup>12</sup> | array[string] | The full list of [badge keys](/http-api/users/#hiding-badges) to hide from other people, at most 18 |+| premium_badge_hidden?<sup>13</sup> | boolean | Deprecated. Use the hidden badge list || premium_badge_masked? | boolean | Whether to show a lifetime badge as an ordinary subscription badge || premium_badge_timestamp_hidden? | boolean | Whether to hide the premium activation time |-| premium_badge_sequence_hidden? | boolean | Whether to hide the lifetime premium sequence |+| premium_badge_sequence_hidden?<sup>13</sup> | boolean | Deprecated. Use the hidden badge list || premium_enabled_override?<sup>9</sup> | boolean | Whether a staff override grants premium entitlements || has_dismissed_premium_onboarding?<sup>10</sup> | boolean | Whether the premium onboarding flow was dismissed || has_unread_gift_inventory?<sup>11</sup> | boolean | Whether the gift inventory has unread items |@@ -126,6 +127,10 @@ Changes the account and returns the updated [user](/http-api/users/#user-object)<sup>11</sup> Only `false` has an effect+<sup>12</sup> Replaces the saved list. A key that is neither a built-in badge kind nor `custom:{id}` returns `INVALID_FORM_BODY`, and keys of custom badges that no longer exist are dropped++<sup>13</sup> `true` adds keys to `hidden_profile_badges` and `false` removes them: `plutonium`, `visionary` and `premium` for `premium_badge_hidden`, and `visionary_number` for `premium_badge_sequence_hidden`. `operator_pass_badge_hidden` does the same for `operator_pass`. All three are ignored when the request also sends `hidden_profile_badges`+While `interaction_tier` is `legacy` ([account tiers](/http-api/users/#account-tiers)), an unverified account gets 403 [`PROFILE_EMAIL_VERIFICATION_REQUIRED`](/http-api/errors/) when it changes the username, discriminator, display name, avatar, banner, biography, pronouns, accent color, timezone, timezone privacy or a premium badge field. In that mode an [unclaimed](/http-api/users/#account-tiers) account can only send `new_password`, `has_dismissed_premium_onboarding`, `has_unread_gift_inventory`, `email_token` and the sudo fields, and any other field returns [`UNCLAIMED_ACCOUNTS_CAN_ONLY_SET_EMAIL_VIA_TOKEN`](/http-api/errors/). On an instance where people sign in with a username, `new_password` can come with `username` to claim the account in one request.In `enforced` mode an unclaimed account on an `email` instance that sends `new_password` without `email_token` gets 400 `USE_CLAIM_ROUTE`.@@ -363,24 +368,46 @@ The rate limit is 20 requests per minute, on the `user:update` bucket.<RouteHeader method="POST" path="/v1/users/@me/profile-badges/preview" />-Returns the account's [profile badges](/http-api/users/#profile-badge-object) as others would see them with the given settings. Nothing is saved.+Returns the account's [profile badges](/http-api/users/#profile-badge-object) as others would see them with the given settings, and every badge the account holds with whether those settings hide it. Nothing is saved.### JSON body| Field | Type | Description || --- | --- | --- |-| premium_badge_hidden? | boolean | Preview with the premium badge hidden |+| hidden_profile_badges? | array[string] | Preview with these [badge keys](/http-api/users/#hiding-badges) hidden || premium_badge_masked? | boolean | Preview with the premium badge masked || premium_badge_timestamp_hidden? | boolean | Preview with the premium badge date hidden |-| premium_badge_sequence_hidden? | boolean | Preview with the lifetime sequence hidden |+| operator_pass_badge_timestamp_hidden? | boolean | Preview with the date the Operator Pass was first held hidden |+| operator_pass_badge_count_hidden? | boolean | Preview with the number of Operator Passes hidden |-A field you leave out keeps the saved value.+A field you leave out keeps the saved value. The deprecated `premium_badge_hidden`, `premium_badge_sequence_hidden` and `operator_pass_badge_hidden` fields work as in [Modify current user](#modify-current-user).### Response body| Field | Type | Description || --- | --- | --- |-| profile_badges | array[[profile badge](/http-api/users/#profile-badge-object) object] | The badges in display order |+| profile_badges | array[[profile badge](/http-api/users/#profile-badge-object) object] | The badges other people would see, in display order |+| own_badges | array[[own profile badge](#own-profile-badge-object) object] | Every badge the account holds, in display order |++### Own profile badge object++A [profile badge](/http-api/users/#profile-badge-object) with a `hidden` field. A masked Visionary badge is listed as `visionary` here, because that is the key you hide.++| Field | Type | Description |+| --- | --- | --- |+| key | string | The badge's identity, and the value to put in `hidden_profile_badges` |+| kind | string | The badge type |+| label | string | The badge description in your locale |+| asset | ?string | The badge image hash, or null for a text badge or a custom badge |+| asset_url | ?string | The image URL of a custom badge |+| aspect_ratio | ?number | The image width divided by its height |+| caption | ?string | The short badge text, such as `#42` |+| href | ?string | The URL a click opens |+| small_asset? | string | The image hash for 20 pixels and smaller |+| count? | ?integer | The number of Operator Passes the badge stands for |+| accessible_label? | ?string | The label for screen readers |+| details? | ?[badge details](/http-api/users/#badge-details-object) object | The tooltip content |+| hidden | boolean | Whether the badge key is in the previewed `hidden_profile_badges` |### Responsediff --git a/fluxer_media_proxy/src/server/asset_path.rs b/fluxer_media_proxy/src/server/asset_path.rsindex 4a81ec213..2eded45a4 100644--- a/fluxer_media_proxy/src/server/asset_path.rs+++ b/fluxer_media_proxy/src/server/asset_path.rs@@ -27,6 +27,7 @@ pub(in crate::server) fn parse_standard_asset_path(path: &str) -> Option<ParsedA"avatars" => AssetKind::Avatar,"icons" => AssetKind::GuildIcon,"branding" | "branding-backdrops" => AssetKind::Branding,+ "custom-badges" => AssetKind::Branding,"banners" => AssetKind::Banner,"splashes" => AssetKind::Splash,"embed-splashes" => AssetKind::EmbedSplash,diff --git a/fluxer_messages/src/shard_impl.rs b/fluxer_messages/src/shard_impl.rsindex 3698f453c..c71cce60b 100644--- a/fluxer_messages/src/shard_impl.rs+++ b/fluxer_messages/src/shard_impl.rs@@ -259,6 +259,8 @@ struct UserPartialServiceResponse {mention_flags: Option<i32>,#[serde(default)]content_hidden_since: Option<i64>,+ #[serde(default)]+ hidden_profile_badges: Vec<String>,}#[derive(Debug, Default)]@@ -2897,6 +2899,7 @@ fn map_user_partial(partial: UserPartialServiceResponse) -> ApiUserPartial {bot: partial.bot,system: partial.system,flags: partial.flags,+ hidden_profile_badges: partial.hidden_profile_badges,mention_flags: partial.mention_flags,})}diff --git a/fluxer_rexctl/internal/adminapi/gen.go b/fluxer_rexctl/internal/adminapi/gen.goindex 969faa314..e03188a8f 100644--- a/fluxer_rexctl/internal/adminapi/gen.go+++ b/fluxer_rexctl/internal/adminapi/gen.go@@ -113,6 +113,10 @@ const (AssetPurge AdminAclType = "asset:purge"Asterisk AdminAclType = "*"AuditLogView AdminAclType = "audit_log:view"+ BadgeCreate AdminAclType = "badge:create"+ BadgeDelete AdminAclType = "badge:delete"+ BadgeList AdminAclType = "badge:list"+ BadgeUpdate AdminAclType = "badge:update"BanAvatarHashAdd AdminAclType = "ban:avatar_hash:add"BanAvatarHashCheck AdminAclType = "ban:avatar_hash:check"BanAvatarHashRemove AdminAclType = "ban:avatar_hash:remove"@@ -159,6 +163,7 @@ const (GuildReload AdminAclType = "guild:reload"GuildShutdown AdminAclType = "guild:shutdown"GuildTransferOwnership AdminAclType = "guild:transfer_ownership"+ GuildUpdateBadges AdminAclType = "guild:update:badges"GuildUpdateFeatures AdminAclType = "guild:update:features"GuildUpdateName AdminAclType = "guild:update:name"GuildUpdateSettings AdminAclType = "guild:update:settings"@@ -191,6 +196,7 @@ const (UserLookup AdminAclType = "user:lookup"UserRemoveRelationship AdminAclType = "user:remove:relationship"UserTempBan AdminAclType = "user:temp_ban"+ UserUpdateBadges AdminAclType = "user:update:badges"UserUpdateBotStatus AdminAclType = "user:update:bot_status"UserUpdateDob AdminAclType = "user:update:dob"UserUpdateEmail AdminAclType = "user:update:email"@@ -240,6 +246,14 @@ func (e AdminAclType) Valid() bool {return truecase AuditLogView:return true+ case BadgeCreate:+ return true+ case BadgeDelete:+ return true+ case BadgeList:+ return true+ case BadgeUpdate:+ return truecase BanAvatarHashAdd:return truecase BanAvatarHashCheck:@@ -332,6 +346,8 @@ func (e AdminAclType) Valid() bool {return truecase GuildTransferOwnership:return true+ case GuildUpdateBadges:+ return truecase GuildUpdateFeatures:return truecase GuildUpdateName:@@ -396,6 +412,8 @@ func (e AdminAclType) Valid() bool {return truecase UserTempBan:return true+ case UserUpdateBadges:+ return truecase UserUpdateBotStatus:return truecase UserUpdateDob:@@ -1501,9 +1519,12 @@ type AdminProfileBadgeResponse struct {// AspectRatio Image width divided by its height. Render the image at the badge height and this many times as wide. Null for square badgesAspectRatio *float32 `json:"aspect_ratio"`- // Asset Badge image hash. The image is served at {static_cdn}/badges/{asset}.webp. Null for text badges+ // Asset Badge image hash. The image is served at {static_cdn}/badges/{asset}.webp. Null for text badges and for badges with asset_urlAsset *HexString16Type `json:"asset"`+ // AssetUrl Absolute image URL for a badge whose image is not a static badge hash, such as a custom badge. Null otherwise+ AssetUrl *string `json:"asset_url"`+// Caption Short text for the badge, such as #42. A badge with an image uses it as alt text, and a badge without one shows it as text. Null when the label covers itCaption *string `json:"caption"`@@ -1522,7 +1543,10 @@ type AdminProfileBadgeResponse struct {// Href Absolute URL to open when the badge is clicked, or nullHref *string `json:"href"`- // Kind Stable badge key. Known values: staff, partner, bug_hunter, operator_pass, visionary, visionary_number, plutonium, and premium on self-hosted instances. Clients must render unknown values from the other fields.+ // Key Stable identity of the badge. It equals kind for built-in badges and is custom:{id} for custom badges, so use it as the list key+ Key string `json:"key"`++ // Kind Badge type. Known values: staff, partner, bug_hunter, operator_pass, visionary, visionary_number, plutonium, custom, and premium on self-hosted instances. Clients must render unknown values from the other fields.Kind string `json:"kind"`// Label Full badge description, localized for the viewer. Use it as the tooltip, and as alt text when there is no caption@@ -1721,6 +1745,9 @@ type CreateRegistrationUrlResponse struct {Url string `json:"url"`}+// CustomBadgeIdListResponse IDs of the custom badges assigned to it+type CustomBadgeIdListResponse = []SnowflakeStringType+// DateOfBirthPolicySchema Whether the instance asks for a date of birth, and who must enter onetype DateOfBirthPolicySchema string@@ -2687,14 +2714,15 @@ type ThrottledError struct {// UserAdminResponseSchema defines model for UserAdminResponseSchema.type UserAdminResponseSchema struct {- AccentColor *Int32Type `json:"accent_color"`- AccountTier AccountTierSchema `json:"account_tier"`- Acls []string `json:"acls"`- AuthenticatorTypes []Int32Type `json:"authenticator_types"`- Avatar *string `json:"avatar"`- Banner *string `json:"banner"`- Bio *string `json:"bio"`- Bot bool `json:"bot"`+ AccentColor *Int32Type `json:"accent_color"`+ AccountTier AccountTierSchema `json:"account_tier"`+ Acls []string `json:"acls"`+ AuthenticatorTypes []Int32Type `json:"authenticator_types"`+ Avatar *string `json:"avatar"`+ BadgeIds CustomBadgeIdListResponse `json:"badge_ids"`+ Banner *string `json:"banner"`+ Bio *string `json:"bio"`+ Bot bool `json:"bot"`// Claimed Whether the account can be signed in to from another deviceClaimed bool `json:"claimed"`diff --git a/fluxer_users/src/shard_impl.rs b/fluxer_users/src/shard_impl.rsindex f710e0597..a1b337dc7 100644--- a/fluxer_users/src/shard_impl.rs+++ b/fluxer_users/src/shard_impl.rs@@ -36,7 +36,7 @@ const PARTIAL_USER_COLUMNS: &str = "\avatar_hash, bot, system, flags, \banner_hash, banner_color, accent_color, avatar_color, \mention_flags, temp_banned_until, pending_deletion_at, deletion_reason_code, \- content_hidden_since";+ content_hidden_since, hidden_profile_badges";const USER_BATCH_SIZE: usize = 128;const USER_BATCH_CONCURRENCY: usize = 8;const USER_CACHE_MIN_GENERATION_STRIPES: usize = 4096;@@ -101,6 +101,8 @@ struct PartialUserDbRow {deletion_reason_code: Option<i32>,#[serde(default)]content_hidden_since: Option<i64>,+ #[serde(default)]+ hidden_profile_badges: Option<Vec<String>>,}#[cfg(feature = "scylla")]@@ -123,6 +125,7 @@ struct PartialUserScyllaRow {pending_deletion_at: OptionalTimestamp,deletion_reason_code: Option<i32>,content_hidden_since: OptionalTimestamp,+ hidden_profile_badges: Option<Vec<String>>,}#[cfg(feature = "scylla")]@@ -146,6 +149,7 @@ impl From<PartialUserScyllaRow> for PartialUserDbRow {pending_deletion_at: optional_timestamp_millis(row.pending_deletion_at),deletion_reason_code: row.deletion_reason_code,content_hidden_since: optional_timestamp_millis(row.content_hidden_since),+ hidden_profile_badges: row.hidden_profile_badges,}}}@@ -468,6 +472,7 @@ fn system_user_partial(instance_name: &str) -> UserPartial {avatar_color: None,mention_flags: None,content_hidden_since: None,+ hidden_profile_badges: Vec::new(),}}@@ -559,6 +564,7 @@ impl From<PartialUserDbRow> for UserPartial {avatar_color: row.avatar_color,mention_flags: row.mention_flags,content_hidden_since: row.content_hidden_since,+ hidden_profile_badges: row.hidden_profile_badges.unwrap_or_default(),}.visible_to_others(&standing, unix_millis())}@@ -587,6 +593,7 @@ mod tests {pending_deletion_at: None,deletion_reason_code: None,content_hidden_since: None,+ hidden_profile_badges: None,}}diff --git a/fluxer_users/src/types.rs b/fluxer_users/src/types.rsindex 56b567624..7747288fa 100644--- a/fluxer_users/src/types.rs+++ b/fluxer_users/src/types.rs@@ -3,9 +3,9 @@use crate::pseudonym::pseudonym;use fluxer_common::user_flags::AccountStanding;#[cfg(test)]-use fluxer_common::user_flags::USER_FLAG_STAFF;+use fluxer_common::user_flags::USER_FLAG_PARTNER;#[cfg(test)]-use fluxer_common::user_flags::{USER_FLAG_PARTNER, USER_FLAG_STAFF_HIDDEN};+use fluxer_common::user_flags::USER_FLAG_STAFF;pub use fluxer_common::user_partial::ApiUserPartial;use fluxer_common::user_partial::{FLUXER_SYSTEM_USER_ID, UserPartialFields, default_instance_name,@@ -56,6 +56,8 @@ pub struct UserPartial {pub mention_flags: Option<i32>,#[serde(default, skip_serializing_if = "Option::is_none")]pub content_hidden_since: Option<i64>,+ #[serde(default, skip_serializing_if = "Vec::is_empty")]+ pub hidden_profile_badges: Vec<String>,}impl UserPartial {@@ -88,6 +90,7 @@ impl UserPartial {bot: self.bot,system: self.system,flags: self.flags,+ hidden_profile_badges: self.hidden_profile_badges.clone(),mention_flags: self.mention_flags,})}@@ -131,6 +134,7 @@ mod tests {avatar_color: Some(0x336699),mention_flags: Some(0),content_hidden_since: None,+ hidden_profile_badges: Vec::new(),}}@@ -200,11 +204,9 @@ mod tests {}#[test]- fn api_partial_hides_staff_flag_when_staff_hidden_is_set() {- let partial = partial_with_flags(- 123,- USER_FLAG_STAFF | USER_FLAG_STAFF_HIDDEN | USER_FLAG_PARTNER,- );+ fn api_partial_drops_the_flags_of_hidden_badges() {+ let mut partial = partial_with_flags(123, USER_FLAG_STAFF | USER_FLAG_PARTNER);+ partial.hidden_profile_badges = vec!["staff".to_owned()];let api_partial = partial.to_api_partial();diff --git a/packages/constants/src/AdminACLs.ts b/packages/constants/src/AdminACLs.tsindex 5ba73ade5..e490336db 100644--- a/packages/constants/src/AdminACLs.ts+++ b/packages/constants/src/AdminACLs.ts@@ -15,6 +15,10 @@ export const AdminACLs = {AUTHENTICATE: 'admin:authenticate',JOBS_VIEW: 'jobs:view',JOBS_CANCEL: 'jobs:cancel',+ BADGE_CREATE: 'badge:create',+ BADGE_DELETE: 'badge:delete',+ BADGE_LIST: 'badge:list',+ BADGE_UPDATE: 'badge:update',BAN_EMAIL_ADD: 'ban:email:add',BAN_EMAIL_CHECK: 'ban:email:check',BAN_EMAIL_REMOVE: 'ban:email:remove',@@ -61,6 +65,7 @@ export const AdminACLs = {GUILD_RELOAD: 'guild:reload',GUILD_SHUTDOWN: 'guild:shutdown',GUILD_TRANSFER_OWNERSHIP: 'guild:transfer_ownership',+ GUILD_UPDATE_BADGES: 'guild:update:badges',GUILD_UPDATE_FEATURES: 'guild:update:features',GUILD_UPDATE_NAME: 'guild:update:name',GUILD_UPDATE_SETTINGS: 'guild:update:settings',@@ -95,6 +100,7 @@ export const AdminACLs = {USER_VIEW_EMAIL: 'user:view:email',USER_VIEW_IP: 'user:view:ip',USER_TEMP_BAN: 'user:temp_ban',+ USER_UPDATE_BADGES: 'user:update:badges',USER_UPDATE_BOT_STATUS: 'user:update:bot_status',USER_UPDATE_DOB: 'user:update:dob',USER_UPDATE_EMAIL: 'user:update:email',diff --git a/packages/constants/src/ApiErrorCodes.ts b/packages/constants/src/ApiErrorCodes.tsindex bec1b0a17..1ef1bd744 100644--- a/packages/constants/src/ApiErrorCodes.ts+++ b/packages/constants/src/ApiErrorCodes.ts@@ -155,6 +155,7 @@ export const APIErrorCodes = {IP_BAN_DECLINED: 'IP_BAN_DECLINED',IP_BAN_LINKED_TO_DECISION: 'IP_BAN_LINKED_TO_DECISION',MAX_APPLICATIONS: 'MAX_APPLICATIONS',+ MAX_BADGES: 'MAX_BADGES',MAX_BOOKMARKS: 'MAX_BOOKMARKS',MAX_ACTIVE_THREADS: 'MAX_ACTIVE_THREADS',MAX_CATEGORY_CHANNELS: 'MAX_CATEGORY_CHANNELS',@@ -302,6 +303,7 @@ export const APIErrorCodes = {UNCLAIMED_ACCOUNT_CANNOT_SEND_FRIEND_REQUESTS: 'UNCLAIMED_ACCOUNT_CANNOT_SEND_FRIEND_REQUESTS',UNCLAIMED_ACCOUNT_CANNOT_SEND_MESSAGES: 'UNCLAIMED_ACCOUNT_CANNOT_SEND_MESSAGES',UNCLAIMED_ACCOUNT_CANNOT_SUBMIT_REPORTS: 'UNCLAIMED_ACCOUNT_CANNOT_SUBMIT_REPORTS',+ UNKNOWN_BADGE: 'UNKNOWN_BADGE',UNKNOWN_CHANNEL: 'UNKNOWN_CHANNEL',UNKNOWN_EMOJI: 'UNKNOWN_EMOJI',UNKNOWN_ENFORCEMENT_DECISION: 'UNKNOWN_ENFORCEMENT_DECISION',diff --git a/packages/constants/src/BadgeConstants.ts b/packages/constants/src/BadgeConstants.tsnew file mode 100644index 000000000..13ec356e4--- /dev/null+++ b/packages/constants/src/BadgeConstants.ts@@ -0,0 +1,49 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import type {ValueOf} from '@fluxer/constants/src/ValueOf';++export const CustomBadgeTypes = {+ USER: 'user',+ GUILD: 'guild',+} as const;++export type CustomBadgeType = ValueOf<typeof CustomBadgeTypes>;++export const MAX_CUSTOM_BADGES_PER_TYPE = 10;+export const MAX_CUSTOM_BADGES_PER_ENTITY = 10;+export const CUSTOM_BADGE_NAME_MAX_LENGTH = 64;+export const CUSTOM_BADGE_DESCRIPTION_MAX_LENGTH = 256;+const PROFILE_BADGE_KINDS = [+ 'staff',+ 'partner',+ 'bug_hunter',+ 'operator_pass',+ 'visionary',+ 'visionary_number',+ 'plutonium',+ 'premium',+] as const;++export type ProfileBadgeKind = (typeof PROFILE_BADGE_KINDS)[number];++export type ProfileBadgeKey = ProfileBadgeKind | `custom:${string}`;++export const MAX_HIDDEN_PROFILE_BADGES = PROFILE_BADGE_KINDS.length + MAX_CUSTOM_BADGES_PER_TYPE;++export const PREMIUM_PROFILE_BADGE_KINDS: ReadonlyArray<ProfileBadgeKind> = ['plutonium', 'visionary', 'premium'];++const CUSTOM_PROFILE_BADGE_KEY_PREFIX = 'custom:';++export function customProfileBadgeKey(badgeId: string): ProfileBadgeKey {+ return `${CUSTOM_PROFILE_BADGE_KEY_PREFIX}${badgeId}`;+}++export function customBadgeIdFromProfileBadgeKey(key: string): string | null {+ if (!key.startsWith(CUSTOM_PROFILE_BADGE_KEY_PREFIX)) return null;+ const id = key.slice(CUSTOM_PROFILE_BADGE_KEY_PREFIX.length);+ return /^[0-9]{1,20}$/.test(id) ? id : null;+}++export function isProfileBadgeKey(key: string): key is ProfileBadgeKey {+ return (PROFILE_BADGE_KINDS as ReadonlyArray<string>).includes(key) || customBadgeIdFromProfileBadgeKey(key) !== null;+}diff --git a/packages/constants/src/UserConstants.ts b/packages/constants/src/UserConstants.tsindex a22903a02..c075a6a21 100644--- a/packages/constants/src/UserConstants.ts+++ b/packages/constants/src/UserConstants.ts@@ -1,5 +1,10 @@// SPDX-License-Identifier: AGPL-3.0-or-later+import {+ PREMIUM_PROFILE_BADGE_KINDS,+ type ProfileBadgeKey,+ type ProfileBadgeKind,+} from '@fluxer/constants/src/BadgeConstants';import type {ValueOf} from '@fluxer/constants/src/ValueOf';export const UNCATEGORIZED_FOLDER_ID = -1;@@ -68,7 +73,6 @@ export const UserFlags = {ACCOUNT_LIMITED: 1n << 50n,HAS_DISMISSED_PREMIUM_ONBOARDING: 1n << 51n,APP_STORE_REVIEWER: 1n << 53n,- STAFF_HIDDEN: 1n << 57n,AGE_VERIFIED_ADULT: 1n << 60n,LIMIT_EXEMPT: 1n << 62n,} as const;@@ -91,44 +95,41 @@ export const UserFlagsDescriptions: Record<keyof typeof UserFlags, string> = {ACCOUNT_LIMITED: 'User account is limited',HAS_DISMISSED_PREMIUM_ONBOARDING: 'User has dismissed premium onboarding',APP_STORE_REVIEWER: 'User is an app store reviewer',- STAFF_HIDDEN: 'User staff status is hidden from public flags',AGE_VERIFIED_ADULT: 'User has verified their age as an adult',LIMIT_EXEMPT: 'User is permanently exempt from account limitation',};export const PremiumFlags = {DISCRIMINATOR: 1 << 0,- BADGE_HIDDEN: 1 << 1,BADGE_MASKED: 1 << 2,BADGE_TIMESTAMP_HIDDEN: 1 << 3,- BADGE_SEQUENCE_HIDDEN: 1 << 4,PERKS_SANITIZED: 1 << 5,PURCHASE_DISABLED: 1 << 6,ENABLED_OVERRIDE: 1 << 7,PERKS_DISABLED: 1 << 8,- OPERATOR_PASS_BADGE_HIDDEN: 1 << 9,OPERATOR_PASS_BADGE_TIMESTAMP_HIDDEN: 1 << 11,OPERATOR_PASS_BADGE_COUNT_HIDDEN: 1 << 12,} as const;export const PremiumFlagsDescriptions: Record<keyof typeof PremiumFlags, string> = {DISCRIMINATOR: 'User has a premium discriminator',- BADGE_HIDDEN: 'User has hidden their premium badge',BADGE_MASKED: 'User has masked their premium badge',BADGE_TIMESTAMP_HIDDEN: 'User has hidden their premium badge timestamp',- BADGE_SEQUENCE_HIDDEN: 'User has hidden their premium badge sequence',PERKS_SANITIZED: 'User premium perks are sanitized',PURCHASE_DISABLED: 'Premium purchase is disabled for this user',ENABLED_OVERRIDE: 'Premium status is enabled via override',PERKS_DISABLED: 'User has temporarily disabled premium perks',- OPERATOR_PASS_BADGE_HIDDEN: 'User has chosen to hide their Operator Pass badge',OPERATOR_PASS_BADGE_TIMESTAMP_HIDDEN: 'User has hidden when they first got the Operator Pass',OPERATOR_PASS_BADGE_COUNT_HIDDEN: 'User has hidden how many Operator Passes they hold',};+const LEGACY_PREMIUM_BADGE_HIDDEN = 1 << 1;+const LEGACY_PREMIUM_BADGE_SEQUENCE_HIDDEN = 1 << 4;+const LEGACY_OPERATOR_PASS_BADGE_HIDDEN = 1 << 9;+const LEGACY_STAFF_HIDDEN = 1n << 57n;const LEGACY_PREMIUM_FLAG_BITS_TO_NEW: ReadonlyArray<readonly [bigint, number]> = [[1n << 37n, PremiumFlags.DISCRIMINATOR],- [1n << 40n, PremiumFlags.BADGE_HIDDEN],+ [1n << 40n, LEGACY_PREMIUM_BADGE_HIDDEN],[1n << 41n, PremiumFlags.BADGE_MASKED],[1n << 42n, PremiumFlags.BADGE_TIMESTAMP_HIDDEN],- [1n << 43n, PremiumFlags.BADGE_SEQUENCE_HIDDEN],+ [1n << 43n, LEGACY_PREMIUM_BADGE_SEQUENCE_HIDDEN],[1n << 44n, PremiumFlags.PERKS_SANITIZED],[1n << 45n, PremiumFlags.PURCHASE_DISABLED],[1n << 46n, PremiumFlags.ENABLED_OVERRIDE],@@ -150,6 +151,34 @@ export function extractPremiumFlagsFromLegacyUserFlags(legacyFlags: bigint): numreturn result;}+const LEGACY_PREMIUM_BADGE_HIDE_BITS: ReadonlyArray<readonly [number, ReadonlyArray<ProfileBadgeKind>]> = [+ [LEGACY_PREMIUM_BADGE_HIDDEN, PREMIUM_PROFILE_BADGE_KINDS],+ [LEGACY_PREMIUM_BADGE_SEQUENCE_HIDDEN, ['visionary_number']],+ [LEGACY_OPERATOR_PASS_BADGE_HIDDEN, ['operator_pass']],+];+export const LEGACY_BADGE_HIDE_PREMIUM_FLAGS_MASK: number =+ LEGACY_PREMIUM_BADGE_HIDDEN | LEGACY_PREMIUM_BADGE_SEQUENCE_HIDDEN | LEGACY_OPERATOR_PASS_BADGE_HIDDEN;+export const LEGACY_BADGE_HIDE_USER_FLAGS_MASK: bigint = LEGACY_STAFF_HIDDEN;++export function legacyHiddenProfileBadges(flags: bigint, premiumFlags: number): Array<ProfileBadgeKind> {+ const hidden = new Set<ProfileBadgeKind>();+ if ((flags & LEGACY_STAFF_HIDDEN) !== 0n) hidden.add('staff');+ const folded = premiumFlags | extractPremiumFlagsFromLegacyUserFlags(flags);+ for (const [bit, kinds] of LEGACY_PREMIUM_BADGE_HIDE_BITS) {+ if ((folded & bit) === 0) continue;+ for (const kind of kinds) hidden.add(kind);+ }+ return [...hidden];+}++export function clearLegacyBadgeHideBits(flags: bigint, premiumFlags: number): {flags: bigint; premiumFlags: number} {+ return {+ flags: flags & ~LEGACY_PREMIUM_FLAGS_MASK & ~LEGACY_DEAD_USER_FLAGS_MASK & ~LEGACY_BADGE_HIDE_USER_FLAGS_MASK,+ premiumFlags:+ (premiumFlags | extractPremiumFlagsFromLegacyUserFlags(flags)) & ~LEGACY_BADGE_HIDE_PREMIUM_FLAGS_MASK,+ };+}+export const PUBLIC_USER_FLAGS =UserFlags.STAFF |UserFlags.PARTNER |@@ -157,6 +186,19 @@ export const PUBLIC_USER_FLAGS =UserFlags.FRIENDLY_BOT |UserFlags.FRIENDLY_BOT_MANUAL_APPROVAL |UserFlags.SPAMMER;+const HIDEABLE_FLAG_BADGES: ReadonlyArray<readonly [ProfileBadgeKind, bigint]> = [+ ['staff', UserFlags.STAFF],+ ['partner', UserFlags.PARTNER],+ ['bug_hunter', UserFlags.BUG_HUNTER],+];++export function stripHiddenProfileBadgeFlags(flags: bigint, hiddenProfileBadges: ReadonlySet<ProfileBadgeKey>): bigint {+ let visible = flags;+ for (const [kind, flag] of HIDEABLE_FLAG_BADGES) {+ if (hiddenProfileBadges.has(kind)) visible &= ~flag;+ }+ return visible;+}export const DELETED_USER_USERNAME = 'DeletedUser';export const DELETED_USER_GLOBAL_NAME = 'Deleted User';export const DELETED_USER_DISCRIMINATOR = 0;diff --git a/packages/errors/src/domains/badge/MaxBadgesError.ts b/packages/errors/src/domains/badge/MaxBadgesError.tsnew file mode 100644index 000000000..83fbd5d79--- /dev/null+++ b/packages/errors/src/domains/badge/MaxBadgesError.ts@@ -0,0 +1,15 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {APIErrorCodes} from '@fluxer/constants/src/ApiErrorCodes';+import {BadRequestError} from '@fluxer/errors/src/domains/core/BadRequestError';++export class MaxBadgesError extends BadRequestError {+ constructor(params: {maxBadges: number}) {+ const {maxBadges} = params;+ super({+ code: APIErrorCodes.MAX_BADGES,+ messageVariables: {count: maxBadges},+ data: {max_badges: maxBadges},+ });+ }+}diff --git a/packages/errors/src/domains/badge/UnknownBadgeError.ts b/packages/errors/src/domains/badge/UnknownBadgeError.tsnew file mode 100644index 000000000..b9b375a9e--- /dev/null+++ b/packages/errors/src/domains/badge/UnknownBadgeError.ts@@ -0,0 +1,10 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {APIErrorCodes} from '@fluxer/constants/src/ApiErrorCodes';+import {NotFoundError} from '@fluxer/errors/src/domains/core/NotFoundError';++export class UnknownBadgeError extends NotFoundError {+ constructor() {+ super({code: APIErrorCodes.UNKNOWN_BADGE});+ }+}diff --git a/packages/errors/src/i18n/ErrorCodeMappings.ts b/packages/errors/src/i18n/ErrorCodeMappings.tsindex 3fc09a1d3..f73f1a3ad 100644--- a/packages/errors/src/i18n/ErrorCodeMappings.ts+++ b/packages/errors/src/i18n/ErrorCodeMappings.ts@@ -216,6 +216,7 @@ export const ErrorCodeToI18nKey = {[APIErrorCodes.IP_BAN_DECLINED]: 'moderation_and_reports.ip_ban_declined',[APIErrorCodes.IP_BAN_LINKED_TO_DECISION]: 'moderation_and_reports.ip_ban_linked_to_decision',[APIErrorCodes.MAX_APPLICATIONS]: 'misc_limits.max_applications_reached',+ [APIErrorCodes.MAX_BADGES]: 'misc_limits.max_badges_reached',[APIErrorCodes.MAX_BOOKMARKS]: 'misc_limits.max_bookmarks_reached',[APIErrorCodes.MAX_CATEGORY_CHANNELS]: 'misc_limits.max_category_channels_reached',[APIErrorCodes.MAX_EMOJIS]: 'invites_and_packs.max_emojis_reached',@@ -356,6 +357,7 @@ export const ErrorCodeToI18nKey = {[APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_SEND_MESSAGES]: 'account.unclaimed_cannot_send_messages',[APIErrorCodes.UNCLAIMED_ACCOUNT_CANNOT_SUBMIT_REPORTS]:'moderation_and_reports.unclaimed_account_cannot_submit_reports',+ [APIErrorCodes.UNKNOWN_BADGE]: 'unknown_entities.unknown_badge',[APIErrorCodes.UNKNOWN_CHANNEL]: 'unknown_entities.unknown_channel',[APIErrorCodes.UNKNOWN_EMOJI]: 'stickers_and_emojis.unknown_emoji',[APIErrorCodes.UNKNOWN_FAVORITE_MEME]: 'media_and_memes.unknown_favorite_meme',diff --git a/packages/errors/src/i18n/ErrorI18nMessages.ts b/packages/errors/src/i18n/ErrorI18nMessages.tsindex 308021be8..7ff14b14d 100644--- a/packages/errors/src/i18n/ErrorI18nMessages.ts+++ b/packages/errors/src/i18n/ErrorI18nMessages.ts@@ -543,6 +543,8 @@ export const ERROR_I18N_MESSAGES = {'misc.invalid_snowflake': 'Invalid snowflake.','misc_limits.max_applications_reached':"You've reached the maximum of {limit, plural, one {# application} other {# applications}}.",+ 'misc_limits.max_badges_reached':+ "You've reached the maximum of {count, plural, one {# badge} other {# badges}} for this type.",'misc_limits.max_bookmarks_reached':"You've reached the maximum of {count, plural, one {# bookmark} other {# bookmarks}}.",'misc_limits.max_category_channels_reached':@@ -676,6 +678,7 @@ export const ERROR_I18N_MESSAGES = {'tos_and_age.must_agree_to_tos_and_privacy': 'You need to accept the terms of service to create an account.','tos_and_age.must_be_minimum_age':'You must be at least {minAge, plural, one {# year} other {# years}} old to create an account.',+ 'unknown_entities.unknown_badge': "Badge wasn't found.",'unknown_entities.unknown_channel': "Channel wasn't found.",'unknown_entities.unknown_forum_tag': "Tag wasn't found.",'unknown_entities.unknown_guild': "Community wasn't found.",diff --git a/packages/errors/src/i18n/weblate/locales/ar.json b/packages/errors/src/i18n/weblate/locales/ar.jsonindex 2366e6bd0..f2ff262b9 100644--- a/packages/errors/src/i18n/weblate/locales/ar.json+++ b/packages/errors/src/i18n/weblate/locales/ar.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "طلب غير صالح.","misc.invalid_snowflake": "معرف Snowflake غير صالح.","misc_limits.max_applications_reached": "لقد وصلت إلى الحد الأقصى وهو {limit, plural, zero {# تطبيق} one {تطبيق واحد} two {تطبيقان} few {# تطبيقات} many {# تطبيقًا} other {# تطبيق}}.",+ "misc_limits.max_badges_reached": "لقد وصلت إلى الحد الأقصى لهذا النوع وهو {count, plural, zero {# شارة} one {شارة واحدة} two {شارتان} few {# شارات} many {# شارة} other {# شارة}}.","misc_limits.max_bookmarks_reached": "لقد وصلت إلى الحد الأقصى وهو {count, plural, zero {# إشارة مرجعية} one {إشارة مرجعية واحدة} two {إشارتان مرجعيتان} few {# إشارات مرجعية} many {# إشارة مرجعية} other {# إشارة مرجعية}}.","misc_limits.max_category_channels_reached": "لقد وصلت إلى الحد الأقصى وهو {count, plural, zero {# قناة} one {قناة واحدة} two {قناتان} few {# قنوات} many {# قناة} other {# قناة}} في الفئة الواحدة.","misc_limits.max_friends_reached": "لقد وصلت إلى الحد الأقصى وهو {count, plural, zero {# صديق} one {صديق واحد} two {صديقان} few {# أصدقاء} many {# صديقًا} other {# صديق}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "أدخل تاريخ ميلادك الحقيقي.","tos_and_age.must_agree_to_tos_and_privacy": "يجب أن توافق على شروط الخدمة لإنشاء حساب.","tos_and_age.must_be_minimum_age": "يجب أن يكون عمرك {minAge, plural, zero {# سنة} one {سنة واحدة} two {سنتين} few {# سنوات} many {# سنة} other {# سنة}} على الأقل لإنشاء حساب.",+ "unknown_entities.unknown_badge": "لم يتم العثور على الشارة.","unknown_entities.unknown_channel": "لم يتم العثور على القناة.","unknown_entities.unknown_forum_tag": "لم يتم العثور على الوسم.","unknown_entities.unknown_guild": "لم يتم العثور على المجتمع.",diff --git a/packages/errors/src/i18n/weblate/locales/bg.json b/packages/errors/src/i18n/weblate/locales/bg.jsonindex b50242459..6e2f62291 100644--- a/packages/errors/src/i18n/weblate/locales/bg.json+++ b/packages/errors/src/i18n/weblate/locales/bg.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Невалидна заявка.","misc.invalid_snowflake": "Невалиден snowflake.","misc_limits.max_applications_reached": "Достигна максимума от {limit} {limit, plural, one {приложение} other {приложения}}.",+ "misc_limits.max_badges_reached": "Достигна максимума от {count} {count, plural, one {значка} other {значки}} за този тип.","misc_limits.max_bookmarks_reached": "Достигна максимума от {count} {count, plural, one {отметка} other {отметки}}.","misc_limits.max_category_channels_reached": "Достигна максимума от {count} {count, plural, one {категория} other {категории}}.","misc_limits.max_friends_reached": "Достигна максимума от {count} {count, plural, one {приятел} other {приятели}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Въведи истинската си дата на раждане.","tos_and_age.must_agree_to_tos_and_privacy": "Трябва да приемеш общите условия, за да създадеш акаунт.","tos_and_age.must_be_minimum_age": "Трябва да си поне на {minAge} {minAge, plural, one {година} other {години}}, за да създадеш акаунт.",+ "unknown_entities.unknown_badge": "Значката не е намерена.","unknown_entities.unknown_channel": "Каналът не е намерен.","unknown_entities.unknown_forum_tag": "Тагът не е намерен.","unknown_entities.unknown_guild": "Общността не е намерена.",diff --git a/packages/errors/src/i18n/weblate/locales/cs.json b/packages/errors/src/i18n/weblate/locales/cs.jsonindex d782490ea..887ff2332 100644--- a/packages/errors/src/i18n/weblate/locales/cs.json+++ b/packages/errors/src/i18n/weblate/locales/cs.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Neplatný požadavek.","misc.invalid_snowflake": "Neplatný identifikátor Snowflake.","misc_limits.max_applications_reached": "Dosáhli jste limitu {limit, plural, one {# aplikace} few {# aplikací} many {# aplikace} other {# aplikací}}.",+ "misc_limits.max_badges_reached": "Dosáhli jste limitu {count, plural, one {# odznaku} few {# odznaků} many {# odznaku} other {# odznaků}} pro tento typ.","misc_limits.max_bookmarks_reached": "Dosáhli jste limitu {count, plural, one {# záložky} few {# záložek} many {# záložky} other {# záložek}}.","misc_limits.max_category_channels_reached": "Dosáhli jste limitu {count, plural, one {# kanálu} few {# kanálů} many {# kanálu} other {# kanálů}} v kategorii.","misc_limits.max_friends_reached": "Dosáhli jste limitu {count, plural, one {# přítele} few {# přátel} many {# přítele} other {# přátel}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Zadejte své skutečné datum narození.","tos_and_age.must_agree_to_tos_and_privacy": "Pro vytvoření účtu musíte přijmout podmínky služby.","tos_and_age.must_be_minimum_age": "K vytvoření účtu vám musí být alespoň {minAge, plural, one {# rok} few {# roky} many {# roku} other {# let}}.",+ "unknown_entities.unknown_badge": "Odznak nebyl nalezen.","unknown_entities.unknown_channel": "Kanál nebyl nalezen.","unknown_entities.unknown_forum_tag": "Štítek nebyl nalezen.","unknown_entities.unknown_guild": "Komunita nebyla nalezena.",diff --git a/packages/errors/src/i18n/weblate/locales/da.json b/packages/errors/src/i18n/weblate/locales/da.jsonindex c9fe6f648..b8ff71112 100644--- a/packages/errors/src/i18n/weblate/locales/da.json+++ b/packages/errors/src/i18n/weblate/locales/da.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Ugyldig anmodning.","misc.invalid_snowflake": "Ugyldig snowflake.","misc_limits.max_applications_reached": "Du har nået det maksimale antal på {limit} {limit, plural, one {applikation} other {applikationer}}.",+ "misc_limits.max_badges_reached": "Du har nået grænsen på {count, plural, one {# badge} other {# badges}} for denne type.","misc_limits.max_bookmarks_reached": "Du har nået grænsen på {count, plural, one {# gemt besked} other {# gemte beskeder}}.","misc_limits.max_category_channels_reached": "Du har nået det maksimale antal på {count} {count, plural, one {kategorikanal} other {kategorikanaler}}.","misc_limits.max_friends_reached": "Du har nået det maksimale antal på {count} {count, plural, one {ven} other {venner}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Indtast din rigtige fødselsdato.","tos_and_age.must_agree_to_tos_and_privacy": "Du skal acceptere servicevilkårene for at oprette en konto.","tos_and_age.must_be_minimum_age": "Du skal være mindst {minAge} {minAge, plural, one {år} other {år}} gammel for at oprette en konto.",+ "unknown_entities.unknown_badge": "Badget blev ikke fundet.","unknown_entities.unknown_channel": "Kanalen blev ikke fundet.","unknown_entities.unknown_forum_tag": "Tagget blev ikke fundet.","unknown_entities.unknown_guild": "Fællesskabet blev ikke fundet.",diff --git a/packages/errors/src/i18n/weblate/locales/de.json b/packages/errors/src/i18n/weblate/locales/de.jsonindex c91ca50a8..1e88b9dc2 100644--- a/packages/errors/src/i18n/weblate/locales/de.json+++ b/packages/errors/src/i18n/weblate/locales/de.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Ungültige Anfrage.","misc.invalid_snowflake": "Ungültige Snowflake-Kennung.","misc_limits.max_applications_reached": "Du hast die maximale Anzahl von {limit, plural, one {# Anwendung} other {# Anwendungen}} erreicht.",+ "misc_limits.max_badges_reached": "Du hast die maximale Anzahl von {count, plural, one {# Abzeichen} other {# Abzeichen}} für diesen Typ erreicht.","misc_limits.max_bookmarks_reached": "Du hast die maximale Anzahl von {count, plural, one {# Lesezeichen} other {# Lesezeichen}} erreicht.","misc_limits.max_category_channels_reached": "Du hast das Limit von {count, plural, one {# Kanal} other {# Kanälen}} pro Kategorie erreicht.","misc_limits.max_friends_reached": "Du hast das Limit von {count, plural, one {# Freund} other {# Freunden}} erreicht.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Gib dein echtes Geburtsdatum ein.","tos_and_age.must_agree_to_tos_and_privacy": "Du musst den Nutzungsbedingungen zustimmen, um einen Account zu erstellen.","tos_and_age.must_be_minimum_age": "Du musst mindestens {minAge, plural, one {# Jahr} other {# Jahre}} alt sein, um einen Account zu erstellen.",+ "unknown_entities.unknown_badge": "Abzeichen nicht gefunden.","unknown_entities.unknown_channel": "Kanal nicht gefunden.","unknown_entities.unknown_forum_tag": "Tag nicht gefunden.","unknown_entities.unknown_guild": "Community nicht gefunden.",diff --git a/packages/errors/src/i18n/weblate/locales/el.json b/packages/errors/src/i18n/weblate/locales/el.jsonindex 9a5d2dd51..97c3402f2 100644--- a/packages/errors/src/i18n/weblate/locales/el.json+++ b/packages/errors/src/i18n/weblate/locales/el.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Μη έγκυρο αίτημα.","misc.invalid_snowflake": "Μη έγκυρο snowflake.","misc_limits.max_applications_reached": "Έχεις φτάσει το μέγιστο των {limit} {limit, plural, one {εφαρμογής} other {εφαρμογών}}.",+ "misc_limits.max_badges_reached": "Έχεις φτάσει το μέγιστο των {count} {count, plural, one {σήματος} other {σημάτων}} για αυτόν τον τύπο.","misc_limits.max_bookmarks_reached": "Έχεις φτάσει το μέγιστο των {count} {count, plural, one {σελιδοδείκτη} other {σελιδοδεικτών}}.","misc_limits.max_category_channels_reached": "Έχεις φτάσει το μέγιστο των {count} {count, plural, one {καναλιού κατηγορίας} other {καναλιών κατηγορίας}}.","misc_limits.max_friends_reached": "Έχεις φτάσει το μέγιστο των {count} {count, plural, one {φίλου} other {φίλων}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Εισαγάγετε την πραγματική ημερομηνία γέννησής σας.","tos_and_age.must_agree_to_tos_and_privacy": "Πρέπει να αποδεχτείτε τους όρους παροχής υπηρεσιών για να δημιουργήσετε λογαριασμό.","tos_and_age.must_be_minimum_age": "Πρέπει να είσαι τουλάχιστον {minAge} {minAge, plural, one {έτους} other {ετών}} για να δημιουργήσεις λογαριασμό.",+ "unknown_entities.unknown_badge": "Δεν βρήκαμε το σήμα.","unknown_entities.unknown_channel": "Δεν βρήκαμε το κανάλι.","unknown_entities.unknown_forum_tag": "Δεν βρέθηκε η ετικέτα.","unknown_entities.unknown_guild": "Δεν βρήκαμε την κοινότητα.",diff --git a/packages/errors/src/i18n/weblate/locales/en-GB.json b/packages/errors/src/i18n/weblate/locales/en-GB.jsonindex 51198b6ea..3784ebc52 100644--- a/packages/errors/src/i18n/weblate/locales/en-GB.json+++ b/packages/errors/src/i18n/weblate/locales/en-GB.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Invalid request.","misc.invalid_snowflake": "Invalid snowflake.","misc_limits.max_applications_reached": "You've reached the maximum of {limit, plural, one {# application} other {# applications}}.",+ "misc_limits.max_badges_reached": "You've reached the maximum of {count, plural, one {# badge} other {# badges}} for this type.","misc_limits.max_bookmarks_reached": "You've reached the maximum of {count, plural, one {# bookmark} other {# bookmarks}}.","misc_limits.max_category_channels_reached": "You've reached the maximum of {count, plural, one {# category channel} other {# category channels}}.","misc_limits.max_friends_reached": "You've reached the maximum of {count, plural, one {# friend} other {# friends}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Enter your real date of birth.","tos_and_age.must_agree_to_tos_and_privacy": "You need to accept the terms of service to create an account.","tos_and_age.must_be_minimum_age": "You must be at least {minAge, plural, one {# year} other {# years}} old to create an account.",+ "unknown_entities.unknown_badge": "Badge wasn't found.","unknown_entities.unknown_channel": "Channel wasn't found.","unknown_entities.unknown_forum_tag": "Tag wasn't found.","unknown_entities.unknown_guild": "Community wasn't found.",diff --git a/packages/errors/src/i18n/weblate/locales/es-419.json b/packages/errors/src/i18n/weblate/locales/es-419.jsonindex 5085b6133..09ba134d7 100644--- a/packages/errors/src/i18n/weblate/locales/es-419.json+++ b/packages/errors/src/i18n/weblate/locales/es-419.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Solicitud no válida.","misc.invalid_snowflake": "Snowflake no válido.","misc_limits.max_applications_reached": "Has alcanzado el máximo de {limit} {limit, plural, one {aplicación} other {aplicaciones}}.",+ "misc_limits.max_badges_reached": "Has alcanzado el máximo de {count, plural, one {# insignia} other {# insignias}} para este tipo.","misc_limits.max_bookmarks_reached": "Has alcanzado el máximo de {count, plural, one {# mensaje guardado} other {# mensajes guardados}}.","misc_limits.max_category_channels_reached": "Has alcanzado el máximo de {count} {count, plural, one {canal de categoría} other {canales de categoría}}.","misc_limits.max_friends_reached": "Has alcanzado el máximo de {count} {count, plural, one {amigo} other {amigos}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Ingresa tu fecha de nacimiento real.","tos_and_age.must_agree_to_tos_and_privacy": "Debes aceptar los términos del servicio para crear una cuenta.","tos_and_age.must_be_minimum_age": "Debes tener al menos {minAge} {minAge, plural, one {año} other {años}} para crear una cuenta.",+ "unknown_entities.unknown_badge": "No se encontró la insignia.","unknown_entities.unknown_channel": "No se encontró el canal.","unknown_entities.unknown_forum_tag": "No se encontró la etiqueta.","unknown_entities.unknown_guild": "No se encontró la comunidad.",diff --git a/packages/errors/src/i18n/weblate/locales/es-ES.json b/packages/errors/src/i18n/weblate/locales/es-ES.jsonindex a82f050dd..dc49d10e7 100644--- a/packages/errors/src/i18n/weblate/locales/es-ES.json+++ b/packages/errors/src/i18n/weblate/locales/es-ES.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Solicitud no válida.","misc.invalid_snowflake": "ID de snowflake no válido.","misc_limits.max_applications_reached": "Has alcanzado el máximo de {limit} {limit, plural, one {aplicación} other {aplicaciones}}.",+ "misc_limits.max_badges_reached": "Has alcanzado el máximo de {count, plural, one {# insignia} other {# insignias}} para este tipo.","misc_limits.max_bookmarks_reached": "Has alcanzado el máximo de {count, plural, one {# mensaje guardado} other {# mensajes guardados}}.","misc_limits.max_category_channels_reached": "Has alcanzado el máximo de {count} {count, plural, one {canal de categoría} other {canales de categoría}}.","misc_limits.max_friends_reached": "Has alcanzado el máximo de {count} {count, plural, one {amigo} other {amigos}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Introduce tu fecha de nacimiento real.","tos_and_age.must_agree_to_tos_and_privacy": "Debes aceptar las condiciones del servicio para crear una cuenta.","tos_and_age.must_be_minimum_age": "Debes tener al menos {minAge} {minAge, plural, one {año} other {años}} de edad para crear una cuenta.",+ "unknown_entities.unknown_badge": "No se encontró la insignia.","unknown_entities.unknown_channel": "No se encontró el canal.","unknown_entities.unknown_forum_tag": "No se encontró la etiqueta.","unknown_entities.unknown_guild": "No se encontró la comunidad.",diff --git a/packages/errors/src/i18n/weblate/locales/fi.json b/packages/errors/src/i18n/weblate/locales/fi.jsonindex 42be3a66e..44b431f38 100644--- a/packages/errors/src/i18n/weblate/locales/fi.json+++ b/packages/errors/src/i18n/weblate/locales/fi.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Virheellinen pyyntö.","misc.invalid_snowflake": "Virheellinen Snowflake-tunnus.","misc_limits.max_applications_reached": "Olet saavuttanut sovellusten enimmäismäärän: {limit, plural, one {# sovellus} other {# sovellusta}}.",+ "misc_limits.max_badges_reached": "Olet saavuttanut tämän tyypin merkkien enimmäismäärän: {count, plural, one {# merkki} other {# merkkiä}}.","misc_limits.max_bookmarks_reached": "Olet saavuttanut tallennettujen viestien enimmäismäärän: {count, plural, one {# viesti} other {# viestiä}}.","misc_limits.max_category_channels_reached": "Luokan kanavien enimmäismäärä on saavutettu: {count, plural, one {# kanava} other {# kanavaa}}.","misc_limits.max_friends_reached": "Olet saavuttanut kaverien enimmäismäärän: {count, plural, one {# kaveri} other {# kaveria}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Anna oikea syntymäaikasi.","tos_and_age.must_agree_to_tos_and_privacy": "Sinun on hyväksyttävä käyttöehdot luodaksesi tilin.","tos_and_age.must_be_minimum_age": "Sinun on oltava vähintään {minAge, plural, one {# vuoden} other {# vuotta}} ikäinen luodaksesi tilin.",+ "unknown_entities.unknown_badge": "Merkkiä ei löytynyt.","unknown_entities.unknown_channel": "Kanavaa ei löytynyt.","unknown_entities.unknown_forum_tag": "Tunnistetta ei löytynyt.","unknown_entities.unknown_guild": "Yhteisöä ei löytynyt.",diff --git a/packages/errors/src/i18n/weblate/locales/fr.json b/packages/errors/src/i18n/weblate/locales/fr.jsonindex 385b52ad8..c93913dc9 100644--- a/packages/errors/src/i18n/weblate/locales/fr.json+++ b/packages/errors/src/i18n/weblate/locales/fr.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Requête invalide.","misc.invalid_snowflake": "Snowflake invalide.","misc_limits.max_applications_reached": "Vous avez atteint le maximum de {limit, plural, =1 {# application} other {# applications}}.",+ "misc_limits.max_badges_reached": "Vous avez atteint le maximum de {count, plural, one {# badge} other {# badges}} pour ce type.","misc_limits.max_bookmarks_reached": "Vous avez atteint le maximum de {count, plural, =1 {# message enregistré} other {# messages enregistrés}}.","misc_limits.max_category_channels_reached": "Vous avez atteint le maximum de {count, plural, =1 {# salon par catégorie} other {# salons par catégorie}}.","misc_limits.max_friends_reached": "Vous avez atteint le maximum de {count, plural, =1 {# ami} other {# amis}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Saisissez votre vraie date de naissance.","tos_and_age.must_agree_to_tos_and_privacy": "Vous devez accepter les conditions d’utilisation pour créer un compte.","tos_and_age.must_be_minimum_age": "Vous devez avoir au moins {minAge, plural, =1 {# an} other {# ans}} pour créer un compte.",+ "unknown_entities.unknown_badge": "Badge introuvable.","unknown_entities.unknown_channel": "Salon introuvable.","unknown_entities.unknown_forum_tag": "Tag introuvable.","unknown_entities.unknown_guild": "Communauté introuvable.",diff --git a/packages/errors/src/i18n/weblate/locales/he.json b/packages/errors/src/i18n/weblate/locales/he.jsonindex 6a6ccaaba..1c0e9c746 100644--- a/packages/errors/src/i18n/weblate/locales/he.json+++ b/packages/errors/src/i18n/weblate/locales/he.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "בקשה שגויה.","misc.invalid_snowflake": "snowflake שגוי.","misc_limits.max_applications_reached": "הגעת למספר המרבי של {limit} {limit, plural, one {אפליקציה} other {אפליקציות}}.",+ "misc_limits.max_badges_reached": "הגעת למספר המרבי של {count} {count, plural, one {תג} other {תגים}} מסוג זה.","misc_limits.max_bookmarks_reached": "הגעת למספר המרבי של {count} {count, plural, one {סימנייה} other {סימניות}}.","misc_limits.max_category_channels_reached": "הגעת למספר המרבי של {count} {count, plural, one {קטגוריה} other {קטגוריות}}.","misc_limits.max_friends_reached": "הגעת למספר המרבי של {count} {count, plural, one {חבר} other {חברים}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "יש להזין את תאריך הלידה האמיתי שלך.","tos_and_age.must_agree_to_tos_and_privacy": "יש להסכים לתנאי השירות כדי ליצור חשבון.","tos_and_age.must_be_minimum_age": "יש להיות בגיל {minAge} {minAge, plural, one {שנה} other {שנים}} לפחות כדי ליצור חשבון.",+ "unknown_entities.unknown_badge": "התג לא נמצא.","unknown_entities.unknown_channel": "הערוץ לא נמצא.","unknown_entities.unknown_forum_tag": "התגית לא נמצאה.","unknown_entities.unknown_guild": "הקהילה לא נמצאה.",diff --git a/packages/errors/src/i18n/weblate/locales/hi.json b/packages/errors/src/i18n/weblate/locales/hi.jsonindex e720d4687..2d7ecefaa 100644--- a/packages/errors/src/i18n/weblate/locales/hi.json+++ b/packages/errors/src/i18n/weblate/locales/hi.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "अमान्य रिक्वेस्ट।","misc.invalid_snowflake": "अमान्य स्नोफ्लेक।","misc_limits.max_applications_reached": "आप अधिकतम {limit} {limit, plural, one {एप्लिकेशन} other {एप्लिकेशन}} तक पहुँच गए हैं।",+ "misc_limits.max_badges_reached": "आप इस प्रकार के अधिकतम {count} {count, plural, one {बैज} other {बैज}} तक पहुँच गए हैं।","misc_limits.max_bookmarks_reached": "आप अधिकतम {count} {count, plural, one {बुकमार्क} other {बुकमार्क}} तक पहुँच गए हैं।","misc_limits.max_category_channels_reached": "आप अधिकतम {count} कैटेगरी {count, plural, one {चैनल} other {चैनल}} तक पहुँच गए हैं।","misc_limits.max_friends_reached": "आप अधिकतम {count} {count, plural, one {दोस्त} other {दोस्त}} तक पहुँच गए हैं।",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "अपनी असली जन्म तिथि दर्ज करें।","tos_and_age.must_agree_to_tos_and_privacy": "अकाउंट बनाने के लिए आपको सेवा की शर्तें स्वीकार करनी होंगी।","tos_and_age.must_be_minimum_age": "अकाउंट बनाने के लिए आपकी उम्र कम से कम {minAge} {minAge, plural, one {साल} other {साल}} होनी चाहिए।",+ "unknown_entities.unknown_badge": "बैज नहीं मिला।","unknown_entities.unknown_channel": "चैनल नहीं मिला।","unknown_entities.unknown_forum_tag": "टैग नहीं मिला।","unknown_entities.unknown_guild": "कम्युनिटी नहीं मिली।",diff --git a/packages/errors/src/i18n/weblate/locales/hr.json b/packages/errors/src/i18n/weblate/locales/hr.jsonindex 675d8a23f..9c49c465c 100644--- a/packages/errors/src/i18n/weblate/locales/hr.json+++ b/packages/errors/src/i18n/weblate/locales/hr.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Nevažeći zahtjev.","misc.invalid_snowflake": "Nevažeći snowflake.","misc_limits.max_applications_reached": "Dosegnut je maksimum od {limit, plural, one {# aplikacije} few {# aplikacije} other {# aplikacija}}.",+ "misc_limits.max_badges_reached": "Dosegnut je maksimum od {count, plural, one {# značke} few {# značke} other {# znački}} za ovu vrstu.","misc_limits.max_bookmarks_reached": "Dosegnut je maksimum od {count, plural, one {# oznake} few {# oznake} other {# oznaka}}.","misc_limits.max_category_channels_reached": "Dosegnut je maksimum od {count, plural, one {# kanala kategorije} few {# kanala kategorije} other {# kanala kategorije}}.","misc_limits.max_friends_reached": "Dosegnut je maksimum od {count, plural, one {# prijatelja} few {# prijatelja} other {# prijatelja}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Unesite svoj stvarni datum rođenja.","tos_and_age.must_agree_to_tos_and_privacy": "Za izradu računa morate prihvatiti uvjete pružanja usluge.","tos_and_age.must_be_minimum_age": "Moraš imati najmanje {minAge, plural, one {# godinu} few {# godine} other {# godina}} da otvoriš račun.",+ "unknown_entities.unknown_badge": "Značka nije pronađena.","unknown_entities.unknown_channel": "Kanal nije pronađen.","unknown_entities.unknown_forum_tag": "Oznaka nije pronađena.","unknown_entities.unknown_guild": "Zajednica nije pronađena.",diff --git a/packages/errors/src/i18n/weblate/locales/hu.json b/packages/errors/src/i18n/weblate/locales/hu.jsonindex aac2c101d..51df1d4b4 100644--- a/packages/errors/src/i18n/weblate/locales/hu.json+++ b/packages/errors/src/i18n/weblate/locales/hu.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Érvénytelen kérés.","misc.invalid_snowflake": "Érvénytelen snowflake-azonosító.","misc_limits.max_applications_reached": "Elérted az alkalmazások megengedett számát ({limit, plural, one {#} other {#}}).",+ "misc_limits.max_badges_reached": "Elérted az ilyen típusú jelvények megengedett számát ({count, plural, one {#} other {#}}).","misc_limits.max_bookmarks_reached": "Elérted a mentett üzenetek megengedett számát ({count, plural, one {#} other {#}}).","misc_limits.max_category_channels_reached": "Elérted a kategóriacsatornák megengedett számát ({count, plural, one {#} other {#}}).","misc_limits.max_friends_reached": "Elérted az ismerősök megengedett számát ({count, plural, one {#} other {#}}).",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Add meg a valódi születési dátumodat.","tos_and_age.must_agree_to_tos_and_privacy": "Fiók létrehozásához el kell fogadnod a szolgáltatási feltételeket.","tos_and_age.must_be_minimum_age": "Legalább {minAge, plural, one {# évesnek} other {# évesnek}} kell lenned ahhoz, hogy fiókot hozz létre.",+ "unknown_entities.unknown_badge": "A jelvény nem található.","unknown_entities.unknown_channel": "A csatorna nem található.","unknown_entities.unknown_forum_tag": "A címke nem található.","unknown_entities.unknown_guild": "A közösség nem található.",diff --git a/packages/errors/src/i18n/weblate/locales/id.json b/packages/errors/src/i18n/weblate/locales/id.jsonindex 73557add5..fb1895782 100644--- a/packages/errors/src/i18n/weblate/locales/id.json+++ b/packages/errors/src/i18n/weblate/locales/id.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Permintaan tidak valid.","misc.invalid_snowflake": "Snowflake tidak valid.","misc_limits.max_applications_reached": "Kamu telah mencapai batas maksimal {limit} {limit, plural, other {aplikasi}}.",+ "misc_limits.max_badges_reached": "Kamu telah mencapai batas maksimal {count} {count, plural, other {lencana}} untuk jenis ini.","misc_limits.max_bookmarks_reached": "Kamu telah mencapai batas maksimal {count} {count, plural, other {bookmark}}.","misc_limits.max_category_channels_reached": "Kamu telah mencapai batas maksimal {count} {count, plural, other {saluran kategori}}.","misc_limits.max_friends_reached": "Kamu telah mencapai batas maksimal {count} {count, plural, other {teman}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Masukkan tanggal lahirmu yang sebenarnya.","tos_and_age.must_agree_to_tos_and_privacy": "Kamu harus menyetujui ketentuan layanan untuk membuat akun.","tos_and_age.must_be_minimum_age": "Kamu harus berusia minimal {minAge} {minAge, plural, other {tahun}} untuk membuat akun.",+ "unknown_entities.unknown_badge": "Lencana tidak ditemukan.","unknown_entities.unknown_channel": "Saluran tidak ditemukan.","unknown_entities.unknown_forum_tag": "Tag tidak ditemukan.","unknown_entities.unknown_guild": "Komunitas tidak ditemukan.",diff --git a/packages/errors/src/i18n/weblate/locales/it.json b/packages/errors/src/i18n/weblate/locales/it.jsonindex d75b3fba0..0fe67bb67 100644--- a/packages/errors/src/i18n/weblate/locales/it.json+++ b/packages/errors/src/i18n/weblate/locales/it.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Richiesta non valida.","misc.invalid_snowflake": "ID Snowflake non valido.","misc_limits.max_applications_reached": "Hai raggiunto il massimo di {limit, plural, one {# applicazione} other {# applicazioni}}.",+ "misc_limits.max_badges_reached": "Hai raggiunto il limite di {count, plural, one {# badge} other {# badge}} per questo tipo.","misc_limits.max_bookmarks_reached": "Hai raggiunto il limite di {count, plural, one {# messaggio salvato} other {# messaggi salvati}}.","misc_limits.max_category_channels_reached": "Hai raggiunto il massimo di {count, plural, one {# canale} other {# canali}} per categoria.","misc_limits.max_friends_reached": "Hai raggiunto il massimo di {count, plural, one {# amico} other {# amici}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Inserisci la tua data di nascita reale.","tos_and_age.must_agree_to_tos_and_privacy": "Devi accettare i termini di servizio per creare un account.","tos_and_age.must_be_minimum_age": "Devi avere almeno {minAge, plural, one {# anno} other {# anni}} per creare un account.",+ "unknown_entities.unknown_badge": "Badge non trovato.","unknown_entities.unknown_channel": "Canale non trovato.","unknown_entities.unknown_forum_tag": "Tag non trovato.","unknown_entities.unknown_guild": "Community non trovata.",diff --git a/packages/errors/src/i18n/weblate/locales/ja.json b/packages/errors/src/i18n/weblate/locales/ja.jsonindex 52c93e4ce..d4d697edf 100644--- a/packages/errors/src/i18n/weblate/locales/ja.json+++ b/packages/errors/src/i18n/weblate/locales/ja.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "リクエストが無効です。","misc.invalid_snowflake": "Snowflakeが無効です。","misc_limits.max_applications_reached": "アプリケーションの上限{limit, plural, other {#件}}に達しました。",+ "misc_limits.max_badges_reached": "この種類のバッジの上限{count, plural, other {#個}}に達しました。","misc_limits.max_bookmarks_reached": "ブックマークの上限{count, plural, other {#件}}に達しました。","misc_limits.max_category_channels_reached": "カテゴリチャンネルの上限{count, plural, other {#件}}に達しました。","misc_limits.max_friends_reached": "友だちの上限{count, plural, other {#人}}に達しました。",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "実際の生年月日を入力してください。","tos_and_age.must_agree_to_tos_and_privacy": "アカウントを作成するには利用規約に同意する必要があります。","tos_and_age.must_be_minimum_age": "アカウントを作成するには{minAge, plural, other {#歳}}以上である必要があります。",+ "unknown_entities.unknown_badge": "バッジが見つかりませんでした。","unknown_entities.unknown_channel": "チャンネルが見つかりませんでした。","unknown_entities.unknown_forum_tag": "タグが見つかりませんでした。","unknown_entities.unknown_guild": "コミュニティが見つかりませんでした。",diff --git a/packages/errors/src/i18n/weblate/locales/ko.json b/packages/errors/src/i18n/weblate/locales/ko.jsonindex 919d3cda4..2ed5d8f8a 100644--- a/packages/errors/src/i18n/weblate/locales/ko.json+++ b/packages/errors/src/i18n/weblate/locales/ko.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "요청이 올바르지 않아요.","misc.invalid_snowflake": "스노플레이크가 올바르지 않아요.","misc_limits.max_applications_reached": "애플리케이션은 최대 {limit, plural, other {#개}}까지 등록할 수 있어요.",+ "misc_limits.max_badges_reached": "이 유형의 배지는 최대 {count, plural, other {#개}}까지 만들 수 있어요.","misc_limits.max_bookmarks_reached": "북마크는 최대 {count, plural, other {#개}}까지 등록할 수 있어요.","misc_limits.max_category_channels_reached": "카테고리 채널은 최대 {count, plural, other {#개}}까지 만들 수 있어요.","misc_limits.max_friends_reached": "친구는 최대 {count, plural, other {#명}}까지 추가할 수 있어요.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "실제 생년월일을 입력해 주세요.","tos_and_age.must_agree_to_tos_and_privacy": "계정을 만들려면 이용약관에 동의해 주세요.","tos_and_age.must_be_minimum_age": "계정을 만들려면 만 {minAge, plural, other {#세}} 이상이어야 해요.",+ "unknown_entities.unknown_badge": "배지를 찾을 수 없어요.","unknown_entities.unknown_channel": "채널을 찾을 수 없어요.","unknown_entities.unknown_forum_tag": "태그를 찾을 수 없어요.","unknown_entities.unknown_guild": "커뮤니티를 찾을 수 없어요.",diff --git a/packages/errors/src/i18n/weblate/locales/lt.json b/packages/errors/src/i18n/weblate/locales/lt.jsonindex 60f9dd22f..53be7c206 100644--- a/packages/errors/src/i18n/weblate/locales/lt.json+++ b/packages/errors/src/i18n/weblate/locales/lt.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Neteisinga užklausa.","misc.invalid_snowflake": "Neteisingas snowflake.","misc_limits.max_applications_reached": "Pasiekei {limit, plural, one {# programos} few {# programų} many {# programos} other {# programų}} ribą.",+ "misc_limits.max_badges_reached": "Pasiekei šio tipo {count, plural, one {# ženklelio} few {# ženklelių} many {# ženklelio} other {# ženklelių}} ribą.","misc_limits.max_bookmarks_reached": "Pasiekei {count, plural, one {# žymės} few {# žymių} many {# žymės} other {# žymių}} ribą.","misc_limits.max_category_channels_reached": "Pasiekei {count, plural, one {# kategorijos kanalo} few {# kategorijos kanalų} many {# kategorijos kanalo} other {# kategorijos kanalų}} ribą.","misc_limits.max_friends_reached": "Pasiekei {count, plural, one {# draugo} few {# draugų} many {# draugo} other {# draugų}} ribą.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Įveskite tikrąją savo gimimo datą.","tos_and_age.must_agree_to_tos_and_privacy": "Norėdami sukurti paskyrą, turite sutikti su paslaugų teikimo sąlygomis.","tos_and_age.must_be_minimum_age": "Kad susikurtum paskyrą, turi būti bent {minAge, plural, one {# metų} few {# metų} many {# metų} other {# metų}}.",+ "unknown_entities.unknown_badge": "Ženklelis nerastas.","unknown_entities.unknown_channel": "Kanalas nerastas.","unknown_entities.unknown_forum_tag": "Žyma nerasta.","unknown_entities.unknown_guild": "Bendruomenė nerasta.",diff --git a/packages/errors/src/i18n/weblate/locales/nl.json b/packages/errors/src/i18n/weblate/locales/nl.jsonindex 6e74b8f0e..427c850b2 100644--- a/packages/errors/src/i18n/weblate/locales/nl.json+++ b/packages/errors/src/i18n/weblate/locales/nl.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Ongeldig verzoek.","misc.invalid_snowflake": "Ongeldige snowflake.","misc_limits.max_applications_reached": "Je hebt het maximum van {limit, plural, one {# app} other {# apps}} bereikt.",+ "misc_limits.max_badges_reached": "Je hebt het maximum van {count, plural, one {# badge} other {# badges}} voor dit type bereikt.","misc_limits.max_bookmarks_reached": "Je hebt het maximum van {count, plural, one {# opgeslagen bericht} other {# opgeslagen berichten}} bereikt.","misc_limits.max_category_channels_reached": "Je hebt het maximum van {count, plural, one {# kanaal in een categorie} other {# kanalen in een categorie}} bereikt.","misc_limits.max_friends_reached": "Je hebt het maximum van {count, plural, one {# vriend} other {# vrienden}} bereikt.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Vul je echte geboortedatum in.","tos_and_age.must_agree_to_tos_and_privacy": "Je moet akkoord gaan met de gebruiksvoorwaarden om een account aan te maken.","tos_and_age.must_be_minimum_age": "Je moet minstens {minAge, plural, one {# jaar} other {# jaar}} oud zijn om een account aan te maken.",+ "unknown_entities.unknown_badge": "Badge niet gevonden.","unknown_entities.unknown_channel": "Kanaal niet gevonden.","unknown_entities.unknown_forum_tag": "Tag niet gevonden.","unknown_entities.unknown_guild": "Community niet gevonden.",diff --git a/packages/errors/src/i18n/weblate/locales/no.json b/packages/errors/src/i18n/weblate/locales/no.jsonindex 8d4e080f0..8df9a056e 100644--- a/packages/errors/src/i18n/weblate/locales/no.json+++ b/packages/errors/src/i18n/weblate/locales/no.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Ugyldig forespørsel.","misc.invalid_snowflake": "Ugyldig snowflake-ID.","misc_limits.max_applications_reached": "Du har nådd grensen på {limit, plural, one {# app} other {# apper}}.",+ "misc_limits.max_badges_reached": "Du har nådd grensen på {count, plural, one {# merke} other {# merker}} for denne typen.","misc_limits.max_bookmarks_reached": "Du har nådd grensen på {count, plural, one {# lagret melding} other {# lagrede meldinger}}.","misc_limits.max_category_channels_reached": "Du har nådd grensen på {count, plural, one {# kategorikanal} other {# kategorikanaler}}.","misc_limits.max_friends_reached": "Du har nådd grensen på {count, plural, one {# venn} other {# venner}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Skriv inn den virkelige fødselsdatoen din.","tos_and_age.must_agree_to_tos_and_privacy": "Du må godta vilkårene for bruk for å opprette en konto.","tos_and_age.must_be_minimum_age": "Du må være minst {minAge, plural, one {# år} other {# år}} for å opprette en konto.",+ "unknown_entities.unknown_badge": "Merket ble ikke funnet.","unknown_entities.unknown_channel": "Kanalen ble ikke funnet.","unknown_entities.unknown_forum_tag": "Fant ikke taggen.","unknown_entities.unknown_guild": "Fellesskapet ble ikke funnet.",diff --git a/packages/errors/src/i18n/weblate/locales/pl.json b/packages/errors/src/i18n/weblate/locales/pl.jsonindex ebbae0c10..2676d744e 100644--- a/packages/errors/src/i18n/weblate/locales/pl.json+++ b/packages/errors/src/i18n/weblate/locales/pl.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Nieprawidłowe żądanie.","misc.invalid_snowflake": "Nieprawidłowy identyfikator Snowflake.","misc_limits.max_applications_reached": "Osiągnięto limit {limit, plural, one {# aplikacji} few {# aplikacji} many {# aplikacji} other {# aplikacji}}.",+ "misc_limits.max_badges_reached": "Osiągnięto limit {count, plural, one {# odznaki} few {# odznak} many {# odznak} other {# odznaki}} dla tego typu.","misc_limits.max_bookmarks_reached": "Osiągnięto limit {count, plural, one {# zakładki} few {# zakładek} many {# zakładek} other {# zakładki}}.","misc_limits.max_category_channels_reached": "Osiągnięto limit {count, plural, one {# kanału} few {# kanałów} many {# kanałów} other {# kanału}} w kategorii.","misc_limits.max_friends_reached": "Osiągnięto limit {count, plural, one {# znajomego} few {# znajomych} many {# znajomych} other {# znajomego}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Podaj swoją prawdziwą datę urodzenia.","tos_and_age.must_agree_to_tos_and_privacy": "Aby utworzyć konto, musisz zaakceptować warunki korzystania z usługi.","tos_and_age.must_be_minimum_age": "Musisz mieć co najmniej {minAge, plural, one {# rok} few {# lata} many {# lat} other {# roku}}, aby utworzyć konto.",+ "unknown_entities.unknown_badge": "Nie znaleziono odznaki.","unknown_entities.unknown_channel": "Nie znaleziono kanału.","unknown_entities.unknown_forum_tag": "Nie znaleziono tagu.","unknown_entities.unknown_guild": "Nie znaleziono społeczności.",diff --git a/packages/errors/src/i18n/weblate/locales/pt-BR.json b/packages/errors/src/i18n/weblate/locales/pt-BR.jsonindex e1ea0af7c..08698e4cd 100644--- a/packages/errors/src/i18n/weblate/locales/pt-BR.json+++ b/packages/errors/src/i18n/weblate/locales/pt-BR.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Solicitação inválida.","misc.invalid_snowflake": "Snowflake inválido.","misc_limits.max_applications_reached": "Você atingiu o máximo de {limit, plural, =1 {# aplicativo} other {# aplicativos}}.",+ "misc_limits.max_badges_reached": "Você atingiu o limite de {count, plural, one {# insígnia} other {# insígnias}} para este tipo.","misc_limits.max_bookmarks_reached": "Você atingiu o limite de {count, plural, =1 {# mensagem salva} other {# mensagens salvas}}.","misc_limits.max_category_channels_reached": "Você atingiu o limite de {count, plural, =1 {# canal por categoria} other {# canais por categoria}}.","misc_limits.max_friends_reached": "Você atingiu o máximo de {count, plural, =1 {# amigo} other {# amigos}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Informe sua data de nascimento real.","tos_and_age.must_agree_to_tos_and_privacy": "Você precisa aceitar os termos de serviço para criar uma conta.","tos_and_age.must_be_minimum_age": "Você precisa ter pelo menos {minAge, plural, =1 {# ano} other {# anos}} para criar uma conta.",+ "unknown_entities.unknown_badge": "Insígnia não encontrada.","unknown_entities.unknown_channel": "Canal não encontrado.","unknown_entities.unknown_forum_tag": "Tag não encontrada.","unknown_entities.unknown_guild": "Comunidade não encontrada.",diff --git a/packages/errors/src/i18n/weblate/locales/ro.json b/packages/errors/src/i18n/weblate/locales/ro.jsonindex cebfaa73e..30da78ef2 100644--- a/packages/errors/src/i18n/weblate/locales/ro.json+++ b/packages/errors/src/i18n/weblate/locales/ro.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Solicitare invalidă.","misc.invalid_snowflake": "ID-ul Snowflake este invalid.","misc_limits.max_applications_reached": "Ai atins numărul maxim de {limit, plural, one {# aplicație} few {# aplicații} other {# de aplicații}}.",+ "misc_limits.max_badges_reached": "Ai atins numărul maxim de {count, plural, one {# insignă} few {# insigne} other {# de insigne}} pentru acest tip.","misc_limits.max_bookmarks_reached": "Ai atins numărul maxim de {count, plural, one {# marcaj} few {# marcaje} other {# de marcaje}}.","misc_limits.max_category_channels_reached": "Ai atins numărul maxim de {count, plural, one {# canal de tip categorie} few {# canale de tip categorie} other {# de canale de tip categorie}}.","misc_limits.max_friends_reached": "Ai atins numărul maxim de {count, plural, one {# prieten} few {# prieteni} other {# de prieteni}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Introdu data ta reală de naștere.","tos_and_age.must_agree_to_tos_and_privacy": "Trebuie să accepți termenii și condițiile pentru a crea un cont.","tos_and_age.must_be_minimum_age": "Trebuie să ai cel puțin {minAge, plural, one {# an} few {# ani} other {# de ani}} pentru a-ți crea un cont.",+ "unknown_entities.unknown_badge": "Insigna nu a fost găsită.","unknown_entities.unknown_channel": "Canalul nu a fost găsit.","unknown_entities.unknown_forum_tag": "Eticheta nu a fost găsită.","unknown_entities.unknown_guild": "Comunitatea nu a fost găsită.",diff --git a/packages/errors/src/i18n/weblate/locales/ru.json b/packages/errors/src/i18n/weblate/locales/ru.jsonindex f8c6abb46..80f692284 100644--- a/packages/errors/src/i18n/weblate/locales/ru.json+++ b/packages/errors/src/i18n/weblate/locales/ru.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Неверный запрос.","misc.invalid_snowflake": "Недействительный ID Snowflake.","misc_limits.max_applications_reached": "Ты достиг максимума: {limit} {limit, plural, one {приложение} few {приложения} many {приложений} other {приложения}}.",+ "misc_limits.max_badges_reached": "Достигнут максимум для этого типа: {count} {count, plural, one {значок} few {значка} many {значков} other {значка}}.","misc_limits.max_bookmarks_reached": "Ты достиг максимума: {count} {count, plural, one {закладка} few {закладки} many {закладок} other {закладки}}.","misc_limits.max_category_channels_reached": "Ты достиг максимума: {count} {count, plural, one {канал} few {канала} many {каналов} other {канала}} в категории.","misc_limits.max_friends_reached": "Ты достиг максимума: {count} {count, plural, one {друг} few {друга} many {друзей} other {друга}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Укажите свою настоящую дату рождения.","tos_and_age.must_agree_to_tos_and_privacy": "Чтобы создать аккаунт, нужно принять условия использования.","tos_and_age.must_be_minimum_age": "Для создания аккаунта тебе должно быть не меньше {minAge} {minAge, plural, one {года} few {лет} many {лет} other {лет}}.",+ "unknown_entities.unknown_badge": "Значок не найден.","unknown_entities.unknown_channel": "Канал не найден.","unknown_entities.unknown_forum_tag": "Тег не найден.","unknown_entities.unknown_guild": "Сообщество не найдено.",diff --git a/packages/errors/src/i18n/weblate/locales/sv-SE.json b/packages/errors/src/i18n/weblate/locales/sv-SE.jsonindex d080f501c..77ff910e4 100644--- a/packages/errors/src/i18n/weblate/locales/sv-SE.json+++ b/packages/errors/src/i18n/weblate/locales/sv-SE.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Ogiltig begäran.","misc.invalid_snowflake": "Ogiltig snowflake.","misc_limits.max_applications_reached": "Du har nått gränsen på {limit, plural, one {# applikation} other {# applikationer}}.",+ "misc_limits.max_badges_reached": "Du har nått gränsen på {count, plural, one {# märke} other {# märken}} för den här typen.","misc_limits.max_bookmarks_reached": "Du har nått gränsen på {count, plural, one {# bokmärke} other {# bokmärken}}.","misc_limits.max_category_channels_reached": "Du har nått gränsen på {count, plural, one {# kanal} other {# kanaler}} i en kategori.","misc_limits.max_friends_reached": "Du har nått gränsen på {count, plural, one {# vän} other {# vänner}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Ange ditt riktiga födelsedatum.","tos_and_age.must_agree_to_tos_and_privacy": "Du måste godkänna användarvillkoren för att skapa ett konto.","tos_and_age.must_be_minimum_age": "Du måste vara minst {minAge, number} år gammal för att skapa ett konto.",+ "unknown_entities.unknown_badge": "Märket hittades inte.","unknown_entities.unknown_channel": "Kanalen hittades inte.","unknown_entities.unknown_forum_tag": "Taggen hittades inte.","unknown_entities.unknown_guild": "Communityn hittades inte.",diff --git a/packages/errors/src/i18n/weblate/locales/th.json b/packages/errors/src/i18n/weblate/locales/th.jsonindex 5152e53ff..32624d623 100644--- a/packages/errors/src/i18n/weblate/locales/th.json+++ b/packages/errors/src/i18n/weblate/locales/th.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "คำขอไม่ถูกต้อง","misc.invalid_snowflake": "Snowflake ไม่ถูกต้อง","misc_limits.max_applications_reached": "คุณมีแอปพลิเคชันครบ {limit} {limit, plural, other {รายการ}} แล้ว",+ "misc_limits.max_badges_reached": "คุณมีเหรียญตราประเภทนี้ครบ {count} {count, plural, other {รายการ}} แล้ว","misc_limits.max_bookmarks_reached": "คุณมีบุ๊กมาร์กครบ {count} {count, plural, other {รายการ}} แล้ว","misc_limits.max_category_channels_reached": "คุณมีช่องหมวดหมู่ครบ {count} {count, plural, other {ช่อง}} แล้ว","misc_limits.max_friends_reached": "คุณมีเพื่อนครบ {count} {count, plural, other {คน}} แล้ว",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "กรอกวันเกิดจริงของคุณ","tos_and_age.must_agree_to_tos_and_privacy": "คุณต้องยอมรับข้อกำหนดในการให้บริการเพื่อสร้างบัญชี","tos_and_age.must_be_minimum_age": "คุณต้องมีอายุอย่างน้อย {minAge} {minAge, plural, other {ปี}} จึงจะสร้างบัญชีได้",+ "unknown_entities.unknown_badge": "ไม่พบเหรียญตรา","unknown_entities.unknown_channel": "ไม่พบช่อง","unknown_entities.unknown_forum_tag": "ไม่พบแท็ก","unknown_entities.unknown_guild": "ไม่พบคอมมูนิตี้",diff --git a/packages/errors/src/i18n/weblate/locales/tr.json b/packages/errors/src/i18n/weblate/locales/tr.jsonindex 90f255391..c8c5a128c 100644--- a/packages/errors/src/i18n/weblate/locales/tr.json+++ b/packages/errors/src/i18n/weblate/locales/tr.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Geçersiz istek.","misc.invalid_snowflake": "Geçersiz snowflake.","misc_limits.max_applications_reached": "{limit, plural, one {# uygulama} other {# uygulama}} sınırına ulaştın.",+ "misc_limits.max_badges_reached": "Bu tür için {count, plural, one {# rozet} other {# rozet}} sınırına ulaştın.","misc_limits.max_bookmarks_reached": "{count, plural, one {# yer işareti} other {# yer işareti}} sınırına ulaştın.","misc_limits.max_category_channels_reached": "{count, plural, one {# kategori kanalı} other {# kategori kanalı}} sınırına ulaştın.","misc_limits.max_friends_reached": "{count, plural, one {# arkadaş} other {# arkadaş}} sınırına ulaştın.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Gerçek doğum tarihinizi girin.","tos_and_age.must_agree_to_tos_and_privacy": "Hesap oluşturmak için Hizmet Şartlarını kabul etmeniz gerekir.","tos_and_age.must_be_minimum_age": "Hesap oluşturmak için en az {minAge, plural, one {# yaşında} other {# yaşında}} olmalısın.",+ "unknown_entities.unknown_badge": "Rozet bulunamadı.","unknown_entities.unknown_channel": "Kanal bulunamadı.","unknown_entities.unknown_forum_tag": "Etiket bulunamadı.","unknown_entities.unknown_guild": "Topluluk bulunamadı.",diff --git a/packages/errors/src/i18n/weblate/locales/uk.json b/packages/errors/src/i18n/weblate/locales/uk.jsonindex e633adb92..30574f36f 100644--- a/packages/errors/src/i18n/weblate/locales/uk.json+++ b/packages/errors/src/i18n/weblate/locales/uk.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Недійсний запит.","misc.invalid_snowflake": "Недійсний Snowflake ID.","misc_limits.max_applications_reached": "Досягнуто максимуму: {limit} {limit, plural, one {застосунок} few {застосунки} many {застосунків} other {застосунку}}.",+ "misc_limits.max_badges_reached": "Досягнуто максимуму для цього типу: {count} {count, plural, one {значок} few {значки} many {значків} other {значка}}.","misc_limits.max_bookmarks_reached": "Досягнуто максимуму: {count} {count, plural, one {закладка} few {закладки} many {закладок} other {закладки}}.","misc_limits.max_category_channels_reached": "Досягнуто максимуму: {count} {count, plural, one {категорія} few {категорії} many {категорій} other {категорії}}.","misc_limits.max_friends_reached": "Досягнуто максимуму: {count} {count, plural, one {друг} few {друзі} many {друзів} other {друга}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Введіть свою справжню дату народження.","tos_and_age.must_agree_to_tos_and_privacy": "Щоб створити обліковий запис, потрібно прийняти умови використання.","tos_and_age.must_be_minimum_age": "Тобі має бути щонайменше {minAge} {minAge, plural, one {рік} few {роки} many {років} other {року}}, щоб створити акаунт.",+ "unknown_entities.unknown_badge": "Значок не знайдено.","unknown_entities.unknown_channel": "Канал не знайдено.","unknown_entities.unknown_forum_tag": "Тег не знайдено.","unknown_entities.unknown_guild": "Спільноту не знайдено.",diff --git a/packages/errors/src/i18n/weblate/locales/vi.json b/packages/errors/src/i18n/weblate/locales/vi.jsonindex c764ae369..2e62db46c 100644--- a/packages/errors/src/i18n/weblate/locales/vi.json+++ b/packages/errors/src/i18n/weblate/locales/vi.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Yêu cầu không hợp lệ.","misc.invalid_snowflake": "ID Snowflake không hợp lệ.","misc_limits.max_applications_reached": "Bạn đã đạt tối đa {limit} {limit, plural, other {ứng dụng}}.",+ "misc_limits.max_badges_reached": "Bạn đã đạt tối đa {count} {count, plural, other {huy hiệu}} cho loại này.","misc_limits.max_bookmarks_reached": "Bạn đã đạt tối đa {count} {count, plural, other {tin nhắn đã lưu}}.","misc_limits.max_category_channels_reached": "Bạn đã đạt tối đa {count} {count, plural, other {danh mục}}.","misc_limits.max_friends_reached": "Bạn đã đạt tối đa {count} {count, plural, other {bạn bè}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Nhập ngày sinh thật của bạn.","tos_and_age.must_agree_to_tos_and_privacy": "Bạn cần đồng ý với điều khoản dịch vụ để tạo tài khoản.","tos_and_age.must_be_minimum_age": "Bạn phải từ {minAge} {minAge, plural, other {tuổi}} trở lên để tạo tài khoản.",+ "unknown_entities.unknown_badge": "Không tìm thấy huy hiệu này.","unknown_entities.unknown_channel": "Không tìm thấy kênh này.","unknown_entities.unknown_forum_tag": "Không tìm thấy thẻ.","unknown_entities.unknown_guild": "Không tìm thấy cộng đồng này.",diff --git a/packages/errors/src/i18n/weblate/locales/zh-CN.json b/packages/errors/src/i18n/weblate/locales/zh-CN.jsonindex 03f975da6..c0833d4c8 100644--- a/packages/errors/src/i18n/weblate/locales/zh-CN.json+++ b/packages/errors/src/i18n/weblate/locales/zh-CN.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "请求无效。","misc.invalid_snowflake": "雪花 ID 无效。","misc_limits.max_applications_reached": "你已达到 {limit, plural, other {# 个应用}}的上限。",+ "misc_limits.max_badges_reached": "此类型已达到 {count, plural, other {# 个徽章}}的上限。","misc_limits.max_bookmarks_reached": "你已达到 {count, plural, other {# 条书签}}的上限。","misc_limits.max_category_channels_reached": "你已达到 {count, plural, other {# 个分类频道}}的上限。","misc_limits.max_friends_reached": "你已达到 {count, plural, other {# 位好友}}的上限。",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "请输入你的真实出生日期。","tos_and_age.must_agree_to_tos_and_privacy": "创建账号前,你需要同意服务条款。","tos_and_age.must_be_minimum_age": "你必须年满 {minAge, plural, other {# 岁}}才能注册账号。",+ "unknown_entities.unknown_badge": "未找到徽章。","unknown_entities.unknown_channel": "未找到频道。","unknown_entities.unknown_forum_tag": "未找到标签。","unknown_entities.unknown_guild": "未找到社区。",diff --git a/packages/errors/src/i18n/weblate/locales/zh-TW.json b/packages/errors/src/i18n/weblate/locales/zh-TW.jsonindex 925c59101..160931bba 100644--- a/packages/errors/src/i18n/weblate/locales/zh-TW.json+++ b/packages/errors/src/i18n/weblate/locales/zh-TW.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "無效的要求。","misc.invalid_snowflake": "無效的 Snowflake。","misc_limits.max_applications_reached": "你已達到 {limit, plural, other {# 個應用程式}}的上限。",+ "misc_limits.max_badges_reached": "此類型已達到 {count, plural, other {# 個徽章}}的上限。","misc_limits.max_bookmarks_reached": "你已達到 {count, plural, other {# 個書籤}}的上限。","misc_limits.max_category_channels_reached": "你已達到 {count, plural, other {# 個類別頻道}}的上限。","misc_limits.max_friends_reached": "你已達到 {count, plural, other {# 位好友}}的上限。",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "請輸入你的真實出生日期。","tos_and_age.must_agree_to_tos_and_privacy": "建立帳號前,你必須同意服務條款。","tos_and_age.must_be_minimum_age": "你必須至少 {minAge, plural, other {# 歲}}才能建立帳號。",+ "unknown_entities.unknown_badge": "找不到徽章。","unknown_entities.unknown_channel": "找不到頻道。","unknown_entities.unknown_forum_tag": "找不到標籤。","unknown_entities.unknown_guild": "找不到社群。",diff --git a/packages/errors/src/i18n/weblate/messages.json b/packages/errors/src/i18n/weblate/messages.jsonindex 0e05a0a1e..ad553edc0 100644--- a/packages/errors/src/i18n/weblate/messages.json+++ b/packages/errors/src/i18n/weblate/messages.json@@ -421,6 +421,7 @@"misc.invalid_request_generic": "Invalid request.","misc.invalid_snowflake": "Invalid snowflake.","misc_limits.max_applications_reached": "You've reached the maximum of {limit, plural, one {# application} other {# applications}}.",+ "misc_limits.max_badges_reached": "You've reached the maximum of {count, plural, one {# badge} other {# badges}} for this type.","misc_limits.max_bookmarks_reached": "You've reached the maximum of {count, plural, one {# bookmark} other {# bookmarks}}.","misc_limits.max_category_channels_reached": "You've reached the maximum of {count, plural, one {# category channel} other {# category channels}}.","misc_limits.max_friends_reached": "You've reached the maximum of {count, plural, one {# friend} other {# friends}}.",@@ -556,6 +557,7 @@"tos_and_age.date_of_birth_format_invalid": "Enter your real date of birth.","tos_and_age.must_agree_to_tos_and_privacy": "You need to accept the terms of service to create an account.","tos_and_age.must_be_minimum_age": "You must be at least {minAge, plural, one {# year} other {# years}} old to create an account.",+ "unknown_entities.unknown_badge": "Badge wasn't found.","unknown_entities.unknown_channel": "Channel wasn't found.","unknown_entities.unknown_forum_tag": "Tag wasn't found.","unknown_entities.unknown_guild": "Community wasn't found.",diff --git a/packages/instance_bootstrap/src/ClientRuntimeDiscovery.ts b/packages/instance_bootstrap/src/ClientRuntimeDiscovery.tsindex adef40443..931e493a6 100644--- a/packages/instance_bootstrap/src/ClientRuntimeDiscovery.ts+++ b/packages/instance_bootstrap/src/ClientRuntimeDiscovery.ts@@ -12,6 +12,7 @@ import type {InstanceDomainMigration,InstanceFeatures,InstanceGif,+ InstanceGuildBadge,InstanceNotice,InstancePush,InstanceRegistration,@@ -54,6 +55,7 @@ export interface ClientRuntimeDiscovery {readonly agePolicy: InstanceAgePolicy | null;readonly domainMigration: InstanceDomainMigration | null;readonly notice?: InstanceNotice | null;+ readonly guildBadges: ReadonlyArray<InstanceGuildBadge>;}export function projectClientRuntimeDiscovery(document: InstanceDiscoveryDocument): ClientRuntimeDiscovery {@@ -73,6 +75,7 @@ export function projectClientRuntimeDiscovery(document: InstanceDiscoveryDocumenagePolicy: document.agePolicy,domainMigration: document.domainMigration,notice: document.notice ?? null,+ guildBadges: document.guildBadges ?? [],};}diff --git a/packages/instance_bootstrap/src/Discovery.ts b/packages/instance_bootstrap/src/Discovery.tsindex 1965304e1..0205ad9b7 100644--- a/packages/instance_bootstrap/src/Discovery.ts+++ b/packages/instance_bootstrap/src/Discovery.ts@@ -28,6 +28,7 @@ import {type InstanceDomainMigration,type InstanceFeatures,type InstanceGif,+ type InstanceGuildBadge,type InstanceLegal,type InstanceNotice,type InstancePush,@@ -143,6 +144,7 @@ export interface InstanceDiscoveryDocument {readonly agePolicy: InstanceAgePolicy | null;readonly domainMigration: InstanceDomainMigration | null;readonly notice?: InstanceNotice | null;+ readonly guildBadges?: ReadonlyArray<InstanceGuildBadge>;}interface InstanceDiscoveryAttempt {@@ -305,6 +307,7 @@ export function parseInstanceDiscoveryDocument(payload: unknown): InstanceDiscovagePolicy: parseAgePolicy(source.age_policy),domainMigration: parseInstanceDomainMigration(source.domain_migration),notice: parseNotice(source.notice),+ guildBadges: parseGuildBadges(source.guild_badges),};}@@ -693,6 +696,33 @@ function parseNotice(value: unknown): InstanceNotice | null {};}+function parseGuildBadges(value: unknown): Array<InstanceGuildBadge> {+ if (!Array.isArray(value)) {+ return [];+ }+ return value.flatMap((entry) => {+ const source = asRecord(entry);+ if (source == null) {+ return [];+ }+ const id = readNonEmptyString(source, 'id');+ const name = readNonEmptyString(source, 'name');+ const assetUrl = readNonEmptyString(source, 'asset_url');+ if (id == null || name == null || assetUrl == null) {+ return [];+ }+ return [+ {+ id,+ name,+ description: readNonEmptyString(source, 'description'),+ asset_url: assetUrl,+ href: readAbsoluteHTTPURL(source, 'href'),+ },+ ];+ });+}+function parseServices(value: unknown): InstanceServices | null {const source = asRecord(value);if (source == null) {diff --git a/packages/instance_bootstrap/src/Types.ts b/packages/instance_bootstrap/src/Types.tsindex b5ad94db7..b5669c913 100644--- a/packages/instance_bootstrap/src/Types.ts+++ b/packages/instance_bootstrap/src/Types.ts@@ -25,6 +25,7 @@ export type {InstanceEndpoints,InstanceFeatures,InstanceGif,+ InstanceGuildBadge,InstanceNotice,InstancePush,InstanceRegistration,diff --git a/packages/schema/src/contracts/search/SearchDocumentTypes.ts b/packages/schema/src/contracts/search/SearchDocumentTypes.tsindex dc08d8a14..3be7afa85 100644--- a/packages/schema/src/contracts/search/SearchDocumentTypes.ts+++ b/packages/schema/src/contracts/search/SearchDocumentTypes.ts@@ -76,6 +76,7 @@ export interface SearchableGuild {bannerHash: string | null;splashHash: string | null;features: Array<string>;+ badgeIds?: Array<string>;verificationLevel: number;mfaLevel: number;nsfwLevel: number;diff --git a/packages/schema/src/domains/admin/AdminBadgeSchemas.ts b/packages/schema/src/domains/admin/AdminBadgeSchemas.tsnew file mode 100644index 000000000..f68092215--- /dev/null+++ b/packages/schema/src/domains/admin/AdminBadgeSchemas.ts@@ -0,0 +1,101 @@+// SPDX-License-Identifier: AGPL-3.0-or-later++import {+ CUSTOM_BADGE_DESCRIPTION_MAX_LENGTH,+ CUSTOM_BADGE_NAME_MAX_LENGTH,+ CustomBadgeTypes,+ MAX_CUSTOM_BADGES_PER_ENTITY,+} from '@fluxer/constants/src/BadgeConstants';+import {ValidationErrorCodes} from '@fluxer/constants/src/ValidationErrorCodes';+import {+ createNamedStringLiteralUnion,+ createStringType,+ SnowflakeStringType,+ SnowflakeType,+ withOpenApiType,+} from '@fluxer/schema/src/primitives/SchemaPrimitives';+import {URLType} from '@fluxer/schema/src/primitives/UrlValidators';+import {z} from 'zod';++export const CustomBadgeTypeSchema = withOpenApiType(+ createNamedStringLiteralUnion(+ [+ [CustomBadgeTypes.USER, 'User', 'Shown on the profiles of the users it is assigned to'],+ [CustomBadgeTypes.GUILD, 'Guild', 'Shown next to the names of the communities it is assigned to'],+ ],+ 'Where the badge is shown',+ ),+ 'CustomBadgeType',+);++const CustomBadgeHrefType = URLType.refine(+ (value) => value.startsWith('https://'),+ ValidationErrorCodes.INVALID_URL_FORMAT,+).describe('Absolute https URL opened when the badge is clicked');++const CustomBadgeImageType = z+ .string()+ .max(16_000_000)+ .describe('The badge image as a base64 data URL. PNG, JPEG, GIF, WebP and SVG images are accepted');++export const AdminCustomBadgeResponse = z.object({+ id: SnowflakeStringType.describe('The ID of the badge'),+ type: CustomBadgeTypeSchema,+ name: z.string().describe('The name of the badge'),+ description: z.string().nullable().describe('Text shown under the name when hovering over the badge, or null'),+ asset_url: z.string().describe('URL of the badge image, served as WebP by the media proxy'),+ href: z.string().nullable().describe('URL opened when the badge is clicked, or null'),+});++export type AdminCustomBadgeResponse = z.infer<typeof AdminCustomBadgeResponse>;++export const AdminCustomBadgeListResponse = z.object({+ badges: z.array(AdminCustomBadgeResponse).describe('Badges defined on this instance, in display order'),+});++export type AdminCustomBadgeListResponse = z.infer<typeof AdminCustomBadgeListResponse>;++export const CreateCustomBadgeRequest = z.object({+ type: CustomBadgeTypeSchema,+ name: createStringType(1, CUSTOM_BADGE_NAME_MAX_LENGTH).describe('The name of the badge'),+ description: createStringType(1, CUSTOM_BADGE_DESCRIPTION_MAX_LENGTH)+ .nullish()+ .describe('Text shown when hovering over the badge'),+ href: CustomBadgeHrefType.nullish(),+ image: CustomBadgeImageType,+});++export type CreateCustomBadgeRequest = z.infer<typeof CreateCustomBadgeRequest>;++export const UpdateCustomBadgeRequest = z.object({+ name: createStringType(1, CUSTOM_BADGE_NAME_MAX_LENGTH).describe('The name of the badge'),+ description: createStringType(1, CUSTOM_BADGE_DESCRIPTION_MAX_LENGTH)+ .nullable()+ .describe('Text shown under the name when hovering over the badge, or null'),+ href: CustomBadgeHrefType.nullable(),+ image: CustomBadgeImageType.optional().describe(+ 'A new image as a base64 data URL. Leave it out to keep the current one',+ ),+});++export type UpdateCustomBadgeRequest = z.infer<typeof UpdateCustomBadgeRequest>;++export const CustomBadgeIdParam = z.object({+ badge_id: SnowflakeType.describe('The ID of the badge'),+});++export const CustomBadgeIdsType = z+ .array(SnowflakeType)+ .max(MAX_CUSTOM_BADGES_PER_ENTITY)+ .describe('IDs of the badges to assign, replacing the current ones');++export const UpdateUserCustomBadgesRequest = z.object({+ badge_ids: CustomBadgeIdsType,+});++export type UpdateUserCustomBadgesRequest = z.infer<typeof UpdateUserCustomBadgesRequest>;++export const CustomBadgeIdListResponse = z+ .array(SnowflakeStringType)+ .max(MAX_CUSTOM_BADGES_PER_ENTITY)+ .describe('IDs of the custom badges assigned to it');diff --git a/packages/schema/src/domains/admin/AdminGuildSchemas.ts b/packages/schema/src/domains/admin/AdminGuildSchemas.tsindex 446d617f0..b254aef14 100644--- a/packages/schema/src/domains/admin/AdminGuildSchemas.ts+++ b/packages/schema/src/domains/admin/AdminGuildSchemas.ts@@ -5,6 +5,7 @@ import {GuildOperations,GuildOperationsDescriptions,} from '@fluxer/constants/src/GuildConstants';+import {CustomBadgeIdsType} from '@fluxer/schema/src/domains/admin/AdminBadgeSchemas';import {CommunityRemovalBasis} from '@fluxer/schema/src/domains/admin/EnforcementSchemas';import {GuildAuditLogListResponse} from '@fluxer/schema/src/domains/guild/GuildAuditLogSchemas';import {GuildBanCreateRequest} from '@fluxer/schema/src/domains/guild/GuildRequestSchemas';@@ -275,6 +276,7 @@ export const UpdateGuildRequest = UpdateGuildSettingsRequest.omit({guild_id: trunew_owner_id: TransferGuildOwnershipRequest.shape.new_owner_id.optional(),add_features: UpdateGuildFeaturesRequest.shape.add_features.unwrap().optional(),remove_features: UpdateGuildFeaturesRequest.shape.remove_features.unwrap().optional(),+ badge_ids: CustomBadgeIdsType.optional(),fields: ClearGuildFieldsRequest.shape.fields.optional(),});diff --git a/packages/schema/src/domains/admin/AdminSchemas.ts b/packages/schema/src/domains/admin/AdminSchemas.tsindex 3aef98cf9..a86af3d24 100644--- a/packages/schema/src/domains/admin/AdminSchemas.ts+++ b/packages/schema/src/domains/admin/AdminSchemas.ts@@ -26,6 +26,7 @@ import {} from '@fluxer/schema/src/domains/admin/AccountsConfigSchemas';import {ADMIN_ACL_COUNT, AdminAclType} from '@fluxer/schema/src/domains/admin/AdminAclType';import {AdminArchiveResponseSchema} from '@fluxer/schema/src/domains/admin/AdminArchiveSchemas';+import {CustomBadgeIdListResponse} from '@fluxer/schema/src/domains/admin/AdminBadgeSchemas';import {GuildAdminResponse} from '@fluxer/schema/src/domains/admin/AdminGuildSchemas';import {ReportNoteResponse} from '@fluxer/schema/src/domains/admin/AdminReportNoteSchemas';import {UserAdminResponseSchema} from '@fluxer/schema/src/domains/admin/AdminUserSchemas';@@ -1539,6 +1540,7 @@ const AdminLookupGuildSchema = z.object({splash: createStringType(1, 256).nullable(),embed_splash: createStringType(1, 256).nullable(),features: z.array(createStringType(1, 256)).max(100),+ badge_ids: CustomBadgeIdListResponse,verification_level: GuildVerificationLevelSchema,mfa_level: GuildMFALevelSchema,nsfw_level: NSFWLevelSchema,diff --git a/packages/schema/src/domains/admin/AdminUserSchemas.ts b/packages/schema/src/domains/admin/AdminUserSchemas.tsindex f6171ce9c..55f955198 100644--- a/packages/schema/src/domains/admin/AdminUserSchemas.ts+++ b/packages/schema/src/domains/admin/AdminUserSchemas.ts@@ -9,6 +9,7 @@ import {} from '@fluxer/constants/src/UserConstants';import {AccountTierSchema} from '@fluxer/schema/src/domains/account/AccountTierSchemas';import {ADMIN_ACL_COUNT, AdminAclType} from '@fluxer/schema/src/domains/admin/AdminAclType';+import {CustomBadgeIdListResponse} from '@fluxer/schema/src/domains/admin/AdminBadgeSchemas';import {BulkModerationBasis,ModerationBasis,@@ -91,6 +92,7 @@ export const UserAdminResponseSchema = z.object({),acls: z.array(z.string()).max(ADMIN_ACL_COUNT),traits: z.array(z.string()).max(100),+ badge_ids: CustomBadgeIdListResponse,has_totp: z.boolean(),has_password: z.boolean().describe('Whether the account has a password'),claimed: z.boolean().describe('Whether the account can be signed in to from another device'),diff --git a/packages/schema/src/domains/guild/GuildDiscoverySchemas.ts b/packages/schema/src/domains/guild/GuildDiscoverySchemas.tsindex 00bc77d20..26c98e83f 100644--- a/packages/schema/src/domains/guild/GuildDiscoverySchemas.ts+++ b/packages/schema/src/domains/guild/GuildDiscoverySchemas.ts@@ -12,6 +12,7 @@ import {isValidDiscoveryTag,normalizeDiscoveryTag,} from '@fluxer/constants/src/DiscoveryConstants';+import {CustomBadgeIdListResponse} from '@fluxer/schema/src/domains/admin/AdminBadgeSchemas';import {NSFWLevelSchema} from '@fluxer/schema/src/primitives/GuildValidators';import {SnowflakeStringType, SnowflakeType, withOpenApiType} from '@fluxer/schema/src/primitives/SchemaPrimitives';import {withSchemaMetadata} from '@fluxer/schema/src/SchemaMetadata';@@ -83,6 +84,7 @@ const DiscoveryGuildResponse = z.object({member_count: z.number().describe('Approximate member count'),online_count: z.number().describe('Approximate online member count'),features: z.array(z.string()).describe('Guild feature flags'),+ badge_ids: CustomBadgeIdListResponse.describe('IDs of the custom badges assigned to the community'),verification_level: z.number().describe('Verification level'),visits_enabled: withSchemaMetadata(zdiff --git a/packages/schema/src/domains/guild/GuildResponseSchemas.ts b/packages/schema/src/domains/guild/GuildResponseSchemas.tsindex c95dffddf..d3adb5e59 100644--- a/packages/schema/src/domains/guild/GuildResponseSchemas.ts+++ b/packages/schema/src/domains/guild/GuildResponseSchemas.ts@@ -8,6 +8,7 @@ import {SystemChannelFlags,SystemChannelFlagsDescriptions,} from '@fluxer/constants/src/GuildConstants';+import {CustomBadgeIdListResponse} from '@fluxer/schema/src/domains/admin/AdminBadgeSchemas';import {ChannelResponse} from '@fluxer/schema/src/domains/channel/ChannelSchemas';import {GuildEmojiResponse, GuildStickerResponse} from '@fluxer/schema/src/domains/guild/GuildEmojiSchemas';import {GuildRoleResponse} from '@fluxer/schema/src/domains/guild/GuildRoleSchemas';@@ -155,6 +156,9 @@ export const GuildResponse = z.object({afk_channel_id: SnowflakeStringType.nullish().describe('The ID of the AFK voice channel'),afk_timeout: Int32Type.describe('AFK timeout in seconds before moving users to the AFK channel'),features: GuildFeatureListSchema,+ badge_ids: CustomBadgeIdListResponse.describe(+ 'IDs of the custom badges assigned to the community. Look them up in guild_badges of the instance discovery document and skip IDs that are not there',+ ),verification_level: withFieldDescription(GuildVerificationLevelSchema,'Required verification level for members to participate',@@ -236,6 +240,7 @@ export const GuildPartialResponse = GuildResponse.pick({embed_splash_width: true,embed_splash_height: true,features: true,+ badge_ids: true,}).extend({visits_enabled: withSchemaMetadata(z@@ -278,6 +283,7 @@ export interface Guild {readonly afk_channel_id?: string | null;readonly afk_timeout?: number;readonly features: ReadonlyArray<string>;+ readonly badge_ids?: ReadonlyArray<string>;readonly verification_level?: number;readonly mfa_level?: number;readonly nsfw_level?: number;diff --git a/packages/schema/src/domains/instance/InstanceSchemas.ts b/packages/schema/src/domains/instance/InstanceSchemas.tsindex 7771d01c9..646591e57 100644--- a/packages/schema/src/domains/instance/InstanceSchemas.ts+++ b/packages/schema/src/domains/instance/InstanceSchemas.ts@@ -6,6 +6,7 @@ import {AccountIdentityModes,TagStyles,} from '@fluxer/constants/src/AccountIdentityConstants';+import {MAX_CUSTOM_BADGES_PER_TYPE} from '@fluxer/constants/src/BadgeConstants';import {CaptchaProviderSchema,EffectiveVerificationBasisSchema,@@ -16,7 +17,11 @@ import {} from '@fluxer/schema/src/domains/account/AccountTierSchemas';import {DomainMigrationDiscoveryResponse} from '@fluxer/schema/src/domains/admin/DomainMigrationSchemas';import {SsoStatusResponse} from '@fluxer/schema/src/domains/auth/AuthSchemas';-import {createNamedStringLiteralUnion, createStringType} from '@fluxer/schema/src/primitives/SchemaPrimitives';+import {+ createNamedStringLiteralUnion,+ createStringType,+ SnowflakeStringType,+} from '@fluxer/schema/src/primitives/SchemaPrimitives';import {z} from 'zod';const LimitFilterResponse = z.object({@@ -379,6 +384,16 @@ export const InstanceNoticeSchema = z.describe('Notice from the instance administrator shown to everyone, such as planned maintenance');export type InstanceNotice = z.infer<typeof InstanceNoticeSchema>;+export const InstanceGuildBadgeSchema = z.object({+ id: SnowflakeStringType.describe('The ID of the badge, as listed in badge_ids of a community'),+ name: z.string().describe('The name of the badge'),+ description: z.string().nullable().describe('Text shown under the name when hovering over the badge, or null'),+ asset_url: z.string().describe('URL of the badge image, served as WebP by the media proxy'),+ href: z.string().nullable().describe('URL opened when the badge is clicked, or null'),+});++export type InstanceGuildBadge = z.infer<typeof InstanceGuildBadgeSchema>;+export const WellKnownFluxerResponse = z.object({codename: z.string().optional().describe('Protocol generation spoken by this instance'),api_code_version: z.number().int().describe('Version of the API server code'),@@ -400,6 +415,11 @@ export const WellKnownFluxerResponse = z.object({domain_migration: DomainMigrationDiscoveryResponse.optional().describe('Web domain migration switch and anonymous rollout, only acted on by official instance clients',),+ guild_badges: z+ .array(InstanceGuildBadgeSchema)+ .max(MAX_CUSTOM_BADGES_PER_TYPE)+ .optional()+ .describe('Custom badges that communities on this instance can show next to their name, in display order'),});export type WellKnownFluxerResponse = z.infer<typeof WellKnownFluxerResponse>;diff --git a/packages/schema/src/domains/user/ProfileBadgeSchemas.ts b/packages/schema/src/domains/user/ProfileBadgeSchemas.tsindex 25fe28aa4..e83ed7c16 100644--- a/packages/schema/src/domains/user/ProfileBadgeSchemas.ts+++ b/packages/schema/src/domains/user/ProfileBadgeSchemas.ts@@ -1,13 +1,31 @@// SPDX-License-Identifier: AGPL-3.0-or-later+import {isProfileBadgeKey, MAX_HIDDEN_PROFILE_BADGES} from '@fluxer/constants/src/BadgeConstants';import {HexString16Type} from '@fluxer/schema/src/primitives/SchemaPrimitives';import {z} from 'zod';+export const HiddenProfileBadgesType = z+ .array(+ z+ .string()+ .refine(isProfileBadgeKey, 'Unknown badge key')+ .describe('A badge key: a built-in badge kind, or custom:{id} for a custom badge'),+ )+ .max(MAX_HIDDEN_PROFILE_BADGES)+ .describe(+ 'The full list of badge keys to hide from other people. It replaces the stored list, takes precedence over the deprecated hide fields, and keys of custom badges that no longer exist are dropped',+ );+export const ProfileBadgeResponse = z.object({+ key: z+ .string()+ .describe(+ 'Stable identity of the badge. It equals kind for built-in badges and is custom:{id} for custom badges, so use it as the list key',+ ),kind: z.string().describe(- 'Stable badge key. Known values: staff, partner, bug_hunter, operator_pass, visionary, visionary_number, plutonium, and premium on self-hosted instances. Clients must render unknown values from the other fields.',+ 'Badge type. Known values: staff, partner, bug_hunter, operator_pass, visionary, visionary_number, plutonium, custom, and premium on self-hosted instances. Clients must render unknown values from the other fields.',),label: z.string()@@ -15,8 +33,14 @@ export const ProfileBadgeResponse = z.object({'Full badge description, localized for the viewer. Use it as the tooltip, and as alt text when there is no caption',),asset: HexString16Type.nullable().describe(- 'Badge image hash. The image is served at {static_cdn}/badges/{asset}.webp. Null for text badges',+ 'Badge image hash. The image is served at {static_cdn}/badges/{asset}.webp. Null for text badges and for badges with asset_url',),+ asset_url: z+ .string()+ .nullable()+ .describe(+ 'Absolute image URL for a badge whose image is not a static badge hash, such as a custom badge. Null otherwise',+ ),small_asset: HexString16Type.optional().describe('Image hash drawn for 20 pixels and smaller, served like asset. Use it instead of asset at those sizes. Absent when asset reads well small',),@@ -60,15 +84,18 @@ export const ProfileBadgeListResponse = z.array(ProfileBadgeResponse).describe('Profile badges in display order. Empty when there is nothing to show');+export const OwnProfileBadgeResponse = ProfileBadgeResponse.extend({+ hidden: z+ .boolean()+ .describe('True when the badge key is in your hidden_profile_badges, so other people do not see it'),+});++export type OwnProfileBadgeResponse = z.infer<typeof OwnProfileBadgeResponse>;+export const ProfileBadgePreviewRequest = z.object({- premium_badge_hidden: z.boolean().optional().describe('Preview with the premium badge hidden'),+ hidden_profile_badges: HiddenProfileBadgesType.optional(),premium_badge_masked: z.boolean().optional().describe('Preview with the premium badge masked'),premium_badge_timestamp_hidden: z.boolean().optional().describe('Preview with the premium badge date hidden'),- premium_badge_sequence_hidden: z.boolean().optional().describe('Preview with the Visionary ID hidden'),- operator_pass_badge_hidden: z- .boolean()- .optional()- .describe('Preview with the Operator Pass badge hidden, or shown when false'),operator_pass_badge_timestamp_hidden: z.boolean().optional()@@ -77,12 +104,18 @@ export const ProfileBadgePreviewRequest = z.object({.boolean().optional().describe('Preview with the number of Operator Passes held hidden'),+ premium_badge_hidden: z.boolean().optional().describe('Deprecated, use hidden_profile_badges'),+ premium_badge_sequence_hidden: z.boolean().optional().describe('Deprecated, use hidden_profile_badges'),+ operator_pass_badge_hidden: z.boolean().optional().describe('Deprecated, use hidden_profile_badges'),});export type ProfileBadgePreviewRequest = z.infer<typeof ProfileBadgePreviewRequest>;export const ProfileBadgePreviewResponse = z.object({- profile_badges: ProfileBadgeListResponse,+ profile_badges: ProfileBadgeListResponse.describe('The badges other people would see with these settings'),+ own_badges: z+ .array(OwnProfileBadgeResponse)+ .describe('Every badge you hold, in display order, with whether these settings hide it'),});export type ProfileBadgePreviewResponse = z.infer<typeof ProfileBadgePreviewResponse>;diff --git a/packages/schema/src/domains/user/UserRequestSchemas.ts b/packages/schema/src/domains/user/UserRequestSchemas.tsindex db5f2eb69..8a47c9791 100644--- a/packages/schema/src/domains/user/UserRequestSchemas.ts+++ b/packages/schema/src/domains/user/UserRequestSchemas.ts@@ -18,6 +18,7 @@ import {} from '@fluxer/constants/src/UserConstants';import {ValidationErrorCodes} from '@fluxer/constants/src/ValidationErrorCodes';import {SudoVerificationSchema} from '@fluxer/schema/src/domains/auth/AuthSchemas';+import {HiddenProfileBadgesType} from '@fluxer/schema/src/domains/user/ProfileBadgeSchemas';import {isValidSyncedPreferencesEncoding,SYNCED_PREFERENCES_MAX_ENCODED_LENGTH,@@ -79,13 +80,20 @@ export const UserUpdateRequest = z'Bitfield controlling who can see the profile timezone','ProfileFieldPrivacyFlags',).describe('Bitfield controlling who can see the profile timezone'),- premium_badge_hidden: z.boolean().describe('Whether to hide the premium badge'),+ hidden_profile_badges: HiddenProfileBadgesType,+ premium_badge_hidden: z+ .boolean()+ .describe(+ 'Deprecated, use hidden_profile_badges. true adds plutonium, visionary and premium to the list, and false removes them',+ ),premium_badge_masked: z.boolean().describe('Whether to mask the premium badge'),premium_badge_timestamp_hidden: z.boolean().describe('Whether to hide premium badge timestamp'),- premium_badge_sequence_hidden: z.boolean().describe('Whether to hide premium badge sequence'),+ premium_badge_sequence_hidden: z+ .boolean()+ .describe('Deprecated, use hidden_profile_badges. true adds visionary_number to the list, and false removes it'),operator_pass_badge_hidden: z.boolean()- .describe('Whether to hide the Operator Pass badge from other people. Either value replaces the default'),+ .describe('Deprecated, use hidden_profile_badges. true adds operator_pass to the list, and false removes it'),operator_pass_badge_timestamp_hidden: z.boolean().describe('Whether to hide from other people the month and year the Operator Pass was first held'),diff --git a/packages/schema/src/domains/user/UserResponseSchemas.ts b/packages/schema/src/domains/user/UserResponseSchemas.tsindex cadf9c4bb..96d3a5fac 100644--- a/packages/schema/src/domains/user/UserResponseSchemas.ts+++ b/packages/schema/src/domains/user/UserResponseSchemas.ts@@ -125,10 +125,17 @@ export const UserPrivateResponse = UserPartialResponse.extend({.describe('Whether the user selected a premium-only discriminator that will be rerolled when non-lifetime premium access ends',),- premium_badge_hidden: z.boolean().describe('Whether the premium badge is hidden on the profile'),+ hidden_profile_badges: z+ .array(z.string())+ .describe('Keys of the badges hidden from other people, as in the key field of a profile badge'),+ premium_badge_hidden: z+ .boolean()+ .describe('Deprecated, use hidden_profile_badges. Whether the premium badge held is in that list'),premium_badge_masked: z.boolean().describe('Whether the premium badge shows a masked appearance'),premium_badge_timestamp_hidden: z.boolean().describe('Whether the premium start timestamp is hidden'),- premium_badge_sequence_hidden: z.boolean().describe('Whether the lifetime sequence number is hidden'),+ premium_badge_sequence_hidden: z+ .boolean()+ .describe('Deprecated, use hidden_profile_badges. Whether visionary_number is in that list'),premium_purchase_disabled: z.boolean().describe('Whether premium purchases are disabled for this account'),premium_enabled_override: z.boolean().describe('Whether premium features are enabled via override'),premium_perks_disabled: z.boolean().describe('Whether premium perks are temporarily disabled for this account'),@@ -136,7 +143,7 @@ export const UserPrivateResponse = UserPartialResponse.extend({.boolean().optional().describe(- 'Whether the Operator Pass badge is hidden from other people. Only present on the current user response. Older servers omit it',+ 'Deprecated, use hidden_profile_badges. Whether operator_pass is in that list. Only present on the current user response. Older servers omit it',),operator_pass_badge_timestamp_hidden: z.boolean()@@ -544,6 +551,7 @@ export interface UserPrivate extends UserPartial, UserProfile {readonly premium_lifetime_sequence: number | null;readonly premium_grace_ends_at: string | null;readonly premium_discriminator: boolean;+ readonly hidden_profile_badges?: ReadonlyArray<string>;readonly premium_badge_hidden: boolean;readonly premium_badge_masked: boolean;readonly premium_badge_timestamp_hidden: boolean;@@ -673,6 +681,11 @@ export const UserProfileFullResponse = z.object({.describe('ISO8601 timestamp of when the user got the Operator Pass, or null when absent or hidden. Older servers omit it',),+ hidden_profile_badge_count: z+ .number()+ .int()+ .optional()+ .describe('How many of the badges you hold are hidden from other people. Only present on your own profile'),mutual_friends: z.array(UserPartialResponse).optional().describe('Array of mutual friends'),mutual_guilds: z.array(MutualGuildResponse).optional().describe('Array of mutual guilds'),connected_accounts: z.array(ConnectionResponse).optional().describe('Array of verified external connections'),diff --git a/tools/dev/cassandra_target_schema.json b/tools/dev/cassandra_target_schema.jsonindex 04c2a2a03..b4c7eb122 100644--- a/tools/dev/cassandra_target_schema.json+++ b/tools/dev/cassandra_target_schema.json@@ -6160,6 +6160,10 @@"name": "features","type": "set<text>"},+ {+ "name": "badge_ids",+ "type": "set<bigint>"+ },{"name": "verification_level","type": "int"@@ -9958,6 +9962,14 @@"name": "traits","type": "set<text>"},+ {+ "name": "badge_ids",+ "type": "set<bigint>"+ },+ {+ "name": "hidden_profile_badges",+ "type": "set<text>"+ },{"name": "premium_type","type": "int"