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
dd97e426
Kaydet (Commit)
dd97e426
authored
Agu 15, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ErrorBoxes from fmsearch to String
Change-Id: I0c2d12a79e8af2125c3aad7f0a6cb873ce3b4d2c
üst
b64d7c9e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
+10
-12
cuifmsearch.cxx
cui/source/dialogs/cuifmsearch.cxx
+4
-4
fmsearch.hrc
cui/source/dialogs/fmsearch.hrc
+2
-2
fmsearch.src
cui/source/dialogs/fmsearch.src
+4
-6
No files found.
cui/source/dialogs/cuifmsearch.cxx
Dosyayı görüntüle @
dd97e426
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
*/
*/
#include <tools/debug.hxx>
#include <tools/debug.hxx>
#include <vcl/
msgbox
.hxx>
#include <vcl/
layout
.hxx>
#include <vcl/svapp.hxx>
#include <vcl/svapp.hxx>
#include <tools/shl.hxx>
#include <tools/shl.hxx>
#include <dialmgr.hxx>
#include <dialmgr.hxx>
...
@@ -719,9 +719,9 @@ IMPL_LINK(FmSearchDialog, OnSearchProgress, FmSearchProgress*, pProgress)
...
@@ -719,9 +719,9 @@ IMPL_LINK(FmSearchDialog, OnSearchProgress, FmSearchProgress*, pProgress)
case
FmSearchProgress
:
:
STATE_NOTHINGFOUND
:
case
FmSearchProgress
:
:
STATE_NOTHINGFOUND
:
{
{
sal_uInt16
nErrorId
=
(
FmSearchProgress
::
STATE_ERROR
==
pProgress
->
aSearchState
)
sal_uInt16
nErrorId
=
(
FmSearchProgress
::
STATE_ERROR
==
pProgress
->
aSearchState
)
?
RID_S
VXER
R_SEARCH_GENERAL_ERROR
?
RID_S
T
R_SEARCH_GENERAL_ERROR
:
RID_S
VXER
R_SEARCH_NORECORD
;
:
RID_S
T
R_SEARCH_NORECORD
;
ErrorBox
(
this
,
CUI_RES
(
nErrorId
)).
Execute
();
MessageDialog
(
this
,
CUI_RES
(
nErrorId
)).
Execute
();
}
}
// NO break !
// NO break !
case
FmSearchProgress
:
:
STATE_CANCELED
:
case
FmSearchProgress
:
:
STATE_CANCELED
:
...
...
cui/source/dialogs/fmsearch.hrc
Dosyayı görüntüle @
dd97e426
...
@@ -27,8 +27,8 @@
...
@@ -27,8 +27,8 @@
#define RID_STR_SEARCH_WHOLE (RID_FORMS_START + 88)
#define RID_STR_SEARCH_WHOLE (RID_FORMS_START + 88)
#define RID_STR_FROM_TOP (RID_FORMS_START + 74)
#define RID_STR_FROM_TOP (RID_FORMS_START + 74)
#define RID_STR_FROM_BOTTOM (RID_FORMS_START + 75)
#define RID_STR_FROM_BOTTOM (RID_FORMS_START + 75)
#define RID_S
VXERR_SEARCH_NORECORD
(RID_FORMS_START + 8)
#define RID_S
TR_SEARCH_NORECORD
(RID_FORMS_START + 8)
#define RID_S
VXERR_SEARCH_GENERAL_ERROR
(RID_FORMS_START + 9)
#define RID_S
TR_SEARCH_GENERAL_ERROR
(RID_FORMS_START + 9)
#define RID_STR_OVERFLOW_FORWARD (RID_FORMS_START + 34)
#define RID_STR_OVERFLOW_FORWARD (RID_FORMS_START + 34)
#define RID_STR_OVERFLOW_BACKWARD (RID_FORMS_START + 35)
#define RID_STR_OVERFLOW_BACKWARD (RID_FORMS_START + 35)
#define RID_STR_SEARCH_COUNTING (RID_FORMS_START + 76)
#define RID_STR_SEARCH_COUNTING (RID_FORMS_START + 76)
...
...
cui/source/dialogs/fmsearch.src
Dosyayı görüntüle @
dd97e426
...
@@ -49,16 +49,14 @@ String RID_STR_FROM_BOTTOM
...
@@ -49,16 +49,14 @@ String RID_STR_FROM_BOTTOM
Text [ en-US ] = "From bottom";
Text [ en-US ] = "From bottom";
};
};
ErrorBox RID_SVXER
R_SEARCH_NORECORD
String RID_ST
R_SEARCH_NORECORD
{
{
Buttons = WB_OK;
Text [ en-US ] = "No records corresponding to your data found.";
Message [ en-US ] = "No records corresponding to your data found.";
};
};
ErrorBox RID_SVXER
R_SEARCH_GENERAL_ERROR
String RID_ST
R_SEARCH_GENERAL_ERROR
{
{
Buttons = WB_OK;
Text [ en-US ] = "An unknown error occurred. The search could not be finished.";
Message [ en-US ] = "An unknown error occurred. The search could not be finished.";
};
};
String RID_STR_OVERFLOW_FORWARD
String RID_STR_OVERFLOW_FORWARD
...
...
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