mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
Prepare for translite
This commit is contained in:
parent
157c4f203c
commit
f3a1dc9c6a
5 changed files with 13 additions and 13 deletions
|
|
@ -1345,13 +1345,13 @@ wxString ctlSQLBox::ExternalFormat(int typecmd)
|
||||||
}
|
}
|
||||||
wxArrayString choiceCmpOpts;
|
wxArrayString choiceCmpOpts;
|
||||||
wxArrayInt choiceSelectOpts;
|
wxArrayInt choiceSelectOpts;
|
||||||
choiceCmpOpts.Add("All line (use all EOL)");
|
choiceCmpOpts.Add(_("All line (use all EOL)"));
|
||||||
choiceCmpOpts.Add("First line pattern (ignore all but the first EOL)");
|
choiceCmpOpts.Add(_("First line pattern (ignore all but the first EOL)"));
|
||||||
choiceCmpOpts.Add("Try looking for patterns above");
|
choiceCmpOpts.Add(_("Try looking for patterns above"));
|
||||||
choiceCmpOpts.Add("Remove multi spaces");
|
choiceCmpOpts.Add(_("Remove multi spaces"));
|
||||||
wxMultiChoiceDialog dialog(this,
|
wxMultiChoiceDialog dialog(this,
|
||||||
wxT("A multi-choice convenience dialog"),
|
_("A multi-choice convenience dialog"),
|
||||||
wxT("Please select several align options"),
|
_("Please select several align options"),
|
||||||
choiceCmpOpts);
|
choiceCmpOpts);
|
||||||
dialog.SetSelections(choiceSelectOpts);
|
dialog.SetSelections(choiceSelectOpts);
|
||||||
int cfg = 0;
|
int cfg = 0;
|
||||||
|
|
|
||||||
|
|
@ -369,10 +369,10 @@ frmStatus::frmStatus(frmMain *form, const wxString &_title, pgConn *conn) : pgFr
|
||||||
viewMenu->Append(MNU_LOGPAGE, _("Log&file\tCtrl-Alt-F"), _("Show or hide the logfile tab."), wxITEM_CHECK);
|
viewMenu->Append(MNU_LOGPAGE, _("Log&file\tCtrl-Alt-F"), _("Show or hide the logfile tab."), wxITEM_CHECK);
|
||||||
viewMenu->AppendSeparator();
|
viewMenu->AppendSeparator();
|
||||||
viewMenu->Append(MNU_QUERYSTATEPAGE, _("&Query state\tCtrl-Alt-Q"), _("Show or hide the query state tab."), wxITEM_CHECK);
|
viewMenu->Append(MNU_QUERYSTATEPAGE, _("&Query state\tCtrl-Alt-Q"), _("Show or hide the query state tab."), wxITEM_CHECK);
|
||||||
viewMenu->Append(MNU_QUERYSTATEVERBOSE, _("Append verbose"), _("Append verbose."), wxITEM_CHECK);
|
viewMenu->Append(MNU_QUERYSTATEVERBOSE, _("Append verbose"), _("Append verbose"), wxITEM_CHECK);
|
||||||
viewMenu->Append(MNU_QUERYSTATEBUFFER, _("Append use buffers"), _("Append use buffers."), wxITEM_CHECK);
|
viewMenu->Append(MNU_QUERYSTATEBUFFER, _("Append use buffers"), _("Append use buffers"), wxITEM_CHECK);
|
||||||
viewMenu->Append(MNU_QUERYSTATETIME, _("Append real timing"), _("Append real timing."), wxITEM_CHECK);
|
viewMenu->Append(MNU_QUERYSTATETIME, _("Append real timing"), _("Append real timing"), wxITEM_CHECK);
|
||||||
viewMenu->Append(MNU_QUERYSTATETRIGGER, _("Append triggers"), _("Append triggers."), wxITEM_CHECK);
|
viewMenu->Append(MNU_QUERYSTATETRIGGER, _("Append triggers"), _("Append triggers"), wxITEM_CHECK);
|
||||||
|
|
||||||
viewMenu->AppendSeparator();
|
viewMenu->AppendSeparator();
|
||||||
viewMenu->Append(MNU_TOOLBAR, _("Tool&bar\tCtrl-Alt-B"), _("Show or hide the toolbar."), wxITEM_CHECK);
|
viewMenu->Append(MNU_TOOLBAR, _("Tool&bar\tCtrl-Alt-B"), _("Show or hide the toolbar."), wxITEM_CHECK);
|
||||||
|
|
|
||||||
|
|
@ -502,7 +502,7 @@ bool prorunNowFactory::CheckEnable(pgObject *obj)
|
||||||
}
|
}
|
||||||
enabledisableJobFactory::enabledisableJobFactory(menuFactoryList *list, wxMenu *mnu, ctlMenuToolbar *toolbar) : contextActionFactory(list)
|
enabledisableJobFactory::enabledisableJobFactory(menuFactoryList *list, wxMenu *mnu, ctlMenuToolbar *toolbar) : contextActionFactory(list)
|
||||||
{
|
{
|
||||||
mnu->Append(id, _("Enabled?"), _("Включить или выключить задание."), wxITEM_CHECK);
|
mnu->Append(id, _("Enabled?"), _("Enabled or disabled job"), wxITEM_CHECK);
|
||||||
}
|
}
|
||||||
|
|
||||||
wxWindow *enabledisableJobFactory::StartDialog(frmMain *form, pgObject *obj)
|
wxWindow *enabledisableJobFactory::StartDialog(frmMain *form, pgObject *obj)
|
||||||
|
|
|
||||||
|
|
@ -503,7 +503,7 @@ executePgcheckindexFactory::executePgcheckindexFactory(menuFactoryList* list, wx
|
||||||
wxWindow* executePgcheckindexFactory::StartDialog(frmMain* form, pgObject* obj)
|
wxWindow* executePgcheckindexFactory::StartDialog(frmMain* form, pgObject* obj)
|
||||||
{
|
{
|
||||||
pgIndexBase* i = (pgIndexBase*)obj;
|
pgIndexBase* i = (pgIndexBase*)obj;
|
||||||
form->StartMsg(_("Check Btree index "+i->GetName()+" "));
|
form->StartMsg(_("Check Btree index")+" "+i->GetName()+" ");
|
||||||
wxString sql = "SELECT bt_index_parent_check("+i->GetOidStr()+",true);";
|
wxString sql = "SELECT bt_index_parent_check("+i->GetOidStr()+",true);";
|
||||||
i->GetConnection()->ExecuteVoid(sql);
|
i->GetConnection()->ExecuteVoid(sql);
|
||||||
form->EndMsg(true);
|
form->EndMsg(true);
|
||||||
|
|
|
||||||
|
|
@ -826,7 +826,7 @@ int pgServer::Connect(frmMain *form, bool askPassword, const wxString &pwd, bool
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
conn = new pgConn(host, service, hostaddr, database, username, password, iPort, rolename,connstr, ssl, 0, appearanceFactory->GetLongAppName() + _(" ")+usr, sslcert, sslkey, sslrootcert, sslcrl, sslcompression);
|
conn = new pgConn(host, service, hostaddr, database, username, password, iPort, rolename,connstr, ssl, 0, appearanceFactory->GetLongAppName() + " "+usr, sslcert, sslkey, sslrootcert, sslcrl, sslcompression);
|
||||||
if (!conn)
|
if (!conn)
|
||||||
{
|
{
|
||||||
form->EndMsg(false);
|
form->EndMsg(false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue