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"
msgstr "Identifikátor [%s] nalezen v %s, ale neexistuje v %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Žádné chyby nenalezeny"
#: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check."
msgstr ""

View File

@ -245,10 +245,6 @@ msgstr "[Zeile: %d]"
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"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Keine Fehler gefunden"
#: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check."
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"
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
msgid "There are no files left to check."
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"
msgstr "Identificateur [%s] trouvé dans %s, mais inexistant dans %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Aucune erreur trouvée"
#: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check."
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"
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
msgid "There are no files left to check."
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"
msgstr "Identificatore [%s] trovato in %s, ma inesistente in %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Nessun errore riscontrato"
#: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check."
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"
msgstr "識別子 [%s] が %s 内で見つかりましたが、%s 内には存在しません"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "エラーはありません"
#: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check."
msgstr ""

View File

@ -246,10 +246,6 @@ msgstr "[Eilutė: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Identifikatorių [%s] turi „%s“, tačiau jo neturi „%s“"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Klaidų nerasta"
#: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check."
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"
msgstr ""
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr ""
#: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check."
msgstr ""

View File

@ -245,10 +245,6 @@ msgstr "[Linha: %d]"
msgid "Identifier [%s] found in %s, but it does not exist in %s"
msgstr "Identificador [%s] encontrado em %s, mas inexistente em %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Nenhum erro encontrado"
#: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check."
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"
msgstr "Идентификатор [%s] найден в %s, но отсутствует в %s"
#: pocheckerconsts.snoerrorsfound
msgid "No errors found"
msgstr "Ошибок не найдено"
#: pocheckerconsts.snofileslefttocheck
msgid "There are no files left to check."
msgstr "Подлежащих проверке файлов больше не осталось."

View File

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

View File

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

View File

@ -20,7 +20,6 @@ resourcestring
sUnselectListBox = 'Unselect all files';
sSelectAllListBox = 'Select all files';
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';
sNoFilesLeftToCheck = 'There are no files left to check.';
sErrorOnCreate = 'Error creating an instance of TPoFamily:' + LineEnding + '%s';
@ -34,7 +33,6 @@ resourcestring
sTotalUntranslatedStrings = 'Total untranslated strings: %s';
sTotalFuzzyStrings = 'Total fuzzy strings: %s';
sTotalTranslatedStrings = 'Total translated strings: %s (%.1f%%)';
sNoErrorsFound = 'No errors found';
sCurrentTest = 'Test: %s on %s';
sNoTestSelected = 'There are no tests selected.';
sScanningInProgress = 'Scanning in progress, please wait ...';

View File

@ -56,22 +56,6 @@ object PoCheckerForm: TPoCheckerForm
ParentColor = False
ParentFont = False
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
AnchorSideLeft.Control = TestListBox
AnchorSideTop.Control = TestListBox
@ -144,7 +128,7 @@ object PoCheckerForm: TPoCheckerForm
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = LangFilter
Left = 6
Height = 115
Height = 146
Top = 278
Width = 632
Anchors = [akTop, akLeft, akRight, akBottom]
@ -170,7 +154,7 @@ object PoCheckerForm: TPoCheckerForm
AnchorSideBottom.Control = ClearMasterFilesBtn
Left = 6
Height = 23
Top = 399
Top = 430
Width = 632
Anchors = [akLeft, akRight, akBottom]
BorderSpacing.Bottom = 6
@ -210,10 +194,10 @@ object PoCheckerForm: TPoCheckerForm
object ClearMasterFilesBtn: TButton
AnchorSideLeft.Control = MasterPoListBox
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = NoErrLabel
AnchorSideBottom.Control = StatusBar
Left = 6
Height = 25
Top = 428
Top = 459
Width = 53
Anchors = [akLeft, akBottom]
AutoSize = True
@ -225,10 +209,10 @@ object PoCheckerForm: TPoCheckerForm
object UnselectAllMasterFilesBtn: TButton
AnchorSideLeft.Control = SelectAllMasterFilesBtn
AnchorSideLeft.Side = asrBottom
AnchorSideBottom.Control = NoErrLabel
AnchorSideBottom.Control = StatusBar
Left = 167
Height = 25
Top = 428
Top = 459
Width = 110
Anchors = [akLeft, akBottom]
AutoSize = True
@ -242,10 +226,10 @@ object PoCheckerForm: TPoCheckerForm
object SelectAllMasterFilesBtn: TButton
AnchorSideLeft.Control = ClearMasterFilesBtn
AnchorSideLeft.Side = asrBottom
AnchorSideBottom.Control = NoErrLabel
AnchorSideBottom.Control = StatusBar
Left = 65
Height = 25
Top = 428
Top = 459
Width = 96
Anchors = [akLeft, akBottom]
AutoSize = True

View File

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