POChecker: removed 'No errors found' label from main form. It is not needed since we now always show Results form.

git-svn-id: trunk@57607 -
This commit is contained in:
maxim 2018-04-05 22:49:48 +00:00
parent cf03083224
commit 334865d488
16 changed files with 8 additions and 85 deletions

View File

@ -247,10 +247,6 @@ msgstr "[Řádek: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Identifikátor [%s] nalezen v %s, ale neexistuje v %s" msgstr "Identifikátor [%s] nalezen v %s, ale neexistuje v %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Žádné chyby nenalezeny"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "" msgstr ""

View File

@ -245,10 +245,6 @@ msgstr "[Zeile: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Bezeichner [%s] gefunden in %s, aber er existiert nicht in %s" msgstr "Bezeichner [%s] gefunden in %s, aber er existiert nicht in %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Keine Fehler gefunden"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "Es müssen keine Dateien mehr geprüft werden." msgstr "Es müssen keine Dateien mehr geprüft werden."

View File

@ -245,10 +245,6 @@ msgstr "[Línea: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Identificador [%s] se encuentra en %s, pero no existe en %s" msgstr "Identificador [%s] se encuentra en %s, pero no existe en %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "No se encontraron errores"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "No hay ficheros restantes por revisar" msgstr "No hay ficheros restantes por revisar"

View File

@ -245,10 +245,6 @@ msgstr "[Ligne : %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Identificateur [%s] trouvé dans %s, mais inexistant dans %s" msgstr "Identificateur [%s] trouvé dans %s, mais inexistant dans %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Aucune erreur trouvée"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "Il ne reste aucun fichier à vérifier." msgstr "Il ne reste aucun fichier à vérifier."

View File

@ -245,10 +245,6 @@ msgstr "[Sor: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "A(z) [%s] azonosító megtalálható itt: %s, de nem található meg itt: %s" msgstr "A(z) [%s] azonosító megtalálható itt: %s, de nem található meg itt: %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Nincsenek hibák"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "Nincsenek további ellenőrzendő fájlok." msgstr "Nincsenek további ellenőrzendő fájlok."

View File

@ -249,10 +249,6 @@ msgstr "[Riga: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Identificatore [%s] trovato in %s, ma inesistente in %s" msgstr "Identificatore [%s] trovato in %s, ma inesistente in %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Nessun errore riscontrato"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "Non ci sono altri file da controllare" msgstr "Non ci sono altri file da controllare"

View File

@ -245,10 +245,6 @@ msgstr "[行:%d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "識別子 [%s] が %s 内で見つかりましたが、%s 内には存在しません" msgstr "識別子 [%s] が %s 内で見つかりましたが、%s 内には存在しません"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "エラーはありません"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "" msgstr ""

View File

@ -246,10 +246,6 @@ msgstr "[Eilutė: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Identifikatorių [%s] turi „%s“, tačiau jo neturi „%s“" msgstr "Identifikatorių [%s] turi „%s“, tačiau jo neturi „%s“"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Klaidų nerasta"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "Nebeliko failų, kuriuos būtų galima tikrinti." msgstr "Nebeliko failų, kuriuos būtų galima tikrinti."

View File

@ -228,10 +228,6 @@ msgstr ""
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "" msgstr ""
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr ""
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "" msgstr ""

View File

@ -245,10 +245,6 @@ msgstr "[Linha: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Identificador [%s] encontrado em %s, mas inexistente em %s" msgstr "Identificador [%s] encontrado em %s, mas inexistente em %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Nenhum erro encontrado"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "Não há mais arquivos à verificar." msgstr "Não há mais arquivos à verificar."

View File

@ -245,10 +245,6 @@ msgstr "[Строка: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Идентификатор [%s] найден в %s, но отсутствует в %s" msgstr "Идентификатор [%s] найден в %s, но отсутствует в %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Ошибок не найдено"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "Подлежащих проверке файлов больше не осталось." msgstr "Подлежащих проверке файлов больше не осталось."

View File

@ -246,10 +246,6 @@ msgstr "[Рядок: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Ідентифікатор [%s] знайдено в %s, але він не існує в %s" msgstr "Ідентифікатор [%s] знайдено в %s, але він не існує в %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Помилки не знайдені"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "Не залишилось файлів для перевірки." msgstr "Не залишилось файлів для перевірки."

View File

@ -249,10 +249,6 @@ msgstr "[行: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s" msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "标识符[%s]找到在%s,但是它在%s中不存在" msgstr "标识符[%s]找到在%s,但是它在%s中不存在"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "没有错误发现"
#: pocheckerconsts.snofileslefttocheck #: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check." msgid "There are no files left to check."
msgstr "哪里没有剩余文件来检查." msgstr "哪里没有剩余文件来检查."

View File

