| |
---|
| | } |
---|
| | PropertyList::iterator it; |
---|
| | it = find(m_proplist.begin(),m_proplist.end(),HONOKA_PROP_INPUTMODE); |
---|
| | if (it != m_proplist.end()) { |
---|
| | it->set_label(m_preeditor->getPropertyName()); |
---|
| | it->set_label(m_preeditor->getPropertyName() + String(" ")); |
---|
| | } |
---|
| | update_property(*it); |
---|
| | if (prediction) { |
---|
| | it = find(m_proplist.begin(),m_proplist.end(),HONOKA_PROP_PREDICTOR); |
---|
| | if (it != m_proplist.end()) { |
---|
| | it->set_label(m_predictor->getPropertyName()); |
---|
| | it->set_label(m_predictor->getPropertyName() + String(" ")); |
---|
| | } |
---|
| | update_property(*it); |
---|
| | } |
---|
| | it = find(m_proplist.begin(),m_proplist.end(),HONOKA_PROP_CONVERTOR); |
---|
| | if (it != m_proplist.end()) { |
---|
| | it->set_label(m_convertor->getPropertyName()); |
---|
| | it->set_label(m_convertor->getPropertyName() + String(" ")); |
---|
| | } |
---|
| | update_property(*it); |
---|
| | it = find(m_proplist.begin(),m_proplist.end(),HONOKA_PROP_MODESTATUS); |
---|
| | if (it != m_proplist.end()) { |
---|
| | if (m_conversion) it->set_label(_("Kanji")); |
---|
| | else if (m_prediction) it->set_label(_("Yosoku")); |
---|
| | else it->set_label(m_preeditor->getModeName()); |
---|
| | if (m_conversion) it->set_label(_("Kanji") + String(" ")); |
---|
| | else if (m_prediction) it->set_label(_("Yosoku") + String(" ")); |
---|
| | else it->set_label(m_preeditor->getModeName() + String(" ")); |
---|
| | } |
---|
| | update_property(*it); |
---|
| | it = find(m_proplist.begin(),m_proplist.end(),HONOKA_PROP_CONVERSIONMODE); |
---|
| | if (it != m_proplist.end()) { |
---|
| | if (auto_conversion) it->set_label(_("AUTO")); |
---|
| | else it->set_label(_("REN")); |
---|
| | if (auto_conversion) it->set_label(_("AUTO") + String(" ")); |
---|
| | else it->set_label(_("REN") + String(" ")); |
---|
| | } |
---|
| | update_property(*it); |
---|
| | register_properties(m_proplist); |
---|
| | } |
---|
| |
---|
| | |