c2bd06120b
The backend's ImplGetLocale() didn't handle variants, so ca_ES@valencia ended up as ca-ES instead of ca-ES-valencia, which made a difference with for example the UI language being set to Default resulting in only ca instead of ca-valencia, which then is also written to /org.openoffice.Setup/L10N/ooLocale during startup and obtained later. This only for the *iX branch, no idea if and what could be adjusted for Windows or MacOSX. Change-Id: I050f6f643571ccdc669fb91b06f3bb516f96e8d5 Reviewed-on: https://gerrit.libreoffice.org/45946 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
35 lines
953 B
Makefile
35 lines
953 B
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_Library_Library,localebe1))
|
|
|
|
$(eval $(call gb_Library_use_sdk_api,localebe1))
|
|
|
|
ifeq ($(OS),MACOSX)
|
|
$(eval $(call gb_Library_use_system_darwin_frameworks,localebe1,\
|
|
CoreFoundation \
|
|
CoreServices \
|
|
))
|
|
endif
|
|
|
|
$(eval $(call gb_Library_use_libraries,localebe1,\
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
i18nlangtag \
|
|
))
|
|
|
|
$(eval $(call gb_Library_set_componentfile,localebe1,shell/source/backends/localebe/localebe1))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,localebe1,\
|
|
shell/source/backends/localebe/localebackend \
|
|
shell/source/backends/localebe/localebecdef \
|
|
))
|
|
|
|
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
|