diff options
author | Peng Wu <alexepico@gmail.com> | 2010-07-01 10:32:40 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2010-07-01 10:32:40 +0800 |
commit | e594be88108d50445e7521f69c95bf217c779a8c (patch) | |
tree | b2cc561dc663fa37124ef04cfa40abaf610bc657 | |
parent | daaebd3d854f4cdaac268a6bf616137eb735ae55 (diff) | |
download | ibus-pinyin-e594be88108d50445e7521f69c95bf217c779a8c.tar.gz |
fixes translation.
-rw-r--r-- | src/ExtEditor.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ExtEditor.cc b/src/ExtEditor.cc index 53a23a8..547b847 100644 --- a/src/ExtEditor.cc +++ b/src/ExtEditor.cc @@ -32,9 +32,6 @@ extern "C" { #include "Editor.h" #include "ExtEditor.h" -#define _(text) text -// (dgettext (GETTEXT_PACKAGE, text)) - namespace PY { /* forward declaration function about Chinese Number. */ @@ -675,7 +672,7 @@ ExtEditor::fillCommand (std::string command_name, const char * argument) if ( m_candidate->content ) { result = m_candidate->content; if (strstr (result.c_str (), "\n")) - result = _("(Character Chart)"); + result = "(字符画)"; } if ( m_candidate->suggest && m_candidate-> help ) { result += m_candidate->suggest; @@ -694,7 +691,7 @@ ExtEditor::fillCommand (std::string command_name, const char * argument) if ( candidate->content ) { result = candidate->content; if (strstr (result.c_str (), "\n")) - result = _("(Character Chart)"); + result = "(字符画)"; } if ( candidate->suggest && candidate-> help ) { result += candidate->suggest; |