diff --git a/ui/admin/package.json b/ui/admin/package.json index d82e617d8..c4acbbad1 100644 --- a/ui/admin/package.json +++ b/ui/admin/package.json @@ -35,6 +35,7 @@ "@glimmer/tracking": "^1.0.0", "api": "*", "auth": "*", + "intl": "*", "babel-eslint": "^10.1.0", "babel-loader": "^8.1.0", "broccoli-asset-rev": "^3.0.0", diff --git a/ui/admin/translations/actions/en-us.yaml b/ui/admin/translations/actions/en-us.yaml deleted file mode 100644 index a6cadbe2e..000000000 --- a/ui/admin/translations/actions/en-us.yaml +++ /dev/null @@ -1,28 +0,0 @@ -add: Add -cancel: Cancel -delete: Delete -remove: Remove -discard: Discard -dismiss: Dismiss -save: Save -manage: Manage -confirm: Confirm -ok: OK -deny: Deny -help: Need help? -back: Back -get-topic-help: Get help for this topic -copy-to-clipboard: Copy to Clipboard -authenticate: Authenticate -deauthenticate: Deauthenticate -choose-org: Choose Scope -choose-different-org: Choose a Different Scope -add-host-set: Create Host Set -add-host: Create Host -add-host-sets: Add Host Sets -add-principals: Add Principals -add-members: Add Members -add-hosts: Add Hosts -set-password: Set Password -change-password: Change Password -edit-form: Edit Form diff --git a/ui/admin/translations/en-us.yaml b/ui/admin/translations/en-us.yaml deleted file mode 100644 index c1d3bd392..000000000 --- a/ui/admin/translations/en-us.yaml +++ /dev/null @@ -1,32 +0,0 @@ -auth: - titles: - no-scopes: No Scopes Available - descriptions: - no-scopes: No scopes were found. To authenticate, ask your administrator to create an scope and grant you access. - choose-org: Choose a scope to authenticate. - authenticating-with-org: "You are authenticating with {name}." -titles: - home: Home - iam: IAM - new: New - resources: Resources - details: Details - general: General - overview: Overview - settings: Settings - empty-set: No Items Yet - global: Global - actions: Actions - documentation: Documentation - abandon-confirm: Discard unsaved changes? - toggle-color-theme: Toggle Color Theme -descriptions: - empty-set: There are no items to display yet. You may be able to add items or try back later. -questions: - delete-confirm: Are you sure you want to delete this resource? - remove-confirm: Are you sure you want to remove this association? - abandon-confirm: Are you sure you want to navigate away? Your unsaved changes will be lost. -themes: - system: System Default - light: Light - dark: Dark diff --git a/ui/admin/translations/errors/en-us.yaml b/ui/admin/translations/errors/en-us.yaml deleted file mode 100644 index 0e2239e72..000000000 --- a/ui/admin/translations/errors/en-us.yaml +++ /dev/null @@ -1,19 +0,0 @@ -401: - title: You are not signed in - description: You are not authenticated. Please authenticate and try again later. -403: - title: You are not authorized - description: You must be granted permissions to view this data. Ask your administrator if you think you should have access. -404: - title: Resource not found - description: We could not find the requested resource. You can ask your administrator or try again later. -500: - title: Server error - description: We ran into a problem and could not continue. You can ask your administrator or try again later. -unknown: - title: Something went wrong - description: Please contact your administrator or try again later. -generic: - title: Error -authentication-failed: - title: Authentication Failed diff --git a/ui/admin/translations/form/en-us.yaml b/ui/admin/translations/form/en-us.yaml deleted file mode 100644 index 2971b77b6..000000000 --- a/ui/admin/translations/form/en-us.yaml +++ /dev/null @@ -1,48 +0,0 @@ -id: - label: ID -name: - label: Name - help: Name for identification purposes -description: - label: Description - help: Description for identification purposes -type: - label: Type - help: The type of the resource, to help differentiate schemas -login_name: - label: Login Name -username: - label: Username -set_password: - label: Password - help: Create a new password -password: - label: Password -grant: - label: Grant - help: A permissions grant string for a role -address: - label: Address - help: An IP, host name, or other routable address -default_port: - label: Default Port - help: The default port on which to connect -current_password: - label: Current Password -new_password: - label: New Password -started: - label: Started -status: - label: Status -session_max_seconds: - label: Maximum Duration (in seconds) - help: The maximum duration of a session. -session_connection_limit: - label: Maximum Connections - help: The maximum number of connections allowed per session. For unlimited, specify "-1". -host_set: - label: Host Set -grant_scope: - label: Grant Scope - help: Specify the scope to which this role applies. diff --git a/ui/admin/translations/notifications/en-us.yaml b/ui/admin/translations/notifications/en-us.yaml deleted file mode 100644 index 8c915ebe0..000000000 --- a/ui/admin/translations/notifications/en-us.yaml +++ /dev/null @@ -1,6 +0,0 @@ -create-success: Created succesfully. -save-success: Saved succesfully. -delete-success: Deleted successfully. -add-success: Added successfully. -remove-success: Removed successfully. -canceled-success: Canceled successfully. diff --git a/ui/admin/translations/resources/en-us.yaml b/ui/admin/translations/resources/en-us.yaml deleted file mode 100644 index bb9337871..000000000 --- a/ui/admin/translations/resources/en-us.yaml +++ /dev/null @@ -1,211 +0,0 @@ -account: - title: Account - title_plural: Accounts - description: An account allows a user to log into Boundary with a particular auth method. Users may have multiple accounts for different auth methods. - messages: - welcome: - title: Welcome to Accounts - description: Create and manage accounts for an auth method. - set-password: - description: Set a password for the account. - types: - password: Password - actions: - create: Create Account - delete: Delete Account -auth-method: - title: Auth Method - title_plural: Auth Methods - description: Auth methods govern how an org's users can login to Boundary. Boundary’s default auth method is username & passwords. - messages: - welcome: - title: Welcome to Auth Methods - description: Auth methods are configurations to authenticate users. - none: - title: No Auth Methods - description: No auth methods were found for this scope. - types: - password: Password - actions: - create: Create Auth Method - delete: Delete Auth Method -group: - title: Group - title_plural: Groups - description: Groups are collections of users. Groups may be assigned to roles to receive the role’s grants. - messages: - welcome: - title: Welcome to Groups - members: - title: Members - description: Members are the users assigned to a group. - add-members: - title: Add Members - description: Select users to add users to this group. - no-members: - title: No Members Available - description: There are no members available to add to this group. - actions: - add-members: Add Members - delete: Delete Group -host-catalog: - title: Host Catalog - title_plural: Host Catalogs - description: A host catalog is a collection of hosts and host sets. - messages: - welcome: - title: Welcome to Host Catalogs - actions: - delete: Delete Host Catalog - types: - static: Static -host-set: - title: Host Set - title_plural: Host Sets - description: A host set is a collection of hosts within a host catalog. - actions: - add: Add Host Set - create: New Host Set - delete: Delete Host Set - create-and-add-host: Create and Add Host - add-hosts: Add Existing Host - messages: - welcome: - title: Welcome to Host Sets - host: - messages: - none: - title: No Hosts - description: No hosts available in this host set. - add: - title: Add Hosts - description: Select hosts that belong to this host set. - add-none: - title: No Hosts Available - description: No hosts available for selection. - types: - static: Static -host: - title: Host - title_plural: Hosts - description: A host is a resource that may be accessed by a Boundary target. - messages: - welcome: - title: Welcome to Hosts - none: - title: No Hosts - description: No hosts available in this scope. - actions: - add: Add Host - create: New Host - delete: Delete Host - types: - static: Static -session: - title: Session - title_plural: Sessions - description: A session is a connection to a target initiated through Boundary. - messages: - none: - title: No Sessions - description: There are no active sessions within the current scope. -org: - title: Org - title_plural: Orgs - description: An org is a type of scope used to organize projects and IAM resources. Orgs are child scopes of the global scope. - messages: - welcome: - title: Welcome to Orgs - settings: - title: Org Settings - actions: - delete: Delete Org -project: - title: Project - title_plural: Projects - description: A project is a type of scope used to organize resources such as targets and host catalogs. - messages: - welcome: - title: Welcome to Projects - settings: - title: Project Settings - actions: - delete: Delete Project -user: - title: User - title_plural: Users - description: Users are entities authorized to access Boundary. Users may be assigned to roles as principals, thus receiving role grants. - messages: - welcome: - title: Welcome to Users - accounts: - title: Accounts - description: Users may be associated with any number of accounts. - add-accounts: - title: Add Accounts - description: Select accounts to associate with this user. - no-accounts: - title: No Accounts Available - description: There are no accounts available to add to this user. - actions: - add-accounts: Add Accounts - delete: Delete User -role: - title: Role - title_plural: Roles - description: Roles are collections of capability grants and the principals (users and groups) assigned to them. - messages: - welcome: - title: Welcome to Roles - actions: - create: Create Role - delete: Delete Role - principal: - title: Principal - title_plural: Principals - description: Principals are the users and groups assigned to a role and bounded by a role’s grants. - messages: - welcome: - title: Welcome to Principals - description: Principals are not assigned in this role. - none: - title: No Principals Available - description: Principals are not available for assignment. - add-principals: - title: Add Principals - description: Select users and groups to assign to this role. - types: - user: User - group: Group - actions: - add-principals: Add Principals - grant: - title: Grant - title_plural: Grants - description: Grants are permissions which allow roles to take actions and access resources. - actions: - create: New Grant -target: - title: Target - title_plural: Targets - description: A target is a logical collection of host sets which may be used to initiate sessions. - messages: - welcome: - title: Welcome to Targets - actions: - create: New Target - delete: Delete Target - add-host-sets: Add Host Sets - types: - tcp: TCP - host-set: - messages: - welcome: - title: Welcome to Host Sets - description: No hosts sets in this target. - none: - title: No Host Sets Available - description: No hosts sets available to add to target. - add: - title: Add Host Sets - description: Select host sets to assign to this target. diff --git a/ui/admin/translations/states/en-us.yaml b/ui/admin/translations/states/en-us.yaml deleted file mode 100644 index 96b1fd92c..000000000 --- a/ui/admin/translations/states/en-us.yaml +++ /dev/null @@ -1,5 +0,0 @@ -info: Info -success: Success -warning: Warning -error: Error -copied: Copied diff --git a/yarn.lock b/yarn.lock index 396414a77..e32e8c52a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7508,7 +7508,7 @@ debug@~4.1.0: dependencies: ms "^2.1.1" -debuglog@*, debuglog@^1.0.1: +debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= @@ -12147,7 +12147,7 @@ import-lazy@^2.1.0: resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= -imurmurhash@*, imurmurhash@^0.1.4: +imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= @@ -13844,11 +13844,6 @@ lodash._baseflatten@^3.0.0: lodash.isarguments "^3.0.0" lodash.isarray "^3.0.0" -lodash._baseindexof@*: - version "3.1.0" - resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" - integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw= - lodash._baseuniq@~4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8" @@ -13857,16 +13852,11 @@ lodash._baseuniq@~4.6.0: lodash._createset "~4.0.0" lodash._root "~3.0.0" -lodash._bindcallback@*, lodash._bindcallback@^3.0.0: +lodash._bindcallback@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4= -lodash._cacheindexof@*: - version "3.0.2" - resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" - integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI= - lodash._createassigner@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz#838a5bae2fdaca63ac22dee8e19fa4e6d6970b11" @@ -13876,19 +13866,12 @@ lodash._createassigner@^3.0.0: lodash._isiterateecall "^3.0.0" lodash.restparam "^3.0.0" -lodash._createcache@*: - version "3.1.2" - resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" - integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM= - dependencies: - lodash._getnative "^3.0.0" - lodash._createset@~4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY= -lodash._getnative@*, lodash._getnative@^3.0.0: +lodash._getnative@^3.0.0: version "3.9.1" resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= @@ -14101,7 +14084,7 @@ lodash.pick@^4.4.0: resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" integrity sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM= -lodash.restparam@*, lodash.restparam@^3.0.0: +lodash.restparam@^3.0.0: version "3.6.1" resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=