import DeleteIcon from '../../../../components/icons/DeleteIcon';
import EditIcon from '../../../../components/icons/EditIcon';
import { Alert } from '../../../../components/ui/Alert';
-import { translate } from '../../../../helpers/l10n';
+import { translate, translateWithParameters } from '../../../../helpers/l10n';
import { AlmKeys } from '../../../../types/alm-settings';
import { ExtendedSettingDefinition } from '../../../../types/settings';
import { DOCUMENTATION_LINK_SUFFIXES } from './Authentication';
<>
<div className="spacer-bottom big-padded bordered display-flex-space-between">
<div>
- <h5>{appId}</h5>
+ <h5>{translateWithParameters('settings.authentication.github.appid_x', appId)}</h5>
<p>{url}</p>
<p className="big-spacer-top big-spacer-bottom">
{enabled ? (
translate('settings.authentication.form.not_enabled')
)}
</p>
- <Button className="spacer-top" onClick={handleToggleEnable}>
+ <Button
+ className="spacer-top"
+ onClick={handleToggleEnable}
+ disabled={githubProvisioningStatus}
+ >
{enabled
? translate('settings.authentication.form.disable')
: translate('settings.authentication.form.enable')}
settings.almintegration.form.url.bitbucket=Bitbucket Server URL
settings.almintegration.form.url.bitbucket.help=Example: {example}
settings.almintegration.form.url.github=GitHub API URL
-settings.almintegration.form.url.github.help1=Example for Github Enterprise:
+settings.almintegration.form.url.github.help1=Example for GitHub Enterprise:
settings.almintegration.form.url.github.help2=If using GitHub.com:
settings.almintegration.form.url.gitlab=GitLab API URL
settings.almintegration.form.url.gitlab.help=Provide the GitLab API URL. For example:
settings.authentication.form.other_provisioning_enabled=Only one provider can have automatic user and group provisioning.
# GITHUB
-settings.authentication.form.create.github=New Github configuration
-settings.authentication.form.edit.github=Edit Github configuration
+settings.authentication.form.create.github=New GitHub configuration
+settings.authentication.form.edit.github=Edit GitHub configuration
+settings.authentication.github.appid_x=App ID: {0}
settings.authentication.github.confirm.auto=Switch to automatic provisioning
settings.authentication.github.confirm.jit=Switch to Just-in-Time provisioning
settings.authentication.github.confirm.auto.description=After you switch to automatic provisioning, you will no longer be able to edit groups, users, and group memberships within SonarQube. Are you sure?
settings.authentication.github.confirm.jit.description=Switching to Just-in-Time provisioning removes all information provided while automatic provisioning through SCIM was active. These changes cannot be reverted. Are you sure?
-settings.authentication.github.configuration=Github Configuration
-settings.authentication.github.form.not_configured=Github App is not configured
-settings.authentication.github.enable_first=Enable your Github configuration for more provisioning options.
+settings.authentication.github.configuration=GitHub Configuration
+settings.authentication.github.form.not_configured=GitHub App is not configured
+settings.authentication.github.enable_first=Enable your GitHub configuration for more provisioning options.
settings.authentication.github.form.provisioning_with_github=Automatic user and group provisioning
settings.authentication.github.form.provisioning_with_github.description=Users and groups are automatically provisioned from your GitHub organizations. Once activated, managed users and groups can only be modified from your GitHub organizations/teams. Existing local users and groups will be kept.
settings.authentication.github.form.provisioning_with_github.description.doc=For more details, see {documentation}.
-settings.authentication.github.form.provisioning.disabled=Your current edition does not support provisioning with Github. See the {documentation} for more information.
+settings.authentication.github.form.provisioning.disabled=Your current edition does not support provisioning with GitHub. See the {documentation} for more information.
settings.authentication.github.background_task.synchronisation_in_progress=Synchronisation is in progress. Started on {0}.
settings.authentication.github.background_task.synchronisation_successful=Successful synchronisation on {0}.
settings.authentication.github.background_task.synchronisation_failed=Synchronisation failed on {0}. {1}
onboarding.create_project.bitbucketcloud.title=Bitbucket Cloud project onboarding
onboarding.create_project.bitbucketcloud.no_projects=No projects could be fetched from Bitbucket. Contact your system administrator, or {link}.
onboarding.create_project.bitbucketcloud.link=See on Bitbucket
-onboarding.create_project.github.title=Github project onboarding
+onboarding.create_project.github.title=GitHub project onboarding
onboarding.create_project.github.choose_organization=Choose organization
onboarding.create_project.github.warning.title=Could not connect to GitHub
onboarding.create_project.github.warning.message=Please contact an administrator to configure GitHub integration.