<commit_before><div class="wrap">

	<h2>Single Sign-on with Azure Active Directory</h2>
	<p>Settings for configuring single sign-on with Azure Active Directory can be configured
		here.</p>

	<form method="post" action="options.php">
		<?php
		settings_fields( 'aadsso_settings' );
		do_settings_sections( 'aadsso_settings_page' );
		submit_button();
		?>
	</form>

	<h3>Reset Plugin</h3>
	<p>Resetting the plugin will completely remove all settings.</p>
	<p>
		<?php
		printf(
			'<a href="%s" class="button">%s</a> <span class="description">%s</span>',
			wp_nonce_url(
				admin_url('options-general.php?page=aadsso_settings' ),
				'aadsso_reset_settings',
				'aadsso_nonce'
			),
			'Reset Settings',
			'Reset the plugin to default settings. Careful, there is no undo for this.'
		)
		?>
	</p>
	<?php if( defined( 'AADSSO_SETTINGS_PATH' ) && file_exists( AADSSO_SETTINGS_PATH ) ): ?>
		<h3>Migrate Plugin</h3>
		<p>Old configuration data was found at <code><?php echo esc_html( AADSSO_SETTINGS_PATH ); ?></code>.
		It can be migrated automatically.</p>
		<p>Delete the file at <code><?php echo esc_html( AADSSO_SETTINGS_PATH ); ?></code> 
			or unset the <code>AADSSO_SETTINGS_PATH</code> constant to hide this migration utility.</p>
		<p><?php
		printf(
			'<a href="%s" class="button">%s</a> <span class="description">%s</span>',
			wp_nonce_url(
				admin_url('options-general.php?page=aadsso_settings' ),
				'aadsso_migrate_from_json',
				'aadsso_nonce'
			),
			'Migrate Settings',
			'Migrate settings from old plugin versions to new configuration. This will overwrite existing settings! Careful, there is no undo for this.'
		)
		?></p>
		
	<?php endif; ?>
</div><commit_msg>added i18n to settings page<commit_after><div class="wrap">

	<h2><?php echo esc_html__('Single Sign-on with Azure Active Directory', AADSSO); ?></h2>
	<p><?php echo esc_html__('Settings for configuring single sign-on with Azure Active Directory can be configured here.', AADSSO); ?></p>

	<form method="post" action="options.php">
		<?php
		settings_fields( 'aadsso_settings' );
		do_settings_sections( 'aadsso_settings_page' );
		submit_button();
		?>
	</form>

	<h3><?php echo esc_html__( 'Reset Plugin' , AADSSO ); ?></h3>
	<p><?php echo __( 'Resetting the plugin will completely remove all settings.' , AADSSO ); ?></p>
	<p>
		<?php
		printf(
			'<a href="%s" class="button">%s</a> <span class="description">%s</span>',
			wp_nonce_url(
				admin_url('options-general.php?page=aadsso_settings' ),
				'aadsso_reset_settings',
				'aadsso_nonce'
			),
			esc_html__('Reset Settings', AADSSO),
			esc_html__('Reset the plugin to default settings. Careful, there is no undo for this.', AADSSO)
		)
		?>
	</p>
	<?php if( defined( 'AADSSO_SETTINGS_PATH' ) && file_exists( AADSSO_SETTINGS_PATH ) ): ?>
		<h3><?php echo esc_html__( 'Migrate Plugin', AADSSO ); ?></h3>
		<p><?php printf(
			__('Old configuration data was found at %s.', AADSSO),
			sprintf( __( '<code>%s</code>' , AADSSO ), esc_html( AADSSO_SETTINGS_PATH ) )
		); ?>  
			<?php echo esc_html__('This configuration data can be migrated automatically.', AADSSO); ?></p>
		<p><?php printf(
				__('Delete the file at %s or unset the %s constant to hide this migration utility.'),
				sprintf( __( '<code>%s</code>', AADSSO ) , esc_html( AADSSO_SETTINGS_PATH ) ),
				sprintf( __( '<code>%s</code>', AADSSO ) , esc_html( 'AADSSO_SETTINGS_PATH' ) )
			); ?></p>
		<p><?php
		printf(
			'<a href="%s" class="button">%s</a> <span class="description">%s</span>',
			wp_nonce_url(
				admin_url( 'options-general.php?page=aadsso_settings' ),
				'aadsso_migrate_from_json',
				'aadsso_nonce'
			),
			esc_html__( 'Migrate Settings' , AADSSO ),
			esc_html__( 'Migrate settings from old plugin versions to new configuration. This will overwrite existing settings! Careful, there is no undo for this.' , AADSSO )
		)
		?></p>
		
	<?php endif; ?>
</div>
{'fraction_non_alphanumeric': 0.1616213442791175, 'fraction_numerical': 0.0035915854284248334, 'mean_word_length': 4.407766990291262, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3259815', 'n_tokens_mistral': 1549, 'n_tokens_neox': 1439, 'n_words': 351}