promise->then($wrappedOnFulfilled, $wrappedOnRejected); return $this; } /** * Get the state of the promise ("pending", "rejected", or "fulfilled"). * * The three states can be checked against the constants defined: * STATE_PENDING, STATE_FULFILLED, and STATE_REJECTED. * * @return IPromise::STATE_* * @since 28.0.0 */ public function getState(): string { $state = $this->promise->getState(); if ($state === PromiseInterface::FULFILLED) { return self::STATE_FULFILLED; } if ($state === PromiseInterface::REJECTED) { return self::STATE_REJECTED; } if ($state === PromiseInterface::PENDING) { return self::STATE_PENDING; } $this->logger->error('Unexpected promise state "{state}" returned by Guzzle', [ 'state' => $state, ]); return self::STATE_PENDING; } /** * Cancels the promise if possible. * * @link https://github.com/promises-aplus/cancellation-spec/issues/7 * @since 28.0.0 */ public function cancel(): void { $this->promise->cancel(); } /** * Waits until the promise completes if possible. * * Pass $unwrap as true to unwrap the result of the promise, either * returning the resolved value or throwing the rejected exception. * * If the promise cannot be waited on, then the promise will be rejected. * * @param bool $unwrap * * @return mixed * * @throws LogicException if the promise has no wait function or if the * promise does not settle after waiting. * @since 28.0.0 */ public function wait(bool $unwrap = true): mixed { return $this->promise->wait($unwrap); } } form'>
path: root/ui/i18n/datepicker-de-AT.js
blob: 4a8b7811ac9cdfa37859dc38fadc8e5fb81cccd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* German/Austrian initialisation for the jQuery UI date picker plugin. */
/* Based on the de initialisation. */

( function( factory ) {
	"use strict";

	if ( typeof define === "function" && define.amd ) {

		// AMD. Register as an anonymous module.
		define( [ "../widgets/datepicker" ], factory );
	} else {

		// Browser globals
		factory( jQuery.datepicker );
	}
} )( function( datepicker ) {
"use strict";

datepicker.regional[ "de-AT" ] = {
	closeText: "Schließen",
	prevText: "Zurück",
	nextText: "Vor",
	currentText: "Heute",
	monthNames: [ "Jänner", "Februar", "März", "April", "Mai", "Juni",
	"Juli", "August", "September", "Oktober", "November", "Dezember" ],
	monthNamesShort: [ "Jän", "Feb", "Mär", "Apr", "Mai", "Jun",
	"Jul", "Aug", "Sep", "Okt", "Nov", "Dez" ],
	dayNames: [ "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" ],
	dayNamesShort: [ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" ],
	dayNamesMin: [ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" ],
	weekHeader: "KW",
	dateFormat: "dd.mm.yy",
	firstDay: 1,
	isRTL: false,
	showMonthAfterYear: false,
	yearSuffix: "" };
datepicker.setDefaults( datepicker.regional[ "de-AT" ] );

return datepicker.regional[ "de-AT" ];

} );