PoChecker: Do not select all tests by according checkbox, but only "basic" ones. Do not include search for duplicate strings to this selection as it tends to confuse translators most of the time and usually used only by developers.

git-svn-id: trunk@39796 -
This commit is contained in:
maxim 2013-01-07 13:04:30 +00:00
parent dbdae2d1c7
commit 0252709b10
11 changed files with 30 additions and 78 deletions

View File

@ -1,7 +1,3 @@
Arabic translation of Free Pascal Lazarus Project.
Copyright (C) 2012 Lazarus Project
This file is distributed under the same license as the Lazarus package.
Khaled Shagrouni <shagrouni@gmail.com>, 2012.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Free Pascal Lazarus Project.\n" "Project-Id-Version: Free Pascal Lazarus Project.\n"
@ -187,9 +183,9 @@ msgstr ""
" خطأ عند خفظ ملف:\n" " خطأ عند خفظ ملف:\n"
"%s\n" "%s\n"
#: pocheckerconsts.sselectalltests #: pocheckerconsts.sselectbasictests
msgid "Select all tests" msgid "Select basic tests"
msgstr "اختيار كل الإختبارات" msgstr ""
#: pocheckerconsts.sselecttesttypes #: pocheckerconsts.sselecttesttypes
msgid "Select test types" msgid "Select test types"
@ -207,7 +203,3 @@ msgstr "مجموع التحذيرات التي وُجدت: %d"
msgid "Translation" msgid "Translation"
msgstr "الترجمة" msgstr "الترجمة"
#: pocheckerconsts.sunselectalltests
msgid "Unselect all tests"
msgstr "إزالة اختيار كل الإختبارات"

View File

@ -180,9 +180,9 @@ msgstr ""
"Chyba ukládání souboru:\n" "Chyba ukládání souboru:\n"
"%s\n" "%s\n"
#: pocheckerconsts.sselectalltests #: pocheckerconsts.sselectbasictests
msgid "Select all tests" msgid "Select basic tests"
msgstr "Vybrat všechny testy" msgstr ""
#: pocheckerconsts.sselecttesttypes #: pocheckerconsts.sselecttesttypes
msgid "Select test types" msgid "Select test types"
@ -200,7 +200,3 @@ msgstr "Celkem nalezeno varování: %d"
msgid "Translation" msgid "Translation"
msgstr "Překlad" msgstr "Překlad"
#: pocheckerconsts.sunselectalltests
msgid "Unselect all tests"
msgstr "Zruš výběr všech testů"

View File

@ -121,7 +121,7 @@ msgstr ""
"Gewählter Dateiname\n" "Gewählter Dateiname\n"
"%s\n" "%s\n"
"sieht nicht wie ein geeigneter Name für eine po-file\n" "sieht nicht wie ein geeigneter Name für eine po-file\n"
" aus" " aus\n"
#: pocheckerconsts.snotestselected #: pocheckerconsts.snotestselected
msgid "There are no tests selected." msgid "There are no tests selected."
@ -171,9 +171,9 @@ msgstr ""
"Fehler beim Speichern von Datei:\n" "Fehler beim Speichern von Datei:\n"
"%s\n" "%s\n"
#: pocheckerconsts.sselectalltests #: pocheckerconsts.sselectbasictests
msgid "Select all tests" msgid "Select basic tests"
msgstr "Alle Tests auswählen" msgstr ""
#: pocheckerconsts.sselecttesttypes #: pocheckerconsts.sselecttesttypes
msgid "Select test types" msgid "Select test types"
@ -191,7 +191,3 @@ msgstr "Insgesamt %d Warnungen gefunden"
msgid "Translation" msgid "Translation"
msgstr "Übersetzung" msgstr "Übersetzung"
#: pocheckerconsts.sunselectalltests
msgid "Unselect all tests"
msgstr "Alle Tests abwählen"

View File

@ -179,9 +179,9 @@ msgstr ""
"Error guardando archivo:\n" "Error guardando archivo:\n"
"%s\n" "%s\n"
#: pocheckerconsts.sselectalltests #: pocheckerconsts.sselectbasictests
msgid "Select all tests" msgid "Select basic tests"
msgstr "Seleccione todas las pruebas" msgstr ""
#: pocheckerconsts.sselecttesttypes #: pocheckerconsts.sselecttesttypes
msgid "Select test types" msgid "Select test types"
@ -199,7 +199,3 @@ msgstr "Total de avisos encontrados: %d"
msgid "Translation" msgid "Translation"
msgstr "Traducción" msgstr "Traducción"
#: pocheckerconsts.sunselectalltests
msgid "Unselect all tests"
msgstr "Deseleccionar todas las pruebas"

View File

@ -1,4 +1,3 @@
Valdas Jankunas <zmuogs@gmail.com>, 2012.
msgid "" msgid ""
msgstr "" msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@ -182,9 +181,9 @@ msgstr ""
"Rašant į failą įvyko klaida:\n" "Rašant į failą įvyko klaida:\n"
"%s\n" "%s\n"
#: pocheckerconsts.sselectalltests #: pocheckerconsts.sselectbasictests
msgid "Select all tests" msgid "Select basic tests"
msgstr "Pažymėti visus testavimus" msgstr ""
#: pocheckerconsts.sselecttesttypes #: pocheckerconsts.sselecttesttypes
msgid "Select test types" msgid "Select test types"
@ -202,7 +201,3 @@ msgstr "Viso rasta perspėjimų: %d"
msgid "Translation" msgid "Translation"
msgstr "Vertimas" msgstr "Vertimas"
#: pocheckerconsts.sunselectalltests
msgid "Unselect all tests"
msgstr "Naikinti testavimų žymėjimą"

View File

@ -155,8 +155,8 @@ msgid ""
"%s\n" "%s\n"
msgstr "" msgstr ""
#: pocheckerconsts.sselectalltests #: pocheckerconsts.sselectbasictests
msgid "Select all tests" msgid "Select basic tests"
msgstr "" msgstr ""
#: pocheckerconsts.sselecttesttypes #: pocheckerconsts.sselecttesttypes
@ -175,7 +175,3 @@ msgstr ""
msgid "Translation" msgid "Translation"
msgstr "" msgstr ""
#: pocheckerconsts.sunselectalltests
msgid "Unselect all tests"
msgstr ""

View File

@ -170,9 +170,9 @@ msgstr ""
"Erro ao salvar arquivo:\n" "Erro ao salvar arquivo:\n"
"%s\n" "%s\n"
#: pocheckerconsts.sselectalltests #: pocheckerconsts.sselectbasictests
msgid "Select all tests" msgid "Select basic tests"
msgstr "Selecionar todos os testes" msgstr ""
#: pocheckerconsts.sselecttesttypes #: pocheckerconsts.sselecttesttypes
msgid "Select test types" msgid "Select test types"
@ -190,7 +190,3 @@ msgstr "Total de avisos encontrados: %d"
msgid "Translation" msgid "Translation"
msgstr "Tradução" msgstr "Tradução"
#: pocheckerconsts.sunselectalltests
msgid "Unselect all tests"
msgstr "Desmarcar todos os testes"

View File

@ -178,9 +178,9 @@ msgstr ""
"Ошибка сохранения файла:\n" "Ошибка сохранения файла:\n"
"%s\n" "%s\n"
#: pocheckerconsts.sselectalltests #: pocheckerconsts.sselectbasictests
msgid "Select all tests" msgid "Select basic tests"
msgstr "Выбрать все тесты" msgstr "Выбрать базовые тесты"
#: pocheckerconsts.sselecttesttypes #: pocheckerconsts.sselecttesttypes
msgid "Select test types" msgid "Select test types"
@ -198,7 +198,3 @@ msgstr "Всего найдено предупреждений: %d"
msgid "Translation" msgid "Translation"
msgstr "Перевод" msgstr "Перевод"
#: pocheckerconsts.sunselectalltests
msgid "Unselect all tests"
msgstr "Отменить выбор всех тестов"

View File

@ -1,4 +1,3 @@
Igor Paliychuk <mansonigor@gmail.com>, 2012.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2012-04-23 11:40+0300\n" "PO-Revision-Date: 2012-04-23 11:40+0300\n"
@ -179,9 +178,9 @@ msgstr ""
"Помилка збереження файлу:\n" "Помилка збереження файлу:\n"
"%s\n" "%s\n"
#: pocheckerconsts.sselectalltests #: pocheckerconsts.sselectbasictests
msgid "Select all tests" msgid "Select basic tests"
msgstr "Вибрати всі тести" msgstr ""
#: pocheckerconsts.sselecttesttypes #: pocheckerconsts.sselecttesttypes
msgid "Select test types" msgid "Select test types"
@ -199,7 +198,3 @@ msgstr "Знайдено всього попереджень: %d"
msgid "Translation" msgid "Translation"
msgstr "Переклад" msgstr "Переклад"
#: pocheckerconsts.sunselectalltests
msgid "Unselect all tests"
msgstr "Зняти вибір з всіх тестів"

View File

@ -7,8 +7,7 @@ interface
resourcestring resourcestring
//Main form //Main form
rsPoChecker = 'PO File Checker'; rsPoChecker = 'PO File Checker';
sSelectAllTests = 'Select all tests'; sSelectBasicTests = 'Select basic tests';
sUnSelectAllTests = 'Unselect all tests';
sGUIPoFileCheckingTool = 'GUI Po-file checking tool'; sGUIPoFileCheckingTool = 'GUI Po-file checking tool';
sSelectTestTypes = 'Select test types'; sSelectTestTypes = 'Select test types';
sOpenAPoFile = '&Open a po-file'; sOpenAPoFile = '&Open a po-file';

View File

@ -155,13 +155,8 @@ var
i: Integer; i: Integer;
begin begin
cb := Sender as TCheckBox; cb := Sender as TCheckBox;
// Caption text : select all / unselect all
if cb.Checked then
cb.Caption := sUnSelectAllTests
else
cb.Caption := sSelectAllTests;
// Set / reset all CheckListBox items. // Set / reset all CheckListBox items.
for i := 0 to TestListBox.Count - 1 do for i := 0 to TestListBox.Count - 2 do
TestListBox.Checked[i] := cb.Checked; TestListBox.Checked[i] := cb.Checked;
end; end;
@ -195,7 +190,7 @@ begin
else else
TestListBox.Items.Add(PoTestOptionNames[Opt]); TestListBox.Items.Add(PoTestOptionNames[Opt]);
end; end;
SelectAllCheckBox.Caption := sSelectAllTests; SelectAllCheckBox.Caption := sSelectBasicTests;
end; end;
function TPoCheckerForm.GetOptionsFromListBox: TPoTestOptions; function TPoCheckerForm.GetOptionsFromListBox: TPoTestOptions;