summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-01-19 14:58:54 +0100
committerDavid Tardon <dtardon@redhat.com>2015-01-19 15:08:20 +0100
commitce20c5bf0d47a762ded68c5ee51f5b29b9becf6c (patch)
tree4aaf0d9e1de53bd3179c776662ea42301c48a753
parentde900ebdd4fec0fb06d56583ae22b2adc3608a65 (diff)
fdo#88504 untranslated strings in Hangul/Hanja Conversion dialog
Change-Id: Ia7db917bef75182f2c43020fa3237dd7aba91683
-rw-r--r--cui/source/dialogs/cuires.src10
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx4
-rw-r--r--cui/source/inc/cuires.hrc4
3 files changed, 16 insertions, 2 deletions
diff --git a/cui/source/dialogs/cuires.src b/cui/source/dialogs/cuires.src
index 8173d628a25c..fe97a9c901c9 100644
--- a/cui/source/dialogs/cuires.src
+++ b/cui/source/dialogs/cuires.src
@@ -122,4 +122,14 @@ String RID_SVXSTR_EDITHINT
Text [ en-US ] = "[Enter text here]";
};
+String RID_SVXSTR_HANGUL
+{
+ Text [ en-US ] = "Hangul";
+};
+
+String RID_SVXSTR_HANJA
+{
+ Text [ en-US ] = "Hanja";
+};
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 0133f617ed3d..04ec63edcd93 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -559,8 +559,8 @@ namespace svx
m_pSuggestions->set_height_request( m_pSuggestions->GetTextHeight() * 5 );
m_pSuggestions->set_width_request( m_pSuggestions->approximate_char_width() * 48 );
- const OUString sHangul = "Hangul";
- const OUString sHanja = "Hanja";
+ const OUString sHangul(CUI_RESSTR(RID_SVXSTR_HANGUL));
+ const OUString sHanja(CUI_RESSTR(RID_SVXSTR_HANJA));
m_pHanjaAbove->init( sHangul, sHanja, PseudoRubyText::eAbove );
m_pHanjaBelow->init( sHangul, sHanja, PseudoRubyText::eBelow );
m_pHangulAbove->init( sHanja, sHangul, PseudoRubyText::eAbove );
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc
index f2202c2ecafb..a8cf111a864a 100644
--- a/cui/source/inc/cuires.hrc
+++ b/cui/source/inc/cuires.hrc
@@ -419,6 +419,10 @@
#define RID_SVXSTR_EDITHINT (RID_SVX_START + 1266)
+// Hangul/Hanja Dialog
+#define RID_SVXSTR_HANGUL (RID_SVX_START + 1270)
+#define RID_SVXSTR_HANJA (RID_SVX_START + 1271)
+
// Search Persona Dialog
#define RID_SVXSTR_SEARCHTERM (RID_SVX_START + 1277)
#define RID_SVXSTR_SELECTEDPERSONA (RID_SVX_START + 1278)