Skip to content

Commit

Permalink
CTOR-704 : Plugin(apps::microsoft::activedirectory::local) and Plugin…
Browse files Browse the repository at this point in the history
…(os::windows::local) : add italian and german language support (#5145)

Co-authored-by: Lucie Dubrunfaut <ldubrunfaut@CNTR-PORT-A198>
  • Loading branch information
lucie-dubrunfaut and Lucie Dubrunfaut committed Sep 4, 2024
1 parent 782b517 commit 519ccc3
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 3 deletions.
16 changes: 16 additions & 0 deletions src/apps/microsoft/activedirectory/local/conf/dcdiag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,20 @@
<critical>a .*?chou.</critical>
</messages>
</dcdiag>
<dcdiag language="it">
<messages>
<global>Inizio test.*?:\s+(.*?)\n.*?(superato|warning|non ha superato)</global>
<ok>superato</ok>
<warning>warning</warning>
<critical>non ha superato</critical>
</messages>
</dcdiag>
<dcdiag language="de">
<messages>
<global>Starting test.*?:\s+(.*?)\n.*?(bestanden|warnung|fehlgeschlagen)</global>
<ok>bestanden</ok>
<warning>warnung</warning>
<critical>fehlgeschlagen</critical>
</messages>
</dcdiag>
</root>
10 changes: 9 additions & 1 deletion src/apps/microsoft/activedirectory/local/mode/dcdiag.pm
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ sub read_config {
<critical>non ha superato</critical>
</messages>
</dcdiag>
<dcdiag language="de">
<messages>
<global>Starting test.*?:\s+(.*?)\n.*?(bestanden|warnung|fehlgeschlagen)</global>
<ok>bestanden</ok>
<warning>warnung</warning>
<critical>fehlgeschlagen</critical>
</messages>
</dcdiag>
</root>
END_FILE

Expand Down Expand Up @@ -237,7 +245,7 @@ Set the language used in config file (default: 'en').
=item B<--dfsr>
Specifies that SysVol replication uses DFS instead of FRS (Windows 2008 or later)
Specifies that SysVol replication uses Distributed File System instead of File Replication Service (Windows 2008 or later)
=item B<--noeventlog>
Expand Down
18 changes: 18 additions & 0 deletions src/os/windows/local/conf/qwinsta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,22 @@
<header_sessionname>SESSION</header_sessionname>
<header_state>^.*?TAT</header_state>
</qwinsta>
<qwinsta language="it">
<created>Totale sessioni create</created>
<disconnected>Totale sessioni disconnesse</disconnected>
<reconnected>Totale sessioni riconnesse</reconnected>
<activestate>Attivo</activestate>
<disconnectedstate>Disc</disconnectedstate>
<header_sessionname>NOMESESSIONE</header_sessionname>
<header_state>STATO</header_state>
</qwinsta>
<qwinsta language="de">
<created>Erstellte Sitzungen gesamt</created>
<disconnected>Getrennte Sitzungen gesamt</disconnected>
<reconnected>Erneut verbundene Sitzungen gesamt</reconnected>
<activestate>Aktiv</activestate>
<disconnectedstate>Getr\.</disconnectedstate>
<header_sessionname>SITZUNGSNAME</header_sessionname>
<header_state>STATUS</header_state>
</qwinsta>
</root>
13 changes: 11 additions & 2 deletions tests/resources/spellcheck/stopwords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--cert-pkcs12
--cert-pwd
--critical-bytesallocatedpercentage
--dfsr
--display-transform-dst
--display-transform-src
--dyn-mode
Expand Down Expand Up @@ -39,6 +40,8 @@
--mqtt-timeout
--mqtt-username
--nagvis-perfdata
--noeventlog
--nomachineaccount
--ntlmv2
--oid-display
--oid-extra-display
Expand All @@ -61,11 +64,14 @@ Centreon
cpu-utilization-1m
cpu-utilization-5m
cpu-utilization-5s
DC4
Datacore
DC4
dcdiag
dfsrevent
FCCapacity
Fortigate
Fortinet
frsevent
HPE
HashiCorp
ISAM
Expand All @@ -74,10 +80,12 @@ IpAddr
ISAM
Iwsva
JOBQ
kccevent
Loggly
MBean
MIB
MQTT
machineaccount
Meraki
module-cellradio-rscp
module-cellradio-csq
Expand All @@ -97,11 +105,12 @@ Primera
QoS
RestAPI
RRDCached
Sansymphony
SNMP
SSDCapacity
SSH
Sansymphony
SureBackup
SysVol
TCP
TrendMicro
UCD
Expand Down

0 comments on commit 519ccc3

Please sign in to comment.