diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-07-11 11:08:13 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-07-11 14:40:03 +0200 |
commit | 721cef392f301321a632a1d9286d57cd45335649 (patch) | |
tree | e1db93f819bd4752e12a8853ec2572ebdf0b91c2 /include/sfx2 | |
parent | 9c1b85c56077a9efbc6d91334dcbab3d1f0c0dd2 (diff) |
Deduplicate URL tooltip creation
Change-Id: I94eb40ff4d727029ad764a381df300beee90481c
Reviewed-on: https://gerrit.libreoffice.org/75409
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/sfxhelp.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/strings.hrc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx index e76872f3f201..7af26fab0708 100644 --- a/include/sfx2/sfxhelp.hxx +++ b/include/sfx2/sfxhelp.hxx @@ -50,6 +50,8 @@ public: static OUString GetCurrentModuleIdentifier(); // Check for built-in help static bool IsHelpInstalled(); + + static OUString GetURLHelpText(const OUString&); }; #endif // INCLUDED_SFX2_SFXHELP_HXX diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc index 96883a2384b0..f7b2c1673b90 100644 --- a/include/sfx2/strings.hrc +++ b/include/sfx2/strings.hrc @@ -319,6 +319,8 @@ #define STR_PASSWORD_LEN NC_("STR_PASSWORD_LEN", "Password length") #define STR_PASSWORD_WARNING NC_("STR_PASSWORD_WARNING", "The password you have entered causes interoperability issues. Please enter a password that is shorter than 52 bytes, or longer than 55 bytes.") +#define STR_CTRLCLICKHYPERLINK NC_("STR_CTRLCLICKHYPERLINK", "%{key}-click to follow hyperlink: %{link}") +#define STR_CLICKHYPERLINK NC_("STR_CLICKHYPERLINK", "Click to open hyperlink: %{link}") #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |