<commit_before><%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>




<c:set var="properQueryString" scope="page" value="${fn:replace(pageContext.request.queryString, '&', '&amp;')}"/>
<c:choose>
    <c:when test="${not empty pageContext.request.queryString}">
        <c:choose>
            <c:when test="${fn:contains(pageContext.request.queryString, 'lang=de')}">
                <c:set var="deUrl" scope="request" value="?${properQueryString}"/>
                <c:set var="frUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=de', 'lang=fr')}" />
                <c:set var="esUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=de', 'lang=es')}" />
                <c:set var="enUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=de', 'lang=en')}" />
            </c:when>
            <c:when test="${fn:contains(pageContext.request.queryString, 'lang=en')}">
                <c:set var="enUrl" scope="request" value="?${properQueryString}"/>
                <c:set var="frUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=en', 'lang=fr')}" />
                <c:set var="esUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=en', 'lang=es')}" />
                <c:set var="deUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=en', 'lang=de')}" />
            </c:when>
            <c:when test="${fn:contains(pageContext.request.queryString, 'lang=fr')}">
                <c:set var="frUrl" scope="request" value="?${properQueryString}"/>
                <c:set var="enUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=fr', 'lang=en')}" />
                <c:set var="esUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=fr', 'lang=es')}" />
                <c:set var="deUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=fr', 'lang=de')}" />
            </c:when>
            <c:when test="${fn:contains(pageContext.request.queryString, 'lang=es')}">
                <c:set var="esUrl" scope="request" value="?${properQueryString}"/>
                <c:set var="enUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=es', 'lang=en')}" />
                <c:set var="frUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=es', 'lang=fr')}" />
                <c:set var="deUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=es', 'lang=de')}" />
            </c:when>
            <c:otherwise>
                <c:set var="deUrl" scope="request" value="?${properQueryString}&amp;lang=de"/>
                <c:set var="frUrl" scope="request" value="?${properQueryString}&amp;lang=fr"/>
                <c:set var="esUrl" scope="request" value="?${properQueryString}&amp;lang=es"/>
                <c:set var="enUrl" scope="request" value="?${properQueryString}&amp;lang=en"/>
            </c:otherwise>
        </c:choose>
    </c:when>
    <c:otherwise>
        <c:set var="deUrl" scope="request" value="?lang=de"/>
        <c:set var="frUrl" scope="request" value="?lang=fr"/>
        <c:set var="esUrl" scope="request" value="?lang=es"/>
        <c:set var="enUrl" scope="request" value="?lang=en"/>
    </c:otherwise>
</c:choose>
<div id="lang-switcher">
    <a href="${deUrl}" title="Umsteigen auf Deutsch" lang="de">
        <abbr title="Deutsch">DE</abbr>
    </a>
    <a href="${enUrl}" title="Switch to english" lang="en">
        <abbr title="English">EN</abbr>
    </a>
    <a href="${frUrl}" title="Passer en français" lang="fr">
        <abbr title="Français">FR</abbr>
    </a>
    <a href="${esUrl}" title="Cambaiar a español" lang="es">
        <abbr title="Español">ES</abbr>
    </a>
</div>
<commit_msg>FIX(webapp): use <nav> tag instead of <div> tag<commit_after><%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>




<c:set var="properQueryString" scope="page" value="${fn:replace(pageContext.request.queryString, '&', '&amp;')}"/>
<c:choose>
    <c:when test="${not empty pageContext.request.queryString}">
        <c:choose>
            <c:when test="${fn:contains(pageContext.request.queryString, 'lang=de')}">
                <c:set var="deUrl" scope="request" value="?${properQueryString}"/>
                <c:set var="frUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=de', 'lang=fr')}" />
                <c:set var="esUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=de', 'lang=es')}" />
                <c:set var="enUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=de', 'lang=en')}" />
            </c:when>
            <c:when test="${fn:contains(pageContext.request.queryString, 'lang=en')}">
                <c:set var="enUrl" scope="request" value="?${properQueryString}"/>
                <c:set var="frUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=en', 'lang=fr')}" />
                <c:set var="esUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=en', 'lang=es')}" />
                <c:set var="deUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=en', 'lang=de')}" />
            </c:when>
            <c:when test="${fn:contains(pageContext.request.queryString, 'lang=fr')}">
                <c:set var="frUrl" scope="request" value="?${properQueryString}"/>
                <c:set var="enUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=fr', 'lang=en')}" />
                <c:set var="esUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=fr', 'lang=es')}" />
                <c:set var="deUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=fr', 'lang=de')}" />
            </c:when>
            <c:when test="${fn:contains(pageContext.request.queryString, 'lang=es')}">
                <c:set var="esUrl" scope="request" value="?${properQueryString}"/>
                <c:set var="enUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=es', 'lang=en')}" />
                <c:set var="frUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=es', 'lang=fr')}" />
                <c:set var="deUrl" scope="request" value="?${fn:replace(properQueryString,
                    'lang=es', 'lang=de')}" />
            </c:when>
            <c:otherwise>
                <c:set var="deUrl" scope="request" value="?${properQueryString}&amp;lang=de"/>
                <c:set var="frUrl" scope="request" value="?${properQueryString}&amp;lang=fr"/>
                <c:set var="esUrl" scope="request" value="?${properQueryString}&amp;lang=es"/>
                <c:set var="enUrl" scope="request" value="?${properQueryString}&amp;lang=en"/>
            </c:otherwise>
        </c:choose>
    </c:when>
    <c:otherwise>
        <c:set var="deUrl" scope="request" value="?lang=de"/>
        <c:set var="frUrl" scope="request" value="?lang=fr"/>
        <c:set var="esUrl" scope="request" value="?lang=es"/>
        <c:set var="enUrl" scope="request" value="?lang=en"/>
    </c:otherwise>
</c:choose>
<nav id="lang-switcher">
    <a href="${deUrl}" title="Umsteigen auf Deutsch" lang="de">
        <abbr title="Deutsch">DE</abbr>
    </a>
    <a href="${enUrl}" title="Switch to english" lang="en">
        <abbr title="English">EN</abbr>
    </a>
    <a href="${frUrl}" title="Passer en français" lang="fr">
        <abbr title="Français">FR</abbr>
    </a>
    <a href="${esUrl}" title="Cambaiar a español" lang="es">
        <abbr title="Español">ES</abbr>
    </a>
</nav>

{'fraction_non_alphanumeric': 0.21351604591239165, 'fraction_numerical': 0.00046849379245724994, 'mean_word_length': 2.7783185840707967, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2895530', 'n_tokens_mistral': 2898, 'n_tokens_neox': 2793, 'n_words': 425}