desktop/source/lib/init.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 627a069822c8bd106fc05e1549997179143c6916 Author: Eike Rathke <er...@redhat.com> AuthorDate: Fri Jul 16 15:15:48 2021 +0200 Commit: Eike Rathke <er...@redhat.com> CommitDate: Fri Jul 16 16:31:01 2021 +0200 Output proper language tag instead of Language+Country concatenation That way also for more complex tags with 'qlt' language you get a meaningful output. It's only stderr, but.. Change-Id: I3c6e2451ace5ac9f192a11c97e95376c17046f17 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119068 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Jenkins diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 4060af238700..58ac041a78ab 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -6056,7 +6056,7 @@ static void preloadData() uno::Sequence< css::lang::Locale > aLocales = xSpellLocales->getLocales(); for (auto &it : aLocales) { - std::cerr << it.Language << "_" << it.Country << " "; + std::cerr << LanguageTag::convertToBcp47(it) << " "; css::beans::PropertyValues aNone; xSpellChecker->isValid("forcefed", it, aNone); } @@ -6077,7 +6077,7 @@ static void preloadData() std::cerr << "Preloading thesauri: "; for (auto &it : aLocales) { - std::cerr << it.Language << "_" << it.Country << " "; + std::cerr << LanguageTag::convertToBcp47(it) << " "; css::beans::PropertyValues aNone; xThesaurus->queryMeanings("forcefed", it, aNone); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits