From: Peng Wu Date: Thu, 1 Jul 2010 02:32:40 +0000 (+0800) Subject: fixes translation. X-Git-Tag: 1.3.10~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e594be88108d50445e7521f69c95bf217c779a8c;p=platform%2Fupstream%2Fibus-libpinyin.git fixes translation. --- 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;