tdf#146173: combine non-BMP characters' surrogates correctly
[LibreOffice.git] / sd / inc / pageformatpanel.hrc
blobbf29cc9b460272bca9d5ec87036ea7fc9511e241
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
10 #pragma once
12 #include <utility>
14 #define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
16 namespace sd
19 // To translators: this is a listbox labelled by "Margins:", inch units
20 const std::pair<TranslateId, int> RID_PAGEFORMATPANEL_MARGINS_INCH[] =
22     { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "None"), 0 },
23     { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Narrow"), 0 },
24     { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Moderate"), 0 },
25     // Normal (0.75")
26     { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Normal (%1)"),  75 },
27     // Normal (1")
28     { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Normal (%1)"), 100 },
29     // Normal (1.25")
30     { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Normal (%1)"), 125 },
31     { NC_("RID_PAGEFORMATPANEL_MARGINS_INCH", "Wide"), 0 }
34 // To translators: this is a listbox labelled by "Margins:", cm units
35 const std::pair<TranslateId, int> RID_PAGEFORMATPANEL_MARGINS_CM[] =
37     { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "None"), 0 },
38     { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Narrow"), 0 },
39     { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Moderate"), 0 },
40     // Normal (1.9 cm)
41     { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Normal (%1)"), 190 },
42     // Normal (2.54 cm)
43     { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Normal (%1)"), 254 },
44     // Normal (3.18 cm)
45     { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Normal (%1)"), 318 },
46     { NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Wide"), 0 }
51 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */