summaryrefslogtreecommitdiff
path: root/sc/inc/strings.hrc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-05 15:48:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-09 09:52:33 +0200
commit283229f5bc27ce23456b9cbd9aff75ff44707105 (patch)
treeecadd85a8937555c8404290ac19c0af6baf4f266 /sc/inc/strings.hrc
parentcc6d591e1c4202afdbc30a76fd56d66b7547fa34 (diff)
Related: tdf#83128 support translation of plural forms
Change-Id: Id3d41099a895ca5423be2ac3d497851bc65eaff7 Reviewed-on: https://gerrit.libreoffice.org/61426 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc/strings.hrc')
-rw-r--r--sc/inc/strings.hrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/strings.hrc b/sc/inc/strings.hrc
index 17916a1ab5ba..dc606e3bd379 100644
--- a/sc/inc/strings.hrc
+++ b/sc/inc/strings.hrc
@@ -21,6 +21,7 @@
#define INCLUDED_SC_INC_STRINGS_HRC
#define NC_(Context, String) (Context "\004" u8##String)
+#define NNC_(Context, StringSingular, StringPlural) (Context "\004" u8##StringSingular "\004" u8##StringPlural)
// Strings for interface names -------------------------------------------
@@ -49,7 +50,7 @@
#define SCSTR_RENAMEOBJECT NC_("SCSTR_RENAMEOBJECT", "Name Object")
#define STR_INSERTGRAPHIC NC_("STR_INSERTGRAPHIC", "Insert Image")
#define STR_QUERYROTATION NC_("STR_QUERYROTATION", "This image is rotated. Would you like to rotate it into standard orientation?")
-#define SCSTR_TOTAL NC_("SCSTR_TOTAL", "%1 results found")
+#define SCSTR_TOTAL NNC_("SCSTR_TOTAL", "1 result found", "%1 results found")
#define SCSTR_SKIPPED NC_("SCSTR_SKIPPED", "(only %1 are listed)")
// Attribute
#define SCSTR_PROTECTDOC NC_("SCSTR_PROTECTDOC", "Protect Spreadsheet Structure")