[Libreoffice-commits] core.git: cui/source
David Tardon
dtardon at redhat.com
Mon Jan 19 06:09:18 PST 2015
cui/source/dialogs/cuires.src | 10 ++++++++++
cui/source/dialogs/hangulhanjadlg.cxx | 4 ++--
cui/source/inc/cuires.hrc | 4 ++++
3 files changed, 16 insertions(+), 2 deletions(-)
New commits:
commit ce20c5bf0d47a762ded68c5ee51f5b29b9becf6c
Author: David Tardon <dtardon at redhat.com>
Date: Mon Jan 19 14:58:54 2015 +0100
fdo#88504 untranslated strings in Hangul/Hanja Conversion dialog
Change-Id: Ia7db917bef75182f2c43020fa3237dd7aba91683
diff --git a/cui/source/dialogs/cuires.src b/cui/source/dialogs/cuires.src
index 8173d62..fe97a9c 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 0133f61..04ec63e 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 f2202c2..a8cf111 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)
More information about the Libreoffice-commits
mailing list