From b6d25be2d7ab81fb5343b742542b79bad2121024 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 25 Aug 2014 13:19:06 +0100 Subject: convert RID_QRYBOX_LANGUAGE with custom title to .ui Change-Id: I007820c7717a437414bc43936e3138f7e63d090e --- basctl/source/dlged/dlgresid.src | 5 ----- basctl/source/dlged/managelang.cxx | 6 ++---- basctl/source/dlged/managelang.src | 30 ------------------------------ basctl/source/inc/dlgresid.hrc | 7 +------ 4 files changed, 3 insertions(+), 45 deletions(-) delete mode 100644 basctl/source/dlged/managelang.src (limited to 'basctl/source') diff --git a/basctl/source/dlged/dlgresid.src b/basctl/source/dlged/dlgresid.src index 6aa952d6037d..c4c6601ddc27 100644 --- a/basctl/source/dlged/dlgresid.src +++ b/basctl/source/dlged/dlgresid.src @@ -134,11 +134,6 @@ String RID_STR_DEF_LANG Text [ en-US ] = "[Default Language]" ; }; -String RID_STR_DELETE -{ - Text [ en-US ] = "~Delete" ; -}; - String RID_STR_CREATE_LANG { Text [ en-US ] = "" ; diff --git a/basctl/source/dlged/managelang.cxx b/basctl/source/dlged/managelang.cxx index 175e464d3227..5751fe4c24ba 100644 --- a/basctl/source/dlged/managelang.cxx +++ b/basctl/source/dlged/managelang.cxx @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include namespace basctl @@ -59,7 +59,6 @@ ManageLanguageDialog::ManageLanguageDialog(Window* pParent, boost::shared_ptrGetSelectEntryCount(); diff --git a/basctl/source/dlged/managelang.src b/basctl/source/dlged/managelang.src deleted file mode 100644 index 7a6a6ceef19c..000000000000 --- a/basctl/source/dlged/managelang.src +++ /dev/null @@ -1,30 +0,0 @@ -/* -*- 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/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "dlgresid.hrc" - -QueryBox RID_QRYBOX_LANGUAGE -{ - Title [ en-US ] = "Delete Language Resources" ; - Message [ en-US ] = "You are about to delete the resources for the selected language(s). All user interface strings for this language(s) will be deleted.\n\nDo you want to delete the resources of the selected language(s)?"; - BUTTONS = WB_OK_CANCEL ; - DEFBUTTON = WB_DEF_CANCEL ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basctl/source/inc/dlgresid.hrc b/basctl/source/inc/dlgresid.hrc index 54d6ca12d508..a6b1fc9829ef 100644 --- a/basctl/source/inc/dlgresid.hrc +++ b/basctl/source/inc/dlgresid.hrc @@ -50,8 +50,7 @@ #define RID_STR_CLASS_TREECONTROL ( RID_DLG_START + 23 ) #define RID_STR_CLASS_SPINCONTROL ( RID_DLG_START + 24 ) #define RID_STR_DEF_LANG ( RID_DLG_START + 25 ) -#define RID_STR_DELETE ( RID_DLG_START + 26 ) -#define RID_STR_CREATE_LANG ( RID_DLG_START + 27 ) +#define RID_STR_CREATE_LANG ( RID_DLG_START + 26 ) // Property Browser Headline Id's ----------------------------------------------------------- @@ -59,10 +58,6 @@ #define RID_STR_BRWTITLE_NO_PROPERTIES ( RID_DLG_START + 61 ) #define RID_STR_BRWTITLE_MULTISELECT ( RID_DLG_START + 62 ) -// Manage Language Dialogs - -#define RID_QRYBOX_LANGUAGE ( RID_DLG_START + 70 ) - #endif // BASCTL_DLGRESID_HRC /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit