/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_VCL_INC_UNITS_HRC #define INCLUDED_VCL_INC_UNITS_HRC #define NC_(Context, String) reinterpret_cast(Context "\004" u8##String) std::pair SV_FUNIT_STRINGS[] = { // To translators: This is the first entry of a sequence of measurement unit names { NC_("SV_FUNIT_STRINGS", "mm"), FieldUnit::MM }, { NC_("SV_FUNIT_STRINGS", "cm"), FieldUnit::CM }, { NC_("SV_FUNIT_STRINGS", "m"), FieldUnit::M }, { NC_("SV_FUNIT_STRINGS", "km"), FieldUnit::KM }, { NC_("SV_FUNIT_STRINGS", "twips"), FieldUnit::TWIP }, { NC_("SV_FUNIT_STRINGS", "twip"), FieldUnit::TWIP }, { NC_("SV_FUNIT_STRINGS", "pt"), FieldUnit::POINT }, { NC_("SV_FUNIT_STRINGS", "pc"), FieldUnit::PICA }, /* To translators: double prime symbol for inch */ { NC_("SV_FUNIT_STRINGS", "″"), FieldUnit::INCH }, { NC_("SV_FUNIT_STRINGS", "\""), FieldUnit::INCH }, { NC_("SV_FUNIT_STRINGS", "in"), FieldUnit::INCH }, { NC_("SV_FUNIT_STRINGS", "inch"), FieldUnit::INCH }, /* To translators: prime symbol for foot */ { NC_("SV_FUNIT_STRINGS", "′"), FieldUnit::FOOT }, { NC_("SV_FUNIT_STRINGS", "'"), FieldUnit::FOOT }, { NC_("SV_FUNIT_STRINGS", "ft"), FieldUnit::FOOT }, { NC_("SV_FUNIT_STRINGS", "foot"), FieldUnit::FOOT }, { NC_("SV_FUNIT_STRINGS", "feet"), FieldUnit::FOOT }, { NC_("SV_FUNIT_STRINGS", "miles"), FieldUnit::MILE }, { NC_("SV_FUNIT_STRINGS", "mile"), FieldUnit::MILE }, { NC_("SV_FUNIT_STRINGS", "ch"), FieldUnit::CHAR }, { NC_("SV_FUNIT_STRINGS", "line"), FieldUnit::LINE }, { NC_("SV_FUNIT_STRINGS", "pixels"), FieldUnit::PIXEL }, { NC_("SV_FUNIT_STRINGS", "pixel"), FieldUnit::PIXEL }, /* To translators: degree */ { NC_("SV_FUNIT_STRINGS", "°"), FieldUnit::DEGREE }, { NC_("SV_FUNIT_STRINGS", "sec"), FieldUnit::SECOND }, // To translators: This is the last entry of the sequence of measurement unit names { NC_("SV_FUNIT_STRINGS", "ms"), FieldUnit::MILLISECOND } }; #endif // INCLUDED_VCL_INC_UNITS_HRC /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ n value='distro/collabora/co-24.04.11'>distro/collabora/co-24.04.11 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-11java: reduce visibility of fields and methodsNoel Grandin
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-16java: always use braces for while loopsNoel Grandin
Change-Id: Iff896b0cace8b8305528b3b0140004ea856169ce
2014-10-09As of JDK version 1.5, show() and hide() in Dialog have been deprecatedRobert Antoni Buj i Gelonch
Change-Id: If96e40ebe2c59f31ca4e2b81c6583eb7f8d5ec81 Reviewed-on: https://gerrit.libreoffice.org/11873 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-07java: remove unnecessary adding of empty stringsNoel Grandin
Change-Id: I3825ea5fb1eb34ca52659350e202f95abea945a9
2014-08-20fix exception not caughtNoel Grandin
Change-Id: Idf1942d76f3c13e207f2e54494557ee01013c833
2014-08-20double-checked locking is not thread-safe in JavaNoel Grandin
found by PMD Change-Id: Ibd4a9139c626932bec56c0b1dd32b4d59c8440b1
2014-08-19java: no need to instantiate String objects directlyNoel Grandin
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
2014-08-08java: remove unnecessary semi-colonsNoel Grandin
Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
2012-08-28Java5 update - convert to using generics for collectionsNoel Grandin
Change-Id: I384cb006beee280922564c9277025843a1bda74a
2012-08-28Java cleanup - remove unused importsNoel Grandin
Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0