Skip to content

Commit 7dfad02

Browse files
committed
fix: missing translations, and rephrase the "themes not supported" text
Refs #2391
1 parent 520a90c commit 7dfad02

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

extra/locale/heidisql.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: HeidiSQL\n"
99
"POT-Creation-Date: 2012-11-05 21:40\n"
10-
"PO-Revision-Date: 2026-01-28 19:41+0100\n"
10+
"PO-Revision-Date: 2026-02-04 17:28+0100\n"
1111
"Last-Translator: Ansgar Becker <anse@heidisql.com>\n"
1212
"Language-Team: English (http://www.transifex.com/projects/p/heidisql/language/en/)\n"
1313
"Language: en\n"
@@ -6416,6 +6416,12 @@ msgstr "Version: \"%s\""
64166416
msgid "Theme: \"%s\""
64176417
msgstr "Theme: \"%s\""
64186418

6419+
msgid "Automatic, depending on system settings"
6420+
msgstr "Automatic, depending on system settings"
6421+
6422+
msgid "No need to set this on %s - it just works automatically."
6423+
msgstr "No need to set this on %s - it just works automatically."
6424+
64196425
msgid "Pixels per inch on current monitor: %d"
64206426
msgstr "Pixels per inch on current monitor: %d"
64216427

source/connections.pas

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,11 @@ procedure Tconnform.FormCreate(Sender: TObject);
320320
end;
321321
ExeFiles.Free;
322322
comboSSHExe.Items.Add('ssh.exe');
323+
324+
// Translate combo items
325+
for i:=0 to comboSSLVerification.Items.Count-1 do begin
326+
comboSSLVerification.Items[i] := _(comboSSLVerification.Items[i]);
327+
end;
323328
end;
324329

325330
procedure Tconnform.btnNewDropdown(Sender: TObject);

source/preferences.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ procedure TfrmPreferences.FormCreate(Sender: TObject);
513513
comboTheme.Items.Add(_('Dark'));
514514
{$ELSE}
515515
lblTheme.Enabled := False;
516-
comboTheme.Items.Text := 'Themes are not supported in the Lazarus release';
516+
comboTheme.Items.Text := f_('No need to set this on %s - it just works automatically.', [GetOS]);
517517
comboTheme.Enabled := False;
518518
{$ENDIF}
519519
comboTheme.ItemIndex := 0;

0 commit comments

Comments
 (0)