From 283229f5bc27ce23456b9cbd9aff75ff44707105 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 5 Oct 2018 15:48:01 +0100 Subject: Related: tdf#83128 support translation of plural forms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id3d41099a895ca5423be2ac3d497851bc65eaff7 Reviewed-on: https://gerrit.libreoffice.org/61426 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/inc/strings.hrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc/inc/strings.hrc') 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") -- cgit