added translation string to JSON files, removed unneccessary class (already covered by bootstrap CSS) and moved noscript CSS load into head (allowed when not using XHTML)
This commit is contained in:
parent
64e1e0d7c4
commit
9dcdb3172c
@ -98,10 +98,6 @@ body.navbar-spacing {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.smallErrorText {
|
|
||||||
font-size: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment {
|
.comment {
|
||||||
border-left: 1px solid #ccc;
|
border-left: 1px solid #ccc;
|
||||||
padding: 5px 0 5px 10px;
|
padding: 5px 0 5px 10px;
|
||||||
|
@ -140,5 +140,6 @@
|
|||||||
"Editor": "Bearbeiten",
|
"Editor": "Bearbeiten",
|
||||||
"Preview": "Vorschau",
|
"Preview": "Vorschau",
|
||||||
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
||||||
"Der PATH muss bei PrivateBin mit einem \"%s\" enden. Bitte passe Deinen PATH in Deiner index.php an."
|
"Der PATH muss bei PrivateBin mit einem \"%s\" enden. Bitte passe Deinen PATH in Deiner index.php an.",
|
||||||
|
"Loading…": "Lädt…"
|
||||||
}
|
}
|
||||||
|
@ -149,5 +149,6 @@
|
|||||||
"Editor": "Éditer",
|
"Editor": "Éditer",
|
||||||
"Preview": "Prévisualiser",
|
"Preview": "Prévisualiser",
|
||||||
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
||||||
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php."
|
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.",
|
||||||
|
"Loading…": "Loading…"
|
||||||
}
|
}
|
||||||
|
@ -140,5 +140,6 @@
|
|||||||
"Editor": "Editor",
|
"Editor": "Editor",
|
||||||
"Preview": "Preview",
|
"Preview": "Preview",
|
||||||
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
||||||
"PrivateBin necessita che PATH termini con \"%s\". Aggiorna la variabile PATH nel tuo index.php."
|
"PrivateBin necessita che PATH termini con \"%s\". Aggiorna la variabile PATH nel tuo index.php.",
|
||||||
|
"Loading…": "Loading…"
|
||||||
}
|
}
|
||||||
|
@ -140,5 +140,6 @@
|
|||||||
"Editor": "Edytować",
|
"Editor": "Edytować",
|
||||||
"Preview": "Zapowiedź",
|
"Preview": "Zapowiedź",
|
||||||
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
||||||
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php."
|
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.",
|
||||||
|
"Loading…": "Loading…"
|
||||||
}
|
}
|
||||||
|
@ -149,5 +149,6 @@
|
|||||||
"Editor": "Uredi",
|
"Editor": "Uredi",
|
||||||
"Preview": "Predogled",
|
"Preview": "Predogled",
|
||||||
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
||||||
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php."
|
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.",
|
||||||
|
"Loading…": "Loading…"
|
||||||
}
|
}
|
||||||
|
@ -140,5 +140,6 @@
|
|||||||
"Editor": "編輯",
|
"Editor": "編輯",
|
||||||
"Preview": "預習",
|
"Preview": "預習",
|
||||||
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.":
|
||||||
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php."
|
"PrivateBin requires the PATH to end in a \"%s\". Please update the PATH in your index.php.",
|
||||||
|
"Loading…": "Loading…"
|
||||||
}
|
}
|
||||||
|
@ -24,6 +24,7 @@ if ($SYNTAXHIGHLIGHTING):
|
|||||||
endif;
|
endif;
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
|
<noscript><link type="text/css" rel="stylesheet" href="css/noscript.css" /></noscript>
|
||||||
<script type="text/javascript" src="js/jquery-3.1.1.js" integrity="sha512-U6K1YLIFUWcvuw5ucmMtT9HH4t0uz3M366qrF5y4vnyH6dgDzndlcGvH/Lz5k8NFh80SN95aJ5rqGZEdaQZ7ZQ==" crossorigin="anonymous"></script>
|
<script type="text/javascript" src="js/jquery-3.1.1.js" integrity="sha512-U6K1YLIFUWcvuw5ucmMtT9HH4t0uz3M366qrF5y4vnyH6dgDzndlcGvH/Lz5k8NFh80SN95aJ5rqGZEdaQZ7ZQ==" crossorigin="anonymous"></script>
|
||||||
<script type="text/javascript" src="js/sjcl-1.0.4.js" integrity="sha512-BqVQ8GgWfMCcdsDuP6Ggm1BV7+mmoWH3PC4UqcYpEKSdEq1rthy6NUsa6gu5sydewbi/ilI3E3ohdCxlPPF9ww==" crossorigin="anonymous"></script>
|
<script type="text/javascript" src="js/sjcl-1.0.4.js" integrity="sha512-BqVQ8GgWfMCcdsDuP6Ggm1BV7+mmoWH3PC4UqcYpEKSdEq1rthy6NUsa6gu5sydewbi/ilI3E3ohdCxlPPF9ww==" crossorigin="anonymous"></script>
|
||||||
<?php
|
<?php
|
||||||
@ -323,6 +324,12 @@ endif;
|
|||||||
<div id="comments"></div>
|
<div id="comments"></div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="container">
|
||||||
|
<div id="noscript" role="alert" class="nonworking alert alert-info noscript-hide"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true">
|
||||||
|
<span> <?php echo I18n::_('Loading...'); ?></span><br>
|
||||||
|
<span class="small"><?php echo I18n::_('In case this message never disappears please have a look at <a href="">this FAQ for information to troubleshoot</a>.'); ?></span>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
<footer class="container">
|
<footer class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h4 class="col-md-5 col-xs-8"><?php echo I18n::_('PrivateBin'); ?> <small>- <?php echo I18n::_('Because ignorance is bliss'); ?></small></h4>
|
<h4 class="col-md-5 col-xs-8"><?php echo I18n::_('PrivateBin'); ?> <small>- <?php echo I18n::_('Because ignorance is bliss'); ?></small></h4>
|
||||||
|
@ -24,6 +24,7 @@ if ($SYNTAXHIGHLIGHTING):
|
|||||||
endif;
|
endif;
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
|
<noscript><link type="text/css" rel="stylesheet" href="css/noscript.css" /></noscript>
|
||||||
<script type="text/javascript" src="js/jquery-3.1.1.js" integrity="sha512-U6K1YLIFUWcvuw5ucmMtT9HH4t0uz3M366qrF5y4vnyH6dgDzndlcGvH/Lz5k8NFh80SN95aJ5rqGZEdaQZ7ZQ==" crossorigin="anonymous"></script>
|
<script type="text/javascript" src="js/jquery-3.1.1.js" integrity="sha512-U6K1YLIFUWcvuw5ucmMtT9HH4t0uz3M366qrF5y4vnyH6dgDzndlcGvH/Lz5k8NFh80SN95aJ5rqGZEdaQZ7ZQ==" crossorigin="anonymous"></script>
|
||||||
<script type="text/javascript" src="js/sjcl-1.0.4.js" integrity="sha512-BqVQ8GgWfMCcdsDuP6Ggm1BV7+mmoWH3PC4UqcYpEKSdEq1rthy6NUsa6gu5sydewbi/ilI3E3ohdCxlPPF9ww==" crossorigin="anonymous"></script>
|
<script type="text/javascript" src="js/sjcl-1.0.4.js" integrity="sha512-BqVQ8GgWfMCcdsDuP6Ggm1BV7+mmoWH3PC4UqcYpEKSdEq1rthy6NUsa6gu5sydewbi/ilI3E3ohdCxlPPF9ww==" crossorigin="anonymous"></script>
|
||||||
<?php
|
<?php
|
||||||
@ -280,7 +281,6 @@ if (!strlen($ERROR)):
|
|||||||
endif;
|
endif;
|
||||||
?>alert alert-danger"><span class="glyphicon glyphicon-alert" aria-hidden="true"></span> <?php echo htmlspecialchars($ERROR); ?></div>
|
?>alert alert-danger"><span class="glyphicon glyphicon-alert" aria-hidden="true"></span> <?php echo htmlspecialchars($ERROR); ?></div>
|
||||||
<noscript><div id="noscript" role="alert" class="nonworking alert alert-warning"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> <?php echo I18n::_('JavaScript is required for PrivateBin to work.<br />Sorry for the inconvenience.'); ?></div></noscript>
|
<noscript><div id="noscript" role="alert" class="nonworking alert alert-warning"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> <?php echo I18n::_('JavaScript is required for PrivateBin to work.<br />Sorry for the inconvenience.'); ?></div></noscript>
|
||||||
<noscript><link type="text/css" rel="stylesheet" href="css/noscript.css" /></noscript>
|
|
||||||
<div id="oldienotice" role="alert" class="hidden nonworking alert alert-danger"><span class="glyphicon glyphicon-alert" aria-hidden="true"></span> <?php echo I18n::_('PrivateBin requires a modern browser to work.'); ?></div>
|
<div id="oldienotice" role="alert" class="hidden nonworking alert alert-danger"><span class="glyphicon glyphicon-alert" aria-hidden="true"></span> <?php echo I18n::_('PrivateBin requires a modern browser to work.'); ?></div>
|
||||||
<div id="ienotice" role="alert" class="hidden alert alert-warning"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span> <?php echo I18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'), PHP_EOL; ?>
|
<div id="ienotice" role="alert" class="hidden alert alert-warning"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span> <?php echo I18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:'), PHP_EOL; ?>
|
||||||
<a href="https://www.mozilla.org/firefox/">Firefox</a>,
|
<a href="https://www.mozilla.org/firefox/">Firefox</a>,
|
||||||
@ -324,12 +324,12 @@ endif;
|
|||||||
<div id="comments"></div>
|
<div id="comments"></div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="container">
|
<section class="container">
|
||||||
<div id="noscript" role="alert" class="nonworking alert alert-info noscript-hide"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true">
|
<div id="noscript" role="alert" class="nonworking alert alert-info noscript-hide"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true">
|
||||||
<span> <?php echo I18n::_('Loading...'); ?></span><br>
|
<span> <?php echo I18n::_('Loading…'); ?></span><br>
|
||||||
<span class="smallErrorText"><?php echo I18n::_('In case this message never disappears please have a look at <a href="">this FAQ for information to troubleshoot</a>.'); ?></span>
|
<span class="small"><?php echo I18n::_('In case this message never disappears please have a look at <a href="">this FAQ for information to troubleshoot</a>.'); ?></span>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<footer class="container">
|
<footer class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h4 class="col-md-5 col-xs-8"><?php echo I18n::_('PrivateBin'); ?> <small>- <?php echo I18n::_('Because ignorance is bliss'); ?></small></h4>
|
<h4 class="col-md-5 col-xs-8"><?php echo I18n::_('PrivateBin'); ?> <small>- <?php echo I18n::_('Because ignorance is bliss'); ?></small></h4>
|
||||||
|
Loading…
Reference in New Issue
Block a user