diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-09 08:58:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-09 16:37:10 +0200 |
commit | 2116f1d7932aa778afb14daf9cf5cd3df7b05fc1 (patch) | |
tree | 1bebb20216b18b6c2fcc604cfd9c0eb2e658e45e /sc/source | |
parent | 2bd87a28d5b7ff406176b20eddf614e9be624c84 (diff) |
add some more pluralized form examples
Change-Id: I7163577fb43f28c8c9c138ebf3a9d36586247a32
Reviewed-on: https://gerrit.libreoffice.org/61587
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/attrib.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/docpool.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/attrib.cxx b/sc/source/core/data/attrib.cxx index a537eb4e0250..769f9722725b 100644 --- a/sc/source/core/data/attrib.cxx +++ b/sc/source/core/data/attrib.cxx @@ -637,7 +637,7 @@ void lclAppendScalePageCount( OUString& rText, sal_uInt16 nPages ) rText += ": "; if( nPages ) { - OUString aPages( ScResId( STR_SCATTR_PAGE_SCALE_PAGES ) ); + OUString aPages(ScResId(STR_SCATTR_PAGE_SCALE_PAGES, nPages)); rText += aPages.replaceFirst( "%1", OUString::number( nPages ) ); } else diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx index f199e49a26e2..965d3cf27d0b 100644 --- a/sc/source/core/data/docpool.cxx +++ b/sc/source/core/data/docpool.cxx @@ -536,7 +536,7 @@ bool ScDocumentPool::GetPresentation( if( nPagNo ) { rText = ScResId( STR_SCATTR_PAGE_SCALETOPAGES ) + aStrSep; - OUString aPages( ScResId( STR_SCATTR_PAGE_SCALE_PAGES ) ); + OUString aPages(ScResId(STR_SCATTR_PAGE_SCALE_PAGES, nPagNo)); aPages = aPages.replaceFirst( "%1", OUString::number( nPagNo ) ); rText += aPages; } |