diff --git a/.silo-translations b/.silo-translations index c1b275f1062..023f2c8281e 100644 --- a/.silo-translations +++ b/.silo-translations @@ -1,3 +1,3 @@ platform=web -version=2026.12.03-957f0eb -sha256=391cb6012923fce2d4fd6f1b827c009bf48ea00748f91e169550a50619516ba6 +version=local-65c290042b51 +sha256=- diff --git a/contracts/api/v2/fixtures/admin_account_profile_clear_pin.json b/contracts/api/v2/fixtures/admin_account_profile_clear_pin.json index 9cd1bce1477..a9d1ce50900 100644 --- a/contracts/api/v2/fixtures/admin_account_profile_clear_pin.json +++ b/contracts/api/v2/fixtures/admin_account_profile_clear_pin.json @@ -11,6 +11,7 @@ "max_advisory_age": null, "require_advisory_age": false, "requests_allowed": true, + "excluded_tags": [], "quality_preference": "auto", "language": "en", "preferred_metadata_language": "", diff --git a/contracts/api/v2/fixtures/admin_account_profile_create.json b/contracts/api/v2/fixtures/admin_account_profile_create.json index 9f9ba0bb241..31745fb4405 100644 --- a/contracts/api/v2/fixtures/admin_account_profile_create.json +++ b/contracts/api/v2/fixtures/admin_account_profile_create.json @@ -11,6 +11,7 @@ "max_advisory_age": null, "require_advisory_age": false, "requests_allowed": true, + "excluded_tags": [], "quality_preference": "auto", "language": "en", "preferred_metadata_language": "", diff --git a/contracts/api/v2/fixtures/admin_account_profile_get.json b/contracts/api/v2/fixtures/admin_account_profile_get.json index 9cd1bce1477..a9d1ce50900 100644 --- a/contracts/api/v2/fixtures/admin_account_profile_get.json +++ b/contracts/api/v2/fixtures/admin_account_profile_get.json @@ -11,6 +11,7 @@ "max_advisory_age": null, "require_advisory_age": false, "requests_allowed": true, + "excluded_tags": [], "quality_preference": "auto", "language": "en", "preferred_metadata_language": "", diff --git a/contracts/api/v2/fixtures/admin_catalog_capabilities.json b/contracts/api/v2/fixtures/admin_catalog_capabilities.json index 341578f452d..24c8cbcd144 100644 --- a/contracts/api/v2/fixtures/admin_catalog_capabilities.json +++ b/contracts/api/v2/fixtures/admin_catalog_capabilities.json @@ -1,5 +1,5 @@ { - "revision": "87ed2f969d24f16ec7d7c81e2bf71e1f696803213b2b6badcc3b870a70e47304", + "revision": "82eac3785d46084df08afe3dd492e5747b69683c83b5a7a71d42a27b16ab76e4", "state": "available", "allowed": true, "item_listing": true, @@ -12,5 +12,6 @@ "item_posters": false, "metadata_listing": true, "image_slot_locks": true, - "episode_stills": true + "episode_stills": true, + "custom_tags": true } diff --git a/contracts/api/v2/fixtures/create_profile_created.json b/contracts/api/v2/fixtures/create_profile_created.json index 3c970a314d9..be7978f6042 100644 --- a/contracts/api/v2/fixtures/create_profile_created.json +++ b/contracts/api/v2/fixtures/create_profile_created.json @@ -11,6 +11,7 @@ "max_advisory_age": null, "require_advisory_age": false, "requests_allowed": true, + "excluded_tags": [], "quality_preference": "auto", "language": "en", "preferred_metadata_language": "", diff --git a/contracts/api/v2/fixtures/list_profiles_ok.json b/contracts/api/v2/fixtures/list_profiles_ok.json index dd4a8b5d441..73912198e7e 100644 --- a/contracts/api/v2/fixtures/list_profiles_ok.json +++ b/contracts/api/v2/fixtures/list_profiles_ok.json @@ -13,6 +13,7 @@ "max_advisory_age": null, "require_advisory_age": false, "requests_allowed": true, + "excluded_tags": [], "quality_preference": "auto", "language": "en", "preferred_metadata_language": "", @@ -35,5 +36,6 @@ "avatar_upload_enabled": false, "max_advisory_age_supported": true, "require_advisory_age_supported": true, - "requests_allowed_supported": true + "requests_allowed_supported": true, + "excluded_tags_supported": true } diff --git a/contracts/api/v2/fixtures/update_profile_ok.json b/contracts/api/v2/fixtures/update_profile_ok.json index 9cd1bce1477..a9d1ce50900 100644 --- a/contracts/api/v2/fixtures/update_profile_ok.json +++ b/contracts/api/v2/fixtures/update_profile_ok.json @@ -11,6 +11,7 @@ "max_advisory_age": null, "require_advisory_age": false, "requests_allowed": true, + "excluded_tags": [], "quality_preference": "auto", "language": "en", "preferred_metadata_language": "", diff --git a/contracts/api/v2/fixtures/upload_profile_avatar_ok.json b/contracts/api/v2/fixtures/upload_profile_avatar_ok.json index d61ed294983..87732c91197 100644 --- a/contracts/api/v2/fixtures/upload_profile_avatar_ok.json +++ b/contracts/api/v2/fixtures/upload_profile_avatar_ok.json @@ -11,6 +11,7 @@ "max_advisory_age": null, "require_advisory_age": false, "requests_allowed": true, + "excluded_tags": [], "quality_preference": "auto", "language": "en", "preferred_metadata_language": "", diff --git a/contracts/api/v2/openapi.json b/contracts/api/v2/openapi.json index 68dc52bc3a4..21fe8fe0fd6 100644 --- a/contracts/api/v2/openapi.json +++ b/contracts/api/v2/openapi.json @@ -5836,6 +5836,10 @@ "description": "Whether the current principal may use the capability", "type": "boolean" }, + "custom_tags": { + "description": "updateAdminItemMetadata accepts custom_tags on a movie or series, item detail returns them to a metadata curator, and listCatalogCustomTags is served", + "type": "boolean" + }, "episode_stills": { "description": "listAdminItemImages lists an episode's still choices and current still_url, and uploadAdminItemImage accepts type still for an episode", "type": "boolean" @@ -5908,6 +5912,7 @@ "metadata_listing", "image_slot_locks", "episode_stills", + "custom_tags", "revision", "state", "allowed" @@ -16714,6 +16719,19 @@ "null" ] }, + "custom_tags": { + "description": "Replaces a movie's or series' custom tags: free-text labels no metadata provider writes, so a refresh keeps them. A profile's excluded_tags hide every title carrying one of its tags. Each tag is trimmed with inner whitespace collapsed, and tags that differ only in case are kept once, in the first spelling. At most 50 tags of at most 64 characters; an empty array clears them. getAdminCatalogCapabilities reports custom_tags when this member is accepted", + "examples": [ + [ + "Gore" + ] + ], + "items": { + "type": "string" + }, + "maxItems": 50, + "type": "array" + }, "episode_number": { "format": "int64", "type": [ @@ -32343,6 +32361,31 @@ ], "type": "object" }, + "CatalogCustomTag": { + "additionalProperties": false, + "properties": { + "tag": { + "description": "The tag in its most used spelling; tags that differ only in case are one tag", + "examples": [ + "Gore" + ], + "type": "string" + }, + "title_count": { + "description": "How many movies and series the caller can see that carry the tag", + "examples": [ + 11 + ], + "format": "int64", + "type": "integer" + } + }, + "required": [ + "tag", + "title_count" + ], + "type": "object" + }, "CatalogEffectiveSort": { "additionalProperties": false, "properties": { @@ -33076,6 +33119,13 @@ }, "type": "array" }, + "custom_tags": { + "description": "A movie's or series' custom tags, the free-text labels set through updateAdminItemMetadata. Returned only to a viewer who curates the item's metadata; omitted for everyone else and when the item has none", + "items": { + "type": "string" + }, + "type": "array" + }, "disc_url": { "description": "Presigned, short-lived. Transparent disc art. Movies only", "format": "uri-reference", @@ -35937,6 +35987,26 @@ ], "type": "object" }, + "CollectionCatalogCustomTag": { + "additionalProperties": false, + "properties": { + "items": { + "description": "The page's items; empty, never null", + "items": { + "$ref": "#/components/schemas/CatalogCustomTag" + }, + "type": "array" + }, + "page": { + "$ref": "#/components/schemas/PageInfo", + "description": "Cursor state; absent for bounded unpaginated collections" + } + }, + "required": [ + "items" + ], + "type": "object" + }, "CollectionDisplayFilterPresets": { "additionalProperties": false, "properties": { @@ -54965,6 +55035,18 @@ "patternDescription": "a non-zero RFC 3339 instant", "type": "string" }, + "excluded_tags": { + "description": "Custom tags the profile may not see: a movie or series carrying any of them is hidden from it, with its seasons and episodes, whatever its rating and whatever title allowances say. Matched without regard to case. Each tag is trimmed, and tags that differ only in case are kept once. Set by the household manager; empty means none", + "examples": [ + [ + "Gore" + ] + ], + "items": { + "type": "string" + }, + "type": "array" + }, "has_pin": { "examples": [ false @@ -55111,6 +55193,7 @@ "max_advisory_age", "require_advisory_age", "requests_allowed", + "excluded_tags", "quality_preference", "language", "preferred_metadata_language", @@ -55157,6 +55240,13 @@ ], "type": "boolean" }, + "excluded_tags_supported": { + "description": "Whether profiles accept excluded_tags and the server enforces it", + "examples": [ + true + ], + "type": "boolean" + }, "items": { "description": "The page's items; empty, never null", "items": { @@ -55204,6 +55294,7 @@ "max_advisory_age_supported", "require_advisory_age_supported", "requests_allowed_supported", + "excluded_tags_supported", "items" ], "type": "object" @@ -55260,6 +55351,19 @@ ], "type": "string" }, + "excluded_tags": { + "description": "Custom tags the profile may not see: a movie or series carrying any of them is hidden from it, with its seasons and episodes, whatever its rating and whatever title allowances say. Matched without regard to case. Each tag is trimmed, and tags that differ only in case are kept once. Set by the household manager. At most 50 tags of at most 64 characters; omitted means none", + "examples": [ + [ + "Gore" + ] + ], + "items": { + "type": "string" + }, + "maxItems": 50, + "type": "array" + }, "is_child": { "examples": [ false @@ -55869,6 +55973,19 @@ "null" ] }, + "excluded_tags": { + "description": "Replaces the excluded tags. Custom tags the profile may not see: a movie or series carrying any of them is hidden from it, with its seasons and episodes, whatever its rating and whatever title allowances say. Matched without regard to case. Each tag is trimmed, and tags that differ only in case are kept once. Set by the household manager. At most 50 tags of at most 64 characters; an empty array clears them", + "examples": [ + [ + "Gore" + ] + ], + "items": { + "type": "string" + }, + "maxItems": 50, + "type": "array" + }, "is_child": { "examples": [ false @@ -62872,13 +62989,14 @@ "type": "string" }, "state": { - "description": "within_limits: the profile sees the title without an allowance. allowed: the profile has its own allowance for it. allowed_by_collection: an allowed collection holds it. above_limit: the title is above the profile's limits and can be allowed. no_library_access: the profile cannot see the title's library, so an allowance would not help", + "description": "within_limits: the profile sees the title without an allowance. allowed: the profile has its own allowance for it. allowed_by_collection: an allowed collection holds it. above_limit: the title is above the profile's limits and can be allowed. no_library_access: the profile cannot see the title's library, so an allowance would not help. hidden_by_tag: the title carries a custom tag the profile excludes, which no allowance lifts", "enum": [ "within_limits", "allowed", "allowed_by_collection", "above_limit", - "no_library_access" + "no_library_access", + "hidden_by_tag" ], "examples": [ "above_limit" @@ -170575,6 +170693,149 @@ "x-silo-service-backed": true } }, + "/api/v2/catalog/custom-tags": { + "get": { + "operationId": "listCatalogCustomTags", + "parameters": [ + { + "description": "The household profile acting for this request; it must belong to the authenticated account.", + "in": "header", + "name": "X-Profile-Id", + "required": true, + "schema": { + "examples": [ + "1" + ], + "type": "string" + } + }, + { + "description": "Verification proof for a PIN-locked profile, issued by POST /api/v2/profiles/{id}/verify-pin; required only when the declared profile is locked", + "in": "header", + "name": "X-Profile-Token", + "schema": { + "examples": [ + "pvt_5f3a9c1e7b2d4e8fa0c6" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CollectionCatalogCustomTag" + } + } + }, + "description": "OK" + }, + "400": { + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Problem" + } + } + }, + "description": "Bad Request" + }, + "401": { + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Problem" + } + } + }, + "description": "Unauthorized" + }, + "403": { + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Problem" + } + } + }, + "description": "Forbidden" + }, + "404": { + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Problem" + } + } + }, + "description": "Not Found" + }, + "406": { + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Problem" + } + } + }, + "description": "Not Acceptable" + }, + "422": { + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Problem" + } + } + }, + "description": "Unprocessable Entity" + }, + "429": { + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Problem" + } + } + }, + "description": "Too Many Requests" + }, + "500": { + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Problem" + } + } + }, + "description": "Internal Server Error" + }, + "503": { + "content": { + "application/problem+json": { + "schema": { + "$ref": "#/components/schemas/Problem" + } + } + }, + "description": "Service Unavailable" + } + }, + "security": [ + { + "bearerAuth": [] + } + ], + "summary": "The custom tags on the movies and series the caller can see, most used first, for the metadata editor and a profile's excluded_tags.", + "tags": [ + "catalog" + ], + "x-silo-class": "profile_scoped", + "x-silo-service-backed": true + } + }, "/api/v2/catalog/filters": { "get": { "operationId": "getCatalogFilters", diff --git a/docs/admin-api.md b/docs/admin-api.md index f55dfc8565b..fdc7b9a9155 100644 --- a/docs/admin-api.md +++ b/docs/admin-api.md @@ -4011,7 +4011,7 @@ identifies the acting administrator. Actor filters use | `user.login_session_revoked` | `deleteSession`, `deleteAdminUserLoginSession` | `login_session_id` (before) | | `user.login_sessions_revoked` | `deleteAdminUserLoginSessions` | `revoked_login_sessions` count; recorded when the call ended any login session or Audiobookshelf, Jellyfin-compatible or device sign-in | | `api_key.created`, `api_key.updated`, `api_key.deleted` | `createAdminAPIKey`, `updateAdminAPIKeyTier`, `deleteAdminAPIKey`, `createPersonalAPIKey`, `revokePersonalAPIKey` | `user_id` (owner), `label`, `rate_tier`, `scopes` (an empty list is an unscoped key with its owner's full access) | -| `profile.created`, `profile.updated`, `profile.deleted` | `createProfile`, `updateProfile`, `deleteProfile` | `name`, `is_child`, `is_primary`, `max_content_rating`, `max_advisory_age`, `require_advisory_age`, `library_restrictions_enabled`, `allowed_library_ids`, `max_playback_quality`, `pin` | +| `profile.created`, `profile.updated`, `profile.deleted` | `createProfile`, `updateProfile`, `deleteProfile` | `name`, `is_child`, `is_primary`, `max_content_rating`, `max_advisory_age`, `require_advisory_age`, `excluded_tags`, `library_restrictions_enabled`, `allowed_library_ids`, `max_playback_quality`, `pin` | | `profile.updated` | `allowTitle`, `disallowTitle`, `allowCollection`, `disallowCollection`, `allowCollectionTitles`; target is the profile the allowance is for | `allowed_title` or `allowed_collection` (the item or collection ID, after when allowed, before when removed); `allowed_titles_added` count for a copy | | `direct_connection.enrolled` | `enrollDirectConnectionDevice`; target is the device ID; recorded for the first enrollment of a node key for a device (a key replacement included), not for a renewal of the same key | `device_id`, `node_key` (after); never the signaling ticket | diff --git a/docs/architecture/backups.md b/docs/architecture/backups.md index 01cdb5ba38f..85c201c89dd 100644 --- a/docs/architecture/backups.md +++ b/docs/architecture/backups.md @@ -1342,7 +1342,7 @@ backup. `is_owner` and `break_glass` are never carried. **Profile fields:** name, avatar, `is_primary`, PIN hash, and every field the access resolver (`internal/access/resolver.go`) reads to decide access: `is_child`, `max_content_rating`, `max_advisory_age`, `require_advisory_age`, -`requests_blocked`, `library_restrictions_enabled`, the allowed libraries +`requests_blocked`, `excluded_tags`, `library_restrictions_enabled`, the allowed libraries (`user_profile_allowed_libraries`), and `max_playback_quality`. The PIN revision is not carried; a restored profile starts its own. A profile restored as the account's primary drops its library limit, since the primary profile @@ -2115,7 +2115,8 @@ neither list. both sides have, a protection or restriction lifted or loosened (its PIN, becoming the primary profile, child profile, rating or advisory-age ceiling, block - from requests, library restriction, playback-quality ceiling), or a + from requests, an excluded custom tag, library restriction, + playback-quality ceiling), or a looser request policy (requests at all, without limit, more titles or over a shorter window, or with automatic approval, as `requests.LayeredPolicy` resolves it from diff --git a/docs/architecture/title-allowances.md b/docs/architecture/title-allowances.md index c9980f080ca..4e58ece7b09 100644 --- a/docs/architecture/title-allowances.md +++ b/docs/architecture/title-allowances.md @@ -21,7 +21,8 @@ would compare episode IDs with title IDs and hide allowed episodes. Extras have their own and follow their title. An allowance lifts only the profile's own maturity limits. Library access, -hidden libraries and every other restriction still apply, and the API refuses +hidden libraries, excluded custom tags (`MaturityLimits.ExcludedTags`, which +`RatingActive` leaves out) and every other restriction still apply, and the API refuses an allowance for a title the profile cannot reach through its libraries. Two stricter limits also win over it: diff --git a/docs/catalog-api.md b/docs/catalog-api.md index 6291daa0b17..19383491f0c 100644 --- a/docs/catalog-api.md +++ b/docs/catalog-api.md @@ -853,8 +853,9 @@ answers `403` otherwise. - `GET /api/v2/catalog/items/{id}/title-allowances` lists every other profile on the account with its `state` for the movie or series: `within_limits`, - `allowed`, `allowed_by_collection`, `above_limit` (can be allowed), or - `no_library_access`. + `allowed`, `allowed_by_collection`, `above_limit` (can be allowed), + `no_library_access`, or `hidden_by_tag` (the title carries a custom tag the + profile excludes, which no allowance lifts). - `PUT` and `DELETE /api/v2/profiles/{id}/allowed-titles/{item_id}` add and remove one allowance; both answer `204` and repeat safely. `PUT` answers `422` for an episode or season (allow the series), for a profile with no limit @@ -1580,6 +1581,38 @@ discovery with `requests_allowed` (boolean, default `true`); see [media requests](architecture/media-requests.md#who-can-request). Detect it with `requests_allowed_supported` on the `listProfiles` response. +### Custom tags + +Custom tags are free-text labels an admin puts on a movie or series. No +metadata provider writes them, so a refresh, Reset to Provider, and a rematch +to another provider id keep them; merging two items keeps the tags of both. + +- Write them with `custom_tags` on `updateAdminItemMetadata` (an array; an empty + array clears them). Each tag is trimmed with inner whitespace collapsed, and + tags that differ only in case are kept once, in the first spelling. At most 50 + tags of at most 64 characters each. Seasons, episodes and other item types + have none. `getAdminCatalogCapabilities` reports `custom_tags` when the server + accepts the member. +- The item detail carries `custom_tags` only for a viewer who curates metadata + (`ViewerCurates`), as it does other curator-only fields; it is absent when + the item has none. +- `listCatalogCustomTags` (`GET /api/v2/catalog/custom-tags`) returns the tags + on the movies and series the active profile can see, one entry per tag + whatever its spelling, each with `title_count`, most used first. It feeds the + metadata editor's suggestions and the profile editor's tag picker. + +A household manager can hide every title carrying any of a profile's +`excluded_tags` (an array on the v2 profile operations, with the same bounds). +Tags match without regard to case. A series' tags hide its seasons and +episodes. The limit applies everywhere the content-rating ceiling does, through +`catalog.ApplyMaturityLimits`, and a title allowance never lifts it: an +allowance lifts only the rating and advisory-age limits. Only a household +manager can set or clear the field, and changing it bumps the account's access +policy revision. Media-request discovery cannot apply it, because titles +outside the library carry no tags. Detect support with +`excluded_tags_supported` on the `listProfiles` response, and do not send the +member to a server that does not report it. + ## Ratings on title pages Every client shows a title's external ratings the same way: the item detail diff --git a/internal/access/household.go b/internal/access/household.go index ed71defac60..a63ec13308a 100644 --- a/internal/access/household.go +++ b/internal/access/household.go @@ -13,7 +13,8 @@ import "github.com/Silo-Server/silo-server/internal/userstore" // request names that profile, and a household that must not fall back to // account scope gives the profile one of these limits. func ProfileIsLimited(profile userstore.Profile) bool { - maturity := MaturityLimits{MaxContentRating: profile.MaxContentRating, MaxAdvisoryAge: profile.MaxAdvisoryAge} + maturity := MaturityLimits{MaxContentRating: profile.MaxContentRating, MaxAdvisoryAge: profile.MaxAdvisoryAge}. + WithExcludedTags(profile.ExcludedTags) _, libraryLimited := ProfileLibraryLimit(&profile) return profile.PINHash != "" || maturity.Active() || diff --git a/internal/access/household_test.go b/internal/access/household_test.go index 211e8b61df9..dd0aab53bc5 100644 --- a/internal/access/household_test.go +++ b/internal/access/household_test.go @@ -19,6 +19,7 @@ func TestProfileIsLimited(t *testing.T) { // restriction, not the absence of one. {"blank deny-all ceiling", userstore.Profile{ID: "p", MaxContentRating: " "}, true}, {"advisory limit", userstore.Profile{ID: "p", MaxAdvisoryAge: 12}, true}, + {"excluded tag", userstore.Profile{ID: "p", ExcludedTags: []string{"Gore"}}, true}, {"library restriction", userstore.Profile{ID: "p", LibraryRestrictionsEnabled: true, AllowedLibraryIDs: []int{1}}, true}, {"empty library restriction", userstore.Profile{ID: "p", LibraryRestrictionsEnabled: true}, true}, // Library IDs without the restriction flag are ignored by the resolver. diff --git a/internal/access/resolver.go b/internal/access/resolver.go index 3345adee42f..ba00100be1b 100644 --- a/internal/access/resolver.go +++ b/internal/access/resolver.go @@ -276,7 +276,7 @@ func ProfileMaturity(profile *userstore.Profile, allowUnrated bool) MaturityLimi AllowUnratedContent: allowUnrated, MaxAdvisoryAge: profile.MaxAdvisoryAge, RequireAdvisoryAge: profile.RequireAdvisoryAge && profile.MaxAdvisoryAge > 0, - }.WithAllowedTitles(profile.AllowedTitleIDs) + }.WithExcludedTags(profile.ExcludedTags).WithAllowedTitles(profile.AllowedTitleIDs) } // ProfileLibraries is the libraries a profile may see under its account's diff --git a/internal/access/tags.go b/internal/access/tags.go new file mode 100644 index 00000000000..ae203f6c171 --- /dev/null +++ b/internal/access/tags.go @@ -0,0 +1,86 @@ +package access + +import ( + "slices" + "strings" + "unicode/utf8" +) + +// Custom tag bounds. A title or a profile holds at most MaxCustomTags tags of +// at most MaxCustomTagLength characters each. +const ( + MaxCustomTags = 50 + MaxCustomTagLength = 64 +) + +// NormalizeTag is a custom tag as stored: trimmed, with each run of +// whitespace inside it collapsed to one space. "" means no tag. +func NormalizeTag(tag string) string { + return strings.Join(strings.Fields(tag), " ") +} + +// TagKey is the form tags are compared in: the normalized tag in lowercase, +// so "Gore", "gore" and " GORE " are one tag. +func TagKey(tag string) string { + return strings.ToLower(NormalizeTag(tag)) +} + +// NormalizeTags normalizes each tag, drops empty ones, and keeps the first +// spelling of tags that share a TagKey, in the order given. It returns a +// non-nil slice, and reports false when a tag is longer than +// MaxCustomTagLength or more than MaxCustomTags remain. +func NormalizeTags(tags []string) ([]string, bool) { + out := firstSpellings(tags) + if len(out) > MaxCustomTags { + return nil, false + } + for _, tag := range out { + if utf8.RuneCountInString(tag) > MaxCustomTagLength { + return nil, false + } + } + return out, true +} + +// DistinctTags returns the normalized tags, the first spelling of each +// TagKey, ordered by TagKey; nil when none remain. Catalog SQL matches them +// with lower() on both sides, so Go's and the database's case folding never +// have to agree. +func DistinctTags(tags []string) []string { + out := firstSpellings(tags) + if len(out) == 0 { + return nil + } + slices.SortFunc(out, func(a, b string) int { return strings.Compare(strings.ToLower(a), strings.ToLower(b)) }) + return out +} + +// firstSpellings normalizes tags, drops empty ones and keeps the first +// spelling of each TagKey, in the order given; never nil. +func firstSpellings(tags []string) []string { + out := make([]string, 0, len(tags)) + seen := make(map[string]struct{}, len(tags)) + for _, tag := range tags { + tag = NormalizeTag(tag) + key := strings.ToLower(tag) + if _, dup := seen[key]; tag == "" || dup { + continue + } + seen[key] = struct{}{} + out = append(out, tag) + } + return out +} + +// TagKeys returns the TagKeys of tags, sorted and distinct, without empty +// ones; nil when none remain. +func TagKeys(tags []string) []string { + var keys []string + for _, tag := range tags { + if key := TagKey(tag); key != "" { + keys = append(keys, key) + } + } + slices.Sort(keys) + return slices.Compact(keys) +} diff --git a/internal/access/types.go b/internal/access/types.go index 05377ce9aaf..83d4c4e904b 100644 --- a/internal/access/types.go +++ b/internal/access/types.go @@ -111,14 +111,30 @@ type MaturityLimits struct { // // omitempty for the same reason as MaxAdvisoryAge. AllowedTitleIDs []string `json:",omitempty"` + // ExcludedTags are the profile's excluded custom tags, one spelling per + // TagKey (DistinctTags): a movie or series carrying any of them is hidden, and so + // is every season and episode of such a series. A title allowance does + // not lift it; allowances answer rating limits only. Build it with + // WithExcludedTags. + // + // omitempty for the same reason as MaxAdvisoryAge. + ExcludedTags []string `json:",omitempty"` +} + +// WithExcludedTags returns the limits excluding tags, one spelling per +// TagKey in TagKey order, so two spellings of one tag key and render alike. +// The spellings are kept because the SQL lowercases both sides itself. +func (m MaturityLimits) WithExcludedTags(tags []string) MaturityLimits { + m.ExcludedTags = DistinctTags(tags) + return m } // WithAllowedTitles returns the limits carrying ids as their allowed titles -// when the limits restrict anything, and unchanged otherwise: an allowance -// above no limit means nothing, and leaving it out keeps unrestricted scopes +// when a rating limit is set (RatingActive), and unchanged otherwise: an +// allowance above no rating limit means nothing, and leaving it out keeps unrestricted scopes // and their cache keys exactly as they were. func (m MaturityLimits) WithAllowedTitles(ids []string) MaturityLimits { - if !m.Active() || len(ids) == 0 { + if !m.RatingActive() || len(ids) == 0 { m.AllowedTitleIDs = nil return m } @@ -136,6 +152,12 @@ func (m MaturityLimits) HidesUnadvised() bool { // Active reports whether the limits restrict anything at all. func (m MaturityLimits) Active() bool { + return m.RatingActive() || len(m.ExcludedTags) > 0 +} + +// RatingActive reports whether a rating limit is set: a content-rating +// ceiling or an advisory-age limit, the limits a title allowance lifts. +func (m MaturityLimits) RatingActive() bool { return HasCeiling(m.MaxContentRating) || m.MaxAdvisoryAge > 0 } diff --git a/internal/api/handlers/admin.go b/internal/api/handlers/admin.go index 32a39092edc..6003b583fc5 100644 --- a/internal/api/handlers/admin.go +++ b/internal/api/handlers/admin.go @@ -759,6 +759,9 @@ type UpdateItemMetadataRequest struct { SeasonNumber *int `json:"season_number"` EpisodeNumber *int `json:"episode_number"` LockedFields *[]int `json:"locked_fields"` + // CustomTags replaces a movie's or series' custom tags. /api/v1 is + // frozen, so only v2 sets it (json:"-"). + CustomTags *[]string `json:"-"` } // --- Server Settings endpoints --- diff --git a/internal/api/handlers/admin_item_metadata_service.go b/internal/api/handlers/admin_item_metadata_service.go index 8820a009293..d956e3da217 100644 --- a/internal/api/handlers/admin_item_metadata_service.go +++ b/internal/api/handlers/admin_item_metadata_service.go @@ -104,6 +104,14 @@ func (h *AdminHandler) UpdateCatalogItemMetadata(ctx context.Context, contentID } } + if req.CustomTags != nil { + tags, apiErr := normalizeTagsField("custom_tags", *req.CustomTags) + if apiErr != nil { + return nil, apiErr + } + req.CustomTags = &tags + } + upd := catalog.MetadataUpdate{ Title: req.Title, SortTitle: req.SortTitle, OriginalTitle: req.OriginalTitle, Overview: req.Overview, Tagline: req.Tagline, ContentRating: req.ContentRating, @@ -117,6 +125,7 @@ func (h *AdminHandler) UpdateCatalogItemMetadata(ctx context.Context, contentID ImdbID: req.ImdbID, TmdbID: req.TmdbID, TvdbID: req.TvdbID, SeasonNumber: req.SeasonNumber, EpisodeNumber: req.EpisodeNumber, LockedFields: req.LockedFields, + CustomTags: req.CustomTags, Clear: cleared, } @@ -125,10 +134,17 @@ func (h *AdminHandler) UpdateCatalogItemMetadata(ctx context.Context, contentID if errors.Is(err, access.ErrMetadataCurationScope) { return nil, metadataCurationForbidden() } + if errors.Is(err, catalog.ErrCustomTagsUnsupported) { + return nil, customTagsUnsupported() + } if !errors.Is(err, catalog.ErrItemNotFound) { slog.ErrorContext(ctx, "admin: update item metadata failed", "component", "api", "content_id", contentID, "error", err) return nil, apiError(http.StatusInternalServerError, "internal_error", "Failed to update metadata") } + // Seasons and episodes have no custom tags; their series' tags apply. + if upd.CustomTags != nil { + return nil, customTagsUnsupported() + } if err := h.DetailSvc.UpdateSeasonMetadata(ctx, contentID, &upd); err != nil { if !errors.Is(err, catalog.ErrSeasonNotFound) { slog.ErrorContext(ctx, "admin: update season metadata failed", "component", "api", "content_id", contentID, "error", err) @@ -158,5 +174,13 @@ func (h *AdminHandler) UpdateCatalogItemMetadata(ctx context.Context, contentID slog.ErrorContext(ctx, "admin: fetch updated detail failed", "component", "api", "content_id", contentID, "error", err) return nil, apiError(http.StatusInternalServerError, "internal_error", "Updated but failed to fetch result") } + if err := h.DetailSvc.AttachCustomTags(ctx, detail); err != nil { + slog.ErrorContext(ctx, "admin: fetch updated custom tags failed", "component", "api", "content_id", contentID, "error", err) + return nil, apiError(http.StatusInternalServerError, "internal_error", "Updated but failed to fetch result") + } return detail, nil } + +func customTagsUnsupported() error { + return fieldError("custom_tags", "Only movies and series have custom tags") +} diff --git a/internal/api/handlers/catalog_resources.go b/internal/api/handlers/catalog_resources.go index ce424e3e862..d46d7f94ba6 100644 --- a/internal/api/handlers/catalog_resources.go +++ b/internal/api/handlers/catalog_resources.go @@ -3,6 +3,7 @@ package handlers import ( "context" "fmt" + "log/slog" "strconv" "github.com/jackc/pgx/v5" @@ -165,6 +166,8 @@ func (h *CatalogResourceHandler) enrichItemDetail(ctx context.Context, v ItemVie detail.ViewerCurates = curates if !detail.ViewerCurates { detail.HideFileIdentity() + } else if err := h.items.detailSvc.AttachCustomTags(ctx, detail); err != nil { + slog.WarnContext(ctx, "catalog: reading custom tags failed", "component", "api", "content_id", detail.ContentID, "error", err) } if batched { diff --git a/internal/api/handlers/profiles.go b/internal/api/handlers/profiles.go index 0d800f631ac..0d8d759aa24 100644 --- a/internal/api/handlers/profiles.go +++ b/internal/api/handlers/profiles.go @@ -133,20 +133,23 @@ type ProfileCreateRequest struct { RequireAdvisoryAge bool `json:"-"` // RequestsBlocked keeps the profile out of requests and request // discovery. v2-only (json:"-"); v2 carries it as requests_allowed. - RequestsBlocked bool `json:"-"` - QualityPreference string `json:"quality_preference,omitempty"` - Language string `json:"language,omitempty"` - PreferredMetadataLanguage string `json:"preferred_metadata_language,omitempty"` - SubtitleLanguage string `json:"subtitle_language,omitempty"` - SubtitleMode string `json:"subtitle_mode,omitempty"` - AutoSkipIntro bool `json:"auto_skip_intro"` - AutoSkipCredits bool `json:"auto_skip_credits"` - AutoSkipRecap bool `json:"auto_skip_recap"` - AutoPlayNextPreview bool `json:"auto_play_next_preview"` - ShowForcedSubtitles *bool `json:"show_forced_subtitles,omitempty"` - LibraryRestrictionsEnabled bool `json:"library_restrictions_enabled"` - AllowedLibraryIDs []int `json:"allowed_library_ids"` - MaxPlaybackQuality string `json:"max_playback_quality"` + RequestsBlocked bool `json:"-"` + // ExcludedTags are custom tags the profile may not see. v2-only + // (json:"-"). + ExcludedTags []string `json:"-"` + QualityPreference string `json:"quality_preference,omitempty"` + Language string `json:"language,omitempty"` + PreferredMetadataLanguage string `json:"preferred_metadata_language,omitempty"` + SubtitleLanguage string `json:"subtitle_language,omitempty"` + SubtitleMode string `json:"subtitle_mode,omitempty"` + AutoSkipIntro bool `json:"auto_skip_intro"` + AutoSkipCredits bool `json:"auto_skip_credits"` + AutoSkipRecap bool `json:"auto_skip_recap"` + AutoPlayNextPreview bool `json:"auto_play_next_preview"` + ShowForcedSubtitles *bool `json:"show_forced_subtitles,omitempty"` + LibraryRestrictionsEnabled bool `json:"library_restrictions_enabled"` + AllowedLibraryIDs []int `json:"allowed_library_ids"` + MaxPlaybackQuality string `json:"max_playback_quality"` } type ProfileUpdateRequest struct { @@ -162,20 +165,23 @@ type ProfileUpdateRequest struct { // RequireAdvisoryAge: nil leaves it untouched. v2-only (json:"-"). RequireAdvisoryAge *bool `json:"-"` // RequestsBlocked: nil leaves it untouched. v2-only (json:"-"). - RequestsBlocked *bool `json:"-"` - QualityPreference *string `json:"quality_preference,omitempty"` - Language *string `json:"language,omitempty"` - PreferredMetadataLanguage *string `json:"preferred_metadata_language,omitempty"` - SubtitleLanguage *string `json:"subtitle_language,omitempty"` - SubtitleMode *string `json:"subtitle_mode,omitempty"` - AutoSkipIntro *bool `json:"auto_skip_intro,omitempty"` - AutoSkipCredits *bool `json:"auto_skip_credits,omitempty"` - AutoSkipRecap *bool `json:"auto_skip_recap,omitempty"` - AutoPlayNextPreview *bool `json:"auto_play_next_preview,omitempty"` - ShowForcedSubtitles *bool `json:"show_forced_subtitles,omitempty"` - LibraryRestrictionsEnabled *bool `json:"library_restrictions_enabled,omitempty"` - AllowedLibraryIDs *[]int `json:"allowed_library_ids,omitempty"` - MaxPlaybackQuality *string `json:"max_playback_quality,omitempty"` + RequestsBlocked *bool `json:"-"` + // ExcludedTags: nil leaves them untouched, and an empty list clears them. + // v2-only (json:"-"). + ExcludedTags *[]string `json:"-"` + QualityPreference *string `json:"quality_preference,omitempty"` + Language *string `json:"language,omitempty"` + PreferredMetadataLanguage *string `json:"preferred_metadata_language,omitempty"` + SubtitleLanguage *string `json:"subtitle_language,omitempty"` + SubtitleMode *string `json:"subtitle_mode,omitempty"` + AutoSkipIntro *bool `json:"auto_skip_intro,omitempty"` + AutoSkipCredits *bool `json:"auto_skip_credits,omitempty"` + AutoSkipRecap *bool `json:"auto_skip_recap,omitempty"` + AutoPlayNextPreview *bool `json:"auto_play_next_preview,omitempty"` + ShowForcedSubtitles *bool `json:"show_forced_subtitles,omitempty"` + LibraryRestrictionsEnabled *bool `json:"library_restrictions_enabled,omitempty"` + AllowedLibraryIDs *[]int `json:"allowed_library_ids,omitempty"` + MaxPlaybackQuality *string `json:"max_playback_quality,omitempty"` } type ProfileView struct { @@ -194,22 +200,24 @@ type ProfileView struct { // RequireAdvisoryAge hides titles with no advisory age. v2-only (json:"-"). RequireAdvisoryAge bool `json:"-"` // RequestsBlocked keeps the profile out of requests. v2-only (json:"-"). - RequestsBlocked bool `json:"-"` - QualityPreference string `json:"quality_preference,omitempty"` - Language string `json:"language,omitempty"` - PreferredMetadataLanguage string `json:"preferred_metadata_language,omitempty"` - SubtitleLanguage string `json:"subtitle_language,omitempty"` - SubtitleMode string `json:"subtitle_mode,omitempty"` - AutoSkipIntro bool `json:"auto_skip_intro"` - AutoSkipCredits bool `json:"auto_skip_credits"` - AutoSkipRecap bool `json:"auto_skip_recap"` - AutoPlayNextPreview bool `json:"auto_play_next_preview"` - ShowForcedSubtitles bool `json:"show_forced_subtitles"` - LibraryRestrictionsEnabled bool `json:"library_restrictions_enabled"` - AllowedLibraryIDs []int `json:"allowed_library_ids"` - MaxPlaybackQuality string `json:"max_playback_quality"` - CreatedAt string `json:"created_at"` - UpdatedAt string `json:"updated_at"` + RequestsBlocked bool `json:"-"` + // ExcludedTags are custom tags the profile may not see. v2-only (json:"-"). + ExcludedTags []string `json:"-"` + QualityPreference string `json:"quality_preference,omitempty"` + Language string `json:"language,omitempty"` + PreferredMetadataLanguage string `json:"preferred_metadata_language,omitempty"` + SubtitleLanguage string `json:"subtitle_language,omitempty"` + SubtitleMode string `json:"subtitle_mode,omitempty"` + AutoSkipIntro bool `json:"auto_skip_intro"` + AutoSkipCredits bool `json:"auto_skip_credits"` + AutoSkipRecap bool `json:"auto_skip_recap"` + AutoPlayNextPreview bool `json:"auto_play_next_preview"` + ShowForcedSubtitles bool `json:"show_forced_subtitles"` + LibraryRestrictionsEnabled bool `json:"library_restrictions_enabled"` + AllowedLibraryIDs []int `json:"allowed_library_ids"` + MaxPlaybackQuality string `json:"max_playback_quality"` + CreatedAt string `json:"created_at"` + UpdatedAt string `json:"updated_at"` } // ProfileListView is the v1 GET /profiles response. @@ -281,6 +289,18 @@ func (h *ProfileHandler) householdProfileLimit(ctx context.Context, userID int) return effective.MaxProfiles, nil } +// normalizeTagsField normalizes custom tags for storage +// (access.NormalizeTags), refusing a list past the tag bounds as an error on +// field. +func normalizeTagsField(field string, tags []string) ([]string, *APIError) { + normalized, ok := access.NormalizeTags(tags) + if !ok { + return nil, fieldError(field, fmt.Sprintf( + "%s holds at most %d tags of at most %d characters", field, access.MaxCustomTags, access.MaxCustomTagLength)) + } + return normalized, nil +} + // invalidAdvisoryAgeLimit is the field error for an advisory-age limit outside // the storable range. func invalidAdvisoryAgeLimit() *APIError { @@ -292,9 +312,10 @@ func invalidAdvisoryAgeLimit() *APIError { // only touches fields the user is allowed to change on their own profiles. // Admin-only fields (access policy: library restrictions, content rating, // advisory-age limit and its strictness, playback-quality cap, child-profile -// flag, requests block) must be rejected for non-admins. +// flag, requests block, excluded tags) must be rejected for non-admins. func isAllowedSelfServiceProfileUpdate(req ProfileUpdateRequest) bool { return req.IsChild == nil && + req.ExcludedTags == nil && req.MaxContentRating == nil && req.MaxAdvisoryAge == nil && req.RequireAdvisoryAge == nil && @@ -455,6 +476,10 @@ func (h *ProfileHandler) CreateProfile(ctx context.Context, cmd ProfileCreateCom if req.MaxAdvisoryAge != 0 && !access.ValidAdvisoryAgeLimit(req.MaxAdvisoryAge) { return none, invalidAdvisoryAgeLimit() } + excludedTags, apiErr := normalizeTagsField("excluded_tags", req.ExcludedTags) + if apiErr != nil { + return none, apiErr + } // Planned before anything is written: a preference value the canonical // store would refuse must fail the request while it is still a no-op. @@ -492,7 +517,7 @@ func (h *ProfileHandler) CreateProfile(ctx context.Context, cmd ProfileCreateCom // admin bootstrap creations must leave those fields at their defaults. if isBootstrap && !apimw.IsAdmin(ctx) && (req.IsChild || req.MaxContentRating != "" || req.MaxAdvisoryAge != 0 || req.RequireAdvisoryAge || - req.RequestsBlocked || + req.RequestsBlocked || len(excludedTags) > 0 || req.LibraryRestrictionsEnabled || len(req.AllowedLibraryIDs) > 0 || req.MaxPlaybackQuality != "") { return none, apiError(http.StatusForbidden, "forbidden", "Profile access settings require the primary profile or admin access") @@ -551,6 +576,7 @@ func (h *ProfileHandler) CreateProfile(ctx context.Context, cmd ProfileCreateCom MaxAdvisoryAge: req.MaxAdvisoryAge, RequireAdvisoryAge: req.RequireAdvisoryAge, RequestsBlocked: req.RequestsBlocked, + ExcludedTags: excludedTags, QualityPreference: req.QualityPreference, Language: req.Language, PreferredMetadataLanguage: req.PreferredMetadataLanguage, @@ -639,6 +665,13 @@ func (h *ProfileHandler) UpdateProfile(ctx context.Context, cmd ProfileUpdateCom if req.MaxAdvisoryAge != nil && *req.MaxAdvisoryAge != 0 && !access.ValidAdvisoryAgeLimit(*req.MaxAdvisoryAge) { return none, invalidAdvisoryAgeLimit() } + if req.ExcludedTags != nil { + normalized, apiErr := normalizeTagsField("excluded_tags", *req.ExcludedTags) + if apiErr != nil { + return none, apiErr + } + req.ExcludedTags = &normalized + } store, err := h.storeProvider.ForUser(ctx, userID) if err != nil { @@ -712,6 +745,7 @@ func (h *ProfileHandler) UpdateProfile(ctx context.Context, cmd ProfileUpdateCom MaxAdvisoryAge: req.MaxAdvisoryAge, RequireAdvisoryAge: req.RequireAdvisoryAge, RequestsBlocked: req.RequestsBlocked, + ExcludedTags: req.ExcludedTags, QualityPreference: req.QualityPreference, Language: req.Language, PreferredMetadataLanguage: req.PreferredMetadataLanguage, @@ -1117,6 +1151,7 @@ func (h *ProfileHandler) profileResponseWith( MaxAdvisoryAge: p.MaxAdvisoryAge, RequireAdvisoryAge: p.RequireAdvisoryAge, RequestsBlocked: p.RequestsBlocked, + ExcludedTags: p.ExcludedTags, QualityPreference: p.QualityPreference, Language: prefs.AudioLanguage, PreferredMetadataLanguage: prefs.MetadataLanguage, diff --git a/internal/api/handlers/profiles_audit.go b/internal/api/handlers/profiles_audit.go index 977b6f9dcd5..e9120971332 100644 --- a/internal/api/handlers/profiles_audit.go +++ b/internal/api/handlers/profiles_audit.go @@ -29,12 +29,16 @@ func profileAuditValues(p *userstore.Profile) map[string]any { if libraries == nil { libraries = []int{} } + excludedTags := p.ExcludedTags + if excludedTags == nil { + excludedTags = []string{} + } return map[string]any{ auditFieldProfileName: strings.TrimSpace(p.Name), "is_child": p.IsChild, "is_primary": p.IsPrimary, "max_content_rating": p.MaxContentRating, "max_advisory_age": p.MaxAdvisoryAge, "require_advisory_age": p.RequireAdvisoryAge, "requests_blocked": p.RequestsBlocked, "library_restrictions_enabled": p.LibraryRestrictionsEnabled, "allowed_library_ids": libraries, - "max_playback_quality": p.MaxPlaybackQuality, auditFieldPIN: p.PINHash != "", + "max_playback_quality": p.MaxPlaybackQuality, "excluded_tags": excludedTags, auditFieldPIN: p.PINHash != "", } } diff --git a/internal/api/handlers/profiles_excluded_tags_test.go b/internal/api/handlers/profiles_excluded_tags_test.go new file mode 100644 index 00000000000..ee944ed0a30 --- /dev/null +++ b/internal/api/handlers/profiles_excluded_tags_test.go @@ -0,0 +1,75 @@ +package handlers + +import ( + "context" + "net/http" + "slices" + "strings" + "testing" + + "github.com/Silo-Server/silo-server/internal/userstore" +) + +// Excluded tags are an access limit: only the household manager sets them, +// they are stored normalized, a tag past the length bound is refused, and a +// change rebuilds the profile's recommendations like its other limits. +func TestProfileExcludedTags(t *testing.T) { + store := newProfileTestStore(t) + ctx := context.Background() + if err := store.CreateProfile(ctx, userstore.Profile{ID: "kid", Name: "Kid"}); err != nil { + t.Fatal(err) + } + n := &recordingScopeNotifier{} + h := NewProfileHandler(testUserStoreProvider{store: store}) + h.RecWorker = n + update := func(actingAs string, tags []string) error { + t.Helper() + _, err := h.UpdateProfile(profileServiceContext(actingAs), ProfileUpdateCommand{ + UserID: 1, ProfileID: "kid", ActiveProfileID: actingAs, + Request: ProfileUpdateRequest{ExcludedTags: &tags}, VerifyProfile: noProfileVerification, + }) + return err + } + stored := func(id string) []string { + t.Helper() + p, err := store.GetProfile(ctx, id) + if err != nil || p == nil { + t.Fatalf("GetProfile(%s) = %+v, %v", id, p, err) + } + return p.ExcludedTags + } + + // The manager (profile-1, the primary) sets them; spellings of one tag + // collapse to the first, and blanks drop. + if err := update("profile-1", []string{" gore ", "Late night", "GORE", " "}); err != nil { + t.Fatal(err) + } + if got := stored("kid"); !slices.Equal(got, []string{"gore", "Late night"}) { + t.Fatalf("stored excluded tags = %v", got) + } + if !slices.Equal(n.profiles, []string{"kid"}) { + t.Fatalf("rebuilt %v, want kid after its tags changed", n.profiles) + } + + // The kid cannot lift its own limit. + requireAPIStatus(t, update("kid", nil), http.StatusForbidden) + if got := stored("kid"); len(got) != 2 { + t.Fatalf("a refused self-update changed the tags to %v", got) + } + + apiErr := requireAPIStatus(t, update("profile-1", []string{strings.Repeat("x", 65)}), http.StatusBadRequest) + if apiErr.Field != "excluded_tags" { + t.Fatalf("too-long tag rejected on field %q, want excluded_tags", apiErr.Field) + } + + created, err := h.CreateProfile(profileServiceContext("profile-1"), ProfileCreateCommand{ + UserID: 1, ActiveProfileID: "profile-1", VerifyProfile: noProfileVerification, + Request: ProfileCreateRequest{Name: "Teen", ExcludedTags: []string{"Gore", "gore"}}, + }) + if err != nil { + t.Fatal(err) + } + if got := stored(created.ID); !slices.Equal(got, []string{"Gore"}) { + t.Fatalf("created excluded tags = %v", got) + } +} diff --git a/internal/api/handlers/recommendation_scope.go b/internal/api/handlers/recommendation_scope.go index 22564a6fd93..357a7f1c29a 100644 --- a/internal/api/handlers/recommendation_scope.go +++ b/internal/api/handlers/recommendation_scope.go @@ -43,7 +43,7 @@ func notifyScopeSettingChanged(ctx context.Context, notifier SignalsChangedNotif // update's writer lock, where an overlapping update can change it, and a // rebuild of one profile is cheap. func profileScopeSet(req ProfileUpdateRequest) bool { - return req.MaxContentRating != nil || req.MaxAdvisoryAge != nil || req.RequireAdvisoryAge != nil || + return req.MaxContentRating != nil || req.MaxAdvisoryAge != nil || req.RequireAdvisoryAge != nil || req.ExcludedTags != nil || req.LibraryRestrictionsEnabled != nil || req.AllowedLibraryIDs != nil } diff --git a/internal/api/handlers/title_allowances.go b/internal/api/handlers/title_allowances.go index 193fbe601f7..8243597e632 100644 --- a/internal/api/handlers/title_allowances.go +++ b/internal/api/handlers/title_allowances.go @@ -107,6 +107,9 @@ const ( AllowanceStateAllowedByCollection = "allowed_by_collection" AllowanceStateAboveLimit = "above_limit" AllowanceStateNoLibraryAccess = "no_library_access" + // AllowanceStateHiddenByTag: the title carries a custom tag the profile + // excludes, which no allowance lifts. + AllowanceStateHiddenByTag = "hidden_by_tag" ) // ProfileAllowanceState is one household profile's standing for a title. @@ -376,6 +379,13 @@ func (h *TitleAllowanceHandler) stateFor(ctx context.Context, userID int, profil if ok, err := visible(filter); err != nil || !ok { return AllowanceStateNoLibraryAccess, err } + if len(scope.ExcludedTags) > 0 { + tagged := filter + tagged.MaturityLimits = access.MaturityLimits{}.WithExcludedTags(scope.ExcludedTags) + if ok, err := visible(tagged); err != nil || !ok { + return AllowanceStateHiddenByTag, err + } + } limits := scope.MaturityLimits limits.AllowedTitleIDs = nil filter.MaturityLimits = limits diff --git a/internal/api/handlers/title_allowances_test.go b/internal/api/handlers/title_allowances_test.go index 8cd30556f1b..ee24efe7fff 100644 --- a/internal/api/handlers/title_allowances_test.go +++ b/internal/api/handlers/title_allowances_test.go @@ -81,22 +81,24 @@ func (s *memoryAllowances) AllowTitles(_ context.Context, _ userstore.AllowanceM } // libraryScopes resolves every profile to one library, and the kid to a PG -// ceiling. +// ceiling that also hides the "gore" tag. type libraryScopes struct{ libraries map[string][]int } func (s libraryScopes) Resolve(_ context.Context, in access.ResolveInput) (access.Scope, error) { scope := access.Scope{ProfileID: in.ProfileID, AllowedLibraryIDs: s.libraries[in.ProfileID]} if in.ProfileID == "kid" { scope.MaxContentRating = "PG" + scope.MaturityLimits = scope.WithExcludedTags([]string{"gore"}) } return scope, nil } -// libraryItemRepo is a markItemRepo that answers access by library and by an -// "R" rating the PG ceiling hides. +// libraryItemRepo is a markItemRepo that answers access by library, by an +// "R" rating the PG ceiling hides, and by excluded tags. type libraryItemRepo struct { markItemRepo library map[string]int + tags map[string][]string } func (r libraryItemRepo) EnsureAccessible(ctx context.Context, id string, filter catalog.AccessFilter) error { @@ -115,6 +117,11 @@ func (r libraryItemRepo) EnsureAccessible(ctx context.Context, id string, filter if filter.MaxContentRating != "" && r.items[id].ContentRating == "R" { return catalog.ErrItemNotFound } + for _, tag := range r.tags[id] { + if slices.Contains(access.TagKeys(filter.ExcludedTags), access.TagKey(tag)) { + return catalog.ErrItemNotFound + } + } return nil } @@ -148,9 +155,11 @@ func TestTitleAllowanceAuthority(t *testing.T) { "movie:r": {ContentID: "movie:r", Type: "movie", ContentRating: "R"}, "movie:pg": {ContentID: "movie:pg", Type: "movie", ContentRating: "PG"}, "movie:other": {ContentID: "movie:other", Type: "movie", ContentRating: "R"}, + "movie:gore": {ContentID: "movie:gore", Type: "movie", ContentRating: "PG"}, "episode:r-1x1": {ContentID: "episode:r-1x1", Type: "episode", ContentRating: "R"}, }}, - library: map[string]int{"movie:r": 1, "movie:pg": 1, "movie:other": 2, "episode:r-1x1": 1}, + library: map[string]int{"movie:r": 1, "movie:pg": 1, "movie:other": 2, "movie:gore": 1, "episode:r-1x1": 1}, + tags: map[string][]string{"movie:gore": {"Gore"}}, } h := NewTitleAllowanceHandler( NewPersonalDataHandler(testUserStoreProvider{store: base}, repo), @@ -197,7 +206,7 @@ func TestTitleAllowanceAuthority(t *testing.T) { } states := map[string]map[string]string{} - for _, item := range []string{"movie:r", "movie:pg", "movie:other"} { + for _, item := range []string{"movie:r", "movie:pg", "movie:other", "movie:gore"} { got, err := h.TitleAllowanceStates(ctx, actor("parent"), item) if err != nil { t.Fatalf("states(%s): %v", item, err) @@ -211,6 +220,8 @@ func TestTitleAllowanceAuthority(t *testing.T) { "movie:r": {"kid": AllowanceStateAllowed, "teen": AllowanceStateWithinLimits}, "movie:pg": {"kid": AllowanceStateWithinLimits, "teen": AllowanceStateWithinLimits}, "movie:other": {"kid": AllowanceStateNoLibraryAccess, "teen": AllowanceStateWithinLimits}, + // An allowance never lifts a tag, so the title page offers none. + "movie:gore": {"kid": AllowanceStateHiddenByTag, "teen": AllowanceStateWithinLimits}, } for item, byProfile := range want { for profile, state := range byProfile { diff --git a/internal/api/router.go b/internal/api/router.go index cf7c0a4f0d6..aab7197eac1 100644 --- a/internal/api/router.go +++ b/internal/api/router.go @@ -3277,6 +3277,9 @@ func newChiRouter(deps Dependencies) chi.Router { v2deps.AdminResourceSampler = deps.ResourceSampler v2deps.AdminCatalogSearch = adminHandler v2deps.AdminItemMetadata = adminHandler + if itemRepo != nil { + v2deps.CatalogCustomTags = itemRepo + } if orders, ok := deps.MetadataService.(apiv2.AdminEpisodeOrderService); ok { v2deps.AdminEpisodeOrders = orders } diff --git a/internal/api/testdata/media_routes.txt b/internal/api/testdata/media_routes.txt index 296abbca1f9..5d55dc603a6 100644 --- a/internal/api/testdata/media_routes.txt +++ b/internal/api/testdata/media_routes.txt @@ -638,6 +638,7 @@ GET /api/v2/catalog non-media GET /api/v2/catalog/audiobook-groups non-media GET /api/v2/catalog/box-sets non-media GET /api/v2/catalog/box-sets/{id} non-media +GET /api/v2/catalog/custom-tags non-media GET /api/v2/catalog/filters non-media GET /api/v2/catalog/filters/search non-media GET /api/v2/catalog/items/{id} non-media @@ -1773,6 +1774,7 @@ GET /api/v2/catalog non-media GET /api/v2/catalog/audiobook-groups non-media GET /api/v2/catalog/box-sets non-media GET /api/v2/catalog/box-sets/{id} non-media +GET /api/v2/catalog/custom-tags non-media GET /api/v2/catalog/filters non-media GET /api/v2/catalog/filters/search non-media GET /api/v2/catalog/items/{id} non-media diff --git a/internal/apiv2/admin_catalog_item_metadata.go b/internal/apiv2/admin_catalog_item_metadata.go index 61e0ef2787e..1eaf8c85aa9 100644 --- a/internal/apiv2/admin_catalog_item_metadata.go +++ b/internal/apiv2/admin_catalog_item_metadata.go @@ -56,6 +56,7 @@ type AdminItemMetadataUpdate struct { SeasonNumber *int `json:"season_number,omitempty" nullable:"true"` EpisodeNumber *int `json:"episode_number,omitempty" nullable:"true"` LockedFields *[]int `json:"locked_fields,omitempty" nullable:"true"` + CustomTags *[]string `json:"custom_tags,omitempty" nullable:"false" maxItems:"50" doc:"Replaces a movie's or series' custom tags: free-text labels no metadata provider writes, so a refresh keeps them. A profile's excluded_tags hide every title carrying one of its tags. Each tag is trimmed with inner whitespace collapsed, and tags that differ only in case are kept once, in the first spelling. At most 50 tags of at most 64 characters; an empty array clears them. getAdminCatalogCapabilities reports custom_tags when this member is accepted" example:"[\"Gore\"]"` } type AdminItemMetadataUpdateInput struct { ID string `path:"id" minLength:"1" maxLength:"512"` diff --git a/internal/apiv2/admin_catalog_items.go b/internal/apiv2/admin_catalog_items.go index 0db1eb5b30d..bf403566ba1 100644 --- a/internal/apiv2/admin_catalog_items.go +++ b/internal/apiv2/admin_catalog_items.go @@ -111,6 +111,7 @@ type AdminCatalogCapabilities struct { MetadataListing bool `json:"metadata_listing" doc:"listAdminMetadataItems is served: movies and series with lock counts and missing-artwork flags, filterable by locked and missing_artwork"` ImageSlotLocks bool `json:"image_slot_locks" doc:"locked_fields accepts one lock per image (14 poster, 15 backdrop, 16 logo, 17 episode still), and choosing or uploading an image locks only that image on its own item, season or episode"` EpisodeStills bool `json:"episode_stills" doc:"listAdminItemImages lists an episode's still choices and current still_url, and uploadAdminItemImage accepts type still for an episode"` + CustomTags bool `json:"custom_tags" doc:"updateAdminItemMetadata accepts custom_tags on a movie or series, item detail returns them to a metadata curator, and listCatalogCustomTags is served"` } type AdminCatalogCapabilitiesOutput struct { Status int @@ -132,6 +133,7 @@ func registerAdminCatalogItems(reg *Registry) { ItemMatchHints: reg.deps.AdminCatalogMatch != nil, ItemMetadata: served, ItemMetadataReset: reg.deps.AdminItemMetadata != nil, + CustomTags: reg.deps.AdminItemMetadata != nil && reg.deps.CatalogCustomTags != nil, ItemFilePaths: served && adminCatalogFilePathsAllowed(ctx), ItemPosters: served && reg.deps.ItemPosters != nil, MetadataListing: reg.deps.AdminMetadataItems != nil, diff --git a/internal/apiv2/catalog_custom_tags.go b/internal/apiv2/catalog_custom_tags.go new file mode 100644 index 00000000000..beafde74568 --- /dev/null +++ b/internal/apiv2/catalog_custom_tags.go @@ -0,0 +1,51 @@ +package apiv2 + +import ( + "context" + "net/http" + + catalogpkg "github.com/Silo-Server/silo-server/internal/catalog" + "github.com/Silo-Server/silo-server/internal/imagesize" +) + +// CatalogCustomTagService lists the custom tags on the titles a viewer can +// see. *catalog.ItemRepository implements it. +type CatalogCustomTagService interface { + ListCustomTags(context.Context, catalogpkg.AccessFilter) ([]catalogpkg.CustomTagCount, error) +} + +// CatalogCustomTag is one custom tag and how many titles carry it. +type CatalogCustomTag struct { + Tag string `json:"tag" doc:"The tag in its most used spelling; tags that differ only in case are one tag" example:"Gore"` + TitleCount int `json:"title_count" doc:"How many movies and series the caller can see that carry the tag" example:"11"` +} + +// CatalogCustomTagCollectionOutput is the listCatalogCustomTags response. +type CatalogCustomTagCollectionOutput struct { + Body Collection[CatalogCustomTag] +} + +func registerCatalogCustomTags(reg *Registry) { + op := viewerOperation(humaOp(http.MethodGet, Prefix+"/catalog/custom-tags", "listCatalogCustomTags", "catalog", + "The custom tags on the movies and series the caller can see, most used first, for the metadata editor and a profile's excluded_tags.")) + Register(reg, op, reg.listCatalogCustomTags) +} + +func (reg *Registry) listCatalogCustomTags(ctx context.Context, _ *struct{}) (*CatalogCustomTagCollectionOutput, error) { + if reg.deps.CatalogCustomTags == nil { + return nil, unavailable("custom tags") + } + viewer, p := reg.itemViewer(ctx, imagesize.Request{}, "", "") + if p != nil { + return nil, p + } + tags, err := reg.deps.CatalogCustomTags.ListCustomTags(ctx, viewer.Access) + if err != nil { + return nil, err + } + items := make([]CatalogCustomTag, len(tags)) + for i, tag := range tags { + items[i] = CatalogCustomTag{Tag: tag.Tag, TitleCount: tag.TitleCount} + } + return &CatalogCustomTagCollectionOutput{Body: NewCollection(items)}, nil +} diff --git a/internal/apiv2/catalog_items.go b/internal/apiv2/catalog_items.go index 95ec9bcebc8..d886b44121f 100644 --- a/internal/apiv2/catalog_items.go +++ b/internal/apiv2/catalog_items.go @@ -409,6 +409,7 @@ type CatalogItemDetail struct { Cast []catalogpkg.CastCredit `json:"cast" doc:"Empty, never null"` Crew []catalogpkg.CrewCredit `json:"crew" doc:"Empty, never null"` Countries []string `json:"countries,omitempty" doc:"Production countries, normally ISO 3166-1 alpha-2 codes (US); NFO files and manual edits can store country names"` + CustomTags []string `json:"custom_tags,omitempty" doc:"A movie's or series' custom tags, the free-text labels set through updateAdminItemMetadata. Returned only to a viewer who curates the item's metadata; omitted for everyone else and when the item has none"` LockedFields []int `json:"locked_fields,omitempty" doc:"Metadata fields an editor pinned"` FirstAirDate *string `json:"first_air_date,omitempty" format:"date" doc:"Calendar date, YYYY-MM-DD"` AirTime *string `json:"air_time,omitempty"` @@ -1497,7 +1498,7 @@ func catalogItemDetailOf(d *catalogpkg.ItemDetail, sel ratingsources.Selection) out := CatalogItemDetail{ CatalogItem: card, PlaySeasonNumber: d.PlaySeasonNumber, SortTitle: d.SortTitle, OriginalTitle: d.OriginalTitle, Tagline: d.Tagline, - Cast: NonNil(d.Cast), Crew: NonNil(d.Crew), Countries: d.Countries, LockedFields: d.LockedFields, + Cast: NonNil(d.Cast), Crew: NonNil(d.Crew), Countries: d.Countries, CustomTags: curatorCustomTags(d), LockedFields: d.LockedFields, BannerURL: d.BannerURL, BannerThumbhash: d.BannerThumbhash, ThumbURL: d.ThumbURL, ThumbThumbhash: d.ThumbThumbhash, ClearArtURL: d.ClearArtURL, DiscURL: d.DiscURL, BackdropURLs: d.BackdropURLs, FirstAirDate: calendarDatePtr(d.FirstAirDate), AirTime: d.AirTime, AirTimezone: d.AirTimezone, SeasonCount: d.SeasonCount, EpisodeCount: d.EpisodeCount, @@ -1580,3 +1581,12 @@ type SeriesEpisodeOrder struct { FileOrder string `json:"file_order" doc:"tvdb or tmdb when the files are named in that provider's default order rather than the series provider's; order when they are named in the chosen order_id itself; empty otherwise. Treat an unknown value as empty" example:""` CustomArrangement bool `json:"custom_arrangement" doc:"Arranged seasons place an episode elsewhere than the provider's default order does; false for seasons that were only renamed or described" example:"false"` } + +// curatorCustomTags is the item's custom tags for a viewer who curates its +// metadata, and nothing for anyone else. +func curatorCustomTags(d *catalogpkg.ItemDetail) []string { + if !d.ViewerCurates { + return nil + } + return d.CustomTags +} diff --git a/internal/apiv2/cursor.go b/internal/apiv2/cursor.go index e945edd1f8c..3e8b7f34493 100644 --- a/internal/apiv2/cursor.go +++ b/internal/apiv2/cursor.go @@ -7,9 +7,12 @@ import ( "encoding/base64" "encoding/hex" "encoding/json" + "fmt" "slices" "strconv" "strings" + + "github.com/Silo-Server/silo-server/internal/access" ) // tiebreakerItemID is the CursorScope tiebreaker of a keyset that ends on @@ -95,6 +98,10 @@ func viewerScopeDigest(ctx context.Context) string { if len(scope.AllowedTitleIDs) > 0 { parts = append(parts, "allowed="+strings.Join(scope.AllowedTitleIDs, ",")) } + // Same rule: excluding a tag changes which rows a page holds. + if len(scope.ExcludedTags) > 0 { + parts = append(parts, "excludedtags="+fmt.Sprintf("%q", access.TagKeys(scope.ExcludedTags))) + } canonical := strings.Join(parts, "\x00") sum := sha256.Sum256([]byte(canonical)) return hex.EncodeToString(sum[:8]) diff --git a/internal/apiv2/cursor_scope_digest_test.go b/internal/apiv2/cursor_scope_digest_test.go index d439b0eda46..8191d0d4ef5 100644 --- a/internal/apiv2/cursor_scope_digest_test.go +++ b/internal/apiv2/cursor_scope_digest_test.go @@ -20,6 +20,7 @@ func TestViewerScopeDigestCoversMaturityLimits(t *testing.T) { "content rating": {MaxContentRating: "PG"}, "unrated": {AllowUnratedContent: true}, "advisory age": {MaxAdvisoryAge: 10}, + "excluded tag": {ExcludedTags: []string{"gore"}}, } { if digest(limits) == base { t.Errorf("setting the %s limit does not change the cursor scope digest", name) @@ -36,4 +37,8 @@ func TestViewerScopeDigestCoversMaturityLimits(t *testing.T) { if digest(access.MaturityLimits{RequireAdvisoryAge: true}) != base { t.Error("a require flag with no limit changed the cursor scope digest") } + // Tags are free text, so a separator inside one must not collide with two. + if digest(access.MaturityLimits{ExcludedTags: []string{"a,b"}}) == digest(access.MaturityLimits{ExcludedTags: []string{"a", "b"}}) { + t.Error("excluding \"a,b\" and excluding \"a\" and \"b\" must digest differently") + } } diff --git a/internal/apiv2/document.go b/internal/apiv2/document.go index c29cf32e619..152438e4cf9 100644 --- a/internal/apiv2/document.go +++ b/internal/apiv2/document.go @@ -704,6 +704,7 @@ func registerAll(reg *Registry) { registerAdminCatalogPeople(reg) registerAdminCatalogTranslation(reg) registerAdminCatalogItemMetadata(reg) + registerCatalogCustomTags(reg) registerAdminEpisodeOrder(reg) registerAdminCustomSeasons(reg) registerAdminCatalogIntro(reg) diff --git a/internal/apiv2/fixtures_test.go b/internal/apiv2/fixtures_test.go index 6d6fe953503..b95299fdce3 100644 --- a/internal/apiv2/fixtures_test.go +++ b/internal/apiv2/fixtures_test.go @@ -2212,6 +2212,7 @@ func fixtureDeps() Dependencies { deps.AdminPeople = &fakeAdminPeople{} deps.AdminMetadataTranslation = &fakeAdminTranslation{} deps.AdminItemMetadata = &fakeAdminItemMetadata{} + deps.CatalogCustomTags = fakeCatalogCustomTags{} deps.AdminEpisodeOrders = &fakeAdminEpisodeOrders{} deps.AdminCustomSeasons = fakeAdminCustomSeasons{} deps.AdminEpisodeMarkers = &fakeAdminIntro{} @@ -2528,3 +2529,11 @@ func (f *fixtureAdminCollectionJobs) GetByID(ctx context.Context, id string) (*m } return &models.AdminJob{ID: id, JobType: adminjob.JobTypeTemplateBundleApply, Status: adminjob.StatusCompleted, RequestedAt: fixedTime(), StartedAt: new(fixedTime()), CompletedAt: new(fixedTime()), ResultPayload: json.RawMessage(`{"bundle_id":"bundle","created":[{"template_id":"recent","template_title":"Recently added","library_id":1,"library_name":"Movies","collection_id":"c1"}],"skipped":[{"template_id":"existing","template_title":"Existing","library_id":1,"library_name":"Movies","reason":"A collection from this template already exists"}]}`)}, nil } + +// fakeCatalogCustomTags serves an empty tag list, so capability discovery +// reports custom tags as available. +type fakeCatalogCustomTags struct{} + +func (fakeCatalogCustomTags) ListCustomTags(context.Context, catalogsvc.AccessFilter) ([]catalogsvc.CustomTagCount, error) { + return nil, nil +} diff --git a/internal/apiv2/profiles.go b/internal/apiv2/profiles.go index dd84443c939..34bb41d0832 100644 --- a/internal/apiv2/profiles.go +++ b/internal/apiv2/profiles.go @@ -30,28 +30,29 @@ type Profile struct { ID ID `json:"id" example:"1"` Name string `json:"name" example:"Alice"` ProfileAvatar - HasPIN bool `json:"has_pin" example:"false"` - IsChild bool `json:"is_child" example:"false"` - IsPrimary bool `json:"is_primary" doc:"The household parent (not the server admin role)" example:"true"` - MaxContentRating string `json:"max_content_rating" doc:"Content-rating ceiling; empty means none" example:"PG-13"` - MaxAdvisoryAge *int `json:"max_advisory_age" nullable:"true" minimum:"1" maximum:"21" doc:"Advisory-age limit: titles whose advisory age (for example Common Sense Media's 13+) is above it are hidden from the profile. Titles with no advisory age are limited by max_content_rating alone unless require_advisory_age is set; null means no limit" example:"12"` - RequireAdvisoryAge bool `json:"require_advisory_age" doc:"Hide titles with no advisory age as well, so the profile sees only titles an advisory service rated at or under max_advisory_age. Advisory ages are looked up over time, so on a large library a profile with this set starts with few titles. No effect without max_advisory_age" example:"false"` - RequestsAllowed bool `json:"requests_allowed" doc:"Whether the profile may make and follow requests and use request discovery. False keeps it out of those even when the account may request; it can still list, read and cancel the requests it made before. The account's own requests switch still applies on top. Set by the household manager" example:"true"` - QualityPreference string `json:"quality_preference" doc:"Free-form until the vocabulary is ratified (#135). Canonical values today: auto, 720p, 1080p, 2160p, 4k; original is a deprecated alias of auto; empty when unset" example:"auto"` - Language string `json:"language" pattern:"^(?:[a-z]{2,3}(?:-[0-9A-Za-z]{1,8})*|x(?:-[0-9A-Za-z]{1,8})+)?$" doc:"Preferred audio language: BCP 47 tag, ISO 639-1 where one exists (en, pt-BR), or x-silo-original for each item's original language; empty inherits" example:"en"` - PreferredMetadataLanguage string `json:"preferred_metadata_language" pattern:"^(?:[a-z]{2,3}(?:-[0-9A-Za-z]{1,8})*|x(?:-[0-9A-Za-z]{1,8})+)?$" doc:"Metadata language: BCP 47 tag (en, pt-BR), or x-silo-original for each item's original language; empty inherits the library's" example:"en"` - SubtitleLanguage string `json:"subtitle_language" pattern:"^(?:[a-z]{2,3}(?:-[0-9A-Za-z]{1,8})*|x(?:-[0-9A-Za-z]{1,8})+)?$" doc:"Preferred subtitle language: BCP 47 tag, ISO 639-1 where one exists (en, pt-BR); empty inherits" example:"en"` - SubtitleMode string `json:"subtitle_mode" doc:"Free-form until the vocabulary is ratified (#135). Canonical values today: auto, always, off, default, forced_only; empty when unset" example:"auto"` - AutoSkipIntro bool `json:"auto_skip_intro" example:"true"` - AutoSkipCredits bool `json:"auto_skip_credits" example:"false"` - AutoSkipRecap bool `json:"auto_skip_recap" example:"false"` - AutoPlayNextPreview bool `json:"auto_play_next_preview" example:"false"` - ShowForcedSubtitles bool `json:"show_forced_subtitles" example:"false"` - LibraryRestrictionsEnabled bool `json:"library_restrictions_enabled" doc:"Whether the profile is limited to allowed_library_ids within its account's libraries. The primary profile is never limited: it sees every library its account can access and hides libraries through its settings instead" example:"false"` - AllowedLibraryIDs []ID `json:"allowed_library_ids" doc:"Libraries the profile may see when restrictions are enabled" example:"[\"1\",\"2\"]"` - MaxPlaybackQuality string `json:"max_playback_quality" doc:"Playback ceiling. Canonical values: 1080p, 2160p; empty means none. Older profiles may carry other stored values" example:"1080p"` - CreatedAt Instant `json:"created_at" example:"2026-01-02T03:04:05.000Z"` - UpdatedAt Instant `json:"updated_at" example:"2026-01-02T03:04:05.000Z"` + HasPIN bool `json:"has_pin" example:"false"` + IsChild bool `json:"is_child" example:"false"` + IsPrimary bool `json:"is_primary" doc:"The household parent (not the server admin role)" example:"true"` + MaxContentRating string `json:"max_content_rating" doc:"Content-rating ceiling; empty means none" example:"PG-13"` + MaxAdvisoryAge *int `json:"max_advisory_age" nullable:"true" minimum:"1" maximum:"21" doc:"Advisory-age limit: titles whose advisory age (for example Common Sense Media's 13+) is above it are hidden from the profile. Titles with no advisory age are limited by max_content_rating alone unless require_advisory_age is set; null means no limit" example:"12"` + RequireAdvisoryAge bool `json:"require_advisory_age" doc:"Hide titles with no advisory age as well, so the profile sees only titles an advisory service rated at or under max_advisory_age. Advisory ages are looked up over time, so on a large library a profile with this set starts with few titles. No effect without max_advisory_age" example:"false"` + RequestsAllowed bool `json:"requests_allowed" doc:"Whether the profile may make and follow requests and use request discovery. False keeps it out of those even when the account may request; it can still list, read and cancel the requests it made before. The account's own requests switch still applies on top. Set by the household manager" example:"true"` + ExcludedTags []string `json:"excluded_tags" doc:"Custom tags the profile may not see: a movie or series carrying any of them is hidden from it, with its seasons and episodes, whatever its rating and whatever title allowances say. Matched without regard to case. Each tag is trimmed, and tags that differ only in case are kept once. Set by the household manager; empty means none" example:"[\"Gore\"]"` + QualityPreference string `json:"quality_preference" doc:"Free-form until the vocabulary is ratified (#135). Canonical values today: auto, 720p, 1080p, 2160p, 4k; original is a deprecated alias of auto; empty when unset" example:"auto"` + Language string `json:"language" pattern:"^(?:[a-z]{2,3}(?:-[0-9A-Za-z]{1,8})*|x(?:-[0-9A-Za-z]{1,8})+)?$" doc:"Preferred audio language: BCP 47 tag, ISO 639-1 where one exists (en, pt-BR), or x-silo-original for each item's original language; empty inherits" example:"en"` + PreferredMetadataLanguage string `json:"preferred_metadata_language" pattern:"^(?:[a-z]{2,3}(?:-[0-9A-Za-z]{1,8})*|x(?:-[0-9A-Za-z]{1,8})+)?$" doc:"Metadata language: BCP 47 tag (en, pt-BR), or x-silo-original for each item's original language; empty inherits the library's" example:"en"` + SubtitleLanguage string `json:"subtitle_language" pattern:"^(?:[a-z]{2,3}(?:-[0-9A-Za-z]{1,8})*|x(?:-[0-9A-Za-z]{1,8})+)?$" doc:"Preferred subtitle language: BCP 47 tag, ISO 639-1 where one exists (en, pt-BR); empty inherits" example:"en"` + SubtitleMode string `json:"subtitle_mode" doc:"Free-form until the vocabulary is ratified (#135). Canonical values today: auto, always, off, default, forced_only; empty when unset" example:"auto"` + AutoSkipIntro bool `json:"auto_skip_intro" example:"true"` + AutoSkipCredits bool `json:"auto_skip_credits" example:"false"` + AutoSkipRecap bool `json:"auto_skip_recap" example:"false"` + AutoPlayNextPreview bool `json:"auto_play_next_preview" example:"false"` + ShowForcedSubtitles bool `json:"show_forced_subtitles" example:"false"` + LibraryRestrictionsEnabled bool `json:"library_restrictions_enabled" doc:"Whether the profile is limited to allowed_library_ids within its account's libraries. The primary profile is never limited: it sees every library its account can access and hides libraries through its settings instead" example:"false"` + AllowedLibraryIDs []ID `json:"allowed_library_ids" doc:"Libraries the profile may see when restrictions are enabled" example:"[\"1\",\"2\"]"` + MaxPlaybackQuality string `json:"max_playback_quality" doc:"Playback ceiling. Canonical values: 1080p, 2160p; empty means none. Older profiles may carry other stored values" example:"1080p"` + CreatedAt Instant `json:"created_at" example:"2026-01-02T03:04:05.000Z"` + UpdatedAt Instant `json:"updated_at" example:"2026-01-02T03:04:05.000Z"` } // ProfileUpdate is the updateProfile body. Every member is optional: omitted @@ -65,6 +66,7 @@ type ProfileUpdate struct { MaxAdvisoryAge Patch[int] `json:"max_advisory_age,omitzero" minimum:"1" maximum:"21" doc:"Advisory-age limit: titles whose advisory age (for example Common Sense Media's 13+) is above it are hidden from the profile. Titles with no advisory age are limited by max_content_rating alone unless require_advisory_age is set; null removes it" example:"12"` RequireAdvisoryAge *bool `json:"require_advisory_age,omitempty" nullable:"false" doc:"Hide titles with no advisory age as well, so the profile sees only titles an advisory service rated at or under max_advisory_age. Advisory ages are looked up over time, so on a large library a profile with this set starts with few titles. No effect without max_advisory_age" example:"true"` RequestsAllowed *bool `json:"requests_allowed,omitempty" nullable:"false" doc:"Whether the profile may make and follow requests and use request discovery. False keeps it out of those even when the account may request; it can still list, read and cancel the requests it made before. The account's own requests switch still applies on top. Set by the household manager" example:"false"` + ExcludedTags *[]string `json:"excluded_tags,omitempty" nullable:"false" maxItems:"50" doc:"Replaces the excluded tags. Custom tags the profile may not see: a movie or series carrying any of them is hidden from it, with its seasons and episodes, whatever its rating and whatever title allowances say. Matched without regard to case. Each tag is trimmed, and tags that differ only in case are kept once. Set by the household manager. At most 50 tags of at most 64 characters; an empty array clears them" example:"[\"Gore\"]"` QualityPreference *string `json:"quality_preference,omitempty" nullable:"false" maxLength:"32" doc:"Free-form until the vocabulary is ratified (#135); v1 never validated it. Canonical values today: auto, 720p, 1080p, 2160p, 4k; original is a deprecated alias of auto" example:"auto"` Language Patch[string] `json:"language,omitzero" pattern:"^[\\s\\v\\x85\\p{Z}]*(?:[A-Za-z]{2,3}(?:[-_][0-9A-Za-z]{1,8})*|[XxIi](?:[-_][0-9A-Za-z]{1,8})+)?[\\s\\v\\x85\\p{Z}]*$" doc:"Preferred audio language: BCP 47 tag or ISO 639 code, any case (en, eng, pt-BR), stored in canonical form; x-silo-original picks each item's original language; null inherits" example:"en"` PreferredMetadataLanguage Patch[string] `json:"preferred_metadata_language,omitzero" pattern:"^[\\s\\v\\x85\\p{Z}]*(?:[A-Za-z]{2,3}(?:[-_][0-9A-Za-z]{1,8})*|[XxIi](?:[-_][0-9A-Za-z]{1,8})+)?[\\s\\v\\x85\\p{Z}]*$" doc:"Metadata language: BCP 47 tag or ISO 639 code, any case (en, eng, pt-BR), stored in canonical form; x-silo-original picks each item's original language; null inherits the library's" example:"en"` @@ -141,6 +143,8 @@ type ProfileCollection struct { RequireAdvisoryAgeSupported bool `json:"require_advisory_age_supported" doc:"Whether profiles accept require_advisory_age and the server enforces it" example:"true"` // RequestsAllowedSupported is the same kind of flag for requests_allowed. RequestsAllowedSupported bool `json:"requests_allowed_supported" doc:"Whether profiles accept requests_allowed and the server enforces it" example:"true"` + // ExcludedTagsSupported is the same kind of flag for excluded_tags. + ExcludedTagsSupported bool `json:"excluded_tags_supported" doc:"Whether profiles accept excluded_tags and the server enforces it" example:"true"` // MaxProfiles is the household limit createProfile enforces, so a client // can stop offering a new profile the server would refuse. MaxProfiles *int `json:"max_profiles,omitempty" nullable:"false" minimum:"1" doc:"How many profiles this account may have, from its effective access policy; createProfile answers 409 once the household holds this many. Omitted on a remote-playback handoff, which lists only its own profile and cannot create one, and when the server could not read the limit; in that second case a client keeps offering new profiles and createProfile stays the check" example:"5"` @@ -156,27 +160,28 @@ type ProfileCollectionOutput struct { // else off or empty). No member admits null: there is nothing to clear on a // profile that does not exist yet. type ProfileCreate struct { - Name string `json:"name" minLength:"1" maxLength:"64" doc:"Display name; leading and trailing spaces are trimmed" example:"Alice"` - Avatar *string `json:"avatar,omitempty" nullable:"false" doc:"Preset avatar reference" example:"preset:fox"` - PIN *string `json:"pin,omitempty" nullable:"false" minLength:"1" maxLength:"72" doc:"PIN, 1 to 72 bytes" example:"1234"` - IsChild *bool `json:"is_child,omitempty" nullable:"false" example:"false"` - MaxContentRating *string `json:"max_content_rating,omitempty" nullable:"false" doc:"Content-rating ceiling" example:"PG-13"` - MaxAdvisoryAge *int `json:"max_advisory_age,omitempty" nullable:"false" minimum:"1" maximum:"21" doc:"Advisory-age limit: titles whose advisory age (for example Common Sense Media's 13+) is above it are hidden from the profile. Titles with no advisory age are limited by max_content_rating alone unless require_advisory_age is set" example:"12"` - RequireAdvisoryAge *bool `json:"require_advisory_age,omitempty" nullable:"false" doc:"Hide titles with no advisory age as well, so the profile sees only titles an advisory service rated at or under max_advisory_age. Advisory ages are looked up over time, so on a large library a profile with this set starts with few titles. No effect without max_advisory_age" example:"true"` - RequestsAllowed *bool `json:"requests_allowed,omitempty" nullable:"false" doc:"Whether the profile may make and follow requests and use request discovery. False keeps it out of those even when the account may request; it can still list, read and cancel the requests it made before. The account's own requests switch still applies on top. Set by the household manager. Omitted means allowed" example:"false"` - QualityPreference *string `json:"quality_preference,omitempty" nullable:"false" maxLength:"32" doc:"Free-form until the vocabulary is ratified (#135); v1 never validated it. Canonical values today: auto, 720p, 1080p, 2160p, 4k; original is a deprecated alias of auto" example:"auto"` - Language *string `json:"language,omitempty" nullable:"false" pattern:"^[\\s\\v\\x85\\p{Z}]*(?:[A-Za-z]{2,3}(?:[-_][0-9A-Za-z]{1,8})*|[XxIi](?:[-_][0-9A-Za-z]{1,8})+)?[\\s\\v\\x85\\p{Z}]*$" doc:"Preferred audio language: BCP 47 tag or ISO 639 code, any case (en, eng, pt-BR), stored in canonical form; x-silo-original picks each item's original language; omitted or empty inherits" example:"en"` - PreferredMetadataLanguage *string `json:"preferred_metadata_language,omitempty" nullable:"false" pattern:"^[\\s\\v\\x85\\p{Z}]*(?:[A-Za-z]{2,3}(?:[-_][0-9A-Za-z]{1,8})*|[XxIi](?:[-_][0-9A-Za-z]{1,8})+)?[\\s\\v\\x85\\p{Z}]*$" doc:"Metadata language: BCP 47 tag or ISO 639 code, any case (en, eng, pt-BR), stored in canonical form; x-silo-original picks each item's original language; omitted or empty inherits the library's" example:"en"` - SubtitleLanguage *string `json:"subtitle_language,omitempty" nullable:"false" pattern:"^[\\s\\v\\x85\\p{Z}]*(?:[A-Za-z]{2,3}(?:[-_][0-9A-Za-z]{1,8})*|[XxIi](?:[-_][0-9A-Za-z]{1,8})+)?[\\s\\v\\x85\\p{Z}]*$" doc:"Preferred subtitle language: BCP 47 tag or ISO 639 code, any case (en, eng, pt-BR), stored in canonical form; omitted or empty inherits" example:"en"` - SubtitleMode *string `json:"subtitle_mode,omitempty" nullable:"false" maxLength:"32" doc:"Free-form until the vocabulary is ratified (#135); v1 never validated it. Canonical values today: auto, always, off, default, forced_only" example:"auto"` - AutoSkipIntro *bool `json:"auto_skip_intro,omitempty" nullable:"false" example:"true"` - AutoSkipCredits *bool `json:"auto_skip_credits,omitempty" nullable:"false" example:"false"` - AutoSkipRecap *bool `json:"auto_skip_recap,omitempty" nullable:"false" example:"false"` - AutoPlayNextPreview *bool `json:"auto_play_next_preview,omitempty" nullable:"false" example:"false"` - ShowForcedSubtitles *bool `json:"show_forced_subtitles,omitempty" nullable:"false" doc:"Defaults to true when omitted" example:"true"` - LibraryRestrictionsEnabled *bool `json:"library_restrictions_enabled,omitempty" nullable:"false" doc:"Limits the profile to allowed_library_ids. Must be false or omitted on an account's first profile, which becomes its primary profile" example:"false"` - AllowedLibraryIDs *[]ID `json:"allowed_library_ids,omitempty" nullable:"false" doc:"Unique library identifiers the profile may see when restrictions are enabled. Must be empty on an account's first profile, which becomes its primary profile, even with restrictions off" example:"[\"1\",\"2\"]"` - MaxPlaybackQuality *string `json:"max_playback_quality,omitempty" nullable:"false" enum:"1080p,2160p" doc:"Playback ceiling" example:"1080p"` + Name string `json:"name" minLength:"1" maxLength:"64" doc:"Display name; leading and trailing spaces are trimmed" example:"Alice"` + Avatar *string `json:"avatar,omitempty" nullable:"false" doc:"Preset avatar reference" example:"preset:fox"` + PIN *string `json:"pin,omitempty" nullable:"false" minLength:"1" maxLength:"72" doc:"PIN, 1 to 72 bytes" example:"1234"` + IsChild *bool `json:"is_child,omitempty" nullable:"false" example:"false"` + MaxContentRating *string `json:"max_content_rating,omitempty" nullable:"false" doc:"Content-rating ceiling" example:"PG-13"` + MaxAdvisoryAge *int `json:"max_advisory_age,omitempty" nullable:"false" minimum:"1" maximum:"21" doc:"Advisory-age limit: titles whose advisory age (for example Common Sense Media's 13+) is above it are hidden from the profile. Titles with no advisory age are limited by max_content_rating alone unless require_advisory_age is set" example:"12"` + RequireAdvisoryAge *bool `json:"require_advisory_age,omitempty" nullable:"false" doc:"Hide titles with no advisory age as well, so the profile sees only titles an advisory service rated at or under max_advisory_age. Advisory ages are looked up over time, so on a large library a profile with this set starts with few titles. No effect without max_advisory_age" example:"true"` + RequestsAllowed *bool `json:"requests_allowed,omitempty" nullable:"false" doc:"Whether the profile may make and follow requests and use request discovery. False keeps it out of those even when the account may request; it can still list, read and cancel the requests it made before. The account's own requests switch still applies on top. Set by the household manager. Omitted means allowed" example:"false"` + ExcludedTags []string `json:"excluded_tags,omitempty" nullable:"false" maxItems:"50" doc:"Custom tags the profile may not see: a movie or series carrying any of them is hidden from it, with its seasons and episodes, whatever its rating and whatever title allowances say. Matched without regard to case. Each tag is trimmed, and tags that differ only in case are kept once. Set by the household manager. At most 50 tags of at most 64 characters; omitted means none" example:"[\"Gore\"]"` + QualityPreference *string `json:"quality_preference,omitempty" nullable:"false" maxLength:"32" doc:"Free-form until the vocabulary is ratified (#135); v1 never validated it. Canonical values today: auto, 720p, 1080p, 2160p, 4k; original is a deprecated alias of auto" example:"auto"` + Language *string `json:"language,omitempty" nullable:"false" pattern:"^[\\s\\v\\x85\\p{Z}]*(?:[A-Za-z]{2,3}(?:[-_][0-9A-Za-z]{1,8})*|[XxIi](?:[-_][0-9A-Za-z]{1,8})+)?[\\s\\v\\x85\\p{Z}]*$" doc:"Preferred audio language: BCP 47 tag or ISO 639 code, any case (en, eng, pt-BR), stored in canonical form; x-silo-original picks each item's original language; omitted or empty inherits" example:"en"` + PreferredMetadataLanguage *string `json:"preferred_metadata_language,omitempty" nullable:"false" pattern:"^[\\s\\v\\x85\\p{Z}]*(?:[A-Za-z]{2,3}(?:[-_][0-9A-Za-z]{1,8})*|[XxIi](?:[-_][0-9A-Za-z]{1,8})+)?[\\s\\v\\x85\\p{Z}]*$" doc:"Metadata language: BCP 47 tag or ISO 639 code, any case (en, eng, pt-BR), stored in canonical form; x-silo-original picks each item's original language; omitted or empty inherits the library's" example:"en"` + SubtitleLanguage *string `json:"subtitle_language,omitempty" nullable:"false" pattern:"^[\\s\\v\\x85\\p{Z}]*(?:[A-Za-z]{2,3}(?:[-_][0-9A-Za-z]{1,8})*|[XxIi](?:[-_][0-9A-Za-z]{1,8})+)?[\\s\\v\\x85\\p{Z}]*$" doc:"Preferred subtitle language: BCP 47 tag or ISO 639 code, any case (en, eng, pt-BR), stored in canonical form; omitted or empty inherits" example:"en"` + SubtitleMode *string `json:"subtitle_mode,omitempty" nullable:"false" maxLength:"32" doc:"Free-form until the vocabulary is ratified (#135); v1 never validated it. Canonical values today: auto, always, off, default, forced_only" example:"auto"` + AutoSkipIntro *bool `json:"auto_skip_intro,omitempty" nullable:"false" example:"true"` + AutoSkipCredits *bool `json:"auto_skip_credits,omitempty" nullable:"false" example:"false"` + AutoSkipRecap *bool `json:"auto_skip_recap,omitempty" nullable:"false" example:"false"` + AutoPlayNextPreview *bool `json:"auto_play_next_preview,omitempty" nullable:"false" example:"false"` + ShowForcedSubtitles *bool `json:"show_forced_subtitles,omitempty" nullable:"false" doc:"Defaults to true when omitted" example:"true"` + LibraryRestrictionsEnabled *bool `json:"library_restrictions_enabled,omitempty" nullable:"false" doc:"Limits the profile to allowed_library_ids. Must be false or omitted on an account's first profile, which becomes its primary profile" example:"false"` + AllowedLibraryIDs *[]ID `json:"allowed_library_ids,omitempty" nullable:"false" doc:"Unique library identifiers the profile may see when restrictions are enabled. Must be empty on an account's first profile, which becomes its primary profile, even with restrictions off" example:"[\"1\",\"2\"]"` + MaxPlaybackQuality *string `json:"max_playback_quality,omitempty" nullable:"false" enum:"1080p,2160p" doc:"Playback ceiling" example:"1080p"` } // ProfileCreateInput is the createProfile request. @@ -701,6 +706,7 @@ func (reg *Registry) listProfiles(ctx context.Context, _ *struct{}) (*ProfileCol MaxAdvisoryAgeSupported: true, RequireAdvisoryAgeSupported: true, RequestsAllowedSupported: true, + ExcludedTagsSupported: true, MaxProfiles: maxProfiles, }}, nil } @@ -784,6 +790,7 @@ func (c ProfileCreate) toRequest() (handlers.ProfileCreateRequest, *Problem) { MaxAdvisoryAge: number(c.MaxAdvisoryAge), RequireAdvisoryAge: flag(c.RequireAdvisoryAge), RequestsBlocked: c.RequestsAllowed != nil && !*c.RequestsAllowed, + ExcludedTags: c.ExcludedTags, QualityPreference: str(c.QualityPreference), Language: str(c.Language), PreferredMetadataLanguage: str(c.PreferredMetadataLanguage), @@ -953,6 +960,7 @@ func (u ProfileUpdate) toRequest() (handlers.ProfileUpdateRequest, *Problem) { MaxAdvisoryAge: advisoryAgePatch(u.MaxAdvisoryAge), RequireAdvisoryAge: u.RequireAdvisoryAge, RequestsBlocked: negate(u.RequestsAllowed), + ExcludedTags: u.ExcludedTags, QualityPreference: u.QualityPreference, Language: clear(u.Language), PreferredMetadataLanguage: clear(u.PreferredMetadataLanguage), @@ -1045,6 +1053,7 @@ func profileOf(v handlers.ProfileView) (Profile, *Problem) { MaxAdvisoryAge: advisoryAgeOf(v.MaxAdvisoryAge), RequireAdvisoryAge: v.RequireAdvisoryAge, RequestsAllowed: !v.RequestsBlocked, + ExcludedTags: NonNil(v.ExcludedTags), QualityPreference: v.QualityPreference, Language: v.Language, PreferredMetadataLanguage: v.PreferredMetadataLanguage, diff --git a/internal/apiv2/profiles_test.go b/internal/apiv2/profiles_test.go index bed5124b605..4fa8f70e5a9 100644 --- a/internal/apiv2/profiles_test.go +++ b/internal/apiv2/profiles_test.go @@ -6,6 +6,7 @@ import ( "io" "net/http" "net/http/httptest" + "slices" "strings" "testing" "time" @@ -193,7 +194,7 @@ func TestListProfiles(t *testing.T) { if rec.Code != 200 { t.Fatal(rec.Body.String()) } - want := `{"items":[{"id":"p-owner","name":"Laura","avatar":"preset:fox","avatar_url":"/avatars/presets/fox.png","avatar_source":"preset","has_pin":false,"is_child":false,"is_primary":true,"max_content_rating":"","max_advisory_age":null,"require_advisory_age":false,"requests_allowed":true,"quality_preference":"auto","language":"en","preferred_metadata_language":"","subtitle_language":"","subtitle_mode":"auto","auto_skip_intro":true,"auto_skip_credits":false,"auto_skip_recap":false,"auto_play_next_preview":false,"show_forced_subtitles":false,"library_restrictions_enabled":false,"allowed_library_ids":["3"],"max_playback_quality":"1080p","created_at":"2026-01-02T03:04:05.000Z","updated_at":"2026-01-02T03:04:05.000Z"}],"avatar_upload_enabled":true,"max_advisory_age_supported":true,"require_advisory_age_supported":true,"requests_allowed_supported":true}` + "\n" + want := `{"items":[{"id":"p-owner","name":"Laura","avatar":"preset:fox","avatar_url":"/avatars/presets/fox.png","avatar_source":"preset","has_pin":false,"is_child":false,"is_primary":true,"max_content_rating":"","max_advisory_age":null,"require_advisory_age":false,"requests_allowed":true,"excluded_tags":[],"quality_preference":"auto","language":"en","preferred_metadata_language":"","subtitle_language":"","subtitle_mode":"auto","auto_skip_intro":true,"auto_skip_credits":false,"auto_skip_recap":false,"auto_play_next_preview":false,"show_forced_subtitles":false,"library_restrictions_enabled":false,"allowed_library_ids":["3"],"max_playback_quality":"1080p","created_at":"2026-01-02T03:04:05.000Z","updated_at":"2026-01-02T03:04:05.000Z"}],"avatar_upload_enabled":true,"max_advisory_age_supported":true,"require_advisory_age_supported":true,"requests_allowed_supported":true,"excluded_tags_supported":true}` + "\n" if rec.Body.String() != want { t.Fatalf("body = %s", rec.Body.String()) } @@ -489,3 +490,46 @@ func TestProfileRequestsAllowed(t *testing.T) { t.Fatalf("create with requests_allowed false: %d %s", rec.Code, rec.Body.String()) } } + +// excluded_tags always renders as an array; on update omitted leaves the +// tags alone, an array replaces them, [] clears them, and null is rejected. +// listProfiles reports the capability. +func TestProfileExcludedTags(t *testing.T) { + view := fixtureProfileView() + view.ExcludedTags = []string{"Gore"} + profiles := &fakeProfiles{view: view} + h := newTestHandler(t, pilotDeps(nil, profiles)) + auth := bearer(memberToken) + + rec := do(t, h, http.MethodPatch, "/api/v2/profiles/p-owner", `{"is_child":true}`, auth) + if rec.Code != 200 || profiles.last.Request.ExcludedTags != nil { + t.Fatalf("omitted excluded_tags: %d, request %v", rec.Code, profiles.last.Request.ExcludedTags) + } + if !strings.Contains(rec.Body.String(), `"excluded_tags":["Gore"],`) { + t.Fatalf("stored tags not rendered: %s", rec.Body.String()) + } + for body, want := range map[string][]string{`{"excluded_tags":["Gore","Late night"]}`: {"Gore", "Late night"}, `{"excluded_tags":[]}`: {}} { + rec = do(t, h, http.MethodPatch, "/api/v2/profiles/p-owner", body, auth) + if got := profiles.last.Request.ExcludedTags; rec.Code != 200 || got == nil || !slices.Equal(*got, want) { + t.Fatalf("%s: %d, request %v", body, rec.Code, got) + } + } + for _, body := range []string{`{"excluded_tags":null}`, `{"excluded_tags":"Gore"}`} { + p := requireProblem(t, do(t, h, http.MethodPatch, "/api/v2/profiles/p-owner", body, auth), TypeValidationFailed) + if len(p.Errors) != 1 || p.Errors[0].Location != "body.excluded_tags" { + t.Errorf("%s: errors = %+v", body, p.Errors) + } + } + + rec = do(t, h, http.MethodPost, "/api/v2/profiles", `{"name":"Kid","excluded_tags":["Gore"]}`, with(auth, "X-Profile-Id", "p-owner")) + if rec.Code != 201 || !slices.Equal(profiles.lastCreate.Request.ExcludedTags, []string{"Gore"}) { + t.Fatalf("create: %d %s", rec.Code, rec.Body.String()) + } + + view.ExcludedTags = nil + profiles.view = view + rec = do(t, h, http.MethodGet, "/api/v2/profiles", "", auth) + if !strings.Contains(rec.Body.String(), `"excluded_tags":[],`) || !strings.Contains(rec.Body.String(), `"excluded_tags_supported":true`) { + t.Fatalf("list: %s", rec.Body.String()) + } +} diff --git a/internal/apiv2/router.go b/internal/apiv2/router.go index 2df28cae5ff..3ea877ae618 100644 --- a/internal/apiv2/router.go +++ b/internal/apiv2/router.go @@ -211,6 +211,7 @@ type Dependencies struct { EbookConfig EbookConfigService EbookProgress EbookProgressService AdminItemMetadata AdminItemMetadataService + CatalogCustomTags CatalogCustomTagService AdminEpisodeOrders AdminEpisodeOrderService AdminCustomSeasons AdminCustomSeasonsService AdminImagePresigner AdminImagePresigner diff --git a/internal/apiv2/title_allowances.go b/internal/apiv2/title_allowances.go index c966c07f2eb..9608dbf7493 100644 --- a/internal/apiv2/title_allowances.go +++ b/internal/apiv2/title_allowances.go @@ -85,7 +85,7 @@ type TitleAllowanceProfile struct { Name string `json:"name" example:"Emma"` MaxContentRating string `json:"max_content_rating" doc:"The profile's content-rating ceiling; empty means none" example:"PG"` MaxAdvisoryAge *int `json:"max_advisory_age" nullable:"true" doc:"The profile's advisory-age limit; null means none" example:"10"` - State string `json:"state" enum:"within_limits,allowed,allowed_by_collection,above_limit,no_library_access" doc:"within_limits: the profile sees the title without an allowance. allowed: the profile has its own allowance for it. allowed_by_collection: an allowed collection holds it. above_limit: the title is above the profile's limits and can be allowed. no_library_access: the profile cannot see the title's library, so an allowance would not help" example:"above_limit"` + State string `json:"state" enum:"within_limits,allowed,allowed_by_collection,above_limit,no_library_access,hidden_by_tag" doc:"within_limits: the profile sees the title without an allowance. allowed: the profile has its own allowance for it. allowed_by_collection: an allowed collection holds it. above_limit: the title is above the profile's limits and can be allowed. no_library_access: the profile cannot see the title's library, so an allowance would not help. hidden_by_tag: the title carries a custom tag the profile excludes, which no allowance lifts" example:"above_limit"` } // TitleAllowanceProfileCollection lists every other profile on the account. diff --git a/internal/backup/credentials_authority.go b/internal/backup/credentials_authority.go index 603ca49711f..9905317ec34 100644 --- a/internal/backup/credentials_authority.go +++ b/internal/backup/credentials_authority.go @@ -36,7 +36,7 @@ type accountAuthority struct { // profileLimits are a profile's protections and restrictions: its PIN, // whether it manages the household (the primary profile), a child -// profile, its rating and advisory-age ceilings, its block from requests, its library restriction, +// profile, its rating and advisory-age ceilings, its block from requests, its excluded tags, its library restriction, // its playback-quality ceiling, and the titles allowed above its ceilings. type profileLimits struct { pin bool @@ -46,9 +46,11 @@ type profileLimits struct { advisoryAge *int requireAdvisoryAge bool requestsBlocked bool - restricted bool - libraries []int - quality string + // excludedTags are the custom tags the profile may not see. + excludedTags []string + restricted bool + libraries []int + quality string // allowedTitles are the titles the profile may watch above its // ceilings: its title allowances and the titles of its live-allowed // collections, resolved as the access scope resolves them. @@ -133,9 +135,16 @@ func readProfileLimits(ctx context.Context, tx pgx.Tx, userID int) (map[string]p } else if has { requestsBlocked = "p.requests_blocked" } + // Likewise a backup taken before custom tags excludes none. + excludedTags := "'{}'::text[]" + if has, err := columnExists(ctx, tx, tableUserProfiles, "excluded_tags"); err != nil { + return nil, err + } else if has { + excludedTags = "p.excluded_tags" + } rows, err := tx.Query(ctx, ` SELECT p.id, coalesce(p.pin_hash, '') <> '', p.is_primary, p.is_child, coalesce(p.max_content_rating, ''), p.max_advisory_age::int, - p.require_advisory_age, `+requestsBlocked+`, p.library_restrictions_enabled, + p.require_advisory_age, `+requestsBlocked+`, `+excludedTags+`, p.library_restrictions_enabled, coalesce((SELECT array_agg(a.library_id ORDER BY a.library_id) FROM user_profile_allowed_libraries a WHERE a.user_id = p.user_id AND a.profile_id = p.id), '{}'), coalesce(p.max_playback_quality, ''), `+allowedTitles+`, `+directTitles+`, `+allowedCollections+`, `+collectionTitles+` @@ -148,7 +157,7 @@ func readProfileLimits(ctx context.Context, tx pgx.Tx, userID int) (map[string]p for rows.Next() { var id string var p profileLimits - if err := rows.Scan(&id, &p.pin, &p.primary, &p.child, &p.ceiling, &p.advisoryAge, &p.requireAdvisoryAge, &p.requestsBlocked, &p.restricted, &p.libraries, + if err := rows.Scan(&id, &p.pin, &p.primary, &p.child, &p.ceiling, &p.advisoryAge, &p.requireAdvisoryAge, &p.requestsBlocked, &p.excludedTags, &p.restricted, &p.libraries, &p.quality, &p.allowedTitles, &p.directTitles, &p.allowedCollections, &p.collectionTitles); err != nil { return nil, err } @@ -256,6 +265,11 @@ func (p profileLimits) looserThan(live profileLimits) bool { } } } + // A tag live excludes and the restored profile does not shows the + // titles carrying it. + if hasOther(access.TagKeys(live.excludedTags), access.TagKeys(p.excludedTags)) { + return true + } return hasOther(p.allowedTitles, live.allowedTitles) || hasOther(p.directTitles, live.directTitles) || hasOther(p.allowedCollections, live.allowedCollections) || hasOther(p.collectionTitles, live.collectionTitles) } diff --git a/internal/backup/credentials_authority_test.go b/internal/backup/credentials_authority_test.go index 6fd275fadf9..50095d06be0 100644 --- a/internal/backup/credentials_authority_test.go +++ b/internal/backup/credentials_authority_test.go @@ -94,7 +94,7 @@ func TestAuthorityComparisonCoversEveryField(t *testing.T) { func TestProfileComparisonCoversEveryField(t *testing.T) { profileColumns := map[string]string{ "PINHash": "pin", "IsPrimary": "primary", "IsChild": "child", "MaxContentRating": "ceiling", "MaxAdvisoryAge": "advisoryAge", - "RequireAdvisoryAge": "requireAdvisoryAge", "RequestsBlocked": "requestsBlocked", "LibraryRestrictionsEnabled": "restricted", "AllowedLibraryIDs": "libraries", + "RequireAdvisoryAge": "requireAdvisoryAge", "RequestsBlocked": "requestsBlocked", "ExcludedTags": "excludedTags", "LibraryRestrictionsEnabled": "restricted", "AllowedLibraryIDs": "libraries", "MaxPlaybackQuality": "quality", "AllowedTitleIDs": "allowedTitles", } notAuthority := map[string]string{ @@ -126,7 +126,7 @@ func TestProfileComparisonCoversEveryField(t *testing.T) { // Each protection, lifted, widens the account. quality, age := "1080p", 12 strict := profileLimits{pin: true, child: true, ceiling: "PG", advisoryAge: &age, requireAdvisoryAge: true, requestsBlocked: true, - restricted: true, libraries: []int{1}, quality: quality} + excludedTags: []string{"Gore"}, restricted: true, libraries: []int{1}, quality: quality} profileWidenings := map[string]func(*profileLimits){ "pin": func(p *profileLimits) { p.pin = false }, "primary": func(p *profileLimits) { p.primary = true }, @@ -135,6 +135,7 @@ func TestProfileComparisonCoversEveryField(t *testing.T) { "advisoryAge": func(p *profileLimits) { p.advisoryAge = nil }, "requireAdvisoryAge": func(p *profileLimits) { p.requireAdvisoryAge = false }, "requestsBlocked": func(p *profileLimits) { p.requestsBlocked = false }, + "excludedTags": func(p *profileLimits) { p.excludedTags = nil }, "restricted": func(p *profileLimits) { p.restricted = false }, "libraries": func(p *profileLimits) { p.libraries = []int{1, 2} }, "quality": func(p *profileLimits) { p.quality = "" }, @@ -143,6 +144,10 @@ func TestProfileComparisonCoversEveryField(t *testing.T) { "directTitles": func(p *profileLimits) { p.directTitles = []string{"movie-r"} }, "collectionTitles": func(p *profileLimits) { p.collectionTitles = []string{"movie-r"} }, } + // Excluding the same tags in another spelling is not looser. + if respelled := strict; func() bool { respelled.excludedTags = []string{" gore "}; return respelled.looserThan(strict) }() { + t.Error("looserThan counts a respelled excluded tag as lifted") + } for _, f := range reflect.VisibleFields(reflect.TypeFor[profileLimits]()) { widen, ok := profileWidenings[f.Name] if !ok { diff --git a/internal/backup/profile_transfer.go b/internal/backup/profile_transfer.go index b748adb0fc8..40d9d6e4002 100644 --- a/internal/backup/profile_transfer.go +++ b/internal/backup/profile_transfer.go @@ -84,7 +84,7 @@ var accessFieldNames = func() map[string]bool { out := map[string]bool{} for _, name := range strings.Fields(`account accounts profiles profile username email password_hash pin_hash role permissions policy group effective_policy library_ids allowed_library_ids library_restrictions_enabled - max_content_rating max_advisory_age require_advisory_age requests_blocked max_playback_quality is_child is_primary is_owner`) { + max_content_rating max_advisory_age require_advisory_age requests_blocked excluded_tags max_playback_quality is_child is_primary is_owner`) { out[name] = true } return out diff --git a/internal/backup/restoreset_users.go b/internal/backup/restoreset_users.go index 4bce7531568..609d29d964a 100644 --- a/internal/backup/restoreset_users.go +++ b/internal/backup/restoreset_users.go @@ -122,19 +122,22 @@ type EffectivePolicy struct { // hash, and every field the access resolver reads, with the profile's data // by data type. type ProfileEntry struct { - ID string `json:"id"` - Name string `json:"name"` - Avatar string `json:"avatar"` - IsPrimary bool `json:"is_primary"` - PINHash string `json:"pin_hash"` - IsChild bool `json:"is_child"` - MaxContentRating string `json:"max_content_rating"` - MaxAdvisoryAge int `json:"max_advisory_age"` - RequireAdvisoryAge bool `json:"require_advisory_age"` - RequestsBlocked bool `json:"requests_blocked"` - LibraryRestrictionsEnabled bool `json:"library_restrictions_enabled"` - AllowedLibraryIDs []int `json:"allowed_library_ids"` - MaxPlaybackQuality string `json:"max_playback_quality"` + ID string `json:"id"` + Name string `json:"name"` + Avatar string `json:"avatar"` + IsPrimary bool `json:"is_primary"` + PINHash string `json:"pin_hash"` + IsChild bool `json:"is_child"` + MaxContentRating string `json:"max_content_rating"` + MaxAdvisoryAge int `json:"max_advisory_age"` + RequireAdvisoryAge bool `json:"require_advisory_age"` + RequestsBlocked bool `json:"requests_blocked"` + // ExcludedTags are the custom tags whose titles the profile may not + // see; absent from a backup taken before custom tags. + ExcludedTags []string `json:"excluded_tags,omitempty"` + LibraryRestrictionsEnabled bool `json:"library_restrictions_enabled"` + AllowedLibraryIDs []int `json:"allowed_library_ids"` + MaxPlaybackQuality string `json:"max_playback_quality"` // Data holds each data type's document by data type id. // Data is each type's own document, which the type bounds itself // (userdata.DecodeStrict). @@ -472,7 +475,7 @@ func exportUser(ctx context.Context, tx pgx.Tx, account AccountEntry) (UserDocum func readBackupProfiles(ctx context.Context, tx pgx.Tx, userID int) ([]ProfileEntry, error) { rows, err := tx.Query(ctx, ` SELECT p.id, p.name, p.avatar, p.is_primary, p.pin_hash, p.is_child, p.max_content_rating, COALESCE(p.max_advisory_age, 0), - p.require_advisory_age, p.requests_blocked, p.library_restrictions_enabled, p.max_playback_quality, + p.require_advisory_age, p.requests_blocked, p.excluded_tags, p.library_restrictions_enabled, p.max_playback_quality, COALESCE((SELECT array_agg(l.library_id ORDER BY l.library_id) FROM user_profile_allowed_libraries l WHERE l.user_id = p.user_id AND l.profile_id = p.id), '{}') FROM user_profiles p WHERE p.user_id = $1 ORDER BY p.created_at, p.id`, userID) @@ -484,7 +487,7 @@ func readBackupProfiles(ctx context.Context, tx pgx.Tx, userID int) ([]ProfileEn for rows.Next() { var p ProfileEntry if err := rows.Scan(&p.ID, &p.Name, &p.Avatar, &p.IsPrimary, &p.PINHash, &p.IsChild, &p.MaxContentRating, &p.MaxAdvisoryAge, - &p.RequireAdvisoryAge, &p.RequestsBlocked, &p.LibraryRestrictionsEnabled, &p.MaxPlaybackQuality, &p.AllowedLibraryIDs); err != nil { + &p.RequireAdvisoryAge, &p.RequestsBlocked, &p.ExcludedTags, &p.LibraryRestrictionsEnabled, &p.MaxPlaybackQuality, &p.AllowedLibraryIDs); err != nil { return nil, err } out = append(out, p) diff --git a/internal/backup/users_apply.go b/internal/backup/users_apply.go index 729e27c4707..66b08f3bf00 100644 --- a/internal/backup/users_apply.go +++ b/internal/backup/users_apply.go @@ -552,7 +552,8 @@ func (a *applier) createProfile(ctx context.Context, tx pgx.Tx, doc *UserDocumen primary, err := pgstore.CreateRestoredProfileInTx(ctx, tx, plan.localID, pgstore.RestoredProfile{ ID: id, Name: e.Name, Avatar: avatar, IsPrimary: e.IsPrimary, PINHash: e.PINHash, IsChild: e.IsChild, MaxContentRating: e.MaxContentRating, MaxAdvisoryAge: e.MaxAdvisoryAge, RequireAdvisoryAge: e.RequireAdvisoryAge, - RequestsBlocked: e.RequestsBlocked, LibraryRestrictionsEnabled: e.LibraryRestrictionsEnabled, AllowedLibraryIDs: pp.allowed, MaxPlaybackQuality: e.MaxPlaybackQuality, + RequestsBlocked: e.RequestsBlocked, ExcludedTags: restoredExcludedTags(e.ExcludedTags), + LibraryRestrictionsEnabled: e.LibraryRestrictionsEnabled, AllowedLibraryIDs: pp.allowed, MaxPlaybackQuality: e.MaxPlaybackQuality, }) if err != nil { return false, err @@ -660,3 +661,13 @@ func (a *applier) lookUpPluginInstallation(ctx context.Context, q queryer, insta local, err := strconv.Atoi(ids[0]) return local, err == nil } + +// restoredExcludedTags is a backed-up profile's excluded tags as this server +// stores them. A list past the tag bounds still restores whole, one entry per +// tag: dropping a tag would show the titles it hides. +func restoredExcludedTags(tags []string) []string { + if out, ok := access.NormalizeTags(tags); ok { + return out + } + return access.TagKeys(tags) +} diff --git a/internal/backup/users_postgres_test.go b/internal/backup/users_postgres_test.go index ce596df1d56..d702d501da8 100644 --- a/internal/backup/users_postgres_test.go +++ b/internal/backup/users_postgres_test.go @@ -980,7 +980,8 @@ func TestUserRestoreSameServerDB(t *testing.T) { testProfile(t, f.pool, account, gone, "Gone", false, fakeHash("pin")) // The child profile's ceiling hides the R-rated movie, though it once // watched it: a restore gives it no data about a title it may not see. - dbExec(t, f.pool, `UPDATE user_profiles SET is_child = true, max_content_rating = 'PG' WHERE user_id = $1 AND id = $2`, account, gone) + // Its excluded tags come back with it. + dbExec(t, f.pool, `UPDATE user_profiles SET is_child = true, max_content_rating = 'PG', excluded_tags = '{Gore}' WHERE user_id = $1 AND id = $2`, account, gone) for _, p := range []string{keep, gone} { for _, m := range []string{movie, mature} { dbExec(t, f.pool, `INSERT INTO user_watch_progress (user_id, profile_id, media_item_id, position_seconds, duration_seconds, updated_at) VALUES ($1, $2, $3, 30, 300, now())`, account, p, m) @@ -1011,7 +1012,7 @@ func TestUserRestoreSameServerDB(t *testing.T) { t.Fatalf("same-server restore = %+v %+v", restored, restored.Account) } newGone := restored.Account.Profiles[1].LocalID - if newGone == gone || countRows(t, f.pool, `SELECT count(*) FROM user_profiles WHERE user_id = $1 AND id = $2 AND pin_hash = $3`, account, newGone, fakeHash("pin")) != 1 || + if newGone == gone || countRows(t, f.pool, `SELECT count(*) FROM user_profiles WHERE user_id = $1 AND id = $2 AND pin_hash = $3 AND excluded_tags = '{Gore}'`, account, newGone, fakeHash("pin")) != 1 || countRows(t, f.pool, `SELECT count(*) FROM user_watch_progress WHERE user_id = $1`, account) != 3 || countRows(t, f.pool, `SELECT count(*) FROM user_watch_progress WHERE user_id = $1 AND profile_id = $2 AND media_item_id = $3`, account, newGone, mature) != 0 { t.Fatalf("restored profile %s: its progress is missing, or it gained the R-rated movie", newGone) diff --git a/internal/catalog/access_cache_key.go b/internal/catalog/access_cache_key.go index 21c2c1df53a..656b1fd2652 100644 --- a/internal/catalog/access_cache_key.go +++ b/internal/catalog/access_cache_key.go @@ -20,7 +20,7 @@ import ( // // Included: AllowedLibraryIDs, DisabledLibraryIDs, every MaturityLimits field // (MaxContentRating, AllowUnratedContent, MaxAdvisoryAge, RequireAdvisoryAge, -// AllowedTitleIDs), +// AllowedTitleIDs, ExcludedTags), // ExcludedMediaTypes, // NamePrefix, AllowedContentIDs. AllowedLibraryIDs and // AllowedContentIDs preserve the nil (unrestricted) vs empty (restrict to @@ -66,6 +66,14 @@ func (f AccessFilter) WriteAccessScopeCacheKey(b *strings.Builder) { b.WriteString("|allowedtitles=") b.WriteString(hashOptionalStringsKey(f.AllowedTitleIDs)) + // Keyed as TagKeys, the form the predicate binds, so spellings of one + // tag share an entry. Each is quoted: a tag is free text and may hold + // the separators the other members rely on. + b.WriteString("|excludedtags=") + for _, tag := range access.TagKeys(f.ExcludedTags) { + b.WriteString(strconv.Quote(tag)) + } + b.WriteString("|excludedtypes=") writeSortedStringsKey(b, f.ExcludedMediaTypes) diff --git a/internal/catalog/access_cache_key_test.go b/internal/catalog/access_cache_key_test.go index 65e9559f0d3..adc8b64af4b 100644 --- a/internal/catalog/access_cache_key_test.go +++ b/internal/catalog/access_cache_key_test.go @@ -91,6 +91,17 @@ func TestAccessScopeCacheKeyCoversEveryMaturityLimit(t *testing.T) { scopeKey(AccessFilter{MaturityLimits: access.MaturityLimits{MaxAdvisoryAge: 13}}) { t.Error("advisory limits 10 and 13 must key separately") } + // Tags are free text: a separator inside one tag must not key like two + // tags, while spellings of one tag render the same SQL and share a key. + tags := func(tags ...string) string { + return scopeKey(AccessFilter{MaturityLimits: access.MaturityLimits{ExcludedTags: tags}}) + } + if tags("a,b") == tags("a", "b") || tags("a|excludedtypes=movie") == tags("a") { + t.Error("a tag holding a key separator collides with another scope") + } + if tags("Gore", "Late night") != tags(" late NIGHT ", "gore") { + t.Error("spellings of the same tags must share a key") + } } type namedMaturityLimits struct { diff --git a/internal/catalog/access_filter.go b/internal/catalog/access_filter.go index 1fdb91f7b00..82edaeab189 100644 --- a/internal/catalog/access_filter.go +++ b/internal/catalog/access_filter.go @@ -221,10 +221,37 @@ func ApplyEpisodeMaturityLimits(alias string, filter AccessFilter, conditions *[ applyMaturityLimits(alias, alias+".series_id", filter.MaturityLimits, conditions, args, argIdx) } +// excludedTagsSQL hides the title whose media_items row is titleKey (the +// item itself, or an episode's series) when it carries a custom tag whose +// lowercase matches one in the array bound at argIdx. Tags are looked up on the +// title's own row rather than on alias, so episode read models that copy the +// series' ratings need no copy of its tags, and a tag edit applies at once. +// +// The subquery does not depend on the outer row: Postgres builds the set of +// excluded titles once per query, from the partial index on tagged titles, +// and each row costs one hash lookup. +func excludedTagsSQL(titleKey string, argIdx int) string { + return fmt.Sprintf(`%s NOT IN ( + SELECT tagged.content_id FROM media_items tagged + WHERE tagged.custom_tags <> '{}' + AND EXISTS ( + SELECT 1 FROM unnest(tagged.custom_tags) AS tag + WHERE lower(tag) IN (SELECT lower(excluded) FROM unnest($%d::text[]) AS excluded) + ) + )`, titleKey, argIdx) +} + // matchNothingSQL is the predicate an unusable maturity ceiling renders. const matchNothingSQL = "1 = 0" func applyMaturityLimits(alias, allowedKey string, limits access.MaturityLimits, conditions *[]string, args *[]any, argIdx *int) { + // Outside the allowance below: a title allowance lifts rating limits, + // never an excluded tag. + if tags := access.DistinctTags(limits.ExcludedTags); len(tags) > 0 { + *conditions = append(*conditions, excludedTagsSQL(allowedKey, *argIdx)) + *args = append(*args, tags) + *argIdx = *argIdx + 1 + } limitConds := maturityLimitConditions(alias, limits, args, argIdx) if len(limitConds) == 0 { return diff --git a/internal/catalog/custom_tags.go b/internal/catalog/custom_tags.go new file mode 100644 index 00000000000..ea2b369a630 --- /dev/null +++ b/internal/catalog/custom_tags.go @@ -0,0 +1,53 @@ +package catalog + +import ( + "context" + "fmt" + "strings" +) + +// customTagListLimit bounds the tag list. Tags are typed by curators, so a +// server holds tens of them; the bound only keeps a runaway list cheap. +const customTagListLimit = 1000 + +// CustomTagCount is one custom tag and how many movies and series the viewer +// can see that carry it. +type CustomTagCount struct { + Tag string + TitleCount int +} + +// ListCustomTags lists the custom tags on the movies and series filter can +// see, most used first. Spellings that differ only in case are one tag, +// shown in its most used spelling. +func (r *ItemRepository) ListCustomTags(ctx context.Context, filter AccessFilter) ([]CustomTagCount, error) { + conditions := []string{"mi.custom_tags <> '{}'", "mi.type IN ('movie', 'series')", InSomeLibraryWhere("mi.content_id")} + var args []any + argIdx := 1 + if _, none := filter.LibraryScope(nil); none { + return []CustomTagCount{}, nil + } + appendLibraryAccessConditions("mi.content_id", filter, &conditions, &args, &argIdx) + applyAccessFilter("mi", filter, &conditions, &args, &argIdx) + query := fmt.Sprintf(` + SELECT mode() WITHIN GROUP (ORDER BY tag COLLATE "C"), COUNT(DISTINCT mi.content_id) + FROM media_items mi, unnest(mi.custom_tags) AS tag + WHERE %s + GROUP BY lower(tag) + ORDER BY 2 DESC, lower(tag) + LIMIT %d`, strings.Join(conditions, " AND "), customTagListLimit) + rows, err := r.pool.Query(ctx, query, args...) + if err != nil { + return nil, fmt.Errorf("listing custom tags: %w", err) + } + defer rows.Close() + out := []CustomTagCount{} + for rows.Next() { + var tag CustomTagCount + if err := rows.Scan(&tag.Tag, &tag.TitleCount); err != nil { + return nil, fmt.Errorf("scanning custom tag: %w", err) + } + out = append(out, tag) + } + return out, rows.Err() +} diff --git a/internal/catalog/custom_tags_access_db_test.go b/internal/catalog/custom_tags_access_db_test.go new file mode 100644 index 00000000000..2e6bfa122d1 --- /dev/null +++ b/internal/catalog/custom_tags_access_db_test.go @@ -0,0 +1,220 @@ +package catalog + +import ( + "context" + "errors" + "fmt" + "os" + "slices" + "strings" + "testing" + "time" + + "github.com/jackc/pgx/v5/pgxpool" + + "github.com/Silo-Server/silo-server/internal/access" + "github.com/Silo-Server/silo-server/internal/models" +) + +// A profile's excluded custom tags hide every movie and series carrying one +// of them, matched without regard to case, and every episode of a hidden +// series. A title allowance lifts the rating limits only, never a tag. +func TestExcludedCustomTagsHideTitlesPostgres(t *testing.T) { + dsn := os.Getenv("SILO_TEST_DATABASE_URL") + if dsn == "" { + t.Skip("SILO_TEST_DATABASE_URL is not set") + } + ctx := t.Context() + pool, err := pgxpool.New(ctx, dsn) + if err != nil { + t.Fatal(err) + } + t.Cleanup(pool.Close) + + prefix := fmt.Sprintf("custom-tags-%d", time.Now().UnixNano()) + id := func(name string) string { return prefix + "-" + name } + var library int + if err := pool.QueryRow(ctx, `INSERT INTO media_folders(type,name,enabled) VALUES('movies',$1,true) RETURNING id`, prefix).Scan(&library); err != nil { + t.Fatal(err) + } + t.Cleanup(func() { + cleanup := context.Background() + _, _ = pool.Exec(cleanup, `DELETE FROM media_items WHERE content_id LIKE $1`, prefix+"%") + _, _ = pool.Exec(cleanup, `DELETE FROM media_folders WHERE id=$1`, library) + }) + exec := func(sql string, args ...any) { + t.Helper() + if _, err := pool.Exec(ctx, sql, args...); err != nil { + t.Fatal(err) + } + } + for _, item := range []struct { + name, kind string + tags []string + }{ + {"gory-movie", "movie", []string{"Gore", "Late night"}}, + {"plain-movie", "movie", []string{}}, + {"other-tag-movie", "movie", []string{"Comfort"}}, + {"gory-series", "series", []string{"gore"}}, + {"plain-series", "series", nil}, + } { + tags := item.tags + if tags == nil { + tags = []string{} + } + exec(`INSERT INTO media_items(content_id,type,title,content_rating,content_rating_age,custom_tags) VALUES($1,$2,$1,'PG',8,$3)`, id(item.name), item.kind, tags) + exec(`INSERT INTO media_item_libraries(content_id,media_folder_id) VALUES($1,$2)`, id(item.name), library) + } + for _, series := range []string{"gory-series", "plain-series"} { + exec(`INSERT INTO episodes(content_id,series_id,season_number,episode_number,title) VALUES($1,$2,1,1,'Pilot')`, id(series+"-e1"), id(series)) + } + + everything := []string{id("gory-movie"), id("plain-movie"), id("other-tag-movie"), id("gory-series"), id("plain-series"), id("gory-series-e1"), id("plain-series-e1")} + visible := func(limits access.MaturityLimits) []string { + t.Helper() + got, err := filterAccessibleContentIDs(ctx, pool, everything, nil, nil, limits) + if err != nil { + t.Fatal(err) + } + var out []string + for contentID := range got { + out = append(out, strings.TrimPrefix(contentID, prefix+"-")) + } + slices.Sort(out) + return out + } + unrestricted := []string{"gory-movie", "gory-series", "gory-series-e1", "other-tag-movie", "plain-movie", "plain-series", "plain-series-e1"} + withoutGore := []string{"other-tag-movie", "plain-movie", "plain-series", "plain-series-e1"} + + for _, tc := range []struct { + name string + limits access.MaturityLimits + want []string + }{ + {"no tags", access.MaturityLimits{}, unrestricted}, + {"case-insensitive tag", access.MaturityLimits{ExcludedTags: []string{"GORE"}}, withoutGore}, + {"tag no title carries", access.MaturityLimits{ExcludedTags: []string{"Absent"}}, unrestricted}, + {"two tags", access.MaturityLimits{ExcludedTags: []string{"gore", "comfort"}}, []string{"plain-movie", "plain-series", "plain-series-e1"}}, + {"with a rating ceiling", access.MaturityLimits{MaxContentRating: "PG-13", ExcludedTags: []string{"Gore"}}, withoutGore}, + {"allowance does not lift a tag", access.MaturityLimits{MaxContentRating: "G", ExcludedTags: []string{"Gore"}}.WithAllowedTitles([]string{id("gory-movie"), id("plain-movie")}), []string{"plain-movie"}}, + } { + t.Run(tc.name, func(t *testing.T) { + if got := visible(tc.limits); !slices.Equal(got, tc.want) { + t.Fatalf("visible = %v, want %v", got, tc.want) + } + }) + } + + checkTaggedItemListing(t, pool, prefix) + checkCustomTagList(t, pool, library) +} + +// checkTaggedItemListing: every catalog read applies the limits through +// ApplyMaturityLimits over a media_items alias; an item listing is the +// plainest of them. +func checkTaggedItemListing(t *testing.T, pool *pgxpool.Pool, prefix string) { + t.Helper() + ctx := t.Context() + conditions := []string{"mi.content_id LIKE $1"} + args := []any{prefix + "%"} + argIdx := 2 + ApplyMaturityLimits("mi", AccessFilter{MaturityLimits: access.MaturityLimits{ExcludedTags: []string{" gore "}}}, &conditions, &args, &argIdx) + rows, err := pool.Query(ctx, "SELECT mi.content_id FROM media_items mi WHERE "+strings.Join(conditions, " AND ")+" ORDER BY 1", args...) + if err != nil { + t.Fatal(err) + } + var listed []string + for rows.Next() { + var contentID string + if err := rows.Scan(&contentID); err != nil { + t.Fatal(err) + } + listed = append(listed, strings.TrimPrefix(contentID, prefix+"-")) + } + if err := rows.Err(); err != nil { + t.Fatal(err) + } + if want := []string{"other-tag-movie", "plain-movie", "plain-series"}; !slices.Equal(listed, want) { + t.Fatalf("listed = %v, want %v", listed, want) + } + +} + +// checkCustomTagList: the tag list counts the titles the viewer can see under +// each tag, one entry per tag whatever its spelling, most used first. +func checkCustomTagList(t *testing.T, pool *pgxpool.Pool, library int) { + t.Helper() + ctx := t.Context() + repo := NewItemRepository(pool) + for _, tc := range []struct { + name string + filter AccessFilter + want []CustomTagCount + }{ + {"every title", AccessFilter{AllowedLibraryIDs: []int{library}}, []CustomTagCount{{"Gore", 2}, {"Comfort", 1}, {"Late night", 1}}}, + {"hidden titles do not count", AccessFilter{AllowedLibraryIDs: []int{library}, MaturityLimits: access.MaturityLimits{ExcludedTags: []string{"comfort"}}}, []CustomTagCount{{"Gore", 2}, {"Late night", 1}}}, + {"another library", AccessFilter{AllowedLibraryIDs: []int{library + 1_000_000}}, []CustomTagCount{}}, + } { + t.Run("list "+tc.name, func(t *testing.T) { + got, err := repo.ListCustomTags(ctx, tc.filter) + if err != nil { + t.Fatal(err) + } + if !slices.Equal(got, tc.want) { + t.Fatalf("ListCustomTags = %v, want %v", got, tc.want) + } + }) + } +} + +// A metadata edit stores a movie's custom tags, and a provider refresh, which +// rewrites the item through Upsert, leaves them alone: no provider owns them. +// Other item types take none. +func TestCustomTagsSurviveMetadataRefreshPostgres(t *testing.T) { + dsn := os.Getenv("SILO_TEST_DATABASE_URL") + if dsn == "" { + t.Skip("SILO_TEST_DATABASE_URL is not set") + } + ctx := t.Context() + pool, err := pgxpool.New(ctx, dsn) + if err != nil { + t.Fatal(err) + } + t.Cleanup(pool.Close) + contentID := fmt.Sprintf("custom-tags-refresh-%d", time.Now().UnixNano()) + t.Cleanup(func() { + _, _ = pool.Exec(context.Background(), `DELETE FROM media_items WHERE content_id LIKE $1`, contentID+"%") + }) + + repo := NewItemRepository(pool) + item := &models.MediaItem{ContentID: contentID, Type: "movie", Title: "Before", Genres: []string{"Drama"}} + if err := repo.Upsert(ctx, item); err != nil { + t.Fatal(err) + } + details := NewDetailService(repo, NewEpisodeRepository(pool), NewSeasonRepository(pool), NewPersonRepository(pool), noFileVersions{}) + tags := []string{"Gore", "Late night"} + if err := details.UpdateMediaItemMetadata(ctx, contentID, &MetadataUpdate{CustomTags: &tags}); err != nil { + t.Fatal(err) + } + book := &models.MediaItem{ContentID: contentID + "-book", Type: "audiobook", Title: "Book"} + if err := repo.Upsert(ctx, book); err != nil { + t.Fatal(err) + } + if err := details.UpdateMediaItemMetadata(ctx, book.ContentID, &MetadataUpdate{CustomTags: &tags}); !errors.Is(err, ErrCustomTagsUnsupported) { + t.Fatalf("custom tags on an audiobook: err = %v, want ErrCustomTagsUnsupported", err) + } + item.Title, item.Genres = "After", []string{"Horror"} + if err := repo.Upsert(ctx, item); err != nil { + t.Fatal(err) + } + got, err := repo.CustomTags(ctx, contentID) + if err != nil { + t.Fatal(err) + } + if !slices.Equal(got, tags) { + t.Fatalf("custom tags after a refresh = %v, want %v", got, tags) + } + if refreshed, err := repo.GetByID(ctx, contentID); err != nil || refreshed.Title != "After" { + t.Fatalf("the refresh did not land: %+v, %v", refreshed, err) + } +} diff --git a/internal/catalog/detail.go b/internal/catalog/detail.go index d5f3e0e0fc4..723555c5533 100644 --- a/internal/catalog/detail.go +++ b/internal/catalog/detail.go @@ -235,13 +235,17 @@ type ItemDetail struct { Studios []string `json:"studios"` Networks []string `json:"networks"` Countries []string `json:"countries,omitempty"` - LockedFields []int `json:"locked_fields,omitempty"` - FirstAirDate *string `json:"first_air_date,omitempty"` - LastAirDate *string `json:"last_air_date,omitempty"` - ReleaseDate *string `json:"release_date,omitempty"` - AirTime *string `json:"air_time,omitempty"` - AirTimezone *string `json:"air_timezone,omitempty"` - ShowStatus string `json:"show_status,omitempty"` + // CustomTags are the movie's or series' custom tags. Only a viewer who + // curates the item's metadata gets them (AttachCustomTags), and /api/v1 + // never does (json:"-"). + CustomTags []string `json:"-"` + LockedFields []int `json:"locked_fields,omitempty"` + FirstAirDate *string `json:"first_air_date,omitempty"` + LastAirDate *string `json:"last_air_date,omitempty"` + ReleaseDate *string `json:"release_date,omitempty"` + AirTime *string `json:"air_time,omitempty"` + AirTimezone *string `json:"air_timezone,omitempty"` + ShowStatus string `json:"show_status,omitempty"` // Presigned image URLs. PosterURL string `json:"poster_url,omitempty"` @@ -5780,3 +5784,17 @@ func (s *DetailService) episodeOrderSummary(ctx context.Context, seriesID string } return &o } + +// AttachCustomTags loads a movie's or series' custom tags into detail, for a +// viewer who curates its metadata. Other item types carry none. +func (s *DetailService) AttachCustomTags(ctx context.Context, detail *ItemDetail) error { + if s == nil || s.itemRepo == nil || detail == nil || (detail.Type != AdminCatalogTypeMovie && detail.Type != AdminCatalogTypeSeries) { + return nil + } + tags, err := s.itemRepo.CustomTags(ctx, detail.ContentID) + if err != nil { + return err + } + detail.CustomTags = tags + return nil +} diff --git a/internal/catalog/episode_catalog_count_db_test.go b/internal/catalog/episode_catalog_count_db_test.go index bf93724d838..f2ff7f649ac 100644 --- a/internal/catalog/episode_catalog_count_db_test.go +++ b/internal/catalog/episode_catalog_count_db_test.go @@ -56,6 +56,10 @@ func TestEpisodeCatalogCountsMatchCursorPagesPostgres(t *testing.T) { a.MaturityLimits = access.MaturityLimits{MaxContentRating: "TV-14"} return a }, want: 3}, + {name: "unwatched excluded tag", rules: unwatched, access: func(a AccessFilter) AccessFilter { + a.MaturityLimits = access.MaturityLimits{ExcludedTags: []string{"gore"}} + return a + }, want: 3}, {name: "unwatched disabled library", rules: unwatched, access: func(a AccessFilter) AccessFilter { a.DisabledLibraryIDs = []int{disabled}; return a }, want: 5}, {name: "episodes excluded", rules: unwatched, access: func(a AccessFilter) AccessFilter { a.ExcludedMediaTypes = []string{"episode"}; return a }, want: 0}, {name: "audio language", rules: []QueryRule{{Field: "audio_language", Op: "is", Value: "EN"}}, want: 1}, @@ -142,6 +146,10 @@ func seedEpisodeCountLibrary(t *testing.T, pool *pgxpool.Pool) episodeCountLibra t.Fatal(err) } } + // Only bravo carries the tag, so excluding it hides bravo's episodes. + if _, err := pool.Exec(ctx, `UPDATE media_items SET custom_tags=ARRAY['Gore'] WHERE content_id=$1`, bravo); err != nil { + t.Fatal(err) + } id := func(title string) string { return prefix + "-" + title } for i, episode := range []struct { series, title string diff --git a/internal/catalog/item_repo.go b/internal/catalog/item_repo.go index 25ab3f93437..5fb96da085d 100644 --- a/internal/catalog/item_repo.go +++ b/internal/catalog/item_repo.go @@ -870,6 +870,20 @@ func nonNilStringSlice(values []string) []string { return values } +// CustomTags returns the item's custom tags; none for an item that has none +// or does not exist. +func (r *ItemRepository) CustomTags(ctx context.Context, contentID string) ([]string, error) { + var tags []string + err := r.pool.QueryRow(ctx, `SELECT custom_tags FROM media_items WHERE content_id = $1`, contentID).Scan(&tags) + if errors.Is(err, pgx.ErrNoRows) { + return nil, nil + } + if err != nil { + return nil, fmt.Errorf("reading custom tags of %s: %w", contentID, err) + } + return tags, nil +} + // GetByID retrieves a media item by its content ID. func (r *ItemRepository) GetByID(ctx context.Context, contentID string) (*models.MediaItem, error) { query := `SELECT ` + itemColumns + ` FROM media_items WHERE content_id = $1` @@ -3006,6 +3020,7 @@ func (r *ItemRepository) UpdateMetadataTx(ctx context.Context, tx pgx.Tx, conten addStringArray("studios", upd.Studios) addStringArray("networks", upd.Networks) addStringArray("countries", upd.Countries) + addStringArray("custom_tags", upd.CustomTags) addString("release_date", upd.ReleaseDate) addString("first_air_date", upd.FirstAirDate) addString("last_air_date", upd.LastAirDate) diff --git a/internal/catalog/personal_collection_access.go b/internal/catalog/personal_collection_access.go index cd19f414583..a29bec30b55 100644 --- a/internal/catalog/personal_collection_access.go +++ b/internal/catalog/personal_collection_access.go @@ -4,6 +4,7 @@ import ( "context" "errors" "fmt" + "slices" "strings" "github.com/Silo-Server/silo-server/internal/access" @@ -86,6 +87,8 @@ func intersectMaturityLimits(viewer, owner access.MaturityLimits) access.Maturit } out.RequireAdvisoryAge = viewer.HidesUnadvised() || owner.HidesUnadvised() out.AllowedTitleIDs = intersectAllowedTitles(viewer, owner) + // Either side's excluded tags hide a title. + out.ExcludedTags = access.DistinctTags(append(slices.Clone(viewer.ExcludedTags), owner.ExcludedTags...)) return out } @@ -96,9 +99,9 @@ func intersectMaturityLimits(viewer, owner access.MaturityLimits) access.Maturit // wider, so one profile's allowance cannot lift the other profile's limit. func intersectAllowedTitles(viewer, owner access.MaturityLimits) []string { switch { - case !owner.Active(): + case !owner.RatingActive(): return viewer.AllowedTitleIDs - case !viewer.Active(): + case !viewer.RatingActive(): return owner.AllowedTitleIDs } ownerAllowed := make(map[string]struct{}, len(owner.AllowedTitleIDs)) diff --git a/internal/catalog/personal_collection_access_test.go b/internal/catalog/personal_collection_access_test.go index 01035279c72..bb77bb98854 100644 --- a/internal/catalog/personal_collection_access_test.go +++ b/internal/catalog/personal_collection_access_test.go @@ -115,6 +115,18 @@ func TestIntersectAccessMaturityLimits(t *testing.T) { access.MaturityLimits{MaxContentRating: "PG-13", AllowedTitleIDs: []string{"b", "c"}}, access.MaturityLimits{MaxContentRating: "PG", AllowedTitleIDs: []string{"b"}}, }, + { + "either side's excluded tags apply", + access.MaturityLimits{ExcludedTags: []string{"gore"}}, + access.MaturityLimits{ExcludedTags: []string{"Late night", "Gore"}}, + access.MaturityLimits{ExcludedTags: []string{"gore", "Late night"}}, + }, + { + "an owner excluding only tags keeps the viewer's allowances", + access.MaturityLimits{MaxContentRating: "PG", AllowedTitleIDs: []string{"a"}}, + access.MaturityLimits{ExcludedTags: []string{"gore"}}, + access.MaturityLimits{MaxContentRating: "PG", AllowedTitleIDs: []string{"a"}, ExcludedTags: []string{"gore"}}, + }, { "the unrated policy is the viewer's", access.MaturityLimits{AllowUnratedContent: false}, diff --git a/internal/catalog/update.go b/internal/catalog/update.go index 4fed8f1b6a9..fddeb9ea0e8 100644 --- a/internal/catalog/update.go +++ b/internal/catalog/update.go @@ -2,6 +2,7 @@ package catalog import ( "context" + "errors" "log/slog" "slices" "strings" @@ -64,18 +65,21 @@ type MetadataUpdate struct { // cleared field's pointer stays nil. Clear []string - Title *string - SortTitle *string - OriginalTitle *string - Overview *string - Tagline *string - ContentRating *string - Year *int - Runtime *int - Genres *[]string - Studios *[]string - Networks *[]string - Countries *[]string + Title *string + SortTitle *string + OriginalTitle *string + Overview *string + Tagline *string + ContentRating *string + Year *int + Runtime *int + Genres *[]string + Studios *[]string + Networks *[]string + Countries *[]string + // CustomTags replaces a movie's or series' custom tags, already + // normalized (access.NormalizeTags). No provider writes them. + CustomTags *[]string ReleaseDate *string FirstAirDate *string LastAirDate *string @@ -140,12 +144,15 @@ func (u *MetadataUpdate) clearedRatingSources() []string { // UpdateMediaItemMetadata updates specific metadata fields on a media_items row. func (s *DetailService) UpdateMediaItemMetadata(ctx context.Context, contentID string, upd *MetadataUpdate) error { relinkWork := false - if s.workLinker != nil && upd.Title != nil { + if (s.workLinker != nil && upd.Title != nil) || upd.CustomTags != nil { item, err := s.itemRepo.GetByID(ctx, contentID) if err != nil { return err } - relinkWork = item.Type == searchTypeEbook || item.Type == detailTypeAudiobook + relinkWork = s.workLinker != nil && upd.Title != nil && (item.Type == searchTypeEbook || item.Type == detailTypeAudiobook) + if upd.CustomTags != nil && item.Type != AdminCatalogTypeMovie && item.Type != AdminCatalogTypeSeries { + return ErrCustomTagsUnsupported + } } if err := applyDefaultSortTitleOnAdminUpdate(ctx, s.itemRepo, contentID, upd); err != nil { return err @@ -214,3 +221,7 @@ func titleLockedForAdminUpdate(item *models.MediaItem, upd *MetadataUpdate) bool } return slices.Contains(item.LockedFields, fieldNameLocked) } + +// ErrCustomTagsUnsupported refuses custom tags on an item other than a movie +// or series: no access check or listing reads them there. +var ErrCustomTagsUnsupported = errors.New("custom tags belong to movies and series") diff --git a/internal/metadata/identify_sticky_db_test.go b/internal/metadata/identify_sticky_db_test.go index b676fe2fa67..55c328a536c 100644 --- a/internal/metadata/identify_sticky_db_test.go +++ b/internal/metadata/identify_sticky_db_test.go @@ -4,6 +4,7 @@ import ( "context" "errors" "fmt" + "slices" "strings" "testing" "time" @@ -19,7 +20,8 @@ import ( // Merging an item an admin identified onto its canonical row keeps the // Identify choice on the survivor (the canonicalization step that merges the -// item row's own columns). +// item row's own columns), and the survivor carries both rows' custom tags, +// so a tag that hides the title from a profile cannot vanish in a merge. func TestCanonicalizeKeepsIdentityChoicePostgres(t *testing.T) { pool := chainBuiltinTestPool(t) ctx := context.Background() @@ -31,8 +33,8 @@ func TestCanonicalizeKeepsIdentityChoicePostgres(t *testing.T) { suffix := uuid.NewString() source, canonical := "identity-choice-source-"+suffix, "identity-choice-canonical-"+suffix - if _, err := tx.Exec(ctx, `INSERT INTO media_items (content_id, type, title, status, identity_chosen_at) - VALUES ($1, 'movie', 'Source', 'matched', NOW()), ($2, 'movie', 'Canonical', 'matched', NULL)`, source, canonical); err != nil { + if _, err := tx.Exec(ctx, `INSERT INTO media_items (content_id, type, title, status, identity_chosen_at, custom_tags) + VALUES ($1, 'movie', 'Source', 'matched', NOW(), ARRAY['gore', 'Late night']), ($2, 'movie', 'Canonical', 'matched', NULL, ARRAY['Gore'])`, source, canonical); err != nil { t.Fatalf("seed items: %v", err) } ran := false @@ -55,6 +57,13 @@ func TestCanonicalizeKeepsIdentityChoicePostgres(t *testing.T) { if !chosen { t.Error("canonical item lost the Identify choice of the item merged onto it") } + var tags []string + if err := tx.QueryRow(ctx, `SELECT custom_tags FROM media_items WHERE content_id = $1`, canonical).Scan(&tags); err != nil { + t.Fatalf("read canonical tags: %v", err) + } + if want := []string{"Gore", "Late night"}; !slices.Equal(tags, want) { + t.Errorf("canonical custom tags = %v, want %v", tags, want) + } } // An Identify's mark commits in the transaction that writes the identity: diff --git a/internal/metadata/provider_id_integrity.go b/internal/metadata/provider_id_integrity.go index 51e4a64b611..2b669f33a1b 100644 --- a/internal/metadata/provider_id_integrity.go +++ b/internal/metadata/provider_id_integrity.go @@ -753,6 +753,16 @@ func mergeStepArgs(sql, sourceID, canonicalID string) []any { } } +// mergedCustomTagsSQL is the custom tags of the rows dest and src together: +// dest's first, then src's that dest has in no spelling. A merge keeps both +// rows' tags so a tag that hides the title from a profile survives it. +const mergedCustomTagsSQL = `ARRAY( + SELECT tag FROM ( + SELECT DISTINCT ON (lower(tag)) tag, ord + FROM unnest(dest.custom_tags || src.custom_tags) WITH ORDINALITY AS t(tag, ord) + ORDER BY lower(tag), ord + ) merged ORDER BY ord)` + var mediaItemMergeSteps = []mediaItemMergeStep{ // A provider ID is unique per (provider, provider_id, item_type), so the // source row itself blocks inserting a copy for the canonical item. Move @@ -778,6 +788,7 @@ var mediaItemMergeSteps = []mediaItemMergeStep{ tmdb_id = COALESCE(NULLIF(dest.tmdb_id, ''), src.tmdb_id), tvdb_id = COALESCE(NULLIF(dest.tvdb_id, ''), src.tvdb_id), identity_chosen_at = GREATEST(dest.identity_chosen_at, src.identity_chosen_at), + custom_tags = ` + mergedCustomTagsSQL + `, updated_at = NOW() FROM media_items src WHERE dest.content_id = $2 AND src.content_id = $1`}, diff --git a/internal/metadata/service.go b/internal/metadata/service.go index 4bd064be163..e680ba444a8 100644 --- a/internal/metadata/service.go +++ b/internal/metadata/service.go @@ -9385,6 +9385,20 @@ func (s *MetadataService) rebindItemOnto(ctx context.Context, fromContentID, toC `, args: []any{fromContentID, toContentID}, }, + { + // Custom tags are curator data no provider restores, and a + // profile's excluded tags read them: the survivor keeps both + // rows' tags. + name: "keep custom tags", + sql: ` + UPDATE media_items dest + SET custom_tags = ` + mergedCustomTagsSQL + ` + FROM media_items src + WHERE dest.content_id = $2 AND src.content_id = $1 + AND src.custom_tags <> '{}' + `, + args: []any{fromContentID, toContentID}, + }, { name: "delete orphaned skeleton", sql: ` diff --git a/internal/policy/viewer_resolver.go b/internal/policy/viewer_resolver.go index 191895834d6..4de72ab1aac 100644 --- a/internal/policy/viewer_resolver.go +++ b/internal/policy/viewer_resolver.go @@ -328,9 +328,12 @@ func (r *ViewerResolver) ResolveFacts(ctx context.Context, input access.ResolveI requireAdvisory := profile != nil && profile.RequireAdvisoryAge && decision.MaxAdvisoryAge > 0 var pinRevision int64 - var allowedTitles []string + var allowedTitles, excludedTags []string if profile != nil { pinRevision = profile.PINRevision + // Read off the profile like RequireAdvisoryAge: excluding a tag only + // ever hides more, so no policy override needs to loosen it. + excludedTags = profile.ExcludedTags // A household's allowances lift the profile's own limits only. When // a custom scope policy tightens them, the administrator's limit // wins and no allowance applies. @@ -351,7 +354,7 @@ func (r *ViewerResolver) ResolveFacts(ctx context.Context, input access.ResolveI AllowUnratedContent: allowUnrated, MaxAdvisoryAge: decision.MaxAdvisoryAge, RequireAdvisoryAge: requireAdvisory, - }.WithAllowedTitles(allowedTitles), + }.WithExcludedTags(excludedTags).WithAllowedTitles(allowedTitles), MaxPlaybackQuality: decision.MaxPlaybackQuality, MaxRemoteStreamBitrateKbps: effective.MaxRemoteStreamBitrateKbps, MaxLocalStreamBitrateKbps: effective.MaxLocalStreamBitrateKbps, diff --git a/internal/policy/viewer_resolver_test.go b/internal/policy/viewer_resolver_test.go index 52f977b9e23..81c539e6431 100644 --- a/internal/policy/viewer_resolver_test.go +++ b/internal/policy/viewer_resolver_test.go @@ -6,6 +6,7 @@ import ( "errors" "fmt" "reflect" + "slices" "testing" "time" @@ -40,7 +41,20 @@ func TestViewerResolverParityWithLegacyResolver(t *testing.T) { wantMaxAdvisoryAge int // wantRequireAdvisory pins the strict flag the same way. wantRequireAdvisory bool + // wantExcludedTags pins the excluded tags, as TagKeys, the same way. + wantExcludedTags []string }{ + { + name: "profile excludes custom tags", + user: &models.User{ID: 1, AccessPolicyRevision: 5}, + profile: &userstore.Profile{ + ID: "prof-1", + ExcludedTags: []string{"Late night", "Gore"}, + }, + input: access.ResolveInput{UserID: 1, SessionID: "sess-1", ProfileID: "prof-1"}, + wantNilAllowed: true, + wantExcludedTags: []string{"Gore", "Late night"}, + }, { // Hidden libraries are profile-scoped, so a request without a // profile hides nothing; the frozen legacy account value the @@ -379,6 +393,9 @@ func TestViewerResolverParityWithLegacyResolver(t *testing.T) { if policyScope.RequireAdvisoryAge != tt.wantRequireAdvisory { t.Fatalf("RequireAdvisoryAge = %v, want %v", policyScope.RequireAdvisoryAge, tt.wantRequireAdvisory) } + if !slices.Equal(policyScope.ExcludedTags, tt.wantExcludedTags) { + t.Fatalf("ExcludedTags = %v, want %v", policyScope.ExcludedTags, tt.wantExcludedTags) + } if policyScope.PreferredMetadataLanguage != tt.wantMetadataLang { t.Fatalf("PreferredMetadataLanguage = %q, want %q", policyScope.PreferredMetadataLanguage, tt.wantMetadataLang) } diff --git a/internal/recommendations/engine.go b/internal/recommendations/engine.go index d9fdf7ea643..b4693f9dccd 100644 --- a/internal/recommendations/engine.go +++ b/internal/recommendations/engine.go @@ -237,7 +237,7 @@ func (e *Engine) profileAccessFilter(ctx context.Context, userID int, profileID // show those titles. filter.AllowUnratedContent = e.unrated.AllowUnratedContent(ctx) } - filter.MaturityLimits = filter.WithAllowedTitles(profile.AllowedTitleIDs) + filter.MaturityLimits = filter.WithExcludedTags(profile.ExcludedTags).WithAllowedTitles(profile.AllowedTitleIDs) if libraryIDs, limited := access.ProfileLibraryLimit(profile); limited { filter.AllowedLibraryIDs = append([]int{}, libraryIDs...) } diff --git a/internal/userdb/conformance_test.go b/internal/userdb/conformance_test.go index ca3ad59aedb..8ef384ad070 100644 --- a/internal/userdb/conformance_test.go +++ b/internal/userdb/conformance_test.go @@ -58,6 +58,10 @@ func TestSQLiteProfilePINRevision(t *testing.T) { storetest.RunProfilePINRevision(t, newConformanceStore) } +func TestSQLiteProfileExcludedTags(t *testing.T) { + storetest.RunProfileExcludedTags(t, newConformanceStore) +} + func TestSQLiteProfilePINRevisionTransactions(t *testing.T) { storetest.RunProfilePINRevisionTransactions(t, newConformanceStore) } diff --git a/internal/userdb/migrate.go b/internal/userdb/migrate.go index 69462e97aba..d9c34be3009 100644 --- a/internal/userdb/migrate.go +++ b/internal/userdb/migrate.go @@ -6,7 +6,7 @@ import ( "fmt" ) -const schemaVersion = 38 +const schemaVersion = 39 func runMigrations(db *sql.DB) error { version, err := userVersion(db) @@ -411,6 +411,14 @@ WHERE key = 'ui.card_presentation' return err } } + if version < 39 { + if err := addProfileExcludedTags(tx); err != nil { + return fmt.Errorf("migration v39 failed: %w", err) + } + if _, err := tx.ExecContext(context.Background(), "PRAGMA user_version = 39"); err != nil { + return err + } + } if _, err := tx.Exec(profilePINRevisionSchema); err != nil { return fmt.Errorf("creating profile PIN revision trigger: %w", err) } @@ -801,3 +809,15 @@ func addProfileRequestsBlocked(tx *sql.Tx) error { _, err := tx.ExecContext(context.Background(), `ALTER TABLE profiles ADD COLUMN requests_blocked BOOLEAN NOT NULL DEFAULT false`) return err } + +// addProfileExcludedTags adds profiles.excluded_tags, a JSON array of the +// custom tags the profile may not see. Same reasoning as v27: a fresh +// profiles table already has the column. The Postgres store adds the same +// column in 20261203082703_add_custom_tags.sql. +func addProfileExcludedTags(tx *sql.Tx) error { + if columnExists(tx, "profiles", "excluded_tags") { + return nil + } + _, err := tx.ExecContext(context.Background(), `ALTER TABLE profiles ADD COLUMN excluded_tags TEXT NOT NULL DEFAULT '[]'`) + return err +} diff --git a/internal/userdb/profile_requests_blocked_test.go b/internal/userdb/profile_requests_blocked_test.go index 75f02e6d0f1..aaa683279f7 100644 --- a/internal/userdb/profile_requests_blocked_test.go +++ b/internal/userdb/profile_requests_blocked_test.go @@ -42,3 +42,35 @@ func TestMigrateToV38AddsProfileRequestsBlocked(t *testing.T) { t.Fatalf("migrated profile = %+v, %v; want not blocked", old, err) } } + +// An existing v38 store gains profiles.excluded_tags, empty for every +// profile it already holds. +func TestMigrateToV39AddsProfileExcludedTags(t *testing.T) { + db, err := sql.Open("sqlite3", ":memory:") + if err != nil { + t.Fatalf("open sqlite: %v", err) + } + t.Cleanup(func() { _ = db.Close() }) + if err := InitSchema(db); err != nil { + t.Fatalf("InitSchema: %v", err) + } + store := NewSQLiteUserStore(db) + ctx := context.Background() + if err := store.CreateProfile(ctx, userstore.Profile{ID: "old", Name: "Old"}); err != nil { + t.Fatalf("seed profile: %v", err) + } + if _, err := db.Exec(`ALTER TABLE profiles DROP COLUMN excluded_tags`); err != nil { + t.Fatalf("drop column: %v", err) + } + if _, err := db.Exec("PRAGMA user_version = 38"); err != nil { + t.Fatalf("set user_version: %v", err) + } + + if err := runMigrations(db); err != nil { + t.Fatalf("runMigrations: %v", err) + } + old, err := store.GetProfile(ctx, "old") + if err != nil || old == nil || len(old.ExcludedTags) != 0 { + t.Fatalf("migrated profile = %+v, %v; want no excluded tags", old, err) + } +} diff --git a/internal/userdb/profiles.go b/internal/userdb/profiles.go index 45bcf4714c2..af12b6bec9e 100644 --- a/internal/userdb/profiles.go +++ b/internal/userdb/profiles.go @@ -61,14 +61,14 @@ func createProfile(exec preferenceSettingsExecutor, p Profile) error { _, err := exec.Exec(` INSERT INTO profiles ( id, name, avatar, pin_hash, is_child, is_primary, max_content_rating, max_advisory_age, - require_advisory_age, requests_blocked, + require_advisory_age, requests_blocked, excluded_tags, quality_preference, language, subtitle_language, subtitle_mode, auto_skip_intro, auto_skip_credits, auto_skip_recap, auto_play_next_preview, show_forced_subtitles, library_restrictions_enabled, max_playback_quality, created_at, updated_at - ) VALUES (?, ?, ?, ?, ?, ?, ?, NULLIF(?, 0), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, + ) VALUES (?, ?, ?, ?, ?, ?, ?, NULLIF(?, 0), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, p.ID, p.Name, p.Avatar, p.PINHash, p.IsChild, p.IsPrimary, p.MaxContentRating, p.MaxAdvisoryAge, - p.RequireAdvisoryAge, p.RequestsBlocked, + p.RequireAdvisoryAge, p.RequestsBlocked, tagsJSON{&p.ExcludedTags}, p.QualityPreference, p.Language, p.SubtitleLanguage, p.SubtitleMode, p.AutoSkipIntro, p.AutoSkipCredits, p.AutoSkipRecap, p.AutoPlayNextPreview, p.ShowForcedSubtitles, p.LibraryRestrictionsEnabled, @@ -89,14 +89,14 @@ func GetProfile(db *sql.DB, id string) (*Profile, error) { var p Profile err := db.QueryRow(` SELECT id, name, avatar, pin_hash, is_child, is_primary, max_content_rating, COALESCE(max_advisory_age, 0), - require_advisory_age, requests_blocked, + require_advisory_age, requests_blocked, excluded_tags, quality_preference, language, subtitle_language, subtitle_mode, auto_skip_intro, auto_skip_credits, auto_skip_recap, auto_play_next_preview, show_forced_subtitles, library_restrictions_enabled, max_playback_quality, pin_revision, created_at, updated_at FROM profiles WHERE id = ?`, id, ).Scan( &p.ID, &p.Name, &p.Avatar, &p.PINHash, &p.IsChild, &p.IsPrimary, &p.MaxContentRating, &p.MaxAdvisoryAge, - &p.RequireAdvisoryAge, &p.RequestsBlocked, + &p.RequireAdvisoryAge, &p.RequestsBlocked, tagsJSON{&p.ExcludedTags}, &p.QualityPreference, &p.Language, &p.SubtitleLanguage, &p.SubtitleMode, &p.AutoSkipIntro, &p.AutoSkipCredits, &p.AutoSkipRecap, &p.AutoPlayNextPreview, &p.ShowForcedSubtitles, &p.LibraryRestrictionsEnabled, &p.MaxPlaybackQuality, &p.PINRevision, &p.CreatedAt, &p.UpdatedAt, @@ -118,7 +118,7 @@ func GetProfile(db *sql.DB, id string) (*Profile, error) { func ListProfiles(db *sql.DB) ([]Profile, error) { rows, err := db.Query(` SELECT id, name, avatar, pin_hash, is_child, is_primary, max_content_rating, COALESCE(max_advisory_age, 0), - require_advisory_age, requests_blocked, + require_advisory_age, requests_blocked, excluded_tags, quality_preference, language, subtitle_language, subtitle_mode, auto_skip_intro, auto_skip_credits, auto_skip_recap, auto_play_next_preview, show_forced_subtitles, library_restrictions_enabled, max_playback_quality, pin_revision, created_at, updated_at @@ -133,7 +133,7 @@ func ListProfiles(db *sql.DB) ([]Profile, error) { var p Profile if err := rows.Scan( &p.ID, &p.Name, &p.Avatar, &p.PINHash, &p.IsChild, &p.IsPrimary, &p.MaxContentRating, &p.MaxAdvisoryAge, - &p.RequireAdvisoryAge, &p.RequestsBlocked, + &p.RequireAdvisoryAge, &p.RequestsBlocked, tagsJSON{&p.ExcludedTags}, &p.QualityPreference, &p.Language, &p.SubtitleLanguage, &p.SubtitleMode, &p.AutoSkipIntro, &p.AutoSkipCredits, &p.AutoSkipRecap, &p.AutoPlayNextPreview, &p.ShowForcedSubtitles, &p.LibraryRestrictionsEnabled, &p.MaxPlaybackQuality, &p.PINRevision, &p.CreatedAt, &p.UpdatedAt, @@ -206,6 +206,10 @@ func updateProfile(exec preferenceSettingsExecutor, id string, u UpdateProfileIn setClauses = append(setClauses, "requests_blocked = ?") args = append(args, *u.RequestsBlocked) } + if u.ExcludedTags != nil { + setClauses = append(setClauses, "excluded_tags = ?") + args = append(args, tagsJSON{u.ExcludedTags}) + } if u.QualityPreference != nil { setClauses = append(setClauses, "quality_preference = ?") args = append(args, *u.QualityPreference) diff --git a/internal/userdb/schema.go b/internal/userdb/schema.go index 3c4278a468b..1faecb12f6d 100644 --- a/internal/userdb/schema.go +++ b/internal/userdb/schema.go @@ -21,6 +21,7 @@ CREATE TABLE IF NOT EXISTS profiles ( max_advisory_age INTEGER CHECK (max_advisory_age BETWEEN 1 AND 21), require_advisory_age BOOLEAN NOT NULL DEFAULT false, requests_blocked BOOLEAN NOT NULL DEFAULT false, + excluded_tags TEXT NOT NULL DEFAULT '[]', quality_preference TEXT DEFAULT '1080p', language TEXT DEFAULT 'en', subtitle_language TEXT, diff --git a/internal/userdb/tags_json.go b/internal/userdb/tags_json.go new file mode 100644 index 00000000000..6a87342bf0e --- /dev/null +++ b/internal/userdb/tags_json.go @@ -0,0 +1,44 @@ +package userdb + +import ( + "database/sql/driver" + "encoding/json" + "fmt" +) + +// tagsJSON stores a tag list in a TEXT column as a JSON array: it binds +// *tags as one, never null, and scans one back into *tags (nil for an empty +// array). +type tagsJSON struct{ tags *[]string } + +func (t tagsJSON) Value() (driver.Value, error) { + if t.tags == nil || len(*t.tags) == 0 { + return "[]", nil + } + b, _ := json.Marshal(*t.tags) // a []string always marshals + return string(b), nil +} + +func (t tagsJSON) Scan(src any) error { + var raw []byte + switch v := src.(type) { + case nil: + *t.tags = nil + return nil + case string: + raw = []byte(v) + case []byte: + raw = v + default: + return fmt.Errorf("scanning tags: unsupported type %T", src) + } + var tags []string + if err := json.Unmarshal(raw, &tags); err != nil { + return fmt.Errorf("scanning tags: %w", err) + } + if len(tags) == 0 { + tags = nil + } + *t.tags = tags + return nil +} diff --git a/internal/userstore/pgstore/profile_pin_revision_test.go b/internal/userstore/pgstore/profile_pin_revision_test.go index 86c9d637c40..f4d1e8544ec 100644 --- a/internal/userstore/pgstore/profile_pin_revision_test.go +++ b/internal/userstore/pgstore/profile_pin_revision_test.go @@ -19,6 +19,13 @@ func TestPostgresProfilePINRevision(t *testing.T) { }) } +func TestPostgresProfileExcludedTags(t *testing.T) { + storetest.RunProfileExcludedTags(t, func(t *testing.T) userstore.UserStore { + pool, userID := newConstraintTestUser(t) + return newStore(pool, userID) + }) +} + func TestPostgresProfilePINRevisionTransactions(t *testing.T) { storetest.RunProfilePINRevisionTransactions(t, func(t *testing.T) userstore.UserStore { pool, userID := newConstraintTestUser(t) @@ -55,6 +62,14 @@ func TestPostgresProfileEditsStillBumpAccountRevision(t *testing.T) { if got := accountRevision(); got != before+1 { t.Fatalf("kid rating edit: account revision = %d, want %d", got, before+1) } + tags := []string{"Gore"} + if err := store.UpdateProfile(ctx, "kid", userstore.UpdateProfileInput{ExcludedTags: &tags}); err != nil { + t.Fatal(err) + } + if got := accountRevision(); got != before+2 { + t.Fatalf("kid excluded tags edit: account revision = %d, want %d", got, before+2) + } + before++ if err := store.UpdateProfile(ctx, "parent", userstore.UpdateProfileInput{PINHash: str("hash-of-1234")}); err != nil { t.Fatal(err) } diff --git a/internal/userstore/pgstore/profiles.go b/internal/userstore/pgstore/profiles.go index 024dede84bb..23adf74aad6 100644 --- a/internal/userstore/pgstore/profiles.go +++ b/internal/userstore/pgstore/profiles.go @@ -25,7 +25,7 @@ func scanProfile(scanner interface { var createdAt, updatedAt time.Time err := scanner.Scan(append([]any{ &p.ID, &p.Name, &p.Avatar, &p.PINHash, &p.IsChild, &p.IsPrimary, &p.MaxContentRating, &p.MaxAdvisoryAge, - &p.RequireAdvisoryAge, &p.RequestsBlocked, + &p.RequireAdvisoryAge, &p.RequestsBlocked, &p.ExcludedTags, &p.QualityPreference, &p.Language, &p.PreferredMetadataLanguage, &p.SubtitleLanguage, &p.SubtitleMode, &p.AutoSkipIntro, &p.AutoSkipCredits, &p.AutoSkipRecap, &p.AutoPlayNextPreview, &p.LibraryRestrictionsEnabled, @@ -85,14 +85,14 @@ func createProfile( quality_preference, language, preferred_metadata_language, subtitle_language, subtitle_mode, auto_skip_intro, auto_skip_credits, auto_skip_recap, auto_play_next_preview, library_restrictions_enabled, - show_forced_subtitles, max_playback_quality, created_at, updated_at - ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, NULLIF($9::smallint, 0), $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25)`, + show_forced_subtitles, max_playback_quality, created_at, updated_at, excluded_tags + ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, NULLIF($9::smallint, 0), $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26)`, p.ID, userID, p.Name, p.Avatar, p.PINHash, p.IsChild, p.IsPrimary, p.MaxContentRating, p.MaxAdvisoryAge, p.RequireAdvisoryAge, p.RequestsBlocked, p.QualityPreference, p.Language, p.PreferredMetadataLanguage, p.SubtitleLanguage, p.SubtitleMode, p.AutoSkipIntro, p.AutoSkipCredits, p.AutoSkipRecap, p.AutoPlayNextPreview, p.LibraryRestrictionsEnabled, - p.ShowForcedSubtitles, p.MaxPlaybackQuality, p.CreatedAt, p.UpdatedAt, + p.ShowForcedSubtitles, p.MaxPlaybackQuality, p.CreatedAt, p.UpdatedAt, nonNilTags(p.ExcludedTags), ) if err != nil { return fmt.Errorf("inserting profile %s: %w", p.ID, err) @@ -130,7 +130,7 @@ func QueueProfile(batch *pgx.Batch, userID int, id string) func(pgx.BatchResults // ascending id order, so a profile costs one statement. var profileByIDQuery = ` SELECT id, name, avatar, pin_hash, is_child, is_primary, max_content_rating, COALESCE(max_advisory_age, 0), - require_advisory_age, requests_blocked, + require_advisory_age, requests_blocked, excluded_tags, quality_preference, language, preferred_metadata_language, subtitle_language, subtitle_mode, auto_skip_intro, auto_skip_credits, auto_skip_recap, auto_play_next_preview, library_restrictions_enabled, show_forced_subtitles, max_playback_quality, pin_revision, created_at, updated_at, @@ -214,7 +214,7 @@ func profileFromRow(row pgx.Row, id string) (*userstore.Profile, error) { func (s *PostgresUserStore) ListProfiles(ctx context.Context) ([]userstore.Profile, error) { rows, err := s.pool.Query(ctx, ` SELECT id, name, avatar, pin_hash, is_child, is_primary, max_content_rating, COALESCE(max_advisory_age, 0), - require_advisory_age, requests_blocked, + require_advisory_age, requests_blocked, excluded_tags, quality_preference, language, preferred_metadata_language, subtitle_language, subtitle_mode, auto_skip_intro, auto_skip_credits, auto_skip_recap, auto_play_next_preview, library_restrictions_enabled, show_forced_subtitles, max_playback_quality, pin_revision, created_at, updated_at @@ -261,6 +261,7 @@ func updateProfile( u.MaxAdvisoryAge != nil || u.RequireAdvisoryAge != nil || u.RequestsBlocked != nil || + u.ExcludedTags != nil || u.LibraryRestrictionsEnabled != nil || u.AllowedLibraryIDs != nil || u.MaxPlaybackQuality != nil @@ -305,6 +306,9 @@ func updateProfile( if u.RequestsBlocked != nil { addArg("requests_blocked", *u.RequestsBlocked) } + if u.ExcludedTags != nil { + addArg("excluded_tags", nonNilTags(*u.ExcludedTags)) + } if u.QualityPreference != nil { addArg("quality_preference", *u.QualityPreference) } @@ -660,6 +664,7 @@ type RestoredProfile struct { MaxAdvisoryAge int RequireAdvisoryAge bool RequestsBlocked bool + ExcludedTags []string LibraryRestrictionsEnabled bool AllowedLibraryIDs []int MaxPlaybackQuality string @@ -702,11 +707,20 @@ func CreateRestoredProfileInTx(ctx context.Context, tx pgx.Tx, userID int, p Res } if _, err := tx.Exec(ctx, ` INSERT INTO user_profiles (id, user_id, name, avatar, pin_hash, is_child, is_primary, max_content_rating, max_advisory_age, - require_advisory_age, requests_blocked, library_restrictions_enabled, max_playback_quality) - VALUES ($1, $2, $3, $4, $5, $6, $7, $8, NULLIF($9::smallint, 0), $10, $11, $12, $13)`, + require_advisory_age, requests_blocked, library_restrictions_enabled, max_playback_quality, excluded_tags) + VALUES ($1, $2, $3, $4, $5, $6, $7, $8, NULLIF($9::smallint, 0), $10, $11, $12, $13, $14)`, p.ID, userID, p.Name, p.Avatar, p.PINHash, p.IsChild, primary, p.MaxContentRating, p.MaxAdvisoryAge, - p.RequireAdvisoryAge, p.RequestsBlocked, p.LibraryRestrictionsEnabled, p.MaxPlaybackQuality); err != nil { + p.RequireAdvisoryAge, p.RequestsBlocked, p.LibraryRestrictionsEnabled, p.MaxPlaybackQuality, nonNilTags(p.ExcludedTags)); err != nil { return false, fmt.Errorf("inserting restored profile: %w", err) } return primary, replaceProfileAllowedLibraries(ctx, tx, userID, p.ID, p.AllowedLibraryIDs) } + +// nonNilTags binds tags as a text[]: the column is NOT NULL, and pgx binds a +// nil slice as NULL. +func nonNilTags(tags []string) []string { + if tags == nil { + return []string{} + } + return tags +} diff --git a/internal/userstore/storetest/profile_excluded_tags.go b/internal/userstore/storetest/profile_excluded_tags.go new file mode 100644 index 00000000000..329d17e1c6f --- /dev/null +++ b/internal/userstore/storetest/profile_excluded_tags.go @@ -0,0 +1,68 @@ +package storetest + +import ( + "slices" + "testing" + + "github.com/Silo-Server/silo-server/internal/userstore" +) + +// RunProfileExcludedTags checks that a profile's excluded custom tags +// round-trip through create, get, list and update, and that an update to +// an empty list clears them. +func RunProfileExcludedTags(t *testing.T, newStore func(*testing.T) userstore.UserStore) { + const parent, kid, scary = "tags-parent", "tags-kid", "Scary" + ctx := t.Context() + store := newStore(t) + if err := store.CreateProfile(ctx, userstore.Profile{ID: parent, Name: "Tags parent"}); err != nil { + t.Fatal(err) + } + if err := store.CreateProfile(ctx, userstore.Profile{ID: kid, Name: "Kid", ExcludedTags: []string{"Gore", "Late night"}}); err != nil { + t.Fatal(err) + } + tagsOf := func(id string) []string { + t.Helper() + p, err := store.GetProfile(ctx, id) + if err != nil || p == nil { + t.Fatalf("GetProfile(%s) = %+v, %v", id, p, err) + } + return p.ExcludedTags + } + if got := tagsOf(parent); len(got) != 0 { + t.Fatalf("a profile created without tags excludes %v", got) + } + if got := tagsOf(kid); !slices.Equal(got, []string{"Gore", "Late night"}) { + t.Fatalf("created excluded tags = %v", got) + } + listed, err := store.ListProfiles(ctx) + if err != nil { + t.Fatal(err) + } + for _, p := range listed { + if want := p.ID == kid; (len(p.ExcludedTags) == 2) != want { + t.Fatalf("ListProfiles = %+v; want only the kid excluding two tags", listed) + } + } + + for _, want := range [][]string{{scary}, {}} { + tags := want + if err := store.UpdateProfile(ctx, kid, userstore.UpdateProfileInput{ExcludedTags: &tags}); err != nil { + t.Fatal(err) + } + if got := tagsOf(kid); !slices.Equal(got, want) && (len(got) != 0 || len(want) != 0) { + t.Fatalf("excluded tags after update to %v = %v", want, got) + } + } + // An update that leaves the member out keeps the tags. + tags := []string{scary} + if err := store.UpdateProfile(ctx, kid, userstore.UpdateProfileInput{ExcludedTags: &tags}); err != nil { + t.Fatal(err) + } + name := "Kiddo" + if err := store.UpdateProfile(ctx, kid, userstore.UpdateProfileInput{Name: &name}); err != nil { + t.Fatal(err) + } + if got := tagsOf(kid); !slices.Equal(got, []string{scary}) { + t.Fatalf("a rename changed the excluded tags to %v", got) + } +} diff --git a/internal/userstore/types.go b/internal/userstore/types.go index 76256405ac0..f7e201b9ffe 100644 --- a/internal/userstore/types.go +++ b/internal/userstore/types.go @@ -34,7 +34,11 @@ type Profile struct { // RequestsBlocked keeps the profile out of requests and request discovery // even when its account may request. Stored as a block, not an allow, so // the zero value of a profile built anywhere keeps today's behavior. - RequestsBlocked bool + RequestsBlocked bool + // ExcludedTags are custom tags the profile may not see: a movie or series + // carrying one is hidden from it (see access.MaturityLimits.ExcludedTags). + // Stored as normalized by access.NormalizeTags; empty means none. + ExcludedTags []string QualityPreference string Language string PreferredMetadataLanguage string // ISO 639-1; "" = inherit library metadata language @@ -98,7 +102,9 @@ type UpdateProfileInput struct { // RequireAdvisoryAge: nil leaves it untouched. RequireAdvisoryAge *bool // RequestsBlocked: nil leaves it untouched. - RequestsBlocked *bool + RequestsBlocked *bool + // ExcludedTags: nil leaves them untouched, and an empty list clears them. + ExcludedTags *[]string QualityPreference *string Language *string PreferredMetadataLanguage *string diff --git a/migrations/sql/20261203082703_add_custom_tags.sql b/migrations/sql/20261203082703_add_custom_tags.sql new file mode 100644 index 00000000000..b4bfdfd44a9 --- /dev/null +++ b/migrations/sql/20261203082703_add_custom_tags.sql @@ -0,0 +1,37 @@ +-- +goose NO TRANSACTION + +-- +goose Up +-- Custom tags are free-text labels a metadata curator puts on a movie or +-- series. No metadata provider writes them, so a refresh never changes them. +-- A profile's excluded_tags hide every title carrying one of those tags (and +-- every season and episode of such a series); tags match without regard to +-- case. +-- +-- Constant defaults are catalog-only changes and rewrite no row, so existing +-- titles carry no tags and existing profiles exclude none. +-- +-- The file runs without a wrapping transaction so the index builds +-- concurrently while the catalog keeps serving reads. Every statement is safe +-- to re-run after a partial failure. +ALTER TABLE public.media_items + ADD COLUMN IF NOT EXISTS custom_tags text[] NOT NULL DEFAULT '{}'; + +ALTER TABLE public.user_profiles + ADD COLUMN IF NOT EXISTS excluded_tags text[] NOT NULL DEFAULT '{}'; + +-- The tag list reads only tagged titles, which are few next to the catalog, +-- so a partial index keeps it from scanning every item. +-- A failed concurrent build leaves an invalid index, so drop before building. +DROP INDEX CONCURRENTLY IF EXISTS public.idx_media_items_custom_tags; +CREATE INDEX CONCURRENTLY idx_media_items_custom_tags +ON public.media_items USING btree (content_id) +WHERE custom_tags <> '{}'; + +-- +goose Down +DROP INDEX CONCURRENTLY IF EXISTS public.idx_media_items_custom_tags; + +ALTER TABLE public.user_profiles + DROP COLUMN IF EXISTS excluded_tags; + +ALTER TABLE public.media_items + DROP COLUMN IF EXISTS custom_tags; diff --git a/scripts/ci/db-contracts.txt b/scripts/ci/db-contracts.txt index 67683e085e8..081669aed50 100644 --- a/scripts/ci/db-contracts.txt +++ b/scripts/ci/db-contracts.txt @@ -3,6 +3,8 @@ # skipping. Run against a disposable, migrated database with make test-db-contracts. # Library visibility, rating ceilings, mixed catalogs, and section results. +./internal/catalog TestExcludedCustomTagsHideTitlesPostgres +./internal/catalog TestCustomTagsSurviveMetadataRefreshPostgres ./internal/catalog TestDualLibraryItemDeniedByDisabledLibraryDB ./internal/catalog TestEpisodeOpensUnderEveryLibraryOfItsSeriesDB ./internal/catalog TestGetBySeriesAndFileNumberDB @@ -1522,6 +1524,7 @@ # Household PIN proof must still match when the protected write transaction starts. ./internal/userstore/pgstore TestPostgresProfilePINRevisionTransactions +./internal/userstore/pgstore TestPostgresProfileExcludedTags # Personal collection list reads remember counts and collages with no source # until the membership revision or the viewer's access changes. diff --git a/web/src/api/types.ts b/web/src/api/types.ts index cee7c88b52a..424dacdfb07 100644 --- a/web/src/api/types.ts +++ b/web/src/api/types.ts @@ -257,6 +257,11 @@ export interface Profile { * server that predates the switch, which allows every profile. */ requests_allowed?: boolean; + /** + * Custom tags whose titles the profile cannot see. Absent on a server that + * predates custom tags. + */ + excluded_tags?: string[]; quality_preference: string; language: string; preferred_metadata_language?: string; @@ -1292,6 +1297,8 @@ export interface ItemDetail { studios: string[]; networks: string[]; countries: string[]; + /** A movie's or series' custom tags; sent only to metadata curators. */ + custom_tags?: string[]; locked_fields?: number[]; release_date: string | null; first_air_date: string | null; diff --git a/web/src/api/v2/catalog.ts b/web/src/api/v2/catalog.ts index 2e1439a54fb..65222781051 100644 --- a/web/src/api/v2/catalog.ts +++ b/web/src/api/v2/catalog.ts @@ -323,6 +323,7 @@ export function catalogItemDetailFromV2(item: CatalogItemDetailV2): ItemDetail { studios: item.studios ?? [], networks: item.networks ?? [], countries: item.countries ?? [], + custom_tags: item.custom_tags, locked_fields: item.locked_fields, release_date: item.release_date ?? null, first_air_date: item.first_air_date ?? null, diff --git a/web/src/api/v2/operations.ts b/web/src/api/v2/operations.ts index 75438416f47..f25f3f6d0fb 100644 --- a/web/src/api/v2/operations.ts +++ b/web/src/api/v2/operations.ts @@ -387,6 +387,7 @@ export const v2Operations = { "GET /api/v2/catalog/audiobook-groups": "listAudiobookGroups", "GET /api/v2/catalog/box-sets": "searchCatalogBoxSets", "GET /api/v2/catalog/box-sets/{id}": "getCatalogBoxSet", + "GET /api/v2/catalog/custom-tags": "listCatalogCustomTags", "GET /api/v2/catalog/filters": "getCatalogFilters", "GET /api/v2/catalog/filters/search": "searchCatalogFacet", "GET /api/v2/catalog/items/{id}": "getCatalogItem", diff --git a/web/src/api/v2/schema.ts b/web/src/api/v2/schema.ts index f0beaf19404..03865e2d9ba 100644 --- a/web/src/api/v2/schema.ts +++ b/web/src/api/v2/schema.ts @@ -7947,6 +7947,23 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v2/catalog/custom-tags": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** The custom tags on the movies and series the caller can see, most used first, for the metadata editor and a profile's excluded_tags. */ + get: operations["listCatalogCustomTags"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v2/catalog/filters": { parameters: { query?: never; @@ -16809,6 +16826,8 @@ export interface components { AdminCatalogCapabilities: { /** @description Whether the current principal may use the capability */ allowed: boolean; + /** @description updateAdminItemMetadata accepts custom_tags on a movie or series, item detail returns them to a metadata curator, and listCatalogCustomTags is served */ + custom_tags: boolean; /** @description listAdminItemImages lists an episode's still choices and current still_url, and uploadAdminItemImage accepts type still for an episode */ episode_stills: boolean; /** @description locked_fields accepts one lock per image (14 poster, 15 backdrop, 16 logo, 17 episode still), and choosing or uploading an image locks only that image on its own item, season or episode */ @@ -21351,6 +21370,13 @@ export interface components { content_rating?: string | null; /** @description Country codes, ISO 3166-1 alpha-2 by convention (US); stored as sent; null clears */ countries?: string[] | null; + /** + * @description Replaces a movie's or series' custom tags: free-text labels no metadata provider writes, so a refresh keeps them. A profile's excluded_tags hide every title carrying one of its tags. Each tag is trimmed with inner whitespace collapsed, and tags that differ only in case are kept once, in the first spelling. At most 50 tags of at most 64 characters; an empty array clears them. getAdminCatalogCapabilities reports custom_tags when this member is accepted + * @example [ + * "Gore" + * ] + */ + custom_tags?: string[]; /** Format: int64 */ episode_number?: number | null; /** @description Null clears the stored date */ @@ -27414,6 +27440,19 @@ export interface components { /** @description Opaque seed for subsequent explicit window jumps; carries query scope and the initial insertion fence */ window_cursor: string; }; + CatalogCustomTag: { + /** + * @description The tag in its most used spelling; tags that differ only in case are one tag + * @example Gore + */ + tag: string; + /** + * Format: int64 + * @description How many movies and series the caller can see that carry the tag + * @example 11 + */ + title_count: number; + }; CatalogEffectiveSort: { /** @example title */ field: string; @@ -27762,6 +27801,8 @@ export interface components { credits?: components["schemas"]["Marker"]; /** @description Empty, never null */ crew: components["schemas"]["CrewCredit"][]; + /** @description A movie's or series' custom tags, the free-text labels set through updateAdminItemMetadata. Returned only to a viewer who curates the item's metadata; omitted for everyone else and when the item has none */ + custom_tags?: string[]; /** * Format: uri-reference * @description Presigned, short-lived. Transparent disc art. Movies only @@ -28865,6 +28906,12 @@ export interface components { */ sync_schedule_editable: boolean; }; + CollectionCatalogCustomTag: { + /** @description The page's items; empty, never null */ + items: components["schemas"]["CatalogCustomTag"][]; + /** @description Cursor state; absent for bounded unpaginated collections */ + page?: components["schemas"]["PageInfo"]; + }; CollectionDisplayFilterPresets: { /** * @example [ @@ -36872,6 +36919,13 @@ export interface components { * @example 2026-01-02T03:04:05.000Z */ created_at: string; + /** + * @description Custom tags the profile may not see: a movie or series carrying any of them is hidden from it, with its seasons and episodes, whatever its rating and whatever title allowances say. Matched without regard to case. Each tag is trimmed, and tags that differ only in case are kept once. Set by the household manager; empty means none + * @example [ + * "Gore" + * ] + */ + excluded_tags: string[]; /** @example false */ has_pin: boolean; /** @@ -36966,6 +37020,11 @@ export interface components { * @example true */ avatar_upload_enabled: boolean; + /** + * @description Whether profiles accept excluded_tags and the server enforces it + * @example true + */ + excluded_tags_supported: boolean; /** @description The page's items; empty, never null */ items: components["schemas"]["Profile"][]; /** @@ -37014,6 +37073,13 @@ export interface components { * @example preset:fox */ avatar?: string; + /** + * @description Custom tags the profile may not see: a movie or series carrying any of them is hidden from it, with its seasons and episodes, whatever its rating and whatever title allowances say. Matched without regard to case. Each tag is trimmed, and tags that differ only in case are kept once. Set by the household manager. At most 50 tags of at most 64 characters; omitted means none + * @example [ + * "Gore" + * ] + */ + excluded_tags?: string[]; /** @example false */ is_child?: boolean; /** @@ -37320,6 +37386,13 @@ export interface components { * @example preset:fox */ avatar?: string | null; + /** + * @description Replaces the excluded tags. Custom tags the profile may not see: a movie or series carrying any of them is hidden from it, with its seasons and episodes, whatever its rating and whatever title allowances say. Matched without regard to case. Each tag is trimmed, and tags that differ only in case are kept once. Set by the household manager. At most 50 tags of at most 64 characters; an empty array clears them + * @example [ + * "Gore" + * ] + */ + excluded_tags?: string[]; /** @example false */ is_child?: boolean; /** @@ -40224,7 +40297,7 @@ export interface components { */ profile_id: string; /** - * @description within_limits: the profile sees the title without an allowance. allowed: the profile has its own allowance for it. allowed_by_collection: an allowed collection holds it. above_limit: the title is above the profile's limits and can be allowed. no_library_access: the profile cannot see the title's library, so an allowance would not help + * @description within_limits: the profile sees the title without an allowance. allowed: the profile has its own allowance for it. allowed_by_collection: an allowed collection holds it. above_limit: the title is above the profile's limits and can be allowed. no_library_access: the profile cannot see the title's library, so an allowance would not help. hidden_by_tag: the title carries a custom tag the profile excludes, which no allowance lifts * @example above_limit * @enum {string} */ @@ -40233,7 +40306,8 @@ export interface components { | "allowed" | "allowed_by_collection" | "above_limit" - | "no_library_access"; + | "no_library_access" + | "hidden_by_tag"; }; TitleAllowanceProfileCollection: { /** @description The page's items; empty, never null */ @@ -111974,6 +112048,112 @@ export interface operations { }; }; }; + listCatalogCustomTags: { + parameters: { + query?: never; + header: { + /** @description The household profile acting for this request; it must belong to the authenticated account. */ + "X-Profile-Id": string; + /** @description Verification proof for a PIN-locked profile, issued by POST /api/v2/profiles/{id}/verify-pin; required only when the declared profile is locked */ + "X-Profile-Token"?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description OK */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CollectionCatalogCustomTag"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["Problem"]; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["Problem"]; + }; + }; + /** @description Forbidden */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["Problem"]; + }; + }; + /** @description Not Found */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["Problem"]; + }; + }; + /** @description Not Acceptable */ + 406: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["Problem"]; + }; + }; + /** @description Unprocessable Entity */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["Problem"]; + }; + }; + /** @description Too Many Requests */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["Problem"]; + }; + }; + /** @description Internal Server Error */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["Problem"]; + }; + }; + /** @description Service Unavailable */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/problem+json": components["schemas"]["Problem"]; + }; + }; + }; + }; getCatalogFilters: { parameters: { query?: { diff --git a/web/src/components/EditMetadataDialog.form.ts b/web/src/components/EditMetadataDialog.form.ts index e7f00c999b2..7f605e3820c 100644 --- a/web/src/components/EditMetadataDialog.form.ts +++ b/web/src/components/EditMetadataDialog.form.ts @@ -107,6 +107,7 @@ export function initFormState(item: ItemDetail) { studios: item.studios ?? [], networks: item.networks ?? [], countries: item.countries ?? [], + custom_tags: item.custom_tags ?? [], release_date: item.release_date ?? "", first_air_date: item.first_air_date ?? "", last_air_date: item.last_air_date ?? "", diff --git a/web/src/components/EditMetadataDialog.test.tsx b/web/src/components/EditMetadataDialog.test.tsx index ac76fb73b25..d67803fc1b7 100644 --- a/web/src/components/EditMetadataDialog.test.tsx +++ b/web/src/components/EditMetadataDialog.test.tsx @@ -135,4 +135,40 @@ describe("EditMetadataPanel", () => { expect(screen.queryByRole("button", { name: "Save Changes" })).not.toBeInTheDocument(); expect(v2Recorder.writes()).toHaveLength(0); }); + + it("saves custom tags with no lock, offering the tags already in use", async () => { + v2Recorder.answer("GET /api/v2/catalog/custom-tags", { + items: [ + { tag: "Gore", title_count: 3 }, + { tag: "Late night", title_count: 1 }, + ], + }); + v2Recorder.answer("PATCH /api/v2/admin/items/{id}/metadata", movie); + render( + + + , + ); + const field = screen.getByLabelText("Custom tags"); + fireEvent.focus(field); + expect((await screen.findAllByRole("option")).map((o) => o.textContent)).toEqual([ + "Gore", + "Late night", + ]); + // Picking a suggestion adds it; typed text is added with Enter. + fireEvent.change(field, { target: { value: "go" } }); + fireEvent.click(screen.getByRole("option", { name: "Gore" })); + fireEvent.change(field, { target: { value: "Comfort" } }); + fireEvent.keyDown(field, { key: "Enter" }); + fireEvent.click(await screen.findByRole("button", { name: "Save Changes" })); + + await vi.waitFor(() => + expect(v2Recorder.callsOf("PATCH /api/v2/admin/items/{id}/metadata")).toHaveLength(1), + ); + expect(v2Recorder.callsOf("PATCH /api/v2/admin/items/{id}/metadata")[0]?.body).toEqual({ + custom_tags: ["Gore", "Comfort"], + }); + }); }); diff --git a/web/src/components/EditMetadataDialog.tsx b/web/src/components/EditMetadataDialog.tsx index b33252a2d11..4e8c400ce08 100644 --- a/web/src/components/EditMetadataDialog.tsx +++ b/web/src/components/EditMetadataDialog.tsx @@ -20,6 +20,7 @@ import { type UpdateItemMetadataRequest, } from "@/hooks/queries/items"; import { useEpisodeOrder } from "@/hooks/queries/episodeOrder"; +import { useCatalogCustomTags } from "@/hooks/queries/customTags"; import { useIsActingAdmin } from "@/hooks/useIsActingAdmin"; import { useReportUnsavedChanges } from "@/hooks/useUnsavedChanges"; import { useMediaQuery } from "@/hooks/useMediaQuery"; @@ -183,6 +184,9 @@ function EditMetadataForm({ // Seasons order by number, so a sort title would do nothing. const ownsSortTitle = item.type !== "season"; const fieldLockMap = FIELD_LOCK_MAPS[item.type]; + // Movies and series carry custom tags, which no provider writes, so they + // have no lock. The tags already in use are the suggestions. + const hasCustomTags = item.type === "movie" || item.type === "series"; // An audiobook's fields mostly come from its file tags, which no provider // supplies, so a reset would empty them rather than restore them. const canResetToProvider = fieldLockMap !== undefined && item.type !== "audiobook"; @@ -256,6 +260,8 @@ function EditMetadataForm({ data.networks = form.networks; if (JSON.stringify(form.countries) !== JSON.stringify(originalForm.countries)) data.countries = form.countries; + if (JSON.stringify(form.custom_tags) !== JSON.stringify(originalForm.custom_tags)) + data.custom_tags = form.custom_tags; if (form.release_date !== originalForm.release_date) data.release_date = form.release_date || null; if (form.first_air_date !== originalForm.first_air_date) @@ -930,6 +936,21 @@ function EditMetadataForm({ /> )} + + {hasCustomTags && ( + + {(id) => ( + setField("custom_tags", v)} + /> + )} + + )} )} @@ -1050,12 +1071,39 @@ function EditMetadataForm({ // The row gives its control an id, so the label names the control and // clicking the label focuses it. +/** The custom tags field, offering the tags already in use; it asks for them only when shown. */ +function CustomTagsInput({ + id, + value, + onChange, +}: { + id: string; + value: string[]; + onChange: (tags: string[]) => void; +}) { + const t = useT(); + const inUse = useCatalogCustomTags(); + const suggestions = useMemo(() => (inUse.data ?? []).map((c) => c.tag), [inUse.data]); + return ( + + ); +} + function FieldRow({ label, + hint, lockIcon, children, }: { label: string; + hint?: string; lockIcon?: (label: string) => React.ReactNode; children: (id: string) => React.ReactNode; }) { @@ -1069,6 +1117,7 @@ function FieldRow({ {lockIcon?.(label)} {children(id)} + {hint &&

{hint}

} ); } diff --git a/web/src/components/TagInput.tsx b/web/src/components/TagInput.tsx index c7f1d9b43f3..68d0f3104a1 100644 --- a/web/src/components/TagInput.tsx +++ b/web/src/components/TagInput.tsx @@ -1,21 +1,214 @@ -import { useState, useRef, type KeyboardEvent } from "react"; +import { + useContext, + useEffect, + useId, + useState, + useRef, + type KeyboardEvent, + type ReactNode, + type RefObject, +} from "react"; +import { Popover as PopoverPrimitive } from "radix-ui"; import { X } from "lucide-react"; +import { PortalContainerContext } from "@/components/ui/portal-container-context"; import { useT } from "@/i18n"; import { cn } from "@/lib/utils"; import { isImeComposing } from "@/lib/imeComposition"; +/** The bordered field that holds tag chips and the text box. */ +export const TAG_FIELD_CLASS = + "border-input bg-background focus-within:border-ring focus-within:ring-ring/50 flex min-h-9 flex-wrap items-center gap-1.5 rounded-md border px-3 py-1.5 text-sm shadow-xs transition-[color,box-shadow] focus-within:ring-[3px]"; + +/** A tag shown as a chip with a remove button. */ +export function TagChip({ tag, onRemove }: { tag: string; onRemove: () => void }) { + const t = useT(); + return ( + + {tag} + + + ); +} + +/** + * A tag field with a list of options under it. The field keeps focus while + * the list is open, and clicking inside the field does not close the list. + * The list renders next to the field rather than under document.body, so a + * dialog's scroll lock still lets it scroll; a PortalContainerContext moves it. + * Inside a dialog it stays within the dialog: it flips and shrinks to fit there. + */ +export function TagSuggestions({ + open, + onOpenChange, + anchorRef, + listboxId, + activeId, + listLabel, + multiselectable, + contentClassName, + field, + children, +}: { + open: boolean; + onOpenChange: (open: boolean) => void; + anchorRef: RefObject; + listboxId: string; + /** The highlighted option's id, kept scrolled into view. */ + activeId?: string; + listLabel: string; + multiselectable?: boolean; + contentClassName: string; + field: ReactNode; + children: ReactNode; +}) { + const portalContainer = useContext(PortalContainerContext); + const [anchor, setAnchor] = useState(null); + const dialog = anchor?.closest('[role="dialog"]') ?? undefined; + // Scrolls the list alone: scrollIntoView would also scroll the dialog, + // and before the list is placed it sits above it. + useEffect(() => { + const list = open && activeId ? document.getElementById(listboxId) : null; + const option = activeId ? document.getElementById(activeId) : null; + if (!list || !option) return; + const listRect = list.getBoundingClientRect(); + const optionRect = option.getBoundingClientRect(); + if (optionRect.top < listRect.top) list.scrollTop -= listRect.top - optionRect.top; + else if (optionRect.bottom > listRect.bottom) + list.scrollTop += optionRect.bottom - listRect.bottom; + }, [open, activeId, listboxId]); + const content = ( + e.preventDefault()} + onCloseAutoFocus={(e) => e.preventDefault()} + onInteractOutside={(e) => { + if (e.target instanceof Node && anchorRef.current?.contains(e.target)) { + e.preventDefault(); + } + }} + className={cn( + "border-border bg-popover text-popover-foreground z-50 rounded-md border shadow-md", + contentClassName, + )} + > +
+ {children} +
+
+ ); + return ( + + + {field} + + {portalContainer ? ( + {content} + ) : ( + content + )} + + ); +} + +/** One option row of TagSuggestions; picking it keeps focus in the field. */ +export function TagOption({ + id, + selected, + active, + label, + onHover, + onPick, + children, +}: { + id: string; + selected: boolean; + active: boolean; + label?: string; + onHover: () => void; + onPick: () => void; + children: ReactNode; +}) { + return ( +
e.preventDefault()} + onMouseMove={onHover} + onClick={onPick} + > + {children} +
+ ); +} + interface TagInputProps { id?: string; value: string[]; onChange: (tags: string[]) => void; placeholder?: string; className?: string; + /** Values offered in a list under the field as the user types; picking one adds it. */ + suggestions?: string[]; + /** The accessible name of the suggestion list. */ + suggestionsLabel?: string; } -export function TagInput({ id, value, onChange, placeholder, className }: TagInputProps) { +export function TagInput({ + id, + value, + onChange, + placeholder, + className, + suggestions, + suggestionsLabel, +}: TagInputProps) { const t = useT(); const [input, setInput] = useState(""); + const [open, setOpen] = useState(false); + // -1: no suggestion highlighted, so Enter adds the typed text. + const [active, setActive] = useState(-1); const inputRef = useRef(null); + const anchorRef = useRef(null); + const listboxId = useId(); + + const taken = new Set(value.map((tag) => tag.toLowerCase())); + const query = input.trim().toLowerCase(); + const offered = (suggestions ?? []).filter( + (s) => !taken.has(s.toLowerCase()) && (!query || s.toLowerCase().includes(query)), + ); + const showList = open && offered.length > 0; + const index = active < offered.length ? active : -1; function addTag(tag: string) { const trimmed = tag.trim(); @@ -23,6 +216,7 @@ export function TagInput({ id, value, onChange, placeholder, className }: TagInp onChange([...value, trimmed]); } setInput(""); + setActive(-1); } function removeTag(index: number) { @@ -31,49 +225,67 @@ export function TagInput({ id, value, onChange, placeholder, className }: TagInp function handleKeyDown(e: KeyboardEvent) { if (isImeComposing(e)) return; - if ((e.key === "Enter" || e.key === ",") && input.trim()) { + if (e.key === "ArrowDown" && offered.length > 0) { + e.preventDefault(); + setOpen(true); + setActive(Math.min(index + 1, offered.length - 1)); + } else if (e.key === "ArrowUp" && showList) { + e.preventDefault(); + setActive(Math.max(index - 1, -1)); + } else if (e.key === "Enter" && showList && index >= 0) { + e.preventDefault(); + addTag(offered[index]!); + } else if ((e.key === "Enter" || e.key === ",") && input.trim()) { e.preventDefault(); addTag(input); + } else if (e.key === "Escape" && showList) { + e.preventDefault(); + e.stopPropagation(); + setOpen(false); } else if (e.key === "Backspace" && !input && value.length > 0) { removeTag(value.length - 1); } } - return ( + const field = (
inputRef.current?.focus()} > {value.map((tag, i) => ( - - {tag} - - + removeTag(i)} /> ))} setInput(e.target.value)} + {...(suggestions + ? { + role: "combobox", + "aria-expanded": showList, + "aria-controls": showList ? listboxId : undefined, + "aria-autocomplete": "list" as const, + "aria-activedescendant": showList && index >= 0 ? `${listboxId}-${index}` : undefined, + } + : {})} + onFocus={() => { + setActive(-1); + setOpen(true); + }} + onClick={() => { + if (!showList) setActive(-1); + setOpen(true); + }} + onChange={(e) => { + setInput(e.target.value); + setActive(-1); + setOpen(true); + }} onKeyDown={handleKeyDown} onBlur={() => { + setOpen(false); if (input.trim()) addTag(input); }} placeholder={ @@ -83,4 +295,34 @@ export function TagInput({ id, value, onChange, placeholder, className }: TagInp />
); + + if (!suggestions) return field; + + return ( + = 0 ? `${listboxId}-${index}` : undefined} + listLabel={suggestionsLabel ?? placeholder ?? t("web.common.ui.tagInput.placeholder")} + contentClassName="w-[var(--radix-popover-trigger-width)]" + field={field} + > + {offered.map((option, i) => ( + setActive(i)} + onPick={() => addTag(option)} + > + + {option} + + + ))} + + ); } diff --git a/web/src/components/profiles/ProfileEditorDialog.model.ts b/web/src/components/profiles/ProfileEditorDialog.model.ts index 73ae4d6d205..9f9750c26d5 100644 --- a/web/src/components/profiles/ProfileEditorDialog.model.ts +++ b/web/src/components/profiles/ProfileEditorDialog.model.ts @@ -28,6 +28,8 @@ export interface ProfileEditorDialogProps { requireAdvisoryAgeSupported?: boolean; /** The server accepts `requests_allowed`; hides the switch when false. */ requestsAllowedSupported?: boolean; + /** The server accepts `excluded_tags`; hides the tag card when false. */ + excludedTagsSupported?: boolean; /** * Creates the profile and uploads its avatar as this profile instead of the * active one, as Who's watching does for the verified primary profile. @@ -54,6 +56,7 @@ export interface ValidationErrors { name?: string; pin?: string; libraries?: string; + excludedTags?: string; } export const ANY_CONTENT_RATING_VALUE = "__any_content__"; diff --git a/web/src/components/profiles/ProfileEditorDialog.test.tsx b/web/src/components/profiles/ProfileEditorDialog.test.tsx new file mode 100644 index 00000000000..5b6eb1ae36a --- /dev/null +++ b/web/src/components/profiles/ProfileEditorDialog.test.tsx @@ -0,0 +1,107 @@ +/** + * The profile editor's tag limit: a profile hides the titles that carry the + * custom tags picked under "Hide titles with tags", and turning the switch off + * clears the limit on save. + */ +import { fireEvent, render, screen } from "@testing-library/react"; +import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; +import { beforeEach, describe, expect, it, vi } from "vitest"; + +import type { Profile } from "@/api/types"; +import { ProfileEditorDialog } from "@/components/profiles/ProfileEditorDialog"; +import { installV2Recorder, v2Recorder, type RecordedCall } from "@/test/v2Recorder"; + +vi.mock("@/api/v2/request", async () => (await import("@/test/v2Recorder")).mockV2Request()); + +installV2Recorder(); + +class NoResizeObserver implements ResizeObserver { + observe() {} + unobserve() {} + disconnect() {} +} +beforeEach(() => vi.stubGlobal("ResizeObserver", NoResizeObserver)); + +const kid = { + id: "kid", + name: "Kid", + avatar: "", + has_pin: false, + is_child: true, + is_primary: false, + max_content_rating: "", + library_restrictions_enabled: false, + allowed_library_ids: [], + max_playback_quality: "", + excluded_tags: [], +} as unknown as Profile; + +function show( + profile: Profile, + tags = [ + { tag: "Gore", title_count: 11 }, + { tag: "Scary", title_count: 1 }, + ], +) { + v2Recorder.answer("GET /api/v2/catalog/custom-tags", { items: tags }); + v2Recorder.answer("PATCH /api/v2/profiles/{id}", (call: RecordedCall) => ({ + ...profile, + ...(call.body as object), + })); + render( + + {}} + /> + , + ); +} + +const save = () => fireEvent.click(screen.getByRole("button", { name: "Save profile" })); +const sentTags = () => + (v2Recorder.callsOf("PATCH /api/v2/profiles/{id}")[0]?.body as { excluded_tags?: string[] }) + ?.excluded_tags; + +describe("ProfileEditorDialog excluded tags", () => { + it("saves the picked tags, and asks for one before saving none", async () => { + show(kid); + fireEvent.click(await screen.findByRole("switch", { name: "Hide titles with tags" })); + save(); + expect(await screen.findByText("Choose at least one tag.")).toBeInTheDocument(); + expect(v2Recorder.callsOf("PATCH /api/v2/profiles/{id}")).toHaveLength(0); + + fireEvent.focus(screen.getByRole("combobox", { name: "Search tags" })); + fireEvent.click(await screen.findByRole("option", { name: "Gore, 11 titles" })); + save(); + + await vi.waitFor(() => + expect(v2Recorder.callsOf("PATCH /api/v2/profiles/{id}")).toHaveLength(1), + ); + expect(sentTags()).toEqual(["Gore"]); + }); + + it("keeps the switch after the last tag is removed and no title carries one", async () => { + show({ ...kid, excluded_tags: ["Gore"] }, []); + fireEvent.click(await screen.findByRole("button", { name: "Remove Gore" })); + const toggle = screen.getByRole("switch", { name: "Hide titles with tags" }); + fireEvent.click(toggle); + save(); + + await vi.waitFor(() => + expect(v2Recorder.callsOf("PATCH /api/v2/profiles/{id}")).toHaveLength(1), + ); + expect(sentTags()).toEqual([]); + }); + + it("explains where tags come from when no title has one", async () => { + show(kid, []); + expect(await screen.findByText(/No titles have custom tags yet/)).toBeInTheDocument(); + expect(screen.queryByRole("switch", { name: "Hide titles with tags" })).not.toBeInTheDocument(); + }); +}); diff --git a/web/src/components/profiles/ProfileEditorDialog.tsx b/web/src/components/profiles/ProfileEditorDialog.tsx index 0291c99bc5c..f20ba590349 100644 --- a/web/src/components/profiles/ProfileEditorDialog.tsx +++ b/web/src/components/profiles/ProfileEditorDialog.tsx @@ -50,7 +50,9 @@ import { } from "@/lib/profile-management"; import { cn } from "@/lib/utils"; import { AllowedTitlesSection } from "@/components/profiles/AllowedTitlesSection"; +import { ProfileExcludedTags } from "@/components/profiles/ProfileExcludedTags"; import { ProfileLibraryAccess } from "@/components/profiles/ProfileLibraryAccess"; +import { ProfileSwitchCard } from "@/components/profiles/ProfileSwitchCard"; import { profileHasMaturityLimit, useCanManageTitleAllowances, @@ -84,6 +86,7 @@ export function ProfileEditorDialog({ advisoryAgeSupported = false, requireAdvisoryAgeSupported = false, requestsAllowedSupported = false, + excludedTagsSupported = false, profileContext, save, onOpenChange, @@ -119,6 +122,7 @@ export function ProfileEditorDialog({ advisoryAgeSupported={advisoryAgeSupported} requireAdvisoryAgeSupported={requireAdvisoryAgeSupported} requestsAllowedSupported={requestsAllowedSupported} + excludedTagsSupported={excludedTagsSupported} profileContext={profileContext} save={save} onOpenChange={onOpenChange} @@ -139,6 +143,7 @@ function ProfileEditorForm({ advisoryAgeSupported, requireAdvisoryAgeSupported, requestsAllowedSupported, + excludedTagsSupported, profileContext, save, onOpenChange, @@ -152,6 +157,7 @@ function ProfileEditorForm({ advisoryAgeSupported: boolean; requireAdvisoryAgeSupported: boolean; requestsAllowedSupported: boolean; + excludedTagsSupported: boolean; profileContext?: ProfileRequestContextSnapshot; save?: ProfileEditorSave; onOpenChange: (open: boolean) => void; @@ -217,8 +223,6 @@ function ProfileEditorForm({ const requireAdvisoryAgeId = useId(); const requireAdvisoryAgeHelpId = useId(); const playbackQualityId = useId(); - const requestsAllowedId = useId(); - const requestsAllowedHelpId = useId(); const selectedContentRatingValue = draft.maxContentRating === "" ? ANY_CONTENT_RATING_VALUE : draft.maxContentRating; @@ -246,10 +250,7 @@ function ProfileEditorForm({ }, [filePreviewURL]); function updateDraft(key: K, value: ProfileDraft[K]) { - setDraft((current) => ({ - ...current, - [key]: value, - })); + setDraft((current) => ({ ...current, [key]: value })); } function selectPreset(presetID: string) { @@ -302,6 +303,10 @@ function ProfileEditorForm({ nextErrors.libraries = t("web.profiles.editor.librariesRequired"); } + if (excludedTagsSupported && current.excludedTagsEnabled && current.excludedTags.length === 0) { + nextErrors.excludedTags = t("web.profiles.excludedTags.required"); + } + return nextErrors; } @@ -331,14 +336,16 @@ function ProfileEditorForm({ !avatarFile && draft.avatarPreset === ""; + const requestOptions = { + advisoryAgeSupported, + requireAdvisoryAgeSupported, + requestsAllowedSupported, + excludedTagsSupported, + }; let savedProfile: Profile; try { if (mode === "edit" && profile) { - const body = buildProfileUpdateFromDraft(draft, { - advisoryAgeSupported, - requireAdvisoryAgeSupported, - requestsAllowedSupported, - }); + const body = buildProfileUpdateFromDraft(draft, requestOptions); // A chosen file replaces the avatar through the upload that follows; // clearing it here first would lose the old one if that upload fails. if (preserveExistingUpload || deleteExistingUpload || avatarFile) { @@ -348,11 +355,7 @@ function ProfileEditorForm({ ? await save.update(profile.id, body) : await updateMutation.mutateAsync({ id: profile.id, body }); } else { - const body = buildProfileRequestFromDraft(draft, { - advisoryAgeSupported, - requireAdvisoryAgeSupported, - requestsAllowedSupported, - }); + const body = buildProfileRequestFromDraft(draft, requestOptions); savedProfile = save ? await save.create(body) : await createMutation.mutateAsync(body); } } catch { @@ -756,24 +759,28 @@ function ProfileEditorForm({ onLibraryChange={toggleLibrary} /> + {excludedTagsSupported ? ( + { + setDraft((current) => ({ ...current, ...change })); + setErrors((current) => ({ ...current, excludedTags: undefined })); + }} + /> + ) : null} + {requestsAllowedSupported ? ( -
-
- -

- {t("web.profiles.editor.requestsAllowedHint")} -

-
- { - setRequestsTouched(true); - updateDraft("requestsAllowed", checked); - }} - /> -
+ { + setRequestsTouched(true); + updateDraft("requestsAllowed", checked); + }} + /> ) : null} diff --git a/web/src/components/profiles/ProfileExcludedTags.tsx b/web/src/components/profiles/ProfileExcludedTags.tsx new file mode 100644 index 00000000000..a9e4b22e40b --- /dev/null +++ b/web/src/components/profiles/ProfileExcludedTags.tsx @@ -0,0 +1,208 @@ +import { useId, useRef, useState, type KeyboardEvent } from "react"; +import { Check } from "lucide-react"; + +import { TAG_FIELD_CLASS, TagChip, TagOption, TagSuggestions } from "@/components/TagInput"; +import type { ProfileRequestContextSnapshot } from "@/api/client"; +import { useCatalogCustomTags, type CustomTagCount } from "@/hooks/queries/customTags"; +import { useT } from "@/i18n"; +import { formatLocale } from "@/lib/appLocale"; +import { isImeComposing } from "@/lib/imeComposition"; +import type { ProfileDraft } from "@/lib/profile-management"; +import { cn } from "@/lib/utils"; +import { ProfileSwitchCard } from "./ProfileSwitchCard"; + +const tagKey = (tag: string) => tag.trim().toLowerCase(); + +/** + * The profile editor's tag limit: a switch, and when it is on, the custom + * tags whose titles the profile can't see, picked from the tags titles carry. + * Turning the switch off keeps the picked tags in the draft, as the library + * card keeps its libraries. With no custom tags on any title and none picked, + * a note stands in for the card. + */ +type TagDraft = Pick; + +export function ProfileExcludedTags({ + draft: { excludedTagsEnabled: enabled, excludedTags: tags }, + error, + profileContext, + onChange, +}: { + draft: TagDraft; + error?: string; + /** Lists the tags as this profile instead of the active one, as the editor saves. */ + profileContext?: ProfileRequestContextSnapshot; + onChange: (change: Partial) => void; +}) { + const t = useT(); + const available = useCatalogCustomTags(profileContext); + + if (available.isPending) return null; + // The switch stays while it is on, so it can be turned off again. + if ((available.data?.length ?? 0) === 0 && tags.length === 0 && !enabled) { + return ( +
+

{t("web.profiles.excludedTags.title")}

+

+ {available.isError + ? t("web.profiles.excludedTags.loadFailed") + : t("web.profiles.excludedTags.noTags")} +

+
+ ); + } + + return ( + onChange({ excludedTagsEnabled: checked })} + > + {enabled ? ( +
+ onChange({ excludedTags: next })} + /> + {error ?

{error}

: null} +
+ ) : null} +
+ ); +} + +/** Picked tags as removable chips, and a searchable list of the others. */ +function TagPicker({ + available, + tags, + onChange, +}: { + available: CustomTagCount[]; + tags: string[]; + onChange: (tags: string[]) => void; +}) { + const t = useT(); + const [open, setOpen] = useState(false); + const [search, setSearch] = useState(""); + const [active, setActive] = useState(0); + const listboxId = useId(); + const anchorRef = useRef(null); + + const picked = new Set(tags.map(tagKey)); + const query = search.trim().toLowerCase(); + const options = available.filter((entry) => !query || entry.tag.toLowerCase().includes(query)); + const index = Math.min(active, Math.max(options.length - 1, 0)); + const activeId = options[index] ? `${listboxId}-${index}` : undefined; + + function toggle(tag: string) { + onChange( + picked.has(tagKey(tag)) ? tags.filter((x) => tagKey(x) !== tagKey(tag)) : [...tags, tag], + ); + } + + function handleKeyDown(event: KeyboardEvent) { + if (isImeComposing(event)) return; + const last = options.length - 1; + if (event.key === "ArrowDown") { + event.preventDefault(); + setOpen(true); + setActive(Math.min(index + 1, last)); + } else if (event.key === "ArrowUp") { + event.preventDefault(); + setActive(Math.max(index - 1, 0)); + } else if (event.key === "Enter") { + event.preventDefault(); + const option = options[index]; + if (open && option) toggle(option.tag); + } else if (event.key === "Escape" && open) { + event.preventDefault(); + event.stopPropagation(); + setOpen(false); + } else if (event.key === "Backspace" && !search && tags.length > 0) { + onChange(tags.slice(0, -1)); + } + } + + const field = ( +
+ {tags.map((tag) => ( + toggle(tag)} /> + ))} + { + setActive(0); + setOpen(true); + }} + onClick={() => setOpen(true)} + onChange={(event) => { + setSearch(event.target.value); + setActive(0); + setOpen(true); + }} + onKeyDown={handleKeyDown} + className="placeholder:text-muted-foreground min-w-[8rem] flex-1 bg-transparent text-sm outline-none" + /> +
+ ); + + return ( + + {options.length === 0 ? ( +

+ {t("web.ui.select.noMatches")} +

+ ) : ( + options.map((option, i) => { + const selected = picked.has(tagKey(option.tag)); + const number = option.title_count.toLocaleString(formatLocale()); + return ( + setActive(i)} + onPick={() => toggle(option.tag)} + > + + + {option.tag} + + + {t("web.profiles.excludedTags.titleCount", { count: option.title_count, number })} + + + ); + }) + )} +
+ ); +} diff --git a/web/src/components/profiles/ProfileSwitchCard.tsx b/web/src/components/profiles/ProfileSwitchCard.tsx new file mode 100644 index 00000000000..ad931d1befe --- /dev/null +++ b/web/src/components/profiles/ProfileSwitchCard.tsx @@ -0,0 +1,42 @@ +import { useId, type ReactNode } from "react"; + +import { Label } from "@/components/ui/label"; +import { Switch } from "@/components/ui/switch"; +import { SWITCH_ROW_TEXT } from "./ProfileEditorDialog.model"; + +/** A profile editor card: a labelled switch with a hint, and what it controls below it. */ +export function ProfileSwitchCard({ + label, + hint, + checked, + onCheckedChange, + children, +}: { + label: string; + hint: string; + checked: boolean; + onCheckedChange: (checked: boolean) => void; + children?: ReactNode; +}) { + const switchId = useId(); + const hintId = useId(); + return ( +
+
+
+ +

+ {hint} +

+
+ +
+ {children} +
+ ); +} diff --git a/web/src/hooks/queries/customTags.ts b/web/src/hooks/queries/customTags.ts new file mode 100644 index 00000000000..21de87dcf0a --- /dev/null +++ b/web/src/hooks/queries/customTags.ts @@ -0,0 +1,23 @@ +import { useQuery } from "@tanstack/react-query"; +import type { ProfileRequestContextSnapshot } from "@/api/client"; +import { v2 } from "@/api/v2/request"; +import { catalogKeys } from "./keys"; + +export interface CustomTagCount { + tag: string; + title_count: number; +} + +/** + * The custom tags on the titles the active profile can see, or the profile + * profileContext names, most used first: the metadata editor's suggestions + * and the tags a profile can exclude. + */ +export function useCatalogCustomTags(profileContext?: ProfileRequestContextSnapshot) { + return useQuery({ + queryKey: [...catalogKeys.customTags, profileContext?.profileId ?? "active"], + queryFn: async ({ signal }): Promise => + (await v2("GET /api/v2/catalog/custom-tags", { signal, profileContext })).items, + staleTime: 60_000, + }); +} diff --git a/web/src/hooks/queries/items.ts b/web/src/hooks/queries/items.ts index 78ab562b85c..2c0d2864363 100644 --- a/web/src/hooks/queries/items.ts +++ b/web/src/hooks/queries/items.ts @@ -349,6 +349,7 @@ export interface UpdateItemMetadataRequest { studios?: string[]; networks?: string[]; countries?: string[]; + custom_tags?: string[]; release_date?: string | null; first_air_date?: string | null; last_air_date?: string | null; @@ -389,6 +390,7 @@ function applySavedMetadata(current: ItemDetail, updated: ItemDetail): ItemDetai studios: updated.studios, networks: updated.networks, countries: updated.countries, + custom_tags: updated.custom_tags, release_date: updated.release_date, first_air_date: updated.first_air_date, last_air_date: updated.last_air_date, @@ -425,10 +427,12 @@ export function useUpdateItemMetadata(contentId: string) { // entries immediately so a failed follow-up refetch cannot leave stale locks // behind for the next toggle or edit. Returning the refetch keeps the save // pending until the refetch finishes. - onSuccess: (updated) => { + onSuccess: (updated, data) => { updateCatalogItemDetail(queryClient, contentId, (current) => applySavedMetadata(current, updated), ); + if (data.custom_tags) + void queryClient.invalidateQueries({ queryKey: catalogKeys.customTags }); toast.success(t("web.item.toast.metadataSaved")); return invalidateMediaSurfaceQueries(queryClient, { itemId: contentId }).then(() => { bumpHomeRefreshSignal(queryClient); diff --git a/web/src/hooks/queries/keys.ts b/web/src/hooks/queries/keys.ts index 1785915f24c..9a2296cd4db 100644 --- a/web/src/hooks/queries/keys.ts +++ b/web/src/hooks/queries/keys.ts @@ -67,6 +67,7 @@ export const catalogKeys = { list: (params: CatalogParams) => ["catalog", "list", params] as const, filters: (params: Omit) => ["catalog", "filters", params] as const, allLetters: ["catalog", "letters"] as const, + customTags: ["catalog", "customTags"] as const, letters: (params: Pick) => ["catalog", "letters", params] as const, allCounts: ["catalog", "count"] as const, diff --git a/web/src/hooks/queries/profiles.ts b/web/src/hooks/queries/profiles.ts index 4e97dc8359d..4461f1472ef 100644 --- a/web/src/hooks/queries/profiles.ts +++ b/web/src/hooks/queries/profiles.ts @@ -51,6 +51,8 @@ export interface ProfileList { require_advisory_age_supported: boolean; /** Whether the server accepts and enforces `requests_allowed`. */ requests_allowed_supported: boolean; + /** Whether the server accepts and enforces `excluded_tags`. */ + excluded_tags_supported: boolean; /** * The household profile limit createProfile enforces, or null when the * server did not report one (an older server, or a limit it could not @@ -77,6 +79,7 @@ export function profileFromV2(profile: components["schemas"]["Profile"]): Profil max_advisory_age: profile.max_advisory_age ?? null, require_advisory_age: profile.require_advisory_age ?? false, requests_allowed: profile.requests_allowed ?? true, + excluded_tags: profile.excluded_tags ?? [], quality_preference: profile.quality_preference, language: profile.language, preferred_metadata_language: profile.preferred_metadata_language, @@ -131,6 +134,7 @@ export async function listProfiles(): Promise { require_advisory_age_supported: list.require_advisory_age_supported === true, // Absent on a server that predates the per-profile requests switch. requests_allowed_supported: list.requests_allowed_supported === true, + excluded_tags_supported: list.excluded_tags_supported === true, // Absent on a server that predates reporting the profile limit. max_profiles: list.max_profiles ?? null, }; @@ -196,6 +200,7 @@ export function useProfiles(options?: { enabled?: boolean; refetchOnWindowFocus? maxAdvisoryAgeSupported: query.data?.max_advisory_age_supported ?? false, requireAdvisoryAgeSupported: query.data?.require_advisory_age_supported ?? false, requestsAllowedSupported: query.data?.requests_allowed_supported ?? false, + excludedTagsSupported: query.data?.excluded_tags_supported ?? false, maxProfiles: query.data?.max_profiles ?? null, }; } @@ -236,6 +241,7 @@ export function useUpdateProfile() { max_advisory_age_supported: current?.max_advisory_age_supported ?? false, require_advisory_age_supported: current?.require_advisory_age_supported ?? false, requests_allowed_supported: current?.requests_allowed_supported ?? false, + excluded_tags_supported: current?.excluded_tags_supported ?? false, max_profiles: current?.max_profiles ?? null, }; }); @@ -261,6 +267,7 @@ export function useUploadProfileAvatar(profileContext?: ProfileRequestContextSna max_advisory_age_supported: current?.max_advisory_age_supported ?? false, require_advisory_age_supported: current?.require_advisory_age_supported ?? false, requests_allowed_supported: current?.requests_allowed_supported ?? false, + excluded_tags_supported: current?.excluded_tags_supported ?? false, max_profiles: current?.max_profiles ?? null, })); toast.success(t("web.common.toast.profiles.avatarUpdated")); diff --git a/web/src/hooks/queries/titleAllowances.ts b/web/src/hooks/queries/titleAllowances.ts index 7bf34815a04..77e2dcb4446 100644 --- a/web/src/hooks/queries/titleAllowances.ts +++ b/web/src/hooks/queries/titleAllowances.ts @@ -102,6 +102,8 @@ export function allowanceRowState(state: TitleAllowanceProfile["state"]): { }; case "no_library_access": return { checked: false, disabled: true, note: t("web.profiles.allowances.noLibraryAccess") }; + case "hidden_by_tag": + return { checked: false, disabled: true, note: t("web.profiles.allowances.hiddenByTag") }; default: return { checked: false, disabled: false }; } diff --git a/web/src/lib/profile-management.test.ts b/web/src/lib/profile-management.test.ts index 0855b6fe140..9bc3ce7d896 100644 --- a/web/src/lib/profile-management.test.ts +++ b/web/src/lib/profile-management.test.ts @@ -253,6 +253,31 @@ describe("profile-management", () => { ); }); + it("carries excluded tags through drafts, requests and the summary", () => { + const supported = { excludedTagsSupported: true }; + expect(createProfileDraft(makeProfile()).excludedTagsEnabled).toBe(false); + + const hiding = createProfileDraft(makeProfile({ excluded_tags: ["Gore", "Scary"] })); + expect(hiding.excludedTagsEnabled).toBe(true); + expect(buildProfileUpdateFromDraft(hiding, supported).excluded_tags).toEqual(["Gore", "Scary"]); + // Switched off, the tags stay in the draft and the update clears them. + const off = { ...hiding, excludedTagsEnabled: false }; + expect(off.excludedTags).toEqual(["Gore", "Scary"]); + expect(buildProfileUpdateFromDraft(off, supported).excluded_tags).toEqual([]); + expect( + buildProfileRequestFromDraft({ ...hiding, name: "Teen" }, supported).excluded_tags, + ).toEqual(["Gore", "Scary"]); + expect( + "excluded_tags" in buildProfileRequestFromDraft({ ...off, name: "Teen" }, supported), + ).toBe(false); + // Never sent to a server that does not accept it. + expect("excluded_tags" in buildProfileUpdateFromDraft(hiding)).toBe(false); + + expect(buildProfileAccessSummary(makeProfile({ excluded_tags: ["Gore", "Scary"] })).text).toBe( + "Any content · All libraries · Any quality · Hides 2 tags", + ); + }); + it("turns requests off with the kids preset unless set by hand", () => { const kids = applyKidsPreset(createProfileDraft(), { contentRatingTouched: false, diff --git a/web/src/lib/profile-management.ts b/web/src/lib/profile-management.ts index 8a5cdb7a197..fd05bf09a8f 100644 --- a/web/src/lib/profile-management.ts +++ b/web/src/lib/profile-management.ts @@ -25,6 +25,9 @@ export interface ProfileDraft { allowedLibraryIDs: number[]; /** Whether the profile may use requests and request discovery. */ requestsAllowed: boolean; + /** Whether titles with any of excludedTags are hidden. Off keeps the tags in the draft. */ + excludedTagsEnabled: boolean; + excludedTags: string[]; } export interface ContentRatingOption { @@ -41,6 +44,8 @@ export interface ProfileAccessSummary { playbackQuality: string; /** "" unless the profile is blocked from requests. */ requests: string; + /** "" unless the profile hides titles with custom tags. */ + hiddenTags: string; text: string; } @@ -141,6 +146,8 @@ export function createProfileDraft(profile?: Profile | null): ProfileDraft { libraryRestrictionsEnabled: profile?.library_restrictions_enabled ?? false, allowedLibraryIDs: sortUniqueLibraryIDs(profile?.allowed_library_ids), requestsAllowed: profile?.requests_allowed ?? true, + excludedTagsEnabled: (profile?.excluded_tags?.length ?? 0) > 0, + excludedTags: profile?.excluded_tags ?? [], }; } @@ -166,6 +173,11 @@ export interface ProfileRequestOptions { * Same reason: never send it otherwise. */ requestsAllowedSupported?: boolean; + /** + * The server accepts `excluded_tags` (`excluded_tags_supported`). Same + * reason: never send it otherwise. + */ + excludedTagsSupported?: boolean; } export function buildProfileRequestFromDraft( @@ -200,6 +212,9 @@ export function buildProfileRequestFromDraft( if (options.requestsAllowedSupported && !draft.requestsAllowed) { body.requests_allowed = false; } + if (options.excludedTagsSupported && draft.excludedTagsEnabled && draft.excludedTags.length > 0) { + body.excluded_tags = draft.excludedTags; + } if (!draft.clearPin && draft.pin.trim() !== "") { body.pin = draft.pin.trim(); } @@ -241,6 +256,9 @@ export function buildProfileUpdateFromDraft( if (options.requestsAllowedSupported) { body.requests_allowed = draft.requestsAllowed; } + if (options.excludedTagsSupported) { + body.excluded_tags = draft.excludedTagsEnabled ? draft.excludedTags : []; + } if (draft.clearPin) { body.pin = null; @@ -261,6 +279,7 @@ export function buildProfileAccessSummary( | "allowed_library_ids" | "max_playback_quality" | "requests_allowed" + | "excluded_tags" >, ): ProfileAccessSummary { const contentRating = @@ -289,6 +308,10 @@ export function buildProfileAccessSummary( }); const requests = profile.requests_allowed === false ? t("web.profiles.helpers.access.noRequests") : ""; + const tagCount = profile.excluded_tags?.length ?? 0; + const hiddenTags = tagCount + ? t("web.profiles.helpers.access.hiddenTags", { count: tagCount, count_text: tagCount }) + : ""; return { contentRating, @@ -296,7 +319,8 @@ export function buildProfileAccessSummary( libraries, playbackQuality, requests, - text: [contentRating, advisoryAge, libraries, playbackQuality, requests] + hiddenTags, + text: [contentRating, advisoryAge, libraries, playbackQuality, requests, hiddenTags] .filter(Boolean) .join(" · "), }; diff --git a/web/src/locales/ar-XB.json b/web/src/locales/ar-XB.json index 765e780a0e9..80a74d9b6d7 100644 --- a/web/src/locales/ar-XB.json +++ b/web/src/locales/ar-XB.json @@ -62718,6 +62718,18 @@ "value": "\u200F\u202ERepository removed\u202C" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "\u200F\u202ECould not test repository connection.\u202C" + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "\u200F\u202ESelect an administrator profile before testing a repository.\u202C" + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -63234,18 +63246,136 @@ "value": "\u200F\u202EAdd repository\u202C" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "\u200F\u202EAdd plugin repository\u202C" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "\u200F\u202EAuthenticated\u202C" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "\u200F\u202ESent as an Authorization: Bearer header to the repository host.\u202C" + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "\u200F\u202EUse a Forgejo or Gitea access token with read:repository scope.\u202C" + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "\u200F\u202EUse a GitHub fine-grained personal access token with Contents: Read-only access.\u202C" + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "\u200F\u202EUse a GitLab Project, Group, or Personal Access Token with Reporter role and read_api scope (Deploy Tokens do not support the Releases API).\u202C" + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "\u200F\u202EPassword or token\u202C" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "\u200F\u202EThe repository host changed. Re-enter the credential to save.\u202C" + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "\u200F\u202ELeave blank to keep saved credential\u202C" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "\u200F\u202EAccess token\u202C" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "\u200F\u202EHTTP Basic\u202C" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "\u200F\u202EAuthentication\u202C" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "\u200F\u202ENone (public)\u202C" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "\u200F\u202EAccess token\u202C" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "\u200F\u202EUsername\u202C" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "\u200F\u202EWhere Silo finds plugins.\u202C" } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "\u200F\u202EAdd a Silo catalog index URL or a direct GitHub, GitLab, Forgejo, or Gitea plugin repository for automatic updates.\u202C" + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "\u200F\u202EDisable\u202C" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "\u200F\u202EEdit\u202C" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "\u200F\u202EEdit \u202C" + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "\u200F\u202EEdit plugin repository\u202C" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -63258,6 +63388,12 @@ "value": "\u200F\u202EEnable\u202C" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "\u200F\u202ESilo reads releases containing platform binaries (for example, plugin-linux-amd64), checksums.txt, and manifest.json (attached to the release or in the repository at the release tag).\u202C" + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -63292,12 +63428,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "\u200F\u202ECatalog index (JSON)\u202C" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "\u200F\u202EForgejo repository\u202C" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "\u200F\u202EGitea repository\u202C" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "\u200F\u202EGitHub repository\u202C" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "\u200F\u202EGitLab repository\u202C" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "\u200F\u202ESource type\u202C" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "\u200F\u202EAdd\u202C" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "\u200F\u202ETest connection\u202C" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "\u200F\u202ETesting…\u202C" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -121011,6 +121195,12 @@ "value": "\u200F\u202ERemove from Watchlist\u202C" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "\u200F\u202EReport an Issue\u202C" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -132849,7 +133039,7 @@ "web.issues.actions.viewProblemReports": [ { "type": 0, - "value": "\u200F\u202EView issues\u202C" + "value": "\u200F\u202EView Issues\u202C" } ], "web.issues.activity.author.admin": [ @@ -133353,7 +133543,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "\u200F\u202ELet the admins know what's wrong. Other people on this server don't see it.\u202C" + "value": "\u200F\u202EOnly you and the admins can see your report.\u202C" } ], "web.issues.report.descriptionChannels": [ @@ -133365,7 +133555,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "\u200F\u202ELet the admins know what's wrong. Other people on this server don't see it. It's also sent, with your name, to the issue tracker the admins use.\u202C" + "value": "\u200F\u202EOnly you and the admins can see your report in Silo. It's also sent, with your name, to the issue tracker the admins use.\u202C" } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -133445,7 +133635,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "\u200F\u202EPlayback details (version and timestamp) are included for the admins.\u202C" + "value": "\u200F\u202EPlayback details (version and timestamp) are included.\u202C" } ], "web.issues.report.send": [ @@ -133502,6 +133692,12 @@ "value": "\u200F\u202EReport an issue\u202C" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "\u200F\u202EDetails about this title are included.\u202C" + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -134589,6 +134785,12 @@ "value": "\u200F\u202EAdd country...\u202C" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "\u200F\u202EAdd tag...\u202C" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -134637,6 +134839,18 @@ "value": "\u200F\u202ECountries\u202C" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "\u200F\u202ECustom tags\u202C" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "\u200F\u202EYour own labels. A metadata refresh never changes them, and a profile can hide the titles that carry them.\u202C" + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -143455,6 +143669,12 @@ "value": "\u200F\u202EFailed to allow the collection's titles\u202C" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "\u200F\u202EHidden by a tag\u202C" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -144159,6 +144379,84 @@ "value": "\u200F\u202EConfigure private S3 avatar storage to enable uploaded profile avatars.\u202C" } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "\u200F\u202EThis profile can't see or play titles that carry any of these custom tags.\u202C" + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "\u200F\u202ECouldn't load the custom tags.\u202C" + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "\u200F\u202ENo titles have custom tags yet. Tags are added in a title's Edit Metadata, under Tags & Genres.\u202C" + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "\u200F\u202EChoose at least one tag.\u202C" + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "\u200F\u202ESearch tags\u202C" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "\u200F\u202EHide titles with tags\u202C" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "\u200F" + }, + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": "\u202E title\u202C" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "\u200F" + }, + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": "\u202E titles\u202C" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -144199,6 +144497,48 @@ "value": "\u200F\u202EAny quality\u202C" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "\u200F\u202EHides \u202C" + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": "\u202E tag\u202C" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "\u200F\u202EHides \u202C" + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": "\u202E tags\u202C" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/ar.json b/web/src/locales/ar.json index ee9f0f6e070..4279bf49a75 100644 --- a/web/src/locales/ar.json +++ b/web/src/locales/ar.json @@ -83840,6 +83840,18 @@ "value": "تمت إزالة المستودع" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "تعذّر اختبار الاتصال بالمستودع." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "اختر ملفًا شخصيًا لمسؤول قبل اختبار مستودع." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -84456,18 +84468,136 @@ "value": "إضافة مستودع" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "إضافة مستودع مكونات إضافية" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "مصادَق عليه" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "يُرسَل كترويسة Authorization: Bearer إلى مضيف المستودع." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "استخدم رمز وصول من Forgejo أو Gitea بنطاق read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "استخدم رمز وصول شخصيًا دقيق الصلاحيات من GitHub مع صلاحية Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "استخدم رمز وصول للمشروع أو المجموعة أو رمز وصول شخصيًا من GitLab بدور Reporter ونطاق read_api (رموز Deploy Tokens لا تدعم Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "كلمة المرور أو الرمز" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "تغيّر مضيف المستودع. أعد إدخال بيانات الاعتماد للحفظ." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "اتركه فارغًا للإبقاء على بيانات الاعتماد المحفوظة" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "رمز الوصول" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "المصادقة" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "بلا مصادقة (عام)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "رمز الوصول" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "اسم المستخدم" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "المكان الذي يعثر فيه Silo على المكونات الإضافية." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "أضف عنوان URL لفهرس كتالوج Silo أو مستودع مكونات إضافية مباشرًا على GitHub أو GitLab أو Forgejo أو Gitea للحصول على التحديثات التلقائية." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "تعطيل" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "تعديل" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "تعديل " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "تعديل مستودع المكونات الإضافية" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -84480,6 +84610,12 @@ "value": "تفعيل" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "يقرأ Silo الإصدارات التي تحتوي على ملفات تنفيذية للمنصات (مثل plugin-linux-amd64)، وchecksums.txt، وmanifest.json (مرفقًا بالإصدار أو في المستودع عند وسم الإصدار)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -84514,12 +84650,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "فهرس الكتالوج (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "مستودع Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "مستودع Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "مستودع GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "مستودع GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "نوع المصدر" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "إضافة" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "اختبار الاتصال" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "جارٍ الاختبار…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -154275,6 +154459,12 @@ "value": "إزالة من قائمة المشاهدة" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "الإبلاغ عن مشكلة" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -168625,7 +168815,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "أخبر المسؤولين بما هو خاطئ. لا يراه الآخرون على هذا الخادم." + "value": "لا يرى بلاغك إلا أنت والمسؤولون." } ], "web.issues.report.descriptionChannels": [ @@ -168637,7 +168827,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "أخبر المسؤولين بما هو خاطئ. لا يراه الآخرون على هذا الخادم. ويُرسل أيضًا، مع اسمك، إلى متتبّع المشكلات الذي يستخدمه المسؤولون." + "value": "لا يرى بلاغك في Silo إلا أنت والمسؤولون. ويُرسل أيضًا، مع اسمك، إلى متتبّع المشكلات الذي يستخدمه المسؤولون." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -168717,7 +168907,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "تُرفق تفاصيل التشغيل (الإصدار والطابع الزمني) للمسؤولين." + "value": "تُرفق تفاصيل التشغيل (الإصدار والطابع الزمني)." } ], "web.issues.report.send": [ @@ -168770,6 +168960,12 @@ "value": "الإبلاغ عن مشكلة" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "تُرفق تفاصيل هذا العمل." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -170031,6 +170227,12 @@ "value": "إضافة دولة..." } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "إضافة وسم..." + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -170079,6 +170281,18 @@ "value": "الدول" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "الوسوم المخصصة" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "وسومك الخاصة. لا يغيّرها تحديث البيانات الوصفية أبدًا، ويمكن للملف الشخصي إخفاء العناوين التي تحملها." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -180470,6 +180684,12 @@ "value": "تعذّر السماح بعناوين المجموعة" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "مخفي بسبب وسم" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -181286,6 +181506,112 @@ "value": "اضبط تخزين S3 خاصًا للصور الرمزية لتفعيل رفع صور الملفات الشخصية." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "لا يمكن لهذا الملف الشخصي رؤية العناوين التي تحمل أيًّا من هذه الوسوم المخصصة أو تشغيلها." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "تعذّر تحميل الوسوم المخصصة." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "لا توجد عناوين بوسوم مخصصة بعد. يمكن إضافة الوسوم من «تعديل البيانات الوصفية» في صفحة العنوان، ضمن «الوسوم والأنواع»." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "اختر وسمًا واحدًا على الأقل." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "البحث في الوسوم" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "إخفاء العناوين ذات الوسوم" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "zero": { + "value": [ + { + "type": 0, + "value": "لا عناوين" + } + ] + }, + "one": { + "value": [ + { + "type": 0, + "value": "عنوان واحد" + } + ] + }, + "two": { + "value": [ + { + "type": 0, + "value": "عنوانان" + } + ] + }, + "few": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " عناوين" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " عنوانًا" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " عنوان" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -181322,6 +181648,88 @@ "value": "أي جودة" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "zero": { + "value": [ + { + "type": 0, + "value": "لا يخفي أي وسوم" + } + ] + }, + "one": { + "value": [ + { + "type": 0, + "value": "يخفي وسمًا واحدًا" + } + ] + }, + "two": { + "value": [ + { + "type": 0, + "value": "يخفي وسمين" + } + ] + }, + "few": { + "value": [ + { + "type": 0, + "value": "يخفي " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " وسوم" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "يخفي " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " وسمًا" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "يخفي " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " وسم" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/bg.json b/web/src/locales/bg.json index 6395fd45a8d..869ba8b71b7 100644 --- a/web/src/locales/bg.json +++ b/web/src/locales/bg.json @@ -59370,6 +59370,18 @@ "value": "Хранилището е премахнато" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Не можа да се провери връзката с хранилището." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Изберете администраторски профил, преди да проверите хранилище." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59870,18 +59882,136 @@ "value": "Добавяне на хранилище" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Добавяне на хранилище за плъгини" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "С удостоверяване" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Изпраща се като заглавка Authorization: Bearer към хоста на хранилището." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Използвайте токен за достъп от Forgejo или Gitea с обхват read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Използвайте детайлизиран личен токен за достъп от GitHub с разрешение Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Използвайте токен за достъп от GitLab за проект, група или личен (Project, Group или Personal Access Token) с роля Reporter и обхват read_api (Deploy Tokens не поддържат Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Парола или токен" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Хостът на хранилището е променен. Въведете отново идентификационните данни, за да запазите." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Оставете празно, за да останат запазените идентификационни данни" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Токен за достъп" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Удостоверяване" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Без удостоверяване (публично)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Токен за достъп" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Потребителско име" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Откъде Silo взема плъгините." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Добавете URL адрес на каталожен индекс на Silo или директно хранилище за плъгини в GitHub, GitLab, Forgejo или Gitea за автоматични актуализации." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Деактивиране" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Редактиране" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Редактиране на хранилището " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Редактиране на хранилище за плъгини" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59894,6 +60024,12 @@ "value": "Активиране" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo чете издания, които съдържат двоични файлове за платформите (например plugin-linux-amd64), checksums.txt и manifest.json (прикачен към изданието или в хранилището при етикета на изданието)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59928,12 +60064,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Каталожен индекс (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Хранилище в Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Хранилище в Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Хранилище в GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Хранилище в GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Тип на източника" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Добавяне" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Проверка на връзката" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Проверява се…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -115657,6 +115841,12 @@ "value": "Премахване от списъка за гледане" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Подаване на сигнал за проблем" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -126949,7 +127139,7 @@ "web.issues.actions.reportProblem": [ { "type": 0, - "value": "Сигнал за проблем" + "value": "Подаване на сигнал за проблем" } ], "web.issues.actions.viewProblemReports": [ @@ -127439,7 +127629,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Съобщете на администраторите какъв е проблемът. Другите хора в този сървър не виждат сигнала." + "value": "Само вие и администраторите можете да видите сигнала ви." } ], "web.issues.report.descriptionChannels": [ @@ -127451,7 +127641,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Съобщете на администраторите какъв е проблемът. Другите хора в този сървър не виждат сигнала. Той се изпраща и с вашето име в системата за проследяване на проблеми, която използват администраторите." + "value": "Само вие и администраторите можете да видите сигнала ви в Silo. Той се изпраща и с вашето име в системата за проследяване на проблеми, която използват администраторите." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -127531,7 +127721,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Данните за възпроизвеждането (версия и времева позиция) се изпращат на администраторите." + "value": "Включени са данните за възпроизвеждането (версия и времева позиция)." } ], "web.issues.report.send": [ @@ -127584,6 +127774,12 @@ "value": "Сигнал за проблем" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Включени са подробности за това заглавие." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -128583,6 +128779,12 @@ "value": "Добавяне на държава…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Добавяне на етикет…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -128631,6 +128833,18 @@ "value": "Държави" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Персонализирани етикети" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Ваши собствени етикети. Опресняването на метаданните никога не ги променя, а даден профил може да скрива заглавията с тях." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -137049,6 +137263,12 @@ "value": "Неуспешно разрешаване на заглавията от колекцията" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Скрито чрез етикет" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -137701,6 +137921,76 @@ "value": "Конфигурирайте частно хранилище S3 за аватари, за да разрешите качването на аватари на профилите." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Този профил не може да вижда или възпроизвежда заглавия с някой от тези персонализирани етикети." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Не можаха да се заредят персонализираните етикети." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Все още няма заглавия с персонализирани етикети. Етикетите се добавят в екрана „Редактиране на метаданни“ на съответното заглавие, в раздела „Етикети и жанрове“." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Изберете поне един етикет." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Търсене на етикети" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Скриване на заглавия с етикети" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " заглавие" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " заглавия" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -137737,6 +138027,48 @@ "value": "Всяко качество" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Скрива " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " етикет" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Скрива " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " етикета" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/ca.json b/web/src/locales/ca.json index 8ca54b316ca..c87991e23b1 100644 --- a/web/src/locales/ca.json +++ b/web/src/locales/ca.json @@ -65848,6 +65848,18 @@ "value": "S’ha eliminat el repositori" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "No s’ha pogut provar la connexió amb el repositori." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Selecciona un perfil d’administrador abans de provar un repositori." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -66380,18 +66392,136 @@ "value": "Afegeix un repositori" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Afegeix un repositori de connectors" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autenticat" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "S’envia a l’amfitrió del repositori com a capçalera Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Utilitza un testimoni d’accés de Forgejo o Gitea amb l’abast read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Utilitza un testimoni d’accés personal detallat (fine-grained) de GitHub amb l’accés Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Utilitza un testimoni d’accés de projecte, de grup o personal de GitLab amb el rol Reporter i l’abast read_api (els testimonis de desplegament no admeten l’API Releases)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Contrasenya o testimoni" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "L’amfitrió del repositori ha canviat. Torna a introduir la credencial per desar." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Deixa-ho en blanc per conservar la credencial desada" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Testimoni d’accés" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autenticació" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Cap (públic)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Testimoni d’accés" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Nom d’usuari" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "On troba Silo els connectors." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Afegeix un URL d’índex de catàleg de Silo o un repositori de connectors directe de GitHub, GitLab, Forgejo o Gitea per rebre actualitzacions automàtiques." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Desactiva" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Edita" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Edita el repositori " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Edita el repositori de connectors" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -66404,6 +66534,12 @@ "value": "Activa" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo llegeix les versions publicades que contenen binaris per plataforma (per exemple, plugin-linux-amd64), checksums.txt i manifest.json (adjunt a la versió o al repositori a l’etiqueta de la versió)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -66438,12 +66574,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Índex de catàleg (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repositori de Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repositori de Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repositori de GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repositori de GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Tipus d’origen" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Afegeix" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Prova la connexió" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "S’està provant…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -125904,6 +126088,12 @@ "value": "Treu de la llista per veure" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Notifica una incidència" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -138386,7 +138576,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Explica als administradors quin és el problema. Les altres persones d’aquest servidor no ho veuen." + "value": "Aquesta incidència només és visible per a tu i per als administradors." } ], "web.issues.report.descriptionChannels": [ @@ -138398,7 +138588,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Explica als administradors quin és el problema. Les altres persones d’aquest servidor no ho veuen. També s’envia, amb el teu nom, al gestor d’incidències que utilitzen els administradors." + "value": "A Silo, aquesta incidència només és visible per a tu i per als administradors. També s’envia, amb el teu nom, al gestor d’incidències que utilitzen els administradors." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -138478,7 +138668,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "S’inclouen els detalls de la reproducció (versió i marca de temps) per als administradors." + "value": "S’hi inclouen els detalls de la reproducció (versió i marca de temps)." } ], "web.issues.report.send": [ @@ -138531,6 +138721,12 @@ "value": "Notifica una incidència" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "S’hi inclouen els detalls d’aquest títol." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -139625,6 +139821,12 @@ "value": "Afegeix un país…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Afegeix una etiqueta…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -139673,6 +139875,18 @@ "value": "Països" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Etiquetes personalitzades" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Etiquetes pròpies. Una actualització de les metadades no les canvia mai, i un perfil pot amagar els títols que les porten." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -148681,6 +148895,12 @@ "value": "No s’han pogut permetre els títols de la col·lecció" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Amagat per una etiqueta" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -149381,6 +149601,88 @@ "value": "Configura un emmagatzematge privat d’avatars a S3 per poder penjar avatars de perfil." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Aquest perfil no pot veure ni reproduir els títols que portin alguna d’aquestes etiquetes personalitzades." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "No s’han pogut carregar les etiquetes personalitzades." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Encara no hi ha cap títol amb etiquetes personalitzades. Les etiquetes s’afegeixen a Edita les metadades d’un títol, a Etiquetes i gèneres." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Tria almenys una etiqueta." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Cerca etiquetes" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Amaga els títols amb etiquetes" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " títol" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " de títols" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " títols" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -149417,6 +149719,64 @@ "value": "Qualsevol qualitat" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Amaga " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " etiqueta" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Amaga " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " d’etiquetes" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Amaga " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " etiquetes" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/cs.json b/web/src/locales/cs.json index a7217cebd8c..d4b75822154 100644 --- a/web/src/locales/cs.json +++ b/web/src/locales/cs.json @@ -72566,6 +72566,18 @@ "value": "Repozitář byl odebrán" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Připojení k repozitáři se nepodařilo otestovat." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Před testováním repozitáře vyberte profil správce." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -73130,18 +73142,136 @@ "value": "Přidat repozitář" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Přidat repozitář pluginů" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Ověřeno" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Odesílá se hostiteli repozitáře jako hlavička Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Použijte přístupový token Forgejo nebo Gitea s rozsahem read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Použijte detailní osobní přístupový token GitHub (fine-grained) s oprávněním Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Použijte projektový, skupinový nebo osobní přístupový token GitLab s rolí Reporter a rozsahem read_api (tokeny pro nasazení nepodporují Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Heslo nebo token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Hostitel repozitáře se změnil. Pro uložení znovu zadejte přihlašovací údaj." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Ponechte prázdné, chcete-li zachovat uložený přihlašovací údaj" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Přístupový token" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Ověření" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Žádné (veřejný)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Přístupový token" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Uživatelské jméno" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Kde Silo hledá pluginy." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Pro automatické aktualizace přidejte URL indexu katalogu Silo nebo přímo repozitář pluginu na GitHubu, GitLabu, Forgejo nebo Gitea." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Vypnout" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Upravit" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Upravit repozitář " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Upravit repozitář pluginů" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -73154,6 +73284,12 @@ "value": "Zapnout" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo čte vydání obsahující binární soubory pro platformy (například plugin-linux-amd64), checksums.txt a manifest.json (připojený k vydání nebo uložený v repozitáři u značky vydání)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -73188,12 +73324,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Index katalogu (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repozitář Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repozitář Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repozitář GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repozitář GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Typ zdroje" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Přidat" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Otestovat připojení" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Testování…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -136485,6 +136669,12 @@ "value": "Odebrat ze seznamu ke zhlédnutí" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Nahlásit problém" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -149731,7 +149921,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Dejte správcům vědět, co je špatně. Ostatní uživatelé na tomto serveru hlášení nevidí." + "value": "Vaše hlášení vidíte jen vy a správci." } ], "web.issues.report.descriptionChannels": [ @@ -149743,7 +149933,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Dejte správcům vědět, co je špatně. Ostatní uživatelé na tomto serveru hlášení nevidí. Hlášení se spolu s vaším jménem odešle také do systému pro sledování problémů, který správci používají." + "value": "Vaše hlášení v aplikaci Silo vidíte jen vy a správci. Spolu s vaším jménem se odešle také do systému pro sledování problémů, který správci používají." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -149823,7 +150013,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Pro správce se přikládají podrobnosti o přehrávání (verze a časová značka)." + "value": "Přikládají se podrobnosti o přehrávání (verze a časová značka)." } ], "web.issues.report.send": [ @@ -149876,6 +150066,12 @@ "value": "Nahlásit problém" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Přikládají se podrobnosti o tomto titulu." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -151057,6 +151253,12 @@ "value": "Přidat zemi…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Přidat štítek…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -151105,6 +151307,18 @@ "value": "Země" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Vlastní štítky" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Vaše vlastní štítky. Obnovení metadat je nikdy nezmění a profil může tituly s těmito štítky skrýt." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -160675,6 +160889,12 @@ "value": "Nepodařilo se povolit tituly kolekce" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Skryto štítkem" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -161419,6 +161639,100 @@ "value": "Pro nahrávání avatarů profilů nastavte soukromé úložiště avatarů S3." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Tento profil nemůže zobrazit ani přehrát tituly, které mají některý z těchto vlastních štítků." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Vlastní štítky se nepodařilo načíst." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Zatím žádný titul nemá vlastní štítky. Štítky se přidávají u titulu v dialogu Upravit metadata, v části Štítky a žánry." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Vyberte alespoň jeden štítek." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Hledat štítky" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Skrýt tituly se štítky" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titul" + } + ] + }, + "few": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " tituly" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titulu" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titulů" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -161455,6 +161769,80 @@ "value": "Libovolná kvalita" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Skrývá " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " štítek" + } + ] + }, + "few": { + "value": [ + { + "type": 0, + "value": "Skrývá " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " štítky" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Skrývá " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " štítku" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Skrývá " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " štítků" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/da.json b/web/src/locales/da.json index d5de10101d5..a3d2cc6c28f 100644 --- a/web/src/locales/da.json +++ b/web/src/locales/da.json @@ -59222,6 +59222,18 @@ "value": "Repository fjernet" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Kunne ikke teste forbindelsen til repositoriet." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Vælg en administratorprofil, før du tester et repository." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59722,18 +59734,136 @@ "value": "Tilføj repository" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Tilføj plugin-repository" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Godkendt" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Sendes som en Authorization: Bearer-header til repositoriets vært." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Brug et Forgejo- eller Gitea-adgangstoken med omfanget read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Brug et detaljeret personligt GitHub-adgangstoken (fine-grained) med adgangen Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Brug et GitLab-adgangstoken for projekt, gruppe eller person med rollen Reporter og omfanget read_api (Deploy Tokens understøtter ikke Releases API’et)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Adgangskode eller token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Repositoriets vært er ændret. Indtast loginoplysningerne igen for at gemme." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Lad feltet stå tomt for at beholde de gemte loginoplysninger" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Adgangstoken" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Godkendelse" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Ingen (offentligt)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Adgangstoken" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Brugernavn" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Hvor Silo finder plugins." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Tilføj en URL til et Silo-katalogindeks eller et direkte plugin-repository på GitHub, GitLab, Forgejo eller Gitea for at få automatiske opdateringer." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Deaktiver" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Rediger" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Rediger " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Rediger plugin-repository" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59746,6 +59876,12 @@ "value": "Aktiver" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo læser udgivelser, der indeholder platformsbinærfiler (for eksempel plugin-linux-amd64), checksums.txt og manifest.json (vedhæftet udgivelsen eller i repositoriet ved udgivelsens tag)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59780,12 +59916,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Katalogindeks (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo-repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea-repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub-repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab-repository" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Kildetype" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Tilføj" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Test forbindelse" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Tester…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -115141,6 +115325,12 @@ "value": "Fjern fra huskeliste" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Rapportér et problem" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -126847,7 +127037,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Fortæl administratorerne, hvad der er galt. Andre på denne server kan ikke se det." + "value": "Kun du og administratorerne kan se din rapport." } ], "web.issues.report.descriptionChannels": [ @@ -126859,7 +127049,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Fortæl administratorerne, hvad der er galt. Andre på denne server kan ikke se det. Det sendes også sammen med dit navn til det system til problemsporing, som administratorerne bruger." + "value": "Kun du og administratorerne kan se din rapport i Silo. Den sendes også sammen med dit navn til det system til problemsporing, som administratorerne bruger." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -126939,7 +127129,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Afspilningsdetaljer (version og tidspunkt) medsendes til administratorerne." + "value": "Afspilningsdetaljer (version og tidsstempel) medsendes." } ], "web.issues.report.send": [ @@ -126992,6 +127182,12 @@ "value": "Rapportér et problem" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Detaljer om denne titel medsendes." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -127999,6 +128195,12 @@ "value": "Tilføj land…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Tilføj tag…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -128047,6 +128249,18 @@ "value": "Lande" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Egne tags" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Dine egne etiketter. En opdatering af metadata ændrer dem aldrig, og en profil kan skjule de titler, der har dem." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -136421,6 +136635,12 @@ "value": "Kunne ikke tillade samlingens titler" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Skjult af et tag" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -137077,6 +137297,76 @@ "value": "Konfigurer privat S3-lager til avatarer for at kunne uploade profilavatarer." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Denne profil kan ikke se eller afspille titler, der har et af disse egne tags." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Kunne ikke indlæse dine egne tags." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Ingen titler har egne tags endnu. Tags tilføjes i en titels Rediger metadata under Tags og genrer." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Vælg mindst ét tag." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Søg i tags" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Skjul titler med tags" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titel" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titler" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -137113,6 +137403,48 @@ "value": "Enhver kvalitet" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Skjuler " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tag" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Skjuler " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tags" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/de.json b/web/src/locales/de.json index c16ad60d6b1..3092f82961f 100644 --- a/web/src/locales/de.json +++ b/web/src/locales/de.json @@ -59042,6 +59042,18 @@ "value": "Repository entfernt" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Die Verbindung zum Repository konnte nicht getestet werden." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Wähle ein Administrator-Profil, bevor du ein Repository testest." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59542,18 +59554,136 @@ "value": "Repository hinzufügen" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Plugin-Repository hinzufügen" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Authentifiziert" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Wird als Header „Authorization: Bearer“ an den Repository-Host gesendet." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Verwende ein Forgejo- oder Gitea-Zugriffstoken mit dem Bereich read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Verwende ein detailliertes persönliches GitHub-Zugriffstoken (fine-grained) mit dem Zugriff „Contents: Read-only“." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Verwende ein GitLab-Projekt-, Gruppen- oder persönliches Zugriffstoken mit der Rolle Reporter und dem Bereich read_api (Deploy-Tokens unterstützen die Releases-API nicht)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Passwort oder Token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Der Repository-Host hat sich geändert. Gib die Zugangsdaten zum Speichern erneut ein." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Leer lassen, um die gespeicherten Zugangsdaten zu behalten" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Zugriffstoken" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Authentifizierung" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Keine (öffentlich)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Zugriffstoken" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Benutzername" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Hier findet Silo Plugins." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Füge für automatische Updates eine Silo-Katalogindex-URL oder direkt ein Plugin-Repository auf GitHub, GitLab, Forgejo oder Gitea hinzu." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Deaktivieren" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Bearbeiten" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 1, + "value": "name" + }, + { + "type": 0, + "value": " bearbeiten" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Plugin-Repository bearbeiten" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59566,6 +59696,12 @@ "value": "Aktivieren" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo liest Releases mit Binärdateien für die jeweilige Plattform (zum Beispiel plugin-linux-amd64), checksums.txt und manifest.json (am Release angehängt oder im Repository beim Release-Tag)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59600,12 +59736,60 @@ "value": " entfernen" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Katalogindex (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo-Repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea-Repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub-Repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab-Repository" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Quelltyp" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Hinzufügen" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Verbindung testen" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Wird getestet…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -114723,6 +114907,12 @@ "value": "Von der Merkliste entfernen" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Problem melden" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -126419,7 +126609,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Teile den Admins mit, was nicht stimmt. Andere Personen auf diesem Server sehen es nicht." + "value": "Nur du und die Admins können deine Meldung sehen." } ], "web.issues.report.descriptionChannels": [ @@ -126431,7 +126621,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Teile den Admins mit, was nicht stimmt. Andere Personen auf diesem Server sehen es nicht. Es wird außerdem mit deinem Namen an den Issue-Tracker gesendet, den die Admins nutzen." + "value": "Nur du und die Admins können deine Meldung in Silo sehen. Sie wird außerdem mit deinem Namen an den Issue-Tracker gesendet, den die Admins nutzen." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -126511,7 +126701,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Wiedergabedetails (Version und Zeitpunkt) werden für die Admins mitgesendet." + "value": "Wiedergabedetails (Version und Zeitpunkt) werden mitgesendet." } ], "web.issues.report.send": [ @@ -126564,6 +126754,12 @@ "value": "Problem melden" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Details zu diesem Titel werden mitgesendet." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -127571,6 +127767,12 @@ "value": "Land hinzufügen …" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Tag hinzufügen …" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -127619,6 +127821,18 @@ "value": "Länder" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Eigene Tags" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Deine eigenen Labels. Eine Aktualisierung der Metadaten ändert sie nie, und ein Profil kann die Titel ausblenden, die sie tragen." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -136013,6 +136227,12 @@ "value": "Die Titel der Sammlung konnten nicht freigegeben werden" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Durch ein Tag ausgeblendet" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -136673,6 +136893,76 @@ "value": "Richte privaten S3-Speicher für Avatare ein, um eigene Profilbilder hochladen zu können." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Dieses Profil kann keine Titel sehen oder abspielen, die eines dieser eigenen Tags tragen." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Die eigenen Tags konnten nicht geladen werden." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Noch hat kein Titel eigene Tags. Tags werden unter „Metadaten bearbeiten“ eines Titels im Bereich „Tags und Genres“ hinzugefügt." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Wähle mindestens ein Tag." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Tags durchsuchen" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Titel mit Tags ausblenden" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " Titel" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " Titel" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -136709,6 +136999,48 @@ "value": "Jede Qualität" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Blendet " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " Tag aus" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Blendet " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " Tags aus" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/el.json b/web/src/locales/el.json index b7bd939d281..6eb0bac1278 100644 --- a/web/src/locales/el.json +++ b/web/src/locales/el.json @@ -59506,6 +59506,18 @@ "value": "Το αποθετήριο αφαιρέθηκε" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Δεν ήταν δυνατός ο έλεγχος της σύνδεσης με το αποθετήριο." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Επιλέξτε ένα προφίλ διαχειριστή πριν από τον έλεγχο ενός αποθετηρίου." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -60006,18 +60018,136 @@ "value": "Προσθήκη αποθετηρίου" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Προσθήκη αποθετηρίου πρόσθετων" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Με έλεγχο ταυτότητας" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Αποστέλλεται ως κεφαλίδα Authorization: Bearer στον κεντρικό υπολογιστή του αποθετηρίου." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Χρησιμοποιήστε ένα token πρόσβασης Forgejo ή Gitea με εύρος read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Χρησιμοποιήστε ένα προσωπικό token πρόσβασης GitHub (fine-grained) με πρόσβαση Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Χρησιμοποιήστε ένα token πρόσβασης GitLab έργου, ομάδας ή προσωπικό, με ρόλο Reporter και εύρος read_api (τα Deploy Tokens δεν υποστηρίζουν το Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Κωδικός πρόσβασης ή token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Ο κεντρικός υπολογιστής του αποθετηρίου άλλαξε. Εισαγάγετε ξανά τα διαπιστευτήρια για αποθήκευση." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Αφήστε κενό για διατήρηση των αποθηκευμένων διαπιστευτηρίων" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Token πρόσβασης" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Έλεγχος ταυτότητας" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Κανένας (δημόσιο)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Token πρόσβασης" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Όνομα χρήστη" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Πού βρίσκει πρόσθετα το Silo." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Προσθέστε ένα URL ευρετηρίου καταλόγου Silo ή ένα απευθείας αποθετήριο πρόσθετων GitHub, GitLab, Forgejo ή Gitea για αυτόματες ενημερώσεις." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Απενεργοποίηση" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Επεξεργασία" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Επεξεργασία του αποθετηρίου " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Επεξεργασία αποθετηρίου πρόσθετων" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -60030,6 +60160,12 @@ "value": "Ενεργοποίηση" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Το Silo διαβάζει εκδόσεις (releases) που περιέχουν εκτελέσιμα αρχεία ανά πλατφόρμα (για παράδειγμα, plugin-linux-amd64), το checksums.txt και το manifest.json (συνημμένο στην έκδοση ή στο αποθετήριο στο tag της έκδοσης)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -60064,12 +60200,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Ευρετήριο καταλόγου (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Αποθετήριο Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Αποθετήριο Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Αποθετήριο GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Αποθετήριο GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Τύπος πηγής" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Προσθήκη" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Έλεγχος σύνδεσης" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Έλεγχος…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -115765,6 +115949,12 @@ "value": "Αφαίρεση από τη λίστα παρακολούθησης" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Αναφορά προβλήματος" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -127581,7 +127771,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Ενημερώστε τους διαχειριστές για το πρόβλημα. Οι υπόλοιποι χρήστες αυτού του διακομιστή δεν το βλέπουν." + "value": "Μόνο εσείς και οι διαχειριστές μπορείτε να δείτε την αναφορά σας." } ], "web.issues.report.descriptionChannels": [ @@ -127593,7 +127783,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Ενημερώστε τους διαχειριστές για το πρόβλημα. Οι υπόλοιποι χρήστες αυτού του διακομιστή δεν το βλέπουν. Αποστέλλεται επίσης, μαζί με το όνομά σας, στο σύστημα παρακολούθησης προβλημάτων που χρησιμοποιούν οι διαχειριστές." + "value": "Μόνο εσείς και οι διαχειριστές μπορείτε να δείτε την αναφορά σας στο Silo. Αποστέλλεται επίσης, μαζί με το όνομά σας, στο σύστημα παρακολούθησης προβλημάτων που χρησιμοποιούν οι διαχειριστές." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -127673,7 +127863,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Οι λεπτομέρειες αναπαραγωγής (έκδοση και χρονική σήμανση) συμπεριλαμβάνονται για τους διαχειριστές." + "value": "Συμπεριλαμβάνονται οι λεπτομέρειες αναπαραγωγής (έκδοση και χρονική σήμανση)." } ], "web.issues.report.send": [ @@ -127726,6 +127916,12 @@ "value": "Αναφορά προβλήματος" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Συμπεριλαμβάνονται λεπτομέρειες για αυτόν τον τίτλο." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -128733,6 +128929,12 @@ "value": "Προσθήκη χώρας…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Προσθήκη ετικέτας…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -128781,6 +128983,18 @@ "value": "Χώρες" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Προσαρμοσμένες ετικέτες" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Δικές σας ετικέτες. Η ανανέωση των μεταδεδομένων δεν τις αλλάζει ποτέ, και ένα προφίλ μπορεί να αποκρύψει τους τίτλους που τις φέρουν." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -137223,6 +137437,12 @@ "value": "Αποτυχία άδειας για τους τίτλους της συλλογής" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Απόκρυψη λόγω ετικέτας" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -137883,6 +138103,76 @@ "value": "Ρυθμίστε ιδιωτικό χώρο αποθήκευσης S3 για εικόνες προφίλ, ώστε να ενεργοποιηθεί η μεταφόρτωση εικόνων προφίλ." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Αυτό το προφίλ δεν μπορεί να βλέπει ούτε να αναπαράγει τίτλους που φέρουν οποιαδήποτε από αυτές τις προσαρμοσμένες ετικέτες." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Δεν ήταν δυνατή η φόρτωση των προσαρμοσμένων ετικετών." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Κανένας τίτλος δεν έχει ακόμα προσαρμοσμένες ετικέτες. Οι ετικέτες προστίθενται στο παράθυρο «Επεξεργασία μεταδεδομένων» ενός τίτλου, στην ενότητα «Ετικέτες και είδη»." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Επιλέξτε τουλάχιστον μία ετικέτα." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Αναζήτηση ετικετών" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Απόκρυψη τίτλων με ετικέτες" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " τίτλος" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " τίτλοι" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -137919,6 +138209,48 @@ "value": "Οποιαδήποτε ποιότητα" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Απόκρυψη " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " ετικέτας" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Απόκρυψη " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " ετικετών" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/en-XA.json b/web/src/locales/en-XA.json index 5e83ff33848..102688ef222 100644 --- a/web/src/locales/en-XA.json +++ b/web/src/locales/en-XA.json @@ -64826,6 +64826,18 @@ "value": "⟦Ŕéþöšîţöŕý ŕéɱöṽéđ~~~~~~~~⟧" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "⟦Çöûļđ ñöţ ţéšţ ŕéþöšîţöŕý çöññéçţîöñ.~~~~~~~~~~~~~~~⟧" + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "⟦Šéļéçţ åñ åđɱîñîšţŕåţöŕ þŕöƒîļé ƀéƒöŕé ţéšţîñĝ å ŕéþöšîţöŕý.~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -65342,18 +65354,140 @@ "value": "⟦Åđđ ŕéþöšîţöŕý~~~~~~⟧" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "⟦Åđđ þļûĝîñ ŕéþöšîţöŕý~~~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "⟦Åûţĥéñţîçåţéđ~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "⟦Šéñţ åš åñ Åûţĥöŕîžåţîöñ: Ɓéåŕéŕ ĥéåđéŕ ţö ţĥé ŕéþöšîţöŕý ĥöšţ.~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "⟦Ûšé å Ƒöŕĝéĵö öŕ Ĝîţéå åççéšš ţöķéñ ŵîţĥ ŕéåđ:ŕéþöšîţöŕý šçöþé.~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "⟦Ûšé å ĜîţĤûƀ ƒîñé-ĝŕåîñéđ þéŕšöñåļ åççéšš ţöķéñ ŵîţĥ Çöñţéñţš: Ŕéåđ-öñļý åççéšš.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "⟦Ûšé å ĜîţĻåƀ Þŕöĵéçţ, Ĝŕöûþ, öŕ Þéŕšöñåļ Åççéšš Ţöķéñ ŵîţĥ Ŕéþöŕţéŕ ŕöļé åñđ ŕéåđ_åþî šçöþé (Đéþļöý Ţöķéñš đö ñöţ šûþþöŕţ ţĥé Ŕéļéåšéš ÅÞÎ).~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "⟦Þåššŵöŕđ öŕ ţöķéñ~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "⟦Ţĥé ŕéþöšîţöŕý ĥöšţ çĥåñĝéđ. Ŕé-éñţéŕ ţĥé çŕéđéñţîåļ ţö šåṽé.~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "⟦Ļéåṽé ƀļåñķ ţö ķééþ šåṽéđ çŕéđéñţîåļ~~~~~~~~~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "⟦Åççéšš ţöķéñ~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "⟦ĤŢŢÞ Ɓåšîç~~~~⟧" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "⟦Åûţĥéñţîçåţîöñ~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "⟦Ñöñé (þûƀļîç)~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "⟦Åççéšš ţöķéñ~~~~~⟧" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "⟦Ûšéŕñåɱé~~~~⟧" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "⟦Ŵĥéŕé Šîļö ƒîñđš þļûĝîñš.~~~~~~~~~~⟧" } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "⟦Åđđ å Šîļö çåţåļöĝ îñđéẋ ÛŔĻ öŕ å đîŕéçţ ĜîţĤûƀ, ĜîţĻåƀ, Ƒöŕĝéĵö, öŕ Ĝîţéå þļûĝîñ ŕéþöšîţöŕý ƒöŕ åûţöɱåţîç ûþđåţéš.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "⟦Đîšåƀļé~~~⟧" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "⟦Éđîţ~~⟧" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "⟦Éđîţ " + }, + { + "type": 1, + "value": "name" + }, + { + "type": 0, + "value": "~~⟧" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "⟦Éđîţ þļûĝîñ ŕéþöšîţöŕý~~~~~~~~~⟧" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -65366,6 +65500,12 @@ "value": "⟦Éñåƀļé~~~⟧" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "⟦Šîļö ŕéåđš ŕéļéåšéš çöñţåîñîñĝ þļåţƒöŕɱ ƀîñåŕîéš (ƒöŕ éẋåɱþļé, þļûĝîñ-ļîñûẋ-åɱđ64), çĥéçķšûɱš.ţẋţ, åñđ ɱåñîƒéšţ.ĵšöñ (åţţåçĥéđ ţö ţĥé ŕéļéåšé öŕ îñ ţĥé ŕéþöšîţöŕý åţ ţĥé ŕéļéåšé ţåĝ).~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -65404,12 +65544,60 @@ "value": "~~~⟧" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "⟦Çåţåļöĝ îñđéẋ (ĴŠÖÑ)~~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "⟦Ƒöŕĝéĵö ŕéþöšîţöŕý~~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "⟦Ĝîţéå ŕéþöšîţöŕý~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "⟦ĜîţĤûƀ ŕéþöšîţöŕý~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "⟦ĜîţĻåƀ ŕéþöšîţöŕý~~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "⟦Šöûŕçé ţýþé~~~~~⟧" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "⟦Åđđ~~⟧" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "⟦Ţéšţ çöññéçţîöñ~~~~~~⟧" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "⟦Ţéšţîñĝ…~~~~⟧" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -125131,6 +125319,12 @@ "value": "⟦Ŕéɱöṽé ƒŕöɱ Ŵåţçĥļîšţ~~~~~~~~~⟧" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "⟦Ŕéþöŕţ åñ Κšûé~~~~~~⟧" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -137481,7 +137675,7 @@ "web.issues.actions.viewProblemReports": [ { "type": 0, - "value": "⟦Ṽîéŵ îššûéš~~~~~⟧" + "value": "⟦Ṽîéŵ Κšûéš~~~~~⟧" } ], "web.issues.activity.author.admin": [ @@ -138021,7 +138215,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "⟦Ļéţ ţĥé åđɱîñš ķñöŵ ŵĥåţ'š ŵŕöñĝ. Öţĥéŕ þéöþļé öñ ţĥîš šéŕṽéŕ đöñ'ţ šéé îţ.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + "value": "⟦Öñļý ýöû åñđ ţĥé åđɱîñš çåñ šéé ýöûŕ ŕéþöŕţ.~~~~~~~~~~~~~~~~~~⟧" } ], "web.issues.report.descriptionChannels": [ @@ -138033,7 +138227,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "⟦Ļéţ ţĥé åđɱîñš ķñöŵ ŵĥåţ'š ŵŕöñĝ. Öţĥéŕ þéöþļé öñ ţĥîš šéŕṽéŕ đöñ'ţ šéé îţ. Îţ'š åļšö šéñţ, ŵîţĥ ýöûŕ ñåɱé, ţö ţĥé îššûé ţŕåçķéŕ ţĥé åđɱîñš ûšé.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + "value": "⟦Öñļý ýöû åñđ ţĥé åđɱîñš çåñ šéé ýöûŕ ŕéþöŕţ îñ Šîļö. Îţ'š åļšö šéñţ, ŵîţĥ ýöûŕ ñåɱé, ţö ţĥé îššûé ţŕåçķéŕ ţĥé åđɱîñš ûšé.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -138113,7 +138307,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "⟦Þļåýƀåçķ đéţåîļš (ṽéŕšîöñ åñđ ţîɱéšţåɱþ) åŕé îñçļûđéđ ƒöŕ ţĥé åđɱîñš.~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + "value": "⟦Þļåýƀåçķ đéţåîļš (ṽéŕšîöñ åñđ ţîɱéšţåɱþ) åŕé îñçļûđéđ.~~~~~~~~~~~~~~~~~~~~~~⟧" } ], "web.issues.report.send": [ @@ -138174,6 +138368,12 @@ "value": "⟦Ŕéþöŕţ åñ îššûé~~~~~~⟧" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "⟦Đéţåîļš åƀöûţ ţĥîš ţîţļé åŕé îñçļûđéđ.~~~~~~~~~~~~~~~~⟧" + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -139329,6 +139529,12 @@ "value": "⟦Åđđ çöûñţŕý...~~~~~~⟧" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "⟦Åđđ ţåĝ...~~~~⟧" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -139377,6 +139583,18 @@ "value": "⟦Çöûñţŕîéš~~~~⟧" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "⟦Çûšţöɱ ţåĝš~~~~~⟧" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "⟦Ýöûŕ öŵñ ļåƀéļš. Å ɱéţåđåţå ŕéƒŕéšĥ ñéṽéŕ çĥåñĝéš ţĥéɱ, åñđ å þŕöƒîļé çåñ ĥîđé ţĥé ţîţļéš ţĥåţ çåŕŕý ţĥéɱ.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -148559,6 +148777,12 @@ "value": "⟦Ƒåîļéđ ţö åļļöŵ ţĥé çöļļéçţîöñ'š ţîţļéš~~~~~~~~~~~~~~~~⟧" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "⟦Ĥîđđéñ ƀý å ţåĝ~~~~~~⟧" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -149271,6 +149495,84 @@ "value": "⟦Çöñƒîĝûŕé þŕîṽåţé Š3 åṽåţåŕ šţöŕåĝé ţö éñåƀļé ûþļöåđéđ þŕöƒîļé åṽåţåŕš.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "⟦Ţĥîš þŕöƒîļé çåñ'ţ šéé öŕ þļåý ţîţļéš ţĥåţ çåŕŕý åñý öƒ ţĥéšé çûšţöɱ ţåĝš.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "⟦Çöûļđñ'ţ ļöåđ ţĥé çûšţöɱ ţåĝš.~~~~~~~~~~~~⟧" + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "⟦Ñö ţîţļéš ĥåṽé çûšţöɱ ţåĝš ýéţ. Ţåĝš åŕé åđđéđ îñ å ţîţļé'š Éđîţ Ṁéţåđåţå, ûñđéŕ Ţåĝš & Ĝéñŕéš.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~⟧" + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "⟦Çĥööšé åţ ļéåšţ öñé ţåĝ.~~~~~~~~~~⟧" + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "⟦Šéåŕçĥ ţåĝš~~~~~⟧" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "⟦Ĥîđé ţîţļéš ŵîţĥ ţåĝš~~~~~~~~~⟧" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "⟦" + }, + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " ţîţļé~~~⟧" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "⟦" + }, + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " ţîţļéš~~~⟧" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -149311,6 +149613,48 @@ "value": "⟦Åñý ǫûåļîţý~~~~~⟧" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "⟦Ĥîđéš " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " ţåĝ~~~~⟧" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "⟦Ĥîđéš " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " ţåĝš~~~~~⟧" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/en.json b/web/src/locales/en.json index 84a7bbd0d20..8a118ba13e0 100644 --- a/web/src/locales/en.json +++ b/web/src/locales/en.json @@ -59318,6 +59318,18 @@ "value": "Repository removed" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Could not test repository connection." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Select an administrator profile before testing a repository." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59818,18 +59830,136 @@ "value": "Add repository" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Add plugin repository" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Authenticated" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Sent as an Authorization: Bearer header to the repository host." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Use a Forgejo or Gitea access token with read:repository scope." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Use a GitHub fine-grained personal access token with Contents: Read-only access." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Use a GitLab Project, Group, or Personal Access Token with Reporter role and read_api scope (Deploy Tokens do not support the Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Password or token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "The repository host changed. Re-enter the credential to save." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Leave blank to keep saved credential" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Access token" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Authentication" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "None (public)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Access token" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Username" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Where Silo finds plugins." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Add a Silo catalog index URL or a direct GitHub, GitLab, Forgejo, or Gitea plugin repository for automatic updates." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Disable" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Edit" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Edit " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Edit plugin repository" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59842,6 +59972,12 @@ "value": "Enable" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo reads releases containing platform binaries (for example, plugin-linux-amd64), checksums.txt, and manifest.json (attached to the release or in the repository at the release tag)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59876,12 +60012,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Catalog index (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab repository" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Source type" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Add" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Test connection" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Testing…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -115279,6 +115463,12 @@ "value": "Remove from Watchlist" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Report an Issue" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -126529,7 +126719,7 @@ "web.issues.actions.viewProblemReports": [ { "type": 0, - "value": "View issues" + "value": "View Issues" } ], "web.issues.activity.author.admin": [ @@ -127013,7 +127203,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Let the admins know what's wrong. Other people on this server don't see it." + "value": "Only you and the admins can see your report." } ], "web.issues.report.descriptionChannels": [ @@ -127025,7 +127215,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Let the admins know what's wrong. Other people on this server don't see it. It's also sent, with your name, to the issue tracker the admins use." + "value": "Only you and the admins can see your report in Silo. It's also sent, with your name, to the issue tracker the admins use." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -127105,7 +127295,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Playback details (version and timestamp) are included for the admins." + "value": "Playback details (version and timestamp) are included." } ], "web.issues.report.send": [ @@ -127158,6 +127348,12 @@ "value": "Report an issue" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Details about this title are included." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -128165,6 +128361,12 @@ "value": "Add country..." } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Add tag..." + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -128213,6 +128415,18 @@ "value": "Countries" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Custom tags" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Your own labels. A metadata refresh never changes them, and a profile can hide the titles that carry them." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -136611,6 +136825,12 @@ "value": "Failed to allow the collection's titles" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Hidden by a tag" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -137267,6 +137487,76 @@ "value": "Configure private S3 avatar storage to enable uploaded profile avatars." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "This profile can't see or play titles that carry any of these custom tags." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Couldn't load the custom tags." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "No titles have custom tags yet. Tags are added in a title's Edit Metadata, under Tags & Genres." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Choose at least one tag." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Search tags" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Hide titles with tags" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " title" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titles" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -137307,6 +137597,48 @@ "value": "Any quality" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Hides " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tag" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Hides " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tags" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/es.json b/web/src/locales/es.json index 2a8172686fc..0d49c92c414 100644 --- a/web/src/locales/es.json +++ b/web/src/locales/es.json @@ -65804,6 +65804,18 @@ "value": "Repositorio eliminado" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "No se pudo probar la conexión con el repositorio." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Selecciona un perfil de administrador antes de probar un repositorio." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -66336,18 +66348,136 @@ "value": "Añadir repositorio" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Añadir repositorio de complementos" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autenticado" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Se envía al host del repositorio como encabezado Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Usa un token de acceso de Forgejo o Gitea con el ámbito read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Usa un token de acceso personal detallado (fine-grained) de GitHub con acceso Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Usa un token de acceso de proyecto, de grupo o personal de GitLab con el rol Reporter y el ámbito read_api (los Deploy Tokens no admiten la API de Releases)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Contraseña o token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "El host del repositorio cambió. Vuelve a introducir la credencial para guardar." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Déjalo en blanco para conservar la credencial guardada" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Token de acceso" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autenticación" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Ninguna (público)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Token de acceso" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Nombre de usuario" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Donde Silo busca complementos." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Añade la URL de un índice de catálogo de Silo o un repositorio de complementos directo de GitHub, GitLab, Forgejo o Gitea para recibir actualizaciones automáticas." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Desactivar" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Editar" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Editar " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Editar repositorio de complementos" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -66360,6 +66490,12 @@ "value": "Activar" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo lee versiones publicadas que contienen binarios por plataforma (por ejemplo, plugin-linux-amd64), checksums.txt y manifest.json (adjunto a la versión o en el repositorio, en la etiqueta de la versión)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -66394,12 +66530,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Índice de catálogo (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repositorio de Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repositorio de Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repositorio de GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repositorio de GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Tipo de origen" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Añadir" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Probar conexión" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Probando…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -125566,6 +125750,12 @@ "value": "Quitar de la lista para ver" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Reportar un problema" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -138020,7 +138210,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Cuéntales a los administradores qué pasa. Las demás personas de este servidor no lo ven." + "value": "Solo tú y los administradores pueden ver tu reporte." } ], "web.issues.report.descriptionChannels": [ @@ -138032,7 +138222,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Cuéntales a los administradores qué pasa. Las demás personas de este servidor no lo ven. También se envía, con tu nombre, al gestor de problemas que usan los administradores." + "value": "Solo tú y los administradores pueden ver tu reporte en Silo. También se envía, con tu nombre, al gestor de problemas que usan los administradores." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -138112,7 +138302,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Se incluyen para los administradores los detalles de reproducción (versión y marca de tiempo)." + "value": "Se incluyen los detalles de reproducción (versión y marca de tiempo)." } ], "web.issues.report.send": [ @@ -138165,6 +138355,12 @@ "value": "Reportar un problema" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Se incluyen detalles sobre este título." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -139247,6 +139443,12 @@ "value": "Añadir país..." } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Añadir etiqueta..." + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -139295,6 +139497,18 @@ "value": "Países" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Etiquetas personalizadas" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Tus propias etiquetas. Una actualización de metadatos nunca las cambia, y un perfil puede ocultar los títulos que las llevan." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -148299,6 +148513,12 @@ "value": "No se pudieron permitir los títulos de la colección" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Oculto por una etiqueta" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -148999,6 +149219,88 @@ "value": "Configura un almacenamiento S3 privado para avatares y así poder subir avatares de perfil." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Este perfil no puede ver ni reproducir títulos que lleven alguna de estas etiquetas personalizadas." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "No se pudieron cargar las etiquetas personalizadas." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Ningún título tiene etiquetas personalizadas todavía. Las etiquetas se añaden en Editar metadatos de cada título, en Etiquetas y géneros." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Elige al menos una etiqueta." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Buscar etiquetas" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Ocultar títulos con etiquetas" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " título" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " de títulos" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " títulos" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -149035,6 +149337,64 @@ "value": "Cualquier calidad" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Oculta " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " etiqueta" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Oculta " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " de etiquetas" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Oculta " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " etiquetas" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/et.json b/web/src/locales/et.json index e1e25205183..1744abb98d0 100644 --- a/web/src/locales/et.json +++ b/web/src/locales/et.json @@ -59770,6 +59770,18 @@ "value": "Hoidla eemaldati" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Hoidla ühendust ei õnnestunud testida." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Enne hoidla testimist valige administraatori profiil." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -60270,18 +60282,136 @@ "value": "Lisa hoidla" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Lisa pistikprogrammide hoidla" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autenditud" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Saadetakse hoidla hostile päisena Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Kasutage Forgejo või Gitea juurdepääsuluba, mille ulatus on read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Kasutage GitHubi peeneteralist isiklikku juurdepääsuluba, millel on õigus Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Kasutage GitLabi projekti, grupi või isiklikku juurdepääsuluba, millel on roll Reporter ja ulatus read_api (Deploy Tokens ei toeta Releases API-t)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Parool või luba" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Hoidla host muutus. Salvestamiseks sisestage mandaat uuesti." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Salvestatud mandaadi säilitamiseks jätke tühjaks" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Juurdepääsuluba" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autentimine" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Puudub (avalik)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Juurdepääsuluba" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Kasutajanimi" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Kust Silo pistikprogramme leiab." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Automaatsete värskenduste jaoks lisage Silo kataloogi indeksi URL või otsene GitHubi, GitLabi, Forgejo või Gitea pistikprogrammide hoidla." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Keela" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Muuda" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Muuda hoidlat " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Muuda pistikprogrammide hoidlat" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -60294,6 +60424,12 @@ "value": "Luba" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo loeb väljalaskeid, mis sisaldavad platvormide binaarfaile (näiteks plugin-linux-amd64), faili checksums.txt ja faili manifest.json (väljalaskele lisatuna või hoidlas väljalaske sildi juures)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -60328,12 +60464,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Kataloogi indeks (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo hoidla" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea hoidla" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHubi hoidla" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLabi hoidla" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Allika tüüp" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Lisa" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Testi ühendust" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Testimine…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -115987,6 +116171,12 @@ "value": "Eemalda vaatamisloendist" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Teata probleemist" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -127857,7 +128047,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Andke administraatoritele teada, mis on valesti. Teised selle serveri kasutajad seda ei näe." + "value": "Teie teadet näevad ainult teie ja administraatorid." } ], "web.issues.report.descriptionChannels": [ @@ -127869,7 +128059,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Andke administraatoritele teada, mis on valesti. Teised selle serveri kasutajad seda ei näe. See saadetakse koos teie nimega ka probleemide jälgimise süsteemi, mida administraatorid kasutavad." + "value": "Teie teadet näevad Silos ainult teie ja administraatorid. See saadetakse koos teie nimega ka probleemide jälgimise süsteemi, mida administraatorid kasutavad." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -127949,7 +128139,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Administraatoritele lisatakse esituse üksikasjad (versioon ja ajatempel)." + "value": "Lisatakse esituse üksikasjad (versioon ja ajatempel)." } ], "web.issues.report.send": [ @@ -128002,6 +128192,12 @@ "value": "Teata probleemist" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Lisatakse selle pealkirja üksikasjad." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -129021,6 +129217,12 @@ "value": "Lisa riik…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Lisa silt…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -129069,6 +129271,18 @@ "value": "Riigid" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Kohandatud sildid" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Teie enda sildid. Metaandmete värskendamine ei muuda neid kunagi ning profiil saab peita pealkirjad, millel need sildid on." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -137507,6 +137721,12 @@ "value": "Kollektsiooni pealkirjade lubamine ebaõnnestus" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Peidetud sildi tõttu" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -138159,6 +138379,76 @@ "value": "Üleslaaditud profiiliavataride lubamiseks seadistage avataride jaoks privaatne S3-salvestusruum." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "See profiil ei näe ega saa esitada pealkirju, millel on mõni neist kohandatud siltidest." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Kohandatud silte ei õnnestunud laadida." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Ühelgi pealkirjal pole veel kohandatud silte. Silte saab lisada pealkirja vaates „Muuda metaandmeid“ jaotises „Sildid ja žanrid“." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Valige vähemalt üks silt." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Otsi silte" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Peida siltidega pealkirjad" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " pealkiri" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " pealkirja" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -138195,6 +138485,40 @@ "value": "Kvaliteet piiramata" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " peidetud silt" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " peidetud silti" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/fi.json b/web/src/locales/fi.json index 93189271b86..ba5fb45deaf 100644 --- a/web/src/locales/fi.json +++ b/web/src/locales/fi.json @@ -59270,6 +59270,18 @@ "value": "Repositorio poistettu" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Repositorion yhteyden testaaminen epäonnistui." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Valitse ylläpitäjän profiili ennen repositorion testaamista." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59770,18 +59782,136 @@ "value": "Lisää repositorio" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Lisää laajennusrepositorio" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Todennettu" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Lähetetään repositorion palvelimelle Authorization: Bearer -otsakkeena." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Käytä Forgejo- tai Gitea-käyttöoikeustunnusta, jonka laajuus on read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Käytä GitHubin hienojakoista henkilökohtaista käyttöoikeustunnusta (fine-grained personal access token), jolla on oikeus Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Käytä GitLabin projekti-, ryhmä- tai henkilökohtaista käyttöoikeustunnusta (Project, Group tai Personal Access Token), jolla on Reporter-rooli ja read_api-laajuus (Deploy Token -tunnukset eivät tue Releases-rajapintaa)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Salasana tai tunnus" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Repositorion palvelin muuttui. Tallenna antamalla tunnistetiedot uudelleen." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Säilytä tallennetut tunnistetiedot jättämällä tyhjäksi" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Käyttöoikeustunnus" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Todennus" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Ei mitään (julkinen)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Käyttöoikeustunnus" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Käyttäjänimi" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Paikat, joista Silo löytää laajennukset." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Lisää Silo-luettelon indeksin URL-osoite tai suora GitHub-, GitLab-, Forgejo- tai Gitea-laajennusrepositorio automaattisia päivityksiä varten." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Poista käytöstä" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Muokkaa" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Muokkaa repositoriota " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Muokkaa laajennusrepositoriota" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59794,6 +59924,12 @@ "value": "Ota käyttöön" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo lukee julkaisuja, jotka sisältävät alustakohtaiset binaarit (esimerkiksi plugin-linux-amd64), tiedoston checksums.txt ja tiedoston manifest.json (julkaisun liitteenä tai repositoriossa julkaisun tagin kohdalla)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59828,12 +59964,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Luettelon indeksi (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo-repositorio" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea-repositorio" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub-repositorio" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab-repositorio" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Lähteen tyyppi" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Lisää" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Testaa yhteys" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Testataan…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -115423,6 +115607,12 @@ "value": "Poista katselulistalta" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Ilmoita ongelmasta" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -127247,7 +127437,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Kerro järjestelmänvalvojille, mikä on vialla. Muut tämän palvelimen käyttäjät eivät näe sitä." + "value": "Ilmoituksesi näkyy vain sinulle ja järjestelmänvalvojille." } ], "web.issues.report.descriptionChannels": [ @@ -127259,7 +127449,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Kerro järjestelmänvalvojille, mikä on vialla. Muut tämän palvelimen käyttäjät eivät näe sitä. Ilmoitus lähetetään nimesi kanssa myös järjestelmänvalvojien käyttämään ongelmienseurantajärjestelmään." + "value": "Ilmoituksesi näkyy Silossa vain sinulle ja järjestelmänvalvojille. Se lähetetään nimesi kanssa myös järjestelmänvalvojien käyttämään ongelmienseurantajärjestelmään." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -127339,7 +127529,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Toiston tiedot (versio ja aikakohta) lähetetään järjestelmänvalvojille." + "value": "Toiston tiedot (versio ja aikakohta) liitetään mukaan." } ], "web.issues.report.send": [ @@ -127392,6 +127582,12 @@ "value": "Ilmoita ongelmasta" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Tämän kohteen tiedot liitetään mukaan." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -128395,6 +128591,12 @@ "value": "Lisää maa…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Lisää tunniste…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -128443,6 +128645,18 @@ "value": "Maat" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Omat tunnisteet" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Omat tunnisteesi. Metatietojen päivitys ei koskaan muuta niitä, ja profiili voi piilottaa nimikkeet, joissa niitä on." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -136829,6 +137043,12 @@ "value": "Kokoelman nimikkeiden salliminen epäonnistui" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Piilotettu tunnisteen vuoksi" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -137489,6 +137709,76 @@ "value": "Ota ladatut profiilikuvat käyttöön määrittämällä avatareille yksityinen S3-tallennustila." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Tämä profiili ei näe eikä voi toistaa nimikkeitä, joissa on jokin näistä omista tunnisteista." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Omien tunnisteiden lataaminen epäonnistui." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Millään nimikkeellä ei ole vielä omia tunnisteita. Tunnisteet lisätään nimikkeen kohdassa Muokkaa metatietoja, osiossa Tunnisteet ja lajityypit." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Valitse vähintään yksi tunniste." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Hae tunnisteita" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Nimikkeiden piilotus tunnisteiden perusteella" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " nimike" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " nimikettä" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -137525,6 +137815,40 @@ "value": "Mikä tahansa laatu" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " piilotettava tunniste" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " piilotettavaa tunnistetta" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/fr.json b/web/src/locales/fr.json index 223bdd339ee..77475686c0a 100644 --- a/web/src/locales/fr.json +++ b/web/src/locales/fr.json @@ -65552,6 +65552,18 @@ "value": "Dépôt supprimé" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Impossible de tester la connexion au dépôt." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Sélectionnez un profil administrateur avant de tester un dépôt." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -66084,18 +66096,136 @@ "value": "Ajouter un dépôt" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Ajout d’un dépôt d’extensions" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Authentifié" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Envoyé à l’hôte du dépôt dans un en-tête Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Utilisez un jeton d’accès Forgejo ou Gitea avec la portée read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Utilisez un jeton d’accès personnel GitHub à granularité fine avec l’accès Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Utilisez un jeton d’accès GitLab de projet, de groupe ou personnel avec le rôle Reporter et la portée read_api (les Deploy Tokens ne prennent pas en charge l’API Releases)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Mot de passe ou jeton" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "L’hôte du dépôt a changé. Saisissez de nouveau l’identifiant pour enregistrer." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Laisser vide pour conserver l’identifiant enregistré" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Jeton d’accès" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Authentification" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Aucune (public)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Jeton d’accès" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Nom d’utilisateur" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Où Silo trouve les extensions." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Ajoutez l’URL d’un index de catalogue Silo ou un dépôt d’extension GitHub, GitLab, Forgejo ou Gitea direct pour les mises à jour automatiques." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Désactiver" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Modifier" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Modifier " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Modifier le dépôt d’extensions" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -66108,6 +66238,12 @@ "value": "Activer" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo lit les versions publiées contenant les binaires par plateforme (par exemple plugin-linux-amd64), checksums.txt et manifest.json (joint à la version ou présent dans le dépôt au tag de la version)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -66142,12 +66278,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Index de catalogue (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Dépôt Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Dépôt Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Dépôt GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Dépôt GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Type de source" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Ajouter" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Tester la connexion" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Test en cours…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -125234,6 +125418,12 @@ "value": "Retirer de la liste à voir" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Signaler un problème" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -137672,7 +137862,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Indiquez aux administrateurs ce qui ne va pas. Les autres personnes sur ce serveur ne le voient pas." + "value": "Votre signalement n’est visible que par vous et les administrateurs." } ], "web.issues.report.descriptionChannels": [ @@ -137684,7 +137874,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Indiquez aux administrateurs ce qui ne va pas. Les autres personnes sur ce serveur ne le voient pas. Il est aussi envoyé, avec votre nom, à l’outil de suivi des problèmes utilisé par les administrateurs." + "value": "Dans Silo, votre signalement n’est visible que par vous et les administrateurs. Il est aussi envoyé, avec votre nom, à l’outil de suivi des problèmes utilisé par les administrateurs." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -137764,7 +137954,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Les détails de lecture (version et horodatage) sont inclus pour les administrateurs." + "value": "Les détails de lecture (version et horodatage) sont inclus." } ], "web.issues.report.send": [ @@ -137817,6 +138007,12 @@ "value": "Signaler un problème" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Les détails sur ce titre sont inclus." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -138887,6 +139083,12 @@ "value": "Ajouter un pays…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Ajouter un tag…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -138935,6 +139137,18 @@ "value": "Pays" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Tags personnalisés" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Vos propres libellés. Une actualisation des métadonnées ne les modifie jamais, et un profil peut masquer les titres qui les portent." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -147859,6 +148073,12 @@ "value": "Impossible d’autoriser les titres de la collection" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Masqué par un tag" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -148559,6 +148779,88 @@ "value": "Configurez un stockage S3 privé pour les avatars afin d’autoriser l’importation d’avatars de profil." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Ce profil ne peut ni voir ni lire les titres qui portent l’un de ces tags personnalisés." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Impossible de charger les tags personnalisés." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Aucun titre n’a encore de tag personnalisé. Les tags s’ajoutent dans « Modifier les métadonnées » d’un titre, sous « Tags et genres »." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Choisissez au moins un tag." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Rechercher des tags" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Masquer des titres par tag" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titre" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " de titres" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titres" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -148599,6 +148901,64 @@ "value": "Toute qualité" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Masque " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tag" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Masque " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " de tags" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Masque " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tags" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/he.json b/web/src/locales/he.json index 5e2bfc45a92..19fb06822ec 100644 --- a/web/src/locales/he.json +++ b/web/src/locales/he.json @@ -65065,6 +65065,18 @@ "value": "המאגר הוסר" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "לא ניתן היה לבדוק את החיבור למאגר." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "יש לבחור פרופיל מנהל לפני בדיקת מאגר." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -65585,18 +65597,136 @@ "value": "הוספת מאגר" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "הוספת מאגר תוספים" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "מאומת" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "נשלח כ-header של Authorization: Bearer לשרת המאגר." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "יש להשתמש ב-access token של Forgejo או Gitea עם ההרשאה read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "יש להשתמש ב-fine-grained personal access token של GitHub עם הגישה Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "יש להשתמש ב-Project, Group או Personal Access Token של GitLab עם התפקיד Reporter וההרשאה read_api (\u200FDeploy Tokens לא תומכים ב-Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "סיסמה או token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "שרת המאגר השתנה. יש להזין שוב את פרטי הגישה כדי לשמור." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "אפשר להשאיר ריק כדי לשמור על פרטי הגישה השמורים" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Access token" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "אימות" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "ללא (ציבורי)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Access token" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "שם משתמש" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "המקומות שבהם Silo מוצא תוספים." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "אפשר להוסיף URL של אינדקס קטלוג של Silo או מאגר תוספים ישיר ב-GitHub, ב-GitLab, ב-Forgejo או ב-Gitea לעדכונים אוטומטיים." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "השבתה" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "עריכה" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "עריכת המאגר " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "עריכת מאגר תוספים" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -65609,6 +65739,12 @@ "value": "הפעלה" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo קורא גרסאות (releases) שמכילות קבצים בינאריים לכל פלטפורמה (לדוגמה, plugin-linux-amd64), את checksums.txt ואת manifest.json (מצורף לגרסה או נמצא במאגר בתג של הגרסה)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -65643,12 +65779,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "אינדקס קטלוג (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "מאגר Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "מאגר Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "מאגר GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "מאגר GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "סוג המקור" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "הוספה" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "בדיקת החיבור" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "מתבצעת בדיקה…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -124561,6 +124745,12 @@ "value": "הסרה מרשימת הצפייה" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "דיווח על בעיה" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -136876,7 +137066,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "אפשר לספר למנהלים מה הבעיה. משתמשים אחרים בשרת הזה לא רואים את הדיווח." + "value": "הדיווח שלך גלוי רק לך ולמנהלים." } ], "web.issues.report.descriptionChannels": [ @@ -136888,7 +137078,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "אפשר לספר למנהלים מה הבעיה. משתמשים אחרים בשרת הזה לא רואים את הדיווח. הדיווח נשלח גם, יחד עם השם שלך, למערכת מעקב הבעיות שבה המנהלים משתמשים." + "value": "הדיווח שלך גלוי ב-Silo רק לך ולמנהלים. הוא נשלח גם, יחד עם השם שלך, למערכת מעקב הבעיות שבה המנהלים משתמשים." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -136968,7 +137158,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "פרטי ההפעלה (גרסה וחותמת זמן) נכללים עבור המנהלים." + "value": "פרטי ההפעלה (גרסה וחותמת זמן) נכללים בדיווח." } ], "web.issues.report.send": [ @@ -137021,6 +137211,12 @@ "value": "דיווח על בעיה" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "הפרטים על הפריט הזה נכללים בדיווח." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -138087,6 +138283,12 @@ "value": "הוספת מדינה…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "הוספת תגית…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -138135,6 +138337,18 @@ "value": "מדינות" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "תגיות מותאמות אישית" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "תוויות משלך. רענון מטא-נתונים אף פעם לא משנה אותן, ופרופיל יכול להסתיר את הכותרים שמסומנים בהן." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -146974,6 +147188,12 @@ "value": "התרת הכותרים של האוסף נכשלה" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "מוסתר בגלל תגית" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -147674,6 +147894,84 @@ "value": "יש להגדיר אחסון אווטרים פרטי ב-S3 כדי לאפשר העלאת אווטרים לפרופילים." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "הפרופיל הזה לא יכול לראות או להפעיל כותרים שמסומנים באחת מהתגיות המותאמות אישית האלה." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "לא ניתן היה לטעון את התגיות המותאמות אישית." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "לאף כותר עדיין אין תגיות מותאמות אישית. אפשר להוסיף תגיות בעריכת המטא-נתונים של כותר, בקטע ”תגיות וז׳אנרים”." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "יש לבחור תגית אחת לפחות." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "חיפוש תגיות" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "הסתרת כותרים עם תגיות" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "כותר אחד" + } + ] + }, + "two": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " כותרים" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " כותרים" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -147710,6 +148008,56 @@ "value": "כל איכות" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "הסתרת תגית אחת" + } + ] + }, + "two": { + "value": [ + { + "type": 0, + "value": "הסתרת " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " תגיות" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "הסתרת " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " תגיות" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/hi.json b/web/src/locales/hi.json index 12c161676cd..1da370765a8 100644 --- a/web/src/locales/hi.json +++ b/web/src/locales/hi.json @@ -58874,6 +58874,18 @@ "value": "रिपॉज़िटरी हटाई गई" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "रिपॉज़िटरी कनेक्शन की जाँच नहीं की जा सकी।" + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "रिपॉज़िटरी की जाँच करने से पहले कोई एडमिनिस्ट्रेटर प्रोफ़ाइल चुनें।" + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59374,18 +59386,136 @@ "value": "रिपॉज़िटरी जोड़ें" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "प्लगइन रिपॉज़िटरी जोड़ें" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "प्रमाणित" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "रिपॉज़िटरी होस्ट को Authorization: Bearer हेडर के रूप में भेजा जाता है।" + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "read:repository स्कोप वाले Forgejo या Gitea ऐक्सेस टोकन का इस्तेमाल करें।" + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Contents: Read-only ऐक्सेस वाले GitHub fine-grained personal access token का इस्तेमाल करें।" + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Reporter रोल और read_api स्कोप वाले GitLab Project, Group या Personal Access Token का इस्तेमाल करें (Deploy Tokens, Releases API को सपोर्ट नहीं करते)।" + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "पासवर्ड या टोकन" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "रिपॉज़िटरी होस्ट बदल गया है। सेव करने के लिए क्रेडेंशियल फिर से डालें।" + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "सेव किया गया क्रेडेंशियल रखने के लिए खाली छोड़ें" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "ऐक्सेस टोकन" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "ऑथेंटिकेशन" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "कोई नहीं (सार्वजनिक)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "ऐक्सेस टोकन" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "उपयोगकर्ता नाम" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Silo यहाँ से प्लगइन ढूँढता है।" } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "अपने-आप अपडेट के लिए Silo कैटलॉग इंडेक्स URL या कोई सीधी GitHub, GitLab, Forgejo या Gitea प्लगइन रिपॉज़िटरी जोड़ें।" + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "बंद करें" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "बदलाव करें" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 1, + "value": "name" + }, + { + "type": 0, + "value": " में बदलाव करें" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "प्लगइन रिपॉज़िटरी में बदलाव करें" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59398,6 +59528,12 @@ "value": "चालू करें" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo ऐसी रिलीज़ पढ़ता है जिनमें प्लैटफ़ॉर्म बाइनरी (जैसे plugin-linux-amd64), checksums.txt और manifest.json (रिलीज़ के साथ अटैच की गई या रिलीज़ टैग पर रिपॉज़िटरी में मौजूद) हों।" + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59432,12 +59568,60 @@ "value": " हटाएँ" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "कैटलॉग इंडेक्स (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo रिपॉज़िटरी" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea रिपॉज़िटरी" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub रिपॉज़िटरी" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab रिपॉज़िटरी" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "सोर्स का प्रकार" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "जोड़ें" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "कनेक्शन की जाँच करें" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "जाँच हो रही है…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -114567,6 +114751,12 @@ "value": "वॉचलिस्ट से हटाएँ" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "समस्या की रिपोर्ट करें" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -126289,7 +126479,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "एडमिन को बताएँ कि क्या गड़बड़ है। इस सर्वर पर दूसरे लोग इसे नहीं देखते।" + "value": "आपकी रिपोर्ट सिर्फ़ आपको और एडमिन को दिखती है।" } ], "web.issues.report.descriptionChannels": [ @@ -126301,7 +126491,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "एडमिन को बताएँ कि क्या गड़बड़ है। इस सर्वर पर दूसरे लोग इसे नहीं देखते। इसे आपके नाम के साथ उस इश्यू ट्रैकर पर भी भेजा जाता है, जिसका इस्तेमाल एडमिन करते हैं।" + "value": "Silo में आपकी रिपोर्ट सिर्फ़ आपको और एडमिन को दिखती है। इसे आपके नाम के साथ उस इश्यू ट्रैकर पर भी भेजा जाता है जिसका इस्तेमाल एडमिन करते हैं।" } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -126381,7 +126571,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "एडमिन के लिए प्लेबैक की जानकारी (वर्शन और टाइमस्टैम्प) शामिल की गई है।" + "value": "प्लेबैक की जानकारी (वर्शन और टाइमस्टैम्प) शामिल की गई है।" } ], "web.issues.report.send": [ @@ -126438,6 +126628,12 @@ "value": "समस्या की रिपोर्ट करें" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "इस टाइटल की जानकारी शामिल की गई है।" + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -127445,6 +127641,12 @@ "value": "देश जोड़ें…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "टैग जोड़ें…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -127493,6 +127695,18 @@ "value": "देश" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "कस्टम टैग" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "आपके अपने लेबल। मेटाडेटा रीफ़्रेश करने से ये कभी नहीं बदलते, और कोई प्रोफ़ाइल इन टैग वाले टाइटल छिपा सकती है।" + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -135811,6 +136025,12 @@ "value": "कलेक्शन के टाइटल की अनुमति नहीं दी जा सकी" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "किसी टैग की वजह से छिपा है" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -136467,6 +136687,76 @@ "value": "अपलोड किए गए प्रोफ़ाइल अवतार चालू करने के लिए निजी S3 अवतार स्टोरेज कॉन्फ़िगर करें।" } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "इस प्रोफ़ाइल में इनमें से किसी भी कस्टम टैग वाले टाइटल न दिखते हैं, न चलाए जा सकते हैं।" + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "कस्टम टैग लोड नहीं किए जा सके।" + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "अभी तक किसी टाइटल में कस्टम टैग नहीं हैं। टैग किसी टाइटल के “मेटाडेटा एडिट करें” में, “टैग और शैलियाँ” के अंदर जोड़े जाते हैं।" + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "कम से कम एक टैग चुनें।" + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "टैग खोजें" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "टैग वाले टाइटल छिपाएँ" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " टाइटल" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " टाइटल" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -136503,6 +136793,40 @@ "value": "कोई भी क्वालिटी" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "छिपाए गए टैग: " + }, + { + "type": 1, + "value": "count_text" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "छिपाए गए टैग: " + }, + { + "type": 1, + "value": "count_text" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/hr.json b/web/src/locales/hr.json index 7f5fd45c12d..c1055788746 100644 --- a/web/src/locales/hr.json +++ b/web/src/locales/hr.json @@ -65848,6 +65848,18 @@ "value": "Repozitorij je uklonjen" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Nije moguće testirati vezu s repozitorijem." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Odaberite administratorski profil prije testiranja repozitorija." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -66380,18 +66392,136 @@ "value": "Dodaj repozitorij" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Dodaj repozitorij dodataka" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autentificirano" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Šalje se hostu repozitorija kao zaglavlje Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Upotrijebite pristupni token za Forgejo ili Giteu s opsegom read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Upotrijebite GitHubov fine-grained personal access token s pristupom Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Upotrijebite GitLabov Project, Group ili Personal Access Token s ulogom Reporter i opsegom read_api (Deploy Tokens ne podržavaju Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Lozinka ili token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Host repozitorija se promijenio. Ponovno unesite vjerodajnicu da biste spremili." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Ostavite prazno da biste zadržali spremljenu vjerodajnicu" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Pristupni token" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autentifikacija" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Bez autentifikacije (javno)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Pristupni token" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Korisničko ime" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Mjesta na kojima Silo pronalazi dodatke." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Dodajte URL indeksa kataloga Silo ili izravni repozitorij dodataka na GitHubu, GitLabu, Forgeju ili Gitei za automatska ažuriranja." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Onemogući" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Uredi" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Uredi " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Uredi repozitorij dodataka" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -66404,6 +66534,12 @@ "value": "Omogući" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo čita izdanja koja sadrže binarne datoteke za platforme (na primjer plugin-linux-amd64), checksums.txt i manifest.json (priložen izdanju ili u repozitoriju na oznaci izdanja)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -66438,12 +66574,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Indeks kataloga (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repozitorij na Forgeju" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repozitorij na Gitei" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repozitorij na GitHubu" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repozitorij na GitLabu" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Vrsta izvora" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Dodaj" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Testiraj vezu" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Testiranje…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -125876,6 +126060,12 @@ "value": "Ukloni s popisa za gledanje" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Prijavi problem" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -138375,7 +138565,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Javite administratorima što nije u redu. Ostali korisnici ovog poslužitelja to ne vide." + "value": "Vašu prijavu možete vidjeti samo vi i administratori." } ], "web.issues.report.descriptionChannels": [ @@ -138387,7 +138577,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Javite administratorima što nije u redu. Ostali korisnici ovog poslužitelja to ne vide. Prijava se, zajedno s vašim imenom, šalje i u sustav za praćenje problema koji administratori koriste." + "value": "Vašu prijavu u Silu možete vidjeti samo vi i administratori. Zajedno s vašim imenom šalje se i u sustav za praćenje problema koji administratori koriste." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -138467,7 +138657,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Podaci o reprodukciji (verzija i vremenska oznaka) šalju se administratorima." + "value": "Prilažu se podaci o reprodukciji (verzija i vremenska oznaka)." } ], "web.issues.report.send": [ @@ -138520,6 +138710,12 @@ "value": "Prijavi problem" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Prilažu se podaci o ovom naslovu." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -139609,6 +139805,12 @@ "value": "Dodaj državu…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Dodaj oznaku…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -139657,6 +139859,18 @@ "value": "Države" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Prilagođene oznake" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Vaše vlastite oznake. Osvježavanje metapodataka nikad ih ne mijenja, a profil može sakriti naslove s tim oznakama." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -148569,6 +148783,12 @@ "value": "Dopuštanje naslova iz kolekcije nije uspjelo" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Skriveno oznakom" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -149265,6 +149485,88 @@ "value": "Konfigurirajte privatnu S3 pohranu avatara kako biste omogućili prenesene avatare profila." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Ovaj profil ne može vidjeti ni reproducirati naslove koji imaju bilo koju od ovih prilagođenih oznaka." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Nije moguće učitati prilagođene oznake." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Nijedan naslov još nema prilagođene oznake. Oznake se dodaju u opciji Uredi metapodatke naslova, u odjeljku Oznake i žanrovi." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Odaberite barem jednu oznaku." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Pretraži oznake" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Sakrij naslove s oznakama" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " naslov" + } + ] + }, + "few": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " naslova" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " naslova" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -149301,6 +149603,64 @@ "value": "Bilo koja kvaliteta" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Skriva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " oznaku" + } + ] + }, + "few": { + "value": [ + { + "type": 0, + "value": "Skriva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " oznake" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Skriva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " oznaka" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/hu.json b/web/src/locales/hu.json index 3b88bbffd90..501de28c7d4 100644 --- a/web/src/locales/hu.json +++ b/web/src/locales/hu.json @@ -59074,6 +59074,18 @@ "value": "Tároló eltávolítva" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Nem sikerült tesztelni a tároló kapcsolatát." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Tároló tesztelése előtt válasszon rendszergazdai profilt." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59574,18 +59586,136 @@ "value": "Tároló hozzáadása" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Bővítménytároló hozzáadása" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Hitelesítve" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Authorization: Bearer fejlécként kerül elküldésre a tároló gazdagépének." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Használjon read:repository hatókörű Forgejo- vagy Gitea-hozzáférési tokent." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Használjon Contents: Read-only hozzáféréssel rendelkező, részletes jogosultságú (fine-grained) személyes GitHub-hozzáférési tokent." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Használjon Reporter szerepkörű és read_api hatókörű GitLab projekt-, csoport- vagy személyes hozzáférési tokent (a telepítési tokenek (Deploy Tokens) nem támogatják a Releases API-t)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Jelszó vagy token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "A tároló gazdagépe megváltozott. A mentéshez adja meg újra a hitelesítő adatot." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "A mentett hitelesítő adat megtartásához hagyja üresen" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Hozzáférési token" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Hitelesítés" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Nincs (nyilvános)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Hozzáférési token" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Felhasználónév" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Itt keresi a Silo a bővítményeket." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Az automatikus frissítésekhez adjon hozzá egy Silo-katalógusindex URL-t, vagy közvetlenül egy GitHub-, GitLab-, Forgejo- vagy Gitea-bővítménytárolót." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Letiltás" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Szerkesztés" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Szerkesztés: " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Bővítménytároló szerkesztése" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59598,6 +59728,12 @@ "value": "Engedélyezés" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "A Silo azokat a kiadásokat olvassa be, amelyek platformonkénti binárisokat (például plugin-linux-amd64), checksums.txt és manifest.json fájlt tartalmaznak (a kiadáshoz csatolva vagy a tárolóban a kiadás címkéjénél)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59632,12 +59768,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Katalógusindex (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo-tároló" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea-tároló" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub-tároló" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab-tároló" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Forrás típusa" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Hozzáadás" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Kapcsolat tesztelése" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Tesztelés…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -114859,6 +115043,12 @@ "value": "Eltávolítás a figyelőlistáról" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Probléma bejelentése" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -126615,7 +126805,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Jelezze a rendszergazdáknak, mi a probléma. Ezen a szerveren mások nem látják." + "value": "A bejelentést csak Ön és a rendszergazdák láthatják." } ], "web.issues.report.descriptionChannels": [ @@ -126627,7 +126817,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Jelezze a rendszergazdáknak, mi a probléma. Ezen a szerveren mások nem látják. A bejelentést az Ön nevével együtt a rendszergazdák által használt hibakövető rendszerbe is elküldjük." + "value": "A bejelentést a Silóban csak Ön és a rendszergazdák láthatják. Az Ön nevével együtt a rendszergazdák által használt hibakövető rendszerbe is elküldjük." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -126707,7 +126897,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "A lejátszás részleteit (verzió és időpont) a rendszergazdák is megkapják." + "value": "A lejátszás részleteit (verzió és időpont) is mellékeljük." } ], "web.issues.report.send": [ @@ -126760,6 +126950,12 @@ "value": "Probléma bejelentése" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Ennek az elemnek az adatait is mellékeljük." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -127763,6 +127959,12 @@ "value": "Ország hozzáadása…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Címke hozzáadása…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -127811,6 +128013,18 @@ "value": "Országok" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Egyéni címkék" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Saját címkék. A metaadatok frissítése soha nem módosítja őket, és egy profil elrejtheti azokat a címeket, amelyek viselik őket." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -136177,6 +136391,12 @@ "value": "Nem sikerült engedélyezni a gyűjtemény címeit" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Címke miatt elrejtve" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -136829,6 +137049,76 @@ "value": "A feltöltött profilavatarok engedélyezéséhez állítson be privát S3-tárhelyet az avatarokhoz." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Ez a profil nem látja és nem játszhatja le azokat a címeket, amelyek ezen egyéni címkék bármelyikét viselik." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Nem sikerült betölteni az egyéni címkéket." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Még egyetlen címnek sincs egyéni címkéje. Címkéket egy cím Metaadatok szerkesztése nézetében, a Címkék és műfajok szakaszban adhat hozzá." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Válasszon legalább egy címkét." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Címkék keresése" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Címek elrejtése címkék alapján" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " cím" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " cím" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -136869,6 +137159,40 @@ "value": "Bármilyen minőség" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " rejtett címke" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " rejtett címke" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/id.json b/web/src/locales/id.json index e90a454b45b..4ea2327861b 100644 --- a/web/src/locales/id.json +++ b/web/src/locales/id.json @@ -52827,6 +52827,18 @@ "value": "Repositori dihapus" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Tidak dapat menguji koneksi repositori." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Pilih profil administrator sebelum menguji repositori." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -53295,18 +53307,136 @@ "value": "Tambahkan repositori" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Tambahkan repositori plugin" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Terautentikasi" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Dikirim sebagai header Authorization: Bearer ke host repositori." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Gunakan token akses Forgejo atau Gitea dengan cakupan read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Gunakan token akses pribadi fine-grained GitHub dengan akses Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Gunakan token akses Project, Group, atau Personal GitLab dengan peran Reporter dan cakupan read_api (Deploy Token tidak mendukung Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Kata sandi atau token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Host repositori berubah. Masukkan ulang kredensial untuk menyimpan." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Biarkan kosong untuk mempertahankan kredensial tersimpan" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Token akses" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autentikasi" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Tidak ada (publik)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Token akses" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Nama pengguna" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Tempat Silo menemukan plugin." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Tambahkan URL indeks katalog Silo atau repositori plugin GitHub, GitLab, Forgejo, atau Gitea secara langsung untuk pembaruan otomatis." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Nonaktifkan" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Edit" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Edit repositori " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Edit repositori plugin" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -53319,6 +53449,12 @@ "value": "Aktifkan" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo membaca rilis yang berisi biner platform (misalnya, plugin-linux-amd64), checksums.txt, dan manifest.json (dilampirkan ke rilis atau ada di repositori pada tag rilis)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -53353,12 +53489,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Indeks katalog (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repositori Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repositori Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repositori GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repositori GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Jenis sumber" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Tambahkan" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Uji koneksi" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Menguji…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -104958,6 +105142,12 @@ "value": "Hapus dari daftar tonton" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Laporkan masalah" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -115956,7 +116146,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Beri tahu admin apa masalahnya. Orang lain di server ini tidak dapat melihatnya." + "value": "Hanya Anda dan admin yang dapat melihat laporan Anda." } ], "web.issues.report.descriptionChannels": [ @@ -115968,7 +116158,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Beri tahu admin apa masalahnya. Orang lain di server ini tidak dapat melihatnya. Laporan ini juga dikirim, beserta nama Anda, ke pelacak masalah yang digunakan admin." + "value": "Hanya Anda dan admin yang dapat melihat laporan Anda di Silo. Laporan ini juga dikirim, beserta nama Anda, ke pelacak masalah yang digunakan admin." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -116048,7 +116238,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Detail pemutaran (versi dan stempel waktu) disertakan untuk admin." + "value": "Detail pemutaran (versi dan stempel waktu) disertakan." } ], "web.issues.report.send": [ @@ -116101,6 +116291,12 @@ "value": "Laporkan masalah" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Detail tentang judul ini disertakan." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -117024,6 +117220,12 @@ "value": "Tambahkan negara…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Tambahkan tag…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -117072,6 +117274,18 @@ "value": "Negara" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Tag kustom" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Label buatan Anda sendiri. Pembaruan metadata tidak pernah mengubahnya, dan profil dapat menyembunyikan judul yang memiliki tag ini." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -124892,6 +125106,12 @@ "value": "Gagal mengizinkan judul di koleksi" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Disembunyikan oleh tag" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -125504,6 +125724,64 @@ "value": "Konfigurasikan penyimpanan avatar S3 privat untuk mengaktifkan avatar profil yang diunggah." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Profil ini tidak dapat melihat atau memutar judul yang memiliki salah satu tag kustom ini." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Tidak dapat memuat tag kustom." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Belum ada judul yang memiliki tag kustom. Tag ditambahkan di Edit metadata sebuah judul, pada bagian Tag & genre." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Pilih setidaknya satu tag." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Cari tag" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Sembunyikan judul dengan tag" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " judul" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -125540,6 +125818,32 @@ "value": "Kualitas apa pun" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 0, + "value": "Menyembunyikan " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tag" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/it.json b/web/src/locales/it.json index 23a7c01f543..848685c458f 100644 --- a/web/src/locales/it.json +++ b/web/src/locales/it.json @@ -65624,6 +65624,18 @@ "value": "Repository rimosso" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Impossibile testare la connessione al repository." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Seleziona un profilo amministratore prima di testare un repository." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -66156,18 +66168,136 @@ "value": "Aggiungi repository" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Aggiungi repository di plugin" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autenticato" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Inviato all’host del repository come intestazione Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Usa un token di accesso Forgejo o Gitea con ambito read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Usa un token di accesso personale fine-grained di GitHub con accesso Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Usa un token di accesso di progetto, di gruppo o personale di GitLab con ruolo Reporter e ambito read_api (i Deploy Token non supportano la Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Password o token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "L’host del repository è cambiato. Inserisci di nuovo la credenziale per salvare." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Lascia vuoto per mantenere la credenziale salvata" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Token di accesso" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autenticazione" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Nessuna (pubblico)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Token di accesso" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Nome utente" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Dove Silo trova i plugin." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Aggiungi l’URL di un indice di catalogo Silo o un repository di plugin GitHub, GitLab, Forgejo o Gitea diretto per gli aggiornamenti automatici." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Disattiva" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Modifica" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Modifica " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Modifica repository di plugin" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -66180,6 +66310,12 @@ "value": "Attiva" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo legge le release che contengono i binari per piattaforma (ad esempio plugin-linux-amd64), checksums.txt e manifest.json (allegato alla release o presente nel repository al tag della release)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -66214,12 +66350,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Indice di catalogo (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repository Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repository Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repository GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repository GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Tipo di sorgente" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Aggiungi" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Testa connessione" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Test in corso…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -125452,6 +125636,12 @@ "value": "Rimuovi dalla lista Da guardare" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Segnala un problema" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -137934,7 +138124,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Fai sapere agli admin qual è il problema. Le altre persone su questo server non la vedono." + "value": "La tua segnalazione è visibile solo a te e agli admin." } ], "web.issues.report.descriptionChannels": [ @@ -137946,7 +138136,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Fai sapere agli admin qual è il problema. Le altre persone su questo server non la vedono. Viene anche inviata, con il tuo nome, al sistema di tracciamento delle segnalazioni usato dagli admin." + "value": "In Silo la tua segnalazione è visibile solo a te e agli admin. Viene anche inviata, con il tuo nome, al sistema di tracciamento delle segnalazioni usato dagli admin." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -138026,7 +138216,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "I dettagli della riproduzione (versione e minutaggio) vengono inclusi per gli admin." + "value": "Sono inclusi i dettagli della riproduzione (versione e minutaggio)." } ], "web.issues.report.send": [ @@ -138079,6 +138269,12 @@ "value": "Segnala un problema" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Sono inclusi i dettagli su questo titolo." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -139149,6 +139345,12 @@ "value": "Aggiungi paese…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Aggiungi tag…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -139197,6 +139399,18 @@ "value": "Paesi" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Tag personalizzati" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Etichette personali. L’aggiornamento dei metadati non le modifica mai e un profilo può nascondere i titoli a cui sono assegnate." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -148117,6 +148331,12 @@ "value": "Impossibile consentire i titoli della raccolta" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Nascosto da un tag" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -148813,6 +149033,88 @@ "value": "Configura uno spazio di archiviazione S3 privato per gli avatar per poter caricare avatar del profilo." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Questo profilo non può vedere né riprodurre i titoli con uno di questi tag personalizzati." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Impossibile caricare i tag personalizzati." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Nessun titolo ha ancora tag personalizzati. I tag si aggiungono in Modifica metadati di un titolo, in Tag e generi." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Scegli almeno un tag." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Cerca tag" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Nascondi titoli con tag" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titolo" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " di titoli" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titoli" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -148849,6 +149151,64 @@ "value": "Qualsiasi qualità" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Nasconde " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tag" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Nasconde " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " di tag" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Nasconde " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tag" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/ja.json b/web/src/locales/ja.json index c9e83c6adee..ac4eed9010b 100644 --- a/web/src/locales/ja.json +++ b/web/src/locales/ja.json @@ -52919,6 +52919,18 @@ "value": "リポジトリを削除しました" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "リポジトリの接続をテストできませんでした。" + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "リポジトリをテストする前に、管理者プロフィールを選択してください。" + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -53387,18 +53399,136 @@ "value": "リポジトリを追加" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "プラグインリポジトリを追加" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "認証済み" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Authorization: Bearerヘッダーとしてリポジトリのホストに送信されます。" + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "read:repositoryスコープを持つForgejoまたはGiteaのアクセストークンを使用してください。" + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Contents: Read-onlyのアクセス権を持つGitHubのfine-grained personal access tokenを使用してください。" + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Reporterロールとread_apiスコープを持つGitLabのプロジェクト、グループ、または個人のアクセストークンを使用してください(デプロイトークンはReleases APIに対応していません)。" + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "パスワードまたはトークン" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "リポジトリのホストが変更されました。保存するには認証情報を再入力してください。" + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "保存済みの認証情報を保持するには空欄のまま" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "アクセストークン" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "認証" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "なし(公開)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "アクセストークン" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "ユーザー名" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Siloがプラグインを探す場所です。" } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "自動アップデート用に、SiloカタログインデックスのURL、またはGitHub、GitLab、Forgejo、Giteaのプラグインリポジトリを直接追加します。" + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "無効にする" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "編集" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 1, + "value": "name" + }, + { + "type": 0, + "value": "を編集" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "プラグインリポジトリを編集" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -53411,6 +53541,12 @@ "value": "有効にする" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Siloは、プラットフォーム別のバイナリ(例:plugin-linux-amd64)、checksums.txt、manifest.json(リリースに添付、またはリリースタグ時点のリポジトリ内)を含むリリースを読み込みます。" + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -53445,12 +53581,60 @@ "value": "を削除" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "カタログインデックス(JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejoリポジトリ" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Giteaリポジトリ" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHubリポジトリ" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLabリポジトリ" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "ソースの種類" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "追加" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "接続をテスト" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "テスト中…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -104706,6 +104890,12 @@ "value": "ウォッチリストから外す" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "問題を報告" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -115528,7 +115718,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "問題の内容を管理者に伝えます。このサーバーの他のユーザーには表示されません。" + "value": "報告は本人と管理者のみが閲覧できます。" } ], "web.issues.report.descriptionChannels": [ @@ -115540,7 +115730,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "問題の内容を管理者に伝えます。このサーバーの他のユーザーには表示されません。また、管理者が使用している問題管理ツールにも名前付きで送信されます。" + "value": "Silo上では、報告は本人と管理者のみが閲覧できます。また、管理者が使用している問題管理ツールにも名前付きで送信されます。" } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -115616,7 +115806,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "再生の詳細情報(バージョンと再生位置)が管理者に送信されます。" + "value": "再生の詳細情報(バージョンと再生位置)が含まれます。" } ], "web.issues.report.send": [ @@ -115669,6 +115859,12 @@ "value": "問題を報告" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "このタイトルの詳細情報が含まれます。" + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -116596,6 +116792,12 @@ "value": "国を追加…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "タグを追加…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -116644,6 +116846,18 @@ "value": "国" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "カスタムタグ" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "独自のラベルです。メタデータを更新しても変更されません。プロフィールでは、これらのタグが付いたタイトルを非表示にできます。" + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -124416,6 +124630,12 @@ "value": "コレクションのタイトルを許可できませんでした" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "タグにより非表示" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -125028,6 +125248,64 @@ "value": "プロフィールのアバターをアップロードするには、非公開のS3アバターストレージを設定してください。" } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "このプロフィールでは、これらのカスタムタグのいずれかが付いたタイトルを表示・再生できません。" + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "カスタムタグを読み込めませんでした。" + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "カスタムタグが付いたタイトルはまだありません。タグは、タイトルの「メタデータを編集」の「タグとジャンル」で追加できます。" + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "タグを1つ以上選択してください。" + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "タグを検索" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "タグ付きのタイトルを非表示" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": "作品" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -125068,6 +125346,32 @@ "value": "画質制限なし" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 0, + "value": "タグ" + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": "件を非表示" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/keys.ts b/web/src/locales/keys.ts index 46e68954dd2..6df144505d5 100644 --- a/web/src/locales/keys.ts +++ b/web/src/locales/keys.ts @@ -1,4 +1,4 @@ -// Generated by silo-translations 2026.12.03-957f0eb from catalog/*.arb; do not edit. +// Generated by silo-translations local-65c290042b51 from catalog/*.arb; do not edit. export type MessageKey = | "bufferingQuality.autoLimited" @@ -5901,6 +5901,8 @@ export type MessageKey = | "web.admin.plugins.hooks.plugins.repository.deleteSelectProfile" | "web.admin.plugins.hooks.plugins.repository.deleteUnconfirmed" | "web.admin.plugins.hooks.plugins.repository.removed" + | "web.admin.plugins.hooks.plugins.repository.testFailed" + | "web.admin.plugins.hooks.plugins.repository.testSelectProfile" | "web.admin.plugins.hooks.plugins.repository.updateSelectProfile" | "web.admin.plugins.hooks.plugins.repository.updateUnconfirmed" | "web.admin.plugins.hooks.plugins.repository.updated" @@ -5971,16 +5973,44 @@ export type MessageKey = | "web.admin.plugins.rail.stateStopped" | "web.admin.plugins.rail.support" | "web.admin.plugins.repositories.add" + | "web.admin.plugins.repositories.addTitle" + | "web.admin.plugins.repositories.authConfiguredBadge" + | "web.admin.plugins.repositories.authHintCatalog" + | "web.admin.plugins.repositories.authHintForgejoGitea" + | "web.admin.plugins.repositories.authHintGithub" + | "web.admin.plugins.repositories.authHintGitlab" + | "web.admin.plugins.repositories.authPasswordLabel" + | "web.admin.plugins.repositories.authTokenHostChangedHint" + | "web.admin.plugins.repositories.authTokenKeepPlaceholder" + | "web.admin.plugins.repositories.authTokenLabel" + | "web.admin.plugins.repositories.authTypeBasic" + | "web.admin.plugins.repositories.authTypeLabel" + | "web.admin.plugins.repositories.authTypeNone" + | "web.admin.plugins.repositories.authTypeToken" + | "web.admin.plugins.repositories.authUsernameLabel" | "web.admin.plugins.repositories.description" + | "web.admin.plugins.repositories.dialogDescription" | "web.admin.plugins.repositories.disable" + | "web.admin.plugins.repositories.edit" + | "web.admin.plugins.repositories.editNamed" + | "web.admin.plugins.repositories.editTitle" | "web.admin.plugins.repositories.empty" | "web.admin.plugins.repositories.enable" + | "web.admin.plugins.repositories.forgeHint" | "web.admin.plugins.repositories.heading" | "web.admin.plugins.repositories.loadFailed" | "web.admin.plugins.repositories.managed" | "web.admin.plugins.repositories.name" | "web.admin.plugins.repositories.remove" + | "web.admin.plugins.repositories.sourceTypeCatalog" + | "web.admin.plugins.repositories.sourceTypeForgejo" + | "web.admin.plugins.repositories.sourceTypeGitea" + | "web.admin.plugins.repositories.sourceTypeGithub" + | "web.admin.plugins.repositories.sourceTypeGitlab" + | "web.admin.plugins.repositories.sourceTypeLabel" | "web.admin.plugins.repositories.submit" + | "web.admin.plugins.repositories.testConnection" + | "web.admin.plugins.repositories.testingConnection" | "web.admin.plugins.repositories.url" | "web.admin.plugins.settings.defaultSchedule" | "web.admin.plugins.settings.noneInstalled" @@ -11935,6 +11965,7 @@ export type MessageKey = | "web.detail.actions.refreshMetadata" | "web.detail.actions.removeFromFavorites" | "web.detail.actions.removeFromWatchlist" + | "web.detail.actions.reportIssue" | "web.detail.actions.requestSeasons" | "web.detail.actions.resume" | "web.detail.actions.resumeAt" @@ -13055,6 +13086,7 @@ export type MessageKey = | "web.issues.report.sent.view" | "web.issues.report.subjectAtPosition" | "web.issues.report.title" + | "web.issues.report.titleIncluded" | "web.issues.report.versionLabel" | "web.issues.sidebar.label" | "web.issues.status.dismissed" @@ -13160,6 +13192,7 @@ export type MessageKey = | "web.item.dialog.tvdbId" | "web.item.dialog.yearInParens" | "web.item.editMetadata.addCountry" + | "web.item.editMetadata.addCustomTag" | "web.item.editMetadata.addGenre" | "web.item.editMetadata.addNetwork" | "web.item.editMetadata.addStudio" @@ -13168,6 +13201,8 @@ export type MessageKey = | "web.item.editMetadata.airTimezone" | "web.item.editMetadata.contentRating" | "web.item.editMetadata.countries" + | "web.item.editMetadata.customTags" + | "web.item.editMetadata.customTagsHint" | "web.item.editMetadata.episodeNumber" | "web.item.editMetadata.firstAirDate" | "web.item.editMetadata.genres" @@ -14142,6 +14177,7 @@ export type MessageKey = | "web.profiles.allowances.ageLimit" | "web.profiles.allowances.allowedByCollection" | "web.profiles.allowances.copyCollectionFailed" + | "web.profiles.allowances.hiddenByTag" | "web.profiles.allowances.noLibraryAccess" | "web.profiles.allowances.setCollectionFailed" | "web.profiles.allowances.setTitleFailed" @@ -14225,10 +14261,18 @@ export type MessageKey = | "web.profiles.editor.titleNew" | "web.profiles.editor.uploadsUnavailable" | "web.profiles.editor.uploadsUnavailableHint" + | "web.profiles.excludedTags.hint" + | "web.profiles.excludedTags.loadFailed" + | "web.profiles.excludedTags.noTags" + | "web.profiles.excludedTags.required" + | "web.profiles.excludedTags.search" + | "web.profiles.excludedTags.title" + | "web.profiles.excludedTags.titleCount" | "web.profiles.helpers.access.advisoryAgeMax" | "web.profiles.helpers.access.advisoryAgeMaxRatedOnly" | "web.profiles.helpers.access.allLibraries" | "web.profiles.helpers.access.anyQuality" + | "web.profiles.helpers.access.hiddenTags" | "web.profiles.helpers.access.libraries" | "web.profiles.helpers.access.noRequests" | "web.profiles.helpers.access.quality" diff --git a/web/src/locales/ko.json b/web/src/locales/ko.json index cf791a0ac0c..ddfe34e62dc 100644 --- a/web/src/locales/ko.json +++ b/web/src/locales/ko.json @@ -53279,6 +53279,18 @@ "value": "저장소를 제거했어요" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "저장소 연결을 테스트할 수 없어요." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "저장소를 테스트하기 전에 관리자 프로필을 선택하세요." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -53755,18 +53767,136 @@ "value": "저장소 추가" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "플러그인 저장소 추가" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "인증됨" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "저장소 호스트에 Authorization: Bearer 헤더로 전송돼요." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "read:repository 범위가 있는 Forgejo 또는 Gitea 액세스 토큰을 사용하세요." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Contents: Read-only 권한이 있는 GitHub 세분화된 개인 액세스 토큰을 사용하세요." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Reporter 역할과 read_api 범위가 있는 GitLab 프로젝트, 그룹 또는 개인 액세스 토큰을 사용하세요(배포 토큰은 Releases API를 지원하지 않아요)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "비밀번호 또는 토큰" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "저장소 호스트가 변경됐어요. 저장하려면 인증 정보를 다시 입력하세요." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "저장된 인증 정보를 유지하려면 비워 두세요" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "액세스 토큰" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "인증" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "없음(공개)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "액세스 토큰" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "사용자 이름" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Silo가 플러그인을 찾는 곳이에요." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "자동 업데이트를 위해 Silo 카탈로그 인덱스 URL이나 GitHub, GitLab, Forgejo, Gitea 플러그인 저장소를 직접 추가하세요." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "사용 안 함" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "수정" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 1, + "value": "name" + }, + { + "type": 0, + "value": " 저장소 수정" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "플러그인 저장소 수정" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -53779,6 +53909,12 @@ "value": "사용" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo에서는 플랫폼 바이너리(예: plugin-linux-amd64), checksums.txt, manifest.json(릴리스에 첨부되거나 릴리스 태그 시점의 저장소에 있는 파일)이 포함된 릴리스를 읽어요." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -53813,12 +53949,60 @@ "value": " 저장소 제거" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "카탈로그 인덱스(JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo 저장소" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea 저장소" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub 저장소" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab 저장소" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "소스 유형" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "추가" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "연결 테스트" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "테스트 중…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -105324,6 +105508,12 @@ "value": "보고 싶은 목록에서 제거" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "문제 신고" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -116000,7 +116190,7 @@ "web.issues.actions.viewProblemReports": [ { "type": 0, - "value": "문제 보기" + "value": "문제 목록 보기" } ], "web.issues.activity.author.admin": [ @@ -116484,7 +116674,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "어떤 문제가 있는지 관리자에게 알려 주세요. 이 서버의 다른 사용자는 볼 수 없어요." + "value": "신고 내용은 본인과 관리자만 볼 수 있어요." } ], "web.issues.report.descriptionChannels": [ @@ -116496,7 +116686,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "어떤 문제가 있는지 관리자에게 알려 주세요. 이 서버의 다른 사용자는 볼 수 없어요. 신고 내용은 사용자 이름과 함께 관리자가 사용하는 이슈 트래커에도 전송돼요." + "value": "Silo에서는 본인과 관리자만 신고 내용을 볼 수 있어요. 신고 내용은 사용자 이름과 함께 관리자가 사용하는 이슈 트래커에도 전송돼요." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -116572,7 +116762,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "재생 정보(버전 및 재생 위치)가 관리자에게 함께 전달돼요." + "value": "재생 정보(버전 및 재생 위치)가 함께 전달돼요." } ], "web.issues.report.send": [ @@ -116629,6 +116819,12 @@ "value": "문제 신고" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "이 작품의 정보가 함께 전달돼요." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -117576,6 +117772,12 @@ "value": "국가 추가…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "태그 추가…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -117624,6 +117826,18 @@ "value": "국가" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "사용자 지정 태그" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "직접 붙이는 라벨이에요. 메타데이터를 새로고침해도 바뀌지 않고, 프로필에서 이 태그가 붙은 작품을 숨길 수 있어요." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -125476,6 +125690,12 @@ "value": "컬렉션의 작품을 허용하지 못했어요" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "태그로 숨겨짐" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -126096,6 +126316,68 @@ "value": "업로드한 프로필 아바타를 사용하려면 비공개 S3 아바타 저장소를 구성하세요." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "이 프로필에서는 이 사용자 지정 태그 중 하나라도 붙은 작품을 보거나 재생할 수 없어요." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "사용자 지정 태그를 불러올 수 없어요." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "아직 사용자 지정 태그가 붙은 작품이 없어요. 태그는 작품의 메타데이터 편집에서 태그 및 장르 아래에 추가할 수 있어요." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "태그를 하나 이상 선택하세요." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "태그 검색" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "태그로 작품 숨기기" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 0, + "value": "작품 " + }, + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": "개" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -126136,6 +126418,32 @@ "value": "모든 화질" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 0, + "value": "태그 " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": "개 숨김" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/lt.json b/web/src/locales/lt.json index 4c51f91f758..d34ff9cc8d1 100644 --- a/web/src/locales/lt.json +++ b/web/src/locales/lt.json @@ -73157,6 +73157,18 @@ "value": "Saugykla pašalinta" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Nepavyko patikrinti ryšio su saugykla." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Prieš tikrindami saugyklą, pasirinkite administratoriaus profilį." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -73721,18 +73733,140 @@ "value": "Pridėti saugyklą" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Pridėti papildinių saugyklą" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autentifikuota" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Siunčiama saugyklos serveriui kaip antraštė Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Naudokite „Forgejo“ arba „Gitea“ prieigos raktą su aprėptimi read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Naudokite „GitHub“ detalizuotą asmeninį prieigos raktą (fine-grained) su teise Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Naudokite „GitLab“ projekto, grupės arba asmeninį prieigos raktą su vaidmeniu Reporter ir aprėptimi read_api (diegimo raktai (Deploy Tokens) nepalaiko Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Slaptažodis arba prieigos raktas" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Saugyklos serveris pasikeitė. Kad galėtumėte išsaugoti, iš naujo įveskite prisijungimo duomenis." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Palikite tuščią, kad liktų išsaugoti prisijungimo duomenys" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Prieigos raktas" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autentifikavimas" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Nėra (vieša)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Prieigos raktas" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Naudotojo vardas" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Iš kur „Silo“ gauna papildinius." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Pridėkite „Silo“ katalogo indekso URL arba tiesioginę „GitHub“, „GitLab“, „Forgejo“ ar „Gitea“ papildinių saugyklą, kad papildiniai būtų atnaujinami automatiškai." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Išjungti" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Redaguoti" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Redaguoti saugyklą „" + }, + { + "type": 1, + "value": "name" + }, + { + "type": 0, + "value": "“" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Redaguoti papildinių saugyklą" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -73745,6 +73879,12 @@ "value": "Įjungti" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "„Silo“ nuskaito leidimus, kuriuose yra platformų dvejetainiai failai (pavyzdžiui, plugin-linux-amd64), checksums.txt ir manifest.json (pridėtas prie leidimo arba esantis saugykloje ties leidimo žyme)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -73783,12 +73923,60 @@ "value": "“" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Katalogo indeksas (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "„Forgejo“ saugykla" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "„Gitea“ saugykla" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "„GitHub“ saugykla" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "„GitLab“ saugykla" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Šaltinio tipas" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Pridėti" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Tikrinti ryšį" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Tikrinama…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -137693,6 +137881,12 @@ "value": "Pašalinti iš žiūrėjimo sąrašo" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Pranešti apie problemą" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -151193,7 +151387,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Praneškite administratoriams, kas negerai. Kiti šio serverio naudotojai to nemato." + "value": "Jūsų pranešimą matote tik jūs ir administratoriai." } ], "web.issues.report.descriptionChannels": [ @@ -151205,7 +151399,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Praneškite administratoriams, kas negerai. Kiti šio serverio naudotojai to nemato. Pranešimas kartu su jūsų vardu taip pat siunčiamas į problemų sekimo sistemą, kurią naudoja administratoriai." + "value": "„Silo“ sistemoje jūsų pranešimą matote tik jūs ir administratoriai. Kartu su jūsų vardu jis taip pat siunčiamas į administratorių naudojamą problemų sekimo sistemą." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -151285,7 +151479,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Administratoriams pridedama atkūrimo informacija (versija ir laiko žyma)." + "value": "Pridedama atkūrimo informacija (versija ir laiko žyma)." } ], "web.issues.report.send": [ @@ -151338,6 +151532,12 @@ "value": "Pranešti apie problemą" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Pridedama informacija apie šį kūrinį." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -152534,6 +152734,12 @@ "value": "Pridėti šalį…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Pridėti žymą…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -152582,6 +152788,18 @@ "value": "Šalys" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Pasirinktinės žymos" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Jūsų pačių žymos. Atnaujinant metaduomenis jos niekada nekeičiamos, o profilis gali slėpti jomis pažymėtus kūrinius." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -162204,6 +162422,12 @@ "value": "Nepavyko leisti kolekcijos kūrinių" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Paslėpta dėl žymos" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -162948,6 +163172,100 @@ "value": "Sukonfigūruokite privačią S3 avatarų saugyklą, kad būtų galima įkelti profilių avatarus." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Šis profilis negali matyti ar leisti kūrinių, pažymėtų bet kuria iš šių pasirinktinių žymų." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Nepavyko įkelti pasirinktinių žymų." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Kol kas jokie kūriniai neturi pasirinktinių žymų. Žymos pridedamos kūrinio lange „Redaguoti metaduomenis“, skiltyje „Žymos ir žanrai“." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Pasirinkite bent vieną žymą." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Ieškoti žymų" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Slėpti kūrinius su žymomis" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " kūrinys" + } + ] + }, + "few": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " kūriniai" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " kūrinio" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " kūrinių" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -162988,6 +163306,80 @@ "value": "Bet kokia kokybė" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Slepia " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " žymą" + } + ] + }, + "few": { + "value": [ + { + "type": 0, + "value": "Slepia " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " žymas" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Slepia " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " žymos" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Slepia " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " žymų" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/lv.json b/web/src/locales/lv.json index ac46a30a3b2..0260bc44ee1 100644 --- a/web/src/locales/lv.json +++ b/web/src/locales/lv.json @@ -66831,6 +66831,18 @@ "value": "Repozitorijs ir noņemts" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Neizdevās pārbaudīt savienojumu ar repozitoriju." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Pirms repozitorija pārbaudes atlasiet administratora profilu." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -67363,18 +67375,140 @@ "value": "Pievienot repozitoriju" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Pievienot spraudņu repozitoriju" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autentificēts" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Tiek nosūtīts repozitorija resursdatoram kā galvene Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Izmantojiet Forgejo vai Gitea piekļuves pilnvaru ar tvērumu read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Izmantojiet GitHub detalizēto personisko piekļuves pilnvaru (fine-grained) ar piekļuvi Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Izmantojiet GitLab projekta, grupas vai personisko piekļuves pilnvaru ar lomu Reporter un tvērumu read_api (izvietošanas pilnvaras (Deploy Tokens) neatbalsta Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Parole vai pilnvara" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Repozitorija resursdators ir mainīts. Lai saglabātu, ievadiet akreditācijas datus vēlreiz." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Atstājiet tukšu, lai paturētu saglabātos akreditācijas datus" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Piekļuves pilnvara" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autentifikācija" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Nav (publisks)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Piekļuves pilnvara" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Lietotājvārds" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Vietas, kur Silo meklē spraudņus." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Pievienojiet Silo kataloga indeksa URL vai tiešu GitHub, GitLab, Forgejo vai Gitea spraudņa repozitoriju automātiskiem atjauninājumiem." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Atspējot" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Rediģēt" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Rediģēt repozitoriju „" + }, + { + "type": 1, + "value": "name" + }, + { + "type": 0, + "value": "”" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Rediģēt spraudņu repozitoriju" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -67387,6 +67521,12 @@ "value": "Iespējot" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo nolasa laidienus, kuros ir platformu binārie faili (piemēram, plugin-linux-amd64), checksums.txt un manifest.json (pievienots laidienam vai atrodams repozitorijā pie laidiena taga)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -67425,12 +67565,60 @@ "value": "”" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Kataloga indekss (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo repozitorijs" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea repozitorijs" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub repozitorijs" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab repozitorijs" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Avota veids" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Pievienot" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Pārbaudīt savienojumu" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Notiek pārbaude…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -127340,6 +127528,12 @@ "value": "Noņemt no skatīšanās saraksta" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Ziņot par problēmu" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -140141,7 +140335,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Pastāstiet administratoriem, kas nav kārtībā. Citi šī servera lietotāji to neredz." + "value": "Jūsu ziņojumu var redzēt tikai jūs un administratori." } ], "web.issues.report.descriptionChannels": [ @@ -140153,7 +140347,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Pastāstiet administratoriem, kas nav kārtībā. Citi šī servera lietotāji to neredz. Ziņojums kopā ar jūsu vārdu tiek nosūtīts arī problēmu izsekošanas sistēmai, ko izmanto administratori." + "value": "Jūsu ziņojumu Silo lietotnē var redzēt tikai jūs un administratori. Tas kopā ar jūsu vārdu tiek nosūtīts arī problēmu izsekošanas sistēmai, ko izmanto administratori." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -140233,7 +140427,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Administratoriem tiek pievienota informācija par atskaņošanu (versija un laika atzīme)." + "value": "Tiek pievienota informācija par atskaņošanu (versija un laika atzīme)." } ], "web.issues.report.send": [ @@ -140286,6 +140480,12 @@ "value": "Ziņot par problēmu" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Tiek pievienota informācija par šo vienumu." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -141427,6 +141627,12 @@ "value": "Pievienot valsti…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Pievienot birku…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -141475,6 +141681,18 @@ "value": "Valstis" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Pielāgotās birkas" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Jūsu pašu etiķetes. Metadatu atsvaidzināšana tās nekad nemaina, un profils var paslēpt vienumus, kuriem tās ir." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -150515,6 +150733,12 @@ "value": "Neizdevās atļaut kolekcijas nosaukumus" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Paslēpts ar birku" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -151215,6 +151439,88 @@ "value": "Konfigurējiet privātu S3 avatāru krātuvi, lai iespējotu augšupielādētus profilu avatārus." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Šis profils nevar redzēt vai atskaņot vienumus, kuriem ir kāda no šīm pielāgotajām birkām." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Neizdevās ielādēt pielāgotās birkas." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Nevienam vienumam vēl nav pielāgotu birku. Birkas pievieno vienuma logā „Rediģēt metadatus” sadaļā „Birkas un žanri”." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Izvēlieties vismaz vienu birku." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Meklēt birkas" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Paslēpt vienumus ar birkām" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "zero": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " vienumi" + } + ] + }, + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " vienums" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " vienumi" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -151251,6 +151557,64 @@ "value": "Jebkura kvalitāte" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "zero": { + "value": [ + { + "type": 0, + "value": "Paslēpj vienumus ar " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " birkām" + } + ] + }, + "one": { + "value": [ + { + "type": 0, + "value": "Paslēpj vienumus ar " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " birku" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Paslēpj vienumus ar " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " birkām" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/ms.json b/web/src/locales/ms.json index c71620767f3..37f14b72977 100644 --- a/web/src/locales/ms.json +++ b/web/src/locales/ms.json @@ -52815,6 +52815,18 @@ "value": "Repositori dialih keluar" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Tidak dapat menguji sambungan repositori." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Pilih profil pentadbir sebelum menguji repositori." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -53283,18 +53295,136 @@ "value": "Tambah repositori" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Tambah repositori pemalam" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Disahkan" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Dihantar sebagai pengepala Authorization: Bearer kepada hos repositori." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Gunakan token akses Forgejo atau Gitea dengan skop read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Gunakan token akses peribadi terperinci GitHub dengan akses Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Gunakan token akses Project, Group atau Personal GitLab dengan peranan Reporter dan skop read_api (Deploy Token tidak menyokong Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Kata laluan atau token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Hos repositori telah berubah. Masukkan semula bukti kelayakan untuk menyimpan." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Biarkan kosong untuk mengekalkan bukti kelayakan yang disimpan" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Token akses" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Pengesahan" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Tiada (awam)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Token akses" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Nama pengguna" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Tempat Silo mencari pemalam." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Tambah URL indeks katalog Silo atau repositori pemalam GitHub, GitLab, Forgejo atau Gitea secara terus untuk kemas kini automatik." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Lumpuhkan" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Edit" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Edit " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Edit repositori pemalam" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -53307,6 +53437,12 @@ "value": "Dayakan" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo membaca keluaran yang mengandungi binari platform (contohnya, plugin-linux-amd64), checksums.txt dan manifest.json (dilampirkan pada keluaran atau dalam repositori pada tag keluaran)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -53341,12 +53477,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Indeks katalog (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repositori Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repositori Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repositori GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repositori GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Jenis sumber" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Tambah" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Uji sambungan" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Menguji…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -104832,6 +105016,12 @@ "value": "Alih keluar daripada senarai tontonan" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Laporkan isu" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -115826,7 +116016,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Beritahu pentadbir apa yang tidak kena. Pengguna lain di pelayan ini tidak dapat melihatnya." + "value": "Hanya anda dan pentadbir yang boleh melihat laporan anda." } ], "web.issues.report.descriptionChannels": [ @@ -115838,7 +116028,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Beritahu pentadbir apa yang tidak kena. Pengguna lain di pelayan ini tidak dapat melihatnya. Isu ini juga dihantar, bersama nama anda, ke penjejak isu yang digunakan oleh pentadbir." + "value": "Hanya anda dan pentadbir yang boleh melihat laporan anda dalam Silo. Laporan ini juga dihantar, bersama nama anda, ke penjejak isu yang digunakan oleh pentadbir." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -115918,7 +116108,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Butiran main balik (versi dan cap masa) disertakan untuk pentadbir." + "value": "Butiran main balik (versi dan cap masa) disertakan." } ], "web.issues.report.send": [ @@ -115971,6 +116161,12 @@ "value": "Laporkan isu" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Butiran tentang tajuk ini disertakan." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -116894,6 +117090,12 @@ "value": "Tambah negara…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Tambah tag…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -116942,6 +117144,18 @@ "value": "Negara" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Tag tersuai" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Label anda sendiri. Muat semula metadata tidak sekali-kali mengubahnya, dan profil boleh menyembunyikan tajuk yang mempunyai label ini." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -124754,6 +124968,12 @@ "value": "Gagal membenarkan tajuk dalam koleksi" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Disembunyikan oleh tag" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -125366,6 +125586,64 @@ "value": "Konfigurasikan storan avatar S3 peribadi untuk mendayakan avatar profil yang dimuat naik." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Profil ini tidak boleh melihat atau memainkan tajuk yang mempunyai mana-mana tag tersuai ini." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Tidak dapat memuatkan tag tersuai." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Belum ada tajuk yang mempunyai tag tersuai. Tag ditambah dalam Sunting metadata bagi tajuk, di bawah Tag & genre." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Pilih sekurang-kurangnya satu tag." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Cari tag" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Sembunyikan tajuk dengan tag" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " tajuk" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -125402,6 +125680,32 @@ "value": "Sebarang kualiti" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 0, + "value": "Menyembunyikan " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tag" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/nb.json b/web/src/locales/nb.json index cd8cc2b4ce1..98748bd058a 100644 --- a/web/src/locales/nb.json +++ b/web/src/locales/nb.json @@ -59278,6 +59278,18 @@ "value": "Repositoriet er fjernet" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Kunne ikke teste tilkoblingen til repositoriet." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Velg en administratorprofil før du tester et repositorium." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59778,18 +59790,136 @@ "value": "Legg til repositorium" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Legg til repositorium for programtillegg" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autentisert" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Sendes som en Authorization: Bearer-header til verten for repositoriet." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Bruk et tilgangstoken for Forgejo eller Gitea med omfanget read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Bruk et finkornet personlig tilgangstoken for GitHub med tilgangen Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Bruk et GitLab-tilgangstoken for prosjekt, gruppe eller person med rollen Reporter og omfanget read_api (Deploy Tokens støtter ikke Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Passord eller token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Verten for repositoriet er endret. Skriv inn påloggingsinformasjonen på nytt for å lagre." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "La stå tomt for å beholde lagret påloggingsinformasjon" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Tilgangstoken" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autentisering" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Ingen (offentlig)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Tilgangstoken" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Brukernavn" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Der Silo finner programtillegg." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Legg til en URL til en Silo-katalogindeks eller et direkte repositorium for programtillegg på GitHub, GitLab, Forgejo eller Gitea for automatiske oppdateringer." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Deaktiver" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Rediger" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Rediger " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Rediger repositorium for programtillegg" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59802,6 +59932,12 @@ "value": "Aktiver" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo leser utgivelser som inneholder plattformbinærfiler (for eksempel plugin-linux-amd64), checksums.txt og manifest.json (vedlagt utgivelsen eller i repositoriet ved utgivelsens tag)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59836,12 +59972,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Katalogindeks (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo-repositorium" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea-repositorium" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub-repositorium" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab-repositorium" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Kildetype" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Legg til" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Test tilkoblingen" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Tester …" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -115283,6 +115467,12 @@ "value": "Fjern fra huskelisten" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Rapporter et problem" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -127009,7 +127199,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Gi administratorene beskjed om hva som er galt. Andre på denne serveren ser det ikke." + "value": "Bare du og administratorene kan se rapporten din." } ], "web.issues.report.descriptionChannels": [ @@ -127021,7 +127211,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Gi administratorene beskjed om hva som er galt. Andre på denne serveren ser det ikke. Det sendes også, med navnet ditt, til sporingsverktøyet for problemer som administratorene bruker." + "value": "Bare du og administratorene kan se rapporten din i Silo. Den sendes også, med navnet ditt, til sporingsverktøyet for problemer som administratorene bruker." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -127101,7 +127291,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Avspillingsdetaljer (versjon og tidspunkt) tas med for administratorene." + "value": "Avspillingsdetaljer (versjon og tidspunkt) blir tatt med." } ], "web.issues.report.send": [ @@ -127154,6 +127344,12 @@ "value": "Rapporter et problem" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Detaljer om denne tittelen blir tatt med." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -128157,6 +128353,12 @@ "value": "Legg til land …" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Legg til tagg …" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -128205,6 +128407,18 @@ "value": "Land" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Egendefinerte tagger" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Dine egne etiketter. En metadataoppdatering endrer dem aldri, og en profil kan skjule titlene som har dem." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -136571,6 +136785,12 @@ "value": "Kunne ikke tillate titlene i samlingen" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Skjult av en tagg" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -137227,6 +137447,76 @@ "value": "Konfigurer privat S3-lagring for avatarer for å kunne laste opp profilavatarer." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Denne profilen kan ikke se eller spille av titler som har noen av disse egendefinerte taggene." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Kunne ikke laste inn de egendefinerte taggene." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Ingen titler har egendefinerte tagger ennå. Tagger legges til i Rediger metadata for en tittel, under Tagger og sjangre." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Velg minst én tagg." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Søk i tagger" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Skjul titler med tagger" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " tittel" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titler" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -137263,6 +137553,48 @@ "value": "Alle kvaliteter" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Skjuler " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tagg" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Skjuler " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tagger" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/nl.json b/web/src/locales/nl.json index 9b70588fe47..b1a6c79c5cc 100644 --- a/web/src/locales/nl.json +++ b/web/src/locales/nl.json @@ -58958,6 +58958,18 @@ "value": "Repository verwijderd" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Kan de verbinding met de repository niet testen." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Selecteer een beheerdersprofiel voordat je een repository test." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59458,18 +59470,136 @@ "value": "Repository toevoegen" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Plug-inrepository toevoegen" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Geverifieerd" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Wordt als Authorization: Bearer-header naar de repositoryhost verstuurd." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Gebruik een Forgejo- of Gitea-toegangstoken met de scope read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Gebruik een fine-grained personal access token van GitHub met toegang Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Gebruik een Project, Group of Personal Access Token van GitLab met de rol Reporter en de scope read_api (Deploy Tokens ondersteunen de Releases API niet)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Wachtwoord of token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "De repositoryhost is gewijzigd. Voer de inloggegevens opnieuw in om op te slaan." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Laat leeg om de opgeslagen inloggegevens te behouden" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Toegangstoken" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Verificatie" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Geen (openbaar)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Toegangstoken" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Gebruikersnaam" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Waar Silo plug-ins vindt." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Voeg een URL van een Silo-catalogusindex of een rechtstreekse plug-inrepository op GitHub, GitLab, Forgejo of Gitea toe voor automatische updates." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Uitschakelen" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Bewerken" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 1, + "value": "name" + }, + { + "type": 0, + "value": " bewerken" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Plug-inrepository bewerken" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59482,6 +59612,12 @@ "value": "Inschakelen" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo leest releases met binaire bestanden per platform (bijvoorbeeld plugin-linux-amd64), checksums.txt en manifest.json (bijgevoegd bij de release of in de repository bij de releasetag)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59516,12 +59652,60 @@ "value": " verwijderen" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Catalogusindex (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo-repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea-repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub-repository" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab-repository" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Brontype" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Toevoegen" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Verbinding testen" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Testen…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -114559,6 +114743,12 @@ "value": "Verwijderen uit kijklijst" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Probleem melden" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -125771,7 +125961,7 @@ "web.issues.actions.reportProblem": [ { "type": 0, - "value": "Een probleem melden" + "value": "Probleem melden" } ], "web.issues.actions.viewProblemReports": [ @@ -126261,7 +126451,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Laat de beheerders weten wat er mis is. Andere mensen op deze server zien het niet." + "value": "Alleen jij en de beheerders kunnen je melding zien." } ], "web.issues.report.descriptionChannels": [ @@ -126273,7 +126463,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Laat de beheerders weten wat er mis is. Andere mensen op deze server zien het niet. Het wordt ook, met je naam, naar de issuetracker van de beheerders gestuurd." + "value": "Alleen jij en de beheerders kunnen je melding in Silo zien. Ze wordt ook, met je naam, naar de issuetracker van de beheerders gestuurd." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -126353,7 +126543,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Afspeelgegevens (versie en tijdstip) worden meegestuurd voor de beheerders." + "value": "Afspeelgegevens (versie en tijdstip) worden meegestuurd." } ], "web.issues.report.send": [ @@ -126406,6 +126596,12 @@ "value": "Een probleem melden" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Gegevens over deze titel worden meegestuurd." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -127401,6 +127597,12 @@ "value": "Land toevoegen…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Tag toevoegen…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -127449,6 +127651,18 @@ "value": "Landen" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Eigen tags" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Je eigen labels. Bij het vernieuwen van de metadata veranderen ze nooit, en een profiel kan de titels met deze labels verbergen." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -135807,6 +136021,12 @@ "value": "Toestaan van de titels in de collectie is mislukt" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Verborgen door een tag" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -136459,6 +136679,76 @@ "value": "Configureer privé-S3-opslag voor avatars om geüploade profielavatars mogelijk te maken." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Dit profiel kan titels met een van deze eigen tags niet zien of afspelen." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Kan de eigen tags niet laden." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Nog geen enkele titel heeft eigen tags. Je voegt tags toe via Metadata bewerken van een titel, onder Tags en genres." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Kies minstens één tag." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Tags zoeken" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Titels met tags verbergen" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titel" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titels" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -136495,6 +136785,48 @@ "value": "Elke kwaliteit" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Verbergt " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tag" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Verbergt " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tags" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/pl.json b/web/src/locales/pl.json index 9ac00afb85b..d43e1c62d00 100644 --- a/web/src/locales/pl.json +++ b/web/src/locales/pl.json @@ -73120,6 +73120,18 @@ "value": "Usunięto repozytorium" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Nie udało się przetestować połączenia z repozytorium." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Przed testowaniem repozytorium wybierz profil administratora." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -73684,18 +73696,136 @@ "value": "Dodaj repozytorium" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Dodaj repozytorium wtyczek" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Uwierzytelnione" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Wysyłany do hosta repozytorium jako nagłówek Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Użyj tokena dostępu Forgejo lub Gitea z zakresem read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Użyj szczegółowego osobistego tokena dostępu GitHub (fine-grained) z uprawnieniem Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Użyj tokena dostępu GitLab typu Project, Group lub Personal z rolą Reporter i zakresem read_api (tokeny Deploy Token nie obsługują Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Hasło lub token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Host repozytorium się zmienił. Wpisz ponownie dane uwierzytelniające, aby zapisać." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Zostaw puste, aby zachować zapisane dane uwierzytelniające" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Token dostępu" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Uwierzytelnianie" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Brak (publiczne)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Token dostępu" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Nazwa użytkownika" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Miejsca, w których Silo szuka wtyczek." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Dodaj adres URL indeksu katalogu Silo lub bezpośrednio repozytorium wtyczki GitHub, GitLab, Forgejo albo Gitea, aby otrzymywać automatyczne aktualizacje." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Wyłącz" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Edytuj" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Edytuj repozytorium " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Edytuj repozytorium wtyczek" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -73708,6 +73838,12 @@ "value": "Włącz" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo odczytuje wydania zawierające pliki binarne dla platform (na przykład plugin-linux-amd64), checksums.txt i manifest.json (dołączony do wydania lub znajdujący się w repozytorium przy tagu wydania)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -73742,12 +73878,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Indeks katalogu (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repozytorium Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repozytorium Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repozytorium GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repozytorium GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Typ źródła" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Dodaj" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Przetestuj połączenie" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Testowanie…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -136963,6 +137147,12 @@ "value": "Usuń z listy do obejrzenia" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Zgłoś problem" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -150233,7 +150423,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Daj znać administratorom, co jest nie tak. Inne osoby na tym serwerze tego nie widzą." + "value": "Twoje zgłoszenie jest widoczne tylko dla ciebie i administratorów." } ], "web.issues.report.descriptionChannels": [ @@ -150245,7 +150435,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Daj znać administratorom, co jest nie tak. Inne osoby na tym serwerze tego nie widzą. Zgłoszenie trafia też, razem z twoją nazwą, do systemu zgłoszeń używanego przez administratorów." + "value": "W aplikacji Silo twoje zgłoszenie jest widoczne tylko dla ciebie i administratorów. Trafia też, razem z twoją nazwą, do systemu zgłoszeń używanego przez administratorów." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -150325,7 +150515,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Szczegóły odtwarzania (wersja i znacznik czasu) zostaną przekazane administratorom." + "value": "Zgłoszenie zawiera szczegóły odtwarzania (wersję i znacznik czasu)." } ], "web.issues.report.send": [ @@ -150378,6 +150568,12 @@ "value": "Zgłoś problem" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Zgłoszenie zawiera szczegóły tego tytułu." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -151531,6 +151727,12 @@ "value": "Dodaj kraj…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Dodaj tag…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -151579,6 +151781,18 @@ "value": "Kraje" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Własne tagi" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Twoje własne etykiety. Odświeżenie metadanych nigdy ich nie zmienia, a profil może ukryć tytuły, które je mają." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -161121,6 +161335,12 @@ "value": "Nie udało się zezwolić na tytuły z kolekcji" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Ukryte przez tag" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -161861,6 +162081,100 @@ "value": "Skonfiguruj prywatny magazyn S3 na awatary, aby włączyć przesyłanie awatarów profili." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Ten profil nie może wyświetlać ani odtwarzać tytułów, które mają którykolwiek z tych własnych tagów." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Nie udało się wczytać własnych tagów." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Żaden tytuł nie ma jeszcze własnych tagów. Tagi dodaje się w oknie Edytuj metadane danego tytułu, w sekcji Tagi i gatunki." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Wybierz co najmniej jeden tag." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Szukaj tagów" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Ukryj tytuły z tagami" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " tytuł" + } + ] + }, + "few": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " tytuły" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " tytułów" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " tytułu" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -161897,6 +162211,80 @@ "value": "Dowolna jakość" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Ukrywa " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tag" + } + ] + }, + "few": { + "value": [ + { + "type": 0, + "value": "Ukrywa " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tagi" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Ukrywa " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tagów" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Ukrywa " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tagu" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/pt-BR.json b/web/src/locales/pt-BR.json index 9ffb8434fab..ecd454b868d 100644 --- a/web/src/locales/pt-BR.json +++ b/web/src/locales/pt-BR.json @@ -65880,6 +65880,18 @@ "value": "Repositório removido" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Não foi possível testar a conexão com o repositório." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Selecione um perfil de administrador antes de testar um repositório." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -66412,18 +66424,136 @@ "value": "Adicionar repositório" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Adicionar repositório de plugins" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autenticado" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Enviado ao host do repositório como um cabeçalho Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Use um token de acesso do Forgejo ou do Gitea com o escopo read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Use um token de acesso pessoal refinado (fine-grained) do GitHub com acesso Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Use um token de acesso de projeto, de grupo ou pessoal do GitLab com a função Reporter e o escopo read_api (os Deploy Tokens não suportam a Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Senha ou token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "O host do repositório mudou. Insira a credencial novamente para salvar." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Deixe em branco para manter a credencial salva" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Token de acesso" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autenticação" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Nenhuma (público)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Token de acesso" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Nome de usuário" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Onde o Silo encontra plugins." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Adicione a URL de um índice de catálogo do Silo ou um repositório de plugin direto do GitHub, GitLab, Forgejo ou Gitea para receber atualizações automáticas." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Desativar" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Editar" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Editar " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Editar repositório de plugins" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -66436,6 +66566,12 @@ "value": "Ativar" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "O Silo lê versões (releases) que contêm binários por plataforma (por exemplo, plugin-linux-amd64), checksums.txt e manifest.json (anexado à versão ou presente no repositório na tag da versão)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -66470,12 +66606,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Índice de catálogo (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repositório do Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repositório do Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repositório do GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repositório do GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Tipo de origem" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Adicionar" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Testar conexão" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Testando…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -125480,6 +125664,12 @@ "value": "Remover da lista para assistir" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Relatar um problema" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -137934,7 +138124,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Conte aos administradores o que está errado. As outras pessoas neste servidor não veem isso." + "value": "Só você e os administradores podem ver seu relato." } ], "web.issues.report.descriptionChannels": [ @@ -137946,7 +138136,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Conte aos administradores o que está errado. As outras pessoas neste servidor não veem isso. O problema também é enviado, com o seu nome, ao rastreador de problemas usado pelos administradores." + "value": "Só você e os administradores podem ver seu relato no Silo. Ele também é enviado, com o seu nome, ao rastreador de problemas usado pelos administradores." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -138026,7 +138216,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Os detalhes da reprodução (versão e marcação de tempo) são incluídos para os administradores." + "value": "Os detalhes da reprodução (versão e marcação de tempo) são incluídos." } ], "web.issues.report.send": [ @@ -138079,6 +138269,12 @@ "value": "Relatar um problema" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Os detalhes deste título são incluídos." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -139153,6 +139349,12 @@ "value": "Adicionar país…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Adicionar tag…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -139201,6 +139403,18 @@ "value": "Países" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Tags personalizadas" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Seus próprios rótulos. Uma atualização de metadados nunca os altera, e um perfil pode ocultar os títulos que os têm." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -148117,6 +148331,12 @@ "value": "Não foi possível permitir os títulos da coleção" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Oculto por uma tag" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -148813,6 +149033,88 @@ "value": "Configure o armazenamento privado de avatares no S3 para permitir o envio de avatares de perfil." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Este perfil não pode ver nem reproduzir títulos que tenham qualquer uma destas tags personalizadas." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Não foi possível carregar as tags personalizadas." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Nenhum título tem tags personalizadas ainda. As tags são adicionadas em Editar metadados de um título, em Tags e gêneros." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Escolha pelo menos uma tag." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Pesquisar tags" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Ocultar títulos com tags" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " título" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " de títulos" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " títulos" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -148853,6 +149155,64 @@ "value": "Qualquer qualidade" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Oculta " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tag" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Oculta " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " de tags" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Oculta " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tags" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/pt-PT.json b/web/src/locales/pt-PT.json index 72ed6e05689..8d57befd78b 100644 --- a/web/src/locales/pt-PT.json +++ b/web/src/locales/pt-PT.json @@ -66012,6 +66012,18 @@ "value": "Repositório removido" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Não foi possível testar a ligação ao repositório." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Selecione um perfil de administrador antes de testar um repositório." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -66544,18 +66556,136 @@ "value": "Adicionar repositório" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Adicionar repositório de plugins" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autenticado" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Enviado ao anfitrião do repositório como cabeçalho Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Use um token de acesso do Forgejo ou do Gitea com o âmbito read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Use um token de acesso pessoal detalhado (fine-grained) do GitHub com acesso Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Use um token de acesso de projeto, de grupo ou pessoal do GitLab com a função Reporter e o âmbito read_api (os Deploy Tokens não suportam a API Releases)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Palavra-passe ou token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "O anfitrião do repositório mudou. Introduza novamente a credencial para guardar." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Deixe em branco para manter a credencial guardada" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Token de acesso" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autenticação" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Nenhuma (público)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Token de acesso" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Nome de utilizador" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Onde o Silo encontra plugins." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Adicione um URL de índice de catálogo do Silo ou um repositório de plugins direto do GitHub, GitLab, Forgejo ou Gitea para atualizações automáticas." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Desativar" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Editar" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Editar o repositório " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Editar repositório de plugins" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -66568,6 +66698,12 @@ "value": "Ativar" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "O Silo lê versões (releases) que contenham binários por plataforma (por exemplo, plugin-linux-amd64), checksums.txt e manifest.json (anexado à versão ou no repositório, na tag da versão)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -66602,12 +66738,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Índice de catálogo (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repositório Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repositório Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repositório GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repositório GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Tipo de origem" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Adicionar" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Testar ligação" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "A testar…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -125882,6 +126066,12 @@ "value": "Remover da lista para ver" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Comunicar um problema" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -138380,7 +138570,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Informe os administradores sobre o que está errado. As outras pessoas neste servidor não o veem." + "value": "O seu relatório só é visível para si e para os administradores." } ], "web.issues.report.descriptionChannels": [ @@ -138392,7 +138582,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Informe os administradores sobre o que está errado. As outras pessoas neste servidor não o veem. Também é enviado, com o seu nome, para o sistema de registo de problemas que os administradores usam." + "value": "No Silo, o seu relatório só é visível para si e para os administradores. Também é enviado, com o seu nome, para o sistema de registo de problemas que os administradores usam." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -138472,7 +138662,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Os detalhes da reprodução (versão e posição) são incluídos para os administradores." + "value": "Os detalhes da reprodução (versão e posição) são incluídos." } ], "web.issues.report.send": [ @@ -138525,6 +138715,12 @@ "value": "Comunicar um problema" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "São incluídos detalhes sobre este título." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -139611,6 +139807,12 @@ "value": "Adicionar país…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Adicionar etiqueta…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -139659,6 +139861,18 @@ "value": "Países" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Etiquetas personalizadas" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "As suas próprias etiquetas. Uma atualização de metadados nunca as altera, e um perfil pode ocultar os títulos que as têm." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -148595,6 +148809,12 @@ "value": "Não foi possível permitir os títulos da coleção" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Oculto por uma etiqueta" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -149291,6 +149511,88 @@ "value": "Configure o armazenamento S3 privado de avatares para permitir carregar avatares de perfil." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Este perfil não pode ver nem reproduzir títulos que tenham qualquer uma destas etiquetas personalizadas." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Não foi possível carregar as etiquetas personalizadas." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Ainda nenhum título tem etiquetas personalizadas. As etiquetas são adicionadas em Editar metadados de cada título, em Etiquetas e géneros." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Escolha pelo menos uma etiqueta." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Pesquisar etiquetas" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Ocultar títulos com etiquetas" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " título" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " de títulos" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " títulos" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -149327,6 +149629,64 @@ "value": "Qualquer qualidade" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Oculta " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " etiqueta" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Oculta " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " de etiquetas" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Oculta " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " etiquetas" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/ro.json b/web/src/locales/ro.json index b54f8e36555..e1e69d6c24e 100644 --- a/web/src/locales/ro.json +++ b/web/src/locales/ro.json @@ -65812,6 +65812,18 @@ "value": "Depozitul a fost eliminat" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Nu s-a putut testa conexiunea la depozit." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Selectați un profil de administrator înainte de a testa un depozit." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -66344,18 +66356,136 @@ "value": "Adăugați un depozit" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Adăugați un depozit de pluginuri" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autentificat" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Se trimite gazdei depozitului ca antet Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Folosiți un token de acces Forgejo sau Gitea cu domeniul read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Folosiți un token de acces personal GitHub cu permisiuni detaliate (fine-grained), cu accesul Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Folosiți un token de acces GitLab de proiect, de grup sau personal, cu rolul Reporter și domeniul read_api (tokenurile de implementare, Deploy Tokens, nu acceptă API-ul Releases)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Parolă sau token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Gazda depozitului s-a modificat. Introduceți din nou datele de autentificare pentru a salva." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Lăsați gol pentru a păstra datele de autentificare salvate" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Token de acces" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autentificare" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Fără (public)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Token de acces" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Nume de utilizator" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Locurile în care Silo găsește pluginuri." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Adăugați adresa URL a unui index de catalog Silo sau un depozit de pluginuri GitHub, GitLab, Forgejo sau Gitea direct, pentru actualizări automate." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Dezactivați" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Editați" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Editați depozitul " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Editați depozitul de pluginuri" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -66368,6 +66498,12 @@ "value": "Activați" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo citește versiunile publicate (releases) care conțin fișiere binare pentru platforme (de exemplu, plugin-linux-amd64), checksums.txt și manifest.json (atașat versiunii sau aflat în depozit la tagul versiunii)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -66402,12 +66538,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Index de catalog (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Depozit Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Depozit Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Depozit GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Depozit GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Tipul sursei" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Adăugați" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Testați conexiunea" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Se testează…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -125948,6 +126132,12 @@ "value": "Eliminați din lista de vizionare" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Raportați o problemă" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -138472,7 +138662,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Spuneți-le administratorilor ce nu este în regulă. Celelalte persoane de pe acest server nu o văd." + "value": "Raportul poate fi văzut doar de dvs. și de administratori." } ], "web.issues.report.descriptionChannels": [ @@ -138484,7 +138674,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Spuneți-le administratorilor ce nu este în regulă. Celelalte persoane de pe acest server nu o văd. Problema este trimisă, împreună cu numele dvs., și în sistemul de urmărire a problemelor pe care îl folosesc administratorii." + "value": "În Silo, raportul poate fi văzut doar de dvs. și de administratori. Este trimis, împreună cu numele dvs., și către sistemul de urmărire a problemelor pe care îl folosesc administratorii." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -138564,7 +138754,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Detaliile redării (versiunea și marcajul de timp) sunt incluse pentru administratori." + "value": "Sunt incluse detaliile redării (versiunea și marcajul de timp)." } ], "web.issues.report.send": [ @@ -138617,6 +138807,12 @@ "value": "Raportați o problemă" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Sunt incluse detalii despre acest titlu." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -139711,6 +139907,12 @@ "value": "Adăugați o țară…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Adăugați o etichetă…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -139759,6 +139961,18 @@ "value": "Țări" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Etichete personalizate" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Etichetele dvs. O reîmprospătare a metadatelor nu le modifică niciodată, iar un profil poate ascunde titlurile care le poartă." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -148743,6 +148957,12 @@ "value": "Nu s-au putut permite titlurile colecției" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Ascuns printr-o etichetă" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -149439,6 +149659,88 @@ "value": "Configurați stocarea privată S3 pentru avatare pentru a activa avatarele de profil încărcate." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Acest profil nu poate vedea sau reda titlurile care poartă oricare dintre aceste etichete personalizate." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Nu s-au putut încărca etichetele personalizate." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Niciun titlu nu are încă etichete personalizate. Puteți adăuga etichete din editarea metadatelor unui titlu, la Etichete și genuri." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Alegeți cel puțin o etichetă." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Căutați etichete" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Ascunderea titlurilor cu etichete" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titlu" + } + ] + }, + "few": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titluri" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " de titluri" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -149475,6 +149777,64 @@ "value": "Orice calitate" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Ascunde " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " etichetă" + } + ] + }, + "few": { + "value": [ + { + "type": 0, + "value": "Ascunde " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " etichete" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Ascunde " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " de etichete" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/ru.json b/web/src/locales/ru.json index 47d9208f27e..5c5c39ef8e5 100644 --- a/web/src/locales/ru.json +++ b/web/src/locales/ru.json @@ -73275,6 +73275,18 @@ "value": "Репозиторий удалён" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Не удалось проверить подключение к репозиторию." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Выберите профиль администратора, прежде чем проверять репозиторий." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -73839,18 +73851,140 @@ "value": "Добавить репозиторий" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Добавить репозиторий плагинов" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "С аутентификацией" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Отправляется на хост репозитория в заголовке Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Используйте токен доступа Forgejo или Gitea с областью read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Используйте детализированный персональный токен доступа GitHub (fine-grained) с правом Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Используйте токен доступа проекта, группы или личный токен доступа GitLab с ролью Reporter и областью read_api (токены развёртывания (Deploy Tokens) не поддерживают Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Пароль или токен" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Хост репозитория изменился. Введите учётные данные заново, чтобы сохранить." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Оставьте пустым, чтобы сохранить текущие учётные данные" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Токен доступа" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Аутентификация" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Нет (публичный)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Токен доступа" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Имя пользователя" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Где Silo ищет плагины." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Добавьте URL индекса каталога Silo или прямую ссылку на репозиторий плагина на GitHub, GitLab, Forgejo или Gitea, чтобы получать автоматические обновления." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Отключить" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Изменить" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Изменить репозиторий «" + }, + { + "type": 1, + "value": "name" + }, + { + "type": 0, + "value": "»" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Изменить репозиторий плагинов" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -73863,6 +73997,12 @@ "value": "Включить" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo читает релизы, содержащие исполняемые файлы для платформ (например, plugin-linux-amd64), checksums.txt и manifest.json (прикреплённый к релизу или лежащий в репозитории на теге релиза)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -73897,12 +74037,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Индекс каталога (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Репозиторий Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Репозиторий Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Репозиторий GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Репозиторий GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Тип источника" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Добавить" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Проверить подключение" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Проверка…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -137451,6 +137639,12 @@ "value": "Удалить из списка просмотра" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Сообщить о проблеме" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -150839,7 +151033,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Сообщите администраторам, что не так. Другие пользователи этого сервера не увидят ваше сообщение." + "value": "Ваше сообщение увидите только вы и администраторы." } ], "web.issues.report.descriptionChannels": [ @@ -150851,7 +151045,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Сообщите администраторам, что не так. Другие пользователи этого сервера не увидят ваше сообщение. Оно также будет отправлено вместе с вашим именем в систему отслеживания проблем, которую используют администраторы." + "value": "В Silo ваше сообщение увидите только вы и администраторы. Оно также будет отправлено вместе с вашим именем в систему отслеживания проблем, которую используют администраторы." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -150931,7 +151125,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Администраторам будут отправлены сведения о воспроизведении (версия и отметка времени)." + "value": "Будут приложены сведения о воспроизведении (версия и отметка времени)." } ], "web.issues.report.send": [ @@ -150984,6 +151178,12 @@ "value": "Сообщить о проблеме" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Будут приложены сведения об этом контенте." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -152140,6 +152340,12 @@ "value": "Добавить страну…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Добавить тег…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -152188,6 +152394,18 @@ "value": "Страны" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Пользовательские теги" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Ваши собственные метки. Обновление метаданных их не изменяет, а профиль может скрывать фильмы и сериалы с этими метками." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -161730,6 +161948,12 @@ "value": "Не удалось разрешить фильмы и сериалы из коллекции" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Скрыто тегом" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -162486,6 +162710,100 @@ "value": "Настройте частное хранилище аватаров S3, чтобы включить загрузку аватаров профилей." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "В этом профиле нельзя видеть и воспроизводить фильмы и сериалы, у которых есть любой из этих пользовательских тегов." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Не удалось загрузить пользовательские теги." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Пока ни у одного фильма или сериала нет пользовательских тегов. Теги добавляются в окне «Изменить метаданные» фильма или сериала, в разделе «Теги и жанры»." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Выберите хотя бы один тег." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Поиск тегов" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Скрывать фильмы и сериалы с тегами" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " фильм или сериал" + } + ] + }, + "few": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " фильма или сериала" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " фильмов и сериалов" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " фильма или сериала" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -162522,6 +162840,80 @@ "value": "Любое качество" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Скрывает " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " тег" + } + ] + }, + "few": { + "value": [ + { + "type": 0, + "value": "Скрывает " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " тега" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Скрывает " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " тегов" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Скрывает " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " тега" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/sk.json b/web/src/locales/sk.json index 632cea6a6c6..cc646cda29d 100644 --- a/web/src/locales/sk.json +++ b/web/src/locales/sk.json @@ -72570,6 +72570,18 @@ "value": "Repozitár bol odobratý" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Nepodarilo sa otestovať pripojenie k repozitáru." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Pred testovaním repozitára vyberte profil správcu." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -73134,18 +73146,136 @@ "value": "Pridať repozitár" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Pridať repozitár doplnkov" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Overené" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Odosiela sa hostiteľovi repozitára ako hlavička Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Použite prístupový token Forgejo alebo Gitea s rozsahom read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Použite podrobný osobný prístupový token GitHub (fine-grained) s prístupom Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Použite projektový, skupinový alebo osobný prístupový token GitLab s rolou Reporter a rozsahom read_api (tokeny Deploy Tokens nepodporujú rozhranie Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Heslo alebo token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Hostiteľ repozitára sa zmenil. Ak chcete uložiť zmeny, znova zadajte prihlasovacie údaje." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Ak chcete ponechať uložené prihlasovacie údaje, nechajte pole prázdne" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Prístupový token" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Overenie" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Žiadne (verejný)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Prístupový token" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Používateľské meno" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Kde Silo hľadá doplnky." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Pridajte URL indexu katalógu Silo alebo priamo repozitár doplnku na GitHube, GitLabe, Forgejo alebo Gitea na automatické aktualizácie." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Vypnúť" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Upraviť" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Upraviť repozitár " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Upraviť repozitár doplnkov" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -73158,6 +73288,12 @@ "value": "Zapnúť" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo číta vydania, ktoré obsahujú binárne súbory pre platformy (napríklad plugin-linux-amd64), checksums.txt a manifest.json (priložený k vydaniu alebo v repozitári pri značke vydania)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -73192,12 +73328,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Index katalógu (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repozitár Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repozitár Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repozitár GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repozitár GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Typ zdroja" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Pridať" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Otestovať pripojenie" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Testuje sa…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -136635,6 +136819,12 @@ "value": "Odobrať zo zoznamu na pozretie" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Nahlásiť problém" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -150065,7 +150255,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Dajte správcom vedieť, čo je zle. Ostatní ľudia na tomto serveri to nevidia." + "value": "Vaše hlásenie vidíte iba vy a správcovia." } ], "web.issues.report.descriptionChannels": [ @@ -150077,7 +150267,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Dajte správcom vedieť, čo je zle. Ostatní ľudia na tomto serveri to nevidia. Hlásenie sa spolu s vaším menom odošle aj do systému na sledovanie problémov, ktorý správcovia používajú." + "value": "Vaše hlásenie v aplikácii Silo vidíte iba vy a správcovia. Spolu s vaším menom sa odošle aj do systému na sledovanie problémov, ktorý správcovia používajú." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -150157,7 +150347,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Pre správcov sú priložené podrobnosti o prehrávaní (verzia a časová značka)." + "value": "Priložené sú podrobnosti o prehrávaní (verzia a časová značka)." } ], "web.issues.report.send": [ @@ -150210,6 +150400,12 @@ "value": "Nahlásiť problém" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Priložené sú podrobnosti o tomto titule." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -151375,6 +151571,12 @@ "value": "Pridať krajinu…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Pridať značku…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -151423,6 +151625,18 @@ "value": "Krajiny" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Vlastné značky" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Vaše vlastné označenia. Aktualizácia metadát ich nikdy nezmení a profil môže skryť tituly, ktoré ich majú." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -160981,6 +161195,12 @@ "value": "Nepodarilo sa povoliť tituly z kolekcie" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Skryté značkou" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -161721,6 +161941,100 @@ "value": "Ak chcete povoliť nahrané avatary profilov, nakonfigurujte súkromné úložisko avatarov S3." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Tento profil nemôže zobraziť ani prehrať tituly, ktoré majú niektorú z týchto vlastných značiek." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Nepodarilo sa načítať vlastné značky." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Zatiaľ žiadny titul nemá vlastné značky. Značky sa pridávajú pri titule v okne Upraviť metadáta, v sekcii Značky a žánre." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Vyberte aspoň jednu značku." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Hľadať značky" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Skryť tituly so značkami" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titul" + } + ] + }, + "few": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " tituly" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titulu" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titulov" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -161757,6 +162071,80 @@ "value": "Ľubovoľná kvalita" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Skrýva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " značku" + } + ] + }, + "few": { + "value": [ + { + "type": 0, + "value": "Skrýva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " značky" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Skrýva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " značky" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Skrýva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " značiek" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/sl.json b/web/src/locales/sl.json index eb8b4fd4de1..8d3034ca798 100644 --- a/web/src/locales/sl.json +++ b/web/src/locales/sl.json @@ -72389,6 +72389,18 @@ "value": "Repozitorij je odstranjen" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Povezave z repozitorijem ni bilo mogoče preizkusiti." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Pred preizkušanjem repozitorija izberite skrbniški profil." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -72953,18 +72965,136 @@ "value": "Dodaj repozitorij" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Dodaj repozitorij vtičnikov" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Preverjeno" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Pošlje se gostitelju repozitorija kot glava Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Uporabite dostopni žeton Forgejo ali Gitea z obsegom read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Uporabite natančno nastavljen osebni dostopni žeton GitHub z dostopom Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Uporabite projektni, skupinski ali osebni dostopni žeton GitLab z vlogo Reporter in obsegom read_api (žetoni Deploy Tokens ne podpirajo vmesnika Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Geslo ali žeton" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Gostitelj repozitorija se je spremenil. Za shranjevanje znova vnesite poverilnico." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Pustite prazno, da obdržite shranjeno poverilnico" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Dostopni žeton" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Preverjanje pristnosti" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Brez (javno)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Dostopni žeton" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Uporabniško ime" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Kje Silo najde vtičnike." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Za samodejne posodobitve dodajte URL kazala kataloga Silo ali neposredni repozitorij vtičnikov GitHub, GitLab, Forgejo ali Gitea." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Onemogoči" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Uredi" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Uredi repozitorij " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Uredi repozitorij vtičnikov" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -72977,6 +73107,12 @@ "value": "Omogoči" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo bere izdaje, ki vsebujejo binarne datoteke za platforme (na primer plugin-linux-amd64), checksums.txt in manifest.json (priložen izdaji ali v repozitoriju pri oznaki izdaje)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -73011,12 +73147,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Kazalo kataloga (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Repozitorij Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Repozitorij Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Repozitorij GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Repozitorij GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Vrsta vira" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Dodaj" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Preizkusi povezavo" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Preizkušanje …" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -136271,6 +136455,12 @@ "value": "Odstrani s seznama za ogled" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Prijavi težavo" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -149501,7 +149691,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Sporočite skrbnikom, kaj je narobe. Drugi uporabniki na tem strežniku je ne vidijo." + "value": "Vašo prijavo lahko vidite samo vi in skrbniki." } ], "web.issues.report.descriptionChannels": [ @@ -149513,7 +149703,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Sporočite skrbnikom, kaj je narobe. Drugi uporabniki na tem strežniku je ne vidijo. Skupaj z vašim imenom se pošlje tudi v sistem za sledenje težavam, ki ga uporabljajo skrbniki." + "value": "Vašo prijavo lahko v aplikaciji Silo vidite samo vi in skrbniki. Skupaj z vašim imenom se pošlje tudi v sistem za sledenje težavam, ki ga uporabljajo skrbniki." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -149593,7 +149783,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Podrobnosti predvajanja (različica in časovni žig) so priložene za skrbnike." + "value": "Podrobnosti predvajanja (različica in časovni žig) so priložene." } ], "web.issues.report.send": [ @@ -149646,6 +149836,12 @@ "value": "Prijavi težavo" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Podrobnosti o tem naslovu so priložene." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -150834,6 +151030,12 @@ "value": "Dodaj državo …" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Dodaj oznako …" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -150882,6 +151084,18 @@ "value": "Države" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Oznake po meri" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Vaše lastne oznake. Osvežitev metapodatkov jih nikoli ne spremeni, profil pa lahko skrije naslove, ki jih imajo." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -160380,6 +160594,12 @@ "value": "Naslovov zbirke ni bilo mogoče dovoliti" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Skrito z oznako" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -161120,6 +161340,100 @@ "value": "Za nalaganje avatarjev profilov konfigurirajte zasebno shrambo avatarjev S3." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Ta profil ne more videti ali predvajati naslovov, ki imajo katero koli od teh oznak po meri." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Oznak po meri ni bilo mogoče naložiti." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Noben naslov še nima oznak po meri. Oznake dodate pri naslovu v možnosti Uredi metapodatke, v razdelku Oznake in žanri." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Izberite vsaj eno oznako." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Išči oznake" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Skrij naslove z oznakami" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " naslov" + } + ] + }, + "two": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " naslova" + } + ] + }, + "few": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " naslovi" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " naslovov" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -161156,6 +161470,80 @@ "value": "Poljubna kakovost" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Skriva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " oznako" + } + ] + }, + "two": { + "value": [ + { + "type": 0, + "value": "Skriva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " oznaki" + } + ] + }, + "few": { + "value": [ + { + "type": 0, + "value": "Skriva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " oznake" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Skriva " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " oznak" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/sv.json b/web/src/locales/sv.json index d32821240df..e6f790074e7 100644 --- a/web/src/locales/sv.json +++ b/web/src/locales/sv.json @@ -59166,6 +59166,18 @@ "value": "Arkivet har tagits bort" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Det gick inte att testa anslutningen till arkivet." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Välj en administratörsprofil innan du testar ett arkiv." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59666,18 +59678,136 @@ "value": "Lägg till arkiv" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Lägg till plugin-arkiv" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Autentiserat" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Skickas som en Authorization: Bearer-header till arkivets värd." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Använd en åtkomsttoken för Forgejo eller Gitea med omfånget read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Använd en detaljerad personlig åtkomsttoken (fine-grained) för GitHub med behörigheten Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Använd en Project-, Group- eller Personal Access Token för GitLab med rollen Reporter och omfånget read_api (Deploy Tokens stöder inte Releases API:et)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Lösenord eller token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Arkivets värd har ändrats. Ange autentiseringsuppgiften igen för att spara." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Lämna tomt för att behålla sparad autentiseringsuppgift" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Åtkomsttoken" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Autentisering" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Ingen (offentligt)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Åtkomsttoken" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Användarnamn" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Där Silo hittar plugins." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Lägg till en URL till ett Silo-katalogindex eller ett direkt plugin-arkiv på GitHub, GitLab, Forgejo eller Gitea för automatiska uppdateringar." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Inaktivera" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Redigera" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Redigera " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Redigera plugin-arkiv" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59690,6 +59820,12 @@ "value": "Aktivera" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo läser releaser som innehåller plattformsbinärer (till exempel plugin-linux-amd64), checksums.txt och manifest.json (bifogad till releasen eller i arkivet vid releasens tagg)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59724,12 +59860,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Katalogindex (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo-arkiv" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea-arkiv" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub-arkiv" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab-arkiv" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Källtyp" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Lägg till" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Testa anslutning" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Testar…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -115171,6 +115355,12 @@ "value": "Ta bort från bevakningslista" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Rapportera ett problem" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -126893,7 +127083,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Berätta för administratörerna vad som är fel. Andra på den här servern ser det inte." + "value": "Endast du och administratörerna kan se din rapport." } ], "web.issues.report.descriptionChannels": [ @@ -126905,7 +127095,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Berätta för administratörerna vad som är fel. Andra på den här servern ser det inte. Det skickas också, med ditt namn, till det ärendesystem som administratörerna använder." + "value": "Endast du och administratörerna kan se din rapport i Silo. Den skickas också, med ditt namn, till det ärendesystem som administratörerna använder." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -126985,7 +127175,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Uppspelningsinformation (version och tidpunkt) skickas med till administratörerna." + "value": "Uppspelningsinformation (version och tidpunkt) skickas med." } ], "web.issues.report.send": [ @@ -127038,6 +127228,12 @@ "value": "Rapportera ett problem" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Information om den här titeln skickas med." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -128041,6 +128237,12 @@ "value": "Lägg till land…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Lägg till tagg…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -128089,6 +128291,18 @@ "value": "Länder" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Egna taggar" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Dina egna etiketter. En uppdatering av metadata ändrar dem aldrig, och en profil kan dölja titlarna som har dem." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -136491,6 +136705,12 @@ "value": "Det gick inte att tillåta samlingens titlar" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Dold av en tagg" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -137147,6 +137367,76 @@ "value": "Konfigurera privat S3-lagring för avatarer för att kunna ladda upp egna profilavatarer." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Den här profilen kan inte se eller spela upp titlar som har någon av de här egna taggarna." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Det gick inte att läsa in de egna taggarna." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Inga titlar har egna taggar än. Du lägger till taggar i Redigera metadata för en titel, under Taggar och genrer." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Välj minst en tagg." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Sök taggar" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Dölj titlar med taggar" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titel" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " titlar" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -137183,6 +137473,48 @@ "value": "Valfri kvalitet" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Döljer " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " tagg" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Döljer " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " taggar" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/th.json b/web/src/locales/th.json index 5f470166b34..94fb3e3f5af 100644 --- a/web/src/locales/th.json +++ b/web/src/locales/th.json @@ -53747,6 +53747,18 @@ "value": "นำที่เก็บออกแล้ว" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "ทดสอบการเชื่อมต่อที่เก็บไม่ได้" + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "โปรดเลือกโปรไฟล์ผู้ดูแลระบบก่อนทดสอบที่เก็บ" + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -54219,18 +54231,136 @@ "value": "เพิ่มที่เก็บ" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "เพิ่มที่เก็บปลั๊กอิน" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "ยืนยันตัวตนแล้ว" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "ส่งเป็นส่วนหัว Authorization: Bearer ไปยังโฮสต์ของที่เก็บ" + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "ใช้โทเค็นเพื่อการเข้าถึงของ Forgejo หรือ Gitea ที่มีขอบเขต read:repository" + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "ใช้ fine-grained personal access token ของ GitHub ที่มีสิทธิ์ Contents: Read-only" + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "ใช้ Project Access Token, Group Access Token หรือ Personal Access Token ของ GitLab ที่มีบทบาท Reporter และขอบเขต read_api (Deploy Token ไม่รองรับ Releases API)" + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "รหัสผ่านหรือโทเค็น" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "โฮสต์ของที่เก็บเปลี่ยนไปแล้ว โปรดป้อนข้อมูลรับรองอีกครั้งเพื่อบันทึก" + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "เว้นว่างไว้เพื่อใช้ข้อมูลรับรองที่บันทึกไว้" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "โทเค็นเพื่อการเข้าถึง" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "การยืนยันตัวตน" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "ไม่มี (สาธารณะ)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "โทเค็นเพื่อการเข้าถึง" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "ชื่อผู้ใช้" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "แหล่งที่ Silo ใช้ค้นหาปลั๊กอิน" } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "เพิ่ม URL ดัชนีแค็ตตาล็อกของ Silo หรือที่เก็บปลั๊กอินบน GitHub GitLab Forgejo หรือ Gitea โดยตรงเพื่อรับการอัปเดตอัตโนมัติ" + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "ปิดใช้" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "แก้ไข" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "แก้ไข " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "แก้ไขที่เก็บปลั๊กอิน" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -54243,6 +54373,12 @@ "value": "เปิดใช้" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo อ่านรุ่นที่เผยแพร่ซึ่งมีไบนารีของแต่ละแพลตฟอร์ม (เช่น plugin-linux-amd64) checksums.txt และ manifest.json (แนบไว้กับรุ่นที่เผยแพร่หรืออยู่ในที่เก็บที่แท็กของรุ่นนั้น)" + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -54281,12 +54417,60 @@ "value": " ออก" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "ดัชนีแค็ตตาล็อก (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "ที่เก็บ Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "ที่เก็บ Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "ที่เก็บ GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "ที่เก็บ GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "ประเภทแหล่งที่มา" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "เพิ่ม" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "ทดสอบการเชื่อมต่อ" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "กำลังทดสอบ…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -106166,6 +106350,12 @@ "value": "นำออกจากรายการที่อยากดู" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "รายงานปัญหา" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -117260,7 +117450,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "แจ้งผู้ดูแลระบบว่าเกิดปัญหาอะไร ผู้ใช้อื่นบนเซิร์ฟเวอร์นี้จะไม่เห็นปัญหานี้" + "value": "เฉพาะคุณและผู้ดูแลระบบเท่านั้นที่ดูรายงานนี้ได้" } ], "web.issues.report.descriptionChannels": [ @@ -117272,7 +117462,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "แจ้งผู้ดูแลระบบว่าเกิดปัญหาอะไร ผู้ใช้อื่นบนเซิร์ฟเวอร์นี้จะไม่เห็นปัญหานี้ ระบบจะส่งปัญหานี้พร้อมชื่อของคุณไปยังระบบติดตามปัญหาที่ผู้ดูแลระบบใช้ด้วย" + "value": "เฉพาะคุณและผู้ดูแลระบบเท่านั้นที่ดูรายงานนี้ใน Silo ได้ ระบบจะส่งรายงานนี้พร้อมชื่อของคุณไปยังระบบติดตามปัญหาที่ผู้ดูแลระบบใช้ด้วย" } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -117352,7 +117542,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "ระบบจะส่งรายละเอียดการเล่น (เวอร์ชันและตำแหน่งเวลา) ให้ผู้ดูแลระบบด้วย" + "value": "ระบบจะแนบรายละเอียดการเล่น (เวอร์ชันและตำแหน่งเวลา) ไปด้วย" } ], "web.issues.report.send": [ @@ -117405,6 +117595,12 @@ "value": "รายงานปัญหา" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "ระบบจะแนบรายละเอียดของเรื่องนี้ไปด้วย" + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -118340,6 +118536,12 @@ "value": "เพิ่มประเทศ…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "เพิ่มแท็ก…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -118388,6 +118590,18 @@ "value": "ประเทศ" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "แท็กที่กำหนดเอง" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "ป้ายกำกับของคุณเอง การรีเฟรชข้อมูลเมตาจะไม่เปลี่ยนแท็กเหล่านี้ และโปรไฟล์ซ่อนเรื่องที่มีแท็กเหล่านี้ได้" + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -126300,6 +126514,12 @@ "value": "อนุญาตเรื่องในคอลเลกชันไม่ได้" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "ซ่อนเพราะมีแท็ก" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -126928,6 +127148,64 @@ "value": "กำหนดค่าพื้นที่จัดเก็บอวตารแบบส่วนตัวใน S3 เพื่อเปิดใช้อวตารโปรไฟล์ที่อัปโหลด" } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "โปรไฟล์นี้จะดูหรือเล่นเรื่องที่มีแท็กที่กำหนดเองแท็กใดแท็กหนึ่งต่อไปนี้ไม่ได้" + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "โหลดแท็กที่กำหนดเองไม่ได้" + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "ยังไม่มีเรื่องใดที่มีแท็กที่กำหนดเอง เพิ่มแท็กได้ในหน้าแก้ไขข้อมูลเมตาของเรื่อง ใต้หัวข้อแท็กและประเภท" + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "เลือกแท็กอย่างน้อย 1 แท็ก" + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "ค้นหาแท็ก" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "ซ่อนเรื่องที่มีแท็ก" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " เรื่อง" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -126968,6 +127246,32 @@ "value": "คุณภาพใดก็ได้" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 0, + "value": "ซ่อน " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " แท็ก" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/tr.json b/web/src/locales/tr.json index 15b159e6b57..2c04faef8fc 100644 --- a/web/src/locales/tr.json +++ b/web/src/locales/tr.json @@ -58666,6 +58666,18 @@ "value": "Depo kaldırıldı" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Depo bağlantısı test edilemedi." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Bir depoyu test etmeden önce bir yönetici profili seçin." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59166,18 +59178,136 @@ "value": "Depo ekle" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Eklenti deposu ekle" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Kimliği doğrulandı" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Depo ana bilgisayarına Authorization: Bearer üst bilgisi olarak gönderilir." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "read:repository kapsamına sahip bir Forgejo veya Gitea erişim token’ı kullanın." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Contents: Read-only erişimine sahip, ayrıntılı izinli bir GitHub kişisel erişim token’ı kullanın." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Reporter rolüne ve read_api kapsamına sahip bir GitLab proje, grup veya kişisel erişim token’ı kullanın (Deploy Token’lar Releases API’yi desteklemez)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Parola veya token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Depo ana bilgisayarı değişti. Kaydetmek için kimlik bilgisini yeniden girin." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Kayıtlı kimlik bilgisini korumak için boş bırakın" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Erişim token’ı" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Kimlik doğrulama" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Yok (herkese açık)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Erişim token’ı" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Kullanıcı adı" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Silo’nun eklentileri bulduğu yer." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Otomatik güncellemeler için bir Silo katalog dizini URL’si veya doğrudan bir GitHub, GitLab, Forgejo ya da Gitea eklenti deposu ekleyin." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Devre dışı bırak" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Düzenle" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Düzenle: " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Eklenti deposunu düzenle" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59190,6 +59320,12 @@ "value": "Etkinleştir" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo; platform ikili dosyalarını (örneğin plugin-linux-amd64), checksums.txt dosyasını ve manifest.json dosyasını (sürüme ekli ya da depoda sürüm etiketinde) içeren sürümleri okur." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59224,12 +59360,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Katalog dizini (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo deposu" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea deposu" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub deposu" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab deposu" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Kaynak türü" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Ekle" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Bağlantıyı test et" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Test ediliyor…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -114001,6 +114185,12 @@ "value": "İzleme listesinden kaldır" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Sorun bildir" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -125611,7 +125801,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Yöneticilere sorunun ne olduğunu bildirin. Bu sunucudaki diğer kişiler bunu görmez." + "value": "Bildiriminizi yalnızca siz ve yöneticiler görebilir." } ], "web.issues.report.descriptionChannels": [ @@ -125623,7 +125813,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Yöneticilere sorunun ne olduğunu bildirin. Bu sunucudaki diğer kişiler bunu görmez. Sorun, adınızla birlikte yöneticilerin kullandığı sorun takip sistemine de gönderilir." + "value": "Bildiriminizi Silo’da yalnızca siz ve yöneticiler görebilir. Bildiriminiz, adınızla birlikte yöneticilerin kullandığı sorun takip sistemine de gönderilir." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -125699,7 +125889,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Oynatma ayrıntıları (sürüm ve zaman damgası) yöneticiler için eklenir." + "value": "Oynatma ayrıntıları (sürüm ve zaman damgası) eklenir." } ], "web.issues.report.send": [ @@ -125756,6 +125946,12 @@ "value": "Sorun bildir" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Bu içerikle ilgili ayrıntılar eklenir." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -126747,6 +126943,12 @@ "value": "Ülke ekle…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Etiket ekle…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -126795,6 +126997,18 @@ "value": "Ülkeler" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Özel etiketler" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Kendi etiketleriniz. Meta veri yenilemesi bunları hiçbir zaman değiştirmez ve bir profil, bu etiketleri taşıyan içerikleri gizleyebilir." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -135073,6 +135287,12 @@ "value": "Koleksiyondaki içeriklere izin verilemedi" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Bir etiket nedeniyle gizlendi" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -135729,6 +135949,76 @@ "value": "Yüklenen profil avatarlarını etkinleştirmek için özel S3 avatar depolamasını yapılandırın." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Bu profil, bu özel etiketlerden herhangi birini taşıyan içerikleri göremez ve oynatamaz." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Özel etiketler yüklenemedi." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Henüz hiçbir içeriğin özel etiketi yok. Etiketler, bir içeriğin “Meta verileri düzenle” ekranında, “Etiketler ve türler” altında eklenir." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "En az bir etiket seçin." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Etiket ara" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Etiketli içerikleri gizle" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " içerik" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " içerik" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -135765,6 +136055,40 @@ "value": "Her kalite" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " etiket gizli" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " etiket gizli" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/uk.json b/web/src/locales/uk.json index c332fcaa615..4a64e0fc169 100644 --- a/web/src/locales/uk.json +++ b/web/src/locales/uk.json @@ -72369,6 +72369,18 @@ "value": "Репозиторій вилучено" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Не вдалося перевірити з’єднання з репозиторієм." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Виберіть профіль адміністратора, перш ніж перевіряти репозиторій." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -72933,18 +72945,136 @@ "value": "Додати репозиторій" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Додати репозиторій плагінів" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Автентифіковано" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Надсилається на хост репозиторію як заголовок Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Використовуйте токен доступу Forgejo або Gitea з областю read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Використовуйте детальний персональний токен доступу GitHub (fine-grained) з дозволом Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Використовуйте токен доступу GitLab для проєкту, групи або персональний токен із роллю Reporter та областю read_api (токени розгортання, Deploy Tokens, не підтримують Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Пароль або токен" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Хост репозиторію змінено. Щоб зберегти, введіть облікові дані ще раз." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Залиште порожнім, щоб зберегти поточні облікові дані" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Токен доступу" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Автентифікація" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Немає (загальнодоступний)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Токен доступу" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Ім’я користувача" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Звідки Silo бере плагіни." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Додайте URL-адресу індексу каталогу Silo або прямий репозиторій плагіна на GitHub, GitLab, Forgejo чи Gitea для автоматичних оновлень." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Вимкнути" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Редагувати" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Редагувати " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Редагувати репозиторій плагінів" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -72957,6 +73087,12 @@ "value": "Увімкнути" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo читає релізи, що містять двійкові файли для платформ (наприклад, plugin-linux-amd64), checksums.txt і manifest.json (долучений до релізу або в репозиторії за тегом релізу)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -72991,12 +73127,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Індекс каталогу (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Репозиторій Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Репозиторій Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Репозиторій GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Репозиторій GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Тип джерела" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Додати" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Перевірити з’єднання" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Перевірка…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -136145,6 +136329,12 @@ "value": "Вилучити зі списку перегляду" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Повідомити про проблему" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -149477,7 +149667,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Повідомте адміністраторам, що не так. Інші користувачі цього сервера вашого повідомлення не бачать." + "value": "Ваше повідомлення бачите лише ви та адміністратори." } ], "web.issues.report.descriptionChannels": [ @@ -149489,7 +149679,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Повідомте адміністраторам, що не так. Інші користувачі цього сервера вашого повідомлення не бачать. Його також разом із вашим ім’ям буде надіслано до системи відстеження проблем, якою користуються адміністратори." + "value": "Ваше повідомлення в Silo бачите лише ви та адміністратори. Його також разом із вашим ім’ям буде надіслано до системи відстеження проблем, якою користуються адміністратори." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -149569,7 +149759,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Відомості про відтворення (версія й позначка часу) буде додано для адміністраторів." + "value": "До повідомлення додано відомості про відтворення (версія й позначка часу)." } ], "web.issues.report.send": [ @@ -149622,6 +149812,12 @@ "value": "Повідомити про проблему" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "До повідомлення додано відомості про цей елемент." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -150758,6 +150954,12 @@ "value": "Додати країну…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Додати тег…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -150806,6 +151008,18 @@ "value": "Країни" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Власні теги" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Ваші власні мітки. Оновлення метаданих ніколи їх не змінює, а профіль може приховувати назви з ними." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -160356,6 +160570,12 @@ "value": "Не вдалося дозволити назви з колекції" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Приховано тегом" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -161100,6 +161320,100 @@ "value": "Налаштуйте приватне сховище аватарів S3, щоб можна було завантажувати аватари профілів." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Цей профіль не бачить і не може відтворювати назви з будь-яким із цих власних тегів." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Не вдалося завантажити власні теги." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Жодна назва ще не має власних тегів. Теги додають у вікні «Редагувати метадані» назви, у розділі «Теги й жанри»." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Виберіть принаймні один тег." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Шукати теги" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Приховувати назви з тегами" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " назва" + } + ] + }, + "few": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " назви" + } + ] + }, + "many": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " назв" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " назви" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -161136,6 +161450,80 @@ "value": "Будь-яка якість" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Приховує " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " тег" + } + ] + }, + "few": { + "value": [ + { + "type": 0, + "value": "Приховує " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " теги" + } + ] + }, + "many": { + "value": [ + { + "type": 0, + "value": "Приховує " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " тегів" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Приховує " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " тегу" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/vi.json b/web/src/locales/vi.json index 1f33c1adac5..998dbc1f735 100644 --- a/web/src/locales/vi.json +++ b/web/src/locales/vi.json @@ -59410,6 +59410,18 @@ "value": "Đã xóa kho lưu trữ" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "Không thể kiểm tra kết nối kho lưu trữ." + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "Chọn một hồ sơ quản trị viên trước khi kiểm tra kho lưu trữ." + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -59910,18 +59922,136 @@ "value": "Thêm kho lưu trữ" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "Thêm kho lưu trữ plugin" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "Đã xác thực" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "Được gửi đến máy chủ kho lưu trữ dưới dạng header Authorization: Bearer." + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "Dùng access token của Forgejo hoặc Gitea có phạm vi read:repository." + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "Dùng fine-grained personal access token của GitHub có quyền Contents: Read-only." + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "Dùng Project, Group hoặc Personal Access Token của GitLab có vai trò Reporter và phạm vi read_api (Deploy Token không hỗ trợ Releases API)." + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "Mật khẩu hoặc token" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "Máy chủ kho lưu trữ đã thay đổi. Nhập lại thông tin xác thực để lưu." + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "Để trống để giữ thông tin xác thực đã lưu" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "Access token" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "Xác thực" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "Không có (công khai)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "Access token" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "Tên người dùng" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Nơi Silo tìm plugin." } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "Thêm URL chỉ mục danh mục Silo hoặc kho lưu trữ plugin GitHub, GitLab, Forgejo hay Gitea trực tiếp để tự động cập nhật." + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "Tắt" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "Chỉnh sửa" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "Chỉnh sửa " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "Chỉnh sửa kho lưu trữ plugin" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -59934,6 +60064,12 @@ "value": "Bật" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo đọc các bản phát hành có chứa tệp nhị phân theo nền tảng (ví dụ: plugin-linux-amd64), checksums.txt và manifest.json (đính kèm trong bản phát hành hoặc nằm trong kho lưu trữ tại tag của bản phát hành)." + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -59968,12 +60104,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "Chỉ mục danh mục (JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Kho lưu trữ Forgejo" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Kho lưu trữ Gitea" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "Kho lưu trữ GitHub" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "Kho lưu trữ GitLab" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "Loại nguồn" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "Thêm" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "Kiểm tra kết nối" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "Đang kiểm tra…" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -115585,6 +115769,12 @@ "value": "Xóa khỏi danh sách xem" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "Báo cáo sự cố" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -127363,7 +127553,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "Cho quản trị viên biết có vấn đề gì. Người khác trên máy chủ này không thấy nội dung này." + "value": "Chỉ bạn và quản trị viên có thể xem báo cáo của bạn." } ], "web.issues.report.descriptionChannels": [ @@ -127375,7 +127565,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "Cho quản trị viên biết có vấn đề gì. Người khác trên máy chủ này không thấy nội dung này. Nội dung này cũng được gửi kèm tên của bạn đến công cụ theo dõi sự cố mà quản trị viên sử dụng." + "value": "Chỉ bạn và quản trị viên có thể xem báo cáo của bạn trong Silo. Báo cáo này cũng được gửi kèm tên của bạn đến công cụ theo dõi sự cố mà quản trị viên sử dụng." } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -127455,7 +127645,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "Thông tin phát (phiên bản và mốc thời gian) sẽ được gửi kèm cho quản trị viên." + "value": "Báo cáo có kèm thông tin phát (phiên bản và mốc thời gian)." } ], "web.issues.report.send": [ @@ -127508,6 +127698,12 @@ "value": "Báo cáo sự cố" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "Báo cáo có kèm thông tin về nội dung này." + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -128507,6 +128703,12 @@ "value": "Thêm quốc gia…" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "Thêm thẻ…" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -128555,6 +128757,18 @@ "value": "Quốc gia" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "Thẻ tùy chỉnh" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "Nhãn do bạn tự đặt. Làm mới siêu dữ liệu không bao giờ thay đổi chúng, và hồ sơ có thể ẩn các tựa mang các nhãn này." + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -136969,6 +137183,12 @@ "value": "Không thể cho phép các nội dung của bộ sưu tập" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "Bị ẩn do một thẻ" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -137625,6 +137845,76 @@ "value": "Cấu hình bộ nhớ S3 riêng tư cho ảnh đại diện để bật ảnh đại diện hồ sơ tải lên." } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "Hồ sơ này không thể xem hoặc phát các tựa mang bất kỳ thẻ tùy chỉnh nào trong số này." + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "Không thể tải các thẻ tùy chỉnh." + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "Chưa có tựa nào có thẻ tùy chỉnh. Thẻ được thêm trong mục Chỉnh sửa siêu dữ liệu của một tựa, tại Thẻ và thể loại." + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "Chọn ít nhất một thẻ." + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "Tìm kiếm thẻ" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "Ẩn các tựa có thẻ" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " tựa" + } + ] + }, + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " tựa" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -137661,6 +137951,48 @@ "value": "Mọi chất lượng" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "one": { + "value": [ + { + "type": 0, + "value": "Ẩn " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " thẻ" + } + ] + }, + "other": { + "value": [ + { + "type": 0, + "value": "Ẩn " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " thẻ" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/zh-Hans.json b/web/src/locales/zh-Hans.json index d760d7a7db8..f9a8a5903bc 100644 --- a/web/src/locales/zh-Hans.json +++ b/web/src/locales/zh-Hans.json @@ -53243,6 +53243,18 @@ "value": "已移除仓库" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "无法测试仓库连接。" + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "请先选择管理员个人资料,再测试仓库。" + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -53715,18 +53727,136 @@ "value": "添加仓库" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "添加插件仓库" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "已验证身份" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "以Authorization: Bearer标头发送到仓库主机。" + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "请使用具有read:repository范围的Forgejo或Gitea访问令牌。" + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "请使用具有Contents: Read-only权限的GitHub细粒度个人访问令牌。" + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "请使用具有Reporter角色和read_api范围的GitLab项目、群组或个人访问令牌(部署令牌不支持Releases API)。" + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "密码或令牌" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "仓库主机已更改。请重新输入凭据后再保存。" + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "留空则保留已保存的凭据" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "访问令牌" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "身份验证" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "无(公开)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "访问令牌" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "用户名" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Silo查找插件的位置。" } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "添加Silo目录索引URL,或直接添加GitHub、GitLab、Forgejo或Gitea插件仓库,以便自动更新。" + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "停用" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "编辑" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "编辑" + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "编辑插件仓库" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -53739,6 +53869,12 @@ "value": "启用" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo会读取包含平台二进制文件(例如plugin-linux-amd64)、checksums.txt和manifest.json(附加在发布版本中,或位于仓库中该发布版本的标签下)的发布版本。" + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -53773,12 +53909,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "目录索引(JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo仓库" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea仓库" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub仓库" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab仓库" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "来源类型" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "添加" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "测试连接" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "正在测试……" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -105702,6 +105886,12 @@ "value": "从待看清单中移除" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "报告问题" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -116744,7 +116934,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "告诉管理员出了什么问题。此服务器上的其他人看不到。" + "value": "只有你和管理员能看到你的报告。" } ], "web.issues.report.descriptionChannels": [ @@ -116756,7 +116946,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "告诉管理员出了什么问题。此服务器上的其他人看不到。问题还会连同你的名字一起发送到管理员使用的问题跟踪系统。" + "value": "在Silo中,只有你和管理员能看到你的报告。报告还会连同你的名字一起发送到管理员使用的问题跟踪系统。" } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -116836,7 +117026,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "将向管理员附上播放详情(版本和时间点)。" + "value": "报告会附上播放详情(版本和时间点)。" } ], "web.issues.report.send": [ @@ -116889,6 +117079,12 @@ "value": "报告问题" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "报告会附上此作品的详细信息。" + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -117840,6 +118036,12 @@ "value": "添加国家/地区……" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "添加标签……" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -117888,6 +118090,18 @@ "value": "国家/地区" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "自定义标签" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "你自己的标签。刷新元数据不会更改它们,个人资料可以隐藏带有这些标签的作品。" + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -125740,6 +125954,12 @@ "value": "无法允许该合集中的作品" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "已被标签隐藏" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -126368,6 +126588,64 @@ "value": "配置私有S3头像存储即可启用上传的个人资料头像。" } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "此个人资料无法查看或播放带有以下任一自定义标签的作品。" + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "无法加载自定义标签。" + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "还没有作品带有自定义标签。可在作品的编辑元数据中的标签和类型下添加标签。" + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "请至少选择一个标签。" + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "搜索标签" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "隐藏带有标签的作品" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": "部作品" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -126408,6 +126686,32 @@ "value": "任意画质" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 0, + "value": "隐藏" + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": "个标签" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/locales/zh-Hant.json b/web/src/locales/zh-Hant.json index fc9087f70b6..5d12a6f9454 100644 --- a/web/src/locales/zh-Hant.json +++ b/web/src/locales/zh-Hant.json @@ -53389,6 +53389,18 @@ "value": "已移除儲存庫" } ], + "web.admin.plugins.hooks.plugins.repository.testFailed": [ + { + "type": 0, + "value": "無法測試儲存庫連線。" + } + ], + "web.admin.plugins.hooks.plugins.repository.testSelectProfile": [ + { + "type": 0, + "value": "測試儲存庫前,請先選擇管理員個人檔案。" + } + ], "web.admin.plugins.hooks.plugins.repository.updateSelectProfile": [ { "type": 0, @@ -53857,18 +53869,136 @@ "value": "新增儲存庫" } ], + "web.admin.plugins.repositories.addTitle": [ + { + "type": 0, + "value": "新增外掛程式儲存庫" + } + ], + "web.admin.plugins.repositories.authConfiguredBadge": [ + { + "type": 0, + "value": "已驗證" + } + ], + "web.admin.plugins.repositories.authHintCatalog": [ + { + "type": 0, + "value": "以 Authorization: Bearer 標頭傳送至儲存庫主機。" + } + ], + "web.admin.plugins.repositories.authHintForgejoGitea": [ + { + "type": 0, + "value": "請使用具有 read:repository 範圍的 Forgejo 或 Gitea 存取權杖。" + } + ], + "web.admin.plugins.repositories.authHintGithub": [ + { + "type": 0, + "value": "請使用具有 Contents: Read-only 存取權限的 GitHub 精細個人存取權杖。" + } + ], + "web.admin.plugins.repositories.authHintGitlab": [ + { + "type": 0, + "value": "請使用具有 Reporter 角色和 read_api 範圍的 GitLab 專案、群組或個人存取權杖(部署權杖不支援 Releases API)。" + } + ], + "web.admin.plugins.repositories.authPasswordLabel": [ + { + "type": 0, + "value": "密碼或權杖" + } + ], + "web.admin.plugins.repositories.authTokenHostChangedHint": [ + { + "type": 0, + "value": "儲存庫主機已變更。請重新輸入憑證以儲存。" + } + ], + "web.admin.plugins.repositories.authTokenKeepPlaceholder": [ + { + "type": 0, + "value": "留空即可保留已儲存的憑證" + } + ], + "web.admin.plugins.repositories.authTokenLabel": [ + { + "type": 0, + "value": "存取權杖" + } + ], + "web.admin.plugins.repositories.authTypeBasic": [ + { + "type": 0, + "value": "HTTP Basic" + } + ], + "web.admin.plugins.repositories.authTypeLabel": [ + { + "type": 0, + "value": "驗證" + } + ], + "web.admin.plugins.repositories.authTypeNone": [ + { + "type": 0, + "value": "無(公開)" + } + ], + "web.admin.plugins.repositories.authTypeToken": [ + { + "type": 0, + "value": "存取權杖" + } + ], + "web.admin.plugins.repositories.authUsernameLabel": [ + { + "type": 0, + "value": "使用者名稱" + } + ], "web.admin.plugins.repositories.description": [ { "type": 0, "value": "Silo 尋找外掛程式的位置。" } ], + "web.admin.plugins.repositories.dialogDescription": [ + { + "type": 0, + "value": "新增 Silo 目錄索引網址,或直接新增 GitHub、GitLab、Forgejo 或 Gitea 外掛程式儲存庫以自動更新。" + } + ], "web.admin.plugins.repositories.disable": [ { "type": 0, "value": "停用" } ], + "web.admin.plugins.repositories.edit": [ + { + "type": 0, + "value": "編輯" + } + ], + "web.admin.plugins.repositories.editNamed": [ + { + "type": 0, + "value": "編輯 " + }, + { + "type": 1, + "value": "name" + } + ], + "web.admin.plugins.repositories.editTitle": [ + { + "type": 0, + "value": "編輯外掛程式儲存庫" + } + ], "web.admin.plugins.repositories.empty": [ { "type": 0, @@ -53881,6 +54011,12 @@ "value": "啟用" } ], + "web.admin.plugins.repositories.forgeHint": [ + { + "type": 0, + "value": "Silo 會讀取包含平台二進位檔(例如 plugin-linux-amd64)、checksums.txt 和 manifest.json(附加於發行版本,或位於儲存庫中該發行版本的標籤)的發行版本。" + } + ], "web.admin.plugins.repositories.heading": [ { "type": 0, @@ -53915,12 +54051,60 @@ "value": "name" } ], + "web.admin.plugins.repositories.sourceTypeCatalog": [ + { + "type": 0, + "value": "目錄索引(JSON)" + } + ], + "web.admin.plugins.repositories.sourceTypeForgejo": [ + { + "type": 0, + "value": "Forgejo 儲存庫" + } + ], + "web.admin.plugins.repositories.sourceTypeGitea": [ + { + "type": 0, + "value": "Gitea 儲存庫" + } + ], + "web.admin.plugins.repositories.sourceTypeGithub": [ + { + "type": 0, + "value": "GitHub 儲存庫" + } + ], + "web.admin.plugins.repositories.sourceTypeGitlab": [ + { + "type": 0, + "value": "GitLab 儲存庫" + } + ], + "web.admin.plugins.repositories.sourceTypeLabel": [ + { + "type": 0, + "value": "來源類型" + } + ], "web.admin.plugins.repositories.submit": [ { "type": 0, "value": "新增" } ], + "web.admin.plugins.repositories.testConnection": [ + { + "type": 0, + "value": "測試連線" + } + ], + "web.admin.plugins.repositories.testingConnection": [ + { + "type": 0, + "value": "正在測試……" + } + ], "web.admin.plugins.repositories.url": [ { "type": 0, @@ -105982,6 +106166,12 @@ "value": "從待看清單中移除" } ], + "web.detail.actions.reportIssue": [ + { + "type": 0, + "value": "回報問題" + } + ], "web.detail.actions.requestSeasons": [ { "type": 0, @@ -116718,7 +116908,7 @@ "web.issues.actions.viewProblemReports": [ { "type": 0, - "value": "查看問題回報" + "value": "查看問題" } ], "web.issues.activity.author.admin": [ @@ -117206,7 +117396,7 @@ "web.issues.report.description": [ { "type": 0, - "value": "讓管理員知道哪裡有問題。此伺服器上的其他人看不到。" + "value": "只有你和管理員可以看到你的回報。" } ], "web.issues.report.descriptionChannels": [ @@ -117218,7 +117408,7 @@ "web.issues.report.descriptionTracker": [ { "type": 0, - "value": "讓管理員知道哪裡有問題。此伺服器上的其他人看不到。此問題也會連同你的名稱,一併傳送至管理員使用的問題追蹤系統。" + "value": "在 Silo 中,只有你和管理員可以看到你的回報。此回報也會連同你的名稱,一併傳送至管理員使用的問題追蹤系統。" } ], "web.issues.report.descriptionTrackerAndChannels": [ @@ -117298,7 +117488,7 @@ "web.issues.report.playbackIncluded": [ { "type": 0, - "value": "播放詳細資訊(版本和時間點)會一併提供給管理員。" + "value": "已附上播放詳細資訊(版本和時間點)。" } ], "web.issues.report.send": [ @@ -117351,6 +117541,12 @@ "value": "回報問題" } ], + "web.issues.report.titleIncluded": [ + { + "type": 0, + "value": "已附上此作品的詳細資訊。" + } + ], "web.issues.report.versionLabel": [ { "type": 0, @@ -118302,6 +118498,12 @@ "value": "新增國家/地區……" } ], + "web.item.editMetadata.addCustomTag": [ + { + "type": 0, + "value": "新增標籤……" + } + ], "web.item.editMetadata.addGenre": [ { "type": 0, @@ -118350,6 +118552,18 @@ "value": "國家/地區" } ], + "web.item.editMetadata.customTags": [ + { + "type": 0, + "value": "自訂標籤" + } + ], + "web.item.editMetadata.customTagsHint": [ + { + "type": 0, + "value": "你自己的標籤。重新整理中繼資料絕不會變更這些標籤,個人檔案也可以隱藏帶有這些標籤的作品。" + } + ], "web.item.editMetadata.episodeNumber": [ { "type": 0, @@ -126222,6 +126436,12 @@ "value": "無法允許合輯中的作品" } ], + "web.profiles.allowances.hiddenByTag": [ + { + "type": 0, + "value": "已被標籤隱藏" + } + ], "web.profiles.allowances.noLibraryAccess": [ { "type": 0, @@ -126846,6 +127066,64 @@ "value": "設定私人 S3 頭像儲存空間,即可啟用上傳個人檔案頭像。" } ], + "web.profiles.excludedTags.hint": [ + { + "type": 0, + "value": "此個人檔案無法查看或播放帶有以下任一自訂標籤的作品。" + } + ], + "web.profiles.excludedTags.loadFailed": [ + { + "type": 0, + "value": "無法載入自訂標籤。" + } + ], + "web.profiles.excludedTags.noTags": [ + { + "type": 0, + "value": "目前還沒有作品帶有自訂標籤。你可以在作品的「編輯中繼資料」中,於「標籤與類型」下新增標籤。" + } + ], + "web.profiles.excludedTags.required": [ + { + "type": 0, + "value": "請至少選擇一個標籤。" + } + ], + "web.profiles.excludedTags.search": [ + { + "type": 0, + "value": "搜尋標籤" + } + ], + "web.profiles.excludedTags.title": [ + { + "type": 0, + "value": "隱藏帶有標籤的作品" + } + ], + "web.profiles.excludedTags.titleCount": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 1, + "value": "number" + }, + { + "type": 0, + "value": " 部作品" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.advisoryAgeMax": [ { "type": 0, @@ -126886,6 +127164,32 @@ "value": "不限畫質" } ], + "web.profiles.helpers.access.hiddenTags": [ + { + "type": 6, + "value": "count", + "options": { + "other": { + "value": [ + { + "type": 0, + "value": "隱藏 " + }, + { + "type": 1, + "value": "count_text" + }, + { + "type": 0, + "value": " 個標籤" + } + ] + } + }, + "offset": 0, + "pluralType": "cardinal" + } + ], "web.profiles.helpers.access.libraries": [ { "type": 6, diff --git a/web/src/pages/HouseholdSetup.tsx b/web/src/pages/HouseholdSetup.tsx index 2a8f21f54b8..005b7718225 100644 --- a/web/src/pages/HouseholdSetup.tsx +++ b/web/src/pages/HouseholdSetup.tsx @@ -32,6 +32,7 @@ export default function HouseholdSetup() { maxAdvisoryAgeSupported, requireAdvisoryAgeSupported, requestsAllowedSupported, + excludedTagsSupported, maxProfiles, } = useProfiles(); const { data: libraries = [] } = useAvailableUserLibraries({ includeHidden: true }); @@ -163,6 +164,7 @@ export default function HouseholdSetup() { advisoryAgeSupported={maxAdvisoryAgeSupported} requireAdvisoryAgeSupported={requireAdvisoryAgeSupported} requestsAllowedSupported={requestsAllowedSupported} + excludedTagsSupported={excludedTagsSupported} onOpenChange={(open) => { setEditorOpen(open); if (!open) setEditing(null); diff --git a/web/src/pages/Profiles.tsx b/web/src/pages/Profiles.tsx index d66b9c983c5..86eff37389d 100644 --- a/web/src/pages/Profiles.tsx +++ b/web/src/pages/Profiles.tsx @@ -48,6 +48,7 @@ export default function Profiles() { maxAdvisoryAgeSupported, requireAdvisoryAgeSupported, requestsAllowedSupported, + excludedTagsSupported, maxProfiles, } = useProfiles(); const { data: libraries = [], isLoading: librariesLoading } = useAvailableUserLibraries(); @@ -220,6 +221,7 @@ export default function Profiles() { advisoryAgeSupported={maxAdvisoryAgeSupported} requireAdvisoryAgeSupported={requireAdvisoryAgeSupported} requestsAllowedSupported={requestsAllowedSupported} + excludedTagsSupported={excludedTagsSupported} onOpenChange={setEditorOpen} onSaveSuccess={(profile, context) => void handleCreateSuccess(profile, context)} /> @@ -310,6 +312,7 @@ export default function Profiles() { advisoryAgeSupported={maxAdvisoryAgeSupported} requireAdvisoryAgeSupported={requireAdvisoryAgeSupported} requestsAllowedSupported={requestsAllowedSupported} + excludedTagsSupported={excludedTagsSupported} profileContext={addSession?.profileContext} onOpenChange={(open) => { if (!open) { diff --git a/web/src/pages/admin-users/detail/profiles/ProfilesTab.tsx b/web/src/pages/admin-users/detail/profiles/ProfilesTab.tsx index 7922a4d1733..fcd4c541555 100644 --- a/web/src/pages/admin-users/detail/profiles/ProfilesTab.tsx +++ b/web/src/pages/admin-users/detail/profiles/ProfilesTab.tsx @@ -345,6 +345,7 @@ function ProfileEditor({ advisoryAgeSupported={server.maxAdvisoryAgeSupported} requireAdvisoryAgeSupported={server.requireAdvisoryAgeSupported} requestsAllowedSupported={server.requestsAllowedSupported} + excludedTagsSupported={server.excludedTagsSupported} save={save} className={TOUCH_TARGETS} onOpenChange={(next) => { diff --git a/web/src/pages/settings/ProfilesSettings.tsx b/web/src/pages/settings/ProfilesSettings.tsx index 2744b5c654b..04417581038 100644 --- a/web/src/pages/settings/ProfilesSettings.tsx +++ b/web/src/pages/settings/ProfilesSettings.tsx @@ -56,6 +56,7 @@ export default function ProfilesSettings() { maxAdvisoryAgeSupported, requireAdvisoryAgeSupported, requestsAllowedSupported, + excludedTagsSupported, maxProfiles, } = useProfiles(); const { data: libraries = [], isLoading: librariesLoading } = useAvailableUserLibraries({ @@ -261,6 +262,7 @@ export default function ProfilesSettings() { advisoryAgeSupported={maxAdvisoryAgeSupported} requireAdvisoryAgeSupported={requireAdvisoryAgeSupported} requestsAllowedSupported={requestsAllowedSupported} + excludedTagsSupported={excludedTagsSupported} onOpenChange={(open) => { setEditorOpen(open); if (!open) {