summaryrefslogtreecommitdiff
path: root/writerperfect/source/common
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-02-15 15:18:48 +0100
committerDavid Tardon <dtardon@redhat.com>2016-02-15 16:08:58 +0100
commit7a9c351734425a2dec631982218b5090114e735a (patch)
tree821bddd6ca8dfdbb686217af88d3764bf643a96c /writerperfect/source/common
parentdf5f7c6abab820070771c5304514faf2a07bc588 (diff)
make charset sel. dlg translatable
Change-Id: I8d44b302bc78d9c89717f7169a04e9c736047b94
Diffstat (limited to 'writerperfect/source/common')
-rw-r--r--writerperfect/source/common/WPFTResMgr.cxx15
-rw-r--r--writerperfect/source/common/strings.src47
2 files changed, 62 insertions, 0 deletions
diff --git a/writerperfect/source/common/WPFTResMgr.cxx b/writerperfect/source/common/WPFTResMgr.cxx
new file mode 100644
index 000000000000..fff256e7a6bf
--- /dev/null
+++ b/writerperfect/source/common/WPFTResMgr.cxx
@@ -0,0 +1,15 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+
+#include "WPFTResMgr.hxx"
+
+#include <tools/resmgr.hxx>
+
+#include <vcl/svapp.hxx>
+
+ResMgr &WPFTResMgr::GetResMgr()
+{
+ static ResMgr *const pResMgr(ResMgr::CreateResMgr("writerperfect", Application::GetSettings().GetUILanguageTag()));
+ return *pResMgr;
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/common/strings.src b/writerperfect/source/common/strings.src
new file mode 100644
index 000000000000..fb9b0bad0e35
--- /dev/null
+++ b/writerperfect/source/common/strings.src
@@ -0,0 +1,47 @@
+/* -*- 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/.
+ */
+
+#include "strings.hrc"
+
+String STR_ENCODING_DIALOG_TITLE
+{
+ Text[en-US] = "Import file";
+};
+
+String STR_ENCODING_DIALOG_TITLE_MSWORKS
+{
+ Text[en-US] = "Import MS Works file";
+};
+
+String STR_ENCODING_DIALOG_TITLE_MSWRITE
+{
+ Text[en-US] = "Import MS Write file";
+};
+
+String STR_ENCODING_DIALOG_TITLE_DOSWORD
+{
+ Text[en-US] = "Import MS Word for DOS file";
+};
+
+String STR_ENCODING_DIALOG_TITLE_LOTUS
+{
+ Text[en-US] = "Import Lotus file";
+};
+
+String STR_ENCODING_DIALOG_TITLE_SYMPHONY
+{
+ Text[en-US] = "Import Symphony file";
+};
+
+String STR_ENCODING_DIALOG_TITLE_QUATTROPRO
+{
+ Text[en-US] = "Import Quattro Pro file";
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */