From cffb111e37c9f4f4a07bcd67c469eb4bd48ef1ab Mon Sep 17 00:00:00 2001 From: maxim Date: Wed, 8 Jan 2014 16:31:31 +0000 Subject: [PATCH] Components, SQLdb: improved localization, updated Russian translation git-svn-id: trunk@43676 - --- .../sqlstringspropertyeditordlg.cs.po | 16 ++++++++++++++ .../sqlstringspropertyeditordlg.de.po | 16 ++++++++++++++ .../sqlstringspropertyeditordlg.es.po | 16 ++++++++++++++ .../sqlstringspropertyeditordlg.it.po | 16 ++++++++++++++ .../sqlstringspropertyeditordlg.lt.po | 16 ++++++++++++++ .../languages/sqlstringspropertyeditordlg.po | 16 ++++++++++++++ .../sqlstringspropertyeditordlg.pt_BR.po | 16 ++++++++++++++ .../sqlstringspropertyeditordlg.ru.po | 19 +++++++++++++--- .../sqlstringspropertyeditordlg.uk.po | 16 ++++++++++++++ .../sqlstringspropertyeditordlg.zh_CN.po | 16 ++++++++++++++ .../sqldb/sqlstringspropertyeditordlg.lfm | 22 +++++++++---------- .../sqldb/sqlstringspropertyeditordlg.pas | 10 +++++++++ 12 files changed, 181 insertions(+), 14 deletions(-) diff --git a/components/sqldb/languages/sqlstringspropertyeditordlg.cs.po b/components/sqldb/languages/sqlstringspropertyeditordlg.cs.po index 069afc5e44..c29351ed47 100644 --- a/components/sqldb/languages/sqlstringspropertyeditordlg.cs.po +++ b/components/sqldb/languages/sqlstringspropertyeditordlg.cs.po @@ -10,6 +10,10 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.5.4\n" +#: sqlstringspropertyeditordlg.sloadsqlcodehint +msgid "Load SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.smetacolumns msgid "Columns" msgstr "Sloupce" @@ -38,10 +42,22 @@ msgstr "Tabulky" msgid "No syntax errors in SQL statement found." msgstr "" +#: sqlstringspropertyeditordlg.squickcheckofsqlsyntaxhint +msgid "Quick check of SQL syntax" +msgstr "" + #: sqlstringspropertyeditordlg.sresulttabcaption msgid "Results" msgstr "Výsledky" +#: sqlstringspropertyeditordlg.srunsqlcodehint +msgid "Run SQL code" +msgstr "" + +#: sqlstringspropertyeditordlg.ssavesqlcodehint +msgid "Save SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.ssqlerror msgid "Probable SQL error" msgstr "" diff --git a/components/sqldb/languages/sqlstringspropertyeditordlg.de.po b/components/sqldb/languages/sqlstringspropertyeditordlg.de.po index e4d9df5129..dad32458b7 100644 --- a/components/sqldb/languages/sqlstringspropertyeditordlg.de.po +++ b/components/sqldb/languages/sqlstringspropertyeditordlg.de.po @@ -9,6 +9,10 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" +#: sqlstringspropertyeditordlg.sloadsqlcodehint +msgid "Load SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.smetacolumns msgid "Columns" msgstr "Spalten" @@ -37,10 +41,22 @@ msgstr "Tabellen" msgid "No syntax errors in SQL statement found." msgstr "" +#: sqlstringspropertyeditordlg.squickcheckofsqlsyntaxhint +msgid "Quick check of SQL syntax" +msgstr "" + #: sqlstringspropertyeditordlg.sresulttabcaption msgid "Results" msgstr "Ergebnisse" +#: sqlstringspropertyeditordlg.srunsqlcodehint +msgid "Run SQL code" +msgstr "" + +#: sqlstringspropertyeditordlg.ssavesqlcodehint +msgid "Save SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.ssqlerror msgid "Probable SQL error" msgstr "" diff --git a/components/sqldb/languages/sqlstringspropertyeditordlg.es.po b/components/sqldb/languages/sqlstringspropertyeditordlg.es.po index cf464c2041..be51e07cee 100644 --- a/components/sqldb/languages/sqlstringspropertyeditordlg.es.po +++ b/components/sqldb/languages/sqlstringspropertyeditordlg.es.po @@ -9,6 +9,10 @@ msgstr "" "POT-Creation-Date: \n" "MIME-Version: 1.0\n" +#: sqlstringspropertyeditordlg.sloadsqlcodehint +msgid "Load SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.smetacolumns msgid "Columns" msgstr "Columnas" @@ -37,10 +41,22 @@ msgstr "Tablas" msgid "No syntax errors in SQL statement found." msgstr "" +#: sqlstringspropertyeditordlg.squickcheckofsqlsyntaxhint +msgid "Quick check of SQL syntax" +msgstr "" + #: sqlstringspropertyeditordlg.sresulttabcaption msgid "Results" msgstr "Resultados" +#: sqlstringspropertyeditordlg.srunsqlcodehint +msgid "Run SQL code" +msgstr "" + +#: sqlstringspropertyeditordlg.ssavesqlcodehint +msgid "Save SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.ssqlerror msgid "Probable SQL error" msgstr "" diff --git a/components/sqldb/languages/sqlstringspropertyeditordlg.it.po b/components/sqldb/languages/sqlstringspropertyeditordlg.it.po index d399c0eba2..b8944e14dd 100644 --- a/components/sqldb/languages/sqlstringspropertyeditordlg.it.po +++ b/components/sqldb/languages/sqlstringspropertyeditordlg.it.po @@ -10,6 +10,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Virtaal 0.5.1\n" +#: sqlstringspropertyeditordlg.sloadsqlcodehint +msgid "Load SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.smetacolumns msgid "Columns" msgstr "" @@ -38,10 +42,22 @@ msgstr "" msgid "No syntax errors in SQL statement found." msgstr "" +#: sqlstringspropertyeditordlg.squickcheckofsqlsyntaxhint +msgid "Quick check of SQL syntax" +msgstr "" + #: sqlstringspropertyeditordlg.sresulttabcaption msgid "Results" msgstr "Risultati" +#: sqlstringspropertyeditordlg.srunsqlcodehint +msgid "Run SQL code" +msgstr "" + +#: sqlstringspropertyeditordlg.ssavesqlcodehint +msgid "Save SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.ssqlerror msgid "Probable SQL error" msgstr "" diff --git a/components/sqldb/languages/sqlstringspropertyeditordlg.lt.po b/components/sqldb/languages/sqlstringspropertyeditordlg.lt.po index b5182a5848..78f6e1da7d 100644 --- a/components/sqldb/languages/sqlstringspropertyeditordlg.lt.po +++ b/components/sqldb/languages/sqlstringspropertyeditordlg.lt.po @@ -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" "Language: lt\n" +#: sqlstringspropertyeditordlg.sloadsqlcodehint +msgid "Load SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.smetacolumns msgid "Columns" msgstr "Stulpeliai" @@ -39,10 +43,22 @@ msgstr "Lentelės" msgid "No syntax errors in SQL statement found." msgstr "" +#: sqlstringspropertyeditordlg.squickcheckofsqlsyntaxhint +msgid "Quick check of SQL syntax" +msgstr "" + #: sqlstringspropertyeditordlg.sresulttabcaption msgid "Results" msgstr "Rezultatai" +#: sqlstringspropertyeditordlg.srunsqlcodehint +msgid "Run SQL code" +msgstr "" + +#: sqlstringspropertyeditordlg.ssavesqlcodehint +msgid "Save SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.ssqlerror msgid "Probable SQL error" msgstr "" diff --git a/components/sqldb/languages/sqlstringspropertyeditordlg.po b/components/sqldb/languages/sqlstringspropertyeditordlg.po index 25f04fc8ce..64db552ce2 100644 --- a/components/sqldb/languages/sqlstringspropertyeditordlg.po +++ b/components/sqldb/languages/sqlstringspropertyeditordlg.po @@ -1,6 +1,10 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" +#: sqlstringspropertyeditordlg.sloadsqlcodehint +msgid "Load SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.smetacolumns msgid "Columns" msgstr "" @@ -29,10 +33,22 @@ msgstr "" msgid "No syntax errors in SQL statement found." msgstr "" +#: sqlstringspropertyeditordlg.squickcheckofsqlsyntaxhint +msgid "Quick check of SQL syntax" +msgstr "" + #: sqlstringspropertyeditordlg.sresulttabcaption msgid "Results" msgstr "" +#: sqlstringspropertyeditordlg.srunsqlcodehint +msgid "Run SQL code" +msgstr "" + +#: sqlstringspropertyeditordlg.ssavesqlcodehint +msgid "Save SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.ssqlerror msgid "Probable SQL error" msgstr "" diff --git a/components/sqldb/languages/sqlstringspropertyeditordlg.pt_BR.po b/components/sqldb/languages/sqlstringspropertyeditordlg.pt_BR.po index 1811836e04..aab6fdda67 100644 --- a/components/sqldb/languages/sqlstringspropertyeditordlg.pt_BR.po +++ b/components/sqldb/languages/sqlstringspropertyeditordlg.pt_BR.po @@ -9,6 +9,10 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" +#: sqlstringspropertyeditordlg.sloadsqlcodehint +msgid "Load SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.smetacolumns msgid "Columns" msgstr "Colunas" @@ -37,10 +41,22 @@ msgstr "Tabelas" msgid "No syntax errors in SQL statement found." msgstr "" +#: sqlstringspropertyeditordlg.squickcheckofsqlsyntaxhint +msgid "Quick check of SQL syntax" +msgstr "" + #: sqlstringspropertyeditordlg.sresulttabcaption msgid "Results" msgstr "Resultados" +#: sqlstringspropertyeditordlg.srunsqlcodehint +msgid "Run SQL code" +msgstr "" + +#: sqlstringspropertyeditordlg.ssavesqlcodehint +msgid "Save SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.ssqlerror msgid "Probable SQL error" msgstr "" diff --git a/components/sqldb/languages/sqlstringspropertyeditordlg.ru.po b/components/sqldb/languages/sqlstringspropertyeditordlg.ru.po index c5a2fb0dfe..7a6e0f93db 100644 --- a/components/sqldb/languages/sqlstringspropertyeditordlg.ru.po +++ b/components/sqldb/languages/sqlstringspropertyeditordlg.ru.po @@ -9,6 +9,10 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" +#: sqlstringspropertyeditordlg.sloadsqlcodehint +msgid "Load SQL code ..." +msgstr "Загрузить код SQL ..." + #: sqlstringspropertyeditordlg.smetacolumns msgid "Columns" msgstr "Столбцы" @@ -38,10 +42,22 @@ msgstr "Таблицы" msgid "No syntax errors in SQL statement found." msgstr "В выражении SQL синтаксических ошибок не найдено." +#: sqlstringspropertyeditordlg.squickcheckofsqlsyntaxhint +msgid "Quick check of SQL syntax" +msgstr "Выполнить быструю проверку синтаксиса кода SQL" + #: sqlstringspropertyeditordlg.sresulttabcaption msgid "Results" msgstr "Результаты" +#: sqlstringspropertyeditordlg.srunsqlcodehint +msgid "Run SQL code" +msgstr "Запустить код SQL" + +#: sqlstringspropertyeditordlg.ssavesqlcodehint +msgid "Save SQL code ..." +msgstr "Сохранить код SQL ..." + #: sqlstringspropertyeditordlg.ssqlerror #| msgid "SQL Error" msgid "Probable SQL error" @@ -53,9 +69,6 @@ msgid "Quick SQL check OK" msgstr "Быстрая проверка кода SQL прошла успешно" #: sqlstringspropertyeditordlg.ssqlsyntaxerror -#| msgid "" -#| "Syntax error in SQL statement:\n" -#| "%s\n" msgid "" "Probable syntax error in SQL statement:\n" "%s\n" diff --git a/components/sqldb/languages/sqlstringspropertyeditordlg.uk.po b/components/sqldb/languages/sqlstringspropertyeditordlg.uk.po index 31bd4f7831..11daf4b470 100644 --- a/components/sqldb/languages/sqlstringspropertyeditordlg.uk.po +++ b/components/sqldb/languages/sqlstringspropertyeditordlg.uk.po @@ -9,6 +9,10 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" +#: sqlstringspropertyeditordlg.sloadsqlcodehint +msgid "Load SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.smetacolumns msgid "Columns" msgstr "" @@ -37,10 +41,22 @@ msgstr "" msgid "No syntax errors in SQL statement found." msgstr "" +#: sqlstringspropertyeditordlg.squickcheckofsqlsyntaxhint +msgid "Quick check of SQL syntax" +msgstr "" + #: sqlstringspropertyeditordlg.sresulttabcaption msgid "Results" msgstr "Результати" +#: sqlstringspropertyeditordlg.srunsqlcodehint +msgid "Run SQL code" +msgstr "" + +#: sqlstringspropertyeditordlg.ssavesqlcodehint +msgid "Save SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.ssqlerror msgid "Probable SQL error" msgstr "" diff --git a/components/sqldb/languages/sqlstringspropertyeditordlg.zh_CN.po b/components/sqldb/languages/sqlstringspropertyeditordlg.zh_CN.po index 0b21849b60..3e8c039834 100644 --- a/components/sqldb/languages/sqlstringspropertyeditordlg.zh_CN.po +++ b/components/sqldb/languages/sqlstringspropertyeditordlg.zh_CN.po @@ -12,6 +12,10 @@ msgstr "" "X-Poedit-Country: CHINA\n" "X-Poedit-SourceCharset: utf-8\n" +#: sqlstringspropertyeditordlg.sloadsqlcodehint +msgid "Load SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.smetacolumns msgid "Columns" msgstr "" @@ -40,10 +44,22 @@ msgstr "" msgid "No syntax errors in SQL statement found." msgstr "" +#: sqlstringspropertyeditordlg.squickcheckofsqlsyntaxhint +msgid "Quick check of SQL syntax" +msgstr "" + #: sqlstringspropertyeditordlg.sresulttabcaption msgid "Results" msgstr "返回值" +#: sqlstringspropertyeditordlg.srunsqlcodehint +msgid "Run SQL code" +msgstr "" + +#: sqlstringspropertyeditordlg.ssavesqlcodehint +msgid "Save SQL code ..." +msgstr "" + #: sqlstringspropertyeditordlg.ssqlerror msgid "Probable SQL error" msgstr "" diff --git a/components/sqldb/sqlstringspropertyeditordlg.lfm b/components/sqldb/sqlstringspropertyeditordlg.lfm index 20f0d98615..91abf239e1 100644 --- a/components/sqldb/sqlstringspropertyeditordlg.lfm +++ b/components/sqldb/sqlstringspropertyeditordlg.lfm @@ -12,8 +12,8 @@ object SQLStringsPropertyEditorDlg: TSQLStringsPropertyEditorDlg LCLVersion = '1.3' object ButtonsPanel: TButtonPanel Left = 6 - Height = 41 - Top = 310 + Height = 34 + Top = 317 Width = 482 OKButton.Name = 'OKButton' OKButton.DefaultCaption = True @@ -88,7 +88,7 @@ object SQLStringsPropertyEditorDlg: TSQLStringsPropertyEditorDlg end object PageControl: TPageControl Left = 0 - Height = 274 + Height = 281 Top = 30 Width = 494 ActivePage = EditorTabSheet @@ -96,13 +96,13 @@ object SQLStringsPropertyEditorDlg: TSQLStringsPropertyEditorDlg TabIndex = 0 TabOrder = 2 object EditorTabSheet: TTabSheet - ClientHeight = 249 - ClientWidth = 490 + ClientHeight = 255 + ClientWidth = 486 inline SQLEditor: TSynEdit Left = 0 - Height = 249 + Height = 255 Top = 0 - Width = 490 + Width = 486 Align = alClient Font.Height = -16 Font.Name = '-misc-dejavu sans mono-*-*-*-*-*-*-*-*-*-*-iso10646-1' @@ -658,11 +658,11 @@ object SQLStringsPropertyEditorDlg: TSQLStringsPropertyEditorDlg ClientWidth = 486 object CbxMetaData: TComboBox Left = 8 - Height = 23 + Height = 21 Hint = 'Select the type of metadata to retrieve.' Top = 9 Width = 132 - ItemHeight = 0 + ItemHeight = 13 ParentShowHint = False ShowHint = True TabOrder = 0 @@ -740,7 +740,7 @@ object SQLStringsPropertyEditorDlg: TSQLStringsPropertyEditorDlg left = 264 top = 152 end - object SQLDataSource: TDatasource + object SQLDataSource: TDataSource DataSet = SQLQuery left = 336 top = 136 @@ -1016,7 +1016,7 @@ object SQLStringsPropertyEditorDlg: TSQLStringsPropertyEditorDlg left = 120 top = 208 end - object SQLDataSource1: TDatasource + object SQLDataSource1: TDataSource DataSet = SQLMeta left = 208 top = 208 diff --git a/components/sqldb/sqlstringspropertyeditordlg.pas b/components/sqldb/sqlstringspropertyeditordlg.pas index c5ea209972..524e0d077a 100644 --- a/components/sqldb/sqlstringspropertyeditordlg.pas +++ b/components/sqldb/sqlstringspropertyeditordlg.pas @@ -94,6 +94,12 @@ resourcestring SMetaPleaseSpecifyATableInTheObjectField = 'Please specify a table in the ' +'object field.'; SMetaSysTables = 'SysTables'; + + SLoadSQLCodeHint = 'Load SQL code ...'; + SSaveSQLCodeHint = 'Save SQL code ...'; + SRunSQLCodeHint = 'Run SQL code'; + SQuickCheckOfSQLSyntaxHint = 'Quick check of SQL syntax'; + // SQL Parser results: // Note: sql parser is not quite exact, so indicate it's not completely sure SSQLOK = 'Quick SQL check OK'; @@ -112,6 +118,10 @@ begin EditorTabSheet.Caption := SSQLTabCaption; ResultTabSheet.Caption := SResultTabCaption; MetaTabSheet.Caption := SMetaTabCaption; + OpenToolButton.Hint := SLoadSQLCodeHint; + SaveToolButton.Hint := SSaveSQLCodeHint; + ExecuteToolButton.Hint := SRunSQLCodeHint; + TBCheck.Hint := SQuickCheckOfSQLSyntaxHint; CbxMetaData.Items.Add(SMetaTables); CbxMetaData.Items.Add(SMetaSysTables); CbxMetaData.Items.Add(SMetaColumns);