diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-01-18 20:14:54 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-01-22 11:30:30 +0100 |
commit | feb24353f59e49ebcb5ad1dae3ef275ea75bb689 (patch) | |
tree | f085bdbe37b3320e99c693935663a1c9b9c1e2e3 /cui/inc/tipoftheday.hrc | |
parent | 31d6684c9a0e366f82b7cc92e43576f4495aaef6 (diff) |
add --disable-librelogo to disable LibreLogo at build time
Annoyingly the packinfo_*.txt don't support conditionals but we can
work-around that with a little duplication.
Change-Id: Id00a6831effcc63a917fc21d2cd201474fdb559d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109569
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit c18d3f8823a00edcd3dacec4f2052302ab6a70ee)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109764
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'cui/inc/tipoftheday.hrc')
-rw-r--r-- | cui/inc/tipoftheday.hrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/inc/tipoftheday.hrc b/cui/inc/tipoftheday.hrc index 348b04920ae7..7f2178354220 100644 --- a/cui/inc/tipoftheday.hrc +++ b/cui/inc/tipoftheday.hrc @@ -23,6 +23,7 @@ #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) #include <rtl/ustring.hxx> +#include <config_python.h> #include <tuple> /* @@ -93,7 +94,9 @@ const std::tuple<const char*, OUString, OUString> TIPOFTHEDAY_STRINGARRAY[] = { NC_("RID_CUI_TIPOFTHEDAY", "%PRODUCTNAME has great extensions to increase your productivity - check them out."), "https://extensions.libreoffice.org", ""}, { NC_("RID_CUI_TIPOFTHEDAY", "Want to count words for just one particular paragraph style? Use Edit > Find & Replace > Paragraph Styles, select the style > Find All and read the number from the status bar."), "", "tipoftheday_w.png"}, { NC_("RID_CUI_TIPOFTHEDAY", "Generate fully customized PDF documents with the exact format, image compression, comments, access rights, password, etc., via File > Export as PDF."), "", ""}, +#if ENABLE_LIBRELOGO { NC_("RID_CUI_TIPOFTHEDAY", "Writer includes LibreLogo: simple Logo-like programming environment with turtle vector graphics, DTP and graphic design."), "https://help.libreoffice.org/%PRODUCTVERSION/%LANGUAGENAME/text/swriter/librelogo/LibreLogo.html", "tipoftheday_w.png"}, //local help missing +#endif { NC_("RID_CUI_TIPOFTHEDAY", "Construct your own 2D shapes in Draw. Select two or more objects, and explore possibilities with Shape > Combine, Shape > Merge, Shape > Subtract, and Shape > Intersect."), "https://help.libreoffice.org/%PRODUCTVERSION/%LANGUAGENAME/text/sdraw/guide/combine_etc.html", "tipoftheday_d.png"}, { NC_("RID_CUI_TIPOFTHEDAY", "Do you plan to change your computer and want to recover your customizations? See:"), "https://wiki.documentfoundation.org/UserProfile", ""}, { NC_("RID_CUI_TIPOFTHEDAY", "You can toggle between the field names and the actual value with View > Fields Names (or Ctrl + F9)."), "", "tipoftheday_w.png"}, |