ToDoList: shortened dialog caption, improved open dialog filters i18n, patch from Alexey Torgashin, bug #28344. Also regenerated translations and updated Russian translation.

git-svn-id: trunk@49438 -
This commit is contained in:
maxim 2015-06-24 22:03:17 +00:00
parent 6a4b449bb4
commit 93a5226017
15 changed files with 61 additions and 3 deletions

View File

@ -10,6 +10,10 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Volby"

View File

@ -10,6 +10,10 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Einstellungen"
@ -96,3 +100,4 @@ msgstr "Kategorie"
#| msgid "View ToDo list"
msgid "View ToDo List"
msgstr "ToDo-Liste anzeigen"

View File

@ -9,6 +9,10 @@ msgstr ""
"POT-Creation-Date: \n"
"MIME-Version: 1.0\n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Opciones"

View File

@ -1,6 +1,10 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Asetukset"

View File

@ -11,6 +11,10 @@ msgstr ""
"Language: fr\n"
"X-Generator: Poedit 1.7.5\n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Options"

View File

@ -11,6 +11,10 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Beállítások"
@ -94,3 +98,4 @@ msgstr "Kategória"
#: todoliststrconsts.lisviewtodolist
msgid "View ToDo List"
msgstr "ToDo lista megjelenítése"

View File

@ -12,6 +12,10 @@ msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Opzioni"

View File

@ -11,6 +11,10 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 1.5\n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Parinktys"

View File

@ -12,6 +12,10 @@ msgstr ""
"X-Poedit-Country: POLAND\n"
"X-Poedit-SourceCharset: utf-8\n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Opcje"

View File

@ -1,6 +1,10 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr ""

View File

@ -9,6 +9,10 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Opções"

View File

@ -8,6 +8,12 @@ msgstr ""
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ru\n"
"X-Generator: Poedit 1.7.7\n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr "Файлы CSV"
#: todoliststrconsts.dlgfropts
msgid "Options"
@ -95,4 +101,3 @@ msgstr "Категория"
#| msgid "View ToDo list"
msgid "View ToDo List"
msgstr "Показать список ToDo"

View File

@ -12,6 +12,10 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Virtaal 0.7.1\n"
#: todoliststrconsts.dlgfiltercsv
msgid "CSV files"
msgstr ""
#: todoliststrconsts.dlgfropts
msgid "Options"
msgstr "Параметри"

View File

@ -223,6 +223,8 @@ begin
acGoto.ImageIndex := IDEImages.LoadImage(16, 'menu_goto_line');
acRefresh.ImageIndex := IDEImages.LoadImage(16, 'laz_refresh');
acExport.ImageIndex := IDEImages.LoadImage(16, 'menu_saveas');
SaveDialog1.Filter:= dlgFilterCsv+'|*.csv';
end;
destructor TIDETodoWindow.Destroy;
@ -286,7 +288,7 @@ begin
//debugln(['TIDETodoWindow.UpdateTodos Owner=',DbgSName(CurOwner)]);
if CurProject<>nil then begin
// scan all units of project
Caption:=lisToDoList+' '+CurProject.ProjectInfoFile;
Caption:=lisToDoList+' - '+ExtractFileName(CurProject.ProjectInfoFile);
FBaseDirectory:=ExtractFilePath(CurProject.ProjectInfoFile);
if (CurProject.MainFile<>nil) and (pfMainUnitIsPascalSource in CurProject.Flags)
then
@ -300,7 +302,7 @@ begin
end;
end else if CurPackage<>nil then begin
// scan all units of package
Caption:=lisToDoList+' '+CurPackage.Filename;
Caption:=lisToDoList+' - '+ExtractFilename(CurPackage.Filename);
FBaseDirectory:=ExtractFilePath(CurPackage.Filename);
for i:=0 to CurPackage.FileCount-1 do begin
CurPkgFile:=CurPackage.Files[i];

View File

@ -49,6 +49,7 @@ resourcestring
lisViewToDoList = 'View ToDo List';
lisToDoList = 'ToDo List';
lisPkgFileTypeText = 'Text';
dlgFilterCsv = 'CSV files';
implementation