Log Message:
-----------
fix translatable object name
Modified Files:
--------------
pgadmin3/src/ui:
frmBackup.cpp (r1.2 -> r1.3)
frmRestore.cpp (r1.4 -> r1.5)
Index: frmBackup.cpp
===================================================================
RCS file: /projects/pgadmin3/src/ui/frmBackup.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lsrc/ui/frmBackup.cpp -Lsrc/ui/frmBackup.cpp -u -w -r1.2 -r1.3
--- src/ui/frmBackup.cpp
+++ src/ui/frmBackup.cpp
@@ -64,7 +64,7 @@
LoadResource(wxT("frmBackup"));
RestorePosition();
- SetTitle(wxString::Format(_("Backup %s %s"), object->GetTypeName().c_str(),
object->GetFullIdentifier().c_str()));
+ SetTitle(wxString::Format(_("Backup %s %s"),
wxGetTranslation(object->GetTypeName()), object->GetFullIdentifier().c_str()));
canBlob = (obj->GetType() == PG_DATABASE);
chkBlobs->SetValue(canBlob);
Index: frmRestore.cpp
===================================================================
RCS file: /projects/pgadmin3/src/ui/frmRestore.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lsrc/ui/frmRestore.cpp -Lsrc/ui/frmRestore.cpp -u -w -r1.4 -r1.5
--- src/ui/frmRestore.cpp
+++ src/ui/frmRestore.cpp
@@ -64,7 +64,7 @@
LoadResource(wxT("frmRestore"));
RestorePosition();
- SetTitle(wxString::Format(_("Restore %s %s"), object->GetTypeName().c_str(),
object->GetFullIdentifier().c_str()));
+ SetTitle(wxString::Format(_("Restore %s %s"),
wxGetTranslation(object->GetTypeName()), object->GetFullIdentifier().c_str()));
// Icon
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html