@ -20,7 +20,6 @@ resourcestring
sUnselectListBox = 'Unselect all files'; sUnselectListBox = 'Unselect all files';
sSelectAllListBox = 'Select all files'; sSelectAllListBox = 'Select all files';
sAllLanguages = 'All Languages'; sAllLanguages = 'All Languages';
//sNotAProperFileName = 'Selected filename' + LineEnding + '%s' + LineEnding + 'does not seem to be a proper name for a po-file';
sFilesNotFoundAndRemoved = 'The following non-existent files were removed from the list:' + LineEnding + '%s'; sFilesNotFoundAndRemoved = 'The following non-existent files were removed from the list:' + LineEnding + '%s';
sNoFilesLeftToCheck = 'There are no files left to check.'; sNoFilesLeftToCheck = 'There are no files left to check.';
sErrorOnCreate = 'Error creating an instance of TPoFamily:' + LineEnding + '%s'; sErrorOnCreate = 'Error creating an instance of TPoFamily:' + LineEnding + '%s';
@ -34,7 +33,6 @@ resourcestring
sTotalUntranslatedStrings = 'Total untranslated strings: %s'; sTotalUntranslatedStrings = 'Total untranslated strings: %s';
sTotalFuzzyStrings = 'Total fuzzy strings: %s'; sTotalFuzzyStrings = 'Total fuzzy strings: %s';
sTotalTranslatedStrings = 'Total translated strings: %s (%.1f%%)'; sTotalTranslatedStrings = 'Total translated strings: %s (%.1f%%)';
sNoErrorsFound = 'No errors found';
sCurrentTest = 'Test: %s on %s'; sCurrentTest = 'Test: %s on %s';
sNoTestSelected = 'There are no tests selected.'; sNoTestSelected = 'There are no tests selected.';
sScanningInProgress = 'Scanning in progress, please wait ...'; sScanningInProgress = 'Scanning in progress, please wait ...';

View File

@ -56,22 +56,6 @@ object PoCheckerForm: TPoCheckerForm
ParentColor = False ParentColor = False
ParentFont = False ParentFont = False
end end
object NoErrLabel: TLabel
AnchorSideLeft.Control = ClearMasterFilesBtn
AnchorSideBottom.Control = StatusBar
Left = 6
Height = 25
Top = 459
Width = 146
Anchors = [akLeft, akBottom]
BorderSpacing.Bottom = 6
Caption = 'No errors found'
Font.Color = clGreen
Font.Height = -19
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object SelectBasicTestsBtn: TButton object SelectBasicTestsBtn: TButton
AnchorSideLeft.Control = TestListBox AnchorSideLeft.Control = TestListBox
AnchorSideTop.Control = TestListBox AnchorSideTop.Control = TestListBox
@ -144,7 +128,7 @@ object PoCheckerForm: TPoCheckerForm
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = LangFilter AnchorSideBottom.Control = LangFilter
Left = 6 Left = 6
Height = 115 Height = 146
Top = 278 Top = 278
Width = 632 Width = 632
Anchors = [akTop, akLeft, akRight, akBottom] Anchors = [akTop, akLeft, akRight, akBottom]
@ -170,7 +154,7 @@ object PoCheckerForm: TPoCheckerForm
AnchorSideBottom.Control = ClearMasterFilesBtn AnchorSideBottom.Control = ClearMasterFilesBtn
Left = 6 Left = 6
Height = 23 Height = 23
Top = 399 Top = 430
Width = 632 Width = 632
Anchors = [akLeft, akRight, akBottom] Anchors = [akLeft, akRight, akBottom]
BorderSpacing.Bottom = 6 BorderSpacing.Bottom = 6
@ -210,10 +194,10 @@ object PoCheckerForm: TPoCheckerForm
object ClearMasterFilesBtn: TButton object ClearMasterFilesBtn: TButton
AnchorSideLeft.Control = MasterPoListBox AnchorSideLeft.Control = MasterPoListBox
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = NoErrLabel AnchorSideBottom.Control = StatusBar
Left = 6 Left = 6
Height = 25 Height = 25
Top = 428 Top = 459
Width = 53 Width = 53
Anchors = [akLeft, akBottom] Anchors = [akLeft, akBottom]
AutoSize = True AutoSize = True
@ -225,10 +209,10 @@ object PoCheckerForm: TPoCheckerForm
object UnselectAllMasterFilesBtn: TButton object UnselectAllMasterFilesBtn: TButton
AnchorSideLeft.Control = SelectAllMasterFilesBtn AnchorSideLeft.Control = SelectAllMasterFilesBtn
AnchorSideLeft.Side = asrBottom AnchorSideLeft.Side = asrBottom
AnchorSideBottom.Control = NoErrLabel AnchorSideBottom.Control = StatusBar
Left = 167 Left = 167
Height = 25 Height = 25
Top = 428 Top = 459
Width = 110 Width = 110
Anchors = [akLeft, akBottom] Anchors = [akLeft, akBottom]
AutoSize = True AutoSize = True
@ -242,10 +226,10 @@ object PoCheckerForm: TPoCheckerForm
object SelectAllMasterFilesBtn: TButton object SelectAllMasterFilesBtn: TButton
AnchorSideLeft.Control = ClearMasterFilesBtn AnchorSideLeft.Control = ClearMasterFilesBtn
AnchorSideLeft.Side = asrBottom AnchorSideLeft.Side = asrBottom
AnchorSideBottom.Control = NoErrLabel AnchorSideBottom.Control = StatusBar
Left = 65 Left = 65
Height = 25 Height = 25
Top = 428 Top = 459
Width = 96 Width = 96
Anchors = [akLeft, akBottom] Anchors = [akLeft, akBottom]
AutoSize = True AutoSize = True

View File

@ -99,7 +99,6 @@ type
UnselectAllTestsBtn: TButton; UnselectAllTestsBtn: TButton;
SelectAllTestsBtn: TButton; SelectAllTestsBtn: TButton;
SelectBasicTestsBtn: TButton; SelectBasicTestsBtn: TButton;
NoErrLabel: TLabel;
Button3: TButton; Button3: TButton;
SelectTestLabel: TLabel; SelectTestLabel: TLabel;
TestListBox: TCheckListBox; TestListBox: TCheckListBox;
@ -142,7 +141,6 @@ begin
ApplyTranslations; ApplyTranslations;
FillTestListBox; FillTestListBox;
ClearStatusBar; ClearStatusBar;
NoErrLabel.Visible := False;
PopulateLangFilter; PopulateLangFilter;
ApplyConfig; ApplyConfig;
LangFilter.Invalidate; //Items[0] may have been changed LangFilter.Invalidate; //Items[0] may have been changed
@ -532,7 +530,6 @@ begin
Exit; Exit;
end; end;
TestOptions := GetTestOptions; TestOptions := GetTestOptions;
NoErrLabel.Visible := False;
Application.ProcessMessages; Application.ProcessMessages;
SL := TStringList.Create; SL := TStringList.Create;
StatL := TStringList.Create; StatL := TStringList.Create;
@ -582,7 +579,6 @@ begin
finally finally
ResultDlg.Free; ResultDlg.Free;
end; end;
NoErrLabel.Visible := (ErrorCount = 0);
finally finally
if Assigned(SL) then if Assigned(SL) then
SL.Free; SL.Free;
@ -601,7 +597,6 @@ end;
procedure TPoCheckerForm.UpdateGUI(HasSelection: Boolean); procedure TPoCheckerForm.UpdateGUI(HasSelection: Boolean);
begin begin
NoErrLabel.Visible := False;
RunToolButton.Enabled := HasSelection; RunToolButton.Enabled := HasSelection;
TestListBox.Enabled := HasSelection; TestListBox.Enabled := HasSelection;
SelectAllTestsBtn.Enabled := HasSelection; SelectAllTestsBtn.Enabled := HasSelection;
@ -919,7 +914,6 @@ begin
LocalizeLanguageNames; LocalizeLanguageNames;
Caption := sGUIPoFileCheckingTool; Caption := sGUIPoFileCheckingTool;
SelectTestLabel.Caption := sSelectTestTypes; SelectTestLabel.Caption := sSelectTestTypes;
//FindAllPOsCheckBox.Caption := sFindAllTranslatedPoFiles;
IgnoreFuzzyCheckBox.Caption := sIgnoreFuzzyTranslations; IgnoreFuzzyCheckBox.Caption := sIgnoreFuzzyTranslations;
ScanDirToolButton.Caption := sScanDir; ScanDirToolButton.Caption := sScanDir;
RunToolButton.Caption := sRunSelectedTests; RunToolButton.Caption := sRunSelectedTests;
@ -927,7 +921,6 @@ begin
UnselectAllMasterFilesBtn.Caption := sUnselectListBox; UnselectAllMasterFilesBtn.Caption := sUnselectListBox;
SelectAllMasterFilesBtn.Caption := sSelectAllListBox; SelectAllMasterFilesBtn.Caption := sSelectAllListBox;
LangFilter.Items[0] := sAllLanguages; LangFilter.Items[0] := sAllLanguages;
NoErrLabel.Caption := sNoErrorsFound;
SelectAllTestsBtn.Caption := sSelectAllTests; SelectAllTestsBtn.Caption := sSelectAllTests;
SelectBasicTestsBtn.Caption := sSelectBasicTests; SelectBasicTestsBtn.Caption := sSelectBasicTests;
UnselectAllTestsBtn.Caption := sUnselectAllTests; UnselectAllTestsBtn.Caption := sUnselectAllTests;