CVS Commit by andreas: $$ translation problem
require($_SERVER['DOCUMENT_ROOT']."/includes/top_config.php");
?>
CVS Commit by andreas: $$ translation problem
Log Message:
-----------
$$ translation problem
Modified Files:
--------------
pgadmin3/src/ui:
frmBackup.cpp (r1.7 -> r1.8)
Index: frmBackup.cpp
===================================================================
RCS file: /projects/pgadmin3/src/ui/frmBackup.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -Lsrc/ui/frmBackup.cpp -Lsrc/ui/frmBackup.cpp -u -w -r1.7 -r1.8
--- src/ui/frmBackup.cpp
+++ src/ui/frmBackup.cpp
@@ -75,6 +75,12 @@
// Icon
SetIcon(wxIcon(backup_xpm));
+ // fix translation problem
+ wxString dollarLabel=wxGetTranslation(_("Disable $$ quoting"));
+ dollarLabel.Replace(wxT("$$"), wxT("$"));
+ chkDisableDollar->SetLabel(dollarLabel);
+ chkDisableDollar->SetSize(chkDisableDollar->GetBestSize());
+
txtMessages = CTRL_TEXT("txtMessages");
txtMessages->SetMaxLength(0L);
btnOK->Disable();
@@ -140,7 +146,6 @@
wxString frmBackup::GetCmd(int step)
{
wxString cmd = getCmdPart1();
- pgServer *server=object->GetDatabase()->GetServer();
return cmd + getCmdPart2();
}
@@ -149,7 +154,6 @@
wxString frmBackup::GetDisplayCmd(int step)
{
wxString cmd = getCmdPart1();
- pgServer *server=object->GetDatabase()->GetServer();
return cmd + getCmdPart2();
}
Home |
Main Index |
Thread Index