summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2017-12-06 18:01:03 +0400
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-12-07 09:43:18 +0100
commitc5505f5a22917c339af4e4c840a6a1ae20e2503f (patch)
tree24a5f4ce1ab8eacbaa060e1146c54188c287905e /sd
parent6a68f46e8e931c3d4b095a9394d6c050ac9c49d2 (diff)
tdf#89466 Fix minor localization bugs
Change-Id: I1ee93f81dcd83b5a9277ea444ec8e10db7d790df Reviewed-on: https://gerrit.libreoffice.org/45958 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/strings.hrc2
-rw-r--r--sd/source/ui/sidebar/SlideBackground.cxx6
-rw-r--r--sd/uiconfig/simpress/ui/sidebarslidebackground.ui6
3 files changed, 8 insertions, 6 deletions
diff --git a/sd/inc/strings.hrc b/sd/inc/strings.hrc
index 924bc5acdc42..52b5d6796cdd 100644
--- a/sd/inc/strings.hrc
+++ b/sd/inc/strings.hrc
@@ -280,7 +280,9 @@
#define STR_PAGE_NAME NC_("STR_PAGE_NAME", "Page" )
#define STR_SLIDE_NAME NC_("STR_SLIDE_NAME", "Slide" )
#define STR_MASTERSLIDE_NAME NC_("STR_MASTERSLIDE_NAME", "Master Slide")
+#define STR_MASTERSLIDE_LABEL NC_("STR_MASTERSLIDE_LABEL", "Master Slide:")
#define STR_MASTERPAGE_NAME NC_("STR_MASTERPAGE_NAME", "Master Page")
+#define STR_MASTERPAGE_LABEL NC_("STR_MASTERPAGE_LABEL", "Master Page:")
#define STR_NOTES NC_("STR_NOTES", "(Notes)" )
#define STR_HANDOUT NC_("STR_HANDOUT", "Handouts" )
#define STR_PRESOBJ_MPTITLE NC_("STR_PRESOBJ_MPTITLE", "Click to edit the title text format" )
diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx
index 8b2e15dc7671..9c94a208b2cb 100644
--- a/sd/source/ui/sidebar/SlideBackground.cxx
+++ b/sd/source/ui/sidebar/SlideBackground.cxx
@@ -239,7 +239,7 @@ void SlideBackground::HandleContextChange(
if ( IsImpress() )
{
- mpMasterLabel->SetText(SdResId(STR_MASTERSLIDE_NAME));
+ mpMasterLabel->SetText(SdResId(STR_MASTERSLIDE_LABEL));
mpMarginSelectBox->Hide();
if ( maContext == maImpressMasterContext )
@@ -294,7 +294,7 @@ void SlideBackground::HandleContextChange(
}
else if ( IsDraw() )
{
- mpMasterLabel->SetText(SdResId(STR_MASTERPAGE_NAME));
+ mpMasterLabel->SetText(SdResId(STR_MASTERPAGE_LABEL));
}
}
@@ -558,7 +558,7 @@ IMPL_LINK(SlideBackground, EventMultiplexerListener,
}
else if ( maContext == maImpressNotesContext )
{
- mpMasterLabel->SetText(SdResId(STR_MASTERSLIDE_NAME));
+ mpMasterLabel->SetText(SdResId(STR_MASTERSLIDE_LABEL));
ViewShell* pMainViewShell = mrBase.GetMainViewShell().get();
if (pMainViewShell)
diff --git a/sd/uiconfig/simpress/ui/sidebarslidebackground.ui b/sd/uiconfig/simpress/ui/sidebarslidebackground.ui
index 70bccb25c7c8..55783273dfe7 100644
--- a/sd/uiconfig/simpress/ui/sidebarslidebackground.ui
+++ b/sd/uiconfig/simpress/ui/sidebarslidebackground.ui
@@ -194,7 +194,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
- <property name="label" translatable="yes" context="sidebarslidebackground|label4">Orientation: </property>
+ <property name="label" translatable="yes" context="sidebarslidebackground|label4">Orientation:</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -209,7 +209,7 @@
<property name="homogeneous">True</property>
<child>
<object class="GtkButton" id="masterslidebutton">
- <property name="label" translatable="yes" context="sidebarslidebackground|masterslidebutton">Master Slide</property>
+ <property name="label" translatable="yes" context="sidebarslidebackground|masterslidebutton">Master View</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -264,7 +264,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
- <property name="label" translatable="yes" context="sidebarslidebackground|labelmargin">Margin: </property>
+ <property name="label" translatable="yes" context="sidebarslidebackground|labelmargin">Margin:</property>
</object>
<packing>
<property name="left_attach">0</property>