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
3ca4ff1f
Kaydet (Commit)
3ca4ff1f
authored
Eyl 05, 2005
tarafından
Rüdiger Timm
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS ivo10 (1.9.90); FILE MERGED
2005/08/09 17:39:57 ihi 1.9.90.1: #123521# cwslocalize eis api
üst
f75b4aba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
125 additions
and
2 deletions
+125
-2
Cws.pm
solenv/bin/modules/Cws.pm
+125
-2
No files found.
solenv/bin/modules/Cws.pm
Dosyayı görüntüle @
3ca4ff1f
...
...
@@ -2,9 +2,9 @@
#
# $RCSfile: Cws.pm,v $
#
# $Revision: 1.
9
$
# $Revision: 1.
10
$
#
# last change: $Author: rt $ $Date: 2005-0
6-02 09:06:24
$
# last change: $Author: rt $ $Date: 2005-0
9-05 09:27:45
$
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
...
...
@@ -423,6 +423,41 @@ sub is_milestone
return
$self
->
is_milestone_registered_with_eis
(
$master
,
$milestone
);
}
# Check if this cws contains new ui
sub
is_uirelevant
{
my
$self
=
shift
;
return
$self
->
is_uirelevant_from_eis
();
}
# Check if this cws contains new online help
sub
is_helprelevant
{
my
$self
=
shift
;
return
$self
->
is_helprelevant_from_eis
();
}
#Get the l10n status
sub
set_l10n_status
{
my
$self
=
shift
;
my
$status
=
shift
;
return
$self
->
set_l10n_status_from_eis
(
$status
);
}
# Get the l10n status
sub
get_l10n_status
{
my
$self
=
shift
;
return
$self
->
get_l10n_status_from_eis
();
}
# Query master milestone combination for being used by an
# active CWS
sub
is_milestone_used
...
...
@@ -1226,6 +1261,94 @@ sub get_public_flag_from_eis
return
$result
;
}
sub
is_uirelevant_from_eis
{
my
$self
=
shift
;
# check if child workspace is valid
my
$id
=
$self
->
eis_id
();
if
(
!
$id
)
{
carp
(
"ERROR: Childworkspace not (yet) registered with EIS.\n"
);
return
undef
;
}
my
$eis
=
Cws::
eis
();
my
$result
;
eval
{
$result
=
$eis
->
isUIRelevant
(
$id
)
};
if
(
$@
)
{
carp
(
"ERROR: is_uirelevant_from_eis(): EIS database transaction failed. Reason:\n$@\n"
);
}
return
$result
;
}
sub
is_helprelevant_from_eis
{
my
$self
=
shift
;
# check if child workspace is valid
my
$id
=
$self
->
eis_id
();
if
(
!
$id
)
{
carp
(
"ERROR: Childworkspace not (yet) registered with EIS.\n"
);
return
undef
;
}
my
$eis
=
Cws::
eis
();
my
$result
;
eval
{
$result
=
$eis
->
isHelpRelevant
(
$id
)
};
if
(
$@
)
{
carp
(
"ERROR: is_helprelevant_from_eis(): EIS database transaction failed. Reason:\n$@\n"
);
}
return
$result
;
}
sub
get_l10n_status_from_eis
{
my
$self
=
shift
;
# check if child workspace is valid
my
$id
=
$self
->
eis_id
();
if
(
!
$id
)
{
carp
(
"ERROR: Childworkspace not (yet) registered with EIS.\n"
);
return
undef
;
}
my
$eis
=
Cws::
eis
();
my
$result
;
eval
{
$result
=
$eis
->
getL10n
(
$id
)
};
if
(
$@
)
{
carp
(
"ERROR: get_l10n_status_from_eis(): EIS database transaction failed. Reason:\n$@\n"
);
}
return
$result
;
}
sub
set_l10n_status_from_eis
{
my
$self
=
shift
;
my
$status
=
Eis::
to_string
(
shift
);
# check if child workspace is valid
my
$id
=
$self
->
eis_id
();
if
(
!
$id
)
{
carp
(
"ERROR: Childworkspace not (yet) registered with EIS.\n"
);
return
undef
;
}
my
$eis
=
Cws::
eis
();
my
$result
;
eval
{
$result
=
$eis
->
setL10n
(
$id
,
$status
)
};
if
(
$@
)
{
carp
(
"ERROR: set_l10n_status_from_eis(): EIS database transaction failed. Reason:\n$@\n"
);
}
return
$result
;
}
#logging
sub
set_log_entry_in_eis
{
...
...
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