diff --git a/demos/dbbrowse/dbtree.cpp b/demos/dbbrowse/dbtree.cpp index 65fbf1bef7..8d3433d0cd 100644 --- a/demos/dbbrowse/dbtree.cpp +++ b/demos/dbbrowse/dbtree.cpp @@ -154,18 +154,20 @@ int DBTree::OnPopulate() // Here is where we find out if the Column is a Primary / Foreign Key if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->PkCol != 0) // Primary Key { - Docu = AppendItem(Folder,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName,TreeIc_KEY,TreeIc_KEY,new DBTreeData(Temp1)); + Temp2.Printf("(%d) - %s",((ct_BrowserDB->pTableInf+x)->pColInf+y)->PkCol,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName); + Docu = AppendItem(Folder,Temp2,TreeIc_KEY,TreeIc_KEY,new DBTreeData(Temp1)); Temp2 = ((ct_BrowserDB->pTableInf+x)->pColInf+y)->PkTableName; if (Temp2 == "") Temp2 = _("None"); - Temp2.Printf(_("This Key is used in the following Tables : %s"),Temp2); + Temp2.Printf(_("This Primary Key is used in the following Tables : %s"),Temp2); Funkt = AppendItem(Docu,Temp2,TreeIc_DocClosed,TreeIc_DocOpen,new DBTreeData("KEY")); } else { if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->FkCol != 0) // Foreign Key { - Docu = AppendItem(Folder,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName,TreeIc_KEYF,TreeIc_KEYF,new DBTreeData(Temp1)); + Temp2.Printf("(%d) - %s",((ct_BrowserDB->pTableInf+x)->pColInf+y)->FkCol,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName); + Docu = AppendItem(Folder,Temp2,TreeIc_KEYF,TreeIc_KEYF,new DBTreeData(Temp1)); Temp2.Printf(_("This Foreign Key comes from the following Table : %s"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->FkTableName); Funkt = AppendItem(Docu,Temp2,TreeIc_DocClosed,TreeIc_DocOpen,new DBTreeData("KEYF")); } diff --git a/demos/dbbrowse/de/dbbrowse.mo b/demos/dbbrowse/de/dbbrowse.mo index d51941a7c3..58445f5245 100644 Binary files a/demos/dbbrowse/de/dbbrowse.mo and b/demos/dbbrowse/de/dbbrowse.mo differ diff --git a/demos/dbbrowse/de/dbbrowse.po b/demos/dbbrowse/de/dbbrowse.po index 04f90bce4f..ecb970e716 100644 --- a/demos/dbbrowse/de/dbbrowse.po +++ b/demos/dbbrowse/de/dbbrowse.po @@ -843,12 +843,12 @@ msgstr "Tablename(%s) mit (%d)Spalten ; Bemerkungen(%s)" #: ../DBTree.cpp:151 ../DBTree.cpp:152 #, c-format msgid "This Foreign Key comes from the following Table : %s" -msgstr "diese Fremd-Schlüssel stammt aus der folgende Tabelle : %s" +msgstr "Diese Fremd-Schlüssel stammt aus der folgende Tabelle : %s" #: ../DBTree.cpp:144 ../DBTree.cpp:145 #, c-format -msgid "This Key is used in the following Tables : %s" -msgstr "Diese Schlüssel wird in folgende Tabellen Verwendet : %s" +msgid "This Primary Key is used in the following Tables : %s" +msgstr "Diese Primär-Schlüssel wird in folgende Tabellen Verwendet : %s" #: ../PgmCtrl.cpp:111 ../PgmCtrl.cpp:114 #, c-format diff --git a/demos/dbbrowse/de/mo.cmd b/demos/dbbrowse/de/mo.cmd index b9b8808e53..da7c1256c9 100755 --- a/demos/dbbrowse/de/mo.cmd +++ b/demos/dbbrowse/de/mo.cmd @@ -1,2 +1,2 @@ -msgfmt -o PgmText.mo PgmText.po -msgfmt -o Help.mo Help.po +msgfmt -o dbbrowse.mo dbbrowse.po +msgfmt -o help.mo help.po