diff options
author | David Tardon <dtardon@redhat.com> | 2016-02-15 15:18:48 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-02-15 16:08:58 +0100 |
commit | 7a9c351734425a2dec631982218b5090114e735a (patch) | |
tree | 821bddd6ca8dfdbb686217af88d3764bf643a96c /writerperfect/inc | |
parent | df5f7c6abab820070771c5304514faf2a07bc588 (diff) |
make charset sel. dlg translatable
Change-Id: I8d44b302bc78d9c89717f7169a04e9c736047b94
Diffstat (limited to 'writerperfect/inc')
-rw-r--r-- | writerperfect/inc/WPFTResMgr.hxx | 20 | ||||
-rw-r--r-- | writerperfect/inc/strings.hrc | 25 |
2 files changed, 45 insertions, 0 deletions
diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx new file mode 100644 index 000000000000..d578685f275e --- /dev/null +++ b/writerperfect/inc/WPFTResMgr.hxx @@ -0,0 +1,20 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ + +#ifndef INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX +#define INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX + +#include "writerperfectdllapi.h" + +#include <tools/resid.hxx> + +struct WRITERPERFECT_DLLPUBLIC WPFTResMgr +{ + static ResMgr &GetResMgr(); +}; + +#define WPFT_RES(i) ResId((i), WPFTResMgr::GetResMgr()) +#define WPFT_RESSTR(i) WPFT_RES(i).toString() + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/writerperfect/inc/strings.hrc b/writerperfect/inc/strings.hrc new file mode 100644 index 000000000000..e18214f511df --- /dev/null +++ b/writerperfect/inc/strings.hrc @@ -0,0 +1,25 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_WRITERPERFECT_INC_STRINGS_HRC +#define INCLUDED_WRITERPERFECT_INC_STRINGS_HRC + +#define RES_START 1000 + +#define STR_ENCODING_DIALOG_TITLE (RES_START + 1) +#define STR_ENCODING_DIALOG_TITLE_MSWORKS (RES_START + 2) +#define STR_ENCODING_DIALOG_TITLE_MSWRITE (RES_START + 3) +#define STR_ENCODING_DIALOG_TITLE_DOSWORD (RES_START + 4) +#define STR_ENCODING_DIALOG_TITLE_LOTUS (RES_START + 5) +#define STR_ENCODING_DIALOG_TITLE_SYMPHONY (RES_START + 6) +#define STR_ENCODING_DIALOG_TITLE_QUATTROPRO (RES_START + 7) + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |