Skip to content

Commit

Permalink
fix(gui): SSL public key hint must have a certificate file extension (#…
Browse files Browse the repository at this point in the history
…854)

Thanks @edibotopic for noticing that :)

Additional to that fix. the first commit of this PR moves a user-facing
string (SSL Key input label) from the source code to the translatable
resource, so it can be properly localized.
  • Loading branch information
CarlosNihelton authored Aug 1, 2024
2 parents f3fe23e + a90ab6e commit d53fc2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions gui/packages/ubuntupro/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"landscapeKeyLabel": "Registration Key",
"landscapeCustomSetup": "Advanced Configuration",
"landscapeCustomSetupHint": "Load a custom Landscape client configuration file",
"landscapeSSLKeyLabel": "Server SSL public key",
"landscapeFileLabel": "Config file path",
"landscapeFileTooLarge": "Configuration file is too large",
"landscapeFileEmptyPath": "A path must be specified",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ class _SelfHostedForm extends StatelessWidget {
child: _FilePickerField(
buttonLabel: lang.landscapeFilePicker,
errorText: model.selfHosted.fileError.localize(lang),
hint: 'C:\\landscape.conf',
inputlabel: 'Server SSL public key',
hint: 'C:\\landscape.pem',
inputlabel: lang.landscapeSSLKeyLabel,
onChanged: model.setSslKeyPath,
),
),
Expand Down

0 comments on commit d53fc2e

Please sign in to comment.