updated version and fixed bugs in the NL translation
This commit is contained in:
parent
8ce86f4d4c
commit
4e902cb6a1
6 changed files with 12 additions and 8 deletions
|
@ -31,9 +31,10 @@ Beim Einbinden muss das attribut `data-class` angegeben werden, welches die CSS-
|
|||
* uhr-de_CH_genau.js
|
||||
* uhr-de.js
|
||||
* uhr-en.js
|
||||
* uhr-es.js
|
||||
* uhr-fr.js
|
||||
* uhr-it.js
|
||||
* uhr-es.js
|
||||
* uhr-nl.js
|
||||
|
||||
`uhr-de_CH_genau.js` ist eine Variante von Berndeutsch, bei der zur vollen Stunde zusätzlich das Wort "genau" angezeigt wird (also z.B. um 15:00 Uhr "ES ISCH GENAU DRÜ").
|
||||
|
||||
|
@ -76,7 +77,7 @@ Der uhr()-Methode kann ein Options-Objekt mitgegeben werden:
|
|||
jQuery('#uhrcontainer').uhr({
|
||||
status: 'on', // 'on' (default) oder 'off'
|
||||
theme: 'black', // 'black' (default), 'white', 'red', 'yellow', 'green', 'blue' oder 'pink' (je nach eingebundenen Theme-Stylesheets)
|
||||
language: 'de_CH', // 'de_CH' (default), 'de_CH_genau', 'de', 'en', 'fr' oder 'it' (je nach eingebundenen Sprachdateien)
|
||||
language: 'de_CH', // 'de_CH' (default), 'de_CH_genau', 'de', 'en', 'es', 'fr', 'it' oder 'nl' (je nach eingebundenen Sprachdateien)
|
||||
mode: 'normal', // 'normal' (default): Die Uhr zeigt die aktuelle Zeit (Stunden und Minuten) in Worten an
|
||||
// 'seconds': Die Uhr zeigt die aktuellen Sekunden als grosse Ziffern an
|
||||
width: '100%', // eine CSS-Grössenangabe (default: 100%)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
6.5
|
||||
6.5-next
|
||||
|
|
|
@ -42,6 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
<script type="text/javascript" src="js/uhr-fr.js"></script>
|
||||
<script type="text/javascript" src="js/uhr-it.js"></script>
|
||||
<script type="text/javascript" src="js/uhr-es.js"></script>
|
||||
<script type="text/javascript" src="js/uhr-nl.js"></script>
|
||||
<script type="text/javascript">
|
||||
function go(url) {
|
||||
window.location = url;
|
||||
|
|
|
@ -108,9 +108,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
<script type="text/javascript" src="uhr-de_CH_genau.js"></script>
|
||||
<script type="text/javascript" src="uhr-de.js"></script>
|
||||
<script type="text/javascript" src="uhr-en.js"></script>
|
||||
<script type="text/javascript" src="uhr-es.js"></script></code>
|
||||
<script type="text/javascript" src="uhr-fr.js"></script>
|
||||
<script type="text/javascript" src="uhr-it.js"></script></code>
|
||||
<script type="text/javascript" src="uhr-es.js"></script></code>
|
||||
<script type="text/javascript" src="uhr-nl.js"></script></code>
|
||||
</p>
|
||||
|
||||
<p>Von den Stylesheets zwingend ist <code>uhr.css</code> und mindestens eines der Farbschema-Stylesheets. Die
|
||||
|
|
|
@ -48,13 +48,13 @@
|
|||
"10,11,12,13,14": [tien, over1],
|
||||
"15,16,17,18,19": [kwart, over2],
|
||||
"20,21,22,23,24": [tien, voor1, half],
|
||||
"25,26,27,28,29": [vjif, voor1, half],
|
||||
"25,26,27,28,29": [vijf, voor1, half],
|
||||
"30,31,32,33,34": half,
|
||||
"35,36,37,38,39": [vijf, over1, half],
|
||||
"40,41,42,43,44": [tien, over1, half],
|
||||
"45,46,47,48,49": [kwart, voor2],
|
||||
"50,51,52,53,54": [tien, voor1],
|
||||
"55,56,57,58,59": [vjif, voor1]
|
||||
"55,56,57,58,59": [vijf, voor1]
|
||||
},
|
||||
"hours": {
|
||||
"0,12": {10: [1, 2, 3, 4, 5, 6]},
|
||||
|
@ -72,7 +72,7 @@
|
|||
},
|
||||
"getHour": function(date) {
|
||||
var hour = date.getHours();
|
||||
if (date.getMinutes >= 20) {
|
||||
if (date.getMinutes() >= 20) {
|
||||
return (hour + 1) % 24;
|
||||
}
|
||||
return hour;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
CACHE MANIFEST
|
||||
# 6.5
|
||||
# 6.5-next
|
||||
|
||||
css/uhr.css
|
||||
css/uhr-black.css
|
||||
|
@ -19,6 +19,7 @@ js/uhr-en.js
|
|||
js/uhr-es.js
|
||||
js/uhr-fr.js
|
||||
js/uhr-it.js
|
||||
js/uhr-nl.js
|
||||
lib/jquery-2.1.0.min.js
|
||||
lib/jquery-cookie-1.4.0.js
|
||||
lib/jquery-ui-1.10.4.custom.min.js
|
||||
|
|
Loading…
Reference in a new issue