summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-31 15:14:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-11-01 14:37:43 +0100
commit6d9a2557a0f0366fff169f3c3581414b3cec80bd (patch)
tree6a1ead1edccb8857b888b235684d8781ca4f8194 /svx/inc
parentbeaba5f1abbb9a1461286fc831ea6a30131bb3b5 (diff)
Resolves: tdf#105081 and tdf#113420
separate translations for Spacing: vs Margins: separate translations for Inch vs cm Change-Id: I9a2d8fe3ad0edde5afefe00258f1309f898130e8 Reviewed-on: https://gerrit.libreoffice.org/62699 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/spacing.hrc62
1 files changed, 53 insertions, 9 deletions
diff --git a/svx/inc/spacing.hrc b/svx/inc/spacing.hrc
index 2e41d505015f..2f2b219f5242 100644
--- a/svx/inc/spacing.hrc
+++ b/svx/inc/spacing.hrc
@@ -13,16 +13,60 @@
#define NC_(Context, String) (Context "\004" u8##String)
-const std::pair<const char*, int> RID_SVXSTRARY_SPACING[] =
+// To translators: this is a listbox labelled by "Spacing:", inch units
+const std::pair<const char*, int> RID_SVXSTRARY_SPACING_INCH[] =
{
- { NC_("RID_SVXSTRARY_SPACING", "None"), 0 },
- { NC_("RID_SVXSTRARY_SPACING", "Extra Small (1/16\")"), 91 },
- { NC_("RID_SVXSTRARY_SPACING", "Small (1/8\")"), 181 },
- { NC_("RID_SVXSTRARY_SPACING", "Small Medium (1/4\")"), 363 },
- { NC_("RID_SVXSTRARY_SPACING", "Medium (3/8\")"), 539 },
- { NC_("RID_SVXSTRARY_SPACING", "Medium Large (1/2\")"), 720 },
- { NC_("RID_SVXSTRARY_SPACING", "Large (3/4\")"), 1077 },
- { NC_("RID_SVXSTRARY_SPACING", "Extra Large (1\")"), 1440 }
+ { NC_("RID_SVXSTRARY_SPACING_INCH", "None"), 0 },
+ { NC_("RID_SVXSTRARY_SPACING_INCH", "Extra Small (1/16\")"), 91 },
+ { NC_("RID_SVXSTRARY_SPACING_INCH", "Small (1/8\")"), 181 },
+ { NC_("RID_SVXSTRARY_SPACING_INCH", "Small Medium (1/4\")"), 363 },
+ { NC_("RID_SVXSTRARY_SPACING_INCH", "Medium (3/8\")"), 539 },
+ { NC_("RID_SVXSTRARY_SPACING_INCH", "Medium Large (1/2\")"), 720 },
+ { NC_("RID_SVXSTRARY_SPACING_INCH", "Large (3/4\")"), 1077 },
+ { NC_("RID_SVXSTRARY_SPACING_INCH", "Extra Large (1\")"), 1440 },
+ { nullptr, 0 }
+};
+
+// To translators: this is a listbox labelled by "Spacing:", cm units
+const std::pair<const char*, int> RID_SVXSTRARY_SPACING_CM[] =
+{
+ { NC_("RID_SVXSTRARY_SPACING_CM", "None"), 0 },
+ { NC_("RID_SVXSTRARY_SPACING_CM", "Extra Small (0.16cm)"), 91 },
+ { NC_("RID_SVXSTRARY_SPACING_CM", "Small (0.32cm)"), 181 },
+ { NC_("RID_SVXSTRARY_SPACING_CM", "Small Medium (0.64cm)"), 363 },
+ { NC_("RID_SVXSTRARY_SPACING_CM", "Medium (0.95cm)"), 539 },
+ { NC_("RID_SVXSTRARY_SPACING_CM", "Medium Large (1.27cm)"), 720 },
+ { NC_("RID_SVXSTRARY_SPACING_CM", "Large (1.9cm)"), 1077 },
+ { NC_("RID_SVXSTRARY_SPACING_CM", "Extra Large (2.54cm)"), 1440 },
+ { nullptr, 0 }
+};
+
+// To translators: this is a listbox labelled by "Margins:", inch units
+const std::pair<const char*, int> RID_SVXSTRARY_MARGINS_INCH[] =
+{
+ { NC_("RID_SVXSTRARY_MARGINS_INCH", "None"), 0 },
+ { NC_("RID_SVXSTRARY_MARGINS_INCH", "Extra Small (1/16\")"), 91 },
+ { NC_("RID_SVXSTRARY_MARGINS_INCH", "Small (1/8\")"), 181 },
+ { NC_("RID_SVXSTRARY_MARGINS_INCH", "Small Medium (1/4\")"), 363 },
+ { NC_("RID_SVXSTRARY_MARGINS_INCH", "Medium (3/8\")"), 539 },
+ { NC_("RID_SVXSTRARY_MARGINS_INCH", "Medium Large (1/2\")"), 720 },
+ { NC_("RID_SVXSTRARY_MARGINS_INCH", "Large (3/4\")"), 1077 },
+ { NC_("RID_SVXSTRARY_MARGINS_INCH", "Extra Large (1\")"), 1440 },
+ { nullptr, 0 }
+};
+
+// To translators: this is a listbox labelled by "Margins:", cm units
+const std::pair<const char*, int> RID_SVXSTRARY_MARGINS_CM[] =
+{
+ { NC_("RID_SVXSTRARY_MARGINS_CM", "None"), 0 },
+ { NC_("RID_SVXSTRARY_MARGINS_CM", "Extra Small (0.16cm)"), 91 },
+ { NC_("RID_SVXSTRARY_MARGINS_CM", "Small (0.32cm)"), 181 },
+ { NC_("RID_SVXSTRARY_MARGINS_CM", "Small Medium (0.64cm)"), 363 },
+ { NC_("RID_SVXSTRARY_MARGINS_CM", "Medium (0.95cm)"), 539 },
+ { NC_("RID_SVXSTRARY_MARGINS_CM", "Medium Large (1.27cm)"), 720 },
+ { NC_("RID_SVXSTRARY_MARGINS_CM", "Large (1.9cm)"), 1077 },
+ { NC_("RID_SVXSTRARY_MARGINS_CM", "Extra Large (2.54cm)"), 1440 },
+ { nullptr, 0 }
};
#endif