summaryrefslogtreecommitdiffstats
path: root/core/js/setupchecks.js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-12-17 15:29:54 +0100
committerGitHub <noreply@github.com>2020-12-17 15:29:54 +0100
commitb9330887cac3fd778f6f3a43eb4cfe01e599dbc7 (patch)
tree3036f4ef308b5a1546f0fbc01d14656deea3ac5d /core/js/setupchecks.js
parentcc9cbc56b81843e1b58e771010142b2a0987376c (diff)
parent15956c20c3f9889c718761683bb89b92156ff2b6 (diff)
downloadnextcloud-server-b9330887cac3fd778f6f3a43eb4cfe01e599dbc7.tar.gz
nextcloud-server-b9330887cac3fd778f6f3a43eb4cfe01e599dbc7.zip
Merge pull request #24740 from nextcloud/bugfix/24738/improve-phone-region-help
Improve hints for default_phone_region
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r--core/js/setupchecks.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index 52169946c1e..ba1845a6aa1 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -218,7 +218,9 @@
}
if (!data.isDefaultPhoneRegionSet) {
messages.push({
- msg: t('core', 'Your installation has no default phone region set. This is required to be able to validate phone numbers in the profile settings without a country code. To allow numbers without a country code, please add "default_phone_region" with the respective ISO 3166-1 code of the wished region.'),
+ msg: t('core', 'Your installation has no default phone region set. This is required to validate phone numbers in the profile settings without a country code. To allow numbers without a country code, please add "default_phone_region" with the respective {linkstart}ISO 3166-1 code ↗{linkend} of the region to your config file.')
+ .replace('{linkstart}', '<a target="_blank" rel="noreferrer noopener" class="external" href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements">')
+ .replace('{linkend}', '</a>'),
type: OC.SetupChecks.MESSAGE_TYPE_INFO
});
}