31d1748d6d
UX advice see: http://lists.freedesktop.org/archives/libreoffice-ux-advise/2013-February/001816.html Summary: only show a dialog when the user is trying to delete an used style. Also warn him this change can only be partly undone (for now). Change-Id: Ib95143fcd4c7543f518e0d7fd4ff46a127efca2a Reviewed-on: https://gerrit.libreoffice.org/2618 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
139 lines
3.4 KiB
Text
139 lines
3.4 KiB
Text
/* -*- 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 <sfx2/sfx.hrc>
|
|
#include "dialog.hrc"
|
|
#include "helpid.hrc"
|
|
#include "sfxlocal.hrc"
|
|
|
|
String STR_RESET
|
|
{
|
|
Text [ en-US ] = "~Reset" ;
|
|
};
|
|
String STR_APPLY
|
|
{
|
|
Text [ en-US ] = "Apply";
|
|
};
|
|
String STR_TABPAGE_MANAGESTYLES
|
|
{
|
|
Text [ en-US ] = "Organizer" ;
|
|
};
|
|
InfoBox MSG_TABPAGE_INVALIDNAME
|
|
{
|
|
BUTTONS = WB_OK ;
|
|
DEFBUTTON = WB_DEF_OK ;
|
|
Message [ en-US ] = "This name is already in use." ;
|
|
};
|
|
InfoBox MSG_TABPAGE_INVALIDSTYLE
|
|
{
|
|
BUTTONS = WB_OK ;
|
|
DEFBUTTON = WB_DEF_OK ;
|
|
Message [ en-US ] = "This Style does not exist." ;
|
|
};
|
|
InfoBox MSG_TABPAGE_INVALIDPARENT
|
|
{
|
|
BUTTONS = WB_OK ;
|
|
DEFBUTTON = WB_DEF_OK ;
|
|
Message [ en-US ] = "This Style cannot be used as a base Style,\nbecause it would result in a recursive reference." ;
|
|
};
|
|
InfoBox MSG_POOL_STYLE_NAME
|
|
{
|
|
Message [ en-US ] = "Name already exists as a default Style.\nPlease choose another name." ;
|
|
};
|
|
String STR_DELETE_STYLE_USED
|
|
{
|
|
Text [ en-US ] = "One or more of the selected styles is in use in this document.\nIf you delete these styles, text will revert to the parent style.\n" ;
|
|
};
|
|
String STR_DELETE_STYLE
|
|
{
|
|
Text [ en-US ] = "Styles in use: " ;
|
|
};
|
|
Menu MN_CONTEXT_TEMPLDLG
|
|
{
|
|
ItemList =
|
|
{
|
|
MenuItem
|
|
{
|
|
Identifier = ID_NEW ;
|
|
Text [ en-US ] = "New..." ;
|
|
HelpId = HID_STYLIST_NEW ;
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = ID_EDIT ;
|
|
Text [ en-US ] = "Modify..." ;
|
|
HelpId = HID_STYLIST_EDIT ;
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = ID_HIDE ;
|
|
Text [ en-US ] = "Hide" ;
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = ID_SHOW ;
|
|
Text [ en-US ] = "Show" ;
|
|
};
|
|
MenuItem
|
|
{
|
|
Identifier = ID_DELETE ;
|
|
Text [ en-US ] = "Delete..." ;
|
|
HelpId = HID_STYLIST_DELETE ;
|
|
};
|
|
};
|
|
};
|
|
|
|
//------------------------------------------------------------------------
|
|
String SID_NAVIGATOR
|
|
{
|
|
Text [ en-US ] = "Navigator";
|
|
};
|
|
String SID_TASKPANE
|
|
{
|
|
Text [ en-US ] = "Task Pane";
|
|
};
|
|
|
|
ErrorBox MSG_ERROR_WRONG_CONFIRM
|
|
{
|
|
BUTTONS = WB_OK ;
|
|
DEFBUTTON = WB_DEF_OK ;
|
|
Message [ en-US ] = "Faulty password confirmation";
|
|
};
|
|
|
|
String STR_PDF_EXPORT_SEND
|
|
{
|
|
Text [ en-US ] = "Send" ;
|
|
};
|
|
|
|
Image IMG_INFO
|
|
{
|
|
ImageBitmap = Bitmap
|
|
{
|
|
File = "info.png" ;
|
|
};
|
|
};
|
|
|
|
String STR_FONT_TABPAGE
|
|
{
|
|
Text [ en-US ] = "Font" ;
|
|
};
|
|
|
|
// ******************************************************************* EOF
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|