[gnote] * Remove markup from translatable strings (Close #579453)
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnote] * Remove markup from translatable strings (Close #579453)
- Date: Mon, 20 Apr 2009 20:03:36 -0400 (EDT)
commit befb570401c6c88bdf5c25e5dcad5d15760bcc13
Author: Hubert Figuiere <hub figuiere net>
Date: Mon Apr 20 19:02:38 2009 -0400
* Remove markup from translatable strings (Close #579453)
---
NEWS | 1 +
src/notewindow.cpp | 12 ++++++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/NEWS b/NEWS
index 1179b79..5fa91cb 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,7 @@ Translations:
* Some strings shouldn't be translated. (Close #579197)
* Date format are non localizable. (Close #579207)
* Properly use plural forms (Close #579412)
+ * Remove markup from translatable strings (Close #579453)
* Added translations:
- Swedish (sv)
- Greek (el)
diff --git a/src/notewindow.cpp b/src/notewindow.cpp
index 184b35f..d847a91 100644
--- a/src/notewindow.cpp
+++ b/src/notewindow.cpp
@@ -1082,12 +1082,16 @@ namespace gnote {
, m_bold(_("<b>_Bold</b>"), true)
, m_italic(_("<i>_Italic</i>"), true)
, m_strikeout(_("<s>_Strikeout</s>"), true)
- , m_highlight(_("<span background='yellow'>_Highlight</span>"), true)
+ , m_highlight(Glib::ustring("<span background=\"yellow\">")
+ + _("_Highlight") + "</span>", true)
, m_fontsize_group()
, m_normal(m_fontsize_group, _("_Normal"), true)
- , m_huge(m_fontsize_group, _("<span size=\"x-large\">Hu_ge</span>"), true)
- , m_large(m_fontsize_group, _("<span size=\"large\">_Large</span>"), true)
- , m_small(m_fontsize_group, _("<span size=\"small\">S_mall</span>"), true)
+ , m_huge(m_fontsize_group, Glib::ustring("<span size=\"x-large\">")
+ + _("Hu_ge") + "</span>", true)
+ , m_large(m_fontsize_group, Glib::ustring("<span size=\"large\">")
+ + _("_Large") + "</span>", true)
+ , m_small(m_fontsize_group, Glib::ustring("<span size=\"small\">")
+ + _("S_mall") + "</span>", true)
, m_hidden_no_size(m_fontsize_group, "", true)
, m_bullets(_("Bullets"))
, m_increase_indent(Gtk::Stock::INDENT)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]