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
cf65baa9
Kaydet (Commit)
cf65baa9
authored
Agu 18, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
InfoBox MSG_DOUBLE_SHORTNAME and MSG_NO_GLOSSARIES to String
Change-Id: Ie3934ebc3209b8ba0358cca5fad9883e3b8cd262
üst
15344d04
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
glossary.cxx
sw/source/ui/misc/glossary.cxx
+3
-3
glossary.src
sw/source/ui/misc/glossary.src
+4
-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 @
cf65baa9
...
...
@@ -430,7 +430,7 @@ IMPL_LINK( SwGlossaryDlg, MenuHdl, Menu *, pMn )
const
OUString
aShortName
(
m_pShortNameEdit
->
GetText
());
if
(
pGlossaryHdl
->
HasShortName
(
aShortName
))
{
InfoBox
(
this
,
SW_RES
(
MSG_DOUBLE_SHORTNAME
)
).
Execute
();
MessageDialog
(
this
,
SW_RES
(
STR_DOUBLE_SHORTNAME
),
VCL_MESSAGE_INFO
).
Execute
();
m_pShortNameEdit
->
SetSelection
(
Selection
(
0
,
SELECTION_MAX
));
m_pShortNameEdit
->
GrabFocus
();
return
1
;
...
...
@@ -567,7 +567,7 @@ IMPL_LINK( SwGlossaryDlg, MenuHdl, Menu *, pMn )
Init
();
else
{
InfoBox
(
this
,
SW_RES
(
MSG_NO_GLOSSARIES
)
).
Execute
();
MessageDialog
(
this
,
SW_RES
(
STR_NO_GLOSSARIES
),
VCL_MESSAGE_INFO
).
Execute
();
}
}
}
...
...
@@ -785,7 +785,7 @@ IMPL_LINK_NOARG(SwNewGlosNameDlg, Rename)
if
(
pDlg
->
pGlossaryHdl
->
HasShortName
(
m_pNewShort
->
GetText
())
&&
sNew
!=
m_pOldShort
->
GetText
()
)
{
InfoBox
(
this
,
SW_RES
(
MSG_DOUBLE_SHORTNAME
)
).
Execute
();
MessageDialog
(
this
,
SW_RES
(
STR_DOUBLE_SHORTNAME
),
VCL_MESSAGE_INFO
).
Execute
();
m_pNewShort
->
GrabFocus
();
}
else
...
...
sw/source/ui/misc/glossary.src
Dosyayı görüntüle @
cf65baa9
...
...
@@ -22,9 +22,9 @@
#include "helpid.h"
#include "access.hrc"
InfoBox MSG
_DOUBLE_SHORTNAME
String STR
_DOUBLE_SHORTNAME
{
Message
[ en-US ] = "Shortcut name already exists. Please choose another name." ;
Text
[ en-US ] = "Shortcut name already exists. Please choose another name." ;
};
QueryBox MSG_QUERY_DELETE
{
...
...
@@ -48,9 +48,9 @@ String STR_SAVE_GLOSSARY
{
Text[ en-US ] = "Save AutoText";
};
InfoBox MSG
_NO_GLOSSARIES
String STR
_NO_GLOSSARIES
{
Message
[ en-US ] = "There is no AutoText in this file.";
Text
[ en-US ] = "There is no AutoText in this file.";
};
String STR_MY_AUTOTEXT
...
...
sw/source/uibase/inc/misc.hrc
Dosyayı görüntüle @
cf65baa9
...
...
@@ -28,11 +28,11 @@
#define DLG_TAB_OUTLINE (RC_MISC_BEGIN + 31)
#define
MSG
_DOUBLE_SHORTNAME (RC_MISC_BEGIN + 30)
#define
STR
_DOUBLE_SHORTNAME (RC_MISC_BEGIN + 30)
#define MSG_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
MSG
_NO_GLOSSARIES (RC_MISC_BEGIN + 34)
#define
STR
_NO_GLOSSARIES (RC_MISC_BEGIN + 34)
#define MSG_SRTERR (RC_MISC_BEGIN + 42)
...
...
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