cui/inc/strings.hrc                    |    1 +
 cui/source/options/optlanguagetool.cxx |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit a32c563fdddf7aa7211df830c037fbb4daf41ae0
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Wed Jun 14 17:01:32 2023 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Wed Jun 14 22:20:49 2023 +0200

    Related: tdf#150494 add placeholder text to the REST protocol field
    
    Change-Id: I8aab941d9dd03e54a3a39ccb643a5a628d6c5be7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153061
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    (cherry picked from commit 7c6c58197a84cf22789ca3dc97e863390c31a2f9)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153074

diff --git a/cui/inc/strings.hrc b/cui/inc/strings.hrc
index 98c6cc50b2d3..84a2c9f859a1 100644
--- a/cui/inc/strings.hrc
+++ b/cui/inc/strings.hrc
@@ -407,6 +407,7 @@
 #define RID_CUISTR_OPT_READONLY                     
NC_("RID_CUISTR_OPT_READONLY", "This property is locked for editing.")
 
 #define RID_LANGUAGETOOL_LEAVE_EMPTY                
NC_("RID_LANGUAGETOOL_LEAVE_EMPTY", "Leave this field empty to use the free 
version")
+#define RID_LANGUAGETOOL_REST_LEAVE_EMPTY           
NC_("RID_LANGUAGETOOL_REST_LEAVE_EMPTY", "Leave this field empty to use 
LanguageTool protocol")
 
 // Translatable names of color schemes
 #define RID_COLOR_SCHEME_LIBREOFFICE_AUTOMATIC      
NC_("RID_COLOR_SCHEME_LIBREOFFICE_AUTOMATIC", "Automatic")
diff --git a/cui/source/options/optlanguagetool.cxx 
b/cui/source/options/optlanguagetool.cxx
index 485e8ecb1be6..e1f4806f47f3 100644
--- a/cui/source/options/optlanguagetool.cxx
+++ b/cui/source/options/optlanguagetool.cxx
@@ -45,6 +45,7 @@ 
OptLanguageToolTabPage::OptLanguageToolTabPage(weld::Container* pPage,
     m_xBaseURLED->set_placeholder_text(CuiResId(RID_LANGUAGETOOL_LEAVE_EMPTY));
     
m_xUsernameED->set_placeholder_text(CuiResId(RID_LANGUAGETOOL_LEAVE_EMPTY));
     m_xApiKeyED->set_placeholder_text(CuiResId(RID_LANGUAGETOOL_LEAVE_EMPTY));
+    
m_xRestProtocol->set_placeholder_text(CuiResId(RID_LANGUAGETOOL_REST_LEAVE_EMPTY));
 }
 
 OptLanguageToolTabPage::~OptLanguageToolTabPage() {}

Reply via email to