editeng/source/items/justifyitem.cxx | 3 ++- include/editeng/editrids.hrc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit d7e9db93aec2d1c698e01893fbcaadd6d1207167 Author: Caolán McNamara <[email protected]> AuthorDate: Tue Dec 10 11:49:47 2019 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Tue Dec 10 20:34:49 2019 +0100 Related: tdf#129300 vertical justify had no description reword the horizontal one and add a vertical one Change-Id: I56144bdd542166a4a980bc4db03376f6bdd55ffc Reviewed-on: https://gerrit.libreoffice.org/84815 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/editeng/source/items/justifyitem.cxx b/editeng/source/items/justifyitem.cxx index 976226e97671..4c813a591aa7 100644 --- a/editeng/source/items/justifyitem.cxx +++ b/editeng/source/items/justifyitem.cxx @@ -328,7 +328,8 @@ OUString SvxVerJustifyItem::GetValueText( SvxCellVerJustify nVal ) case SvxCellVerJustify::Bottom: sRet = EditResId(RID_SVXITEMS_VERJUST_BOTTOM); break; - default: + case SvxCellVerJustify::Block: + sRet = EditResId(RID_SVXITEMS_VERJUST_BLOCK); break; } return sRet; diff --git a/include/editeng/editrids.hrc b/include/editeng/editrids.hrc index aa95c68f572e..0857da52adff 100644 --- a/include/editeng/editrids.hrc +++ b/include/editeng/editrids.hrc @@ -282,7 +282,7 @@ #define RID_SVXITEMS_HORJUST_LEFT NC_("RID_SVXITEMS_HORJUST_LEFT", "Align left") #define RID_SVXITEMS_HORJUST_CENTER NC_("RID_SVXITEMS_HORJUST_CENTER", "Centered horizontally") #define RID_SVXITEMS_HORJUST_RIGHT NC_("RID_SVXITEMS_HORJUST_RIGHT", "Align right") -#define RID_SVXITEMS_HORJUST_BLOCK NC_("RID_SVXITEMS_HORJUST_BLOCK", "Justify") +#define RID_SVXITEMS_HORJUST_BLOCK NC_("RID_SVXITEMS_HORJUST_BLOCK", "Justify horizontally") #define RID_SVXITEMS_HORJUST_REPEAT NC_("RID_SVXITEMS_HORJUST_REPEAT", "Repeat alignment") // enum SvxCellVerJustify ---------------------------------------------------- @@ -290,6 +290,7 @@ #define RID_SVXITEMS_VERJUST_TOP NC_("RID_SVXITEMS_VERJUST_TOP", "Align to top") #define RID_SVXITEMS_VERJUST_CENTER NC_("RID_SVXITEMS_VERJUST_CENTER", "Centered vertically") #define RID_SVXITEMS_VERJUST_BOTTOM NC_("RID_SVXITEMS_VERJUST_BOTTOM", "Align to bottom") +#define RID_SVXITEMS_VERJUST_BLOCK NC_("RID_SVXITEMS_HORJUST_BLOCK", "Justify vertically") // enum SvxCellJustifyMethod ---------------------------------------------------- #define RID_SVXITEMS_JUSTMETHOD_AUTO NC_("RID_SVXITEMS_JUSTMETHOD_AUTO", "Automatic") _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
