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 <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/editeng/source/items/justifyitem.cxx b/editeng/source/items/justifyitem.cxx
index 976226e..4c813a5 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 aa95c68..0857da52a 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")