diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-05 15:48:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-09 09:52:33 +0200 |
commit | 283229f5bc27ce23456b9cbd9aff75ff44707105 (patch) | |
tree | ecadd85a8937555c8404290ac19c0af6baf4f266 /sc/source/ui/app/scdll.cxx | |
parent | cc6d591e1c4202afdbc30a76fd56d66b7547fa34 (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/source/ui/app/scdll.cxx')
-rw-r--r-- | sc/source/ui/app/scdll.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx index 406a0eac4c34..435cb6fa1549 100644 --- a/sc/source/ui/app/scdll.cxx +++ b/sc/source/ui/app/scdll.cxx @@ -113,6 +113,11 @@ OUString ScResId(const char* pId) return Translate::get(pId, SC_MOD()->GetResLocale()); } +OUString ScResId(const char* pId, int nCardinality) +{ + return Translate::nget(pId, nCardinality, SC_MOD()->GetResLocale()); +} + void ScDLL::Init() { if ( SfxApplication::GetModule(SfxToolsModule::Calc) ) // Module already active |