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
291a10ec
Kaydet (Commit)
291a10ec
authored
Şub 17, 2016
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sfx2 classification infobar: improve message
Change-Id: If8fe5b145014055639a9a2eadd8fded7ebf7c2b3
üst
823e8d65
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
sfx.hrc
include/sfx2/sfx.hrc
+1
-0
view.src
sfx2/source/view/view.src
+5
-0
viewfrm.cxx
sfx2/source/view/viewfrm.cxx
+5
-1
No files found.
include/sfx2/sfx.hrc
Dosyayı görüntüle @
291a10ec
...
...
@@ -153,6 +153,7 @@
#define STR_READONLY_DOCUMENT (RID_SFX_START+128)
#define STR_PASSWD_MIN_LEN1 (RID_SFX_START+129)
#define STR_MODULENOTINSTALLED (RID_SFX_START+130)
#define STR_CLASSIFIED_DOCUMENT (RID_SFX_START+131)
#define STR_ACCTITLE_PRODUCTIVITYTOOLS (RID_SFX_START+157)
#define SFX_THUMBNAIL_TEXT (RID_SFX_START+158)
...
...
sfx2/source/view/view.src
Dosyayı görüntüle @
291a10ec
...
...
@@ -91,6 +91,11 @@ String STR_READONLY_DOCUMENT
Text [ en-US ] = "This document is open in read-only mode." ;
};
String STR_CLASSIFIED_DOCUMENT
{
Text [ en-US ] = "The classification label of this document is %1." ;
};
PushButton BT_CHECKOUT
{
Pos = MAP_APPFONT( 0 , 0 );
...
...
sfx2/source/view/viewfrm.cxx
Dosyayı görüntüle @
291a10ec
...
...
@@ -1351,7 +1351,11 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
OUString
aBACName
=
aHelper
.
GetBACName
();
OUString
aImpactLevel
=
aHelper
.
GetImpactLevel
();
if
(
!
aBACName
.
isEmpty
()
&&
!
aImpactLevel
.
isEmpty
())
AppendInfoBar
(
"classification"
,
aBACName
);
{
OUString
aMessage
=
SfxResId
(
STR_CLASSIFIED_DOCUMENT
);
aMessage
=
aMessage
.
replaceFirst
(
"%1"
,
aBACName
);
AppendInfoBar
(
"classification"
,
aMessage
);
}
}
break
;
...
...
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