diff --git a/Directory.Build.props b/Directory.Build.props index 5f905363..03161c20 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -9,7 +9,7 @@ true $(MSBuildThisFileDirectory)eng\CodeAnalysis.ruleset true - ar;es;fr;it + ar;es;fr;it;zh-Hans;zh-Hant diff --git a/src/OpenIddict.Abstractions/Resources/xlf/OpenIddictResources.zh-Hans.xlf b/src/OpenIddict.Abstractions/Resources/xlf/OpenIddictResources.zh-Hans.xlf new file mode 100644 index 00000000..30fdcbcd --- /dev/null +++ b/src/OpenIddict.Abstractions/Resources/xlf/OpenIddictResources.zh-Hans.xlf @@ -0,0 +1,602 @@ + + + + + + The security token is missing. + 缺少安全令牌. + + + + The specified authorization code is invalid. + 指定的授权码无效. + + + + The specified device code is invalid. + 指定的设备码无效. + + + + The specified refresh token is invalid. + 指定的刷新令牌无效. + + + + The specified token is invalid. + 指定的令牌无效. + + + + The specified token is not an authorization code. + 指定的令牌不是授权码. + + + + The specified token is not an device code. + 指定的令牌不是设备码. + + + + The specified token is not a refresh token. + 指定的令牌不是刷新令牌. + + + + The specified token is not an access token. + 指定的令牌不是访问令牌. + + + + The specified identity token is invalid. + 指定的身份令牌无效. + + + + The specified authorization code has already been redeemed. + 指定的授权码已兑换. + + + + The specified device code has already been redeemed. + 指定的设备码已兑换. + + + + The specified refresh token has already been redeemed. + 指定的刷新令牌已兑换. + + + + The specified token has already been redeemed. + 指定的令牌已兑换. + + + + The authorization has not been granted yet by the end user. + 最终用户尚未授权. + + + + The authorization was denied by the end user. + 最终用户拒绝授权. + + + + The specified authorization code is no longer valid. + 指定的授权码不再有效. + + + + The specified device code is no longer valid. + 指定的设备码不再有效. + + + + The specified refresh token is no longer valid. + 指定的刷新令牌不再有效. + + + + The specified token is no longer valid. + 指定的令牌不再有效. + + + + The authorization associated with the authorization code is no longer valid. + 与授权码关联的授权不再有效. + + + + The authorization associated with the device code is no longer valid. + 与设备码关联的授权不再有效. + + + + The authorization associated with the refresh token is no longer valid. + 与刷新令牌关联的授权不再有效. + + + + The authorization associated with the token is no longer valid. + 与令牌关联的授权不再有效. + + + + The token request was rejected by the authentication server. + 身份验证服务器拒绝了令牌请求. + + + + The user information access demand was rejected by the authentication server. + 身份验证服务器拒绝了用户信息访问请求. + + + + The specified user code is no longer valid. + 指定的用户码不再有效. + + + + The '{0}' parameter is not supported. + 不支持参数 ‘{0}’. + + + + The mandatory '{0}' parameter is missing. + 缺少必需参数 ‘{0}’. + + + + The '{0}' parameter must be a valid absolute URL. + 参数 ’{0}’ 必须是有效的绝对路径网址. + + + + The '{0}' parameter must not include a fragment. + 参数 ‘{0}’ 不能包含 fragment. + + + + The specified '{0}' is not supported. + 不支持指定的 ‘{0}’. + + + + The specified '{0}'/'{1}' combination is invalid. + 指定的 ‘{0}’ / ‘{1}’ 组合无效. + + + + The mandatory '{0}' scope is missing. + 缺少必需 Scope ‘{0}’. + + + + The '{0}' scope is not allowed. + 不允许 Scope ‘{0}’. + + + + The client identifier cannot be null or empty. + 客户端 ID 不能为空. + + + + The '{0}' parameter cannot be used without '{1}'. + 参数 ‘{0}’ 要求 ‘{1}’. + + + + The status cannot be null or empty. + 状态不能为空. + + + + Scopes cannot be null or empty. + Scope 不能为空. + + + + The '{0}' and '{1}' parameters can only be used with a response type containing '{2}'. + 参数 ‘{0}’ 和 ‘{1}’ 只能在响应类型包含 ‘{2}’ 时使用. + + + + The specified '{0}' is not allowed when using PKCE. + 使用 PKCE 时不允许指定的 ‘{0}’. + + + + Scopes cannot contain spaces. + Scope 不能包含空格. + + + + The specified '{0}' is not valid for this client application. + 指定的 ‘{0}’ 对此客户端无效. + + + + The scope name cannot be null or empty. + Scope 不能为空. + + + + The scope name cannot contain spaces. + Scope 不能包含空格. + + + + This client application is not allowed to use the authorization endpoint. + 不允许此客户端使用授权端点. + + + + The client application is not allowed to use the authorization code flow. + 不允许此客户端使用授权代码流程. + + + + The client application is not allowed to use the implicit flow. + 不允许此客户端使用隐式流程. + + + + The client application is not allowed to use the hybrid flow. + 不允许此客户端使用混合流程. + + + + This client application is not allowed to use the specified scope. + 不允许此客户端使用指定的 Scope. + + + + The specified '{0}' is invalid. + 指定的 ‘{0}’ 无效. + + + + The '{0}' parameter is not valid for this client application. + 参数 ‘{0}’ 对此客户端无效. + + + + The '{0}' parameter required for this client application is missing. + 未提供此客户端必需参数 ‘{0}’. + + + + The specified client credentials are invalid. + 指定的客户端凭据无效. + + + + This client application is not allowed to use the device endpoint. + 不允许此客户端使用设备端点. + + + + The '{0}' and '{1}' parameters are required when using the client credentials grant. + 使用客户端凭据授权时, 必须提供参数 ‘{0}’ 和 ‘{1}’. + + + + The '{0}' parameter is required when using the device code grant. + 使用设备码授权时, 必须提供参数 ‘{0}’. + + + + The mandatory '{0}' and/or '{1}' parameters are missing. + 未提供必需参数 ‘{0}’ 和/或 ‘{1}’. + + + + A scope with the same name already exists. + 已存在具有相同名称的 Scope. + + + + This client application is not allowed to use the token endpoint. + 不允许此客户端使用令牌端点. + + + + This client application is not allowed to use the specified grant type. + 不允许此客户端使用指定的授予类型. + + + + The client application is not allowed to use the '{0}' scope. + 不允许此客户端使用 Scope ‘{0}’. + + + + The specified authorization code cannot be used without sending a client identifier. + 若不发送客户端 ID, 则不能使用指定的授权码. + + + + The specified device code cannot be used without sending a client identifier. + 若不发送客户端 ID, 则不能使用指定的设备码. + + + + The specified refresh token cannot be used without sending a client identifier. + 若不发送客户端 ID, 则不能使用指定的刷新令牌. + + + + The specified authorization code cannot be used by this client application. + 此客户端不能使用指定的授权码. + + + + The specified device code cannot be used by this client application. + 此客户端不能使用指定的设备码. + + + + The specified refresh token cannot be used by this client application. + 此客户端不能使用指定的刷新令牌. + + + + The specified '{0}' parameter doesn't match the client redirection address the authorization code was initially sent to. + 指定的参数 ‘{0}’ 与最初发送的客户端重定向地址不匹配. + + + + The '{0}' parameter cannot be used when no '{1}' was specified in the authorization request. + 若授权请求中未指定 ‘{1}’, 则不能使用指定的参数 ‘{0}’. + + + + The '{0}' parameter is not valid in this context. + 参数 ‘{0}’ 在此上下文中无效. + + + + This client application is not allowed to use the introspection endpoint. + 不允许此客户端使用自省端点. + + + + The specified token cannot be introspected. + 指定的令牌不能自省. + + + + The client application is not allowed to introspect the specified token. + 不允许此客户端自省指定的令牌. + + + + This client application is not allowed to use the revocation endpoint. + 此客户端不允许使用吊销端点. + + + + This token cannot be revoked. + 无法吊销此令牌. + + + + The client application is not allowed to revoke the specified token. + 不允许此客户端吊销指定的令牌. + + + + The mandatory '{0}' header is missing. + 缺少必需标头 ‘{0}’. + + + + The specified '{0}' header is invalid. + 指定的标头 ’{0}’ 无效. + + + + This server only accepts HTTPS requests. + 此服务器仅接受 HTTPS 请求. + + + + The specified HTTP method is not valid. + 指定的 HTTP 方法无效. + + + + A token with the same reference identifier already exists. + 已存在具有相同引用 ID 的令牌. + + + + The token type cannot be null or empty. + 令牌类型不能为空. + + + + Multiple client credentials cannot be specified. + 无法指定多个客户端凭据. + + + + The issuer associated to the specified token is not valid. + 与指定令牌关联的颁发者无效. + + + + The specified token is not of the expected type. + 指定的令牌不是预期类型. + + + + The signing key associated to the specified token was not found. + 未找到与指定令牌关联的签名密钥. + + + + The signature associated to the specified token is not valid. + 与指定令牌关联的签名无效. + + + + This resource server is currently unavailable. + 此资源服务器当前不可用. + + + + The specified token doesn't contain any audience. + 指定的令牌不包含任何目标受众. + + + + The specified token cannot be used with this resource server. + 指定的令牌不能用于此资源服务器. + + + + The user represented by the token is not allowed to perform the requested action. + 不允许此令牌代表的用户执行请求的操作. + + + + No issuer could be found in the server configuration. + 在服务器配置中找不到颁发者. + + + + A server configuration containing an invalid issuer was returned. + 返回了包含无效颁发者的服务器配置. + + + + The issuer returned in the server configuration is not valid. + 服务器配置中返回的颁发者无效. + + + + No JWKS endpoint could be found in the server configuration. + 在服务器配置中找不到 JWKS 端点. + + + + A server configuration containing an invalid JWKS endpoint URL was returned. + 返回了包含无效 JWKS 端点的服务器配置. + + + + A server configuration containing an invalid introspection endpoint URL was returned. + 返回了包含无效自省端点的服务器配置. + + + + The JWKS document didn't contain a valid '{0}' node with at least one key. + JWKS 文档中没有 ‘{0}’ 节点. + + + + A JWKS response containing an unsupported key was returned. + 返回了包含不受支持的密钥的 JWKS 响应. + + + + A JWKS response containing an invalid key was returned. + 返回了包含无效密钥的 JWKS 响应. + + + + The mandatory '{0}' parameter couldn't be found in the introspection response. + 自省响应中找不到必需参数 ‘{0}’. + + + + The token was rejected by the remote authentication server. + 令牌被远程身份验证服务器拒绝. + + + + The '{0}' claim is malformed or isn't of the expected type. + Claim ‘{0}’ 格式错误或不是预期类型. + + + + An introspection response containing a malformed issuer was returned. + 返回了包含错误格式颁发者的自省响应. + + + + The issuer returned in the introspection response is not valid. + 自省响应返回的颁发者无效. + + + + The type of the introspected token doesn't match the expected type. + 自省令牌的类型与预期类型不匹配. + + + + An application with the same client identifier already exists. + 已存在具有相同客户端 ID 的应用程序. + + + + Only confidential, hybrid or public applications are supported by the default application manager. + 默认应用程序管理器仅支持机密、混合或公共应用程序. + + + + The client secret cannot be null or empty for a confidential application. + 对于机密应用程序, 客户端密钥不能为空. + + + + A client secret cannot be associated with a public application. + 客户端密钥不能与公共应用程序关联. + + + + Callback URLs cannot contain a fragment. + 回调网址不能包含 fragment. + + + + The authorization type cannot be null or empty. + 授权类型不能为空. + + + + The specified authorization type is not supported by the default token manager. + 默认令牌管理器不支持指定的授权类型. + + + + The client type cannot be null or empty. + 客户端类型不能为空. + + + + Callback URLs cannot be null or empty. + 回调网址不能为空. + + + + Callback URLs must be valid absolute URLs. + 回调网址必须是有效的绝对路径网址. + + + + Removes orphaned tokens and authorizations from the database. + 从数据库中删除孤立的令牌和授权. + + + + Starts the scheduled task at regular intervals. + 定期启动计划的任务. + + + + + \ No newline at end of file diff --git a/src/OpenIddict.Abstractions/Resources/xlf/OpenIddictResources.zh-Hant.xlf b/src/OpenIddict.Abstractions/Resources/xlf/OpenIddictResources.zh-Hant.xlf new file mode 100644 index 00000000..d14d73c9 --- /dev/null +++ b/src/OpenIddict.Abstractions/Resources/xlf/OpenIddictResources.zh-Hant.xlf @@ -0,0 +1,602 @@ + + + + + + The security token is missing. + 缺少安全權杖. + + + + The specified authorization code is invalid. + 指定的授權代碼無效. + + + + The specified device code is invalid. + 指定的裝置代碼無效. + + + + The specified refresh token is invalid. + 指定的重新整理權杖無效. + + + + The specified token is invalid. + 指定的權杖无效. + + + + The specified token is not an authorization code. + 指定的權杖不是授權代碼. + + + + The specified token is not an device code. + 指定的權杖不是裝置代碼. + + + + The specified token is not a refresh token. + 指定的權杖不是重新整理權杖. + + + + The specified token is not an access token. + 指定的權杖不是存取權杖. + + + + The specified identity token is invalid. + 指定的識別碼權杖無效. + + + + The specified authorization code has already been redeemed. + 指定的授權代碼已兌換. + + + + The specified device code has already been redeemed. + 指定的设备代碼已兌換. + + + + The specified refresh token has already been redeemed. + 指定的重新整理權杖已兌換. + + + + The specified token has already been redeemed. + 指定的權杖已兌換. + + + + The authorization has not been granted yet by the end user. + 使用者尚未批准授權. + + + + The authorization was denied by the end user. + 使用者拒絕授權. + + + + The specified authorization code is no longer valid. + 指定的授權代碼不再有效. + + + + The specified device code is no longer valid. + 指定的裝置代碼不再有效. + + + + The specified refresh token is no longer valid. + 指定的重新整理權杖不再有效. + + + + The specified token is no longer valid. + 指定的權杖不再有效. + + + + The authorization associated with the authorization code is no longer valid. + 與授權代碼關聯的授權不再有效. + + + + The authorization associated with the device code is no longer valid. + 與裝置代碼關聯的授權不再有效. + + + + The authorization associated with the refresh token is no longer valid. + 與重新整理權杖關聯的授權不再有效. + + + + The authorization associated with the token is no longer valid. + 與權杖關聯的授權不再有效. + + + + The token request was rejected by the authentication server. + 身份驗證伺服器拒絕了權杖請求. + + + + The user information access demand was rejected by the authentication server. + 身份驗證伺服器拒絕了使用者資訊存取請求. + + + + The specified user code is no longer valid. + 指定的使用者代碼不再有效. + + + + The '{0}' parameter is not supported. + 不支援引數 ‘{0}’. + + + + The mandatory '{0}' parameter is missing. + 缺少必要引數 ‘{0}’. + + + + The '{0}' parameter must be a valid absolute URL. + 引數 ’{0}’ 必須是有效的絕對路徑網址. + + + + The '{0}' parameter must not include a fragment. + 引數 ‘{0}’ 不能包含 fragment. + + + + The specified '{0}' is not supported. + 不支援指定的 ‘{0}’. + + + + The specified '{0}'/'{1}' combination is invalid. + 指定的 ‘{0}’ / ‘{1}’ 組合無效. + + + + The mandatory '{0}' scope is missing. + 缺少必要 Scope ‘{0}’. + + + + The '{0}' scope is not allowed. + 不允許 Scope ‘{0}’. + + + + The client identifier cannot be null or empty. + 消費者金鑰不能為空. + + + + The '{0}' parameter cannot be used without '{1}'. + 引數 ‘{0}’ 要求 ‘{1}’. + + + + The status cannot be null or empty. + 狀態不能為空. + + + + Scopes cannot be null or empty. + Scope 不能為空. + + + + The '{0}' and '{1}' parameters can only be used with a response type containing '{2}'. + 引數 ‘{0}’ 和 ‘{1}’ 只能在響應型別包含 ‘{2}’ 時使用. + + + + The specified '{0}' is not allowed when using PKCE. + 使用 PKCE 時不允許指定的 ‘{0}’. + + + + Scopes cannot contain spaces. + Scope 不能包含空格. + + + + The specified '{0}' is not valid for this client application. + 指定的 ‘{0}’ 對此連線應用程式無效. + + + + The scope name cannot be null or empty. + Scope 不能為空. + + + + The scope name cannot contain spaces. + Scope 不能包含空格. + + + + This client application is not allowed to use the authorization endpoint. + 不允許此連線應用程式使用授權端點. + + + + The client application is not allowed to use the authorization code flow. + 不允許此連線應用程式使用授權代碼流程. + + + + The client application is not allowed to use the implicit flow. + 不允許此連線應用程式使用隱式流程. + + + + The client application is not allowed to use the hybrid flow. + 不允許此連線應用程式使用混合流程. + + + + This client application is not allowed to use the specified scope. + 不允許此連線應用程式使用指定的 Scope. + + + + The specified '{0}' is invalid. + 指定的 ‘{0}’ 無效. + + + + The '{0}' parameter is not valid for this client application. + 引數 ‘{0}’ 對此連線應用程式無效. + + + + The '{0}' parameter required for this client application is missing. + 未提供此連線應用程式必要引數 ‘{0}’. + + + + The specified client credentials are invalid. + 指定的連線應用程式機密無效. + + + + This client application is not allowed to use the device endpoint. + 不允許此連線應用程式使用裝置端點. + + + + The '{0}' and '{1}' parameters are required when using the client credentials grant. + 使用連線應用程式機密授權時, 必須提供引數 ‘{0}’ 和 ‘{1}’. + + + + The '{0}' parameter is required when using the device code grant. + 使用裝置代碼授權時, 必須提供引數 ‘{0}’. + + + + The mandatory '{0}' and/or '{1}' parameters are missing. + 未提供必要引數 ‘{0}’ 和/或 ‘{1}’. + + + + A scope with the same name already exists. + 已存在具有相同名稱的 Scope. + + + + This client application is not allowed to use the token endpoint. + 不允許此連線應用程式使用權杖端點. + + + + This client application is not allowed to use the specified grant type. + 不允許此連線應用程式使用指定的驗證類型. + + + + The client application is not allowed to use the '{0}' scope. + 不允許此連線應用程式使用 Scope ‘{0}’. + + + + The specified authorization code cannot be used without sending a client identifier. + 若不傳送連線應用程式 ID, 則不能使用指定的授權代碼. + + + + The specified device code cannot be used without sending a client identifier. + 若不傳送連線應用程式 ID, 則不能使用指定的裝置代碼. + + + + The specified refresh token cannot be used without sending a client identifier. + 若不傳送連線應用程式 ID, 則不能使用指定的重新整理權杖. + + + + The specified authorization code cannot be used by this client application. + 此連線應用程式不能使用指定的授權代碼. + + + + The specified device code cannot be used by this client application. + 此連線應用程式不能使用指定的裝置代碼. + + + + The specified refresh token cannot be used by this client application. + 此連線應用程式不能使用指定的重新整理權杖. + + + + The specified '{0}' parameter doesn't match the client redirection address the authorization code was initially sent to. + 指定的引數 ‘{0}’ 與最初發送的連線應用程式重新導向位址不匹配. + + + + The '{0}' parameter cannot be used when no '{1}' was specified in the authorization request. + 若授權請求中未指定 ‘{1}’, 則不能使用指定的引數 ‘{0}’. + + + + The '{0}' parameter is not valid in this context. + 引數 ‘{0}’ 在此語境中無效. + + + + This client application is not allowed to use the introspection endpoint. + 不允許此連線應用程式使用自省端點. + + + + The specified token cannot be introspected. + 指定的權杖不能自省. + + + + The client application is not allowed to introspect the specified token. + 不允許此連線應用程式自省指定的權杖. + + + + This client application is not allowed to use the revocation endpoint. + 此連線應用程式不允許使用吊銷端點. + + + + This token cannot be revoked. + 無法吊銷此權杖. + + + + The client application is not allowed to revoke the specified token. + 不允許此連線應用程式吊銷指定的權杖. + + + + The mandatory '{0}' header is missing. + 缺少必要標頭 ‘{0}’. + + + + The specified '{0}' header is invalid. + 指定的標頭 ’{0}’ 無效. + + + + This server only accepts HTTPS requests. + 此伺服器僅接受 HTTPS 請求. + + + + The specified HTTP method is not valid. + 指定的 HTTP 方法無效. + + + + A token with the same reference identifier already exists. + 已存在具有相同引用 ID 的權杖. + + + + The token type cannot be null or empty. + 權杖型別不能為空. + + + + Multiple client credentials cannot be specified. + 無法指定多個連線應用程式機密. + + + + The issuer associated to the specified token is not valid. + 與指定權杖關聯的頒發者無效. + + + + The specified token is not of the expected type. + 指定的權杖不是預期型別. + + + + The signing key associated to the specified token was not found. + 未找到與指定權杖關聯的簽名金鑰. + + + + The signature associated to the specified token is not valid. + 與指定權杖關聯的簽名無效. + + + + This resource server is currently unavailable. + 此資源伺服器當前不可用. + + + + The specified token doesn't contain any audience. + 指定的權杖不包含任何目標受眾. + + + + The specified token cannot be used with this resource server. + 指定的權杖不能用於此資源伺服器. + + + + The user represented by the token is not allowed to perform the requested action. + 不允許此權杖代表的使用者執行請求的操作. + + + + No issuer could be found in the server configuration. + 在伺服器配置中找不到頒發者. + + + + A server configuration containing an invalid issuer was returned. + 返回了包含無效頒發者的伺服器配置. + + + + The issuer returned in the server configuration is not valid. + 伺服器配置中返回的頒發者無效. + + + + No JWKS endpoint could be found in the server configuration. + 在伺服器配置中找不到 JWKS 端點. + + + + A server configuration containing an invalid JWKS endpoint URL was returned. + 返回了包含無效 JWKS 端點的伺服器配置. + + + + A server configuration containing an invalid introspection endpoint URL was returned. + 返回了包含無效自省端點的伺服器配置. + + + + The JWKS document didn't contain a valid '{0}' node with at least one key. + JWKS 文件中沒有 ‘{0}’ 節點. + + + + A JWKS response containing an unsupported key was returned. + 返回了包含不受支援的金鑰的 JWKS 響應. + + + + A JWKS response containing an invalid key was returned. + 返回了包含無效金鑰的 JWKS 響應. + + + + The mandatory '{0}' parameter couldn't be found in the introspection response. + 自省響應中找不到必要引數 ‘{0}’. + + + + The token was rejected by the remote authentication server. + 權杖被遠端身份驗證伺服器拒絕. + + + + The '{0}' claim is malformed or isn't of the expected type. + Claim ‘{0}’ 格式錯誤或不是預期型別. + + + + An introspection response containing a malformed issuer was returned. + 返回了包含錯誤格式頒發者的自省響應. + + + + The issuer returned in the introspection response is not valid. + 自省響應返回的頒發者無效. + + + + The type of the introspected token doesn't match the expected type. + 自省權杖的型別與預期型別不匹配. + + + + An application with the same client identifier already exists. + 已存在具有相同消費者金鑰的應用程式. + + + + Only confidential, hybrid or public applications are supported by the default application manager. + 預設應用程式管理器僅支援機密、混合或公共應用程式. + + + + The client secret cannot be null or empty for a confidential application. + 對於機密應用程式, 連線應用程式金鑰不能為空. + + + + A client secret cannot be associated with a public application. + 連線應用程式金鑰不能與公共應用程式關聯. + + + + Callback URLs cannot contain a fragment. + 重新導向位址不能包含 fragment. + + + + The authorization type cannot be null or empty. + 授權型別不能為空. + + + + The specified authorization type is not supported by the default token manager. + 預設權杖管理器不支援指定的授權型別. + + + + The client type cannot be null or empty. + 連線應用程式型別不能為空. + + + + Callback URLs cannot be null or empty. + 重新導向位址不能為空. + + + + Callback URLs must be valid absolute URLs. + 重新導向位址必須是有效的絕對路徑網址. + + + + Removes orphaned tokens and authorizations from the database. + 從資料庫中刪除孤立的權杖和授權. + + + + Starts the scheduled task at regular intervals. + 定期啟動計劃的任務. + + + + + \ No newline at end of file