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
8807796e
Kaydet (Commit)
8807796e
authored
Agu 18, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
InfoBox REG_WRONG_PASSWORD and REG_WRONG_PASSWD_REPEAT to String
Change-Id: I64d2b73744401baafd7dd037187ba3d7c604a535
üst
d6baf2ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
uiregionsw.cxx
sw/source/ui/dialog/uiregionsw.cxx
+4
-3
regionsw.hrc
sw/source/uibase/dialog/regionsw.hrc
+2
-2
regionsw.src
sw/source/uibase/dialog/regionsw.src
+4
-8
No files found.
sw/source/ui/dialog/uiregionsw.cxx
Dosyayı görüntüle @
8807796e
...
...
@@ -22,6 +22,7 @@
#include <svl/urihelper.hxx>
#include <svl/PasswordHelper.hxx>
#include <vcl/svapp.hxx>
#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <svl/stritem.hxx>
#include <svl/eitem.hxx>
...
...
@@ -417,7 +418,7 @@ bool SwEditRegionDlg::CheckPasswd(CheckBox* pBox)
}
else
{
InfoBox
(
this
,
SW_RES
(
REG_WRONG_PASSWORD
)
).
Execute
();
MessageDialog
(
this
,
SW_RES
(
STR_WRONG_PASSWORD
),
VCL_MESSAGE_INFO
).
Execute
();
}
}
}
...
...
@@ -1242,7 +1243,7 @@ IMPL_LINK( SwEditRegionDlg, ChangePasswdHdl, Button *, pBox )
}
else
{
InfoBox
(
pBox
,
SW_RES
(
REG_WRONG_PASSWD_REPEAT
)
).
Execute
();
MessageDialog
(
pBox
,
SW_RES
(
STR_WRONG_PASSWD_REPEAT
),
VCL_MESSAGE_INFO
).
Execute
();
ChangePasswdHdl
(
pBox
);
break
;
}
...
...
@@ -1681,7 +1682,7 @@ IMPL_LINK( SwInsertSectionTabPage, ChangePasswdHdl, Button *, pButton )
}
else
{
InfoBox
(
pButton
,
SW_RES
(
REG_WRONG_PASSWD_REPEAT
)
).
Execute
();
MessageDialog
(
pButton
,
SW_RES
(
STR_WRONG_PASSWD_REPEAT
),
VCL_MESSAGE_INFO
).
Execute
();
}
}
else
if
(
!
bChange
)
...
...
sw/source/uibase/dialog/regionsw.hrc
Dosyayı görüntüle @
8807796e
...
...
@@ -28,8 +28,8 @@
#define STR_INFO_DUPLICATE (RC_REGIONSW_BEGIN+7)
#define QB_CONNECT (RC_REGIONSW_BEGIN+10)
#define
REG
_WRONG_PASSWORD (RC_REGIONSW_BEGIN+11)
#define
REG
_WRONG_PASSWD_REPEAT (RC_REGIONSW_BEGIN+12)
#define
STR
_WRONG_PASSWORD (RC_REGIONSW_BEGIN+11)
#define
STR
_WRONG_PASSWD_REPEAT (RC_REGIONSW_BEGIN+12)
//ImageList elements
#define BMP_HIDE 1
...
...
sw/source/uibase/dialog/regionsw.src
Dosyayı görüntüle @
8807796e
...
...
@@ -53,17 +53,13 @@ QueryBox QB_CONNECT
DefButton = WB_DEF_NO ;
Message [ en-US ] = "A file connection will delete the contents of the current section. Connect anyway?" ;
};
InfoBox REG
_WRONG_PASSWORD
String STR
_WRONG_PASSWORD
{
BUTTONS = WB_OK ;
DEFBUTTON = WB_DEF_OK ;
Message [ en-US ] = "The password entered is invalid." ;
Text [ en-US ] = "The password entered is invalid." ;
};
InfoBox REG
_WRONG_PASSWD_REPEAT
String STR
_WRONG_PASSWD_REPEAT
{
BUTTONS = WB_OK ;
DEFBUTTON = WB_DEF_OK ;
Message [ en-US ] = "The password has not been set." ;
Text [ en-US ] = "The password has not been set." ;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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