Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added note that registration stuff is shared with P9 #1339

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading