[Libreoffice-commits] help.git: source/text
Seth Chaiklin (via logerrit)
logerrit at kemper.freedesktop.org
Wed Oct 21 11:02:41 UTC 2020
source/text/shared/01/05230100.xhp | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
New commits:
commit 4ff9c170c99c88f4af370692cb97a80e01bfa986
Author: Seth Chaiklin <sdc.blanco at youmail.dk>
AuthorDate: Wed Oct 21 12:34:36 2020 +0200
Commit: Seth Chaiklin <sdc.blanco at youmail.dk>
CommitDate: Wed Oct 21 13:02:22 2020 +0200
tdf#137141 refactor switchinline into switch
need to put same <note> into module switch (because
cannot use switchinline to indicate different menu
sequences between modules. But have added variable
to that text, so should avoid retranslating same
text, and just have to translate each menu sequence.
Change-Id: I375fc785730d71762a85fb70d97f02c0e6d676db
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/104593
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco at youmail.dk>
diff --git a/source/text/shared/01/05230100.xhp b/source/text/shared/01/05230100.xhp
index 6dfd7ea71..02fbdcbe7 100644
--- a/source/text/shared/01/05230100.xhp
+++ b/source/text/shared/01/05230100.xhp
@@ -138,7 +138,15 @@
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/TSB_AUTOGROW_HEIGHT" id="bm_id3154909" localize="false"/>
<h3 id="hd_id3145746" xml-lang="en-US">Fit height to text</h3>
<paragraph role="paragraph" id="par_id31540680" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/TSB_AUTOGROW_HEIGHT">Expands the height of the object to the height of the text, if the object is smaller than the text.</ahelp></paragraph>
-<note id="par_id591602522244128">Adapt is only available for Text Boxes. To adapt Shapes to text, use <menuitem>Format</menuitem><switchinline select="appl"><caseinline select="CALC"><menuitem> - Object</menuitem></caseinline></switchinline><menuitem> - Text</menuitem></note>
+ </default>
+</switch>
+<switch select="appl">
+ <case select="WRITER"></case>
+ <case select="CALC"><note id="par_id841603276770477"><variable id="AdaptNote">Adapt is only available for Text Boxes. To adapt Shapes to text, use</variable> <menuitem>Format - Object - Text</menuitem>.</note>
+ </case>
+ <default>
+<note id="par_id591602522244128">
+<embedvar href="text/shared/01/05230100.xhp#AdaptNote"/> <menuitem>Format - Text</menuitem>.</note>
</default>
</switch>
<section id="relatedtopics">
More information about the Libreoffice-commits
mailing list