Skip to content

Commit 40a3500

Browse files
Fixes fo translation to be in build
1 parent 818686f commit 40a3500

9 files changed

+60
-17
lines changed

dist/i18n/jquery-ui-timepicker-addon-i18n.js

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*! jQuery Timepicker Addon - v1.6.4 - 2016-04-20
1+
/*! jQuery Timepicker Addon - v1.6.4 - 2017-02-08
22
* http://trentrichardson.com/examples/timepicker
3-
* Copyright (c) 2016 Trent Richardson; Licensed MIT */
3+
* Copyright (c) 2017 Trent Richardson; Licensed MIT */
44

55
(function($){
66

@@ -292,6 +292,28 @@
292292
isRTL: false
293293
};
294294

295+
// source: src/i18n/jquery-ui-timepicker-fo.js
296+
/* Faroese translation for the jQuery Timepicker Addon */
297+
/* Written by Torkil Zachariassen */
298+
299+
$.timepicker.regional['fo'] = {
300+
timeOnlyTitle: 'Vel tíð',
301+
timeText: 'Tíð',
302+
hourText: 'Tími',
303+
minuteText: 'Minuttur',
304+
secondText: 'Sekund',
305+
millisecText: 'Millisekund',
306+
microsecText: 'Mikrosekund',
307+
timezoneText: 'Tíðarsona',
308+
currentText: 'Nú',
309+
closeText: 'Lat aftur',
310+
timeFormat: 'HH:mm',
311+
timeSuffix: '',
312+
amNames: ['am', 'AM', 'A'],
313+
pmNames: ['pm', 'PM', 'P'],
314+
isRTL: false
315+
};
316+
295317
// source: src/i18n/jquery-ui-timepicker-fr.js
296318
/* French translation for the jQuery Timepicker Addon */
297319
/* Written by Thomas Lété */

dist/i18n/jquery-ui-timepicker-addon-i18n.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/i18n/jquery-ui-timepicker-fo.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* Faroese translation for the jQuery Timepicker Addon */
22
/* Written by Torkil Zachariassen */
3-
/* File: jquery-ui-timepicker-fo.js */
43
(function ($) {
54
$.timepicker.regional['fo'] = {
65
timeOnlyTitle: 'Vel tíð',

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h3>Requirements</h3>
114114
<h3>Version</h3>
115115
<p>Version 1.6.4</p>
116116

117-
<p>Last updated on 2016-04-20</p>
117+
<p>Last updated on 2017-02-08</p>
118118
<p>jQuery Timepicker Addon is currently available for use in all personal or commercial projects under the MIT license.</p>
119119
<p><a href="http://trentrichardson.com/Impromptu/MIT-LICENSE.txt" title="MIT License">MIT License</a></p>
120120

dist/jquery-ui-timepicker-addon.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*! jQuery Timepicker Addon - v1.6.4 - 2016-04-20
1+
/*! jQuery Timepicker Addon - v1.6.4 - 2017-02-08
22
* http://trentrichardson.com/examples/timepicker
3-
* Copyright (c) 2016 Trent Richardson; Licensed MIT */
3+
* Copyright (c) 2017 Trent Richardson; Licensed MIT */
44
(function (factory) {
55
if (typeof define === 'function' && define.amd) {
66
define(['jquery', 'jquery-ui'], factory);
@@ -882,7 +882,7 @@
882882
else {
883883
this.$timeObj.val($.datepicker.formatTime(pickerTimeFormat, this, o) + pickerTimeSuffix);
884884
}
885-
if (this.$timeObj[0].setSelectionRange) {
885+
if (this.$timeObj[0].setSelectionRange && this.$timeObj.is(":visible")) {
886886
var sPos = this.$timeObj[0].selectionStart;
887887
var ePos = this.$timeObj[0].selectionEnd;
888888
this.$timeObj[0].setSelectionRange(sPos, ePos);

dist/jquery-ui-timepicker-addon.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery-ui-timepicker-addon.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jquery-ui-timepicker-addon.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "jQuery Timepicker Addon",
44
"description": "A timepicker addon for jQueryUI datepicker.",
55
"version": "1.6.4",
6-
"modified": "2016-04-20",
6+
"modified": "2017-02-08",
77
"homepage": "http://trentrichardson.com/examples/timepicker",
88
"author": {
99
"name": "Trent Richardson",

src/i18n/jquery-ui-timepicker-fo.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* Faroese translation for the jQuery Timepicker Addon */
2+
/* Written by Torkil Zachariassen */
3+
(function ($) {
4+
$.timepicker.regional['fo'] = {
5+
timeOnlyTitle: 'Vel tíð',
6+
timeText: 'Tíð',
7+
hourText: 'Tími',
8+
minuteText: 'Minuttur',
9+
secondText: 'Sekund',
10+
millisecText: 'Millisekund',
11+
microsecText: 'Mikrosekund',
12+
timezoneText: 'Tíðarsona',
13+
currentText: 'Nú',
14+
closeText: 'Lat aftur',
15+
timeFormat: 'HH:mm',
16+
timeSuffix: '',
17+
amNames: ['am', 'AM', 'A'],
18+
pmNames: ['pm', 'PM', 'P'],
19+
isRTL: false
20+
};
21+
$.timepicker.setDefaults($.timepicker.regional['fo']);
22+
})(jQuery);

0 commit comments

Comments
 (0)