Skip to content

Commit

Permalink
Added note that registration stuff is shared with P9
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcouch-sil committed Nov 22, 2024
1 parent d59871d commit b51acb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"%paratextRegistration_description_internetUse_option_Disabled%": "Disable all Internet use",
"%paratextRegistration_description_internetUse_option_ProxyOnly%": "Use a proxy",
"%paratextRegistration_description_internetUse_option_VpnRequired%": "Disable Internet use in sensitive locations",
"%paratextRegistration_description_shared_with_paratext_9%": "Theses settings also apply to Paratext 9.",
"%paratextRegistration_label_emailAddress%": "Email address",
"%paratextRegistration_label_proxyHost%": "Host",
"%paratextRegistration_label_proxyMode%": "Mode",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ const LOCALIZED_STRING_KEYS: LocalizeKey[] = [
'%paratextRegistration_button_saveAndRestart%',
'%paratextRegistration_description_internetUse_disclaimer%',
...INTERNET_USE_OPTIONS.map(getLocalizeKeyForInternetUse),
'%paratextRegistration_description_shared_with_paratext_9%',
'%paratextRegistration_label_emailAddress%',
'%paratextRegistration_label_proxyHost%',
'%paratextRegistration_label_proxyMode%',
Expand Down Expand Up @@ -307,6 +308,9 @@ globalThis.webViewComponent = function ParatextRegistration({ useWebViewState }:
return (
<div className="tw-p-2 tw-flex tw-flex-col tw-justify-between tw-h-screen">
<div>
<div className="tw-ms-2 tw-text-sm tw-text-muted-foreground">
{localizedStrings['%paratextRegistration_description_shared_with_paratext_9%']}
</div>
<Grid>
<span>{localizedStrings['%paratextRegistration_label_registrationName%']}</span>
<Input value={name} disabled={isFormDisabled} onChange={(e) => setName(e.target.value)} />
Expand Down

0 comments on commit b51acb4

Please sign in to comment.