From c8e12a2dea85e2a60ec4edf276a9998c2345fbb2 Mon Sep 17 00:00:00 2001 From: Lab-8916100448256 <38373466+Lab-8916100448256@users.noreply.github.com> Date: Thu, 7 Oct 2021 20:54:55 +0200 Subject: [PATCH] Translate in french --- tinystatus | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tinystatus b/tinystatus index 217b656..aeb1fc3 100755 --- a/tinystatus +++ b/tinystatus @@ -89,9 +89,9 @@ p { color: #B4B4FF; } EOF outagenb="$(find "${tmp}/ko" -mindepth 1 | grep -c 'status$')" if [ "${outagenb}" -ne 0 ]; then - echo "" + echo "" else - echo "" + echo "" fi cat << EOF

Services

@@ -101,23 +101,23 @@ for file in "${tmp}/ko/"*.status; do [ -e "${file}" ] || continue name="$(basename "${file}" | sed 's,.status$,,')" status="$(cat "${file}")" - echo "
  • ${name} (${status})Disrupted
  • " + echo "
  • ${name} (${status})Cassé
  • " done for file in "${tmp}/ok/"*.status; do [ -e "${file}" ] || continue name="$(basename "${file}" | sed 's,.status$,,')" - echo "
  • ${name} Operational
  • " + echo "
  • ${name} Operationel
  • " done cat << EOF

    Last check: $(date +%FT%T%z)

    EOF if [ -f "${incidentsfile}" ]; then - echo '

    Incidents

    ' + echo '

    Historique des incidents et maintenances

    ' if [ -s "${incidentsfile}" ]; then sed 's|^\(.*\)$|

    \1

    |' "${incidentsfile}" else - echo '

    No incident reported yet ;)

    ' + echo '

    Aucun incident n'est documenté ;)

    ' fi fi cat <