<commit_before><%--
  User: tamer
  Date: 13/08/14
  Time: 19:51
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <meta name="layout" content="main"/>
    <title>Phraseapp Grails Plugin Console</title>
</head>

<body>

<g:if test="${flash.message}">
    <div class="info">
        ${flash.message}
    </div>
</g:if>

<g:if test="${flash.error}">
    <div class="error">
        ${flash.error}
    </div>
</g:if>

<div id="downloadAndUpdate">
    <g:link controller="phraseappConsole" action="update">
        Download
    </g:link> latest Translations from Phraseapp and update Grails
</div>

<br/>

<div id="createSnapshot">
    <g:link controller="phraseappConsole" action="create">
        Create
    </g:link> a new Snapshot
</div>

<br/>

<div id="restoreSnapshot">
    <g:if test="${snapshots}">
        These are the Snapshot taken so far:
        <ul>
            <g:each in="${snapshots}" var="item">
                <li>Snapshot created at ${new Date(item as Long)}
                <g:link controller="phraseappConsole" action="restore" id="${item}">
                    | restore
                </g:link>
                <g:link controller="phraseappConsole" action="delete" id="${item}">
                    | delete
                </g:link>
                </li>
            </g:each>
        </ul>
    </g:if>
    <g:else>
        No Snapshot available.
    </g:else>
</div>

</body>
</html><commit_msg>fixed typos in index.gsp<commit_after><%--
  User: tamer
  Date: 13/08/14
  Time: 19:51
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <meta name="layout" content="main"/>
    <title>Phraseapp Grails Plugin Console</title>
</head>

<body>

<g:if test="${flash.message}">
    <div class="info">
        ${flash.message}
    </div>
</g:if>

<g:if test="${flash.error}">
    <div class="error">
        ${flash.error}
    </div>
</g:if>

<div id="downloadAndUpdate">
    <g:link controller="phraseappConsole" action="update">
        Download
    </g:link> latest Translations from Phraseapp and update Grails
</div>

<br/>

<div id="createSnapshot">
    <g:link controller="phraseappConsole" action="create">
        Create
    </g:link> a new Snapshot
</div>

<br/>

<div id="restoreSnapshot">
    <g:if test="${snapshots}">
        These are the Snapshots taken so far:
        <ul>
            <g:each in="${snapshots}" var="item">
                <li>Snapshot created at ${new Date(item as Long)}
                <g:link controller="phraseappConsole" action="restore" id="${item}">
                    | restore
                </g:link>
                <g:link controller="phraseappConsole" action="delete" id="${item}">
                    | delete
                </g:link>
                </li>
            </g:each>
        </ul>
    </g:if>
    <g:else>
        No Snapshots available.
    </g:else>
</div>

</body>
</html>
{'fraction_non_alphanumeric': 0.17878057182225285, 'fraction_numerical': 0.007578367206338271, 'mean_word_length': 2.251959686450168, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7139571', 'n_tokens_mistral': 993, 'n_tokens_neox': 946, 'n_words': 218}