make Photo Album warning string localizable
Change-Id: Ib57d76313732fed18d1d3b91b27df33d60dabf2b
This commit is contained in:
@@ -1278,4 +1278,9 @@ String STR_PHOTO_ALBUM_AUTHOR
|
||||
Text [ en-US ] = "Author:" ;
|
||||
};
|
||||
|
||||
String STR_PHOTO_ALBUM_EMPTY_WARNING
|
||||
{
|
||||
Text [ en-US ] = "Please add images to the album." ;
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -92,8 +92,8 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, CreateHdl)
|
||||
{
|
||||
if (pImagesLst->GetEntryCount() == 0)
|
||||
{
|
||||
InfoBox aInfo(this, OUString("Please add images to the album."));
|
||||
aInfo.Execute();
|
||||
WarningBox aWarning(this, WB_OK, SD_RESSTR(STR_PHOTO_ALBUM_EMPTY_WARNING));
|
||||
aWarning.Execute();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -417,6 +417,7 @@
|
||||
|
||||
#define STR_PHOTO_ALBUM_TITLE (RID_APP_START+729)
|
||||
#define STR_PHOTO_ALBUM_AUTHOR (RID_APP_START+730)
|
||||
#define STR_PHOTO_ALBUM_EMPTY_WARNING (RID_APP_START+731)
|
||||
|
||||
/******************************************************************************
|
||||
* The ids in glob.hrc start at RID_APP_START+750!
|
||||
|
Reference in New Issue
Block a user