Translation sequences loaded from database
This commit is contained in:
parent
d9527fe70f
commit
6121f7ee12
@ -108,6 +108,12 @@ bool ZRColaApp::OnInit()
|
|||||||
wxFAIL_MSG(wxT("Error reading translation set data from ZRCola.zrcdb."));
|
wxFAIL_MSG(wxT("Error reading translation set data from ZRCola.zrcdb."));
|
||||||
m_ts_db.clear();
|
m_ts_db.clear();
|
||||||
}
|
}
|
||||||
|
} else if (id == ZRCola::transeq_rec::id) {
|
||||||
|
dat >> ZRCola::transeq_rec(m_tsq_db);
|
||||||
|
if (!dat.good()) {
|
||||||
|
wxFAIL_MSG(wxT("Error reading translation sequence data from ZRCola.zrcdb."));
|
||||||
|
m_tsq_db.clear();
|
||||||
|
}
|
||||||
} else if (id == ZRCola::langchar_rec::id) {
|
} else if (id == ZRCola::langchar_rec::id) {
|
||||||
dat >> ZRCola::langchar_rec(m_lc_db);
|
dat >> ZRCola::langchar_rec(m_lc_db);
|
||||||
if (!dat.good()) {
|
if (!dat.good()) {
|
||||||
|
@ -74,6 +74,7 @@ public:
|
|||||||
public:
|
public:
|
||||||
ZRCola::translation_db m_t_db; ///< Translation database
|
ZRCola::translation_db m_t_db; ///< Translation database
|
||||||
ZRCola::transet_db m_ts_db; ///< Translation set database
|
ZRCola::transet_db m_ts_db; ///< Translation set database
|
||||||
|
ZRCola::transeq_db m_tsq_db; ///< Translation sequence database
|
||||||
ZRCola::langchar_db m_lc_db; ///< Language character database
|
ZRCola::langchar_db m_lc_db; ///< Language character database
|
||||||
ZRCola::language_db m_lang_db; ///< Language database
|
ZRCola::language_db m_lang_db; ///< Language database
|
||||||
ZRCola::keyseq_db m_ks_db; ///< Key sequence database
|
ZRCola::keyseq_db m_ks_db; ///< Key sequence database
|
||||||
|
Loading…
x
Reference in New Issue
Block a user