summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-21 11:11:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-21 12:30:17 +0100
commit8b11c3e8443ab7d0ba5f4fdc754dcdc8c2ca07be (patch)
tree98a0c69ec9d8fc787fdee4fc8289aff03332b4bf /i18nlangtag
parent4d1b35423537544a44d6265d985065caa340f956 (diff)
replace localestr with a script for the supported translation targets
Change-Id: Ia0c00f6f978428d68b3c53051e26e1913b207dbe
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/Executable_localestr.mk29
-rw-r--r--i18nlangtag/Module_i18nlangtag.mk9
-rw-r--r--i18nlangtag/source/localestr/localestr.cxx20
3 files changed, 0 insertions, 58 deletions
diff --git a/i18nlangtag/Executable_localestr.mk b/i18nlangtag/Executable_localestr.mk
deleted file mode 100644
index 99195ffc7b80..000000000000
--- a/i18nlangtag/Executable_localestr.mk
+++ /dev/null
@@ -1,29 +0,0 @@
-# -*- 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_Executable_Executable,localestr))
-
-$(eval $(call gb_Executable_use_api,localestr,\
- offapi \
- udkapi \
-))
-
-$(eval $(call gb_Executable_use_external,localestr,liblangtag))
-
-$(eval $(call gb_Executable_use_libraries,localestr,\
- i18nlangtag \
- sal \
-))
-
-$(eval $(call gb_Executable_add_exception_objects,localestr,\
- i18nlangtag/source/localestr/localestr \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/i18nlangtag/Module_i18nlangtag.mk b/i18nlangtag/Module_i18nlangtag.mk
index a58f8f9bc608..edd2e1d2e2a9 100644
--- a/i18nlangtag/Module_i18nlangtag.mk
+++ b/i18nlangtag/Module_i18nlangtag.mk
@@ -12,15 +12,6 @@ $(eval $(call gb_Module_add_targets,i18nlangtag,\
Library_i18nlangtag \
))
-ifeq ($(CROSS_COMPILING),)
-
-$(eval $(call gb_Module_add_targets,i18nlangtag,\
- Executable_localestr \
-))
-
-endif
-
-
$(eval $(call gb_Module_add_check_targets,i18nlangtag,\
CppunitTest_i18nlangtag_test_languagetag \
))
diff --git a/i18nlangtag/source/localestr/localestr.cxx b/i18nlangtag/source/localestr/localestr.cxx
deleted file mode 100644
index c18531330c51..000000000000
--- a/i18nlangtag/source/localestr/localestr.cxx
+++ /dev/null
@@ -1,20 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
-/*
- * 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/.
- */
-#include <i18nlangtag/languagetag.hxx>
-#include <stdio.h>
-
-int main(int /*argc*/, char **argv)
-{
- LanguageTag aTag(OUString::createFromAscii(argv[1]));
- OUString aLocaleStr = aTag.getGlibcLocaleString("");
- printf("%s", aLocaleStr.toUtf8().getStr());
- return 0;
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */