Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
c70f22b9
Kaydet (Commit)
c70f22b9
authored
Agu 22, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
QueryBox STR_QUERY_DELETE -> MessageDialog + string
Change-Id: I570fe82f3207e8b40a0e4727c6641fdf59113978
üst
f10e4157
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
+9
-10
glossary.cxx
sw/source/ui/misc/glossary.cxx
+5
-4
glossary.src
sw/source/ui/misc/glossary.src
+2
-4
misc.hrc
sw/source/uibase/inc/misc.hrc
+2
-2
No files found.
sw/source/ui/misc/glossary.cxx
Dosyayı görüntüle @
c70f22b9
...
...
@@ -20,7 +20,7 @@
#include <hintids.hxx>
#include <vcl/menu.hxx>
#include <vcl/
msgbox
.hxx>
#include <vcl/
layout
.hxx>
#include <vcl/help.hxx>
#include <svl/stritem.hxx>
#include <unotools/pathoptions.hxx>
...
...
@@ -488,8 +488,8 @@ IMPL_LINK( SwGlossaryDlg, MenuHdl, Menu *, pMn )
}
else
if
(
sItemIdent
==
"delete"
)
{
QueryBox
aQuery
(
this
,
SW_RES
(
MSG_QUERY_DELETE
)
);
if
(
RET_YES
==
aQuery
.
Execute
())
MessageDialog
aQuery
(
this
,
SW_RES
(
STR_QUERY_DELETE
),
VCL_MESSAGE_QUESTION
,
VCL_BUTTONS_YES_NO
);
if
(
RET_YES
==
aQuery
.
Execute
())
{
const
OUString
aShortName
(
m_pShortNameEdit
->
GetText
());
const
OUString
aTitle
(
m_pNameED
->
GetText
());
...
...
@@ -646,7 +646,8 @@ IMPL_LINK_NOARG(SwGlossaryDlg, BibHdl)
}
else
{
QueryBox
aBox
(
this
,
WB_YES_NO
,
sReadonlyPath
);
MessageDialog
aBox
(
this
,
sReadonlyPath
,
VCL_MESSAGE_QUESTION
,
VCL_BUTTONS_YES_NO
);
if
(
RET_YES
==
aBox
.
Execute
())
PathHdl
(
m_pPathBtn
);
}
...
...
sw/source/ui/misc/glossary.src
Dosyayı görüntüle @
c70f22b9
...
...
@@ -26,11 +26,9 @@ String STR_DOUBLE_SHORTNAME
{
Text [ en-US ] = "Shortcut name already exists. Please choose another name." ;
};
QueryBox MSG
_QUERY_DELETE
String STR
_QUERY_DELETE
{
BUTTONS = WB_YES_NO ;
DEFBUTTON = WB_DEF_NO ;
Message [ en-US ] = "Delete AutoText?" ;
Text[ en-US ] = "Delete AutoText?" ;
};
String STR_QUERY_DELETE_GROUP1
{
...
...
sw/source/uibase/inc/misc.hrc
Dosyayı görüntüle @
c70f22b9
...
...
@@ -26,10 +26,10 @@
#define DLG_SORTING (RC_MISC_BEGIN + 19)
#define DLG_TAB_OUTLINE (RC_MISC_BEGIN +
31
)
#define DLG_TAB_OUTLINE (RC_MISC_BEGIN +
29
)
#define STR_DOUBLE_SHORTNAME (RC_MISC_BEGIN + 30)
#define
MSG
_QUERY_DELETE (RC_MISC_BEGIN + 31)
#define
STR
_QUERY_DELETE (RC_MISC_BEGIN + 31)
#define STR_QUERY_DELETE_GROUP1 (RC_MISC_BEGIN + 32)
#define STR_QUERY_DELETE_GROUP2 (RC_MISC_BEGIN + 33)
#define STR_NO_GLOSSARIES (RC_MISC_BEGIN + 34)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment