sd/inc/strings.hrc | 2 ++ sd/source/ui/sidebar/SlideBackground.cxx | 6 +++--- sd/uiconfig/simpress/ui/sidebarslidebackground.ui | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-)
New commits: commit c5505f5a22917c339af4e4c840a6a1ae20e2503f Author: Yousuf Philips <philip...@hotmail.com> Date: Wed Dec 6 18:01:03 2017 +0400 tdf#89466 Fix minor localization bugs Change-Id: I1ee93f81dcd83b5a9277ea444ec8e10db7d790df Reviewed-on: https://gerrit.libreoffice.org/45958 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Katarina Behrens <katarina.behr...@cib.de> 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> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits