diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-07-21 11:11:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-21 12:30:17 +0100 |
commit | 8b11c3e8443ab7d0ba5f4fdc754dcdc8c2ca07be (patch) | |
tree | 98a0c69ec9d8fc787fdee4fc8289aff03332b4bf /i18nlangtag/source | |
parent | 4d1b35423537544a44d6265d985065caa340f956 (diff) |
replace localestr with a script for the supported translation targets
Change-Id: Ia0c00f6f978428d68b3c53051e26e1913b207dbe
Diffstat (limited to 'i18nlangtag/source')
-rw-r--r-- | i18nlangtag/source/localestr/localestr.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
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: */ |