diff --git a/public/app/bower_components/angular-animate/.bower.json b/public/app/bower_components/angular-animate/.bower.json new file mode 100644 index 00000000..46ccee4e --- /dev/null +++ b/public/app/bower_components/angular-animate/.bower.json @@ -0,0 +1,18 @@ +{ + "name": "angular-animate", + "version": "1.3.0-rc.3", + "main": "./angular-animate.js", + "dependencies": { + "angular": "1.3.0-rc.3" + }, + "homepage": "https://github.com/angular/bower-angular-animate", + "_release": "1.3.0-rc.3", + "_resolution": { + "type": "version", + "tag": "v1.3.0-rc.3", + "commit": "2f171a645bde6cc837a5d9a6140a51f005f47da2" + }, + "_source": "git://github.com/angular/bower-angular-animate.git", + "_target": "^1.3.0-beta.18", + "_originalSource": "angular-animate" +} \ No newline at end of file diff --git a/public/app/bower_components/angular-animate/README.md b/public/app/bower_components/angular-animate/README.md new file mode 100644 index 00000000..de4c61b8 --- /dev/null +++ b/public/app/bower_components/angular-animate/README.md @@ -0,0 +1,54 @@ +# bower-angular-animate + +This repo is for distribution on `bower`. The source for this module is in the +[main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngAnimate). +Please file issues and pull requests against that repo. + +## Install + +Install with `bower`: + +```shell +bower install angular-animate +``` + +Add a ` +``` + +And add `ngAnimate` as a dependency for your app: + +```javascript +angular.module('myApp', ['ngAnimate']); +``` + +## Documentation + +Documentation is available on the +[AngularJS docs site](http://docs.angularjs.org/api/ngAnimate). + +## License + +The MIT License + +Copyright (c) 2010-2012 Google, Inc. http://angularjs.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/public/app/bower_components/angular-animate/angular-animate.js b/public/app/bower_components/angular-animate/angular-animate.js new file mode 100644 index 00000000..1edc10ea --- /dev/null +++ b/public/app/bower_components/angular-animate/angular-animate.js @@ -0,0 +1,1880 @@ +/** + * @license AngularJS v1.3.0-rc.3 + * (c) 2010-2014 Google, Inc. http://angularjs.org + * License: MIT + */ +(function(window, angular, undefined) {'use strict'; + +/* jshint maxlen: false */ + +/** + * @ngdoc module + * @name ngAnimate + * @description + * + * The `ngAnimate` module provides support for JavaScript, CSS3 transition and CSS3 keyframe animation hooks within existing core and custom directives. + * + *
+ * + * # Usage + * + * To see animations in action, all that is required is to define the appropriate CSS classes + * or to register a JavaScript animation via the myModule.animation() function. The directives that support animation automatically are: + * `ngRepeat`, `ngInclude`, `ngIf`, `ngSwitch`, `ngShow`, `ngHide`, `ngView` and `ngClass`. Custom directives can take advantage of animation + * by using the `$animate` service. + * + * Below is a more detailed breakdown of the supported animation events provided by pre-existing ng directives: + * + * | Directive | Supported Animations | + * |-----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------| + * | {@link ng.directive:ngRepeat#usage_animations ngRepeat} | enter, leave and move | + * | {@link ngRoute.directive:ngView#usage_animations ngView} | enter and leave | + * | {@link ng.directive:ngInclude#usage_animations ngInclude} | enter and leave | + * | {@link ng.directive:ngSwitch#usage_animations ngSwitch} | enter and leave | + * | {@link ng.directive:ngIf#usage_animations ngIf} | enter and leave | + * | {@link ng.directive:ngClass#usage_animations ngClass} | add and remove (the CSS class(es) present) | + * | {@link ng.directive:ngShow#usage_animations ngShow} & {@link ng.directive:ngHide#usage_animations ngHide} | add and remove (the ng-hide class value) | + * | {@link ng.directive:form#usage_animations form} & {@link ng.directive:ngModel#usage_animations ngModel} | add and remove (dirty, pristine, valid, invalid & all other validations) | + * | {@link ngMessages.directive:ngMessage#usage_animations ngMessages} | add and remove (ng-active & ng-inactive) | + * | {@link ngMessages.directive:ngMessage#usage_animations ngMessage} | enter and leave | + * + * You can find out more information about animations upon visiting each directive page. + * + * Below is an example of how to apply animations to a directive that supports animation hooks: + * + * ```html + * + * + * + * + * ``` + * + * Keep in mind that, by default, if an animation is running, any child elements cannot be animated + * until the parent element's animation has completed. This blocking feature can be overridden by + * placing the `ng-animate-children` attribute on a parent container tag. + * + * ```html + *
+ *
+ *
+ * ... + *
+ *
+ *
+ * ``` + * + * When the `on` expression value changes and an animation is triggered then each of the elements within + * will all animate without the block being applied to child elements. + * + * ## Are animations run when the application starts? + * No they are not. When an application is bootstrapped Angular will disable animations from running to avoid + * a frenzy of animations from being triggered as soon as the browser has rendered the screen. For this to work, + * Angular will wait for two digest cycles until enabling animations. From there on, any animation-triggering + * layout changes in the application will trigger animations as normal. + * + * In addition, upon bootstrap, if the routing system or any directives or load remote data (via $http) then Angular + * will automatically extend the wait time to enable animations once **all** of the outbound HTTP requests + * are complete. + * + *

CSS-defined Animations

+ * The animate service will automatically apply two CSS classes to the animated element and these two CSS classes + * are designed to contain the start and end CSS styling. Both CSS transitions and keyframe animations are supported + * and can be used to play along with this naming structure. + * + * The following code below demonstrates how to perform animations using **CSS transitions** with Angular: + * + * ```html + * + * + *
+ *
+ *
+ * ``` + * + * The following code below demonstrates how to perform animations using **CSS animations** with Angular: + * + * ```html + * + * + *
+ *
+ *
+ * ``` + * + * Both CSS3 animations and transitions can be used together and the animate service will figure out the correct duration and delay timing. + * + * Upon DOM mutation, the event class is added first (something like `ng-enter`), then the browser prepares itself to add + * the active class (in this case `ng-enter-active`) which then triggers the animation. The animation module will automatically + * detect the CSS code to determine when the animation ends. Once the animation is over then both CSS classes will be + * removed from the DOM. If a browser does not support CSS transitions or CSS animations then the animation will start and end + * immediately resulting in a DOM element that is at its final state. This final state is when the DOM element + * has no CSS transition/animation classes applied to it. + * + * ### Structural transition animations + * + * Structural transitions (such as enter, leave and move) will always apply a `0s none` transition + * value to force the browser into rendering the styles defined in the setup (.ng-enter, .ng-leave + * or .ng-move) class. This means that any active transition animations operating on the element + * will be cut off to make way for the enter, leave or move animation. + * + * ### Class-based transition animations + * + * Class-based transitions refer to transition animations that are triggered when a CSS class is + * added to or removed from the element (via `$animate.addClass`, `$animate.removeClass`, + * `$animate.setClass`, or by directives such as `ngClass`, `ngModel` and `form`). + * They are different when compared to structural animations since they **do not cancel existing + * animations** nor do they **block successive transitions** from rendering on the same element. + * This distinction allows for **multiple class-based transitions** to be performed on the same element. + * + * In addition to ngAnimate supporting the default (natural) functionality of class-based transition + * animations, ngAnimate also decorates the element with starting and ending CSS classes to aid the + * developer in further styling the element throughout the transition animation. Earlier versions + * of ngAnimate may have caused natural CSS transitions to break and not render properly due to + * $animate temporarily blocking transitions using `0s none` in order to allow the setup CSS class + * (the `-add` or `-remove` class) to be applied without triggering an animation. However, as of + * **version 1.3**, this workaround has been removed with ngAnimate and all non-ngAnimate CSS + * class transitions are compatible with ngAnimate. + * + * There is, however, one special case when dealing with class-based transitions in ngAnimate. + * When rendering class-based transitions that make use of the setup and active CSS classes + * (e.g. `.fade-add` and `.fade-add-active` for when `.fade` is added) be sure to define + * the transition value **on the active CSS class** and not the setup class. + * + * ```css + * .fade-add { + * /* remember to place a 0s transition here + * to ensure that the styles are applied instantly + * even if the element already has a transition style */ + * transition:0s linear all; + * + * /* starting CSS styles */ + * opacity:1; + * } + * .fade-add.fade-add-active { + * /* this will be the length of the animation */ + * transition:1s linear all; + * opacity:0; + * } + * ``` + * + * The setup CSS class (in this case `.fade-add`) also has a transition style property, however, it + * has a duration of zero. This may not be required, however, incase the browser is unable to render + * the styling present in this CSS class instantly then it could be that the browser is attempting + * to perform an unnecessary transition. + * + * This workaround, however, does not apply to standard class-based transitions that are rendered + * when a CSS class containing a transition is applied to an element: + * + * ```css + * .fade { + * /* this works as expected */ + * transition:1s linear all; + * opacity:0; + * } + * ``` + * + * Please keep this in mind when coding the CSS markup that will be used within class-based transitions. + * Also, try not to mix the two class-based animation flavors together since the CSS code may become + * overly complex. + * + * ### CSS Staggering Animations + * A Staggering animation is a collection of animations that are issued with a slight delay in between each successive operation resulting in a + * curtain-like effect. The ngAnimate module, as of 1.2.0, supports staggering animations and the stagger effect can be + * performed by creating a **ng-EVENT-stagger** CSS class and attaching that class to the base CSS class used for + * the animation. The style property expected within the stagger class can either be a **transition-delay** or an + * **animation-delay** property (or both if your animation contains both transitions and keyframe animations). + * + * ```css + * .my-animation.ng-enter { + * /* standard transition code */ + * -webkit-transition: 1s linear all; + * transition: 1s linear all; + * opacity:0; + * } + * .my-animation.ng-enter-stagger { + * /* this will have a 100ms delay between each successive leave animation */ + * -webkit-transition-delay: 0.1s; + * transition-delay: 0.1s; + * + * /* in case the stagger doesn't work then these two values + * must be set to 0 to avoid an accidental CSS inheritance */ + * -webkit-transition-duration: 0s; + * transition-duration: 0s; + * } + * .my-animation.ng-enter.ng-enter-active { + * /* standard transition styles */ + * opacity:1; + * } + * ``` + * + * Staggering animations work by default in ngRepeat (so long as the CSS class is defined). Outside of ngRepeat, to use staggering animations + * on your own, they can be triggered by firing multiple calls to the same event on $animate. However, the restrictions surrounding this + * are that each of the elements must have the same CSS className value as well as the same parent element. A stagger operation + * will also be reset if more than 10ms has passed after the last animation has been fired. + * + * The following code will issue the **ng-leave-stagger** event on the element provided: + * + * ```js + * var kids = parent.children(); + * + * $animate.leave(kids[0]); //stagger index=0 + * $animate.leave(kids[1]); //stagger index=1 + * $animate.leave(kids[2]); //stagger index=2 + * $animate.leave(kids[3]); //stagger index=3 + * $animate.leave(kids[4]); //stagger index=4 + * + * $timeout(function() { + * //stagger has reset itself + * $animate.leave(kids[5]); //stagger index=0 + * $animate.leave(kids[6]); //stagger index=1 + * }, 100, false); + * ``` + * + * Stagger animations are currently only supported within CSS-defined animations. + * + * ## JavaScript-defined Animations + * In the event that you do not want to use CSS3 transitions or CSS3 animations or if you wish to offer animations on browsers that do not + * yet support CSS transitions/animations, then you can make use of JavaScript animations defined inside of your AngularJS module. + * + * ```js + * //!annotate="YourApp" Your AngularJS Module|Replace this or ngModule with the module that you used to define your application. + * var ngModule = angular.module('YourApp', ['ngAnimate']); + * ngModule.animation('.my-crazy-animation', function() { + * return { + * enter: function(element, done) { + * //run the animation here and call done when the animation is complete + * return function(cancelled) { + * //this (optional) function will be called when the animation + * //completes or when the animation is cancelled (the cancelled + * //flag will be set to true if cancelled). + * }; + * }, + * leave: function(element, done) { }, + * move: function(element, done) { }, + * + * //animation that can be triggered before the class is added + * beforeAddClass: function(element, className, done) { }, + * + * //animation that can be triggered after the class is added + * addClass: function(element, className, done) { }, + * + * //animation that can be triggered before the class is removed + * beforeRemoveClass: function(element, className, done) { }, + * + * //animation that can be triggered after the class is removed + * removeClass: function(element, className, done) { } + * }; + * }); + * ``` + * + * JavaScript-defined animations are created with a CSS-like class selector and a collection of events which are set to run + * a javascript callback function. When an animation is triggered, $animate will look for a matching animation which fits + * the element's CSS class attribute value and then run the matching animation event function (if found). + * In other words, if the CSS classes present on the animated element match any of the JavaScript animations then the callback function will + * be executed. It should be also noted that only simple, single class selectors are allowed (compound class selectors are not supported). + * + * Within a JavaScript animation, an object containing various event callback animation functions is expected to be returned. + * As explained above, these callbacks are triggered based on the animation event. Therefore if an enter animation is run, + * and the JavaScript animation is found, then the enter callback will handle that animation (in addition to the CSS keyframe animation + * or transition code that is defined via a stylesheet). + * + */ + +angular.module('ngAnimate', ['ng']) + + /** + * @ngdoc provider + * @name $animateProvider + * @description + * + * The `$animateProvider` allows developers to register JavaScript animation event handlers directly inside of a module. + * When an animation is triggered, the $animate service will query the $animate service to find any animations that match + * the provided name value. + * + * Requires the {@link ngAnimate `ngAnimate`} module to be installed. + * + * Please visit the {@link ngAnimate `ngAnimate`} module overview page learn more about how to use animations in your application. + * + */ + .directive('ngAnimateChildren', function() { + var NG_ANIMATE_CHILDREN = '$$ngAnimateChildren'; + return function(scope, element, attrs) { + var val = attrs.ngAnimateChildren; + if (angular.isString(val) && val.length === 0) { //empty attribute + element.data(NG_ANIMATE_CHILDREN, true); + } else { + scope.$watch(val, function(value) { + element.data(NG_ANIMATE_CHILDREN, !!value); + }); + } + }; + }) + + //this private service is only used within CSS-enabled animations + //IE8 + IE9 do not support rAF natively, but that is fine since they + //also don't support transitions and keyframes which means that the code + //below will never be used by the two browsers. + .factory('$$animateReflow', ['$$rAF', '$document', function($$rAF, $document) { + var bod = $document[0].body; + return function(fn) { + //the returned function acts as the cancellation function + return $$rAF(function() { + //the line below will force the browser to perform a repaint + //so that all the animated elements within the animation frame + //will be properly updated and drawn on screen. This is + //required to perform multi-class CSS based animations with + //Firefox. DO NOT REMOVE THIS LINE. + var a = bod.offsetWidth + 1; + fn(); + }); + }; + }]) + + .config(['$provide', '$animateProvider', function($provide, $animateProvider) { + var noop = angular.noop; + var forEach = angular.forEach; + var selectors = $animateProvider.$$selectors; + var isArray = angular.isArray; + + var ELEMENT_NODE = 1; + var NG_ANIMATE_STATE = '$$ngAnimateState'; + var NG_ANIMATE_CHILDREN = '$$ngAnimateChildren'; + var NG_ANIMATE_CLASS_NAME = 'ng-animate'; + var rootAnimateState = {running: true}; + + function extractElementNode(element) { + for(var i = 0; i < element.length; i++) { + var elm = element[i]; + if (elm.nodeType == ELEMENT_NODE) { + return elm; + } + } + } + + function prepareElement(element) { + return element && angular.element(element); + } + + function stripCommentsFromElement(element) { + return angular.element(extractElementNode(element)); + } + + function isMatchingElement(elm1, elm2) { + return extractElementNode(elm1) == extractElementNode(elm2); + } + + $provide.decorator('$animate', + ['$delegate', '$$q', '$injector', '$sniffer', '$rootElement', '$$asyncCallback', '$rootScope', '$document', '$templateRequest', + function($delegate, $$q, $injector, $sniffer, $rootElement, $$asyncCallback, $rootScope, $document, $templateRequest) { + + $rootElement.data(NG_ANIMATE_STATE, rootAnimateState); + + // Wait until all directive and route-related templates are downloaded and + // compiled. The $templateRequest.totalPendingRequests variable keeps track of + // all of the remote templates being currently downloaded. If there are no + // templates currently downloading then the watcher will still fire anyway. + var deregisterWatch = $rootScope.$watch( + function() { return $templateRequest.totalPendingRequests; }, + function(val, oldVal) { + if (val !== 0) return; + deregisterWatch(); + + // Now that all templates have been downloaded, $animate will wait until + // the post digest queue is empty before enabling animations. By having two + // calls to $postDigest calls we can ensure that the flag is enabled at the + // very end of the post digest queue. Since all of the animations in $animate + // use $postDigest, it's important that the code below executes at the end. + // This basically means that the page is fully downloaded and compiled before + // any animations are triggered. + $rootScope.$$postDigest(function() { + $rootScope.$$postDigest(function() { + rootAnimateState.running = false; + }); + }); + } + ); + + var globalAnimationCounter = 0; + var classNameFilter = $animateProvider.classNameFilter(); + var isAnimatableClassName = !classNameFilter + ? function() { return true; } + : function(className) { + return classNameFilter.test(className); + }; + + function classBasedAnimationsBlocked(element, setter) { + var data = element.data(NG_ANIMATE_STATE) || {}; + if (setter) { + data.running = true; + data.structural = true; + element.data(NG_ANIMATE_STATE, data); + } + return data.disabled || (data.running && data.structural); + } + + function runAnimationPostDigest(fn) { + var cancelFn, defer = $$q.defer(); + defer.promise.$$cancelFn = function() { + cancelFn && cancelFn(); + }; + $rootScope.$$postDigest(function() { + cancelFn = fn(function() { + defer.resolve(); + }); + }); + return defer.promise; + } + + function resolveElementClasses(element, cache, runningAnimations) { + runningAnimations = runningAnimations || {}; + var map = {}; + + forEach(cache.add, function(className) { + if (className && className.length) { + map[className] = map[className] || 0; + map[className]++; + } + }); + + forEach(cache.remove, function(className) { + if (className && className.length) { + map[className] = map[className] || 0; + map[className]--; + } + }); + + var lookup = []; + forEach(runningAnimations, function(data, selector) { + forEach(selector.split(' '), function(s) { + lookup[s]=data; + }); + }); + + var toAdd = [], toRemove = []; + forEach(map, function(status, className) { + var hasClass = angular.$$hasClass(element[0], className); + var matchingAnimation = lookup[className] || {}; + + // When addClass and removeClass is called then $animate will check to + // see if addClass and removeClass cancel each other out. When there are + // more calls to removeClass than addClass then the count falls below 0 + // and then the removeClass animation will be allowed. Otherwise if the + // count is above 0 then that means an addClass animation will commence. + // Once an animation is allowed then the code will also check to see if + // there exists any on-going animation that is already adding or remvoing + // the matching CSS class. + if (status < 0) { + //does it have the class or will it have the class + if (hasClass || matchingAnimation.event == 'addClass') { + toRemove.push(className); + } + } else if (status > 0) { + //is the class missing or will it be removed? + if (!hasClass || matchingAnimation.event == 'removeClass') { + toAdd.push(className); + } + } + }); + + return (toAdd.length + toRemove.length) > 0 && [toAdd.join(' '), toRemove.join(' ')]; + } + + function lookup(name) { + if (name) { + var matches = [], + flagMap = {}, + classes = name.substr(1).split('.'); + + //the empty string value is the default animation + //operation which performs CSS transition and keyframe + //animations sniffing. This is always included for each + //element animation procedure if the browser supports + //transitions and/or keyframe animations. The default + //animation is added to the top of the list to prevent + //any previous animations from affecting the element styling + //prior to the element being animated. + if ($sniffer.transitions || $sniffer.animations) { + matches.push($injector.get(selectors[''])); + } + + for(var i=0; i < classes.length; i++) { + var klass = classes[i], + selectorFactoryName = selectors[klass]; + if (selectorFactoryName && !flagMap[klass]) { + matches.push($injector.get(selectorFactoryName)); + flagMap[klass] = true; + } + } + return matches; + } + } + + function animationRunner(element, animationEvent, className) { + //transcluded directives may sometimes fire an animation using only comment nodes + //best to catch this early on to prevent any animation operations from occurring + var node = element[0]; + if (!node) { + return; + } + + var classNameAdd; + var classNameRemove; + if (isArray(className)) { + classNameAdd = className[0]; + classNameRemove = className[1]; + if (!classNameAdd) { + className = classNameRemove; + animationEvent = 'removeClass'; + } else if (!classNameRemove) { + className = classNameAdd; + animationEvent = 'addClass'; + } else { + className = classNameAdd + ' ' + classNameRemove; + } + } + + var isSetClassOperation = animationEvent == 'setClass'; + var isClassBased = isSetClassOperation || + animationEvent == 'addClass' || + animationEvent == 'removeClass'; + + var currentClassName = element.attr('class'); + var classes = currentClassName + ' ' + className; + if (!isAnimatableClassName(classes)) { + return; + } + + var beforeComplete = noop, + beforeCancel = [], + before = [], + afterComplete = noop, + afterCancel = [], + after = []; + + var animationLookup = (' ' + classes).replace(/\s+/g,'.'); + forEach(lookup(animationLookup), function(animationFactory) { + var created = registerAnimation(animationFactory, animationEvent); + if (!created && isSetClassOperation) { + registerAnimation(animationFactory, 'addClass'); + registerAnimation(animationFactory, 'removeClass'); + } + }); + + function registerAnimation(animationFactory, event) { + var afterFn = animationFactory[event]; + var beforeFn = animationFactory['before' + event.charAt(0).toUpperCase() + event.substr(1)]; + if (afterFn || beforeFn) { + if (event == 'leave') { + beforeFn = afterFn; + //when set as null then animation knows to skip this phase + afterFn = null; + } + after.push({ + event : event, fn : afterFn + }); + before.push({ + event : event, fn : beforeFn + }); + return true; + } + } + + function run(fns, cancellations, allCompleteFn) { + var animations = []; + forEach(fns, function(animation) { + animation.fn && animations.push(animation); + }); + + var count = 0; + function afterAnimationComplete(index) { + if (cancellations) { + (cancellations[index] || noop)(); + if (++count < animations.length) return; + cancellations = null; + } + allCompleteFn(); + } + + //The code below adds directly to the array in order to work with + //both sync and async animations. Sync animations are when the done() + //operation is called right away. DO NOT REFACTOR! + forEach(animations, function(animation, index) { + var progress = function() { + afterAnimationComplete(index); + }; + switch(animation.event) { + case 'setClass': + cancellations.push(animation.fn(element, classNameAdd, classNameRemove, progress)); + break; + case 'addClass': + cancellations.push(animation.fn(element, classNameAdd || className, progress)); + break; + case 'removeClass': + cancellations.push(animation.fn(element, classNameRemove || className, progress)); + break; + default: + cancellations.push(animation.fn(element, progress)); + break; + } + }); + + if (cancellations && cancellations.length === 0) { + allCompleteFn(); + } + } + + return { + node : node, + event : animationEvent, + className : className, + isClassBased : isClassBased, + isSetClassOperation : isSetClassOperation, + before : function(allCompleteFn) { + beforeComplete = allCompleteFn; + run(before, beforeCancel, function() { + beforeComplete = noop; + allCompleteFn(); + }); + }, + after : function(allCompleteFn) { + afterComplete = allCompleteFn; + run(after, afterCancel, function() { + afterComplete = noop; + allCompleteFn(); + }); + }, + cancel : function() { + if (beforeCancel) { + forEach(beforeCancel, function(cancelFn) { + (cancelFn || noop)(true); + }); + beforeComplete(true); + } + if (afterCancel) { + forEach(afterCancel, function(cancelFn) { + (cancelFn || noop)(true); + }); + afterComplete(true); + } + } + }; + } + + /** + * @ngdoc service + * @name $animate + * @kind object + * + * @description + * The `$animate` service provides animation detection support while performing DOM operations (enter, leave and move) as well as during addClass and removeClass operations. + * When any of these operations are run, the $animate service + * will examine any JavaScript-defined animations (which are defined by using the $animateProvider provider object) + * as well as any CSS-defined animations against the CSS classes present on the element once the DOM operation is run. + * + * The `$animate` service is used behind the scenes with pre-existing directives and animation with these directives + * will work out of the box without any extra configuration. + * + * Requires the {@link ngAnimate `ngAnimate`} module to be installed. + * + * Please visit the {@link ngAnimate `ngAnimate`} module overview page learn more about how to use animations in your application. + * ## Callback Promises + * With AngularJS 1.3, each of the animation methods, on the `$animate` service, return a promise when called. The + * promise itself is then resolved once the animation has completed itself, has been cancelled or has been + * skipped due to animations being disabled. (Note that even if the animation is cancelled it will still + * call the resolve function of the animation.) + * + * ```js + * $animate.enter(element, container).then(function() { + * //...this is called once the animation is complete... + * }); + * ``` + * + * Also note that, due to the nature of the callback promise, if any Angular-specific code (like changing the scope, + * location of the page, etc...) is executed within the callback promise then be sure to wrap the code using + * `$scope.$apply(...)`; + * + * ```js + * $animate.leave(element).then(function() { + * $scope.$apply(function() { + * $location.path('/new-page'); + * }); + * }); + * ``` + * + * An animation can also be cancelled by calling the `$animate.cancel(promise)` method with the provided + * promise that was returned when the animation was started. + * + * ```js + * var promise = $animate.addClass(element, 'super-long-animation').then(function() { + * //this will still be called even if cancelled + * }); + * + * element.on('click', function() { + * //tooo lazy to wait for the animation to end + * $animate.cancel(promise); + * }); + * ``` + * + * (Keep in mind that the promise cancellation is unique to `$animate` since promises in + * general cannot be cancelled.) + * + */ + return { + /** + * @ngdoc method + * @name $animate#enter + * @kind function + * + * @description + * Appends the element to the parentElement element that resides in the document and then runs the enter animation. Once + * the animation is started, the following CSS classes will be present on the element for the duration of the animation: + * + * Below is a breakdown of each step that occurs during enter animation: + * + * | Animation Step | What the element class attribute looks like | + * |-------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------| + * | 1. $animate.enter(...) is called | class="my-animation" | + * | 2. element is inserted into the parentElement element or beside the afterElement element | class="my-animation" | + * | 3. $animate waits for the next digest to start the animation | class="my-animation ng-animate" | + * | 4. $animate runs the JavaScript-defined animations detected on the element | class="my-animation ng-animate" | + * | 5. the .ng-enter class is added to the element | class="my-animation ng-animate ng-enter" | + * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-enter" | + * | 7. $animate blocks all CSS transitions on the element to ensure the .ng-enter class styling is applied right away | class="my-animation ng-animate ng-enter" | + * | 8. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate ng-enter" | + * | 9. $animate removes the CSS transition block placed on the element | class="my-animation ng-animate ng-enter" | + * | 10. the .ng-enter-active class is added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-enter ng-enter-active" | + * | 11. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate ng-enter ng-enter-active" | + * | 12. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | + * | 13. The returned promise is resolved. | class="my-animation" | + * + * @param {DOMElement} element the element that will be the focus of the enter animation + * @param {DOMElement} parentElement the parent element of the element that will be the focus of the enter animation + * @param {DOMElement} afterElement the sibling element (which is the previous element) of the element that will be the focus of the enter animation + * @return {Promise} the animation callback promise + */ + enter : function(element, parentElement, afterElement) { + element = angular.element(element); + parentElement = prepareElement(parentElement); + afterElement = prepareElement(afterElement); + + classBasedAnimationsBlocked(element, true); + $delegate.enter(element, parentElement, afterElement); + return runAnimationPostDigest(function(done) { + return performAnimation('enter', 'ng-enter', stripCommentsFromElement(element), parentElement, afterElement, noop, done); + }); + }, + + /** + * @ngdoc method + * @name $animate#leave + * @kind function + * + * @description + * Runs the leave animation operation and, upon completion, removes the element from the DOM. Once + * the animation is started, the following CSS classes will be added for the duration of the animation: + * + * Below is a breakdown of each step that occurs during leave animation: + * + * | Animation Step | What the element class attribute looks like | + * |-------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------| + * | 1. $animate.leave(...) is called | class="my-animation" | + * | 2. $animate runs the JavaScript-defined animations detected on the element | class="my-animation ng-animate" | + * | 3. $animate waits for the next digest to start the animation | class="my-animation ng-animate" | + * | 4. the .ng-leave class is added to the element | class="my-animation ng-animate ng-leave" | + * | 5. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-leave" | + * | 6. $animate blocks all CSS transitions on the element to ensure the .ng-leave class styling is applied right away | class="my-animation ng-animate ng-leave” | + * | 7. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate ng-leave" | + * | 8. $animate removes the CSS transition block placed on the element | class="my-animation ng-animate ng-leave” | + * | 9. the .ng-leave-active class is added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-leave ng-leave-active" | + * | 10. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate ng-leave ng-leave-active" | + * | 11. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | + * | 12. The element is removed from the DOM | ... | + * | 13. The returned promise is resolved. | ... | + * + * @param {DOMElement} element the element that will be the focus of the leave animation + * @return {Promise} the animation callback promise + */ + leave : function(element) { + element = angular.element(element); + + cancelChildAnimations(element); + classBasedAnimationsBlocked(element, true); + this.enabled(false, element); + return runAnimationPostDigest(function(done) { + return performAnimation('leave', 'ng-leave', stripCommentsFromElement(element), null, null, function() { + $delegate.leave(element); + }, done); + }); + }, + + /** + * @ngdoc method + * @name $animate#move + * @kind function + * + * @description + * Fires the move DOM operation. Just before the animation starts, the animate service will either append it into the parentElement container or + * add the element directly after the afterElement element if present. Then the move animation will be run. Once + * the animation is started, the following CSS classes will be added for the duration of the animation: + * + * Below is a breakdown of each step that occurs during move animation: + * + * | Animation Step | What the element class attribute looks like | + * |------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------| + * | 1. $animate.move(...) is called | class="my-animation" | + * | 2. element is moved into the parentElement element or beside the afterElement element | class="my-animation" | + * | 3. $animate waits for the next digest to start the animation | class="my-animation ng-animate" | + * | 4. $animate runs the JavaScript-defined animations detected on the element | class="my-animation ng-animate" | + * | 5. the .ng-move class is added to the element | class="my-animation ng-animate ng-move" | + * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate ng-move" | + * | 7. $animate blocks all CSS transitions on the element to ensure the .ng-move class styling is applied right away | class="my-animation ng-animate ng-move” | + * | 8. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate ng-move" | + * | 9. $animate removes the CSS transition block placed on the element | class="my-animation ng-animate ng-move” | + * | 10. the .ng-move-active class is added (this triggers the CSS transition/animation) | class="my-animation ng-animate ng-move ng-move-active" | + * | 11. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate ng-move ng-move-active" | + * | 12. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | + * | 13. The returned promise is resolved. | class="my-animation" | + * + * @param {DOMElement} element the element that will be the focus of the move animation + * @param {DOMElement} parentElement the parentElement element of the element that will be the focus of the move animation + * @param {DOMElement} afterElement the sibling element (which is the previous element) of the element that will be the focus of the move animation + * @return {Promise} the animation callback promise + */ + move : function(element, parentElement, afterElement) { + element = angular.element(element); + parentElement = prepareElement(parentElement); + afterElement = prepareElement(afterElement); + + cancelChildAnimations(element); + classBasedAnimationsBlocked(element, true); + $delegate.move(element, parentElement, afterElement); + return runAnimationPostDigest(function(done) { + return performAnimation('move', 'ng-move', stripCommentsFromElement(element), parentElement, afterElement, noop, done); + }); + }, + + /** + * @ngdoc method + * @name $animate#addClass + * + * @description + * Triggers a custom animation event based off the className variable and then attaches the className value to the element as a CSS class. + * Unlike the other animation methods, the animate service will suffix the className value with {@type -add} in order to provide + * the animate service the setup and active CSS classes in order to trigger the animation (this will be skipped if no CSS transitions + * or keyframes are defined on the -add-active or base CSS class). + * + * Below is a breakdown of each step that occurs during addClass animation: + * + * | Animation Step | What the element class attribute looks like | + * |----------------------------------------------------------------------------------------------------|------------------------------------------------------------------| + * | 1. $animate.addClass(element, 'super') is called | class="my-animation" | + * | 2. $animate runs the JavaScript-defined animations detected on the element | class="my-animation ng-animate" | + * | 3. the .super-add class is added to the element | class="my-animation ng-animate super-add" | + * | 4. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate super-add" | + * | 5. the .super and .super-add-active classes are added (this triggers the CSS transition/animation) | class="my-animation ng-animate super super-add super-add-active" | + * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate super-add" | + * | 7. $animate waits for the animation to complete (via events and timeout) | class="my-animation super super-add super-add-active" | + * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation super" | + * | 9. The super class is kept on the element | class="my-animation super" | + * | 10. The returned promise is resolved. | class="my-animation super" | + * + * @param {DOMElement} element the element that will be animated + * @param {string} className the CSS class that will be added to the element and then animated + * @return {Promise} the animation callback promise + */ + addClass : function(element, className) { + return this.setClass(element, className, []); + }, + + /** + * @ngdoc method + * @name $animate#removeClass + * + * @description + * Triggers a custom animation event based off the className variable and then removes the CSS class provided by the className value + * from the element. Unlike the other animation methods, the animate service will suffix the className value with {@type -remove} in + * order to provide the animate service the setup and active CSS classes in order to trigger the animation (this will be skipped if + * no CSS transitions or keyframes are defined on the -remove or base CSS classes). + * + * Below is a breakdown of each step that occurs during removeClass animation: + * + * | Animation Step | What the element class attribute looks like | + * |------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------| + * | 1. $animate.removeClass(element, 'super') is called | class="my-animation super" | + * | 2. $animate runs the JavaScript-defined animations detected on the element | class="my-animation super ng-animate" | + * | 3. the .super-remove class is added to the element | class="my-animation super ng-animate super-remove" | + * | 4. $animate waits for a single animation frame (this performs a reflow) | class="my-animation super ng-animate super-remove" | + * | 5. the .super-remove-active classes are added and .super is removed (this triggers the CSS transition/animation) | class="my-animation ng-animate super-remove super-remove-active" | + * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation super ng-animate super-remove" | + * | 7. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate super-remove super-remove-active" | + * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation" | + * | 9. The returned promise is resolved. | class="my-animation" | + * + * + * @param {DOMElement} element the element that will be animated + * @param {string} className the CSS class that will be animated and then removed from the element + * @return {Promise} the animation callback promise + */ + removeClass : function(element, className) { + return this.setClass(element, [], className); + }, + + /** + * + * @ngdoc method + * @name $animate#setClass + * + * @description Adds and/or removes the given CSS classes to and from the element. + * Once complete, the done() callback will be fired (if provided). + * + * | Animation Step | What the element class attribute looks like | + * |--------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------| + * | 1. $animate.removeClass(element, ‘on’, ‘off’) is called | class="my-animation super off” | + * | 2. $animate runs the JavaScript-defined animations detected on the element | class="my-animation super ng-animate off” | + * | 3. the .on-add and .off-remove classes are added to the element | class="my-animation ng-animate on-add off-remove off” | + * | 4. $animate waits for a single animation frame (this performs a reflow) | class="my-animation ng-animate on-add off-remove off” | + * | 5. the .on, .on-add-active and .off-remove-active classes are added and .off is removed (this triggers the CSS transition/animation) | class="my-animation ng-animate on on-add on-add-active off-remove off-remove-active” | + * | 6. $animate scans the element styles to get the CSS transition/animation duration and delay | class="my-animation ng-animate on on-add on-add-active off-remove off-remove-active" | + * | 7. $animate waits for the animation to complete (via events and timeout) | class="my-animation ng-animate on on-add on-add-active off-remove off-remove-active" | + * | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation on" | + * | 9. The returned promise is resolved. | class="my-animation on" | + * + * @param {DOMElement} element the element which will have its CSS classes changed + * removed from it + * @param {string} add the CSS classes which will be added to the element + * @param {string} remove the CSS class which will be removed from the element + * CSS classes have been set on the element + * @return {Promise} the animation callback promise + */ + setClass : function(element, add, remove) { + var STORAGE_KEY = '$$animateClasses'; + element = angular.element(element); + element = stripCommentsFromElement(element); + + if (classBasedAnimationsBlocked(element)) { + return $delegate.setClass(element, add, remove); + } + + add = isArray(add) ? add : add.split(' '); + remove = isArray(remove) ? remove : remove.split(' '); + + var cache = element.data(STORAGE_KEY); + if (cache) { + cache.add = cache.add.concat(add); + cache.remove = cache.remove.concat(remove); + + //the digest cycle will combine all the animations into one function + return cache.promise; + } else { + element.data(STORAGE_KEY, cache = { + add : add, + remove : remove + }); + } + + return cache.promise = runAnimationPostDigest(function(done) { + var cache = element.data(STORAGE_KEY); + element.removeData(STORAGE_KEY); + + var state = element.data(NG_ANIMATE_STATE) || {}; + var classes = resolveElementClasses(element, cache, state.active); + return !classes + ? done() + : performAnimation('setClass', classes, element, null, null, function() { + $delegate.setClass(element, classes[0], classes[1]); + }, done); + }); + }, + + /** + * @ngdoc method + * @name $animate#cancel + * @kind function + * + * @param {Promise} animationPromise The animation promise that is returned when an animation is started. + * + * @description + * Cancels the provided animation. + */ + cancel : function(promise) { + promise.$$cancelFn(); + }, + + /** + * @ngdoc method + * @name $animate#enabled + * @kind function + * + * @param {boolean=} value If provided then set the animation on or off. + * @param {DOMElement=} element If provided then the element will be used to represent the enable/disable operation + * @return {boolean} Current animation state. + * + * @description + * Globally enables/disables animations. + * + */ + enabled : function(value, element) { + switch(arguments.length) { + case 2: + if (value) { + cleanup(element); + } else { + var data = element.data(NG_ANIMATE_STATE) || {}; + data.disabled = true; + element.data(NG_ANIMATE_STATE, data); + } + break; + + case 1: + rootAnimateState.disabled = !value; + break; + + default: + value = !rootAnimateState.disabled; + break; + } + return !!value; + } + }; + + /* + all animations call this shared animation triggering function internally. + The animationEvent variable refers to the JavaScript animation event that will be triggered + and the className value is the name of the animation that will be applied within the + CSS code. Element, parentElement and afterElement are provided DOM elements for the animation + and the onComplete callback will be fired once the animation is fully complete. + */ + function performAnimation(animationEvent, className, element, parentElement, afterElement, domOperation, doneCallback) { + + var noopCancel = noop; + var runner = animationRunner(element, animationEvent, className); + if (!runner) { + fireDOMOperation(); + fireBeforeCallbackAsync(); + fireAfterCallbackAsync(); + closeAnimation(); + return noopCancel; + } + + animationEvent = runner.event; + className = runner.className; + var elementEvents = angular.element._data(runner.node); + elementEvents = elementEvents && elementEvents.events; + + if (!parentElement) { + parentElement = afterElement ? afterElement.parent() : element.parent(); + } + + //skip the animation if animations are disabled, a parent is already being animated, + //the element is not currently attached to the document body or then completely close + //the animation if any matching animations are not found at all. + //NOTE: IE8 + IE9 should close properly (run closeAnimation()) in case an animation was found. + if (animationsDisabled(element, parentElement)) { + fireDOMOperation(); + fireBeforeCallbackAsync(); + fireAfterCallbackAsync(); + closeAnimation(); + return noopCancel; + } + + var ngAnimateState = element.data(NG_ANIMATE_STATE) || {}; + var runningAnimations = ngAnimateState.active || {}; + var totalActiveAnimations = ngAnimateState.totalActive || 0; + var lastAnimation = ngAnimateState.last; + var skipAnimation = false; + + if (totalActiveAnimations > 0) { + var animationsToCancel = []; + if (!runner.isClassBased) { + if (animationEvent == 'leave' && runningAnimations['ng-leave']) { + skipAnimation = true; + } else { + //cancel all animations when a structural animation takes place + for(var klass in runningAnimations) { + animationsToCancel.push(runningAnimations[klass]); + } + ngAnimateState = {}; + cleanup(element, true); + } + } else if (lastAnimation.event == 'setClass') { + animationsToCancel.push(lastAnimation); + cleanup(element, className); + } + else if (runningAnimations[className]) { + var current = runningAnimations[className]; + if (current.event == animationEvent) { + skipAnimation = true; + } else { + animationsToCancel.push(current); + cleanup(element, className); + } + } + + if (animationsToCancel.length > 0) { + forEach(animationsToCancel, function(operation) { + operation.cancel(); + }); + } + } + + if (runner.isClassBased && !runner.isSetClassOperation && !skipAnimation) { + skipAnimation = (animationEvent == 'addClass') == element.hasClass(className); //opposite of XOR + } + + if (skipAnimation) { + fireDOMOperation(); + fireBeforeCallbackAsync(); + fireAfterCallbackAsync(); + fireDoneCallbackAsync(); + return noopCancel; + } + + runningAnimations = ngAnimateState.active || {}; + totalActiveAnimations = ngAnimateState.totalActive || 0; + + if (animationEvent == 'leave') { + //there's no need to ever remove the listener since the element + //will be removed (destroyed) after the leave animation ends or + //is cancelled midway + element.one('$destroy', function(e) { + var element = angular.element(this); + var state = element.data(NG_ANIMATE_STATE); + if (state) { + var activeLeaveAnimation = state.active['ng-leave']; + if (activeLeaveAnimation) { + activeLeaveAnimation.cancel(); + cleanup(element, 'ng-leave'); + } + } + }); + } + + //the ng-animate class does nothing, but it's here to allow for + //parent animations to find and cancel child animations when needed + element.addClass(NG_ANIMATE_CLASS_NAME); + + var localAnimationCount = globalAnimationCounter++; + totalActiveAnimations++; + runningAnimations[className] = runner; + + element.data(NG_ANIMATE_STATE, { + last : runner, + active : runningAnimations, + index : localAnimationCount, + totalActive : totalActiveAnimations + }); + + //first we run the before animations and when all of those are complete + //then we perform the DOM operation and run the next set of animations + fireBeforeCallbackAsync(); + runner.before(function(cancelled) { + var data = element.data(NG_ANIMATE_STATE); + cancelled = cancelled || + !data || !data.active[className] || + (runner.isClassBased && data.active[className].event != animationEvent); + + fireDOMOperation(); + if (cancelled === true) { + closeAnimation(); + } else { + fireAfterCallbackAsync(); + runner.after(closeAnimation); + } + }); + + return runner.cancel; + + function fireDOMCallback(animationPhase) { + var eventName = '$animate:' + animationPhase; + if (elementEvents && elementEvents[eventName] && elementEvents[eventName].length > 0) { + $$asyncCallback(function() { + element.triggerHandler(eventName, { + event : animationEvent, + className : className + }); + }); + } + } + + function fireBeforeCallbackAsync() { + fireDOMCallback('before'); + } + + function fireAfterCallbackAsync() { + fireDOMCallback('after'); + } + + function fireDoneCallbackAsync() { + fireDOMCallback('close'); + doneCallback(); + } + + //it is less complicated to use a flag than managing and canceling + //timeouts containing multiple callbacks. + function fireDOMOperation() { + if (!fireDOMOperation.hasBeenRun) { + fireDOMOperation.hasBeenRun = true; + domOperation(); + } + } + + function closeAnimation() { + if (!closeAnimation.hasBeenRun) { + closeAnimation.hasBeenRun = true; + var data = element.data(NG_ANIMATE_STATE); + if (data) { + /* only structural animations wait for reflow before removing an + animation, but class-based animations don't. An example of this + failing would be when a parent HTML tag has a ng-class attribute + causing ALL directives below to skip animations during the digest */ + if (runner && runner.isClassBased) { + cleanup(element, className); + } else { + $$asyncCallback(function() { + var data = element.data(NG_ANIMATE_STATE) || {}; + if (localAnimationCount == data.index) { + cleanup(element, className, animationEvent); + } + }); + element.data(NG_ANIMATE_STATE, data); + } + } + fireDoneCallbackAsync(); + } + } + } + + function cancelChildAnimations(element) { + var node = extractElementNode(element); + if (node) { + var nodes = angular.isFunction(node.getElementsByClassName) ? + node.getElementsByClassName(NG_ANIMATE_CLASS_NAME) : + node.querySelectorAll('.' + NG_ANIMATE_CLASS_NAME); + forEach(nodes, function(element) { + element = angular.element(element); + var data = element.data(NG_ANIMATE_STATE); + if (data && data.active) { + forEach(data.active, function(runner) { + runner.cancel(); + }); + } + }); + } + } + + function cleanup(element, className) { + if (isMatchingElement(element, $rootElement)) { + if (!rootAnimateState.disabled) { + rootAnimateState.running = false; + rootAnimateState.structural = false; + } + } else if (className) { + var data = element.data(NG_ANIMATE_STATE) || {}; + + var removeAnimations = className === true; + if (!removeAnimations && data.active && data.active[className]) { + data.totalActive--; + delete data.active[className]; + } + + if (removeAnimations || !data.totalActive) { + element.removeClass(NG_ANIMATE_CLASS_NAME); + element.removeData(NG_ANIMATE_STATE); + } + } + } + + function animationsDisabled(element, parentElement) { + if (rootAnimateState.disabled) { + return true; + } + + if (isMatchingElement(element, $rootElement)) { + return rootAnimateState.running; + } + + var allowChildAnimations, parentRunningAnimation, hasParent; + do { + //the element did not reach the root element which means that it + //is not apart of the DOM. Therefore there is no reason to do + //any animations on it + if (parentElement.length === 0) break; + + var isRoot = isMatchingElement(parentElement, $rootElement); + var state = isRoot ? rootAnimateState : (parentElement.data(NG_ANIMATE_STATE) || {}); + if (state.disabled) { + return true; + } + + //no matter what, for an animation to work it must reach the root element + //this implies that the element is attached to the DOM when the animation is run + if (isRoot) { + hasParent = true; + } + + //once a flag is found that is strictly false then everything before + //it will be discarded and all child animations will be restricted + if (allowChildAnimations !== false) { + var animateChildrenFlag = parentElement.data(NG_ANIMATE_CHILDREN); + if (angular.isDefined(animateChildrenFlag)) { + allowChildAnimations = animateChildrenFlag; + } + } + + parentRunningAnimation = parentRunningAnimation || + state.running || + (state.last && !state.last.isClassBased); + } + while(parentElement = parentElement.parent()); + + return !hasParent || (!allowChildAnimations && parentRunningAnimation); + } + }]); + + $animateProvider.register('', ['$window', '$sniffer', '$timeout', '$$animateReflow', + function($window, $sniffer, $timeout, $$animateReflow) { + // Detect proper transitionend/animationend event names. + var CSS_PREFIX = '', TRANSITION_PROP, TRANSITIONEND_EVENT, ANIMATION_PROP, ANIMATIONEND_EVENT; + + // If unprefixed events are not supported but webkit-prefixed are, use the latter. + // Otherwise, just use W3C names, browsers not supporting them at all will just ignore them. + // Note: Chrome implements `window.onwebkitanimationend` and doesn't implement `window.onanimationend` + // but at the same time dispatches the `animationend` event and not `webkitAnimationEnd`. + // Register both events in case `window.onanimationend` is not supported because of that, + // do the same for `transitionend` as Safari is likely to exhibit similar behavior. + // Also, the only modern browser that uses vendor prefixes for transitions/keyframes is webkit + // therefore there is no reason to test anymore for other vendor prefixes: http://caniuse.com/#search=transition + if (window.ontransitionend === undefined && window.onwebkittransitionend !== undefined) { + CSS_PREFIX = '-webkit-'; + TRANSITION_PROP = 'WebkitTransition'; + TRANSITIONEND_EVENT = 'webkitTransitionEnd transitionend'; + } else { + TRANSITION_PROP = 'transition'; + TRANSITIONEND_EVENT = 'transitionend'; + } + + if (window.onanimationend === undefined && window.onwebkitanimationend !== undefined) { + CSS_PREFIX = '-webkit-'; + ANIMATION_PROP = 'WebkitAnimation'; + ANIMATIONEND_EVENT = 'webkitAnimationEnd animationend'; + } else { + ANIMATION_PROP = 'animation'; + ANIMATIONEND_EVENT = 'animationend'; + } + + var DURATION_KEY = 'Duration'; + var PROPERTY_KEY = 'Property'; + var DELAY_KEY = 'Delay'; + var ANIMATION_ITERATION_COUNT_KEY = 'IterationCount'; + var ANIMATION_PLAYSTATE_KEY = 'PlayState'; + var NG_ANIMATE_PARENT_KEY = '$$ngAnimateKey'; + var NG_ANIMATE_CSS_DATA_KEY = '$$ngAnimateCSS3Data'; + var ELAPSED_TIME_MAX_DECIMAL_PLACES = 3; + var CLOSING_TIME_BUFFER = 1.5; + var ONE_SECOND = 1000; + + var lookupCache = {}; + var parentCounter = 0; + var animationReflowQueue = []; + var cancelAnimationReflow; + function afterReflow(element, callback) { + if (cancelAnimationReflow) { + cancelAnimationReflow(); + } + animationReflowQueue.push(callback); + cancelAnimationReflow = $$animateReflow(function() { + forEach(animationReflowQueue, function(fn) { + fn(); + }); + + animationReflowQueue = []; + cancelAnimationReflow = null; + lookupCache = {}; + }); + } + + var closingTimer = null; + var closingTimestamp = 0; + var animationElementQueue = []; + function animationCloseHandler(element, totalTime) { + var node = extractElementNode(element); + element = angular.element(node); + + //this item will be garbage collected by the closing + //animation timeout + animationElementQueue.push(element); + + //but it may not need to cancel out the existing timeout + //if the timestamp is less than the previous one + var futureTimestamp = Date.now() + totalTime; + if (futureTimestamp <= closingTimestamp) { + return; + } + + $timeout.cancel(closingTimer); + + closingTimestamp = futureTimestamp; + closingTimer = $timeout(function() { + closeAllAnimations(animationElementQueue); + animationElementQueue = []; + }, totalTime, false); + } + + function closeAllAnimations(elements) { + forEach(elements, function(element) { + var elementData = element.data(NG_ANIMATE_CSS_DATA_KEY); + if (elementData) { + forEach(elementData.closeAnimationFns, function(fn) { + fn(); + }); + } + }); + } + + function getElementAnimationDetails(element, cacheKey) { + var data = cacheKey ? lookupCache[cacheKey] : null; + if (!data) { + var transitionDuration = 0; + var transitionDelay = 0; + var animationDuration = 0; + var animationDelay = 0; + + //we want all the styles defined before and after + forEach(element, function(element) { + if (element.nodeType == ELEMENT_NODE) { + var elementStyles = $window.getComputedStyle(element) || {}; + + var transitionDurationStyle = elementStyles[TRANSITION_PROP + DURATION_KEY]; + transitionDuration = Math.max(parseMaxTime(transitionDurationStyle), transitionDuration); + + var transitionDelayStyle = elementStyles[TRANSITION_PROP + DELAY_KEY]; + transitionDelay = Math.max(parseMaxTime(transitionDelayStyle), transitionDelay); + + var animationDelayStyle = elementStyles[ANIMATION_PROP + DELAY_KEY]; + animationDelay = Math.max(parseMaxTime(elementStyles[ANIMATION_PROP + DELAY_KEY]), animationDelay); + + var aDuration = parseMaxTime(elementStyles[ANIMATION_PROP + DURATION_KEY]); + + if (aDuration > 0) { + aDuration *= parseInt(elementStyles[ANIMATION_PROP + ANIMATION_ITERATION_COUNT_KEY], 10) || 1; + } + animationDuration = Math.max(aDuration, animationDuration); + } + }); + data = { + total : 0, + transitionDelay: transitionDelay, + transitionDuration: transitionDuration, + animationDelay: animationDelay, + animationDuration: animationDuration + }; + if (cacheKey) { + lookupCache[cacheKey] = data; + } + } + return data; + } + + function parseMaxTime(str) { + var maxValue = 0; + var values = angular.isString(str) ? + str.split(/\s*,\s*/) : + []; + forEach(values, function(value) { + maxValue = Math.max(parseFloat(value) || 0, maxValue); + }); + return maxValue; + } + + function getCacheKey(element) { + var parentElement = element.parent(); + var parentID = parentElement.data(NG_ANIMATE_PARENT_KEY); + if (!parentID) { + parentElement.data(NG_ANIMATE_PARENT_KEY, ++parentCounter); + parentID = parentCounter; + } + return parentID + '-' + extractElementNode(element).getAttribute('class'); + } + + function animateSetup(animationEvent, element, className) { + var structural = ['ng-enter','ng-leave','ng-move'].indexOf(className) >= 0; + + var cacheKey = getCacheKey(element); + var eventCacheKey = cacheKey + ' ' + className; + var itemIndex = lookupCache[eventCacheKey] ? ++lookupCache[eventCacheKey].total : 0; + + var stagger = {}; + if (itemIndex > 0) { + var staggerClassName = className + '-stagger'; + var staggerCacheKey = cacheKey + ' ' + staggerClassName; + var applyClasses = !lookupCache[staggerCacheKey]; + + applyClasses && element.addClass(staggerClassName); + + stagger = getElementAnimationDetails(element, staggerCacheKey); + + applyClasses && element.removeClass(staggerClassName); + } + + element.addClass(className); + + var formerData = element.data(NG_ANIMATE_CSS_DATA_KEY) || {}; + var timings = getElementAnimationDetails(element, eventCacheKey); + var transitionDuration = timings.transitionDuration; + var animationDuration = timings.animationDuration; + + if (structural && transitionDuration === 0 && animationDuration === 0) { + element.removeClass(className); + return false; + } + + var blockTransition = structural && transitionDuration > 0; + var blockAnimation = animationDuration > 0 && + stagger.animationDelay > 0 && + stagger.animationDuration === 0; + + var closeAnimationFns = formerData.closeAnimationFns || []; + element.data(NG_ANIMATE_CSS_DATA_KEY, { + stagger : stagger, + cacheKey : eventCacheKey, + running : formerData.running || 0, + itemIndex : itemIndex, + blockTransition : blockTransition, + closeAnimationFns : closeAnimationFns + }); + + var node = extractElementNode(element); + + if (blockTransition) { + blockTransitions(node, true); + } + + if (blockAnimation) { + blockAnimations(node, true); + } + + return true; + } + + function animateRun(animationEvent, element, className, activeAnimationComplete) { + var node = extractElementNode(element); + var elementData = element.data(NG_ANIMATE_CSS_DATA_KEY); + if (node.getAttribute('class').indexOf(className) == -1 || !elementData) { + activeAnimationComplete(); + return; + } + + if (elementData.blockTransition) { + blockTransitions(node, false); + } + + var activeClassName = ''; + var pendingClassName = ''; + forEach(className.split(' '), function(klass, i) { + var prefix = (i > 0 ? ' ' : '') + klass; + activeClassName += prefix + '-active'; + pendingClassName += prefix + '-pending'; + }); + + var style = ''; + var appliedStyles = []; + var itemIndex = elementData.itemIndex; + var stagger = elementData.stagger; + var staggerTime = 0; + if (itemIndex > 0) { + var transitionStaggerDelay = 0; + if (stagger.transitionDelay > 0 && stagger.transitionDuration === 0) { + transitionStaggerDelay = stagger.transitionDelay * itemIndex; + } + + var animationStaggerDelay = 0; + if (stagger.animationDelay > 0 && stagger.animationDuration === 0) { + animationStaggerDelay = stagger.animationDelay * itemIndex; + appliedStyles.push(CSS_PREFIX + 'animation-play-state'); + } + + staggerTime = Math.round(Math.max(transitionStaggerDelay, animationStaggerDelay) * 100) / 100; + } + + if (!staggerTime) { + element.addClass(activeClassName); + } + + var eventCacheKey = elementData.cacheKey + ' ' + activeClassName; + var timings = getElementAnimationDetails(element, eventCacheKey); + var maxDuration = Math.max(timings.transitionDuration, timings.animationDuration); + if (maxDuration === 0) { + element.removeClass(activeClassName); + animateClose(element, className); + activeAnimationComplete(); + return; + } + + var maxDelay = Math.max(timings.transitionDelay, timings.animationDelay); + var maxDelayTime = maxDelay * ONE_SECOND; + + if (appliedStyles.length > 0) { + //the element being animated may sometimes contain comment nodes in + //the jqLite object, so we're safe to use a single variable to house + //the styles since there is always only one element being animated + var oldStyle = node.getAttribute('style') || ''; + if (oldStyle.charAt(oldStyle.length-1) !== ';') { + oldStyle += ';'; + } + node.setAttribute('style', oldStyle + ' ' + style); + } + + var startTime = Date.now(); + var css3AnimationEvents = ANIMATIONEND_EVENT + ' ' + TRANSITIONEND_EVENT; + var animationTime = (maxDelay + maxDuration) * CLOSING_TIME_BUFFER; + var totalTime = (staggerTime + animationTime) * ONE_SECOND; + + var staggerTimeout; + if (staggerTime > 0) { + element.addClass(pendingClassName); + staggerTimeout = $timeout(function() { + staggerTimeout = null; + element.addClass(activeClassName); + element.removeClass(pendingClassName); + if (timings.animationDuration > 0) { + blockAnimations(node, false); + } + }, staggerTime * ONE_SECOND, false); + } + + element.on(css3AnimationEvents, onAnimationProgress); + elementData.closeAnimationFns.push(function() { + onEnd(); + activeAnimationComplete(); + }); + + elementData.running++; + animationCloseHandler(element, totalTime); + return onEnd; + + // This will automatically be called by $animate so + // there is no need to attach this internally to the + // timeout done method. + function onEnd(cancelled) { + element.off(css3AnimationEvents, onAnimationProgress); + element.removeClass(activeClassName); + element.removeClass(pendingClassName); + if (staggerTimeout) { + $timeout.cancel(staggerTimeout); + } + animateClose(element, className); + var node = extractElementNode(element); + for (var i in appliedStyles) { + node.style.removeProperty(appliedStyles[i]); + } + } + + function onAnimationProgress(event) { + event.stopPropagation(); + var ev = event.originalEvent || event; + var timeStamp = ev.$manualTimeStamp || ev.timeStamp || Date.now(); + + /* Firefox (or possibly just Gecko) likes to not round values up + * when a ms measurement is used for the animation */ + var elapsedTime = parseFloat(ev.elapsedTime.toFixed(ELAPSED_TIME_MAX_DECIMAL_PLACES)); + + /* $manualTimeStamp is a mocked timeStamp value which is set + * within browserTrigger(). This is only here so that tests can + * mock animations properly. Real events fallback to event.timeStamp, + * or, if they don't, then a timeStamp is automatically created for them. + * We're checking to see if the timeStamp surpasses the expected delay, + * but we're using elapsedTime instead of the timeStamp on the 2nd + * pre-condition since animations sometimes close off early */ + if (Math.max(timeStamp - startTime, 0) >= maxDelayTime && elapsedTime >= maxDuration) { + activeAnimationComplete(); + } + } + } + + function blockTransitions(node, bool) { + node.style[TRANSITION_PROP + PROPERTY_KEY] = bool ? 'none' : ''; + } + + function blockAnimations(node, bool) { + node.style[ANIMATION_PROP + ANIMATION_PLAYSTATE_KEY] = bool ? 'paused' : ''; + } + + function animateBefore(animationEvent, element, className, calculationDecorator) { + if (animateSetup(animationEvent, element, className, calculationDecorator)) { + return function(cancelled) { + cancelled && animateClose(element, className); + }; + } + } + + function animateAfter(animationEvent, element, className, afterAnimationComplete) { + if (element.data(NG_ANIMATE_CSS_DATA_KEY)) { + return animateRun(animationEvent, element, className, afterAnimationComplete); + } else { + animateClose(element, className); + afterAnimationComplete(); + } + } + + function animate(animationEvent, element, className, animationComplete) { + //If the animateSetup function doesn't bother returning a + //cancellation function then it means that there is no animation + //to perform at all + var preReflowCancellation = animateBefore(animationEvent, element, className); + if (!preReflowCancellation) { + animationComplete(); + return; + } + + //There are two cancellation functions: one is before the first + //reflow animation and the second is during the active state + //animation. The first function will take care of removing the + //data from the element which will not make the 2nd animation + //happen in the first place + var cancel = preReflowCancellation; + afterReflow(element, function() { + //once the reflow is complete then we point cancel to + //the new cancellation function which will remove all of the + //animation properties from the active animation + cancel = animateAfter(animationEvent, element, className, animationComplete); + }); + + return function(cancelled) { + (cancel || noop)(cancelled); + }; + } + + function animateClose(element, className) { + element.removeClass(className); + var data = element.data(NG_ANIMATE_CSS_DATA_KEY); + if (data) { + if (data.running) { + data.running--; + } + if (!data.running || data.running === 0) { + element.removeData(NG_ANIMATE_CSS_DATA_KEY); + } + } + } + + return { + enter : function(element, animationCompleted) { + return animate('enter', element, 'ng-enter', animationCompleted); + }, + + leave : function(element, animationCompleted) { + return animate('leave', element, 'ng-leave', animationCompleted); + }, + + move : function(element, animationCompleted) { + return animate('move', element, 'ng-move', animationCompleted); + }, + + beforeSetClass : function(element, add, remove, animationCompleted) { + var className = suffixClasses(remove, '-remove') + ' ' + + suffixClasses(add, '-add'); + var cancellationMethod = animateBefore('setClass', element, className); + if (cancellationMethod) { + afterReflow(element, animationCompleted); + return cancellationMethod; + } + animationCompleted(); + }, + + beforeAddClass : function(element, className, animationCompleted) { + var cancellationMethod = animateBefore('addClass', element, suffixClasses(className, '-add')); + if (cancellationMethod) { + afterReflow(element, animationCompleted); + return cancellationMethod; + } + animationCompleted(); + }, + + beforeRemoveClass : function(element, className, animationCompleted) { + var cancellationMethod = animateBefore('removeClass', element, suffixClasses(className, '-remove')); + if (cancellationMethod) { + afterReflow(element, animationCompleted); + return cancellationMethod; + } + animationCompleted(); + }, + + setClass : function(element, add, remove, animationCompleted) { + remove = suffixClasses(remove, '-remove'); + add = suffixClasses(add, '-add'); + var className = remove + ' ' + add; + return animateAfter('setClass', element, className, animationCompleted); + }, + + addClass : function(element, className, animationCompleted) { + return animateAfter('addClass', element, suffixClasses(className, '-add'), animationCompleted); + }, + + removeClass : function(element, className, animationCompleted) { + return animateAfter('removeClass', element, suffixClasses(className, '-remove'), animationCompleted); + } + }; + + function suffixClasses(classes, suffix) { + var className = ''; + classes = isArray(classes) ? classes : classes.split(/\s+/); + forEach(classes, function(klass, i) { + if (klass && klass.length > 0) { + className += (i > 0 ? ' ' : '') + klass + suffix; + } + }); + return className; + } + }]); + }]); + + +})(window, window.angular); diff --git a/public/app/bower_components/angular-animate/angular-animate.min.js b/public/app/bower_components/angular-animate/angular-animate.min.js new file mode 100644 index 00000000..3bcaf6b1 --- /dev/null +++ b/public/app/bower_components/angular-animate/angular-animate.min.js @@ -0,0 +1,30 @@ +/* + AngularJS v1.3.0-rc.3 + (c) 2010-2014 Google, Inc. http://angularjs.org + License: MIT +*/ +(function(D,f,E){'use strict';f.module("ngAnimate",["ng"]).directive("ngAnimateChildren",function(){return function(P,w,g){g=g.ngAnimateChildren;f.isString(g)&&0===g.length?w.data("$$ngAnimateChildren",!0):P.$watch(g,function(f){w.data("$$ngAnimateChildren",!!f)})}}).factory("$$animateReflow",["$$rAF","$document",function(f,w){return function(g){return f(function(){g()})}}]).config(["$provide","$animateProvider",function(P,w){function g(f){for(var g=0;gb?(d||"addClass"==e.event)&&l.push(c):0=B&&a>=w&&d()}var k=g(b);a=b.data("$$ngAnimateCSS3Data");if(-1!=k.getAttribute("class").indexOf(c)&&a){a.blockTransition&&(k.style[H+"Property"]="");var m="", +n="";h(c.split(" "),function(b,a){var c=(0=1" }, "homepage": "https://github.com/angular-ui/bootstrap-bower", - "_release": "0.11.0", + "_release": "0.11.2", "_resolution": { "type": "version", - "tag": "0.11.0", - "commit": "75b302f82c1a3b0647695a3dfeacab0a153ea8a0" + "tag": "0.11.2", + "commit": "49aa07315b44783d22270a39bfa13e9f5abcab3b" }, "_source": "git://github.com/angular-ui/bootstrap-bower.git", "_target": "*", diff --git a/public/app/bower_components/angular-bootstrap/bower.json b/public/app/bower_components/angular-bootstrap/bower.json index 67934325..eb32ff31 100644 --- a/public/app/bower_components/angular-bootstrap/bower.json +++ b/public/app/bower_components/angular-bootstrap/bower.json @@ -3,7 +3,7 @@ "name": "https://github.com/angular-ui/bootstrap/graphs/contributors" }, "name": "angular-bootstrap", - "version": "0.11.0", + "version": "0.11.2", "main": ["./ui-bootstrap-tpls.js"], "dependencies": { "angular": ">=1" diff --git a/public/app/bower_components/angular-bootstrap/ui-bootstrap-tpls.js b/public/app/bower_components/angular-bootstrap/ui-bootstrap-tpls.js index bcca1cd9..260c2769 100644 --- a/public/app/bower_components/angular-bootstrap/ui-bootstrap-tpls.js +++ b/public/app/bower_components/angular-bootstrap/ui-bootstrap-tpls.js @@ -2,7 +2,7 @@ * angular-ui-bootstrap * http://angular-ui.github.io/bootstrap/ - * Version: 0.11.0 - 2014-05-01 + * Version: 0.11.2 - 2014-09-26 * License: MIT */ angular.module("ui.bootstrap", ["ui.bootstrap.tpls", "ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]); @@ -747,7 +747,7 @@ angular.module('ui.bootstrap.dateparser', []) } }; - this.createParser = function(format) { + function createParser(format) { var map = [], regex = format.split(''); angular.forEach(formatCodeToRegex, function(data, code) { @@ -772,17 +772,17 @@ angular.module('ui.bootstrap.dateparser', []) regex: new RegExp('^' + regex.join('') + '$'), map: orderByFilter(map, 'index') }; - }; + } this.parse = function(input, format) { - if ( !angular.isString(input) ) { + if ( !angular.isString(input) || !format ) { return input; } format = $locale.DATETIME_FORMATS[format] || format; if ( !this.parsers[format] ) { - this.parsers[format] = this.createParser(format); + this.parsers[format] = createParser(format); } var parser = this.parsers[format], @@ -1008,7 +1008,7 @@ angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootst self[key] = angular.isDefined($attrs[key]) ? (index < 8 ? $interpolate($attrs[key])($scope.$parent) : $scope.$parent.$eval($attrs[key])) : datepickerConfig[key]; }); - // Watchable attributes + // Watchable date attributes angular.forEach(['minDate', 'maxDate'], function( key ) { if ( $attrs[key] ) { $scope.$parent.$watch($parse($attrs[key]), function(value) { @@ -1455,12 +1455,24 @@ function ($compile, $parse, $document, $position, dateFilter, dateParser, datepi }); } - angular.forEach(['minDate', 'maxDate'], function( key ) { + scope.watchData = {}; + angular.forEach(['minDate', 'maxDate', 'datepickerMode'], function( key ) { if ( attrs[key] ) { - scope.$parent.$watch($parse(attrs[key]), function(value){ - scope[key] = value; + var getAttribute = $parse(attrs[key]); + scope.$parent.$watch(getAttribute, function(value){ + scope.watchData[key] = value; }); - datepickerEl.attr(cameltoDash(key), key); + datepickerEl.attr(cameltoDash(key), 'watchData.' + key); + + // Propagate changes from datepicker to outside + if ( key === 'datepickerMode' ) { + var setAttribute = getAttribute.assign; + scope.$watch('watchData.' + key, function(value, oldvalue) { + if ( value !== oldvalue ) { + setAttribute(scope.$parent, value); + } + }); + } } }); if (attrs.dateDisabled) { @@ -1571,6 +1583,9 @@ function ($compile, $parse, $document, $position, dateFilter, dateParser, datepi }; var $popup = $compile(popupEl)(scope); + // Prevent jQuery cache memory leak (template is now redundant after linking) + popupEl.remove(); + if ( appendToBody ) { $document.find('body').append($popup); } else { @@ -1632,7 +1647,8 @@ angular.module('ui.bootstrap.dropdown', []) }; var closeDropdown = function( evt ) { - if (evt && evt.isDefaultPrevented()) { + var toggleElement = openScope.getToggleElement(); + if ( evt && toggleElement && toggleElement[0].contains(evt.target) ) { return; } @@ -1679,6 +1695,10 @@ angular.module('ui.bootstrap.dropdown', []) return scope.isOpen; }; + scope.getToggleElement = function() { + return self.toggleElement; + }; + scope.focusToggleElement = function() { if ( self.toggleElement ) { self.toggleElement[0].focus(); @@ -1820,7 +1840,8 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) restrict: 'EA', replace: true, templateUrl: 'template/modal/backdrop.html', - link: function (scope) { + link: function (scope, element, attrs) { + scope.backdropClass = attrs.backdropClass || ''; scope.animate = false; @@ -1851,8 +1872,18 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) $timeout(function () { // trigger CSS transitions scope.animate = true; - // focus a freshly-opened modal - element[0].focus(); + + /** + * Auto-focusing of a freshly-opened modal element causes any child elements + * with the autofocus attribute to loose focus. This is an issue on touch + * based devices which will show and then hide the onscreen keyboard. + * Attempts to refocus the autofocus element via JavaScript will not reopen + * the onscreen keyboard. Fixed by updated the focusing logic to only autofocus + * the modal element if the modal does not contain an autofocus element. + */ + if (!element[0].querySelectorAll('[autofocus]').length) { + element[0].focus(); + } }); scope.close = function (evt) { @@ -1867,6 +1898,17 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) }; }]) + .directive('modalTransclude', function () { + return { + link: function($scope, $element, $attrs, controller, $transclude) { + $transclude($scope.$parent, function(clone) { + $element.empty(); + $element.append(clone); + }); + } + }; + }) + .factory('$modalStack', ['$transition', '$timeout', '$document', '$compile', '$rootScope', '$$stackedMap', function ($transition, $timeout, $document, $compile, $rootScope, $$stackedMap) { @@ -1938,7 +1980,7 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) }); } else { // Ensure this call is async - $timeout(afterAnimating, 0); + $timeout(afterAnimating); } function afterAnimating() { @@ -1983,7 +2025,9 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) if (currBackdropIndex >= 0 && !backdropDomEl) { backdropScope = $rootScope.$new(true); backdropScope.index = currBackdropIndex; - backdropDomEl = $compile('
')(backdropScope); + var angularBackgroundDomEl = angular.element('
'); + angularBackgroundDomEl.attr('backdrop-class', modal.backdropClass); + backdropDomEl = $compile(angularBackgroundDomEl)(backdropScope); body.append(backdropDomEl); } @@ -2003,17 +2047,17 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) }; $modalStack.close = function (modalInstance, result) { - var modalWindow = openedWindows.get(modalInstance).value; + var modalWindow = openedWindows.get(modalInstance); if (modalWindow) { - modalWindow.deferred.resolve(result); + modalWindow.value.deferred.resolve(result); removeModalWindow(modalInstance); } }; $modalStack.dismiss = function (modalInstance, reason) { - var modalWindow = openedWindows.get(modalInstance).value; + var modalWindow = openedWindows.get(modalInstance); if (modalWindow) { - modalWindow.deferred.reject(reason); + modalWindow.value.deferred.reject(reason); removeModalWindow(modalInstance); } }; @@ -2047,14 +2091,15 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) function getTemplatePromise(options) { return options.template ? $q.when(options.template) : - $http.get(options.templateUrl, {cache: $templateCache}).then(function (result) { - return result.data; + $http.get(angular.isFunction(options.templateUrl) ? (options.templateUrl)() : options.templateUrl, + {cache: $templateCache}).then(function (result) { + return result.data; }); } function getResolvePromises(resolves) { var promisesArr = []; - angular.forEach(resolves, function (value, key) { + angular.forEach(resolves, function (value) { if (angular.isFunction(value) || angular.isArray(value)) { promisesArr.push($q.when($injector.invoke(value))); } @@ -2110,6 +2155,9 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) }); ctrlInstance = $controller(modalOptions.controller, ctrlLocals); + if (modalOptions.controllerAs) { + modalScope[modalOptions.controllerAs] = ctrlInstance; + } } $modalStack.open(modalInstance, { @@ -2118,6 +2166,7 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) content: tplAndVars[0], backdrop: modalOptions.backdrop, keyboard: modalOptions.keyboard, + backdropClass: modalOptions.backdropClass, windowClass: modalOptions.windowClass, windowTemplateUrl: modalOptions.windowTemplateUrl, size: modalOptions.size @@ -3428,7 +3477,7 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.position', 'ui.bootstrap .factory('typeaheadParser', ['$parse', function ($parse) { // 00000111000000000000022200000000000000003333333333333330000000000044000 - var TYPEAHEAD_REGEXP = /^\s*(.*?)(?:\s+as\s+(.*?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+(.*)$/; + var TYPEAHEAD_REGEXP = /^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/; return { parse:function (input) { @@ -3594,6 +3643,18 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.position', 'ui.bootstrap //Declare the timeout promise var outside the function scope so that stacked calls can be cancelled later var timeoutPromise; + var scheduleSearchWithTimeout = function(inputValue) { + timeoutPromise = $timeout(function () { + getMatchesAsync(inputValue); + }, waitTime); + }; + + var cancelPreviousTimeout = function() { + if (timeoutPromise) { + $timeout.cancel(timeoutPromise); + } + }; + //plug into $parsers pipeline to open a typeahead on view changes initiated from DOM //$parsers kick-in on all the changes coming from the view as well as manually triggered by $setViewValue modelCtrl.$parsers.unshift(function (inputValue) { @@ -3602,17 +3663,14 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.position', 'ui.bootstrap if (inputValue && inputValue.length >= minSearch) { if (waitTime > 0) { - if (timeoutPromise) { - $timeout.cancel(timeoutPromise);//cancel previous timeout - } - timeoutPromise = $timeout(function () { - getMatchesAsync(inputValue); - }, waitTime); + cancelPreviousTimeout(); + scheduleSearchWithTimeout(inputValue); } else { getMatchesAsync(inputValue); } } else { isLoadingSetter(originalScope, false); + cancelPreviousTimeout(); resetMatches(); } @@ -3820,7 +3878,7 @@ angular.module("template/accordion/accordion.html", []).run(["$templateCache", f angular.module("template/alert/alert.html", []).run(["$templateCache", function($templateCache) { $templateCache.put("template/alert/alert.html", - "
\n" + + "
\n" + " \n
\n
\n')}]),angular.module("template/carousel/carousel.html",[]).run(["$templateCache",function(a){a.put("template/carousel/carousel.html",'\n')}]),angular.module("template/carousel/slide.html",[]).run(["$templateCache",function(a){a.put("template/carousel/slide.html","
\n")}]),angular.module("template/datepicker/datepicker.html",[]).run(["$templateCache",function(a){a.put("template/datepicker/datepicker.html",'
\n \n \n \n
')}]),angular.module("template/datepicker/day.html",[]).run(["$templateCache",function(a){a.put("template/datepicker/day.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{label.abbr}}
{{ weekNumbers[$index] }}\n \n
\n')}]),angular.module("template/datepicker/month.html",[]).run(["$templateCache",function(a){a.put("template/datepicker/month.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n
\n')}]),angular.module("template/datepicker/popup.html",[]).run(["$templateCache",function(a){a.put("template/datepicker/popup.html",'\n')}]),angular.module("template/datepicker/year.html",[]).run(["$templateCache",function(a){a.put("template/datepicker/year.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n
\n')}]),angular.module("template/modal/backdrop.html",[]).run(["$templateCache",function(a){a.put("template/modal/backdrop.html",'\n')}]),angular.module("template/modal/window.html",[]).run(["$templateCache",function(a){a.put("template/modal/window.html",'')}]),angular.module("template/pagination/pager.html",[]).run(["$templateCache",function(a){a.put("template/pagination/pager.html",'')}]),angular.module("template/pagination/pagination.html",[]).run(["$templateCache",function(a){a.put("template/pagination/pagination.html",'')}]),angular.module("template/tooltip/tooltip-html-unsafe-popup.html",[]).run(["$templateCache",function(a){a.put("template/tooltip/tooltip-html-unsafe-popup.html",'
\n
\n
\n
\n')}]),angular.module("template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(a){a.put("template/tooltip/tooltip-popup.html",'
\n
\n
\n
\n')}]),angular.module("template/popover/popover.html",[]).run(["$templateCache",function(a){a.put("template/popover/popover.html",'
\n
\n\n
\n

\n
\n
\n
\n')}]),angular.module("template/progressbar/bar.html",[]).run(["$templateCache",function(a){a.put("template/progressbar/bar.html",'
')}]),angular.module("template/progressbar/progress.html",[]).run(["$templateCache",function(a){a.put("template/progressbar/progress.html",'
')}]),angular.module("template/progressbar/progressbar.html",[]).run(["$templateCache",function(a){a.put("template/progressbar/progressbar.html",'
\n
\n
')}]),angular.module("template/rating/rating.html",[]).run(["$templateCache",function(a){a.put("template/rating/rating.html",'\n \n ({{ $index < value ? \'*\' : \' \' }})\n \n')}]),angular.module("template/tabs/tab.html",[]).run(["$templateCache",function(a){a.put("template/tabs/tab.html",'
  • \n {{heading}}\n
  • \n')}]),angular.module("template/tabs/tabset-titles.html",[]).run(["$templateCache",function(a){a.put("template/tabs/tabset-titles.html","
      \n
    \n")}]),angular.module("template/tabs/tabset.html",[]).run(["$templateCache",function(a){a.put("template/tabs/tabset.html",'\n
    \n \n
    \n
    \n
    \n
    \n
    \n')}]),angular.module("template/timepicker/timepicker.html",[]).run(["$templateCache",function(a){a.put("template/timepicker/timepicker.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
     
    \n \n :\n \n
     
    \n')}]),angular.module("template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(a){a.put("template/typeahead/typeahead-match.html",'')}]),angular.module("template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(a){a.put("template/typeahead/typeahead-popup.html",'') -}]); \ No newline at end of file +angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["template/accordion/accordion-group.html","template/accordion/accordion.html","template/alert/alert.html","template/carousel/carousel.html","template/carousel/slide.html","template/datepicker/datepicker.html","template/datepicker/day.html","template/datepicker/month.html","template/datepicker/popup.html","template/datepicker/year.html","template/modal/backdrop.html","template/modal/window.html","template/pagination/pager.html","template/pagination/pagination.html","template/tooltip/tooltip-html-unsafe-popup.html","template/tooltip/tooltip-popup.html","template/popover/popover.html","template/progressbar/bar.html","template/progressbar/progress.html","template/progressbar/progressbar.html","template/rating/rating.html","template/tabs/tab.html","template/tabs/tabset.html","template/timepicker/timepicker.html","template/typeahead/typeahead-match.html","template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.transition",[]).factory("$transition",["$q","$timeout","$rootScope",function(a,b,c){function d(a){for(var b in a)if(void 0!==f.style[b])return a[b]}var e=function(d,f,g){g=g||{};var h=a.defer(),i=e[g.animation?"animationEndEventName":"transitionEndEventName"],j=function(){c.$apply(function(){d.unbind(i,j),h.resolve(d)})};return i&&d.bind(i,j),b(function(){angular.isString(f)?d.addClass(f):angular.isFunction(f)?f(d):angular.isObject(f)&&d.css(f),i||h.resolve(d)}),h.promise.cancel=function(){i&&d.unbind(i,j),h.reject("Transition cancelled")},h.promise},f=document.createElement("trans"),g={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},h={WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"};return e.transitionEndEventName=d(g),e.animationEndEventName=d(h),e}]),angular.module("ui.bootstrap.collapse",["ui.bootstrap.transition"]).directive("collapse",["$transition",function(a){return{link:function(b,c,d){function e(b){function d(){j===e&&(j=void 0)}var e=a(c,b);return j&&j.cancel(),j=e,e.then(d,d),e}function f(){k?(k=!1,g()):(c.removeClass("collapse").addClass("collapsing"),e({height:c[0].scrollHeight+"px"}).then(g))}function g(){c.removeClass("collapsing"),c.addClass("collapse in"),c.css({height:"auto"})}function h(){if(k)k=!1,i(),c.css({height:0});else{c.css({height:c[0].scrollHeight+"px"});{c[0].offsetWidth}c.removeClass("collapse in").addClass("collapsing"),e({height:0}).then(i)}}function i(){c.removeClass("collapsing"),c.addClass("collapse")}var j,k=!0;b.$watch(d.collapse,function(a){a?h():f()})}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("accordionConfig",{closeOthers:!0}).controller("AccordionController",["$scope","$attrs","accordionConfig",function(a,b,c){this.groups=[],this.closeOthers=function(d){var e=angular.isDefined(b.closeOthers)?a.$eval(b.closeOthers):c.closeOthers;e&&angular.forEach(this.groups,function(a){a!==d&&(a.isOpen=!1)})},this.addGroup=function(a){var b=this;this.groups.push(a),a.$on("$destroy",function(){b.removeGroup(a)})},this.removeGroup=function(a){var b=this.groups.indexOf(a);-1!==b&&this.groups.splice(b,1)}}]).directive("accordion",function(){return{restrict:"EA",controller:"AccordionController",transclude:!0,replace:!1,templateUrl:"template/accordion/accordion.html"}}).directive("accordionGroup",function(){return{require:"^accordion",restrict:"EA",transclude:!0,replace:!0,templateUrl:"template/accordion/accordion-group.html",scope:{heading:"@",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(a){this.heading=a}},link:function(a,b,c,d){d.addGroup(a),a.$watch("isOpen",function(b){b&&d.closeOthers(a)}),a.toggleOpen=function(){a.isDisabled||(a.isOpen=!a.isOpen)}}}}).directive("accordionHeading",function(){return{restrict:"EA",transclude:!0,template:"",replace:!0,require:"^accordionGroup",link:function(a,b,c,d,e){d.setHeading(e(a,function(){}))}}}).directive("accordionTransclude",function(){return{require:"^accordionGroup",link:function(a,b,c,d){a.$watch(function(){return d[c.accordionTransclude]},function(a){a&&(b.html(""),b.append(a))})}}}),angular.module("ui.bootstrap.alert",[]).controller("AlertController",["$scope","$attrs",function(a,b){a.closeable="close"in b}]).directive("alert",function(){return{restrict:"EA",controller:"AlertController",templateUrl:"template/alert/alert.html",transclude:!0,replace:!0,scope:{type:"@",close:"&"}}}),angular.module("ui.bootstrap.bindHtml",[]).directive("bindHtmlUnsafe",function(){return function(a,b,c){b.addClass("ng-binding").data("$binding",c.bindHtmlUnsafe),a.$watch(c.bindHtmlUnsafe,function(a){b.html(a||"")})}}),angular.module("ui.bootstrap.buttons",[]).constant("buttonConfig",{activeClass:"active",toggleEvent:"click"}).controller("ButtonsController",["buttonConfig",function(a){this.activeClass=a.activeClass||"active",this.toggleEvent=a.toggleEvent||"click"}]).directive("btnRadio",function(){return{require:["btnRadio","ngModel"],controller:"ButtonsController",link:function(a,b,c,d){var e=d[0],f=d[1];f.$render=function(){b.toggleClass(e.activeClass,angular.equals(f.$modelValue,a.$eval(c.btnRadio)))},b.bind(e.toggleEvent,function(){var d=b.hasClass(e.activeClass);(!d||angular.isDefined(c.uncheckable))&&a.$apply(function(){f.$setViewValue(d?null:a.$eval(c.btnRadio)),f.$render()})})}}}).directive("btnCheckbox",function(){return{require:["btnCheckbox","ngModel"],controller:"ButtonsController",link:function(a,b,c,d){function e(){return g(c.btnCheckboxTrue,!0)}function f(){return g(c.btnCheckboxFalse,!1)}function g(b,c){var d=a.$eval(b);return angular.isDefined(d)?d:c}var h=d[0],i=d[1];i.$render=function(){b.toggleClass(h.activeClass,angular.equals(i.$modelValue,e()))},b.bind(h.toggleEvent,function(){a.$apply(function(){i.$setViewValue(b.hasClass(h.activeClass)?f():e()),i.$render()})})}}}),angular.module("ui.bootstrap.carousel",["ui.bootstrap.transition"]).controller("CarouselController",["$scope","$timeout","$transition",function(a,b,c){function d(){e();var c=+a.interval;!isNaN(c)&&c>=0&&(g=b(f,c))}function e(){g&&(b.cancel(g),g=null)}function f(){h?(a.next(),d()):a.pause()}var g,h,i=this,j=i.slides=a.slides=[],k=-1;i.currentSlide=null;var l=!1;i.select=a.select=function(e,f){function g(){if(!l){if(i.currentSlide&&angular.isString(f)&&!a.noTransition&&e.$element){e.$element.addClass(f);{e.$element[0].offsetWidth}angular.forEach(j,function(a){angular.extend(a,{direction:"",entering:!1,leaving:!1,active:!1})}),angular.extend(e,{direction:f,active:!0,entering:!0}),angular.extend(i.currentSlide||{},{direction:f,leaving:!0}),a.$currentTransition=c(e.$element,{}),function(b,c){a.$currentTransition.then(function(){h(b,c)},function(){h(b,c)})}(e,i.currentSlide)}else h(e,i.currentSlide);i.currentSlide=e,k=m,d()}}function h(b,c){angular.extend(b,{direction:"",active:!0,leaving:!1,entering:!1}),angular.extend(c||{},{direction:"",active:!1,leaving:!1,entering:!1}),a.$currentTransition=null}var m=j.indexOf(e);void 0===f&&(f=m>k?"next":"prev"),e&&e!==i.currentSlide&&(a.$currentTransition?(a.$currentTransition.cancel(),b(g)):g())},a.$on("$destroy",function(){l=!0}),i.indexOfSlide=function(a){return j.indexOf(a)},a.next=function(){var b=(k+1)%j.length;return a.$currentTransition?void 0:i.select(j[b],"next")},a.prev=function(){var b=0>k-1?j.length-1:k-1;return a.$currentTransition?void 0:i.select(j[b],"prev")},a.isActive=function(a){return i.currentSlide===a},a.$watch("interval",d),a.$on("$destroy",e),a.play=function(){h||(h=!0,d())},a.pause=function(){a.noPause||(h=!1,e())},i.addSlide=function(b,c){b.$element=c,j.push(b),1===j.length||b.active?(i.select(j[j.length-1]),1==j.length&&a.play()):b.active=!1},i.removeSlide=function(a){var b=j.indexOf(a);j.splice(b,1),j.length>0&&a.active?i.select(b>=j.length?j[b-1]:j[b]):k>b&&k--}}]).directive("carousel",[function(){return{restrict:"EA",transclude:!0,replace:!0,controller:"CarouselController",require:"carousel",templateUrl:"template/carousel/carousel.html",scope:{interval:"=",noTransition:"=",noPause:"="}}}]).directive("slide",function(){return{require:"^carousel",restrict:"EA",transclude:!0,replace:!0,templateUrl:"template/carousel/slide.html",scope:{active:"=?"},link:function(a,b,c,d){d.addSlide(a,b),a.$on("$destroy",function(){d.removeSlide(a)}),a.$watch("active",function(b){b&&d.select(a)})}}}),angular.module("ui.bootstrap.dateparser",[]).service("dateParser",["$locale","orderByFilter",function(a,b){function c(a){var c=[],d=a.split("");return angular.forEach(e,function(b,e){var f=a.indexOf(e);if(f>-1){a=a.split(""),d[f]="("+b.regex+")",a[f]="$";for(var g=f+1,h=f+e.length;h>g;g++)d[g]="",a[g]="$";a=a.join(""),c.push({index:f,apply:b.apply})}}),{regex:new RegExp("^"+d.join("")+"$"),map:b(c,"index")}}function d(a,b,c){return 1===b&&c>28?29===c&&(a%4===0&&a%100!==0||a%400===0):3===b||5===b||8===b||10===b?31>c:!0}this.parsers={};var e={yyyy:{regex:"\\d{4}",apply:function(a){this.year=+a}},yy:{regex:"\\d{2}",apply:function(a){this.year=+a+2e3}},y:{regex:"\\d{1,4}",apply:function(a){this.year=+a}},MMMM:{regex:a.DATETIME_FORMATS.MONTH.join("|"),apply:function(b){this.month=a.DATETIME_FORMATS.MONTH.indexOf(b)}},MMM:{regex:a.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(b){this.month=a.DATETIME_FORMATS.SHORTMONTH.indexOf(b)}},MM:{regex:"0[1-9]|1[0-2]",apply:function(a){this.month=a-1}},M:{regex:"[1-9]|1[0-2]",apply:function(a){this.month=a-1}},dd:{regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},d:{regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},EEEE:{regex:a.DATETIME_FORMATS.DAY.join("|")},EEE:{regex:a.DATETIME_FORMATS.SHORTDAY.join("|")}};this.parse=function(b,e){if(!angular.isString(b)||!e)return b;e=a.DATETIME_FORMATS[e]||e,this.parsers[e]||(this.parsers[e]=c(e));var f=this.parsers[e],g=f.regex,h=f.map,i=b.match(g);if(i&&i.length){for(var j,k={year:1900,month:0,date:1,hours:0},l=1,m=i.length;m>l;l++){var n=h[l-1];n.apply&&n.apply.call(k,i[l])}return d(k.year,k.month,k.date)&&(j=new Date(k.year,k.month,k.date,k.hours)),j}}}]),angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function(a,b){function c(a,c){return a.currentStyle?a.currentStyle[c]:b.getComputedStyle?b.getComputedStyle(a)[c]:a.style[c]}function d(a){return"static"===(c(a,"position")||"static")}var e=function(b){for(var c=a[0],e=b.offsetParent||c;e&&e!==c&&d(e);)e=e.offsetParent;return e||c};return{position:function(b){var c=this.offset(b),d={top:0,left:0},f=e(b[0]);f!=a[0]&&(d=this.offset(angular.element(f)),d.top+=f.clientTop-f.scrollTop,d.left+=f.clientLeft-f.scrollLeft);var g=b[0].getBoundingClientRect();return{width:g.width||b.prop("offsetWidth"),height:g.height||b.prop("offsetHeight"),top:c.top-d.top,left:c.left-d.left}},offset:function(c){var d=c[0].getBoundingClientRect();return{width:d.width||c.prop("offsetWidth"),height:d.height||c.prop("offsetHeight"),top:d.top+(b.pageYOffset||a[0].documentElement.scrollTop),left:d.left+(b.pageXOffset||a[0].documentElement.scrollLeft)}},positionElements:function(a,b,c,d){var e,f,g,h,i=c.split("-"),j=i[0],k=i[1]||"center";e=d?this.offset(a):this.position(a),f=b.prop("offsetWidth"),g=b.prop("offsetHeight");var l={center:function(){return e.left+e.width/2-f/2},left:function(){return e.left},right:function(){return e.left+e.width}},m={center:function(){return e.top+e.height/2-g/2},top:function(){return e.top},bottom:function(){return e.top+e.height}};switch(j){case"right":h={top:m[k](),left:l[j]()};break;case"left":h={top:m[k](),left:e.left-f};break;case"bottom":h={top:m[j](),left:l[k]()};break;default:h={top:e.top-g,left:l[k]()}}return h}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.position"]).constant("datepickerConfig",{formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",datepickerMode:"day",minMode:"day",maxMode:"year",showWeeks:!0,startingDay:0,yearRange:20,minDate:null,maxDate:null}).controller("DatepickerController",["$scope","$attrs","$parse","$interpolate","$timeout","$log","dateFilter","datepickerConfig",function(a,b,c,d,e,f,g,h){var i=this,j={$setViewValue:angular.noop};this.modes=["day","month","year"],angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","minMode","maxMode","showWeeks","startingDay","yearRange"],function(c,e){i[c]=angular.isDefined(b[c])?8>e?d(b[c])(a.$parent):a.$parent.$eval(b[c]):h[c]}),angular.forEach(["minDate","maxDate"],function(d){b[d]?a.$parent.$watch(c(b[d]),function(a){i[d]=a?new Date(a):null,i.refreshView()}):i[d]=h[d]?new Date(h[d]):null}),a.datepickerMode=a.datepickerMode||h.datepickerMode,a.uniqueId="datepicker-"+a.$id+"-"+Math.floor(1e4*Math.random()),this.activeDate=angular.isDefined(b.initDate)?a.$parent.$eval(b.initDate):new Date,a.isActive=function(b){return 0===i.compare(b.date,i.activeDate)?(a.activeDateId=b.uid,!0):!1},this.init=function(a){j=a,j.$render=function(){i.render()}},this.render=function(){if(j.$modelValue){var a=new Date(j.$modelValue),b=!isNaN(a);b?this.activeDate=a:f.error('Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.'),j.$setValidity("date",b)}this.refreshView()},this.refreshView=function(){if(this.element){this._refreshView();var a=j.$modelValue?new Date(j.$modelValue):null;j.$setValidity("date-disabled",!a||this.element&&!this.isDisabled(a))}},this.createDateObject=function(a,b){var c=j.$modelValue?new Date(j.$modelValue):null;return{date:a,label:g(a,b),selected:c&&0===this.compare(a,c),disabled:this.isDisabled(a),current:0===this.compare(a,new Date)}},this.isDisabled=function(c){return this.minDate&&this.compare(c,this.minDate)<0||this.maxDate&&this.compare(c,this.maxDate)>0||b.dateDisabled&&a.dateDisabled({date:c,mode:a.datepickerMode})},this.split=function(a,b){for(var c=[];a.length>0;)c.push(a.splice(0,b));return c},a.select=function(b){if(a.datepickerMode===i.minMode){var c=j.$modelValue?new Date(j.$modelValue):new Date(0,0,0,0,0,0,0);c.setFullYear(b.getFullYear(),b.getMonth(),b.getDate()),j.$setViewValue(c),j.$render()}else i.activeDate=b,a.datepickerMode=i.modes[i.modes.indexOf(a.datepickerMode)-1]},a.move=function(a){var b=i.activeDate.getFullYear()+a*(i.step.years||0),c=i.activeDate.getMonth()+a*(i.step.months||0);i.activeDate.setFullYear(b,c,1),i.refreshView()},a.toggleMode=function(b){b=b||1,a.datepickerMode===i.maxMode&&1===b||a.datepickerMode===i.minMode&&-1===b||(a.datepickerMode=i.modes[i.modes.indexOf(a.datepickerMode)+b])},a.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var k=function(){e(function(){i.element[0].focus()},0,!1)};a.$on("datepicker.focus",k),a.keydown=function(b){var c=a.keys[b.which];if(c&&!b.shiftKey&&!b.altKey)if(b.preventDefault(),b.stopPropagation(),"enter"===c||"space"===c){if(i.isDisabled(i.activeDate))return;a.select(i.activeDate),k()}else!b.ctrlKey||"up"!==c&&"down"!==c?(i.handleKeyDown(c,b),i.refreshView()):(a.toggleMode("up"===c?1:-1),k())}}]).directive("datepicker",function(){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/datepicker.html",scope:{datepickerMode:"=?",dateDisabled:"&"},require:["datepicker","?^ngModel"],controller:"DatepickerController",link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f)}}}).directive("daypicker",["dateFilter",function(a){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/day.html",require:"^datepicker",link:function(b,c,d,e){function f(a,b){return 1!==b||a%4!==0||a%100===0&&a%400!==0?i[b]:29}function g(a,b){var c=new Array(b),d=new Date(a),e=0;for(d.setHours(12);b>e;)c[e++]=new Date(d),d.setDate(d.getDate()+1);return c}function h(a){var b=new Date(a);b.setDate(b.getDate()+4-(b.getDay()||7));var c=b.getTime();return b.setMonth(0),b.setDate(1),Math.floor(Math.round((c-b)/864e5)/7)+1}b.showWeeks=e.showWeeks,e.step={months:1},e.element=c;var i=[31,28,31,30,31,30,31,31,30,31,30,31];e._refreshView=function(){var c=e.activeDate.getFullYear(),d=e.activeDate.getMonth(),f=new Date(c,d,1),i=e.startingDay-f.getDay(),j=i>0?7-i:-i,k=new Date(f);j>0&&k.setDate(-j+1);for(var l=g(k,42),m=0;42>m;m++)l[m]=angular.extend(e.createDateObject(l[m],e.formatDay),{secondary:l[m].getMonth()!==d,uid:b.uniqueId+"-"+m});b.labels=new Array(7);for(var n=0;7>n;n++)b.labels[n]={abbr:a(l[n].date,e.formatDayHeader),full:a(l[n].date,"EEEE")};if(b.title=a(e.activeDate,e.formatDayTitle),b.rows=e.split(l,7),b.showWeeks){b.weekNumbers=[];for(var o=h(b.rows[0][0].date),p=b.rows.length;b.weekNumbers.push(o++)f;f++)c[f]=angular.extend(e.createDateObject(new Date(d,f,1),e.formatMonth),{uid:b.uniqueId+"-"+f});b.title=a(e.activeDate,e.formatMonthTitle),b.rows=e.split(c,3)},e.compare=function(a,b){return new Date(a.getFullYear(),a.getMonth())-new Date(b.getFullYear(),b.getMonth())},e.handleKeyDown=function(a){var b=e.activeDate.getMonth();if("left"===a)b-=1;else if("up"===a)b-=3;else if("right"===a)b+=1;else if("down"===a)b+=3;else if("pageup"===a||"pagedown"===a){var c=e.activeDate.getFullYear()+("pageup"===a?-1:1);e.activeDate.setFullYear(c)}else"home"===a?b=0:"end"===a&&(b=11);e.activeDate.setMonth(b)},e.refreshView()}}}]).directive("yearpicker",["dateFilter",function(){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/year.html",require:"^datepicker",link:function(a,b,c,d){function e(a){return parseInt((a-1)/f,10)*f+1}var f=d.yearRange;d.step={years:f},d.element=b,d._refreshView=function(){for(var b=new Array(f),c=0,g=e(d.activeDate.getFullYear());f>c;c++)b[c]=angular.extend(d.createDateObject(new Date(g+c,0,1),d.formatYear),{uid:a.uniqueId+"-"+c});a.title=[b[0].label,b[f-1].label].join(" - "),a.rows=d.split(b,5)},d.compare=function(a,b){return a.getFullYear()-b.getFullYear()},d.handleKeyDown=function(a){var b=d.activeDate.getFullYear();"left"===a?b-=1:"up"===a?b-=5:"right"===a?b+=1:"down"===a?b+=5:"pageup"===a||"pagedown"===a?b+=("pageup"===a?-1:1)*d.step.years:"home"===a?b=e(d.activeDate.getFullYear()):"end"===a&&(b=e(d.activeDate.getFullYear())+f-1),d.activeDate.setFullYear(b)},d.refreshView()}}}]).constant("datepickerPopupConfig",{datepickerPopup:"yyyy-MM-dd",currentText:"Today",clearText:"Clear",closeText:"Done",closeOnDateSelection:!0,appendToBody:!1,showButtonBar:!0}).directive("datepickerPopup",["$compile","$parse","$document","$position","dateFilter","dateParser","datepickerPopupConfig",function(a,b,c,d,e,f,g){return{restrict:"EA",require:"ngModel",scope:{isOpen:"=?",currentText:"@",clearText:"@",closeText:"@",dateDisabled:"&"},link:function(h,i,j,k){function l(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function m(a){if(a){if(angular.isDate(a)&&!isNaN(a))return k.$setValidity("date",!0),a;if(angular.isString(a)){var b=f.parse(a,n)||new Date(a);return isNaN(b)?void k.$setValidity("date",!1):(k.$setValidity("date",!0),b)}return void k.$setValidity("date",!1)}return k.$setValidity("date",!0),null}var n,o=angular.isDefined(j.closeOnDateSelection)?h.$parent.$eval(j.closeOnDateSelection):g.closeOnDateSelection,p=angular.isDefined(j.datepickerAppendToBody)?h.$parent.$eval(j.datepickerAppendToBody):g.appendToBody;h.showButtonBar=angular.isDefined(j.showButtonBar)?h.$parent.$eval(j.showButtonBar):g.showButtonBar,h.getText=function(a){return h[a+"Text"]||g[a+"Text"]},j.$observe("datepickerPopup",function(a){n=a||g.datepickerPopup,k.$render()});var q=angular.element("
    ");q.attr({"ng-model":"date","ng-change":"dateSelection()"});var r=angular.element(q.children()[0]);j.datepickerOptions&&angular.forEach(h.$parent.$eval(j.datepickerOptions),function(a,b){r.attr(l(b),a)}),h.watchData={},angular.forEach(["minDate","maxDate","datepickerMode"],function(a){if(j[a]){var c=b(j[a]);if(h.$parent.$watch(c,function(b){h.watchData[a]=b}),r.attr(l(a),"watchData."+a),"datepickerMode"===a){var d=c.assign;h.$watch("watchData."+a,function(a,b){a!==b&&d(h.$parent,a)})}}}),j.dateDisabled&&r.attr("date-disabled","dateDisabled({ date: date, mode: mode })"),k.$parsers.unshift(m),h.dateSelection=function(a){angular.isDefined(a)&&(h.date=a),k.$setViewValue(h.date),k.$render(),o&&(h.isOpen=!1,i[0].focus())},i.bind("input change keyup",function(){h.$apply(function(){h.date=k.$modelValue})}),k.$render=function(){var a=k.$viewValue?e(k.$viewValue,n):"";i.val(a),h.date=m(k.$modelValue)};var s=function(a){h.isOpen&&a.target!==i[0]&&h.$apply(function(){h.isOpen=!1})},t=function(a){h.keydown(a)};i.bind("keydown",t),h.keydown=function(a){27===a.which?(a.preventDefault(),a.stopPropagation(),h.close()):40!==a.which||h.isOpen||(h.isOpen=!0)},h.$watch("isOpen",function(a){a?(h.$broadcast("datepicker.focus"),h.position=p?d.offset(i):d.position(i),h.position.top=h.position.top+i.prop("offsetHeight"),c.bind("click",s)):c.unbind("click",s)}),h.select=function(a){if("today"===a){var b=new Date;angular.isDate(k.$modelValue)?(a=new Date(k.$modelValue),a.setFullYear(b.getFullYear(),b.getMonth(),b.getDate())):a=new Date(b.setHours(0,0,0,0))}h.dateSelection(a)},h.close=function(){h.isOpen=!1,i[0].focus()};var u=a(q)(h);q.remove(),p?c.find("body").append(u):i.after(u),h.$on("$destroy",function(){u.remove(),i.unbind("keydown",t),c.unbind("click",s)})}}}]).directive("datepickerPopupWrap",function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"template/datepicker/popup.html",link:function(a,b){b.bind("click",function(a){a.preventDefault(),a.stopPropagation()})}}}),angular.module("ui.bootstrap.dropdown",[]).constant("dropdownConfig",{openClass:"open"}).service("dropdownService",["$document",function(a){var b=null;this.open=function(e){b||(a.bind("click",c),a.bind("keydown",d)),b&&b!==e&&(b.isOpen=!1),b=e},this.close=function(e){b===e&&(b=null,a.unbind("click",c),a.unbind("keydown",d))};var c=function(a){var c=b.getToggleElement();a&&c&&c[0].contains(a.target)||b.$apply(function(){b.isOpen=!1})},d=function(a){27===a.which&&(b.focusToggleElement(),c())}}]).controller("DropdownController",["$scope","$attrs","$parse","dropdownConfig","dropdownService","$animate",function(a,b,c,d,e,f){var g,h=this,i=a.$new(),j=d.openClass,k=angular.noop,l=b.onToggle?c(b.onToggle):angular.noop;this.init=function(d){h.$element=d,b.isOpen&&(g=c(b.isOpen),k=g.assign,a.$watch(g,function(a){i.isOpen=!!a}))},this.toggle=function(a){return i.isOpen=arguments.length?!!a:!i.isOpen},this.isOpen=function(){return i.isOpen},i.getToggleElement=function(){return h.toggleElement},i.focusToggleElement=function(){h.toggleElement&&h.toggleElement[0].focus()},i.$watch("isOpen",function(b,c){f[b?"addClass":"removeClass"](h.$element,j),b?(i.focusToggleElement(),e.open(i)):e.close(i),k(a,b),angular.isDefined(b)&&b!==c&&l(a,{open:!!b})}),a.$on("$locationChangeSuccess",function(){i.isOpen=!1}),a.$on("$destroy",function(){i.$destroy()})}]).directive("dropdown",function(){return{restrict:"CA",controller:"DropdownController",link:function(a,b,c,d){d.init(b)}}}).directive("dropdownToggle",function(){return{restrict:"CA",require:"?^dropdown",link:function(a,b,c,d){if(d){d.toggleElement=b;var e=function(e){e.preventDefault(),b.hasClass("disabled")||c.disabled||a.$apply(function(){d.toggle()})};b.bind("click",e),b.attr({"aria-haspopup":!0,"aria-expanded":!1}),a.$watch(d.isOpen,function(a){b.attr("aria-expanded",!!a)}),a.$on("$destroy",function(){b.unbind("click",e)})}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.transition"]).factory("$$stackedMap",function(){return{createNew:function(){var a=[];return{add:function(b,c){a.push({key:b,value:c})},get:function(b){for(var c=0;c0),i()})}function i(){if(k&&-1==g()){var a=l;j(k,l,150,function(){a.$destroy(),a=null}),k=void 0,l=void 0}}function j(c,d,e,f){function g(){g.done||(g.done=!0,c.remove(),f&&f())}d.animate=!1;var h=a.transitionEndEventName;if(h){var i=b(g,e);c.bind(h,function(){b.cancel(i),g(),d.$apply()})}else b(g)}var k,l,m="modal-open",n=f.createNew(),o={};return e.$watch(g,function(a){l&&(l.index=a)}),c.bind("keydown",function(a){var b;27===a.which&&(b=n.top(),b&&b.value.keyboard&&(a.preventDefault(),e.$apply(function(){o.dismiss(b.key,"escape key press")})))}),o.open=function(a,b){n.add(a,{deferred:b.deferred,modalScope:b.scope,backdrop:b.backdrop,keyboard:b.keyboard});var f=c.find("body").eq(0),h=g();if(h>=0&&!k){l=e.$new(!0),l.index=h;var i=angular.element("
    ");i.attr("backdrop-class",b.backdropClass),k=d(i)(l),f.append(k)}var j=angular.element("
    ");j.attr({"template-url":b.windowTemplateUrl,"window-class":b.windowClass,size:b.size,index:n.length()-1,animate:"animate"}).html(b.content);var o=d(j)(b.scope);n.top().value.modalDomEl=o,f.append(o),f.addClass(m)},o.close=function(a,b){var c=n.get(a);c&&(c.value.deferred.resolve(b),h(a))},o.dismiss=function(a,b){var c=n.get(a);c&&(c.value.deferred.reject(b),h(a))},o.dismissAll=function(a){for(var b=this.getTop();b;)this.dismiss(b.key,a),b=this.getTop()},o.getTop=function(){return n.top()},o}]).provider("$modal",function(){var a={options:{backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$http","$templateCache","$controller","$modalStack",function(b,c,d,e,f,g,h){function i(a){return a.template?d.when(a.template):e.get(angular.isFunction(a.templateUrl)?a.templateUrl():a.templateUrl,{cache:f}).then(function(a){return a.data})}function j(a){var c=[];return angular.forEach(a,function(a){(angular.isFunction(a)||angular.isArray(a))&&c.push(d.when(b.invoke(a)))}),c}var k={};return k.open=function(b){var e=d.defer(),f=d.defer(),k={result:e.promise,opened:f.promise,close:function(a){h.close(k,a)},dismiss:function(a){h.dismiss(k,a)}};if(b=angular.extend({},a.options,b),b.resolve=b.resolve||{},!b.template&&!b.templateUrl)throw new Error("One of template or templateUrl options is required.");var l=d.all([i(b)].concat(j(b.resolve)));return l.then(function(a){var d=(b.scope||c).$new();d.$close=k.close,d.$dismiss=k.dismiss;var f,i={},j=1;b.controller&&(i.$scope=d,i.$modalInstance=k,angular.forEach(b.resolve,function(b,c){i[c]=a[j++]}),f=g(b.controller,i),b.controllerAs&&(d[b.controllerAs]=f)),h.open(k,{scope:d,deferred:e,content:a[0],backdrop:b.backdrop,keyboard:b.keyboard,backdropClass:b.backdropClass,windowClass:b.windowClass,windowTemplateUrl:b.windowTemplateUrl,size:b.size})},function(a){e.reject(a)}),l.then(function(){f.resolve(!0)},function(){f.reject(!1)}),k},k}]};return a}),angular.module("ui.bootstrap.pagination",[]).controller("PaginationController",["$scope","$attrs","$parse",function(a,b,c){var d=this,e={$setViewValue:angular.noop},f=b.numPages?c(b.numPages).assign:angular.noop;this.init=function(f,g){e=f,this.config=g,e.$render=function(){d.render()},b.itemsPerPage?a.$parent.$watch(c(b.itemsPerPage),function(b){d.itemsPerPage=parseInt(b,10),a.totalPages=d.calculateTotalPages()}):this.itemsPerPage=g.itemsPerPage},this.calculateTotalPages=function(){var b=this.itemsPerPage<1?1:Math.ceil(a.totalItems/this.itemsPerPage);return Math.max(b||0,1)},this.render=function(){a.page=parseInt(e.$viewValue,10)||1},a.selectPage=function(b){a.page!==b&&b>0&&b<=a.totalPages&&(e.$setViewValue(b),e.$render())},a.getText=function(b){return a[b+"Text"]||d.config[b+"Text"]},a.noPrevious=function(){return 1===a.page},a.noNext=function(){return a.page===a.totalPages},a.$watch("totalItems",function(){a.totalPages=d.calculateTotalPages()}),a.$watch("totalPages",function(b){f(a.$parent,b),a.page>b?a.selectPage(b):e.$render()})}]).constant("paginationConfig",{itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0}).directive("pagination",["$parse","paginationConfig",function(a,b){return{restrict:"EA",scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@"},require:["pagination","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pagination.html",replace:!0,link:function(c,d,e,f){function g(a,b,c){return{number:a,text:b,active:c}}function h(a,b){var c=[],d=1,e=b,f=angular.isDefined(k)&&b>k;f&&(l?(d=Math.max(a-Math.floor(k/2),1),e=d+k-1,e>b&&(e=b,d=e-k+1)):(d=(Math.ceil(a/k)-1)*k+1,e=Math.min(d+k-1,b)));for(var h=d;e>=h;h++){var i=g(h,h,h===a);c.push(i)}if(f&&!l){if(d>1){var j=g(d-1,"...",!1);c.unshift(j)}if(b>e){var m=g(e+1,"...",!1);c.push(m)}}return c}var i=f[0],j=f[1];if(j){var k=angular.isDefined(e.maxSize)?c.$parent.$eval(e.maxSize):b.maxSize,l=angular.isDefined(e.rotate)?c.$parent.$eval(e.rotate):b.rotate;c.boundaryLinks=angular.isDefined(e.boundaryLinks)?c.$parent.$eval(e.boundaryLinks):b.boundaryLinks,c.directionLinks=angular.isDefined(e.directionLinks)?c.$parent.$eval(e.directionLinks):b.directionLinks,i.init(j,b),e.maxSize&&c.$parent.$watch(a(e.maxSize),function(a){k=parseInt(a,10),i.render() +});var m=i.render;i.render=function(){m(),c.page>0&&c.page<=c.totalPages&&(c.pages=h(c.page,c.totalPages))}}}}}]).constant("pagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("pager",["pagerConfig",function(a){return{restrict:"EA",scope:{totalItems:"=",previousText:"@",nextText:"@"},require:["pager","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pager.html",replace:!0,link:function(b,c,d,e){var f=e[0],g=e[1];g&&(b.align=angular.isDefined(d.align)?b.$parent.$eval(d.align):a.align,f.init(g,a))}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",function(){function a(a){var b=/[A-Z]/g,c="-";return a.replace(b,function(a,b){return(b?c:"")+a.toLowerCase()})}var b={placement:"top",animation:!0,popupDelay:0},c={mouseenter:"mouseleave",click:"click",focus:"blur"},d={};this.options=function(a){angular.extend(d,a)},this.setTriggers=function(a){angular.extend(c,a)},this.$get=["$window","$compile","$timeout","$parse","$document","$position","$interpolate",function(e,f,g,h,i,j,k){return function(e,l,m){function n(a){var b=a||o.trigger||m,d=c[b]||b;return{show:b,hide:d}}var o=angular.extend({},b,d),p=a(e),q=k.startSymbol(),r=k.endSymbol(),s="
    ';return{restrict:"EA",scope:!0,compile:function(){var a=f(s);return function(b,c,d){function f(){b.tt_isOpen?m():k()}function k(){(!y||b.$eval(d[l+"Enable"]))&&(b.tt_popupDelay?v||(v=g(p,b.tt_popupDelay,!1),v.then(function(a){a()})):p()())}function m(){b.$apply(function(){q()})}function p(){return v=null,u&&(g.cancel(u),u=null),b.tt_content?(r(),t.css({top:0,left:0,display:"block"}),w?i.find("body").append(t):c.after(t),z(),b.tt_isOpen=!0,b.$digest(),z):angular.noop}function q(){b.tt_isOpen=!1,g.cancel(v),v=null,b.tt_animation?u||(u=g(s,500)):s()}function r(){t&&s(),t=a(b,function(){}),b.$digest()}function s(){u=null,t&&(t.remove(),t=null)}var t,u,v,w=angular.isDefined(o.appendToBody)?o.appendToBody:!1,x=n(void 0),y=angular.isDefined(d[l+"Enable"]),z=function(){var a=j.positionElements(c,t,b.tt_placement,w);a.top+="px",a.left+="px",t.css(a)};b.tt_isOpen=!1,d.$observe(e,function(a){b.tt_content=a,!a&&b.tt_isOpen&&q()}),d.$observe(l+"Title",function(a){b.tt_title=a}),d.$observe(l+"Placement",function(a){b.tt_placement=angular.isDefined(a)?a:o.placement}),d.$observe(l+"PopupDelay",function(a){var c=parseInt(a,10);b.tt_popupDelay=isNaN(c)?o.popupDelay:c});var A=function(){c.unbind(x.show,k),c.unbind(x.hide,m)};d.$observe(l+"Trigger",function(a){A(),x=n(a),x.show===x.hide?c.bind(x.show,f):(c.bind(x.show,k),c.bind(x.hide,m))});var B=b.$eval(d[l+"Animation"]);b.tt_animation=angular.isDefined(B)?!!B:o.animation,d.$observe(l+"AppendToBody",function(a){w=angular.isDefined(a)?h(a)(b):w}),w&&b.$on("$locationChangeSuccess",function(){b.tt_isOpen&&q()}),b.$on("$destroy",function(){g.cancel(u),g.cancel(v),A(),s()})}}}}}]}).directive("tooltipPopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}}).directive("tooltip",["$tooltip",function(a){return a("tooltip","tooltip","mouseenter")}]).directive("tooltipHtmlUnsafePopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}}).directive("tooltipHtmlUnsafe",["$tooltip",function(a){return a("tooltipHtmlUnsafe","tooltip","mouseenter")}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("popoverPopup",function(){return{restrict:"EA",replace:!0,scope:{title:"@",content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover.html"}}).directive("popover",["$tooltip",function(a){return a("popover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("progressConfig",{animate:!0,max:100}).controller("ProgressController",["$scope","$attrs","progressConfig",function(a,b,c){var d=this,e=angular.isDefined(b.animate)?a.$parent.$eval(b.animate):c.animate;this.bars=[],a.max=angular.isDefined(b.max)?a.$parent.$eval(b.max):c.max,this.addBar=function(b,c){e||c.css({transition:"none"}),this.bars.push(b),b.$watch("value",function(c){b.percent=+(100*c/a.max).toFixed(2)}),b.$on("$destroy",function(){c=null,d.removeBar(b)})},this.removeBar=function(a){this.bars.splice(this.bars.indexOf(a),1)}}]).directive("progress",function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",require:"progress",scope:{},templateUrl:"template/progressbar/progress.html"}}).directive("bar",function(){return{restrict:"EA",replace:!0,transclude:!0,require:"^progress",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/bar.html",link:function(a,b,c,d){d.addBar(a,b)}}}).directive("progressbar",function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/progressbar.html",link:function(a,b,c,d){d.addBar(a,angular.element(b.children()[0]))}}}),angular.module("ui.bootstrap.rating",[]).constant("ratingConfig",{max:5,stateOn:null,stateOff:null}).controller("RatingController",["$scope","$attrs","ratingConfig",function(a,b,c){var d={$setViewValue:angular.noop};this.init=function(e){d=e,d.$render=this.render,this.stateOn=angular.isDefined(b.stateOn)?a.$parent.$eval(b.stateOn):c.stateOn,this.stateOff=angular.isDefined(b.stateOff)?a.$parent.$eval(b.stateOff):c.stateOff;var f=angular.isDefined(b.ratingStates)?a.$parent.$eval(b.ratingStates):new Array(angular.isDefined(b.max)?a.$parent.$eval(b.max):c.max);a.range=this.buildTemplateObjects(f)},this.buildTemplateObjects=function(a){for(var b=0,c=a.length;c>b;b++)a[b]=angular.extend({index:b},{stateOn:this.stateOn,stateOff:this.stateOff},a[b]);return a},a.rate=function(b){!a.readonly&&b>=0&&b<=a.range.length&&(d.$setViewValue(b),d.$render())},a.enter=function(b){a.readonly||(a.value=b),a.onHover({value:b})},a.reset=function(){a.value=d.$viewValue,a.onLeave()},a.onKeydown=function(b){/(37|38|39|40)/.test(b.which)&&(b.preventDefault(),b.stopPropagation(),a.rate(a.value+(38===b.which||39===b.which?1:-1)))},this.render=function(){a.value=d.$viewValue}}]).directive("rating",function(){return{restrict:"EA",require:["rating","ngModel"],scope:{readonly:"=?",onHover:"&",onLeave:"&"},controller:"RatingController",templateUrl:"template/rating/rating.html",replace:!0,link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f)}}}),angular.module("ui.bootstrap.tabs",[]).controller("TabsetController",["$scope",function(a){var b=this,c=b.tabs=a.tabs=[];b.select=function(a){angular.forEach(c,function(b){b.active&&b!==a&&(b.active=!1,b.onDeselect())}),a.active=!0,a.onSelect()},b.addTab=function(a){c.push(a),1===c.length?a.active=!0:a.active&&b.select(a)},b.removeTab=function(a){var d=c.indexOf(a);if(a.active&&c.length>1){var e=d==c.length-1?d-1:d+1;b.select(c[e])}c.splice(d,1)}}]).directive("tabset",function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{type:"@"},controller:"TabsetController",templateUrl:"template/tabs/tabset.html",link:function(a,b,c){a.vertical=angular.isDefined(c.vertical)?a.$parent.$eval(c.vertical):!1,a.justified=angular.isDefined(c.justified)?a.$parent.$eval(c.justified):!1}}}).directive("tab",["$parse",function(a){return{require:"^tabset",restrict:"EA",replace:!0,templateUrl:"template/tabs/tab.html",transclude:!0,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},compile:function(b,c,d){return function(b,c,e,f){b.$watch("active",function(a){a&&f.select(b)}),b.disabled=!1,e.disabled&&b.$parent.$watch(a(e.disabled),function(a){b.disabled=!!a}),b.select=function(){b.disabled||(b.active=!0)},f.addTab(b),b.$on("$destroy",function(){f.removeTab(b)}),b.$transcludeFn=d}}}}]).directive("tabHeadingTransclude",[function(){return{restrict:"A",require:"^tab",link:function(a,b){a.$watch("headingElement",function(a){a&&(b.html(""),b.append(a))})}}}]).directive("tabContentTransclude",function(){function a(a){return a.tagName&&(a.hasAttribute("tab-heading")||a.hasAttribute("data-tab-heading")||"tab-heading"===a.tagName.toLowerCase()||"data-tab-heading"===a.tagName.toLowerCase())}return{restrict:"A",require:"^tabset",link:function(b,c,d){var e=b.$eval(d.tabContentTransclude);e.$transcludeFn(e.$parent,function(b){angular.forEach(b,function(b){a(b)?e.headingElement=b:c.append(b)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("timepickerConfig",{hourStep:1,minuteStep:1,showMeridian:!0,meridians:null,readonlyInput:!1,mousewheel:!0}).controller("TimepickerController",["$scope","$attrs","$parse","$log","$locale","timepickerConfig",function(a,b,c,d,e,f){function g(){var b=parseInt(a.hours,10),c=a.showMeridian?b>0&&13>b:b>=0&&24>b;return c?(a.showMeridian&&(12===b&&(b=0),a.meridian===p[1]&&(b+=12)),b):void 0}function h(){var b=parseInt(a.minutes,10);return b>=0&&60>b?b:void 0}function i(a){return angular.isDefined(a)&&a.toString().length<2?"0"+a:a}function j(a){k(),o.$setViewValue(new Date(n)),l(a)}function k(){o.$setValidity("time",!0),a.invalidHours=!1,a.invalidMinutes=!1}function l(b){var c=n.getHours(),d=n.getMinutes();a.showMeridian&&(c=0===c||12===c?12:c%12),a.hours="h"===b?c:i(c),a.minutes="m"===b?d:i(d),a.meridian=n.getHours()<12?p[0]:p[1]}function m(a){var b=new Date(n.getTime()+6e4*a);n.setHours(b.getHours(),b.getMinutes()),j()}var n=new Date,o={$setViewValue:angular.noop},p=angular.isDefined(b.meridians)?a.$parent.$eval(b.meridians):f.meridians||e.DATETIME_FORMATS.AMPMS;this.init=function(c,d){o=c,o.$render=this.render;var e=d.eq(0),g=d.eq(1),h=angular.isDefined(b.mousewheel)?a.$parent.$eval(b.mousewheel):f.mousewheel;h&&this.setupMousewheelEvents(e,g),a.readonlyInput=angular.isDefined(b.readonlyInput)?a.$parent.$eval(b.readonlyInput):f.readonlyInput,this.setupInputEvents(e,g)};var q=f.hourStep;b.hourStep&&a.$parent.$watch(c(b.hourStep),function(a){q=parseInt(a,10)});var r=f.minuteStep;b.minuteStep&&a.$parent.$watch(c(b.minuteStep),function(a){r=parseInt(a,10)}),a.showMeridian=f.showMeridian,b.showMeridian&&a.$parent.$watch(c(b.showMeridian),function(b){if(a.showMeridian=!!b,o.$error.time){var c=g(),d=h();angular.isDefined(c)&&angular.isDefined(d)&&(n.setHours(c),j())}else l()}),this.setupMousewheelEvents=function(b,c){var d=function(a){a.originalEvent&&(a=a.originalEvent);var b=a.wheelDelta?a.wheelDelta:-a.deltaY;return a.detail||b>0};b.bind("mousewheel wheel",function(b){a.$apply(d(b)?a.incrementHours():a.decrementHours()),b.preventDefault()}),c.bind("mousewheel wheel",function(b){a.$apply(d(b)?a.incrementMinutes():a.decrementMinutes()),b.preventDefault()})},this.setupInputEvents=function(b,c){if(a.readonlyInput)return a.updateHours=angular.noop,void(a.updateMinutes=angular.noop);var d=function(b,c){o.$setViewValue(null),o.$setValidity("time",!1),angular.isDefined(b)&&(a.invalidHours=b),angular.isDefined(c)&&(a.invalidMinutes=c)};a.updateHours=function(){var a=g();angular.isDefined(a)?(n.setHours(a),j("h")):d(!0)},b.bind("blur",function(){!a.invalidHours&&a.hours<10&&a.$apply(function(){a.hours=i(a.hours)})}),a.updateMinutes=function(){var a=h();angular.isDefined(a)?(n.setMinutes(a),j("m")):d(void 0,!0)},c.bind("blur",function(){!a.invalidMinutes&&a.minutes<10&&a.$apply(function(){a.minutes=i(a.minutes)})})},this.render=function(){var a=o.$modelValue?new Date(o.$modelValue):null;isNaN(a)?(o.$setValidity("time",!1),d.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(a&&(n=a),k(),l())},a.incrementHours=function(){m(60*q)},a.decrementHours=function(){m(60*-q)},a.incrementMinutes=function(){m(r)},a.decrementMinutes=function(){m(-r)},a.toggleMeridian=function(){m(720*(n.getHours()<12?1:-1))}}]).directive("timepicker",function(){return{restrict:"EA",require:["timepicker","?^ngModel"],controller:"TimepickerController",replace:!0,scope:{},templateUrl:"template/timepicker/timepicker.html",link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f,b.find("input"))}}}),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).factory("typeaheadParser",["$parse",function(a){var b=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(c){var d=c.match(b);if(!d)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+c+'".');return{itemName:d[3],source:a(d[4]),viewMapper:a(d[2]||d[1]),modelMapper:a(d[1])}}}}]).directive("typeahead",["$compile","$parse","$q","$timeout","$document","$position","typeaheadParser",function(a,b,c,d,e,f,g){var h=[9,13,27,38,40];return{require:"ngModel",link:function(i,j,k,l){var m,n=i.$eval(k.typeaheadMinLength)||1,o=i.$eval(k.typeaheadWaitMs)||0,p=i.$eval(k.typeaheadEditable)!==!1,q=b(k.typeaheadLoading).assign||angular.noop,r=b(k.typeaheadOnSelect),s=k.typeaheadInputFormatter?b(k.typeaheadInputFormatter):void 0,t=k.typeaheadAppendToBody?i.$eval(k.typeaheadAppendToBody):!1,u=b(k.ngModel).assign,v=g.parse(k.typeahead),w=i.$new();i.$on("$destroy",function(){w.$destroy()});var x="typeahead-"+w.$id+"-"+Math.floor(1e4*Math.random());j.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":x});var y=angular.element("
    ");y.attr({id:x,matches:"matches",active:"activeIdx",select:"select(activeIdx)",query:"query",position:"position"}),angular.isDefined(k.typeaheadTemplateUrl)&&y.attr("template-url",k.typeaheadTemplateUrl);var z=function(){w.matches=[],w.activeIdx=-1,j.attr("aria-expanded",!1)},A=function(a){return x+"-option-"+a};w.$watch("activeIdx",function(a){0>a?j.removeAttr("aria-activedescendant"):j.attr("aria-activedescendant",A(a))});var B=function(a){var b={$viewValue:a};q(i,!0),c.when(v.source(i,b)).then(function(c){var d=a===l.$viewValue;if(d&&m)if(c.length>0){w.activeIdx=0,w.matches.length=0;for(var e=0;e=n?o>0?(E(),D(a)):B(a):(q(i,!1),E(),z()),p?a:a?void l.$setValidity("editable",!1):(l.$setValidity("editable",!0),a)}),l.$formatters.push(function(a){var b,c,d={};return s?(d.$model=a,s(i,d)):(d[v.itemName]=a,b=v.viewMapper(i,d),d[v.itemName]=void 0,c=v.viewMapper(i,d),b!==c?b:a)}),w.select=function(a){var b,c,e={};e[v.itemName]=c=w.matches[a].model,b=v.modelMapper(i,e),u(i,b),l.$setValidity("editable",!0),r(i,{$item:c,$model:b,$label:v.viewMapper(i,e)}),z(),d(function(){j[0].focus()},0,!1)},j.bind("keydown",function(a){0!==w.matches.length&&-1!==h.indexOf(a.which)&&(a.preventDefault(),40===a.which?(w.activeIdx=(w.activeIdx+1)%w.matches.length,w.$digest()):38===a.which?(w.activeIdx=(w.activeIdx?w.activeIdx:w.matches.length)-1,w.$digest()):13===a.which||9===a.which?w.$apply(function(){w.select(w.activeIdx)}):27===a.which&&(a.stopPropagation(),z(),w.$digest()))}),j.bind("blur",function(){m=!1});var F=function(a){j[0]!==a.target&&(z(),w.$digest())};e.bind("click",F),i.$on("$destroy",function(){e.unbind("click",F)});var G=a(y)(w);t?e.find("body").append(G):j.after(G)}}}]).directive("typeaheadPopup",function(){return{restrict:"EA",scope:{matches:"=",query:"=",active:"=",position:"=",select:"&"},replace:!0,templateUrl:"template/typeahead/typeahead-popup.html",link:function(a,b,c){a.templateUrl=c.templateUrl,a.isOpen=function(){return a.matches.length>0},a.isActive=function(b){return a.active==b},a.selectActive=function(b){a.active=b},a.selectMatch=function(b){a.select({activeIdx:b})}}}}).directive("typeaheadMatch",["$http","$templateCache","$compile","$parse",function(a,b,c,d){return{restrict:"EA",scope:{index:"=",match:"=",query:"="},link:function(e,f,g){var h=d(g.templateUrl)(e.$parent)||"template/typeahead/typeahead-match.html";a.get(h,{cache:b}).success(function(a){f.replaceWith(c(a.trim())(e))})}}}]).filter("typeaheadHighlight",function(){function a(a){return a.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return function(b,c){return c?(""+b).replace(new RegExp(a(c),"gi"),"$&"):b}}),angular.module("template/accordion/accordion-group.html",[]).run(["$templateCache",function(a){a.put("template/accordion/accordion-group.html",'
    \n
    \n

    \n {{heading}}\n

    \n
    \n
    \n
    \n
    \n
    ')}]),angular.module("template/accordion/accordion.html",[]).run(["$templateCache",function(a){a.put("template/accordion/accordion.html",'
    ')}]),angular.module("template/alert/alert.html",[]).run(["$templateCache",function(a){a.put("template/alert/alert.html",'\n')}]),angular.module("template/carousel/carousel.html",[]).run(["$templateCache",function(a){a.put("template/carousel/carousel.html",'\n')}]),angular.module("template/carousel/slide.html",[]).run(["$templateCache",function(a){a.put("template/carousel/slide.html","
    \n")}]),angular.module("template/datepicker/datepicker.html",[]).run(["$templateCache",function(a){a.put("template/datepicker/datepicker.html",'
    \n \n \n \n
    ')}]),angular.module("template/datepicker/day.html",[]).run(["$templateCache",function(a){a.put("template/datepicker/day.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    {{label.abbr}}
    {{ weekNumbers[$index] }}\n \n
    \n')}]),angular.module("template/datepicker/month.html",[]).run(["$templateCache",function(a){a.put("template/datepicker/month.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n
    \n \n
    \n')}]),angular.module("template/datepicker/popup.html",[]).run(["$templateCache",function(a){a.put("template/datepicker/popup.html",'\n')}]),angular.module("template/datepicker/year.html",[]).run(["$templateCache",function(a){a.put("template/datepicker/year.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n
    \n \n
    \n')}]),angular.module("template/modal/backdrop.html",[]).run(["$templateCache",function(a){a.put("template/modal/backdrop.html",'\n')}]),angular.module("template/modal/window.html",[]).run(["$templateCache",function(a){a.put("template/modal/window.html",'')}]),angular.module("template/pagination/pager.html",[]).run(["$templateCache",function(a){a.put("template/pagination/pager.html",'')}]),angular.module("template/pagination/pagination.html",[]).run(["$templateCache",function(a){a.put("template/pagination/pagination.html",'')}]),angular.module("template/tooltip/tooltip-html-unsafe-popup.html",[]).run(["$templateCache",function(a){a.put("template/tooltip/tooltip-html-unsafe-popup.html",'
    \n
    \n
    \n
    \n')}]),angular.module("template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(a){a.put("template/tooltip/tooltip-popup.html",'
    \n
    \n
    \n
    \n')}]),angular.module("template/popover/popover.html",[]).run(["$templateCache",function(a){a.put("template/popover/popover.html",'
    \n
    \n\n
    \n

    \n
    \n
    \n
    \n')}]),angular.module("template/progressbar/bar.html",[]).run(["$templateCache",function(a){a.put("template/progressbar/bar.html",'
    ')}]),angular.module("template/progressbar/progress.html",[]).run(["$templateCache",function(a){a.put("template/progressbar/progress.html",'
    ')}]),angular.module("template/progressbar/progressbar.html",[]).run(["$templateCache",function(a){a.put("template/progressbar/progressbar.html",'
    \n
    \n
    ')}]),angular.module("template/rating/rating.html",[]).run(["$templateCache",function(a){a.put("template/rating/rating.html",'\n \n ({{ $index < value ? \'*\' : \' \' }})\n \n')}]),angular.module("template/tabs/tab.html",[]).run(["$templateCache",function(a){a.put("template/tabs/tab.html",'
  • \n {{heading}}\n
  • \n')}]),angular.module("template/tabs/tabset.html",[]).run(["$templateCache",function(a){a.put("template/tabs/tabset.html",'
    \n \n
    \n
    \n
    \n
    \n
    \n')}]),angular.module("template/timepicker/timepicker.html",[]).run(["$templateCache",function(a){a.put("template/timepicker/timepicker.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
     
    \n \n :\n \n
     
    \n')}]),angular.module("template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(a){a.put("template/typeahead/typeahead-match.html",'') +}]),angular.module("template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(a){a.put("template/typeahead/typeahead-popup.html",'\n')}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-bootstrap/ui-bootstrap.js b/public/app/bower_components/angular-bootstrap/ui-bootstrap.js index c93f0ded..9d369325 100644 --- a/public/app/bower_components/angular-bootstrap/ui-bootstrap.js +++ b/public/app/bower_components/angular-bootstrap/ui-bootstrap.js @@ -2,7 +2,7 @@ * angular-ui-bootstrap * http://angular-ui.github.io/bootstrap/ - * Version: 0.11.0 - 2014-05-01 + * Version: 0.11.2 - 2014-09-26 * License: MIT */ angular.module("ui.bootstrap", ["ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]); @@ -746,7 +746,7 @@ angular.module('ui.bootstrap.dateparser', []) } }; - this.createParser = function(format) { + function createParser(format) { var map = [], regex = format.split(''); angular.forEach(formatCodeToRegex, function(data, code) { @@ -771,17 +771,17 @@ angular.module('ui.bootstrap.dateparser', []) regex: new RegExp('^' + regex.join('') + '$'), map: orderByFilter(map, 'index') }; - }; + } this.parse = function(input, format) { - if ( !angular.isString(input) ) { + if ( !angular.isString(input) || !format ) { return input; } format = $locale.DATETIME_FORMATS[format] || format; if ( !this.parsers[format] ) { - this.parsers[format] = this.createParser(format); + this.parsers[format] = createParser(format); } var parser = this.parsers[format], @@ -1007,7 +1007,7 @@ angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootst self[key] = angular.isDefined($attrs[key]) ? (index < 8 ? $interpolate($attrs[key])($scope.$parent) : $scope.$parent.$eval($attrs[key])) : datepickerConfig[key]; }); - // Watchable attributes + // Watchable date attributes angular.forEach(['minDate', 'maxDate'], function( key ) { if ( $attrs[key] ) { $scope.$parent.$watch($parse($attrs[key]), function(value) { @@ -1454,12 +1454,24 @@ function ($compile, $parse, $document, $position, dateFilter, dateParser, datepi }); } - angular.forEach(['minDate', 'maxDate'], function( key ) { + scope.watchData = {}; + angular.forEach(['minDate', 'maxDate', 'datepickerMode'], function( key ) { if ( attrs[key] ) { - scope.$parent.$watch($parse(attrs[key]), function(value){ - scope[key] = value; + var getAttribute = $parse(attrs[key]); + scope.$parent.$watch(getAttribute, function(value){ + scope.watchData[key] = value; }); - datepickerEl.attr(cameltoDash(key), key); + datepickerEl.attr(cameltoDash(key), 'watchData.' + key); + + // Propagate changes from datepicker to outside + if ( key === 'datepickerMode' ) { + var setAttribute = getAttribute.assign; + scope.$watch('watchData.' + key, function(value, oldvalue) { + if ( value !== oldvalue ) { + setAttribute(scope.$parent, value); + } + }); + } } }); if (attrs.dateDisabled) { @@ -1570,6 +1582,9 @@ function ($compile, $parse, $document, $position, dateFilter, dateParser, datepi }; var $popup = $compile(popupEl)(scope); + // Prevent jQuery cache memory leak (template is now redundant after linking) + popupEl.remove(); + if ( appendToBody ) { $document.find('body').append($popup); } else { @@ -1631,7 +1646,8 @@ angular.module('ui.bootstrap.dropdown', []) }; var closeDropdown = function( evt ) { - if (evt && evt.isDefaultPrevented()) { + var toggleElement = openScope.getToggleElement(); + if ( evt && toggleElement && toggleElement[0].contains(evt.target) ) { return; } @@ -1678,6 +1694,10 @@ angular.module('ui.bootstrap.dropdown', []) return scope.isOpen; }; + scope.getToggleElement = function() { + return self.toggleElement; + }; + scope.focusToggleElement = function() { if ( self.toggleElement ) { self.toggleElement[0].focus(); @@ -1819,7 +1839,8 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) restrict: 'EA', replace: true, templateUrl: 'template/modal/backdrop.html', - link: function (scope) { + link: function (scope, element, attrs) { + scope.backdropClass = attrs.backdropClass || ''; scope.animate = false; @@ -1850,8 +1871,18 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) $timeout(function () { // trigger CSS transitions scope.animate = true; - // focus a freshly-opened modal - element[0].focus(); + + /** + * Auto-focusing of a freshly-opened modal element causes any child elements + * with the autofocus attribute to loose focus. This is an issue on touch + * based devices which will show and then hide the onscreen keyboard. + * Attempts to refocus the autofocus element via JavaScript will not reopen + * the onscreen keyboard. Fixed by updated the focusing logic to only autofocus + * the modal element if the modal does not contain an autofocus element. + */ + if (!element[0].querySelectorAll('[autofocus]').length) { + element[0].focus(); + } }); scope.close = function (evt) { @@ -1866,6 +1897,17 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) }; }]) + .directive('modalTransclude', function () { + return { + link: function($scope, $element, $attrs, controller, $transclude) { + $transclude($scope.$parent, function(clone) { + $element.empty(); + $element.append(clone); + }); + } + }; + }) + .factory('$modalStack', ['$transition', '$timeout', '$document', '$compile', '$rootScope', '$$stackedMap', function ($transition, $timeout, $document, $compile, $rootScope, $$stackedMap) { @@ -1937,7 +1979,7 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) }); } else { // Ensure this call is async - $timeout(afterAnimating, 0); + $timeout(afterAnimating); } function afterAnimating() { @@ -1982,7 +2024,9 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) if (currBackdropIndex >= 0 && !backdropDomEl) { backdropScope = $rootScope.$new(true); backdropScope.index = currBackdropIndex; - backdropDomEl = $compile('
    ')(backdropScope); + var angularBackgroundDomEl = angular.element('
    '); + angularBackgroundDomEl.attr('backdrop-class', modal.backdropClass); + backdropDomEl = $compile(angularBackgroundDomEl)(backdropScope); body.append(backdropDomEl); } @@ -2002,17 +2046,17 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) }; $modalStack.close = function (modalInstance, result) { - var modalWindow = openedWindows.get(modalInstance).value; + var modalWindow = openedWindows.get(modalInstance); if (modalWindow) { - modalWindow.deferred.resolve(result); + modalWindow.value.deferred.resolve(result); removeModalWindow(modalInstance); } }; $modalStack.dismiss = function (modalInstance, reason) { - var modalWindow = openedWindows.get(modalInstance).value; + var modalWindow = openedWindows.get(modalInstance); if (modalWindow) { - modalWindow.deferred.reject(reason); + modalWindow.value.deferred.reject(reason); removeModalWindow(modalInstance); } }; @@ -2046,14 +2090,15 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) function getTemplatePromise(options) { return options.template ? $q.when(options.template) : - $http.get(options.templateUrl, {cache: $templateCache}).then(function (result) { - return result.data; + $http.get(angular.isFunction(options.templateUrl) ? (options.templateUrl)() : options.templateUrl, + {cache: $templateCache}).then(function (result) { + return result.data; }); } function getResolvePromises(resolves) { var promisesArr = []; - angular.forEach(resolves, function (value, key) { + angular.forEach(resolves, function (value) { if (angular.isFunction(value) || angular.isArray(value)) { promisesArr.push($q.when($injector.invoke(value))); } @@ -2109,6 +2154,9 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) }); ctrlInstance = $controller(modalOptions.controller, ctrlLocals); + if (modalOptions.controllerAs) { + modalScope[modalOptions.controllerAs] = ctrlInstance; + } } $modalStack.open(modalInstance, { @@ -2117,6 +2165,7 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) content: tplAndVars[0], backdrop: modalOptions.backdrop, keyboard: modalOptions.keyboard, + backdropClass: modalOptions.backdropClass, windowClass: modalOptions.windowClass, windowTemplateUrl: modalOptions.windowTemplateUrl, size: modalOptions.size @@ -3427,7 +3476,7 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.position', 'ui.bootstrap .factory('typeaheadParser', ['$parse', function ($parse) { // 00000111000000000000022200000000000000003333333333333330000000000044000 - var TYPEAHEAD_REGEXP = /^\s*(.*?)(?:\s+as\s+(.*?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+(.*)$/; + var TYPEAHEAD_REGEXP = /^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/; return { parse:function (input) { @@ -3593,6 +3642,18 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.position', 'ui.bootstrap //Declare the timeout promise var outside the function scope so that stacked calls can be cancelled later var timeoutPromise; + var scheduleSearchWithTimeout = function(inputValue) { + timeoutPromise = $timeout(function () { + getMatchesAsync(inputValue); + }, waitTime); + }; + + var cancelPreviousTimeout = function() { + if (timeoutPromise) { + $timeout.cancel(timeoutPromise); + } + }; + //plug into $parsers pipeline to open a typeahead on view changes initiated from DOM //$parsers kick-in on all the changes coming from the view as well as manually triggered by $setViewValue modelCtrl.$parsers.unshift(function (inputValue) { @@ -3601,17 +3662,14 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.position', 'ui.bootstrap if (inputValue && inputValue.length >= minSearch) { if (waitTime > 0) { - if (timeoutPromise) { - $timeout.cancel(timeoutPromise);//cancel previous timeout - } - timeoutPromise = $timeout(function () { - getMatchesAsync(inputValue); - }, waitTime); + cancelPreviousTimeout(); + scheduleSearchWithTimeout(inputValue); } else { getMatchesAsync(inputValue); } } else { isLoadingSetter(originalScope, false); + cancelPreviousTimeout(); resetMatches(); } diff --git a/public/app/bower_components/angular-bootstrap/ui-bootstrap.min.js b/public/app/bower_components/angular-bootstrap/ui-bootstrap.min.js index 53fd24ed..ffd1a9e0 100644 --- a/public/app/bower_components/angular-bootstrap/ui-bootstrap.min.js +++ b/public/app/bower_components/angular-bootstrap/ui-bootstrap.min.js @@ -2,8 +2,8 @@ * angular-ui-bootstrap * http://angular-ui.github.io/bootstrap/ - * Version: 0.11.0 - 2014-05-01 + * Version: 0.11.2 - 2014-09-26 * License: MIT */ -angular.module("ui.bootstrap",["ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.transition",[]).factory("$transition",["$q","$timeout","$rootScope",function(a,b,c){function d(a){for(var b in a)if(void 0!==f.style[b])return a[b]}var e=function(d,f,g){g=g||{};var h=a.defer(),i=e[g.animation?"animationEndEventName":"transitionEndEventName"],j=function(){c.$apply(function(){d.unbind(i,j),h.resolve(d)})};return i&&d.bind(i,j),b(function(){angular.isString(f)?d.addClass(f):angular.isFunction(f)?f(d):angular.isObject(f)&&d.css(f),i||h.resolve(d)}),h.promise.cancel=function(){i&&d.unbind(i,j),h.reject("Transition cancelled")},h.promise},f=document.createElement("trans"),g={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},h={WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"};return e.transitionEndEventName=d(g),e.animationEndEventName=d(h),e}]),angular.module("ui.bootstrap.collapse",["ui.bootstrap.transition"]).directive("collapse",["$transition",function(a){return{link:function(b,c,d){function e(b){function d(){j===e&&(j=void 0)}var e=a(c,b);return j&&j.cancel(),j=e,e.then(d,d),e}function f(){k?(k=!1,g()):(c.removeClass("collapse").addClass("collapsing"),e({height:c[0].scrollHeight+"px"}).then(g))}function g(){c.removeClass("collapsing"),c.addClass("collapse in"),c.css({height:"auto"})}function h(){if(k)k=!1,i(),c.css({height:0});else{c.css({height:c[0].scrollHeight+"px"});{c[0].offsetWidth}c.removeClass("collapse in").addClass("collapsing"),e({height:0}).then(i)}}function i(){c.removeClass("collapsing"),c.addClass("collapse")}var j,k=!0;b.$watch(d.collapse,function(a){a?h():f()})}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("accordionConfig",{closeOthers:!0}).controller("AccordionController",["$scope","$attrs","accordionConfig",function(a,b,c){this.groups=[],this.closeOthers=function(d){var e=angular.isDefined(b.closeOthers)?a.$eval(b.closeOthers):c.closeOthers;e&&angular.forEach(this.groups,function(a){a!==d&&(a.isOpen=!1)})},this.addGroup=function(a){var b=this;this.groups.push(a),a.$on("$destroy",function(){b.removeGroup(a)})},this.removeGroup=function(a){var b=this.groups.indexOf(a);-1!==b&&this.groups.splice(b,1)}}]).directive("accordion",function(){return{restrict:"EA",controller:"AccordionController",transclude:!0,replace:!1,templateUrl:"template/accordion/accordion.html"}}).directive("accordionGroup",function(){return{require:"^accordion",restrict:"EA",transclude:!0,replace:!0,templateUrl:"template/accordion/accordion-group.html",scope:{heading:"@",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(a){this.heading=a}},link:function(a,b,c,d){d.addGroup(a),a.$watch("isOpen",function(b){b&&d.closeOthers(a)}),a.toggleOpen=function(){a.isDisabled||(a.isOpen=!a.isOpen)}}}}).directive("accordionHeading",function(){return{restrict:"EA",transclude:!0,template:"",replace:!0,require:"^accordionGroup",link:function(a,b,c,d,e){d.setHeading(e(a,function(){}))}}}).directive("accordionTransclude",function(){return{require:"^accordionGroup",link:function(a,b,c,d){a.$watch(function(){return d[c.accordionTransclude]},function(a){a&&(b.html(""),b.append(a))})}}}),angular.module("ui.bootstrap.alert",[]).controller("AlertController",["$scope","$attrs",function(a,b){a.closeable="close"in b}]).directive("alert",function(){return{restrict:"EA",controller:"AlertController",templateUrl:"template/alert/alert.html",transclude:!0,replace:!0,scope:{type:"@",close:"&"}}}),angular.module("ui.bootstrap.bindHtml",[]).directive("bindHtmlUnsafe",function(){return function(a,b,c){b.addClass("ng-binding").data("$binding",c.bindHtmlUnsafe),a.$watch(c.bindHtmlUnsafe,function(a){b.html(a||"")})}}),angular.module("ui.bootstrap.buttons",[]).constant("buttonConfig",{activeClass:"active",toggleEvent:"click"}).controller("ButtonsController",["buttonConfig",function(a){this.activeClass=a.activeClass||"active",this.toggleEvent=a.toggleEvent||"click"}]).directive("btnRadio",function(){return{require:["btnRadio","ngModel"],controller:"ButtonsController",link:function(a,b,c,d){var e=d[0],f=d[1];f.$render=function(){b.toggleClass(e.activeClass,angular.equals(f.$modelValue,a.$eval(c.btnRadio)))},b.bind(e.toggleEvent,function(){var d=b.hasClass(e.activeClass);(!d||angular.isDefined(c.uncheckable))&&a.$apply(function(){f.$setViewValue(d?null:a.$eval(c.btnRadio)),f.$render()})})}}}).directive("btnCheckbox",function(){return{require:["btnCheckbox","ngModel"],controller:"ButtonsController",link:function(a,b,c,d){function e(){return g(c.btnCheckboxTrue,!0)}function f(){return g(c.btnCheckboxFalse,!1)}function g(b,c){var d=a.$eval(b);return angular.isDefined(d)?d:c}var h=d[0],i=d[1];i.$render=function(){b.toggleClass(h.activeClass,angular.equals(i.$modelValue,e()))},b.bind(h.toggleEvent,function(){a.$apply(function(){i.$setViewValue(b.hasClass(h.activeClass)?f():e()),i.$render()})})}}}),angular.module("ui.bootstrap.carousel",["ui.bootstrap.transition"]).controller("CarouselController",["$scope","$timeout","$transition",function(a,b,c){function d(){e();var c=+a.interval;!isNaN(c)&&c>=0&&(g=b(f,c))}function e(){g&&(b.cancel(g),g=null)}function f(){h?(a.next(),d()):a.pause()}var g,h,i=this,j=i.slides=a.slides=[],k=-1;i.currentSlide=null;var l=!1;i.select=a.select=function(e,f){function g(){if(!l){if(i.currentSlide&&angular.isString(f)&&!a.noTransition&&e.$element){e.$element.addClass(f);{e.$element[0].offsetWidth}angular.forEach(j,function(a){angular.extend(a,{direction:"",entering:!1,leaving:!1,active:!1})}),angular.extend(e,{direction:f,active:!0,entering:!0}),angular.extend(i.currentSlide||{},{direction:f,leaving:!0}),a.$currentTransition=c(e.$element,{}),function(b,c){a.$currentTransition.then(function(){h(b,c)},function(){h(b,c)})}(e,i.currentSlide)}else h(e,i.currentSlide);i.currentSlide=e,k=m,d()}}function h(b,c){angular.extend(b,{direction:"",active:!0,leaving:!1,entering:!1}),angular.extend(c||{},{direction:"",active:!1,leaving:!1,entering:!1}),a.$currentTransition=null}var m=j.indexOf(e);void 0===f&&(f=m>k?"next":"prev"),e&&e!==i.currentSlide&&(a.$currentTransition?(a.$currentTransition.cancel(),b(g)):g())},a.$on("$destroy",function(){l=!0}),i.indexOfSlide=function(a){return j.indexOf(a)},a.next=function(){var b=(k+1)%j.length;return a.$currentTransition?void 0:i.select(j[b],"next")},a.prev=function(){var b=0>k-1?j.length-1:k-1;return a.$currentTransition?void 0:i.select(j[b],"prev")},a.isActive=function(a){return i.currentSlide===a},a.$watch("interval",d),a.$on("$destroy",e),a.play=function(){h||(h=!0,d())},a.pause=function(){a.noPause||(h=!1,e())},i.addSlide=function(b,c){b.$element=c,j.push(b),1===j.length||b.active?(i.select(j[j.length-1]),1==j.length&&a.play()):b.active=!1},i.removeSlide=function(a){var b=j.indexOf(a);j.splice(b,1),j.length>0&&a.active?i.select(b>=j.length?j[b-1]:j[b]):k>b&&k--}}]).directive("carousel",[function(){return{restrict:"EA",transclude:!0,replace:!0,controller:"CarouselController",require:"carousel",templateUrl:"template/carousel/carousel.html",scope:{interval:"=",noTransition:"=",noPause:"="}}}]).directive("slide",function(){return{require:"^carousel",restrict:"EA",transclude:!0,replace:!0,templateUrl:"template/carousel/slide.html",scope:{active:"=?"},link:function(a,b,c,d){d.addSlide(a,b),a.$on("$destroy",function(){d.removeSlide(a)}),a.$watch("active",function(b){b&&d.select(a)})}}}),angular.module("ui.bootstrap.dateparser",[]).service("dateParser",["$locale","orderByFilter",function(a,b){function c(a,b,c){return 1===b&&c>28?29===c&&(a%4===0&&a%100!==0||a%400===0):3===b||5===b||8===b||10===b?31>c:!0}this.parsers={};var d={yyyy:{regex:"\\d{4}",apply:function(a){this.year=+a}},yy:{regex:"\\d{2}",apply:function(a){this.year=+a+2e3}},y:{regex:"\\d{1,4}",apply:function(a){this.year=+a}},MMMM:{regex:a.DATETIME_FORMATS.MONTH.join("|"),apply:function(b){this.month=a.DATETIME_FORMATS.MONTH.indexOf(b)}},MMM:{regex:a.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(b){this.month=a.DATETIME_FORMATS.SHORTMONTH.indexOf(b)}},MM:{regex:"0[1-9]|1[0-2]",apply:function(a){this.month=a-1}},M:{regex:"[1-9]|1[0-2]",apply:function(a){this.month=a-1}},dd:{regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},d:{regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},EEEE:{regex:a.DATETIME_FORMATS.DAY.join("|")},EEE:{regex:a.DATETIME_FORMATS.SHORTDAY.join("|")}};this.createParser=function(a){var c=[],e=a.split("");return angular.forEach(d,function(b,d){var f=a.indexOf(d);if(f>-1){a=a.split(""),e[f]="("+b.regex+")",a[f]="$";for(var g=f+1,h=f+d.length;h>g;g++)e[g]="",a[g]="$";a=a.join(""),c.push({index:f,apply:b.apply})}}),{regex:new RegExp("^"+e.join("")+"$"),map:b(c,"index")}},this.parse=function(b,d){if(!angular.isString(b))return b;d=a.DATETIME_FORMATS[d]||d,this.parsers[d]||(this.parsers[d]=this.createParser(d));var e=this.parsers[d],f=e.regex,g=e.map,h=b.match(f);if(h&&h.length){for(var i,j={year:1900,month:0,date:1,hours:0},k=1,l=h.length;l>k;k++){var m=g[k-1];m.apply&&m.apply.call(j,h[k])}return c(j.year,j.month,j.date)&&(i=new Date(j.year,j.month,j.date,j.hours)),i}}}]),angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function(a,b){function c(a,c){return a.currentStyle?a.currentStyle[c]:b.getComputedStyle?b.getComputedStyle(a)[c]:a.style[c]}function d(a){return"static"===(c(a,"position")||"static")}var e=function(b){for(var c=a[0],e=b.offsetParent||c;e&&e!==c&&d(e);)e=e.offsetParent;return e||c};return{position:function(b){var c=this.offset(b),d={top:0,left:0},f=e(b[0]);f!=a[0]&&(d=this.offset(angular.element(f)),d.top+=f.clientTop-f.scrollTop,d.left+=f.clientLeft-f.scrollLeft);var g=b[0].getBoundingClientRect();return{width:g.width||b.prop("offsetWidth"),height:g.height||b.prop("offsetHeight"),top:c.top-d.top,left:c.left-d.left}},offset:function(c){var d=c[0].getBoundingClientRect();return{width:d.width||c.prop("offsetWidth"),height:d.height||c.prop("offsetHeight"),top:d.top+(b.pageYOffset||a[0].documentElement.scrollTop),left:d.left+(b.pageXOffset||a[0].documentElement.scrollLeft)}},positionElements:function(a,b,c,d){var e,f,g,h,i=c.split("-"),j=i[0],k=i[1]||"center";e=d?this.offset(a):this.position(a),f=b.prop("offsetWidth"),g=b.prop("offsetHeight");var l={center:function(){return e.left+e.width/2-f/2},left:function(){return e.left},right:function(){return e.left+e.width}},m={center:function(){return e.top+e.height/2-g/2},top:function(){return e.top},bottom:function(){return e.top+e.height}};switch(j){case"right":h={top:m[k](),left:l[j]()};break;case"left":h={top:m[k](),left:e.left-f};break;case"bottom":h={top:m[j](),left:l[k]()};break;default:h={top:e.top-g,left:l[k]()}}return h}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.position"]).constant("datepickerConfig",{formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",datepickerMode:"day",minMode:"day",maxMode:"year",showWeeks:!0,startingDay:0,yearRange:20,minDate:null,maxDate:null}).controller("DatepickerController",["$scope","$attrs","$parse","$interpolate","$timeout","$log","dateFilter","datepickerConfig",function(a,b,c,d,e,f,g,h){var i=this,j={$setViewValue:angular.noop};this.modes=["day","month","year"],angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","minMode","maxMode","showWeeks","startingDay","yearRange"],function(c,e){i[c]=angular.isDefined(b[c])?8>e?d(b[c])(a.$parent):a.$parent.$eval(b[c]):h[c]}),angular.forEach(["minDate","maxDate"],function(d){b[d]?a.$parent.$watch(c(b[d]),function(a){i[d]=a?new Date(a):null,i.refreshView()}):i[d]=h[d]?new Date(h[d]):null}),a.datepickerMode=a.datepickerMode||h.datepickerMode,a.uniqueId="datepicker-"+a.$id+"-"+Math.floor(1e4*Math.random()),this.activeDate=angular.isDefined(b.initDate)?a.$parent.$eval(b.initDate):new Date,a.isActive=function(b){return 0===i.compare(b.date,i.activeDate)?(a.activeDateId=b.uid,!0):!1},this.init=function(a){j=a,j.$render=function(){i.render()}},this.render=function(){if(j.$modelValue){var a=new Date(j.$modelValue),b=!isNaN(a);b?this.activeDate=a:f.error('Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.'),j.$setValidity("date",b)}this.refreshView()},this.refreshView=function(){if(this.element){this._refreshView();var a=j.$modelValue?new Date(j.$modelValue):null;j.$setValidity("date-disabled",!a||this.element&&!this.isDisabled(a))}},this.createDateObject=function(a,b){var c=j.$modelValue?new Date(j.$modelValue):null;return{date:a,label:g(a,b),selected:c&&0===this.compare(a,c),disabled:this.isDisabled(a),current:0===this.compare(a,new Date)}},this.isDisabled=function(c){return this.minDate&&this.compare(c,this.minDate)<0||this.maxDate&&this.compare(c,this.maxDate)>0||b.dateDisabled&&a.dateDisabled({date:c,mode:a.datepickerMode})},this.split=function(a,b){for(var c=[];a.length>0;)c.push(a.splice(0,b));return c},a.select=function(b){if(a.datepickerMode===i.minMode){var c=j.$modelValue?new Date(j.$modelValue):new Date(0,0,0,0,0,0,0);c.setFullYear(b.getFullYear(),b.getMonth(),b.getDate()),j.$setViewValue(c),j.$render()}else i.activeDate=b,a.datepickerMode=i.modes[i.modes.indexOf(a.datepickerMode)-1]},a.move=function(a){var b=i.activeDate.getFullYear()+a*(i.step.years||0),c=i.activeDate.getMonth()+a*(i.step.months||0);i.activeDate.setFullYear(b,c,1),i.refreshView()},a.toggleMode=function(b){b=b||1,a.datepickerMode===i.maxMode&&1===b||a.datepickerMode===i.minMode&&-1===b||(a.datepickerMode=i.modes[i.modes.indexOf(a.datepickerMode)+b])},a.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var k=function(){e(function(){i.element[0].focus()},0,!1)};a.$on("datepicker.focus",k),a.keydown=function(b){var c=a.keys[b.which];if(c&&!b.shiftKey&&!b.altKey)if(b.preventDefault(),b.stopPropagation(),"enter"===c||"space"===c){if(i.isDisabled(i.activeDate))return;a.select(i.activeDate),k()}else!b.ctrlKey||"up"!==c&&"down"!==c?(i.handleKeyDown(c,b),i.refreshView()):(a.toggleMode("up"===c?1:-1),k())}}]).directive("datepicker",function(){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/datepicker.html",scope:{datepickerMode:"=?",dateDisabled:"&"},require:["datepicker","?^ngModel"],controller:"DatepickerController",link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f)}}}).directive("daypicker",["dateFilter",function(a){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/day.html",require:"^datepicker",link:function(b,c,d,e){function f(a,b){return 1!==b||a%4!==0||a%100===0&&a%400!==0?i[b]:29}function g(a,b){var c=new Array(b),d=new Date(a),e=0;for(d.setHours(12);b>e;)c[e++]=new Date(d),d.setDate(d.getDate()+1);return c}function h(a){var b=new Date(a);b.setDate(b.getDate()+4-(b.getDay()||7));var c=b.getTime();return b.setMonth(0),b.setDate(1),Math.floor(Math.round((c-b)/864e5)/7)+1}b.showWeeks=e.showWeeks,e.step={months:1},e.element=c;var i=[31,28,31,30,31,30,31,31,30,31,30,31];e._refreshView=function(){var c=e.activeDate.getFullYear(),d=e.activeDate.getMonth(),f=new Date(c,d,1),i=e.startingDay-f.getDay(),j=i>0?7-i:-i,k=new Date(f);j>0&&k.setDate(-j+1);for(var l=g(k,42),m=0;42>m;m++)l[m]=angular.extend(e.createDateObject(l[m],e.formatDay),{secondary:l[m].getMonth()!==d,uid:b.uniqueId+"-"+m});b.labels=new Array(7);for(var n=0;7>n;n++)b.labels[n]={abbr:a(l[n].date,e.formatDayHeader),full:a(l[n].date,"EEEE")};if(b.title=a(e.activeDate,e.formatDayTitle),b.rows=e.split(l,7),b.showWeeks){b.weekNumbers=[];for(var o=h(b.rows[0][0].date),p=b.rows.length;b.weekNumbers.push(o++)f;f++)c[f]=angular.extend(e.createDateObject(new Date(d,f,1),e.formatMonth),{uid:b.uniqueId+"-"+f});b.title=a(e.activeDate,e.formatMonthTitle),b.rows=e.split(c,3)},e.compare=function(a,b){return new Date(a.getFullYear(),a.getMonth())-new Date(b.getFullYear(),b.getMonth())},e.handleKeyDown=function(a){var b=e.activeDate.getMonth();if("left"===a)b-=1;else if("up"===a)b-=3;else if("right"===a)b+=1;else if("down"===a)b+=3;else if("pageup"===a||"pagedown"===a){var c=e.activeDate.getFullYear()+("pageup"===a?-1:1);e.activeDate.setFullYear(c)}else"home"===a?b=0:"end"===a&&(b=11);e.activeDate.setMonth(b)},e.refreshView()}}}]).directive("yearpicker",["dateFilter",function(){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/year.html",require:"^datepicker",link:function(a,b,c,d){function e(a){return parseInt((a-1)/f,10)*f+1}var f=d.yearRange;d.step={years:f},d.element=b,d._refreshView=function(){for(var b=new Array(f),c=0,g=e(d.activeDate.getFullYear());f>c;c++)b[c]=angular.extend(d.createDateObject(new Date(g+c,0,1),d.formatYear),{uid:a.uniqueId+"-"+c});a.title=[b[0].label,b[f-1].label].join(" - "),a.rows=d.split(b,5)},d.compare=function(a,b){return a.getFullYear()-b.getFullYear()},d.handleKeyDown=function(a){var b=d.activeDate.getFullYear();"left"===a?b-=1:"up"===a?b-=5:"right"===a?b+=1:"down"===a?b+=5:"pageup"===a||"pagedown"===a?b+=("pageup"===a?-1:1)*d.step.years:"home"===a?b=e(d.activeDate.getFullYear()):"end"===a&&(b=e(d.activeDate.getFullYear())+f-1),d.activeDate.setFullYear(b)},d.refreshView()}}}]).constant("datepickerPopupConfig",{datepickerPopup:"yyyy-MM-dd",currentText:"Today",clearText:"Clear",closeText:"Done",closeOnDateSelection:!0,appendToBody:!1,showButtonBar:!0}).directive("datepickerPopup",["$compile","$parse","$document","$position","dateFilter","dateParser","datepickerPopupConfig",function(a,b,c,d,e,f,g){return{restrict:"EA",require:"ngModel",scope:{isOpen:"=?",currentText:"@",clearText:"@",closeText:"@",dateDisabled:"&"},link:function(h,i,j,k){function l(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function m(a){if(a){if(angular.isDate(a)&&!isNaN(a))return k.$setValidity("date",!0),a;if(angular.isString(a)){var b=f.parse(a,n)||new Date(a);return isNaN(b)?void k.$setValidity("date",!1):(k.$setValidity("date",!0),b)}return void k.$setValidity("date",!1)}return k.$setValidity("date",!0),null}var n,o=angular.isDefined(j.closeOnDateSelection)?h.$parent.$eval(j.closeOnDateSelection):g.closeOnDateSelection,p=angular.isDefined(j.datepickerAppendToBody)?h.$parent.$eval(j.datepickerAppendToBody):g.appendToBody;h.showButtonBar=angular.isDefined(j.showButtonBar)?h.$parent.$eval(j.showButtonBar):g.showButtonBar,h.getText=function(a){return h[a+"Text"]||g[a+"Text"]},j.$observe("datepickerPopup",function(a){n=a||g.datepickerPopup,k.$render()});var q=angular.element("
    ");q.attr({"ng-model":"date","ng-change":"dateSelection()"});var r=angular.element(q.children()[0]);j.datepickerOptions&&angular.forEach(h.$parent.$eval(j.datepickerOptions),function(a,b){r.attr(l(b),a)}),angular.forEach(["minDate","maxDate"],function(a){j[a]&&(h.$parent.$watch(b(j[a]),function(b){h[a]=b}),r.attr(l(a),a))}),j.dateDisabled&&r.attr("date-disabled","dateDisabled({ date: date, mode: mode })"),k.$parsers.unshift(m),h.dateSelection=function(a){angular.isDefined(a)&&(h.date=a),k.$setViewValue(h.date),k.$render(),o&&(h.isOpen=!1,i[0].focus())},i.bind("input change keyup",function(){h.$apply(function(){h.date=k.$modelValue})}),k.$render=function(){var a=k.$viewValue?e(k.$viewValue,n):"";i.val(a),h.date=m(k.$modelValue)};var s=function(a){h.isOpen&&a.target!==i[0]&&h.$apply(function(){h.isOpen=!1})},t=function(a){h.keydown(a)};i.bind("keydown",t),h.keydown=function(a){27===a.which?(a.preventDefault(),a.stopPropagation(),h.close()):40!==a.which||h.isOpen||(h.isOpen=!0)},h.$watch("isOpen",function(a){a?(h.$broadcast("datepicker.focus"),h.position=p?d.offset(i):d.position(i),h.position.top=h.position.top+i.prop("offsetHeight"),c.bind("click",s)):c.unbind("click",s)}),h.select=function(a){if("today"===a){var b=new Date;angular.isDate(k.$modelValue)?(a=new Date(k.$modelValue),a.setFullYear(b.getFullYear(),b.getMonth(),b.getDate())):a=new Date(b.setHours(0,0,0,0))}h.dateSelection(a)},h.close=function(){h.isOpen=!1,i[0].focus()};var u=a(q)(h);p?c.find("body").append(u):i.after(u),h.$on("$destroy",function(){u.remove(),i.unbind("keydown",t),c.unbind("click",s)})}}}]).directive("datepickerPopupWrap",function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"template/datepicker/popup.html",link:function(a,b){b.bind("click",function(a){a.preventDefault(),a.stopPropagation()})}}}),angular.module("ui.bootstrap.dropdown",[]).constant("dropdownConfig",{openClass:"open"}).service("dropdownService",["$document",function(a){var b=null;this.open=function(e){b||(a.bind("click",c),a.bind("keydown",d)),b&&b!==e&&(b.isOpen=!1),b=e},this.close=function(e){b===e&&(b=null,a.unbind("click",c),a.unbind("keydown",d))};var c=function(a){a&&a.isDefaultPrevented()||b.$apply(function(){b.isOpen=!1})},d=function(a){27===a.which&&(b.focusToggleElement(),c())}}]).controller("DropdownController",["$scope","$attrs","$parse","dropdownConfig","dropdownService","$animate",function(a,b,c,d,e,f){var g,h=this,i=a.$new(),j=d.openClass,k=angular.noop,l=b.onToggle?c(b.onToggle):angular.noop;this.init=function(d){h.$element=d,b.isOpen&&(g=c(b.isOpen),k=g.assign,a.$watch(g,function(a){i.isOpen=!!a}))},this.toggle=function(a){return i.isOpen=arguments.length?!!a:!i.isOpen},this.isOpen=function(){return i.isOpen},i.focusToggleElement=function(){h.toggleElement&&h.toggleElement[0].focus()},i.$watch("isOpen",function(b,c){f[b?"addClass":"removeClass"](h.$element,j),b?(i.focusToggleElement(),e.open(i)):e.close(i),k(a,b),angular.isDefined(b)&&b!==c&&l(a,{open:!!b})}),a.$on("$locationChangeSuccess",function(){i.isOpen=!1}),a.$on("$destroy",function(){i.$destroy()})}]).directive("dropdown",function(){return{restrict:"CA",controller:"DropdownController",link:function(a,b,c,d){d.init(b)}}}).directive("dropdownToggle",function(){return{restrict:"CA",require:"?^dropdown",link:function(a,b,c,d){if(d){d.toggleElement=b;var e=function(e){e.preventDefault(),b.hasClass("disabled")||c.disabled||a.$apply(function(){d.toggle()})};b.bind("click",e),b.attr({"aria-haspopup":!0,"aria-expanded":!1}),a.$watch(d.isOpen,function(a){b.attr("aria-expanded",!!a)}),a.$on("$destroy",function(){b.unbind("click",e)})}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.transition"]).factory("$$stackedMap",function(){return{createNew:function(){var a=[];return{add:function(b,c){a.push({key:b,value:c})},get:function(b){for(var c=0;c0),i()})}function i(){if(k&&-1==g()){var a=l;j(k,l,150,function(){a.$destroy(),a=null}),k=void 0,l=void 0}}function j(c,d,e,f){function g(){g.done||(g.done=!0,c.remove(),f&&f())}d.animate=!1;var h=a.transitionEndEventName;if(h){var i=b(g,e);c.bind(h,function(){b.cancel(i),g(),d.$apply()})}else b(g,0)}var k,l,m="modal-open",n=f.createNew(),o={};return e.$watch(g,function(a){l&&(l.index=a)}),c.bind("keydown",function(a){var b;27===a.which&&(b=n.top(),b&&b.value.keyboard&&(a.preventDefault(),e.$apply(function(){o.dismiss(b.key,"escape key press")})))}),o.open=function(a,b){n.add(a,{deferred:b.deferred,modalScope:b.scope,backdrop:b.backdrop,keyboard:b.keyboard});var f=c.find("body").eq(0),h=g();h>=0&&!k&&(l=e.$new(!0),l.index=h,k=d("
    ")(l),f.append(k));var i=angular.element("
    ");i.attr({"template-url":b.windowTemplateUrl,"window-class":b.windowClass,size:b.size,index:n.length()-1,animate:"animate"}).html(b.content);var j=d(i)(b.scope);n.top().value.modalDomEl=j,f.append(j),f.addClass(m)},o.close=function(a,b){var c=n.get(a).value;c&&(c.deferred.resolve(b),h(a))},o.dismiss=function(a,b){var c=n.get(a).value;c&&(c.deferred.reject(b),h(a))},o.dismissAll=function(a){for(var b=this.getTop();b;)this.dismiss(b.key,a),b=this.getTop()},o.getTop=function(){return n.top()},o}]).provider("$modal",function(){var a={options:{backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$http","$templateCache","$controller","$modalStack",function(b,c,d,e,f,g,h){function i(a){return a.template?d.when(a.template):e.get(a.templateUrl,{cache:f}).then(function(a){return a.data})}function j(a){var c=[];return angular.forEach(a,function(a){(angular.isFunction(a)||angular.isArray(a))&&c.push(d.when(b.invoke(a)))}),c}var k={};return k.open=function(b){var e=d.defer(),f=d.defer(),k={result:e.promise,opened:f.promise,close:function(a){h.close(k,a)},dismiss:function(a){h.dismiss(k,a)}};if(b=angular.extend({},a.options,b),b.resolve=b.resolve||{},!b.template&&!b.templateUrl)throw new Error("One of template or templateUrl options is required.");var l=d.all([i(b)].concat(j(b.resolve)));return l.then(function(a){var d=(b.scope||c).$new();d.$close=k.close,d.$dismiss=k.dismiss;var f,i={},j=1;b.controller&&(i.$scope=d,i.$modalInstance=k,angular.forEach(b.resolve,function(b,c){i[c]=a[j++]}),f=g(b.controller,i)),h.open(k,{scope:d,deferred:e,content:a[0],backdrop:b.backdrop,keyboard:b.keyboard,windowClass:b.windowClass,windowTemplateUrl:b.windowTemplateUrl,size:b.size})},function(a){e.reject(a)}),l.then(function(){f.resolve(!0)},function(){f.reject(!1)}),k},k}]};return a}),angular.module("ui.bootstrap.pagination",[]).controller("PaginationController",["$scope","$attrs","$parse",function(a,b,c){var d=this,e={$setViewValue:angular.noop},f=b.numPages?c(b.numPages).assign:angular.noop;this.init=function(f,g){e=f,this.config=g,e.$render=function(){d.render()},b.itemsPerPage?a.$parent.$watch(c(b.itemsPerPage),function(b){d.itemsPerPage=parseInt(b,10),a.totalPages=d.calculateTotalPages()}):this.itemsPerPage=g.itemsPerPage},this.calculateTotalPages=function(){var b=this.itemsPerPage<1?1:Math.ceil(a.totalItems/this.itemsPerPage);return Math.max(b||0,1)},this.render=function(){a.page=parseInt(e.$viewValue,10)||1},a.selectPage=function(b){a.page!==b&&b>0&&b<=a.totalPages&&(e.$setViewValue(b),e.$render())},a.getText=function(b){return a[b+"Text"]||d.config[b+"Text"]},a.noPrevious=function(){return 1===a.page},a.noNext=function(){return a.page===a.totalPages},a.$watch("totalItems",function(){a.totalPages=d.calculateTotalPages()}),a.$watch("totalPages",function(b){f(a.$parent,b),a.page>b?a.selectPage(b):e.$render()})}]).constant("paginationConfig",{itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0}).directive("pagination",["$parse","paginationConfig",function(a,b){return{restrict:"EA",scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@"},require:["pagination","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pagination.html",replace:!0,link:function(c,d,e,f){function g(a,b,c){return{number:a,text:b,active:c}}function h(a,b){var c=[],d=1,e=b,f=angular.isDefined(k)&&b>k;f&&(l?(d=Math.max(a-Math.floor(k/2),1),e=d+k-1,e>b&&(e=b,d=e-k+1)):(d=(Math.ceil(a/k)-1)*k+1,e=Math.min(d+k-1,b)));for(var h=d;e>=h;h++){var i=g(h,h,h===a);c.push(i)}if(f&&!l){if(d>1){var j=g(d-1,"...",!1);c.unshift(j)}if(b>e){var m=g(e+1,"...",!1);c.push(m)}}return c}var i=f[0],j=f[1];if(j){var k=angular.isDefined(e.maxSize)?c.$parent.$eval(e.maxSize):b.maxSize,l=angular.isDefined(e.rotate)?c.$parent.$eval(e.rotate):b.rotate;c.boundaryLinks=angular.isDefined(e.boundaryLinks)?c.$parent.$eval(e.boundaryLinks):b.boundaryLinks,c.directionLinks=angular.isDefined(e.directionLinks)?c.$parent.$eval(e.directionLinks):b.directionLinks,i.init(j,b),e.maxSize&&c.$parent.$watch(a(e.maxSize),function(a){k=parseInt(a,10),i.render()});var m=i.render;i.render=function(){m(),c.page>0&&c.page<=c.totalPages&&(c.pages=h(c.page,c.totalPages))}}}}}]).constant("pagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("pager",["pagerConfig",function(a){return{restrict:"EA",scope:{totalItems:"=",previousText:"@",nextText:"@"},require:["pager","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pager.html",replace:!0,link:function(b,c,d,e){var f=e[0],g=e[1];g&&(b.align=angular.isDefined(d.align)?b.$parent.$eval(d.align):a.align,f.init(g,a))}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",function(){function a(a){var b=/[A-Z]/g,c="-";return a.replace(b,function(a,b){return(b?c:"")+a.toLowerCase()})}var b={placement:"top",animation:!0,popupDelay:0},c={mouseenter:"mouseleave",click:"click",focus:"blur"},d={};this.options=function(a){angular.extend(d,a)},this.setTriggers=function(a){angular.extend(c,a)},this.$get=["$window","$compile","$timeout","$parse","$document","$position","$interpolate",function(e,f,g,h,i,j,k){return function(e,l,m){function n(a){var b=a||o.trigger||m,d=c[b]||b;return{show:b,hide:d}}var o=angular.extend({},b,d),p=a(e),q=k.startSymbol(),r=k.endSymbol(),s="
    ';return{restrict:"EA",scope:!0,compile:function(){var a=f(s);return function(b,c,d){function f(){b.tt_isOpen?m():k()}function k(){(!y||b.$eval(d[l+"Enable"]))&&(b.tt_popupDelay?v||(v=g(p,b.tt_popupDelay,!1),v.then(function(a){a() -})):p()())}function m(){b.$apply(function(){q()})}function p(){return v=null,u&&(g.cancel(u),u=null),b.tt_content?(r(),t.css({top:0,left:0,display:"block"}),w?i.find("body").append(t):c.after(t),z(),b.tt_isOpen=!0,b.$digest(),z):angular.noop}function q(){b.tt_isOpen=!1,g.cancel(v),v=null,b.tt_animation?u||(u=g(s,500)):s()}function r(){t&&s(),t=a(b,function(){}),b.$digest()}function s(){u=null,t&&(t.remove(),t=null)}var t,u,v,w=angular.isDefined(o.appendToBody)?o.appendToBody:!1,x=n(void 0),y=angular.isDefined(d[l+"Enable"]),z=function(){var a=j.positionElements(c,t,b.tt_placement,w);a.top+="px",a.left+="px",t.css(a)};b.tt_isOpen=!1,d.$observe(e,function(a){b.tt_content=a,!a&&b.tt_isOpen&&q()}),d.$observe(l+"Title",function(a){b.tt_title=a}),d.$observe(l+"Placement",function(a){b.tt_placement=angular.isDefined(a)?a:o.placement}),d.$observe(l+"PopupDelay",function(a){var c=parseInt(a,10);b.tt_popupDelay=isNaN(c)?o.popupDelay:c});var A=function(){c.unbind(x.show,k),c.unbind(x.hide,m)};d.$observe(l+"Trigger",function(a){A(),x=n(a),x.show===x.hide?c.bind(x.show,f):(c.bind(x.show,k),c.bind(x.hide,m))});var B=b.$eval(d[l+"Animation"]);b.tt_animation=angular.isDefined(B)?!!B:o.animation,d.$observe(l+"AppendToBody",function(a){w=angular.isDefined(a)?h(a)(b):w}),w&&b.$on("$locationChangeSuccess",function(){b.tt_isOpen&&q()}),b.$on("$destroy",function(){g.cancel(u),g.cancel(v),A(),s()})}}}}}]}).directive("tooltipPopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}}).directive("tooltip",["$tooltip",function(a){return a("tooltip","tooltip","mouseenter")}]).directive("tooltipHtmlUnsafePopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}}).directive("tooltipHtmlUnsafe",["$tooltip",function(a){return a("tooltipHtmlUnsafe","tooltip","mouseenter")}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("popoverPopup",function(){return{restrict:"EA",replace:!0,scope:{title:"@",content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover.html"}}).directive("popover",["$tooltip",function(a){return a("popover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("progressConfig",{animate:!0,max:100}).controller("ProgressController",["$scope","$attrs","progressConfig",function(a,b,c){var d=this,e=angular.isDefined(b.animate)?a.$parent.$eval(b.animate):c.animate;this.bars=[],a.max=angular.isDefined(b.max)?a.$parent.$eval(b.max):c.max,this.addBar=function(b,c){e||c.css({transition:"none"}),this.bars.push(b),b.$watch("value",function(c){b.percent=+(100*c/a.max).toFixed(2)}),b.$on("$destroy",function(){c=null,d.removeBar(b)})},this.removeBar=function(a){this.bars.splice(this.bars.indexOf(a),1)}}]).directive("progress",function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",require:"progress",scope:{},templateUrl:"template/progressbar/progress.html"}}).directive("bar",function(){return{restrict:"EA",replace:!0,transclude:!0,require:"^progress",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/bar.html",link:function(a,b,c,d){d.addBar(a,b)}}}).directive("progressbar",function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/progressbar.html",link:function(a,b,c,d){d.addBar(a,angular.element(b.children()[0]))}}}),angular.module("ui.bootstrap.rating",[]).constant("ratingConfig",{max:5,stateOn:null,stateOff:null}).controller("RatingController",["$scope","$attrs","ratingConfig",function(a,b,c){var d={$setViewValue:angular.noop};this.init=function(e){d=e,d.$render=this.render,this.stateOn=angular.isDefined(b.stateOn)?a.$parent.$eval(b.stateOn):c.stateOn,this.stateOff=angular.isDefined(b.stateOff)?a.$parent.$eval(b.stateOff):c.stateOff;var f=angular.isDefined(b.ratingStates)?a.$parent.$eval(b.ratingStates):new Array(angular.isDefined(b.max)?a.$parent.$eval(b.max):c.max);a.range=this.buildTemplateObjects(f)},this.buildTemplateObjects=function(a){for(var b=0,c=a.length;c>b;b++)a[b]=angular.extend({index:b},{stateOn:this.stateOn,stateOff:this.stateOff},a[b]);return a},a.rate=function(b){!a.readonly&&b>=0&&b<=a.range.length&&(d.$setViewValue(b),d.$render())},a.enter=function(b){a.readonly||(a.value=b),a.onHover({value:b})},a.reset=function(){a.value=d.$viewValue,a.onLeave()},a.onKeydown=function(b){/(37|38|39|40)/.test(b.which)&&(b.preventDefault(),b.stopPropagation(),a.rate(a.value+(38===b.which||39===b.which?1:-1)))},this.render=function(){a.value=d.$viewValue}}]).directive("rating",function(){return{restrict:"EA",require:["rating","ngModel"],scope:{readonly:"=?",onHover:"&",onLeave:"&"},controller:"RatingController",templateUrl:"template/rating/rating.html",replace:!0,link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f)}}}),angular.module("ui.bootstrap.tabs",[]).controller("TabsetController",["$scope",function(a){var b=this,c=b.tabs=a.tabs=[];b.select=function(a){angular.forEach(c,function(b){b.active&&b!==a&&(b.active=!1,b.onDeselect())}),a.active=!0,a.onSelect()},b.addTab=function(a){c.push(a),1===c.length?a.active=!0:a.active&&b.select(a)},b.removeTab=function(a){var d=c.indexOf(a);if(a.active&&c.length>1){var e=d==c.length-1?d-1:d+1;b.select(c[e])}c.splice(d,1)}}]).directive("tabset",function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{type:"@"},controller:"TabsetController",templateUrl:"template/tabs/tabset.html",link:function(a,b,c){a.vertical=angular.isDefined(c.vertical)?a.$parent.$eval(c.vertical):!1,a.justified=angular.isDefined(c.justified)?a.$parent.$eval(c.justified):!1}}}).directive("tab",["$parse",function(a){return{require:"^tabset",restrict:"EA",replace:!0,templateUrl:"template/tabs/tab.html",transclude:!0,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},compile:function(b,c,d){return function(b,c,e,f){b.$watch("active",function(a){a&&f.select(b)}),b.disabled=!1,e.disabled&&b.$parent.$watch(a(e.disabled),function(a){b.disabled=!!a}),b.select=function(){b.disabled||(b.active=!0)},f.addTab(b),b.$on("$destroy",function(){f.removeTab(b)}),b.$transcludeFn=d}}}}]).directive("tabHeadingTransclude",[function(){return{restrict:"A",require:"^tab",link:function(a,b){a.$watch("headingElement",function(a){a&&(b.html(""),b.append(a))})}}}]).directive("tabContentTransclude",function(){function a(a){return a.tagName&&(a.hasAttribute("tab-heading")||a.hasAttribute("data-tab-heading")||"tab-heading"===a.tagName.toLowerCase()||"data-tab-heading"===a.tagName.toLowerCase())}return{restrict:"A",require:"^tabset",link:function(b,c,d){var e=b.$eval(d.tabContentTransclude);e.$transcludeFn(e.$parent,function(b){angular.forEach(b,function(b){a(b)?e.headingElement=b:c.append(b)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("timepickerConfig",{hourStep:1,minuteStep:1,showMeridian:!0,meridians:null,readonlyInput:!1,mousewheel:!0}).controller("TimepickerController",["$scope","$attrs","$parse","$log","$locale","timepickerConfig",function(a,b,c,d,e,f){function g(){var b=parseInt(a.hours,10),c=a.showMeridian?b>0&&13>b:b>=0&&24>b;return c?(a.showMeridian&&(12===b&&(b=0),a.meridian===p[1]&&(b+=12)),b):void 0}function h(){var b=parseInt(a.minutes,10);return b>=0&&60>b?b:void 0}function i(a){return angular.isDefined(a)&&a.toString().length<2?"0"+a:a}function j(a){k(),o.$setViewValue(new Date(n)),l(a)}function k(){o.$setValidity("time",!0),a.invalidHours=!1,a.invalidMinutes=!1}function l(b){var c=n.getHours(),d=n.getMinutes();a.showMeridian&&(c=0===c||12===c?12:c%12),a.hours="h"===b?c:i(c),a.minutes="m"===b?d:i(d),a.meridian=n.getHours()<12?p[0]:p[1]}function m(a){var b=new Date(n.getTime()+6e4*a);n.setHours(b.getHours(),b.getMinutes()),j()}var n=new Date,o={$setViewValue:angular.noop},p=angular.isDefined(b.meridians)?a.$parent.$eval(b.meridians):f.meridians||e.DATETIME_FORMATS.AMPMS;this.init=function(c,d){o=c,o.$render=this.render;var e=d.eq(0),g=d.eq(1),h=angular.isDefined(b.mousewheel)?a.$parent.$eval(b.mousewheel):f.mousewheel;h&&this.setupMousewheelEvents(e,g),a.readonlyInput=angular.isDefined(b.readonlyInput)?a.$parent.$eval(b.readonlyInput):f.readonlyInput,this.setupInputEvents(e,g)};var q=f.hourStep;b.hourStep&&a.$parent.$watch(c(b.hourStep),function(a){q=parseInt(a,10)});var r=f.minuteStep;b.minuteStep&&a.$parent.$watch(c(b.minuteStep),function(a){r=parseInt(a,10)}),a.showMeridian=f.showMeridian,b.showMeridian&&a.$parent.$watch(c(b.showMeridian),function(b){if(a.showMeridian=!!b,o.$error.time){var c=g(),d=h();angular.isDefined(c)&&angular.isDefined(d)&&(n.setHours(c),j())}else l()}),this.setupMousewheelEvents=function(b,c){var d=function(a){a.originalEvent&&(a=a.originalEvent);var b=a.wheelDelta?a.wheelDelta:-a.deltaY;return a.detail||b>0};b.bind("mousewheel wheel",function(b){a.$apply(d(b)?a.incrementHours():a.decrementHours()),b.preventDefault()}),c.bind("mousewheel wheel",function(b){a.$apply(d(b)?a.incrementMinutes():a.decrementMinutes()),b.preventDefault()})},this.setupInputEvents=function(b,c){if(a.readonlyInput)return a.updateHours=angular.noop,void(a.updateMinutes=angular.noop);var d=function(b,c){o.$setViewValue(null),o.$setValidity("time",!1),angular.isDefined(b)&&(a.invalidHours=b),angular.isDefined(c)&&(a.invalidMinutes=c)};a.updateHours=function(){var a=g();angular.isDefined(a)?(n.setHours(a),j("h")):d(!0)},b.bind("blur",function(){!a.invalidHours&&a.hours<10&&a.$apply(function(){a.hours=i(a.hours)})}),a.updateMinutes=function(){var a=h();angular.isDefined(a)?(n.setMinutes(a),j("m")):d(void 0,!0)},c.bind("blur",function(){!a.invalidMinutes&&a.minutes<10&&a.$apply(function(){a.minutes=i(a.minutes)})})},this.render=function(){var a=o.$modelValue?new Date(o.$modelValue):null;isNaN(a)?(o.$setValidity("time",!1),d.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(a&&(n=a),k(),l())},a.incrementHours=function(){m(60*q)},a.decrementHours=function(){m(60*-q)},a.incrementMinutes=function(){m(r)},a.decrementMinutes=function(){m(-r)},a.toggleMeridian=function(){m(720*(n.getHours()<12?1:-1))}}]).directive("timepicker",function(){return{restrict:"EA",require:["timepicker","?^ngModel"],controller:"TimepickerController",replace:!0,scope:{},templateUrl:"template/timepicker/timepicker.html",link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f,b.find("input"))}}}),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).factory("typeaheadParser",["$parse",function(a){var b=/^\s*(.*?)(?:\s+as\s+(.*?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+(.*)$/;return{parse:function(c){var d=c.match(b);if(!d)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+c+'".');return{itemName:d[3],source:a(d[4]),viewMapper:a(d[2]||d[1]),modelMapper:a(d[1])}}}}]).directive("typeahead",["$compile","$parse","$q","$timeout","$document","$position","typeaheadParser",function(a,b,c,d,e,f,g){var h=[9,13,27,38,40];return{require:"ngModel",link:function(i,j,k,l){var m,n=i.$eval(k.typeaheadMinLength)||1,o=i.$eval(k.typeaheadWaitMs)||0,p=i.$eval(k.typeaheadEditable)!==!1,q=b(k.typeaheadLoading).assign||angular.noop,r=b(k.typeaheadOnSelect),s=k.typeaheadInputFormatter?b(k.typeaheadInputFormatter):void 0,t=k.typeaheadAppendToBody?i.$eval(k.typeaheadAppendToBody):!1,u=b(k.ngModel).assign,v=g.parse(k.typeahead),w=i.$new();i.$on("$destroy",function(){w.$destroy()});var x="typeahead-"+w.$id+"-"+Math.floor(1e4*Math.random());j.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":x});var y=angular.element("
    ");y.attr({id:x,matches:"matches",active:"activeIdx",select:"select(activeIdx)",query:"query",position:"position"}),angular.isDefined(k.typeaheadTemplateUrl)&&y.attr("template-url",k.typeaheadTemplateUrl);var z=function(){w.matches=[],w.activeIdx=-1,j.attr("aria-expanded",!1)},A=function(a){return x+"-option-"+a};w.$watch("activeIdx",function(a){0>a?j.removeAttr("aria-activedescendant"):j.attr("aria-activedescendant",A(a))});var B=function(a){var b={$viewValue:a};q(i,!0),c.when(v.source(i,b)).then(function(c){var d=a===l.$viewValue;if(d&&m)if(c.length>0){w.activeIdx=0,w.matches.length=0;for(var e=0;e=n?o>0?(C&&d.cancel(C),C=d(function(){B(a)},o)):B(a):(q(i,!1),z()),p?a:a?void l.$setValidity("editable",!1):(l.$setValidity("editable",!0),a)}),l.$formatters.push(function(a){var b,c,d={};return s?(d.$model=a,s(i,d)):(d[v.itemName]=a,b=v.viewMapper(i,d),d[v.itemName]=void 0,c=v.viewMapper(i,d),b!==c?b:a)}),w.select=function(a){var b,c,e={};e[v.itemName]=c=w.matches[a].model,b=v.modelMapper(i,e),u(i,b),l.$setValidity("editable",!0),r(i,{$item:c,$model:b,$label:v.viewMapper(i,e)}),z(),d(function(){j[0].focus()},0,!1)},j.bind("keydown",function(a){0!==w.matches.length&&-1!==h.indexOf(a.which)&&(a.preventDefault(),40===a.which?(w.activeIdx=(w.activeIdx+1)%w.matches.length,w.$digest()):38===a.which?(w.activeIdx=(w.activeIdx?w.activeIdx:w.matches.length)-1,w.$digest()):13===a.which||9===a.which?w.$apply(function(){w.select(w.activeIdx)}):27===a.which&&(a.stopPropagation(),z(),w.$digest()))}),j.bind("blur",function(){m=!1});var D=function(a){j[0]!==a.target&&(z(),w.$digest())};e.bind("click",D),i.$on("$destroy",function(){e.unbind("click",D)});var E=a(y)(w);t?e.find("body").append(E):j.after(E)}}}]).directive("typeaheadPopup",function(){return{restrict:"EA",scope:{matches:"=",query:"=",active:"=",position:"=",select:"&"},replace:!0,templateUrl:"template/typeahead/typeahead-popup.html",link:function(a,b,c){a.templateUrl=c.templateUrl,a.isOpen=function(){return a.matches.length>0},a.isActive=function(b){return a.active==b},a.selectActive=function(b){a.active=b},a.selectMatch=function(b){a.select({activeIdx:b})}}}}).directive("typeaheadMatch",["$http","$templateCache","$compile","$parse",function(a,b,c,d){return{restrict:"EA",scope:{index:"=",match:"=",query:"="},link:function(e,f,g){var h=d(g.templateUrl)(e.$parent)||"template/typeahead/typeahead-match.html";a.get(h,{cache:b}).success(function(a){f.replaceWith(c(a.trim())(e))})}}}]).filter("typeaheadHighlight",function(){function a(a){return a.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return function(b,c){return c?(""+b).replace(new RegExp(a(c),"gi"),"$&"):b}}); \ No newline at end of file +angular.module("ui.bootstrap",["ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.transition",[]).factory("$transition",["$q","$timeout","$rootScope",function(a,b,c){function d(a){for(var b in a)if(void 0!==f.style[b])return a[b]}var e=function(d,f,g){g=g||{};var h=a.defer(),i=e[g.animation?"animationEndEventName":"transitionEndEventName"],j=function(){c.$apply(function(){d.unbind(i,j),h.resolve(d)})};return i&&d.bind(i,j),b(function(){angular.isString(f)?d.addClass(f):angular.isFunction(f)?f(d):angular.isObject(f)&&d.css(f),i||h.resolve(d)}),h.promise.cancel=function(){i&&d.unbind(i,j),h.reject("Transition cancelled")},h.promise},f=document.createElement("trans"),g={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},h={WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"};return e.transitionEndEventName=d(g),e.animationEndEventName=d(h),e}]),angular.module("ui.bootstrap.collapse",["ui.bootstrap.transition"]).directive("collapse",["$transition",function(a){return{link:function(b,c,d){function e(b){function d(){j===e&&(j=void 0)}var e=a(c,b);return j&&j.cancel(),j=e,e.then(d,d),e}function f(){k?(k=!1,g()):(c.removeClass("collapse").addClass("collapsing"),e({height:c[0].scrollHeight+"px"}).then(g))}function g(){c.removeClass("collapsing"),c.addClass("collapse in"),c.css({height:"auto"})}function h(){if(k)k=!1,i(),c.css({height:0});else{c.css({height:c[0].scrollHeight+"px"});{c[0].offsetWidth}c.removeClass("collapse in").addClass("collapsing"),e({height:0}).then(i)}}function i(){c.removeClass("collapsing"),c.addClass("collapse")}var j,k=!0;b.$watch(d.collapse,function(a){a?h():f()})}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("accordionConfig",{closeOthers:!0}).controller("AccordionController",["$scope","$attrs","accordionConfig",function(a,b,c){this.groups=[],this.closeOthers=function(d){var e=angular.isDefined(b.closeOthers)?a.$eval(b.closeOthers):c.closeOthers;e&&angular.forEach(this.groups,function(a){a!==d&&(a.isOpen=!1)})},this.addGroup=function(a){var b=this;this.groups.push(a),a.$on("$destroy",function(){b.removeGroup(a)})},this.removeGroup=function(a){var b=this.groups.indexOf(a);-1!==b&&this.groups.splice(b,1)}}]).directive("accordion",function(){return{restrict:"EA",controller:"AccordionController",transclude:!0,replace:!1,templateUrl:"template/accordion/accordion.html"}}).directive("accordionGroup",function(){return{require:"^accordion",restrict:"EA",transclude:!0,replace:!0,templateUrl:"template/accordion/accordion-group.html",scope:{heading:"@",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(a){this.heading=a}},link:function(a,b,c,d){d.addGroup(a),a.$watch("isOpen",function(b){b&&d.closeOthers(a)}),a.toggleOpen=function(){a.isDisabled||(a.isOpen=!a.isOpen)}}}}).directive("accordionHeading",function(){return{restrict:"EA",transclude:!0,template:"",replace:!0,require:"^accordionGroup",link:function(a,b,c,d,e){d.setHeading(e(a,function(){}))}}}).directive("accordionTransclude",function(){return{require:"^accordionGroup",link:function(a,b,c,d){a.$watch(function(){return d[c.accordionTransclude]},function(a){a&&(b.html(""),b.append(a))})}}}),angular.module("ui.bootstrap.alert",[]).controller("AlertController",["$scope","$attrs",function(a,b){a.closeable="close"in b}]).directive("alert",function(){return{restrict:"EA",controller:"AlertController",templateUrl:"template/alert/alert.html",transclude:!0,replace:!0,scope:{type:"@",close:"&"}}}),angular.module("ui.bootstrap.bindHtml",[]).directive("bindHtmlUnsafe",function(){return function(a,b,c){b.addClass("ng-binding").data("$binding",c.bindHtmlUnsafe),a.$watch(c.bindHtmlUnsafe,function(a){b.html(a||"")})}}),angular.module("ui.bootstrap.buttons",[]).constant("buttonConfig",{activeClass:"active",toggleEvent:"click"}).controller("ButtonsController",["buttonConfig",function(a){this.activeClass=a.activeClass||"active",this.toggleEvent=a.toggleEvent||"click"}]).directive("btnRadio",function(){return{require:["btnRadio","ngModel"],controller:"ButtonsController",link:function(a,b,c,d){var e=d[0],f=d[1];f.$render=function(){b.toggleClass(e.activeClass,angular.equals(f.$modelValue,a.$eval(c.btnRadio)))},b.bind(e.toggleEvent,function(){var d=b.hasClass(e.activeClass);(!d||angular.isDefined(c.uncheckable))&&a.$apply(function(){f.$setViewValue(d?null:a.$eval(c.btnRadio)),f.$render()})})}}}).directive("btnCheckbox",function(){return{require:["btnCheckbox","ngModel"],controller:"ButtonsController",link:function(a,b,c,d){function e(){return g(c.btnCheckboxTrue,!0)}function f(){return g(c.btnCheckboxFalse,!1)}function g(b,c){var d=a.$eval(b);return angular.isDefined(d)?d:c}var h=d[0],i=d[1];i.$render=function(){b.toggleClass(h.activeClass,angular.equals(i.$modelValue,e()))},b.bind(h.toggleEvent,function(){a.$apply(function(){i.$setViewValue(b.hasClass(h.activeClass)?f():e()),i.$render()})})}}}),angular.module("ui.bootstrap.carousel",["ui.bootstrap.transition"]).controller("CarouselController",["$scope","$timeout","$transition",function(a,b,c){function d(){e();var c=+a.interval;!isNaN(c)&&c>=0&&(g=b(f,c))}function e(){g&&(b.cancel(g),g=null)}function f(){h?(a.next(),d()):a.pause()}var g,h,i=this,j=i.slides=a.slides=[],k=-1;i.currentSlide=null;var l=!1;i.select=a.select=function(e,f){function g(){if(!l){if(i.currentSlide&&angular.isString(f)&&!a.noTransition&&e.$element){e.$element.addClass(f);{e.$element[0].offsetWidth}angular.forEach(j,function(a){angular.extend(a,{direction:"",entering:!1,leaving:!1,active:!1})}),angular.extend(e,{direction:f,active:!0,entering:!0}),angular.extend(i.currentSlide||{},{direction:f,leaving:!0}),a.$currentTransition=c(e.$element,{}),function(b,c){a.$currentTransition.then(function(){h(b,c)},function(){h(b,c)})}(e,i.currentSlide)}else h(e,i.currentSlide);i.currentSlide=e,k=m,d()}}function h(b,c){angular.extend(b,{direction:"",active:!0,leaving:!1,entering:!1}),angular.extend(c||{},{direction:"",active:!1,leaving:!1,entering:!1}),a.$currentTransition=null}var m=j.indexOf(e);void 0===f&&(f=m>k?"next":"prev"),e&&e!==i.currentSlide&&(a.$currentTransition?(a.$currentTransition.cancel(),b(g)):g())},a.$on("$destroy",function(){l=!0}),i.indexOfSlide=function(a){return j.indexOf(a)},a.next=function(){var b=(k+1)%j.length;return a.$currentTransition?void 0:i.select(j[b],"next")},a.prev=function(){var b=0>k-1?j.length-1:k-1;return a.$currentTransition?void 0:i.select(j[b],"prev")},a.isActive=function(a){return i.currentSlide===a},a.$watch("interval",d),a.$on("$destroy",e),a.play=function(){h||(h=!0,d())},a.pause=function(){a.noPause||(h=!1,e())},i.addSlide=function(b,c){b.$element=c,j.push(b),1===j.length||b.active?(i.select(j[j.length-1]),1==j.length&&a.play()):b.active=!1},i.removeSlide=function(a){var b=j.indexOf(a);j.splice(b,1),j.length>0&&a.active?i.select(b>=j.length?j[b-1]:j[b]):k>b&&k--}}]).directive("carousel",[function(){return{restrict:"EA",transclude:!0,replace:!0,controller:"CarouselController",require:"carousel",templateUrl:"template/carousel/carousel.html",scope:{interval:"=",noTransition:"=",noPause:"="}}}]).directive("slide",function(){return{require:"^carousel",restrict:"EA",transclude:!0,replace:!0,templateUrl:"template/carousel/slide.html",scope:{active:"=?"},link:function(a,b,c,d){d.addSlide(a,b),a.$on("$destroy",function(){d.removeSlide(a)}),a.$watch("active",function(b){b&&d.select(a)})}}}),angular.module("ui.bootstrap.dateparser",[]).service("dateParser",["$locale","orderByFilter",function(a,b){function c(a){var c=[],d=a.split("");return angular.forEach(e,function(b,e){var f=a.indexOf(e);if(f>-1){a=a.split(""),d[f]="("+b.regex+")",a[f]="$";for(var g=f+1,h=f+e.length;h>g;g++)d[g]="",a[g]="$";a=a.join(""),c.push({index:f,apply:b.apply})}}),{regex:new RegExp("^"+d.join("")+"$"),map:b(c,"index")}}function d(a,b,c){return 1===b&&c>28?29===c&&(a%4===0&&a%100!==0||a%400===0):3===b||5===b||8===b||10===b?31>c:!0}this.parsers={};var e={yyyy:{regex:"\\d{4}",apply:function(a){this.year=+a}},yy:{regex:"\\d{2}",apply:function(a){this.year=+a+2e3}},y:{regex:"\\d{1,4}",apply:function(a){this.year=+a}},MMMM:{regex:a.DATETIME_FORMATS.MONTH.join("|"),apply:function(b){this.month=a.DATETIME_FORMATS.MONTH.indexOf(b)}},MMM:{regex:a.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(b){this.month=a.DATETIME_FORMATS.SHORTMONTH.indexOf(b)}},MM:{regex:"0[1-9]|1[0-2]",apply:function(a){this.month=a-1}},M:{regex:"[1-9]|1[0-2]",apply:function(a){this.month=a-1}},dd:{regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},d:{regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(a){this.date=+a}},EEEE:{regex:a.DATETIME_FORMATS.DAY.join("|")},EEE:{regex:a.DATETIME_FORMATS.SHORTDAY.join("|")}};this.parse=function(b,e){if(!angular.isString(b)||!e)return b;e=a.DATETIME_FORMATS[e]||e,this.parsers[e]||(this.parsers[e]=c(e));var f=this.parsers[e],g=f.regex,h=f.map,i=b.match(g);if(i&&i.length){for(var j,k={year:1900,month:0,date:1,hours:0},l=1,m=i.length;m>l;l++){var n=h[l-1];n.apply&&n.apply.call(k,i[l])}return d(k.year,k.month,k.date)&&(j=new Date(k.year,k.month,k.date,k.hours)),j}}}]),angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function(a,b){function c(a,c){return a.currentStyle?a.currentStyle[c]:b.getComputedStyle?b.getComputedStyle(a)[c]:a.style[c]}function d(a){return"static"===(c(a,"position")||"static")}var e=function(b){for(var c=a[0],e=b.offsetParent||c;e&&e!==c&&d(e);)e=e.offsetParent;return e||c};return{position:function(b){var c=this.offset(b),d={top:0,left:0},f=e(b[0]);f!=a[0]&&(d=this.offset(angular.element(f)),d.top+=f.clientTop-f.scrollTop,d.left+=f.clientLeft-f.scrollLeft);var g=b[0].getBoundingClientRect();return{width:g.width||b.prop("offsetWidth"),height:g.height||b.prop("offsetHeight"),top:c.top-d.top,left:c.left-d.left}},offset:function(c){var d=c[0].getBoundingClientRect();return{width:d.width||c.prop("offsetWidth"),height:d.height||c.prop("offsetHeight"),top:d.top+(b.pageYOffset||a[0].documentElement.scrollTop),left:d.left+(b.pageXOffset||a[0].documentElement.scrollLeft)}},positionElements:function(a,b,c,d){var e,f,g,h,i=c.split("-"),j=i[0],k=i[1]||"center";e=d?this.offset(a):this.position(a),f=b.prop("offsetWidth"),g=b.prop("offsetHeight");var l={center:function(){return e.left+e.width/2-f/2},left:function(){return e.left},right:function(){return e.left+e.width}},m={center:function(){return e.top+e.height/2-g/2},top:function(){return e.top},bottom:function(){return e.top+e.height}};switch(j){case"right":h={top:m[k](),left:l[j]()};break;case"left":h={top:m[k](),left:e.left-f};break;case"bottom":h={top:m[j](),left:l[k]()};break;default:h={top:e.top-g,left:l[k]()}}return h}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.position"]).constant("datepickerConfig",{formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",datepickerMode:"day",minMode:"day",maxMode:"year",showWeeks:!0,startingDay:0,yearRange:20,minDate:null,maxDate:null}).controller("DatepickerController",["$scope","$attrs","$parse","$interpolate","$timeout","$log","dateFilter","datepickerConfig",function(a,b,c,d,e,f,g,h){var i=this,j={$setViewValue:angular.noop};this.modes=["day","month","year"],angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","minMode","maxMode","showWeeks","startingDay","yearRange"],function(c,e){i[c]=angular.isDefined(b[c])?8>e?d(b[c])(a.$parent):a.$parent.$eval(b[c]):h[c]}),angular.forEach(["minDate","maxDate"],function(d){b[d]?a.$parent.$watch(c(b[d]),function(a){i[d]=a?new Date(a):null,i.refreshView()}):i[d]=h[d]?new Date(h[d]):null}),a.datepickerMode=a.datepickerMode||h.datepickerMode,a.uniqueId="datepicker-"+a.$id+"-"+Math.floor(1e4*Math.random()),this.activeDate=angular.isDefined(b.initDate)?a.$parent.$eval(b.initDate):new Date,a.isActive=function(b){return 0===i.compare(b.date,i.activeDate)?(a.activeDateId=b.uid,!0):!1},this.init=function(a){j=a,j.$render=function(){i.render()}},this.render=function(){if(j.$modelValue){var a=new Date(j.$modelValue),b=!isNaN(a);b?this.activeDate=a:f.error('Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.'),j.$setValidity("date",b)}this.refreshView()},this.refreshView=function(){if(this.element){this._refreshView();var a=j.$modelValue?new Date(j.$modelValue):null;j.$setValidity("date-disabled",!a||this.element&&!this.isDisabled(a))}},this.createDateObject=function(a,b){var c=j.$modelValue?new Date(j.$modelValue):null;return{date:a,label:g(a,b),selected:c&&0===this.compare(a,c),disabled:this.isDisabled(a),current:0===this.compare(a,new Date)}},this.isDisabled=function(c){return this.minDate&&this.compare(c,this.minDate)<0||this.maxDate&&this.compare(c,this.maxDate)>0||b.dateDisabled&&a.dateDisabled({date:c,mode:a.datepickerMode})},this.split=function(a,b){for(var c=[];a.length>0;)c.push(a.splice(0,b));return c},a.select=function(b){if(a.datepickerMode===i.minMode){var c=j.$modelValue?new Date(j.$modelValue):new Date(0,0,0,0,0,0,0);c.setFullYear(b.getFullYear(),b.getMonth(),b.getDate()),j.$setViewValue(c),j.$render()}else i.activeDate=b,a.datepickerMode=i.modes[i.modes.indexOf(a.datepickerMode)-1]},a.move=function(a){var b=i.activeDate.getFullYear()+a*(i.step.years||0),c=i.activeDate.getMonth()+a*(i.step.months||0);i.activeDate.setFullYear(b,c,1),i.refreshView()},a.toggleMode=function(b){b=b||1,a.datepickerMode===i.maxMode&&1===b||a.datepickerMode===i.minMode&&-1===b||(a.datepickerMode=i.modes[i.modes.indexOf(a.datepickerMode)+b])},a.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var k=function(){e(function(){i.element[0].focus()},0,!1)};a.$on("datepicker.focus",k),a.keydown=function(b){var c=a.keys[b.which];if(c&&!b.shiftKey&&!b.altKey)if(b.preventDefault(),b.stopPropagation(),"enter"===c||"space"===c){if(i.isDisabled(i.activeDate))return;a.select(i.activeDate),k()}else!b.ctrlKey||"up"!==c&&"down"!==c?(i.handleKeyDown(c,b),i.refreshView()):(a.toggleMode("up"===c?1:-1),k())}}]).directive("datepicker",function(){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/datepicker.html",scope:{datepickerMode:"=?",dateDisabled:"&"},require:["datepicker","?^ngModel"],controller:"DatepickerController",link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f)}}}).directive("daypicker",["dateFilter",function(a){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/day.html",require:"^datepicker",link:function(b,c,d,e){function f(a,b){return 1!==b||a%4!==0||a%100===0&&a%400!==0?i[b]:29}function g(a,b){var c=new Array(b),d=new Date(a),e=0;for(d.setHours(12);b>e;)c[e++]=new Date(d),d.setDate(d.getDate()+1);return c}function h(a){var b=new Date(a);b.setDate(b.getDate()+4-(b.getDay()||7));var c=b.getTime();return b.setMonth(0),b.setDate(1),Math.floor(Math.round((c-b)/864e5)/7)+1}b.showWeeks=e.showWeeks,e.step={months:1},e.element=c;var i=[31,28,31,30,31,30,31,31,30,31,30,31];e._refreshView=function(){var c=e.activeDate.getFullYear(),d=e.activeDate.getMonth(),f=new Date(c,d,1),i=e.startingDay-f.getDay(),j=i>0?7-i:-i,k=new Date(f);j>0&&k.setDate(-j+1);for(var l=g(k,42),m=0;42>m;m++)l[m]=angular.extend(e.createDateObject(l[m],e.formatDay),{secondary:l[m].getMonth()!==d,uid:b.uniqueId+"-"+m});b.labels=new Array(7);for(var n=0;7>n;n++)b.labels[n]={abbr:a(l[n].date,e.formatDayHeader),full:a(l[n].date,"EEEE")};if(b.title=a(e.activeDate,e.formatDayTitle),b.rows=e.split(l,7),b.showWeeks){b.weekNumbers=[];for(var o=h(b.rows[0][0].date),p=b.rows.length;b.weekNumbers.push(o++)f;f++)c[f]=angular.extend(e.createDateObject(new Date(d,f,1),e.formatMonth),{uid:b.uniqueId+"-"+f});b.title=a(e.activeDate,e.formatMonthTitle),b.rows=e.split(c,3)},e.compare=function(a,b){return new Date(a.getFullYear(),a.getMonth())-new Date(b.getFullYear(),b.getMonth())},e.handleKeyDown=function(a){var b=e.activeDate.getMonth();if("left"===a)b-=1;else if("up"===a)b-=3;else if("right"===a)b+=1;else if("down"===a)b+=3;else if("pageup"===a||"pagedown"===a){var c=e.activeDate.getFullYear()+("pageup"===a?-1:1);e.activeDate.setFullYear(c)}else"home"===a?b=0:"end"===a&&(b=11);e.activeDate.setMonth(b)},e.refreshView()}}}]).directive("yearpicker",["dateFilter",function(){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/year.html",require:"^datepicker",link:function(a,b,c,d){function e(a){return parseInt((a-1)/f,10)*f+1}var f=d.yearRange;d.step={years:f},d.element=b,d._refreshView=function(){for(var b=new Array(f),c=0,g=e(d.activeDate.getFullYear());f>c;c++)b[c]=angular.extend(d.createDateObject(new Date(g+c,0,1),d.formatYear),{uid:a.uniqueId+"-"+c});a.title=[b[0].label,b[f-1].label].join(" - "),a.rows=d.split(b,5)},d.compare=function(a,b){return a.getFullYear()-b.getFullYear()},d.handleKeyDown=function(a){var b=d.activeDate.getFullYear();"left"===a?b-=1:"up"===a?b-=5:"right"===a?b+=1:"down"===a?b+=5:"pageup"===a||"pagedown"===a?b+=("pageup"===a?-1:1)*d.step.years:"home"===a?b=e(d.activeDate.getFullYear()):"end"===a&&(b=e(d.activeDate.getFullYear())+f-1),d.activeDate.setFullYear(b)},d.refreshView()}}}]).constant("datepickerPopupConfig",{datepickerPopup:"yyyy-MM-dd",currentText:"Today",clearText:"Clear",closeText:"Done",closeOnDateSelection:!0,appendToBody:!1,showButtonBar:!0}).directive("datepickerPopup",["$compile","$parse","$document","$position","dateFilter","dateParser","datepickerPopupConfig",function(a,b,c,d,e,f,g){return{restrict:"EA",require:"ngModel",scope:{isOpen:"=?",currentText:"@",clearText:"@",closeText:"@",dateDisabled:"&"},link:function(h,i,j,k){function l(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}function m(a){if(a){if(angular.isDate(a)&&!isNaN(a))return k.$setValidity("date",!0),a;if(angular.isString(a)){var b=f.parse(a,n)||new Date(a);return isNaN(b)?void k.$setValidity("date",!1):(k.$setValidity("date",!0),b)}return void k.$setValidity("date",!1)}return k.$setValidity("date",!0),null}var n,o=angular.isDefined(j.closeOnDateSelection)?h.$parent.$eval(j.closeOnDateSelection):g.closeOnDateSelection,p=angular.isDefined(j.datepickerAppendToBody)?h.$parent.$eval(j.datepickerAppendToBody):g.appendToBody;h.showButtonBar=angular.isDefined(j.showButtonBar)?h.$parent.$eval(j.showButtonBar):g.showButtonBar,h.getText=function(a){return h[a+"Text"]||g[a+"Text"]},j.$observe("datepickerPopup",function(a){n=a||g.datepickerPopup,k.$render()});var q=angular.element("
    ");q.attr({"ng-model":"date","ng-change":"dateSelection()"});var r=angular.element(q.children()[0]);j.datepickerOptions&&angular.forEach(h.$parent.$eval(j.datepickerOptions),function(a,b){r.attr(l(b),a)}),h.watchData={},angular.forEach(["minDate","maxDate","datepickerMode"],function(a){if(j[a]){var c=b(j[a]);if(h.$parent.$watch(c,function(b){h.watchData[a]=b}),r.attr(l(a),"watchData."+a),"datepickerMode"===a){var d=c.assign;h.$watch("watchData."+a,function(a,b){a!==b&&d(h.$parent,a)})}}}),j.dateDisabled&&r.attr("date-disabled","dateDisabled({ date: date, mode: mode })"),k.$parsers.unshift(m),h.dateSelection=function(a){angular.isDefined(a)&&(h.date=a),k.$setViewValue(h.date),k.$render(),o&&(h.isOpen=!1,i[0].focus())},i.bind("input change keyup",function(){h.$apply(function(){h.date=k.$modelValue})}),k.$render=function(){var a=k.$viewValue?e(k.$viewValue,n):"";i.val(a),h.date=m(k.$modelValue)};var s=function(a){h.isOpen&&a.target!==i[0]&&h.$apply(function(){h.isOpen=!1})},t=function(a){h.keydown(a)};i.bind("keydown",t),h.keydown=function(a){27===a.which?(a.preventDefault(),a.stopPropagation(),h.close()):40!==a.which||h.isOpen||(h.isOpen=!0)},h.$watch("isOpen",function(a){a?(h.$broadcast("datepicker.focus"),h.position=p?d.offset(i):d.position(i),h.position.top=h.position.top+i.prop("offsetHeight"),c.bind("click",s)):c.unbind("click",s)}),h.select=function(a){if("today"===a){var b=new Date;angular.isDate(k.$modelValue)?(a=new Date(k.$modelValue),a.setFullYear(b.getFullYear(),b.getMonth(),b.getDate())):a=new Date(b.setHours(0,0,0,0))}h.dateSelection(a)},h.close=function(){h.isOpen=!1,i[0].focus()};var u=a(q)(h);q.remove(),p?c.find("body").append(u):i.after(u),h.$on("$destroy",function(){u.remove(),i.unbind("keydown",t),c.unbind("click",s)})}}}]).directive("datepickerPopupWrap",function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"template/datepicker/popup.html",link:function(a,b){b.bind("click",function(a){a.preventDefault(),a.stopPropagation()})}}}),angular.module("ui.bootstrap.dropdown",[]).constant("dropdownConfig",{openClass:"open"}).service("dropdownService",["$document",function(a){var b=null;this.open=function(e){b||(a.bind("click",c),a.bind("keydown",d)),b&&b!==e&&(b.isOpen=!1),b=e},this.close=function(e){b===e&&(b=null,a.unbind("click",c),a.unbind("keydown",d))};var c=function(a){var c=b.getToggleElement();a&&c&&c[0].contains(a.target)||b.$apply(function(){b.isOpen=!1})},d=function(a){27===a.which&&(b.focusToggleElement(),c())}}]).controller("DropdownController",["$scope","$attrs","$parse","dropdownConfig","dropdownService","$animate",function(a,b,c,d,e,f){var g,h=this,i=a.$new(),j=d.openClass,k=angular.noop,l=b.onToggle?c(b.onToggle):angular.noop;this.init=function(d){h.$element=d,b.isOpen&&(g=c(b.isOpen),k=g.assign,a.$watch(g,function(a){i.isOpen=!!a}))},this.toggle=function(a){return i.isOpen=arguments.length?!!a:!i.isOpen},this.isOpen=function(){return i.isOpen},i.getToggleElement=function(){return h.toggleElement},i.focusToggleElement=function(){h.toggleElement&&h.toggleElement[0].focus()},i.$watch("isOpen",function(b,c){f[b?"addClass":"removeClass"](h.$element,j),b?(i.focusToggleElement(),e.open(i)):e.close(i),k(a,b),angular.isDefined(b)&&b!==c&&l(a,{open:!!b})}),a.$on("$locationChangeSuccess",function(){i.isOpen=!1}),a.$on("$destroy",function(){i.$destroy()})}]).directive("dropdown",function(){return{restrict:"CA",controller:"DropdownController",link:function(a,b,c,d){d.init(b)}}}).directive("dropdownToggle",function(){return{restrict:"CA",require:"?^dropdown",link:function(a,b,c,d){if(d){d.toggleElement=b;var e=function(e){e.preventDefault(),b.hasClass("disabled")||c.disabled||a.$apply(function(){d.toggle()})};b.bind("click",e),b.attr({"aria-haspopup":!0,"aria-expanded":!1}),a.$watch(d.isOpen,function(a){b.attr("aria-expanded",!!a)}),a.$on("$destroy",function(){b.unbind("click",e)})}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.transition"]).factory("$$stackedMap",function(){return{createNew:function(){var a=[];return{add:function(b,c){a.push({key:b,value:c})},get:function(b){for(var c=0;c0),i()})}function i(){if(k&&-1==g()){var a=l;j(k,l,150,function(){a.$destroy(),a=null}),k=void 0,l=void 0}}function j(c,d,e,f){function g(){g.done||(g.done=!0,c.remove(),f&&f())}d.animate=!1;var h=a.transitionEndEventName;if(h){var i=b(g,e);c.bind(h,function(){b.cancel(i),g(),d.$apply()})}else b(g)}var k,l,m="modal-open",n=f.createNew(),o={};return e.$watch(g,function(a){l&&(l.index=a)}),c.bind("keydown",function(a){var b;27===a.which&&(b=n.top(),b&&b.value.keyboard&&(a.preventDefault(),e.$apply(function(){o.dismiss(b.key,"escape key press")})))}),o.open=function(a,b){n.add(a,{deferred:b.deferred,modalScope:b.scope,backdrop:b.backdrop,keyboard:b.keyboard});var f=c.find("body").eq(0),h=g();if(h>=0&&!k){l=e.$new(!0),l.index=h;var i=angular.element("
    ");i.attr("backdrop-class",b.backdropClass),k=d(i)(l),f.append(k)}var j=angular.element("
    ");j.attr({"template-url":b.windowTemplateUrl,"window-class":b.windowClass,size:b.size,index:n.length()-1,animate:"animate"}).html(b.content);var o=d(j)(b.scope);n.top().value.modalDomEl=o,f.append(o),f.addClass(m)},o.close=function(a,b){var c=n.get(a);c&&(c.value.deferred.resolve(b),h(a))},o.dismiss=function(a,b){var c=n.get(a);c&&(c.value.deferred.reject(b),h(a))},o.dismissAll=function(a){for(var b=this.getTop();b;)this.dismiss(b.key,a),b=this.getTop()},o.getTop=function(){return n.top()},o}]).provider("$modal",function(){var a={options:{backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$http","$templateCache","$controller","$modalStack",function(b,c,d,e,f,g,h){function i(a){return a.template?d.when(a.template):e.get(angular.isFunction(a.templateUrl)?a.templateUrl():a.templateUrl,{cache:f}).then(function(a){return a.data})}function j(a){var c=[];return angular.forEach(a,function(a){(angular.isFunction(a)||angular.isArray(a))&&c.push(d.when(b.invoke(a)))}),c}var k={};return k.open=function(b){var e=d.defer(),f=d.defer(),k={result:e.promise,opened:f.promise,close:function(a){h.close(k,a)},dismiss:function(a){h.dismiss(k,a)}};if(b=angular.extend({},a.options,b),b.resolve=b.resolve||{},!b.template&&!b.templateUrl)throw new Error("One of template or templateUrl options is required.");var l=d.all([i(b)].concat(j(b.resolve)));return l.then(function(a){var d=(b.scope||c).$new();d.$close=k.close,d.$dismiss=k.dismiss;var f,i={},j=1;b.controller&&(i.$scope=d,i.$modalInstance=k,angular.forEach(b.resolve,function(b,c){i[c]=a[j++]}),f=g(b.controller,i),b.controllerAs&&(d[b.controllerAs]=f)),h.open(k,{scope:d,deferred:e,content:a[0],backdrop:b.backdrop,keyboard:b.keyboard,backdropClass:b.backdropClass,windowClass:b.windowClass,windowTemplateUrl:b.windowTemplateUrl,size:b.size})},function(a){e.reject(a)}),l.then(function(){f.resolve(!0)},function(){f.reject(!1)}),k},k}]};return a}),angular.module("ui.bootstrap.pagination",[]).controller("PaginationController",["$scope","$attrs","$parse",function(a,b,c){var d=this,e={$setViewValue:angular.noop},f=b.numPages?c(b.numPages).assign:angular.noop;this.init=function(f,g){e=f,this.config=g,e.$render=function(){d.render()},b.itemsPerPage?a.$parent.$watch(c(b.itemsPerPage),function(b){d.itemsPerPage=parseInt(b,10),a.totalPages=d.calculateTotalPages()}):this.itemsPerPage=g.itemsPerPage},this.calculateTotalPages=function(){var b=this.itemsPerPage<1?1:Math.ceil(a.totalItems/this.itemsPerPage);return Math.max(b||0,1)},this.render=function(){a.page=parseInt(e.$viewValue,10)||1},a.selectPage=function(b){a.page!==b&&b>0&&b<=a.totalPages&&(e.$setViewValue(b),e.$render())},a.getText=function(b){return a[b+"Text"]||d.config[b+"Text"]},a.noPrevious=function(){return 1===a.page},a.noNext=function(){return a.page===a.totalPages},a.$watch("totalItems",function(){a.totalPages=d.calculateTotalPages()}),a.$watch("totalPages",function(b){f(a.$parent,b),a.page>b?a.selectPage(b):e.$render()})}]).constant("paginationConfig",{itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0}).directive("pagination",["$parse","paginationConfig",function(a,b){return{restrict:"EA",scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@"},require:["pagination","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pagination.html",replace:!0,link:function(c,d,e,f){function g(a,b,c){return{number:a,text:b,active:c}}function h(a,b){var c=[],d=1,e=b,f=angular.isDefined(k)&&b>k;f&&(l?(d=Math.max(a-Math.floor(k/2),1),e=d+k-1,e>b&&(e=b,d=e-k+1)):(d=(Math.ceil(a/k)-1)*k+1,e=Math.min(d+k-1,b)));for(var h=d;e>=h;h++){var i=g(h,h,h===a);c.push(i)}if(f&&!l){if(d>1){var j=g(d-1,"...",!1);c.unshift(j)}if(b>e){var m=g(e+1,"...",!1);c.push(m)}}return c}var i=f[0],j=f[1];if(j){var k=angular.isDefined(e.maxSize)?c.$parent.$eval(e.maxSize):b.maxSize,l=angular.isDefined(e.rotate)?c.$parent.$eval(e.rotate):b.rotate;c.boundaryLinks=angular.isDefined(e.boundaryLinks)?c.$parent.$eval(e.boundaryLinks):b.boundaryLinks,c.directionLinks=angular.isDefined(e.directionLinks)?c.$parent.$eval(e.directionLinks):b.directionLinks,i.init(j,b),e.maxSize&&c.$parent.$watch(a(e.maxSize),function(a){k=parseInt(a,10),i.render()});var m=i.render;i.render=function(){m(),c.page>0&&c.page<=c.totalPages&&(c.pages=h(c.page,c.totalPages))}}}}}]).constant("pagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("pager",["pagerConfig",function(a){return{restrict:"EA",scope:{totalItems:"=",previousText:"@",nextText:"@"},require:["pager","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pager.html",replace:!0,link:function(b,c,d,e){var f=e[0],g=e[1];g&&(b.align=angular.isDefined(d.align)?b.$parent.$eval(d.align):a.align,f.init(g,a))}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",function(){function a(a){var b=/[A-Z]/g,c="-";return a.replace(b,function(a,b){return(b?c:"")+a.toLowerCase()})}var b={placement:"top",animation:!0,popupDelay:0},c={mouseenter:"mouseleave",click:"click",focus:"blur"},d={};this.options=function(a){angular.extend(d,a)},this.setTriggers=function(a){angular.extend(c,a) +},this.$get=["$window","$compile","$timeout","$parse","$document","$position","$interpolate",function(e,f,g,h,i,j,k){return function(e,l,m){function n(a){var b=a||o.trigger||m,d=c[b]||b;return{show:b,hide:d}}var o=angular.extend({},b,d),p=a(e),q=k.startSymbol(),r=k.endSymbol(),s="
    ';return{restrict:"EA",scope:!0,compile:function(){var a=f(s);return function(b,c,d){function f(){b.tt_isOpen?m():k()}function k(){(!y||b.$eval(d[l+"Enable"]))&&(b.tt_popupDelay?v||(v=g(p,b.tt_popupDelay,!1),v.then(function(a){a()})):p()())}function m(){b.$apply(function(){q()})}function p(){return v=null,u&&(g.cancel(u),u=null),b.tt_content?(r(),t.css({top:0,left:0,display:"block"}),w?i.find("body").append(t):c.after(t),z(),b.tt_isOpen=!0,b.$digest(),z):angular.noop}function q(){b.tt_isOpen=!1,g.cancel(v),v=null,b.tt_animation?u||(u=g(s,500)):s()}function r(){t&&s(),t=a(b,function(){}),b.$digest()}function s(){u=null,t&&(t.remove(),t=null)}var t,u,v,w=angular.isDefined(o.appendToBody)?o.appendToBody:!1,x=n(void 0),y=angular.isDefined(d[l+"Enable"]),z=function(){var a=j.positionElements(c,t,b.tt_placement,w);a.top+="px",a.left+="px",t.css(a)};b.tt_isOpen=!1,d.$observe(e,function(a){b.tt_content=a,!a&&b.tt_isOpen&&q()}),d.$observe(l+"Title",function(a){b.tt_title=a}),d.$observe(l+"Placement",function(a){b.tt_placement=angular.isDefined(a)?a:o.placement}),d.$observe(l+"PopupDelay",function(a){var c=parseInt(a,10);b.tt_popupDelay=isNaN(c)?o.popupDelay:c});var A=function(){c.unbind(x.show,k),c.unbind(x.hide,m)};d.$observe(l+"Trigger",function(a){A(),x=n(a),x.show===x.hide?c.bind(x.show,f):(c.bind(x.show,k),c.bind(x.hide,m))});var B=b.$eval(d[l+"Animation"]);b.tt_animation=angular.isDefined(B)?!!B:o.animation,d.$observe(l+"AppendToBody",function(a){w=angular.isDefined(a)?h(a)(b):w}),w&&b.$on("$locationChangeSuccess",function(){b.tt_isOpen&&q()}),b.$on("$destroy",function(){g.cancel(u),g.cancel(v),A(),s()})}}}}}]}).directive("tooltipPopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}}).directive("tooltip",["$tooltip",function(a){return a("tooltip","tooltip","mouseenter")}]).directive("tooltipHtmlUnsafePopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}}).directive("tooltipHtmlUnsafe",["$tooltip",function(a){return a("tooltipHtmlUnsafe","tooltip","mouseenter")}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("popoverPopup",function(){return{restrict:"EA",replace:!0,scope:{title:"@",content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover.html"}}).directive("popover",["$tooltip",function(a){return a("popover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("progressConfig",{animate:!0,max:100}).controller("ProgressController",["$scope","$attrs","progressConfig",function(a,b,c){var d=this,e=angular.isDefined(b.animate)?a.$parent.$eval(b.animate):c.animate;this.bars=[],a.max=angular.isDefined(b.max)?a.$parent.$eval(b.max):c.max,this.addBar=function(b,c){e||c.css({transition:"none"}),this.bars.push(b),b.$watch("value",function(c){b.percent=+(100*c/a.max).toFixed(2)}),b.$on("$destroy",function(){c=null,d.removeBar(b)})},this.removeBar=function(a){this.bars.splice(this.bars.indexOf(a),1)}}]).directive("progress",function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",require:"progress",scope:{},templateUrl:"template/progressbar/progress.html"}}).directive("bar",function(){return{restrict:"EA",replace:!0,transclude:!0,require:"^progress",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/bar.html",link:function(a,b,c,d){d.addBar(a,b)}}}).directive("progressbar",function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/progressbar.html",link:function(a,b,c,d){d.addBar(a,angular.element(b.children()[0]))}}}),angular.module("ui.bootstrap.rating",[]).constant("ratingConfig",{max:5,stateOn:null,stateOff:null}).controller("RatingController",["$scope","$attrs","ratingConfig",function(a,b,c){var d={$setViewValue:angular.noop};this.init=function(e){d=e,d.$render=this.render,this.stateOn=angular.isDefined(b.stateOn)?a.$parent.$eval(b.stateOn):c.stateOn,this.stateOff=angular.isDefined(b.stateOff)?a.$parent.$eval(b.stateOff):c.stateOff;var f=angular.isDefined(b.ratingStates)?a.$parent.$eval(b.ratingStates):new Array(angular.isDefined(b.max)?a.$parent.$eval(b.max):c.max);a.range=this.buildTemplateObjects(f)},this.buildTemplateObjects=function(a){for(var b=0,c=a.length;c>b;b++)a[b]=angular.extend({index:b},{stateOn:this.stateOn,stateOff:this.stateOff},a[b]);return a},a.rate=function(b){!a.readonly&&b>=0&&b<=a.range.length&&(d.$setViewValue(b),d.$render())},a.enter=function(b){a.readonly||(a.value=b),a.onHover({value:b})},a.reset=function(){a.value=d.$viewValue,a.onLeave()},a.onKeydown=function(b){/(37|38|39|40)/.test(b.which)&&(b.preventDefault(),b.stopPropagation(),a.rate(a.value+(38===b.which||39===b.which?1:-1)))},this.render=function(){a.value=d.$viewValue}}]).directive("rating",function(){return{restrict:"EA",require:["rating","ngModel"],scope:{readonly:"=?",onHover:"&",onLeave:"&"},controller:"RatingController",templateUrl:"template/rating/rating.html",replace:!0,link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f)}}}),angular.module("ui.bootstrap.tabs",[]).controller("TabsetController",["$scope",function(a){var b=this,c=b.tabs=a.tabs=[];b.select=function(a){angular.forEach(c,function(b){b.active&&b!==a&&(b.active=!1,b.onDeselect())}),a.active=!0,a.onSelect()},b.addTab=function(a){c.push(a),1===c.length?a.active=!0:a.active&&b.select(a)},b.removeTab=function(a){var d=c.indexOf(a);if(a.active&&c.length>1){var e=d==c.length-1?d-1:d+1;b.select(c[e])}c.splice(d,1)}}]).directive("tabset",function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{type:"@"},controller:"TabsetController",templateUrl:"template/tabs/tabset.html",link:function(a,b,c){a.vertical=angular.isDefined(c.vertical)?a.$parent.$eval(c.vertical):!1,a.justified=angular.isDefined(c.justified)?a.$parent.$eval(c.justified):!1}}}).directive("tab",["$parse",function(a){return{require:"^tabset",restrict:"EA",replace:!0,templateUrl:"template/tabs/tab.html",transclude:!0,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},compile:function(b,c,d){return function(b,c,e,f){b.$watch("active",function(a){a&&f.select(b)}),b.disabled=!1,e.disabled&&b.$parent.$watch(a(e.disabled),function(a){b.disabled=!!a}),b.select=function(){b.disabled||(b.active=!0)},f.addTab(b),b.$on("$destroy",function(){f.removeTab(b)}),b.$transcludeFn=d}}}}]).directive("tabHeadingTransclude",[function(){return{restrict:"A",require:"^tab",link:function(a,b){a.$watch("headingElement",function(a){a&&(b.html(""),b.append(a))})}}}]).directive("tabContentTransclude",function(){function a(a){return a.tagName&&(a.hasAttribute("tab-heading")||a.hasAttribute("data-tab-heading")||"tab-heading"===a.tagName.toLowerCase()||"data-tab-heading"===a.tagName.toLowerCase())}return{restrict:"A",require:"^tabset",link:function(b,c,d){var e=b.$eval(d.tabContentTransclude);e.$transcludeFn(e.$parent,function(b){angular.forEach(b,function(b){a(b)?e.headingElement=b:c.append(b)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("timepickerConfig",{hourStep:1,minuteStep:1,showMeridian:!0,meridians:null,readonlyInput:!1,mousewheel:!0}).controller("TimepickerController",["$scope","$attrs","$parse","$log","$locale","timepickerConfig",function(a,b,c,d,e,f){function g(){var b=parseInt(a.hours,10),c=a.showMeridian?b>0&&13>b:b>=0&&24>b;return c?(a.showMeridian&&(12===b&&(b=0),a.meridian===p[1]&&(b+=12)),b):void 0}function h(){var b=parseInt(a.minutes,10);return b>=0&&60>b?b:void 0}function i(a){return angular.isDefined(a)&&a.toString().length<2?"0"+a:a}function j(a){k(),o.$setViewValue(new Date(n)),l(a)}function k(){o.$setValidity("time",!0),a.invalidHours=!1,a.invalidMinutes=!1}function l(b){var c=n.getHours(),d=n.getMinutes();a.showMeridian&&(c=0===c||12===c?12:c%12),a.hours="h"===b?c:i(c),a.minutes="m"===b?d:i(d),a.meridian=n.getHours()<12?p[0]:p[1]}function m(a){var b=new Date(n.getTime()+6e4*a);n.setHours(b.getHours(),b.getMinutes()),j()}var n=new Date,o={$setViewValue:angular.noop},p=angular.isDefined(b.meridians)?a.$parent.$eval(b.meridians):f.meridians||e.DATETIME_FORMATS.AMPMS;this.init=function(c,d){o=c,o.$render=this.render;var e=d.eq(0),g=d.eq(1),h=angular.isDefined(b.mousewheel)?a.$parent.$eval(b.mousewheel):f.mousewheel;h&&this.setupMousewheelEvents(e,g),a.readonlyInput=angular.isDefined(b.readonlyInput)?a.$parent.$eval(b.readonlyInput):f.readonlyInput,this.setupInputEvents(e,g)};var q=f.hourStep;b.hourStep&&a.$parent.$watch(c(b.hourStep),function(a){q=parseInt(a,10)});var r=f.minuteStep;b.minuteStep&&a.$parent.$watch(c(b.minuteStep),function(a){r=parseInt(a,10)}),a.showMeridian=f.showMeridian,b.showMeridian&&a.$parent.$watch(c(b.showMeridian),function(b){if(a.showMeridian=!!b,o.$error.time){var c=g(),d=h();angular.isDefined(c)&&angular.isDefined(d)&&(n.setHours(c),j())}else l()}),this.setupMousewheelEvents=function(b,c){var d=function(a){a.originalEvent&&(a=a.originalEvent);var b=a.wheelDelta?a.wheelDelta:-a.deltaY;return a.detail||b>0};b.bind("mousewheel wheel",function(b){a.$apply(d(b)?a.incrementHours():a.decrementHours()),b.preventDefault()}),c.bind("mousewheel wheel",function(b){a.$apply(d(b)?a.incrementMinutes():a.decrementMinutes()),b.preventDefault()})},this.setupInputEvents=function(b,c){if(a.readonlyInput)return a.updateHours=angular.noop,void(a.updateMinutes=angular.noop);var d=function(b,c){o.$setViewValue(null),o.$setValidity("time",!1),angular.isDefined(b)&&(a.invalidHours=b),angular.isDefined(c)&&(a.invalidMinutes=c)};a.updateHours=function(){var a=g();angular.isDefined(a)?(n.setHours(a),j("h")):d(!0)},b.bind("blur",function(){!a.invalidHours&&a.hours<10&&a.$apply(function(){a.hours=i(a.hours)})}),a.updateMinutes=function(){var a=h();angular.isDefined(a)?(n.setMinutes(a),j("m")):d(void 0,!0)},c.bind("blur",function(){!a.invalidMinutes&&a.minutes<10&&a.$apply(function(){a.minutes=i(a.minutes)})})},this.render=function(){var a=o.$modelValue?new Date(o.$modelValue):null;isNaN(a)?(o.$setValidity("time",!1),d.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(a&&(n=a),k(),l())},a.incrementHours=function(){m(60*q)},a.decrementHours=function(){m(60*-q)},a.incrementMinutes=function(){m(r)},a.decrementMinutes=function(){m(-r)},a.toggleMeridian=function(){m(720*(n.getHours()<12?1:-1))}}]).directive("timepicker",function(){return{restrict:"EA",require:["timepicker","?^ngModel"],controller:"TimepickerController",replace:!0,scope:{},templateUrl:"template/timepicker/timepicker.html",link:function(a,b,c,d){var e=d[0],f=d[1];f&&e.init(f,b.find("input"))}}}),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).factory("typeaheadParser",["$parse",function(a){var b=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(c){var d=c.match(b);if(!d)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+c+'".');return{itemName:d[3],source:a(d[4]),viewMapper:a(d[2]||d[1]),modelMapper:a(d[1])}}}}]).directive("typeahead",["$compile","$parse","$q","$timeout","$document","$position","typeaheadParser",function(a,b,c,d,e,f,g){var h=[9,13,27,38,40];return{require:"ngModel",link:function(i,j,k,l){var m,n=i.$eval(k.typeaheadMinLength)||1,o=i.$eval(k.typeaheadWaitMs)||0,p=i.$eval(k.typeaheadEditable)!==!1,q=b(k.typeaheadLoading).assign||angular.noop,r=b(k.typeaheadOnSelect),s=k.typeaheadInputFormatter?b(k.typeaheadInputFormatter):void 0,t=k.typeaheadAppendToBody?i.$eval(k.typeaheadAppendToBody):!1,u=b(k.ngModel).assign,v=g.parse(k.typeahead),w=i.$new();i.$on("$destroy",function(){w.$destroy()});var x="typeahead-"+w.$id+"-"+Math.floor(1e4*Math.random());j.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":x});var y=angular.element("
    ");y.attr({id:x,matches:"matches",active:"activeIdx",select:"select(activeIdx)",query:"query",position:"position"}),angular.isDefined(k.typeaheadTemplateUrl)&&y.attr("template-url",k.typeaheadTemplateUrl);var z=function(){w.matches=[],w.activeIdx=-1,j.attr("aria-expanded",!1)},A=function(a){return x+"-option-"+a};w.$watch("activeIdx",function(a){0>a?j.removeAttr("aria-activedescendant"):j.attr("aria-activedescendant",A(a))});var B=function(a){var b={$viewValue:a};q(i,!0),c.when(v.source(i,b)).then(function(c){var d=a===l.$viewValue;if(d&&m)if(c.length>0){w.activeIdx=0,w.matches.length=0;for(var e=0;e=n?o>0?(E(),D(a)):B(a):(q(i,!1),E(),z()),p?a:a?void l.$setValidity("editable",!1):(l.$setValidity("editable",!0),a)}),l.$formatters.push(function(a){var b,c,d={};return s?(d.$model=a,s(i,d)):(d[v.itemName]=a,b=v.viewMapper(i,d),d[v.itemName]=void 0,c=v.viewMapper(i,d),b!==c?b:a)}),w.select=function(a){var b,c,e={};e[v.itemName]=c=w.matches[a].model,b=v.modelMapper(i,e),u(i,b),l.$setValidity("editable",!0),r(i,{$item:c,$model:b,$label:v.viewMapper(i,e)}),z(),d(function(){j[0].focus()},0,!1)},j.bind("keydown",function(a){0!==w.matches.length&&-1!==h.indexOf(a.which)&&(a.preventDefault(),40===a.which?(w.activeIdx=(w.activeIdx+1)%w.matches.length,w.$digest()):38===a.which?(w.activeIdx=(w.activeIdx?w.activeIdx:w.matches.length)-1,w.$digest()):13===a.which||9===a.which?w.$apply(function(){w.select(w.activeIdx)}):27===a.which&&(a.stopPropagation(),z(),w.$digest()))}),j.bind("blur",function(){m=!1});var F=function(a){j[0]!==a.target&&(z(),w.$digest())};e.bind("click",F),i.$on("$destroy",function(){e.unbind("click",F)});var G=a(y)(w);t?e.find("body").append(G):j.after(G)}}}]).directive("typeaheadPopup",function(){return{restrict:"EA",scope:{matches:"=",query:"=",active:"=",position:"=",select:"&"},replace:!0,templateUrl:"template/typeahead/typeahead-popup.html",link:function(a,b,c){a.templateUrl=c.templateUrl,a.isOpen=function(){return a.matches.length>0},a.isActive=function(b){return a.active==b},a.selectActive=function(b){a.active=b},a.selectMatch=function(b){a.select({activeIdx:b})}}}}).directive("typeaheadMatch",["$http","$templateCache","$compile","$parse",function(a,b,c,d){return{restrict:"EA",scope:{index:"=",match:"=",query:"="},link:function(e,f,g){var h=d(g.templateUrl)(e.$parent)||"template/typeahead/typeahead-match.html";a.get(h,{cache:b}).success(function(a){f.replaceWith(c(a.trim())(e))})}}}]).filter("typeaheadHighlight",function(){function a(a){return a.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return function(b,c){return c?(""+b).replace(new RegExp(a(c),"gi"),"$&"):b}}); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/.bower.json b/public/app/bower_components/angular-i18n/.bower.json index fba86cad..88bcd458 100644 --- a/public/app/bower_components/angular-i18n/.bower.json +++ b/public/app/bower_components/angular-i18n/.bower.json @@ -1,20 +1,19 @@ { "name": "angular-i18n", - "version": "1.2.21", + "version": "1.2.25", "ignore": [ "**/.*", "node_modules", "components" ], "homepage": "https://github.com/angular/bower-angular-i18n", - "_release": "1.2.21", + "_release": "1.2.25", "_resolution": { "type": "version", - "tag": "v1.2.21", - "commit": "2546948effaed28d23bc360ace7790f66149cd39" + "tag": "v1.2.25", + "commit": "dc8b948ec0c40ca1558393da0722eb77489a84c2" }, "_source": "git://github.com/angular/bower-angular-i18n.git", - "_target": "~1.2.21", - "_originalSource": "angular-i18n", - "_direct": true + "_target": "*", + "_originalSource": "angular-i18n" } \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_aa-dj.js b/public/app/bower_components/angular-i18n/angular-locale_aa-dj.js new file mode 100644 index 00000000..8d047dea --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_aa-dj.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "saaku", + "carra" + ], + "DAY": [ + "Acaada", + "Etleeni", + "Talaata", + "Arbaqa", + "Kamiisi", + "Gumqata", + "Sabti" + ], + "MONTH": [ + "Qunxa Garablu", + "Kudo", + "Ciggilta Kudo", + "Agda Baxis", + "Caxah Alsa", + "Qasa Dirri", + "Qado Dirri", + "Leqeeni", + "Waysu", + "Diteli", + "Ximoli", + "Kaxxa Garablu" + ], + "SHORTDAY": [ + "Aca", + "Etl", + "Tal", + "Arb", + "Kam", + "Gum", + "Sab" + ], + "SHORTMONTH": [ + "Qun", + "Nah", + "Cig", + "Agd", + "Cax", + "Qas", + "Qad", + "Leq", + "Way", + "Dit", + "Xim", + "Kax" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Fdj", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "aa-dj", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_aa-er.js b/public/app/bower_components/angular-i18n/angular-locale_aa-er.js new file mode 100644 index 00000000..aa2dac6d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_aa-er.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "saaku", + "carra" + ], + "DAY": [ + "Acaada", + "Etleeni", + "Talaata", + "Arbaqa", + "Kamiisi", + "Gumqata", + "Sabti" + ], + "MONTH": [ + "Qunxa Garablu", + "Kudo", + "Ciggilta Kudo", + "Agda Baxis", + "Caxah Alsa", + "Qasa Dirri", + "Qado Dirri", + "Liiqen", + "Waysu", + "Diteli", + "Ximoli", + "Kaxxa Garablu" + ], + "SHORTDAY": [ + "Aca", + "Etl", + "Tal", + "Arb", + "Kam", + "Gum", + "Sab" + ], + "SHORTMONTH": [ + "Qun", + "Nah", + "Cig", + "Agd", + "Cax", + "Qas", + "Qad", + "Leq", + "Way", + "Dit", + "Xim", + "Kax" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Nfk", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "aa-er", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_aa-et.js b/public/app/bower_components/angular-i18n/angular-locale_aa-et.js new file mode 100644 index 00000000..c117036e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_aa-et.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "saaku", + "carra" + ], + "DAY": [ + "Acaada", + "Etleeni", + "Talaata", + "Arbaqa", + "Kamiisi", + "Gumqata", + "Sabti" + ], + "MONTH": [ + "Qunxa Garablu", + "Kudo", + "Ciggilta Kudo", + "Agda Baxis", + "Caxah Alsa", + "Qasa Dirri", + "Qado Dirri", + "Liiqen", + "Waysu", + "Diteli", + "Ximoli", + "Kaxxa Garablu" + ], + "SHORTDAY": [ + "Aca", + "Etl", + "Tal", + "Arb", + "Kam", + "Gum", + "Sab" + ], + "SHORTMONTH": [ + "Qun", + "Nah", + "Cig", + "Agd", + "Cax", + "Qas", + "Qad", + "Leq", + "Way", + "Dit", + "Xim", + "Kax" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Birr", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "aa-et", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_aa.js b/public/app/bower_components/angular-i18n/angular-locale_aa.js new file mode 100644 index 00000000..52c9e2fd --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_aa.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "saaku", + "carra" + ], + "DAY": [ + "Acaada", + "Etleeni", + "Talaata", + "Arbaqa", + "Kamiisi", + "Gumqata", + "Sabti" + ], + "MONTH": [ + "Qunxa Garablu", + "Kudo", + "Ciggilta Kudo", + "Agda Baxis", + "Caxah Alsa", + "Qasa Dirri", + "Qado Dirri", + "Liiqen", + "Waysu", + "Diteli", + "Ximoli", + "Kaxxa Garablu" + ], + "SHORTDAY": [ + "Aca", + "Etl", + "Tal", + "Arb", + "Kam", + "Gum", + "Sab" + ], + "SHORTMONTH": [ + "Qun", + "Nah", + "Cig", + "Agd", + "Cax", + "Qas", + "Qad", + "Leq", + "Way", + "Dit", + "Xim", + "Kax" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Birr", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "aa", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_af-na.js b/public/app/bower_components/angular-i18n/angular-locale_af-na.js index e40bd166..bed3ffff 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_af-na.js +++ b/public/app/bower_components/angular-i18n/angular-locale_af-na.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "R", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "af-na", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_af-za.js b/public/app/bower_components/angular-i18n/angular-locale_af-za.js index dddd6cae..4a27321c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_af-za.js +++ b/public/app/bower_components/angular-i18n/angular-locale_af-za.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "dd MMM y h:mm:ss a", "mediumDate": "dd MMM y", "mediumTime": "h:mm:ss a", - "short": "yyyy-MM-dd h:mm a", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd h:mm a", + "shortDate": "y-MM-dd", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "af-za", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_af.js b/public/app/bower_components/angular-i18n/angular-locale_af.js index aacbefd8..6261d506 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_af.js +++ b/public/app/bower_components/angular-i18n/angular-locale_af.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "dd MMM y h:mm:ss a", "mediumDate": "dd MMM y", "mediumTime": "h:mm:ss a", - "short": "yyyy-MM-dd h:mm a", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd h:mm a", + "shortDate": "y-MM-dd", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "af", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_agq-cm.js b/public/app/bower_components/angular-i18n/angular-locale_agq-cm.js new file mode 100644 index 00000000..cd073f20 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_agq-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.g", + "a.k" + ], + "DAY": [ + "tsu\u0294nts\u0268", + "tsu\u0294ukp\u00e0", + "tsu\u0294ugh\u0254e", + "tsu\u0294ut\u0254\u0300ml\u00f2", + "tsu\u0294um\u00e8", + "tsu\u0294ugh\u0268\u0302m", + "tsu\u0294ndz\u0268k\u0254\u0294\u0254" + ], + "MONTH": [ + "ndz\u0254\u0300\u014b\u0254\u0300n\u00f9m", + "ndz\u0254\u0300\u014b\u0254\u0300k\u0197\u0300z\u00f9\u0294", + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300d\u0289\u0300gh\u00e0", + "ndz\u0254\u0300\u014b\u0254\u0300t\u01ceaf\u0289\u0304gh\u0101", + "ndz\u0254\u0300\u014b\u00e8s\u00e8e", + "ndz\u0254\u0300\u014b\u0254\u0300nz\u00f9gh\u00f2", + "ndz\u0254\u0300\u014b\u0254\u0300d\u00f9mlo", + "ndz\u0254\u0300\u014b\u0254\u0300kw\u00eef\u0254\u0300e", + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300f\u0289\u0300gh\u00e0dzugh\u00f9", + "ndz\u0254\u0300\u014b\u0254\u0300gh\u01d4uwel\u0254\u0300m", + "ndz\u0254\u0300\u014b\u0254\u0300chwa\u0294\u00e0kaa wo", + "ndz\u0254\u0300\u014b\u00e8fw\u00f2o" + ], + "SHORTDAY": [ + "nts", + "kpa", + "gh\u0254", + "t\u0254m", + "ume", + "gh\u0268", + "dzk" + ], + "SHORTMONTH": [ + "n\u00f9m", + "k\u0268z", + "t\u0268d", + "taa", + "see", + "nzu", + "dum", + "f\u0254e", + "dzu", + "l\u0254m", + "kaa", + "fwo" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "agq-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_agq.js b/public/app/bower_components/angular-i18n/angular-locale_agq.js new file mode 100644 index 00000000..1d04832f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_agq.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.g", + "a.k" + ], + "DAY": [ + "tsu\u0294nts\u0268", + "tsu\u0294ukp\u00e0", + "tsu\u0294ugh\u0254e", + "tsu\u0294ut\u0254\u0300ml\u00f2", + "tsu\u0294um\u00e8", + "tsu\u0294ugh\u0268\u0302m", + "tsu\u0294ndz\u0268k\u0254\u0294\u0254" + ], + "MONTH": [ + "ndz\u0254\u0300\u014b\u0254\u0300n\u00f9m", + "ndz\u0254\u0300\u014b\u0254\u0300k\u0197\u0300z\u00f9\u0294", + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300d\u0289\u0300gh\u00e0", + "ndz\u0254\u0300\u014b\u0254\u0300t\u01ceaf\u0289\u0304gh\u0101", + "ndz\u0254\u0300\u014b\u00e8s\u00e8e", + "ndz\u0254\u0300\u014b\u0254\u0300nz\u00f9gh\u00f2", + "ndz\u0254\u0300\u014b\u0254\u0300d\u00f9mlo", + "ndz\u0254\u0300\u014b\u0254\u0300kw\u00eef\u0254\u0300e", + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300f\u0289\u0300gh\u00e0dzugh\u00f9", + "ndz\u0254\u0300\u014b\u0254\u0300gh\u01d4uwel\u0254\u0300m", + "ndz\u0254\u0300\u014b\u0254\u0300chwa\u0294\u00e0kaa wo", + "ndz\u0254\u0300\u014b\u00e8fw\u00f2o" + ], + "SHORTDAY": [ + "nts", + "kpa", + "gh\u0254", + "t\u0254m", + "ume", + "gh\u0268", + "dzk" + ], + "SHORTMONTH": [ + "n\u00f9m", + "k\u0268z", + "t\u0268d", + "taa", + "see", + "nzu", + "dum", + "f\u0254e", + "dzu", + "l\u0254m", + "kaa", + "fwo" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "agq", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ak-gh.js b/public/app/bower_components/angular-i18n/angular-locale_ak-gh.js new file mode 100644 index 00000000..9fca9932 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ak-gh.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AN", + "EW" + ], + "DAY": [ + "Kwesida", + "Dwowda", + "Benada", + "Wukuda", + "Yawda", + "Fida", + "Memeneda" + ], + "MONTH": [ + "Sanda-\u0186p\u025bp\u0254n", + "Kwakwar-\u0186gyefuo", + "Eb\u0254w-\u0186benem", + "Eb\u0254bira-Oforisuo", + "Esusow Aketseaba-K\u0254t\u0254nimba", + "Obirade-Ay\u025bwohomumu", + "Ay\u025bwoho-Kitawonsa", + "Difuu-\u0186sandaa", + "Fankwa-\u0190b\u0254", + "\u0186b\u025bs\u025b-Ahinime", + "\u0186ber\u025bf\u025bw-Obubuo", + "Mumu-\u0186p\u025bnimba" + ], + "SHORTDAY": [ + "Kwe", + "Dwo", + "Ben", + "Wuk", + "Yaw", + "Fia", + "Mem" + ], + "SHORTMONTH": [ + "S-\u0186", + "K-\u0186", + "E-\u0186", + "E-O", + "E-K", + "O-A", + "A-K", + "D-\u0186", + "F-\u0190", + "\u0186-A", + "\u0186-O", + "M-\u0186" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/MM/dd HH:mm", + "shortDate": "yy/MM/dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "GHS", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ak-gh", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ak.js b/public/app/bower_components/angular-i18n/angular-locale_ak.js new file mode 100644 index 00000000..ed777821 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ak.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AN", + "EW" + ], + "DAY": [ + "Kwesida", + "Dwowda", + "Benada", + "Wukuda", + "Yawda", + "Fida", + "Memeneda" + ], + "MONTH": [ + "Sanda-\u0186p\u025bp\u0254n", + "Kwakwar-\u0186gyefuo", + "Eb\u0254w-\u0186benem", + "Eb\u0254bira-Oforisuo", + "Esusow Aketseaba-K\u0254t\u0254nimba", + "Obirade-Ay\u025bwohomumu", + "Ay\u025bwoho-Kitawonsa", + "Difuu-\u0186sandaa", + "Fankwa-\u0190b\u0254", + "\u0186b\u025bs\u025b-Ahinime", + "\u0186ber\u025bf\u025bw-Obubuo", + "Mumu-\u0186p\u025bnimba" + ], + "SHORTDAY": [ + "Kwe", + "Dwo", + "Ben", + "Wuk", + "Yaw", + "Fia", + "Mem" + ], + "SHORTMONTH": [ + "S-\u0186", + "K-\u0186", + "E-\u0186", + "E-O", + "E-K", + "O-A", + "A-K", + "D-\u0186", + "F-\u0190", + "\u0186-A", + "\u0186-O", + "M-\u0186" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/MM/dd HH:mm", + "shortDate": "yy/MM/dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "GHS", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ak", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_am-et.js b/public/app/bower_components/angular-i18n/angular-locale_am-et.js index decae2de..a076f980 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_am-et.js +++ b/public/app/bower_components/angular-i18n/angular-locale_am-et.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u1321\u12cb\u1275", - "\u12a8\u1233\u12d3\u1275" + "\u1325\u12cb\u1275", + "\u12a8\u1230\u12d3\u1275" ], "DAY": [ "\u12a5\u1211\u12f5", @@ -20,7 +20,7 @@ $provide.value("$locale", { "\u1303\u1295\u12e9\u12c8\u122a", "\u134c\u1265\u1229\u12c8\u122a", "\u121b\u122d\u127d", - "\u12a4\u1355\u1228\u120d", + "\u12a4\u1355\u122a\u120d", "\u121c\u12ed", "\u1301\u1295", "\u1301\u120b\u12ed", @@ -43,7 +43,7 @@ $provide.value("$locale", { "\u1303\u1295\u12e9", "\u134c\u1265\u1229", "\u121b\u122d\u127d", - "\u12a4\u1355\u1228", + "\u12a4\u1355\u122a", "\u121c\u12ed", "\u1301\u1295", "\u1301\u120b\u12ed", @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y h:mm:ss a", "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", - "short": "dd/MM/yyyy h:mm a", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "am-et", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_am.js b/public/app/bower_components/angular-i18n/angular-locale_am.js index 6a7ad5f3..9f4db0dd 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_am.js +++ b/public/app/bower_components/angular-i18n/angular-locale_am.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u1321\u12cb\u1275", - "\u12a8\u1233\u12d3\u1275" + "\u1325\u12cb\u1275", + "\u12a8\u1230\u12d3\u1275" ], "DAY": [ "\u12a5\u1211\u12f5", @@ -20,7 +20,7 @@ $provide.value("$locale", { "\u1303\u1295\u12e9\u12c8\u122a", "\u134c\u1265\u1229\u12c8\u122a", "\u121b\u122d\u127d", - "\u12a4\u1355\u1228\u120d", + "\u12a4\u1355\u122a\u120d", "\u121c\u12ed", "\u1301\u1295", "\u1301\u120b\u12ed", @@ -43,7 +43,7 @@ $provide.value("$locale", { "\u1303\u1295\u12e9", "\u134c\u1265\u1229", "\u121b\u122d\u127d", - "\u12a4\u1355\u1228", + "\u12a4\u1355\u122a", "\u121c\u12ed", "\u1301\u1295", "\u1301\u120b\u12ed", @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y h:mm:ss a", "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", - "short": "dd/MM/yyyy h:mm a", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "am", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-001.js b/public/app/bower_components/angular-i18n/angular-locale_ar-001.js index 9ed1dae1..6c5fc98f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-001.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-001.js @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -68,32 +68,30 @@ $provide.value("$locale", { "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-001", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-ae.js b/public/app/bower_components/angular-i18n/angular-locale_ar-ae.js index 2440d71e..f7546bda 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-ae.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-ae.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "dh", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-ae", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-bh.js b/public/app/bower_components/angular-i18n/angular-locale_ar-bh.js index bb532894..f9e93710 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-bh.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-bh.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "din", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-bh", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-dj.js b/public/app/bower_components/angular-i18n/angular-locale_ar-dj.js index a6617183..b7d8b84b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-dj.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-dj.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "Fdj", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-dz.js b/public/app/bower_components/angular-i18n/angular-locale_ar-dz.js index ab02398e..6f17f6bb 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-dz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-dz.js @@ -17,14 +17,14 @@ $provide.value("$locale", { "\u0627\u0644\u0633\u0628\u062a" ], "MONTH": [ - "\u064a\u0646\u0627\u064a\u0631", - "\u0641\u0628\u0631\u0627\u064a\u0631", + "\u062c\u0627\u0646\u0641\u064a", + "\u0641\u064a\u0641\u0631\u064a", "\u0645\u0627\u0631\u0633", - "\u0623\u0628\u0631\u064a\u0644", - "\u0645\u0627\u064a\u0648", - "\u064a\u0648\u0646\u064a\u0648", - "\u064a\u0648\u0644\u064a\u0648", - "\u0623\u063a\u0633\u0637\u0633", + "\u0623\u0641\u0631\u064a\u0644", + "\u0645\u0627\u064a", + "\u062c\u0648\u0627\u0646", + "\u062c\u0648\u064a\u0644\u064a\u0629", + "\u0623\u0648\u062a", "\u0633\u0628\u062a\u0645\u0628\u0631", "\u0623\u0643\u062a\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", @@ -40,14 +40,14 @@ $provide.value("$locale", { "\u0627\u0644\u0633\u0628\u062a" ], "SHORTMONTH": [ - "\u064a\u0646\u0627\u064a\u0631", - "\u0641\u0628\u0631\u0627\u064a\u0631", + "\u062c\u0627\u0646\u0641\u064a", + "\u0641\u064a\u0641\u0631\u064a", "\u0645\u0627\u0631\u0633", - "\u0623\u0628\u0631\u064a\u0644", - "\u0645\u0627\u064a\u0648", - "\u064a\u0648\u0646\u064a\u0648", - "\u064a\u0648\u0644\u064a\u0648", - "\u0623\u063a\u0633\u0637\u0633", + "\u0623\u0641\u0631\u064a\u0644", + "\u0645\u0627\u064a", + "\u062c\u0648\u0627\u0646", + "\u062c\u0648\u064a\u0644\u064a\u0629", + "\u0623\u0648\u062a", "\u0633\u0628\u062a\u0645\u0628\u0631", "\u0623\u0643\u062a\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "yyyy/MM/dd h:mm:ss a", - "mediumDate": "yyyy/MM/dd", + "medium": "y/MM/dd h:mm:ss a", + "mediumDate": "y/MM/dd", "mediumTime": "h:mm:ss a", - "short": "yyyy/M/d h:mm a", - "shortDate": "yyyy/M/d", + "short": "y/M/d h:mm a", + "shortDate": "y/M/d", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", - "DECIMAL_SEP": "\u066b", - "GROUP_SEP": "\u066c", + "CURRENCY_SYM": "din", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-dz", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-eg.js b/public/app/bower_components/angular-i18n/angular-locale_ar-eg.js index 1a45444f..a35b2eba 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-eg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-eg.js @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -68,32 +68,30 @@ $provide.value("$locale", { "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-eg", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-eh.js b/public/app/bower_components/angular-i18n/angular-locale_ar-eh.js index 0002fbc7..5d2f83e9 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-eh.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-eh.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", - "DECIMAL_SEP": "\u066b", - "GROUP_SEP": "\u066c", + "CURRENCY_SYM": "dh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-er.js b/public/app/bower_components/angular-i18n/angular-locale_ar-er.js index 05a0be5b..1fee234b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-er.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-er.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "Nfk", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-il.js b/public/app/bower_components/angular-i18n/angular-locale_ar-il.js index 3bf36279..66ea433e 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-il.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-il.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "\u20aa", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-iq.js b/public/app/bower_components/angular-i18n/angular-locale_ar-iq.js index a141d147..b9bfb9be 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-iq.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-iq.js @@ -17,18 +17,18 @@ $provide.value("$locale", { "\u0627\u0644\u0633\u0628\u062a" ], "MONTH": [ - "\u064a\u0646\u0627\u064a\u0631", - "\u0641\u0628\u0631\u0627\u064a\u0631", - "\u0645\u0627\u0631\u0633", - "\u0623\u0628\u0631\u064a\u0644", - "\u0645\u0627\u064a\u0648", - "\u064a\u0648\u0646\u064a\u0648", - "\u064a\u0648\u0644\u064a\u0648", - "\u0623\u063a\u0633\u0637\u0633", - "\u0633\u0628\u062a\u0645\u0628\u0631", - "\u0623\u0643\u062a\u0648\u0628\u0631", - "\u0646\u0648\u0641\u0645\u0628\u0631", - "\u062f\u064a\u0633\u0645\u0628\u0631" + "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a", + "\u0634\u0628\u0627\u0637", + "\u0622\u0630\u0627\u0631", + "\u0646\u064a\u0633\u0627\u0646", + "\u0623\u064a\u0627\u0631", + "\u062d\u0632\u064a\u0631\u0627\u0646", + "\u062a\u0645\u0648\u0632", + "\u0622\u0628", + "\u0623\u064a\u0644\u0648\u0644", + "\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644", + "\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a", + "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644" ], "SHORTDAY": [ "\u0627\u0644\u0623\u062d\u062f", @@ -40,60 +40,58 @@ $provide.value("$locale", { "\u0627\u0644\u0633\u0628\u062a" ], "SHORTMONTH": [ - "\u064a\u0646\u0627\u064a\u0631", - "\u0641\u0628\u0631\u0627\u064a\u0631", - "\u0645\u0627\u0631\u0633", - "\u0623\u0628\u0631\u064a\u0644", - "\u0645\u0627\u064a\u0648", - "\u064a\u0648\u0646\u064a\u0648", - "\u064a\u0648\u0644\u064a\u0648", - "\u0623\u063a\u0633\u0637\u0633", - "\u0633\u0628\u062a\u0645\u0628\u0631", - "\u0623\u0643\u062a\u0648\u0628\u0631", - "\u0646\u0648\u0641\u0645\u0628\u0631", - "\u062f\u064a\u0633\u0645\u0628\u0631" + "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a", + "\u0634\u0628\u0627\u0637", + "\u0622\u0630\u0627\u0631", + "\u0646\u064a\u0633\u0627\u0646", + "\u0623\u064a\u0627\u0631", + "\u062d\u0632\u064a\u0631\u0627\u0646", + "\u062a\u0645\u0648\u0632", + "\u0622\u0628", + "\u0623\u064a\u0644\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646 \u0627\u0644\u0623\u0648\u0644", + "\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a", + "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644" ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "din", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-iq", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-jo.js b/public/app/bower_components/angular-i18n/angular-locale_ar-jo.js index 67e5d70b..1bc55a6e 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-jo.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-jo.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "din", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-jo", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-km.js b/public/app/bower_components/angular-i18n/angular-locale_ar-km.js index 5280293b..ef97dc52 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-km.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-km.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "CF", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-kw.js b/public/app/bower_components/angular-i18n/angular-locale_ar-kw.js index 7507c5ac..39c44d86 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-kw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-kw.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "din", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-kw", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-lb.js b/public/app/bower_components/angular-i18n/angular-locale_ar-lb.js index 8c867b63..eafa434d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-lb.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-lb.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "MMM d, y h:mm:ss a", + "mediumDate": "MMM d, y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "L\u00a3", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-lb", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-ly.js b/public/app/bower_components/angular-i18n/angular-locale_ar-ly.js index 4b59d399..32b401c9 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-ly.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-ly.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", - "DECIMAL_SEP": "\u066b", - "GROUP_SEP": "\u066c", + "CURRENCY_SYM": "din", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-ly", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-ma.js b/public/app/bower_components/angular-i18n/angular-locale_ar-ma.js index 44fcfccd..f40c5870 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-ma.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-ma.js @@ -21,14 +21,14 @@ $provide.value("$locale", { "\u0641\u0628\u0631\u0627\u064a\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064a\u0644", - "\u0645\u0627\u064a\u0648", + "\u0645\u0627\u064a", "\u064a\u0648\u0646\u064a\u0648", - "\u064a\u0648\u0644\u064a\u0648", - "\u0623\u063a\u0633\u0637\u0633", - "\u0633\u0628\u062a\u0645\u0628\u0631", + "\u064a\u0648\u0644\u064a\u0648\u0632", + "\u063a\u0634\u062a", + "\u0634\u062a\u0646\u0628\u0631", "\u0623\u0643\u062a\u0648\u0628\u0631", - "\u0646\u0648\u0641\u0645\u0628\u0631", - "\u062f\u064a\u0633\u0645\u0628\u0631" + "\u0646\u0648\u0646\u0628\u0631", + "\u062f\u062c\u0646\u0628\u0631" ], "SHORTDAY": [ "\u0627\u0644\u0623\u062d\u062f", @@ -44,56 +44,54 @@ $provide.value("$locale", { "\u0641\u0628\u0631\u0627\u064a\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064a\u0644", - "\u0645\u0627\u064a\u0648", + "\u0645\u0627\u064a", "\u064a\u0648\u0646\u064a\u0648", - "\u064a\u0648\u0644\u064a\u0648", - "\u0623\u063a\u0633\u0637\u0633", - "\u0633\u0628\u062a\u0645\u0628\u0631", + "\u064a\u0648\u0644\u064a\u0648\u0632", + "\u063a\u0634\u062a", + "\u0634\u062a\u0646\u0628\u0631", "\u0623\u0643\u062a\u0648\u0628\u0631", - "\u0646\u0648\u0641\u0645\u0628\u0631", - "\u062f\u064a\u0633\u0645\u0628\u0631" + "\u0646\u0648\u0646\u0628\u0631", + "\u062f\u062c\u0646\u0628\u0631" ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "yyyy/MM/dd h:mm:ss a", - "mediumDate": "yyyy/MM/dd", + "medium": "y/MM/dd h:mm:ss a", + "mediumDate": "y/MM/dd", "mediumTime": "h:mm:ss a", - "short": "yyyy/M/d h:mm a", - "shortDate": "yyyy/M/d", + "short": "y/M/d h:mm a", + "shortDate": "y/M/d", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", - "DECIMAL_SEP": "\u066b", - "GROUP_SEP": "\u066c", + "CURRENCY_SYM": "dh", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-ma", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-mr.js b/public/app/bower_components/angular-i18n/angular-locale_ar-mr.js index da89059a..d7966136 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-mr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-mr.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "MRO", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-om.js b/public/app/bower_components/angular-i18n/angular-locale_ar-om.js index 822aede1..0dec3a55 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-om.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-om.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "Rial", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-om", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-ps.js b/public/app/bower_components/angular-i18n/angular-locale_ar-ps.js index cec07d9e..cc2c23e0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-ps.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-ps.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "\u20aa", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-qa.js b/public/app/bower_components/angular-i18n/angular-locale_ar-qa.js index f7dfd65e..f7b69e18 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-qa.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-qa.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "Rial", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { "gSize": 0, "lgSize": 0, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", - "posPre": "\u00a4\u00a0", + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", "posSuf": "" } ] }, "id": "ar-qa", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-sa.js b/public/app/bower_components/angular-i18n/angular-locale_ar-sa.js index 8ee44d42..99fb46c6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-sa.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-sa.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "Rial", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { "gSize": 0, "lgSize": 0, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", - "posPre": "\u00a4\u00a0", + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", "posSuf": "" } ] }, "id": "ar-sa", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-sd.js b/public/app/bower_components/angular-i18n/angular-locale_ar-sd.js index 0141e057..5c06e63b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-sd.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-sd.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "SDG", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar-sd", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-so.js b/public/app/bower_components/angular-i18n/angular-locale_ar-so.js index 29bbc6db..3423ead8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-so.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-so.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "SOS", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-ss.js b/public/app/bower_components/angular-i18n/angular-locale_ar-ss.js index 2cd6ab39..be198d83 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-ss.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-ss.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "SSP", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-sy.js b/public/app/bower_components/angular-i18n/angular-locale_ar-sy.js index cb324e87..72d93f16 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-sy.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-sy.js @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -68,32 +68,30 @@ $provide.value("$locale", { "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { "gSize": 0, "lgSize": 0, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", - "posPre": "\u00a4\u00a0", + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", "posSuf": "" } ] }, "id": "ar-sy", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-td.js b/public/app/bower_components/angular-i18n/angular-locale_ar-td.js index 5d519b99..abb0d1fd 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-td.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-td.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-tn.js b/public/app/bower_components/angular-i18n/angular-locale_ar-tn.js index a78f0de6..4b293373 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-tn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-tn.js @@ -17,14 +17,14 @@ $provide.value("$locale", { "\u0627\u0644\u0633\u0628\u062a" ], "MONTH": [ - "\u064a\u0646\u0627\u064a\u0631", - "\u0641\u0628\u0631\u0627\u064a\u0631", + "\u062c\u0627\u0646\u0641\u064a", + "\u0641\u064a\u0641\u0631\u064a", "\u0645\u0627\u0631\u0633", - "\u0623\u0628\u0631\u064a\u0644", - "\u0645\u0627\u064a\u0648", - "\u064a\u0648\u0646\u064a\u0648", - "\u064a\u0648\u0644\u064a\u0648", - "\u0623\u063a\u0633\u0637\u0633", + "\u0623\u0641\u0631\u064a\u0644", + "\u0645\u0627\u064a", + "\u062c\u0648\u0627\u0646", + "\u062c\u0648\u064a\u0644\u064a\u0629", + "\u0623\u0648\u062a", "\u0633\u0628\u062a\u0645\u0628\u0631", "\u0623\u0643\u062a\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", @@ -40,14 +40,14 @@ $provide.value("$locale", { "\u0627\u0644\u0633\u0628\u062a" ], "SHORTMONTH": [ - "\u064a\u0646\u0627\u064a\u0631", - "\u0641\u0628\u0631\u0627\u064a\u0631", + "\u062c\u0627\u0646\u0641\u064a", + "\u0641\u064a\u0641\u0631\u064a", "\u0645\u0627\u0631\u0633", - "\u0623\u0628\u0631\u064a\u0644", - "\u0645\u0627\u064a\u0648", - "\u064a\u0648\u0646\u064a\u0648", - "\u064a\u0648\u0644\u064a\u0648", - "\u0623\u063a\u0633\u0637\u0633", + "\u0623\u0641\u0631\u064a\u0644", + "\u0645\u0627\u064a", + "\u062c\u0648\u0627\u0646", + "\u062c\u0648\u064a\u0644\u064a\u0629", + "\u0623\u0648\u062a", "\u0633\u0628\u062a\u0645\u0628\u0631", "\u0623\u0643\u062a\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "yyyy/MM/dd h:mm:ss a", - "mediumDate": "yyyy/MM/dd", + "medium": "y/MM/dd h:mm:ss a", + "mediumDate": "y/MM/dd", "mediumTime": "h:mm:ss a", - "short": "yyyy/M/d h:mm a", - "shortDate": "yyyy/M/d", + "short": "y/M/d h:mm a", + "shortDate": "y/M/d", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", - "DECIMAL_SEP": "\u066b", - "GROUP_SEP": "\u066c", + "CURRENCY_SYM": "din", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { "gSize": 0, "lgSize": 0, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", - "posPre": "\u00a4\u00a0", + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", "posSuf": "" } ] }, "id": "ar-tn", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar-ye.js b/public/app/bower_components/angular-i18n/angular-locale_ar-ye.js index 6b28d2ff..137a8b01 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar-ye.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar-ye.js @@ -55,45 +55,43 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a3", + "CURRENCY_SYM": "Rial", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { "gSize": 0, "lgSize": 0, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", - "posPre": "\u00a4\u00a0", + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", "posSuf": "" } ] }, "id": "ar-ye", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ar.js b/public/app/bower_components/angular-i18n/angular-locale_ar.js index 872194e7..8d349dda 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ar.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ar.js @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u060c d MMMM\u060c y", "longDate": "d MMMM\u060c y", - "medium": "dd\u200f/MM\u200f/yyyy h:mm:ss a", - "mediumDate": "dd\u200f/MM\u200f/yyyy", + "medium": "dd\u200f/MM\u200f/y h:mm:ss a", + "mediumDate": "dd\u200f/MM\u200f/y", "mediumTime": "h:mm:ss a", - "short": "d\u200f/M\u200f/yyyy h:mm a", - "shortDate": "d\u200f/M\u200f/yyyy", + "short": "d\u200f/M\u200f/y h:mm a", + "shortDate": "d\u200f/M\u200f/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -68,32 +68,30 @@ $provide.value("$locale", { "GROUP_SEP": "\u066c", "PATTERNS": [ { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, - "negPre": "", - "negSuf": "-", + "negPre": "-", + "negSuf": "", "posPre": "", "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", + "negPre": "\u00a4\u00a0-", + "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ar", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n == (n | 0) && n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 >= 3 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 99) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_as-in.js b/public/app/bower_components/angular-i18n/angular-locale_as-in.js new file mode 100644 index 00000000..ddf4ea8a --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_as-in.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u09aa\u09c2\u09f0\u09cd\u09ac\u09be\u09b9\u09cd\u09a3", + "\u0985\u09aa\u09f0\u09be\u09b9\u09cd\u09a3" + ], + "DAY": [ + "\u09a6\u09c7\u0993\u09ac\u09be\u09f0", + "\u09b8\u09cb\u09ae\u09ac\u09be\u09f0", + "\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09f0", + "\u09ac\u09c1\u09a7\u09ac\u09be\u09f0", + "\u09ac\u09c3\u09b9\u09b7\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09f0", + "\u09b6\u09c1\u0995\u09cd\u09f0\u09ac\u09be\u09f0", + "\u09b6\u09a8\u09bf\u09ac\u09be\u09f0" + ], + "MONTH": [ + "\u099c\u09be\u09a8\u09c1\u09f1\u09be\u09f0\u09c0", + "\u09ab\u09c7\u09ac\u09cd\u09f0\u09c1\u09f1\u09be\u09f0\u09c0", + "\u09ae\u09be\u09f0\u09cd\u099a", + "\u098f\u09aa\u09cd\u09f0\u09bf\u09b2", + "\u09ae\u09c7", + "\u099c\u09c1\u09a8", + "\u099c\u09c1\u09b2\u09be\u0987", + "\u0986\u0997\u09b7\u09cd\u099f", + "\u099b\u09c7\u09aa\u09cd\u09a4\u09c7\u09ae\u09cd\u09ac\u09f0", + "\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09f0", + "\u09a8\u09f1\u09c7\u09ae\u09cd\u09ac\u09f0", + "\u09a1\u09bf\u099a\u09c7\u09ae\u09cd\u09ac\u09f0" + ], + "SHORTDAY": [ + "\u09f0\u09ac\u09bf", + "\u09b8\u09cb\u09ae", + "\u09ae\u0999\u09cd\u0997\u09b2", + "\u09ac\u09c1\u09a7", + "\u09ac\u09c3\u09b9\u09b7\u09cd\u09aa\u09a4\u09bf", + "\u09b6\u09c1\u0995\u09cd\u09f0", + "\u09b6\u09a8\u09bf" + ], + "SHORTMONTH": [ + "\u099c\u09be\u09a8\u09c1", + "\u09ab\u09c7\u09ac\u09cd\u09f0\u09c1", + "\u09ae\u09be\u09f0\u09cd\u099a", + "\u098f\u09aa\u09cd\u09f0\u09bf\u09b2", + "\u09ae\u09c7", + "\u099c\u09c1\u09a8", + "\u099c\u09c1\u09b2\u09be\u0987", + "\u0986\u0997", + "\u09b8\u09c7\u09aa\u09cd\u099f", + "\u0985\u0995\u09cd\u099f\u09cb", + "\u09a8\u09ad\u09c7", + "\u09a1\u09bf\u09b8\u09c7" + ], + "fullDate": "EEEE, d MMMM, y", + "longDate": "d MMMM, y", + "medium": "dd-MM-y h.mm.ss a", + "mediumDate": "dd-MM-y", + "mediumTime": "h.mm.ss a", + "short": "d-M-y h.mm. a", + "shortDate": "d-M-y", + "shortTime": "h.mm. a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20b9", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "as-in", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_as.js b/public/app/bower_components/angular-i18n/angular-locale_as.js new file mode 100644 index 00000000..e5848d3e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_as.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u09aa\u09c2\u09f0\u09cd\u09ac\u09be\u09b9\u09cd\u09a3", + "\u0985\u09aa\u09f0\u09be\u09b9\u09cd\u09a3" + ], + "DAY": [ + "\u09a6\u09c7\u0993\u09ac\u09be\u09f0", + "\u09b8\u09cb\u09ae\u09ac\u09be\u09f0", + "\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09f0", + "\u09ac\u09c1\u09a7\u09ac\u09be\u09f0", + "\u09ac\u09c3\u09b9\u09b7\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09f0", + "\u09b6\u09c1\u0995\u09cd\u09f0\u09ac\u09be\u09f0", + "\u09b6\u09a8\u09bf\u09ac\u09be\u09f0" + ], + "MONTH": [ + "\u099c\u09be\u09a8\u09c1\u09f1\u09be\u09f0\u09c0", + "\u09ab\u09c7\u09ac\u09cd\u09f0\u09c1\u09f1\u09be\u09f0\u09c0", + "\u09ae\u09be\u09f0\u09cd\u099a", + "\u098f\u09aa\u09cd\u09f0\u09bf\u09b2", + "\u09ae\u09c7", + "\u099c\u09c1\u09a8", + "\u099c\u09c1\u09b2\u09be\u0987", + "\u0986\u0997\u09b7\u09cd\u099f", + "\u099b\u09c7\u09aa\u09cd\u09a4\u09c7\u09ae\u09cd\u09ac\u09f0", + "\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09f0", + "\u09a8\u09f1\u09c7\u09ae\u09cd\u09ac\u09f0", + "\u09a1\u09bf\u099a\u09c7\u09ae\u09cd\u09ac\u09f0" + ], + "SHORTDAY": [ + "\u09f0\u09ac\u09bf", + "\u09b8\u09cb\u09ae", + "\u09ae\u0999\u09cd\u0997\u09b2", + "\u09ac\u09c1\u09a7", + "\u09ac\u09c3\u09b9\u09b7\u09cd\u09aa\u09a4\u09bf", + "\u09b6\u09c1\u0995\u09cd\u09f0", + "\u09b6\u09a8\u09bf" + ], + "SHORTMONTH": [ + "\u099c\u09be\u09a8\u09c1", + "\u09ab\u09c7\u09ac\u09cd\u09f0\u09c1", + "\u09ae\u09be\u09f0\u09cd\u099a", + "\u098f\u09aa\u09cd\u09f0\u09bf\u09b2", + "\u09ae\u09c7", + "\u099c\u09c1\u09a8", + "\u099c\u09c1\u09b2\u09be\u0987", + "\u0986\u0997", + "\u09b8\u09c7\u09aa\u09cd\u099f", + "\u0985\u0995\u09cd\u099f\u09cb", + "\u09a8\u09ad\u09c7", + "\u09a1\u09bf\u09b8\u09c7" + ], + "fullDate": "EEEE, d MMMM, y", + "longDate": "d MMMM, y", + "medium": "dd-MM-y h.mm.ss a", + "mediumDate": "dd-MM-y", + "mediumTime": "h.mm.ss a", + "short": "d-M-y h.mm. a", + "shortDate": "d-M-y", + "shortTime": "h.mm. a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20b9", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "as", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_asa-tz.js b/public/app/bower_components/angular-i18n/angular-locale_asa-tz.js new file mode 100644 index 00000000..4a17de65 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_asa-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "icheheavo", + "ichamthi" + ], + "DAY": [ + "Jumapili", + "Jumatatu", + "Jumanne", + "Jumatano", + "Alhamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Aprili", + "Mei", + "Juni", + "Julai", + "Agosti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Ijm", + "Jmo" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Dec" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "asa-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_asa.js b/public/app/bower_components/angular-i18n/angular-locale_asa.js new file mode 100644 index 00000000..82614406 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_asa.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "icheheavo", + "ichamthi" + ], + "DAY": [ + "Jumapili", + "Jumatatu", + "Jumanne", + "Jumatano", + "Alhamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Aprili", + "Mei", + "Juni", + "Julai", + "Agosti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Ijm", + "Jmo" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Dec" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "asa", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ast-es.js b/public/app/bower_components/angular-i18n/angular-locale_ast-es.js new file mode 100644 index 00000000..9553a8e1 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ast-es.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "domingu", + "llunes", + "martes", + "mi\u00e9rcoles", + "xueves", + "vienres", + "s\u00e1badu" + ], + "MONTH": [ + "de xineru", + "de febreru", + "de marzu", + "d'abril", + "de mayu", + "de xunu", + "de xunetu", + "d'agostu", + "de setiembre", + "d'ochobre", + "de payares", + "d'avientu" + ], + "SHORTDAY": [ + "dom", + "llu", + "mar", + "mie", + "xue", + "vie", + "sab" + ], + "SHORTMONTH": [ + "xin", + "feb", + "mar", + "abr", + "may", + "xun", + "xnt", + "ago", + "set", + "och", + "pay", + "avi" + ], + "fullDate": "EEEE, dd MMMM 'de' y", + "longDate": "d MMMM 'de' y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/yy HH:mm", + "shortDate": "d/M/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ast-es", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ast.js b/public/app/bower_components/angular-i18n/angular-locale_ast.js new file mode 100644 index 00000000..f60ee59d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ast.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "domingu", + "llunes", + "martes", + "mi\u00e9rcoles", + "xueves", + "vienres", + "s\u00e1badu" + ], + "MONTH": [ + "de xineru", + "de febreru", + "de marzu", + "d'abril", + "de mayu", + "de xunu", + "de xunetu", + "d'agostu", + "de setiembre", + "d'ochobre", + "de payares", + "d'avientu" + ], + "SHORTDAY": [ + "dom", + "llu", + "mar", + "mie", + "xue", + "vie", + "sab" + ], + "SHORTMONTH": [ + "xin", + "feb", + "mar", + "abr", + "may", + "xun", + "xnt", + "ago", + "set", + "och", + "pay", + "avi" + ], + "fullDate": "EEEE, dd MMMM 'de' y", + "longDate": "d MMMM 'de' y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/yy HH:mm", + "shortDate": "d/M/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ast", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_az-cyrl-az.js b/public/app/bower_components/angular-i18n/angular-locale_az-cyrl-az.js index 369bbdfd..b6147cd8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_az-cyrl-az.js +++ b/public/app/bower_components/angular-i18n/angular-locale_az-cyrl-az.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_az-cyrl.js b/public/app/bower_components/angular-i18n/angular-locale_az-cyrl.js index 25513b2d..113cb96f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_az-cyrl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_az-cyrl.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "man.", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_az-latn-az.js b/public/app/bower_components/angular-i18n/angular-locale_az-latn-az.js index ade1328f..1c874ef6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_az-latn-az.js +++ b/public/app/bower_components/angular-i18n/angular-locale_az-latn-az.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_az-latn.js b/public/app/bower_components/angular-i18n/angular-locale_az-latn.js index 143aefd1..4899537b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_az-latn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_az-latn.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "man.", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_az.js b/public/app/bower_components/angular-i18n/angular-locale_az.js index 0f7e9432..c3d62547 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_az.js +++ b/public/app/bower_components/angular-i18n/angular-locale_az.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_bas-cm.js b/public/app/bower_components/angular-i18n/angular-locale_bas-cm.js new file mode 100644 index 00000000..ce3a2374 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bas-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "I bik\u025b\u0302gl\u00e0", + "I \u0253ugaj\u0254p" + ], + "DAY": [ + "\u014bgw\u00e0 n\u0254\u0302y", + "\u014bgw\u00e0 nja\u014bgumba", + "\u014bgw\u00e0 \u00fbm", + "\u014bgw\u00e0 \u014bg\u00ea", + "\u014bgw\u00e0 mb\u0254k", + "\u014bgw\u00e0 k\u0254\u0254", + "\u014bgw\u00e0 j\u00f4n" + ], + "MONTH": [ + "K\u0254nd\u0254\u014b", + "M\u00e0c\u025b\u0302l", + "M\u00e0t\u00f9mb", + "M\u00e0top", + "M\u0300puy\u025b", + "H\u00ecl\u00f2nd\u025b\u0300", + "Nj\u00e8b\u00e0", + "H\u00ecka\u014b", + "D\u00ecp\u0254\u0300s", + "B\u00ec\u00f2\u00f4m", + "M\u00e0y\u025bs\u00e8p", + "L\u00ecbuy li \u0144y\u00e8e" + ], + "SHORTDAY": [ + "n\u0254y", + "nja", + "uum", + "\u014bge", + "mb\u0254", + "k\u0254\u0254", + "jon" + ], + "SHORTMONTH": [ + "k\u0254n", + "mac", + "mat", + "mto", + "mpu", + "hil", + "nje", + "hik", + "dip", + "bio", + "may", + "li\u0253" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "bas-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bas.js b/public/app/bower_components/angular-i18n/angular-locale_bas.js new file mode 100644 index 00000000..8d7154af --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bas.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "I bik\u025b\u0302gl\u00e0", + "I \u0253ugaj\u0254p" + ], + "DAY": [ + "\u014bgw\u00e0 n\u0254\u0302y", + "\u014bgw\u00e0 nja\u014bgumba", + "\u014bgw\u00e0 \u00fbm", + "\u014bgw\u00e0 \u014bg\u00ea", + "\u014bgw\u00e0 mb\u0254k", + "\u014bgw\u00e0 k\u0254\u0254", + "\u014bgw\u00e0 j\u00f4n" + ], + "MONTH": [ + "K\u0254nd\u0254\u014b", + "M\u00e0c\u025b\u0302l", + "M\u00e0t\u00f9mb", + "M\u00e0top", + "M\u0300puy\u025b", + "H\u00ecl\u00f2nd\u025b\u0300", + "Nj\u00e8b\u00e0", + "H\u00ecka\u014b", + "D\u00ecp\u0254\u0300s", + "B\u00ec\u00f2\u00f4m", + "M\u00e0y\u025bs\u00e8p", + "L\u00ecbuy li \u0144y\u00e8e" + ], + "SHORTDAY": [ + "n\u0254y", + "nja", + "uum", + "\u014bge", + "mb\u0254", + "k\u0254\u0254", + "jon" + ], + "SHORTMONTH": [ + "k\u0254n", + "mac", + "mat", + "mto", + "mpu", + "hil", + "nje", + "hik", + "dip", + "bio", + "may", + "li\u0253" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "bas", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_be-by.js b/public/app/bower_components/angular-i18n/angular-locale_be-by.js new file mode 100644 index 00000000..fdfc141c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_be-by.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0434\u0430 \u043f\u0430\u043b\u0443\u0434\u043d\u044f", + "\u043f\u0430\u0441\u043b\u044f \u043f\u0430\u043b\u0443\u0434\u043d\u044f" + ], + "DAY": [ + "\u043d\u044f\u0434\u0437\u0435\u043b\u044f", + "\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a", + "\u0430\u045e\u0442\u043e\u0440\u0430\u043a", + "\u0441\u0435\u0440\u0430\u0434\u0430", + "\u0447\u0430\u0446\u0432\u0435\u0440", + "\u043f\u044f\u0442\u043d\u0456\u0446\u0430", + "\u0441\u0443\u0431\u043e\u0442\u0430" + ], + "MONTH": [ + "\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f", + "\u043b\u044e\u0442\u0430\u0433\u0430", + "\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430", + "\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430", + "\u043c\u0430\u044f", + "\u0447\u044d\u0440\u0432\u0435\u043d\u044f", + "\u043b\u0456\u043f\u0435\u043d\u044f", + "\u0436\u043d\u0456\u045e\u043d\u044f", + "\u0432\u0435\u0440\u0430\u0441\u043d\u044f", + "\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430", + "\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430", + "\u0441\u043d\u0435\u0436\u043d\u044f" + ], + "SHORTDAY": [ + "\u043d\u0434", + "\u043f\u043d", + "\u0430\u045e", + "\u0441\u0440", + "\u0447\u0446", + "\u043f\u0442", + "\u0441\u0431" + ], + "SHORTMONTH": [ + "\u0441\u0442\u0443", + "\u043b\u044e\u0442", + "\u0441\u0430\u043a", + "\u043a\u0440\u0430", + "\u043c\u0430\u044f", + "\u0447\u044d\u0440", + "\u043b\u0456\u043f", + "\u0436\u043d\u0456", + "\u0432\u0435\u0440", + "\u043a\u0430\u0441", + "\u043b\u0456\u0441", + "\u0441\u043d\u0435" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d.M.y HH.mm.ss", + "mediumDate": "d.M.y", + "mediumTime": "HH.mm.ss", + "short": "d.M.yy HH.mm", + "shortDate": "d.M.yy", + "shortTime": "HH.mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "BYR", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "be-by", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_be.js b/public/app/bower_components/angular-i18n/angular-locale_be.js new file mode 100644 index 00000000..fc0e23a5 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_be.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0434\u0430 \u043f\u0430\u043b\u0443\u0434\u043d\u044f", + "\u043f\u0430\u0441\u043b\u044f \u043f\u0430\u043b\u0443\u0434\u043d\u044f" + ], + "DAY": [ + "\u043d\u044f\u0434\u0437\u0435\u043b\u044f", + "\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a", + "\u0430\u045e\u0442\u043e\u0440\u0430\u043a", + "\u0441\u0435\u0440\u0430\u0434\u0430", + "\u0447\u0430\u0446\u0432\u0435\u0440", + "\u043f\u044f\u0442\u043d\u0456\u0446\u0430", + "\u0441\u0443\u0431\u043e\u0442\u0430" + ], + "MONTH": [ + "\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f", + "\u043b\u044e\u0442\u0430\u0433\u0430", + "\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430", + "\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430", + "\u043c\u0430\u044f", + "\u0447\u044d\u0440\u0432\u0435\u043d\u044f", + "\u043b\u0456\u043f\u0435\u043d\u044f", + "\u0436\u043d\u0456\u045e\u043d\u044f", + "\u0432\u0435\u0440\u0430\u0441\u043d\u044f", + "\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430", + "\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430", + "\u0441\u043d\u0435\u0436\u043d\u044f" + ], + "SHORTDAY": [ + "\u043d\u0434", + "\u043f\u043d", + "\u0430\u045e", + "\u0441\u0440", + "\u0447\u0446", + "\u043f\u0442", + "\u0441\u0431" + ], + "SHORTMONTH": [ + "\u0441\u0442\u0443", + "\u043b\u044e\u0442", + "\u0441\u0430\u043a", + "\u043a\u0440\u0430", + "\u043c\u0430\u044f", + "\u0447\u044d\u0440", + "\u043b\u0456\u043f", + "\u0436\u043d\u0456", + "\u0432\u0435\u0440", + "\u043a\u0430\u0441", + "\u043b\u0456\u0441", + "\u0441\u043d\u0435" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d.M.y HH.mm.ss", + "mediumDate": "d.M.y", + "mediumTime": "HH.mm.ss", + "short": "d.M.yy HH.mm", + "shortDate": "d.M.yy", + "shortTime": "HH.mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "BYR", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "be", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bem-zm.js b/public/app/bower_components/angular-i18n/angular-locale_bem-zm.js new file mode 100644 index 00000000..4c7c566c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bem-zm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "uluchelo", + "akasuba" + ], + "DAY": [ + "Pa Mulungu", + "Palichimo", + "Palichibuli", + "Palichitatu", + "Palichine", + "Palichisano", + "Pachibelushi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Epreo", + "Mei", + "Juni", + "Julai", + "Ogasti", + "Septemba", + "Oktoba", + "Novemba", + "Disemba" + ], + "SHORTDAY": [ + "Pa Mulungu", + "Palichimo", + "Palichibuli", + "Palichitatu", + "Palichine", + "Palichisano", + "Pachibelushi" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Epr", + "Mei", + "Jun", + "Jul", + "Oga", + "Sep", + "Okt", + "Nov", + "Dis" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "ZMW", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "bem-zm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bem.js b/public/app/bower_components/angular-i18n/angular-locale_bem.js new file mode 100644 index 00000000..113e1cb6 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bem.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "uluchelo", + "akasuba" + ], + "DAY": [ + "Pa Mulungu", + "Palichimo", + "Palichibuli", + "Palichitatu", + "Palichine", + "Palichisano", + "Pachibelushi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Epreo", + "Mei", + "Juni", + "Julai", + "Ogasti", + "Septemba", + "Oktoba", + "Novemba", + "Disemba" + ], + "SHORTDAY": [ + "Pa Mulungu", + "Palichimo", + "Palichibuli", + "Palichitatu", + "Palichine", + "Palichisano", + "Pachibelushi" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Epr", + "Mei", + "Jun", + "Jul", + "Oga", + "Sep", + "Okt", + "Nov", + "Dis" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "ZMW", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "bem", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bez-tz.js b/public/app/bower_components/angular-i18n/angular-locale_bez-tz.js new file mode 100644 index 00000000..0d509c22 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bez-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "pamilau", + "pamunyi" + ], + "DAY": [ + "pa mulungu", + "pa shahuviluha", + "pa hivili", + "pa hidatu", + "pa hitayi", + "pa hihanu", + "pa shahulembela" + ], + "MONTH": [ + "pa mwedzi gwa hutala", + "pa mwedzi gwa wuvili", + "pa mwedzi gwa wudatu", + "pa mwedzi gwa wutai", + "pa mwedzi gwa wuhanu", + "pa mwedzi gwa sita", + "pa mwedzi gwa saba", + "pa mwedzi gwa nane", + "pa mwedzi gwa tisa", + "pa mwedzi gwa kumi", + "pa mwedzi gwa kumi na moja", + "pa mwedzi gwa kumi na mbili" + ], + "SHORTDAY": [ + "Mul", + "Vil", + "Hiv", + "Hid", + "Hit", + "Hih", + "Lem" + ], + "SHORTMONTH": [ + "Hut", + "Vil", + "Dat", + "Tai", + "Han", + "Sit", + "Sab", + "Nan", + "Tis", + "Kum", + "Kmj", + "Kmb" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "bez-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bez.js b/public/app/bower_components/angular-i18n/angular-locale_bez.js new file mode 100644 index 00000000..078f4eaa --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bez.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "pamilau", + "pamunyi" + ], + "DAY": [ + "pa mulungu", + "pa shahuviluha", + "pa hivili", + "pa hidatu", + "pa hitayi", + "pa hihanu", + "pa shahulembela" + ], + "MONTH": [ + "pa mwedzi gwa hutala", + "pa mwedzi gwa wuvili", + "pa mwedzi gwa wudatu", + "pa mwedzi gwa wutai", + "pa mwedzi gwa wuhanu", + "pa mwedzi gwa sita", + "pa mwedzi gwa saba", + "pa mwedzi gwa nane", + "pa mwedzi gwa tisa", + "pa mwedzi gwa kumi", + "pa mwedzi gwa kumi na moja", + "pa mwedzi gwa kumi na mbili" + ], + "SHORTDAY": [ + "Mul", + "Vil", + "Hiv", + "Hid", + "Hit", + "Hih", + "Lem" + ], + "SHORTMONTH": [ + "Hut", + "Vil", + "Dat", + "Tai", + "Han", + "Sit", + "Sab", + "Nan", + "Tis", + "Kum", + "Kmj", + "Kmb" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "bez", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bg-bg.js b/public/app/bower_components/angular-i18n/angular-locale_bg-bg.js index c88bb884..51c6d8df 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_bg-bg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_bg-bg.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u043f\u0440. \u043e\u0431.", - "\u0441\u043b. \u043e\u0431." + "\u043f\u0440.\u043e\u0431.", + "\u0441\u043b.\u043e\u0431." ], "DAY": [ "\u043d\u0435\u0434\u0435\u043b\u044f", @@ -53,14 +53,14 @@ $provide.value("$locale", { "\u043d\u043e\u0435\u043c.", "\u0434\u0435\u043a." ], - "fullDate": "dd MMMM y, EEEE", - "longDate": "dd MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd.MM.yy HH:mm", - "shortDate": "dd.MM.yy", - "shortTime": "HH:mm" + "fullDate": "EEEE, d MMMM y '\u0433'.", + "longDate": "d MMMM y '\u0433'.", + "medium": "d.MM.y '\u0433'. H:mm:ss", + "mediumDate": "d.MM.y '\u0433'.", + "mediumTime": "H:mm:ss", + "short": "d.MM.yy H:mm", + "shortDate": "d.MM.yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "lev", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "bg-bg", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bg.js b/public/app/bower_components/angular-i18n/angular-locale_bg.js index db0865b0..18de78aa 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_bg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_bg.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u043f\u0440. \u043e\u0431.", - "\u0441\u043b. \u043e\u0431." + "\u043f\u0440.\u043e\u0431.", + "\u0441\u043b.\u043e\u0431." ], "DAY": [ "\u043d\u0435\u0434\u0435\u043b\u044f", @@ -53,14 +53,14 @@ $provide.value("$locale", { "\u043d\u043e\u0435\u043c.", "\u0434\u0435\u043a." ], - "fullDate": "dd MMMM y, EEEE", - "longDate": "dd MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd.MM.yy HH:mm", - "shortDate": "dd.MM.yy", - "shortTime": "HH:mm" + "fullDate": "EEEE, d MMMM y '\u0433'.", + "longDate": "d MMMM y '\u0433'.", + "medium": "d.MM.y '\u0433'. H:mm:ss", + "mediumDate": "d.MM.y '\u0433'.", + "mediumTime": "H:mm:ss", + "short": "d.MM.yy H:mm", + "shortDate": "d.MM.yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "lev", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "bg", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bm-ml.js b/public/app/bower_components/angular-i18n/angular-locale_bm-ml.js new file mode 100644 index 00000000..f1c128a6 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bm-ml.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "kari", + "nt\u025bn\u025b", + "tarata", + "araba", + "alamisa", + "juma", + "sibiri" + ], + "MONTH": [ + "zanwuye", + "feburuye", + "marisi", + "awirili", + "m\u025b", + "zuw\u025bn", + "zuluye", + "uti", + "s\u025btanburu", + "\u0254kut\u0254buru", + "nowanburu", + "desanburu" + ], + "SHORTDAY": [ + "kar", + "nt\u025b", + "tar", + "ara", + "ala", + "jum", + "sib" + ], + "SHORTMONTH": [ + "zan", + "feb", + "mar", + "awi", + "m\u025b", + "zuw", + "zul", + "uti", + "s\u025bt", + "\u0254ku", + "now", + "des" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "bm-ml", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bm.js b/public/app/bower_components/angular-i18n/angular-locale_bm.js new file mode 100644 index 00000000..9bfa3c05 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "kari", + "nt\u025bn\u025b", + "tarata", + "araba", + "alamisa", + "juma", + "sibiri" + ], + "MONTH": [ + "zanwuye", + "feburuye", + "marisi", + "awirili", + "m\u025b", + "zuw\u025bn", + "zuluye", + "uti", + "s\u025btanburu", + "\u0254kut\u0254buru", + "nowanburu", + "desanburu" + ], + "SHORTDAY": [ + "kar", + "nt\u025b", + "tar", + "ara", + "ala", + "jum", + "sib" + ], + "SHORTMONTH": [ + "zan", + "feb", + "mar", + "awi", + "m\u025b", + "zuw", + "zul", + "uti", + "s\u025bt", + "\u0254ku", + "now", + "des" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "bm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bn-bd.js b/public/app/bower_components/angular-i18n/angular-locale_bn-bd.js index 980495ce..1b6b1cb2 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_bn-bd.js +++ b/public/app/bower_components/angular-i18n/angular-locale_bn-bd.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a4)", + "negPre": "-", + "negSuf": "\u00a4", "posPre": "", "posSuf": "\u00a4" } ] }, "id": "bn-bd", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bn-in.js b/public/app/bower_components/angular-i18n/angular-locale_bn-in.js index 0b414286..a55077dd 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_bn-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_bn-in.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u09f3", + "CURRENCY_SYM": "\u20b9", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a4)", + "negPre": "-", + "negSuf": "\u00a4", "posPre": "", "posSuf": "\u00a4" } ] }, "id": "bn-in", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bn.js b/public/app/bower_components/angular-i18n/angular-locale_bn.js index 5cc14cc6..5a152ac7 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_bn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_bn.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a4)", + "negPre": "-", + "negSuf": "\u00a4", "posPre": "", "posSuf": "\u00a4" } ] }, "id": "bn", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bo-cn.js b/public/app/bower_components/angular-i18n/angular-locale_bo-cn.js new file mode 100644 index 00000000..18efa0ff --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bo-cn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0f66\u0f94\u0f0b\u0f51\u0fb2\u0f7c\u0f0b", + "\u0f55\u0fb1\u0f72\u0f0b\u0f51\u0fb2\u0f7c\u0f0b" + ], + "DAY": [ + "\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f67\u0fb3\u0f42\u0f0b\u0f54\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0f44\u0f66\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b" + ], + "MONTH": [ + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f66\u0f74\u0f58\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54\u0f0b" + ], + "SHORTDAY": [ + "\u0f49\u0f72\u0f0b\u0f58\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b", + "\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b", + "\u0f67\u0fb3\u0f42\u0f0b\u0f54\u0f0b", + "\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74\u0f0b", + "\u0f66\u0f44\u0f66\u0f0b", + "\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b" + ], + "SHORTMONTH": [ + "\u0f5f\u0fb3\u0f0b\u0f21", + "\u0f5f\u0fb3\u0f0b\u0f22", + "\u0f5f\u0fb3\u0f0b\u0f23", + "\u0f5f\u0fb3\u0f0b\u0f24", + "\u0f5f\u0fb3\u0f0b\u0f25", + "\u0f5f\u0fb3\u0f0b\u0f26", + "\u0f5f\u0fb3\u0f0b\u0f27", + "\u0f5f\u0fb3\u0f0b\u0f28", + "\u0f5f\u0fb3\u0f0b\u0f29", + "\u0f5f\u0fb3\u0f0b\u0f21\u0f20", + "\u0f5f\u0fb3\u0f0b\u0f21\u0f21", + "\u0f5f\u0fb3\u0f0b\u0f21\u0f22" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "\u0f66\u0fa6\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by MMMM\u0f60\u0f72\u0f0b\u0f59\u0f7a\u0f66\u0f0bd\u0f51", + "medium": "y \u0f63\u0f7c\u0f0b\u0f60\u0f72\u0f0bMMM\u0f59\u0f7a\u0f66\u0f0bd HH:mm:ss", + "mediumDate": "y \u0f63\u0f7c\u0f0b\u0f60\u0f72\u0f0bMMM\u0f59\u0f7a\u0f66\u0f0bd", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a5", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "bo-cn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bo-in.js b/public/app/bower_components/angular-i18n/angular-locale_bo-in.js new file mode 100644 index 00000000..2b7e2b90 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bo-in.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0f66\u0f94\u0f0b\u0f51\u0fb2\u0f7c\u0f0b", + "\u0f55\u0fb1\u0f72\u0f0b\u0f51\u0fb2\u0f7c\u0f0b" + ], + "DAY": [ + "\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f67\u0fb3\u0f42\u0f0b\u0f54\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0f44\u0f66\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b" + ], + "MONTH": [ + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f66\u0f74\u0f58\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54\u0f0b" + ], + "SHORTDAY": [ + "\u0f49\u0f72\u0f0b\u0f58\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b", + "\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b", + "\u0f67\u0fb3\u0f42\u0f0b\u0f54\u0f0b", + "\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74\u0f0b", + "\u0f66\u0f44\u0f66\u0f0b", + "\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b" + ], + "SHORTMONTH": [ + "\u0f5f\u0fb3\u0f0b\u0f21", + "\u0f5f\u0fb3\u0f0b\u0f22", + "\u0f5f\u0fb3\u0f0b\u0f23", + "\u0f5f\u0fb3\u0f0b\u0f24", + "\u0f5f\u0fb3\u0f0b\u0f25", + "\u0f5f\u0fb3\u0f0b\u0f26", + "\u0f5f\u0fb3\u0f0b\u0f27", + "\u0f5f\u0fb3\u0f0b\u0f28", + "\u0f5f\u0fb3\u0f0b\u0f29", + "\u0f5f\u0fb3\u0f0b\u0f21\u0f20", + "\u0f5f\u0fb3\u0f0b\u0f21\u0f21", + "\u0f5f\u0fb3\u0f0b\u0f21\u0f22" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "\u0f66\u0fa6\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by MMMM\u0f60\u0f72\u0f0b\u0f59\u0f7a\u0f66\u0f0bd\u0f51", + "medium": "y \u0f63\u0f7c\u0f0b\u0f60\u0f72\u0f0bMMM\u0f59\u0f7a\u0f66\u0f0bd HH:mm:ss", + "mediumDate": "y \u0f63\u0f7c\u0f0b\u0f60\u0f72\u0f0bMMM\u0f59\u0f7a\u0f66\u0f0bd", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20b9", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "bo-in", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bo.js b/public/app/bower_components/angular-i18n/angular-locale_bo.js new file mode 100644 index 00000000..71f7a372 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0f66\u0f94\u0f0b\u0f51\u0fb2\u0f7c\u0f0b", + "\u0f55\u0fb1\u0f72\u0f0b\u0f51\u0fb2\u0f7c\u0f0b" + ], + "DAY": [ + "\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f67\u0fb3\u0f42\u0f0b\u0f54\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0f44\u0f66\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b" + ], + "MONTH": [ + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f66\u0f74\u0f58\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54\u0f0b" + ], + "SHORTDAY": [ + "\u0f49\u0f72\u0f0b\u0f58\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f0b", + "\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b", + "\u0f67\u0fb3\u0f42\u0f0b\u0f54\u0f0b", + "\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74\u0f0b", + "\u0f66\u0f44\u0f66\u0f0b", + "\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b" + ], + "SHORTMONTH": [ + "\u0f5f\u0fb3\u0f0b\u0f21", + "\u0f5f\u0fb3\u0f0b\u0f22", + "\u0f5f\u0fb3\u0f0b\u0f23", + "\u0f5f\u0fb3\u0f0b\u0f24", + "\u0f5f\u0fb3\u0f0b\u0f25", + "\u0f5f\u0fb3\u0f0b\u0f26", + "\u0f5f\u0fb3\u0f0b\u0f27", + "\u0f5f\u0fb3\u0f0b\u0f28", + "\u0f5f\u0fb3\u0f0b\u0f29", + "\u0f5f\u0fb3\u0f0b\u0f21\u0f20", + "\u0f5f\u0fb3\u0f0b\u0f21\u0f21", + "\u0f5f\u0fb3\u0f0b\u0f21\u0f22" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "\u0f66\u0fa6\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by MMMM\u0f60\u0f72\u0f0b\u0f59\u0f7a\u0f66\u0f0bd\u0f51", + "medium": "y \u0f63\u0f7c\u0f0b\u0f60\u0f72\u0f0bMMM\u0f59\u0f7a\u0f66\u0f0bd HH:mm:ss", + "mediumDate": "y \u0f63\u0f7c\u0f0b\u0f60\u0f72\u0f0bMMM\u0f59\u0f7a\u0f66\u0f0bd", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a5", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "bo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_br-fr.js b/public/app/bower_components/angular-i18n/angular-locale_br-fr.js index ab82bf36..61df28e9 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_br-fr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_br-fr.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_br.js b/public/app/bower_components/angular-i18n/angular-locale_br.js index 94e8bac7..b6b18bfe 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_br.js +++ b/public/app/bower_components/angular-i18n/angular-locale_br.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_brx-in.js b/public/app/bower_components/angular-i18n/angular-locale_brx-in.js new file mode 100644 index 00000000..be264acd --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_brx-in.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u092b\u0941\u0902", + "\u092c\u0947\u0932\u093e\u0938\u0947" + ], + "DAY": [ + "\u0930\u092c\u093f\u092c\u093e\u0930", + "\u0938\u092e\u092c\u093e\u0930", + "\u092e\u0902\u0917\u0932\u092c\u093e\u0930", + "\u092c\u0941\u0926\u092c\u093e\u0930", + "\u092c\u093f\u0938\u0925\u093f\u092c\u093e\u0930", + "\u0938\u0941\u0916\u0941\u0930\u092c\u093e\u0930", + "\u0938\u0941\u0928\u093f\u092c\u093e\u0930" + ], + "MONTH": [ + "\u091c\u093e\u0928\u0941\u0935\u093e\u0930\u0940", + "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940", + "\u092e\u093e\u0930\u094d\u0938", + "\u090f\u092b\u094d\u0930\u093f\u0932", + "\u092e\u0947", + "\u091c\u0941\u0928", + "\u091c\u0941\u0932\u093e\u0907", + "\u0906\u0917\u0938\u094d\u0925", + "\u0938\u0947\u092c\u0925\u0947\u091c\u094d\u092c\u093c\u0930", + "\u0905\u0916\u0925\u092c\u0930", + "\u0928\u092c\u0947\u091c\u094d\u092c\u093c\u0930", + "\u0926\u093f\u0938\u0947\u091c\u094d\u092c\u093c\u0930" + ], + "SHORTDAY": [ + "\u0930\u092c\u093f", + "\u0938\u092e", + "\u092e\u0902\u0917\u0932", + "\u092c\u0941\u0926", + "\u092c\u093f\u0938\u0925\u093f", + "\u0938\u0941\u0916\u0941\u0930", + "\u0938\u0941\u0928\u093f" + ], + "SHORTMONTH": [ + "\u091c\u093e\u0928\u0941\u0935\u093e\u0930\u0940", + "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940", + "\u092e\u093e\u0930\u094d\u0938", + "\u090f\u092b\u094d\u0930\u093f\u0932", + "\u092e\u0947", + "\u091c\u0941\u0928", + "\u091c\u0941\u0932\u093e\u0907", + "\u0906\u0917\u0938\u094d\u0925", + "\u0938\u0947\u092c\u0925\u0947\u091c\u094d\u092c\u093c\u0930", + "\u0905\u0916\u0925\u092c\u0930", + "\u0928\u092c\u0947\u091c\u094d\u092c\u093c\u0930", + "\u0926\u093f\u0938\u0947\u091c\u094d\u092c\u093c\u0930" + ], + "fullDate": "EEEE, MMMM d, y", + "longDate": "MMMM d, y", + "medium": "MMM d, y h:mm:ss a", + "mediumDate": "MMM d, y", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20b9", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "brx-in", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_brx.js b/public/app/bower_components/angular-i18n/angular-locale_brx.js new file mode 100644 index 00000000..de1be0a4 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_brx.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u092b\u0941\u0902", + "\u092c\u0947\u0932\u093e\u0938\u0947" + ], + "DAY": [ + "\u0930\u092c\u093f\u092c\u093e\u0930", + "\u0938\u092e\u092c\u093e\u0930", + "\u092e\u0902\u0917\u0932\u092c\u093e\u0930", + "\u092c\u0941\u0926\u092c\u093e\u0930", + "\u092c\u093f\u0938\u0925\u093f\u092c\u093e\u0930", + "\u0938\u0941\u0916\u0941\u0930\u092c\u093e\u0930", + "\u0938\u0941\u0928\u093f\u092c\u093e\u0930" + ], + "MONTH": [ + "\u091c\u093e\u0928\u0941\u0935\u093e\u0930\u0940", + "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940", + "\u092e\u093e\u0930\u094d\u0938", + "\u090f\u092b\u094d\u0930\u093f\u0932", + "\u092e\u0947", + "\u091c\u0941\u0928", + "\u091c\u0941\u0932\u093e\u0907", + "\u0906\u0917\u0938\u094d\u0925", + "\u0938\u0947\u092c\u0925\u0947\u091c\u094d\u092c\u093c\u0930", + "\u0905\u0916\u0925\u092c\u0930", + "\u0928\u092c\u0947\u091c\u094d\u092c\u093c\u0930", + "\u0926\u093f\u0938\u0947\u091c\u094d\u092c\u093c\u0930" + ], + "SHORTDAY": [ + "\u0930\u092c\u093f", + "\u0938\u092e", + "\u092e\u0902\u0917\u0932", + "\u092c\u0941\u0926", + "\u092c\u093f\u0938\u0925\u093f", + "\u0938\u0941\u0916\u0941\u0930", + "\u0938\u0941\u0928\u093f" + ], + "SHORTMONTH": [ + "\u091c\u093e\u0928\u0941\u0935\u093e\u0930\u0940", + "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940", + "\u092e\u093e\u0930\u094d\u0938", + "\u090f\u092b\u094d\u0930\u093f\u0932", + "\u092e\u0947", + "\u091c\u0941\u0928", + "\u091c\u0941\u0932\u093e\u0907", + "\u0906\u0917\u0938\u094d\u0925", + "\u0938\u0947\u092c\u0925\u0947\u091c\u094d\u092c\u093c\u0930", + "\u0905\u0916\u0925\u092c\u0930", + "\u0928\u092c\u0947\u091c\u094d\u092c\u093c\u0930", + "\u0926\u093f\u0938\u0947\u091c\u094d\u092c\u093c\u0930" + ], + "fullDate": "EEEE, MMMM d, y", + "longDate": "MMMM d, y", + "medium": "MMM d, y h:mm:ss a", + "mediumDate": "MMM d, y", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20b9", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "brx", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bs-cyrl-ba.js b/public/app/bower_components/angular-i18n/angular-locale_bs-cyrl-ba.js new file mode 100644 index 00000000..e3df5176 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bs-cyrl-ba.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u043f\u0440\u0435 \u043f\u043e\u0434\u043d\u0435", + "\u043f\u043e\u043f\u043e\u0434\u043d\u0435" + ], + "DAY": [ + "\u043d\u0435\u0434\u0435\u0459\u0430", + "\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a", + "\u0443\u0442\u043e\u0440\u0430\u043a", + "\u0441\u0440\u0438\u0458\u0435\u0434\u0430", + "\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a", + "\u043f\u0435\u0442\u0430\u043a", + "\u0441\u0443\u0431\u043e\u0442\u0430" + ], + "MONTH": [ + "\u0458\u0430\u043d\u0443\u0430\u0440", + "\u0444\u0435\u0431\u0440\u0443\u0430\u0440", + "\u043c\u0430\u0440\u0442", + "\u0430\u043f\u0440\u0438\u043b", + "\u043c\u0430\u0458", + "\u0458\u0443\u043d\u0438", + "\u0458\u0443\u043b\u0438", + "\u0430\u0432\u0433\u0443\u0441\u0442", + "\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440", + "\u043e\u043a\u0442\u043e\u0431\u0430\u0440", + "\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440", + "\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440" + ], + "SHORTDAY": [ + "\u043d\u0435\u0434", + "\u043f\u043e\u043d", + "\u0443\u0442\u043e", + "\u0441\u0440\u0438", + "\u0447\u0435\u0442", + "\u043f\u0435\u0442", + "\u0441\u0443\u0431" + ], + "SHORTMONTH": [ + "\u0458\u0430\u043d", + "\u0444\u0435\u0431", + "\u043c\u0430\u0440", + "\u0430\u043f\u0440", + "\u043c\u0430\u0458", + "\u0458\u0443\u043d", + "\u0458\u0443\u043b", + "\u0430\u0432\u0433", + "\u0441\u0435\u043f", + "\u043e\u043a\u0442", + "\u043d\u043e\u0432", + "\u0434\u0435\u0446" + ], + "fullDate": "EEEE, dd. MMMM y.", + "longDate": "dd. MMMM y.", + "medium": "dd.MM.y. HH:mm:ss", + "mediumDate": "dd.MM.y.", + "mediumTime": "HH:mm:ss", + "short": "d.M.yy. HH:mm", + "shortDate": "d.M.yy.", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "KM", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "bs-cyrl-ba", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bs-cyrl.js b/public/app/bower_components/angular-i18n/angular-locale_bs-cyrl.js new file mode 100644 index 00000000..038b039e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bs-cyrl.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u043f\u0440\u0435 \u043f\u043e\u0434\u043d\u0435", + "\u043f\u043e\u043f\u043e\u0434\u043d\u0435" + ], + "DAY": [ + "\u043d\u0435\u0434\u0435\u0459\u0430", + "\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a", + "\u0443\u0442\u043e\u0440\u0430\u043a", + "\u0441\u0440\u0438\u0458\u0435\u0434\u0430", + "\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a", + "\u043f\u0435\u0442\u0430\u043a", + "\u0441\u0443\u0431\u043e\u0442\u0430" + ], + "MONTH": [ + "\u0458\u0430\u043d\u0443\u0430\u0440", + "\u0444\u0435\u0431\u0440\u0443\u0430\u0440", + "\u043c\u0430\u0440\u0442", + "\u0430\u043f\u0440\u0438\u043b", + "\u043c\u0430\u0458", + "\u0458\u0443\u043d\u0438", + "\u0458\u0443\u043b\u0438", + "\u0430\u0432\u0433\u0443\u0441\u0442", + "\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440", + "\u043e\u043a\u0442\u043e\u0431\u0430\u0440", + "\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440", + "\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440" + ], + "SHORTDAY": [ + "\u043d\u0435\u0434", + "\u043f\u043e\u043d", + "\u0443\u0442\u043e", + "\u0441\u0440\u0438", + "\u0447\u0435\u0442", + "\u043f\u0435\u0442", + "\u0441\u0443\u0431" + ], + "SHORTMONTH": [ + "\u0458\u0430\u043d", + "\u0444\u0435\u0431", + "\u043c\u0430\u0440", + "\u0430\u043f\u0440", + "\u043c\u0430\u0458", + "\u0458\u0443\u043d", + "\u0458\u0443\u043b", + "\u0430\u0432\u0433", + "\u0441\u0435\u043f", + "\u043e\u043a\u0442", + "\u043d\u043e\u0432", + "\u0434\u0435\u0446" + ], + "fullDate": "EEEE, dd. MMMM y.", + "longDate": "dd. MMMM y.", + "medium": "dd.MM.y. HH:mm:ss", + "mediumDate": "dd.MM.y.", + "mediumTime": "HH:mm:ss", + "short": "d.M.yy. HH:mm", + "shortDate": "d.M.yy.", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "bs-cyrl", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bs-latn-ba.js b/public/app/bower_components/angular-i18n/angular-locale_bs-latn-ba.js new file mode 100644 index 00000000..461ef2e0 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bs-latn-ba.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "pre podne", + "popodne" + ], + "DAY": [ + "nedjelja", + "ponedjeljak", + "utorak", + "srijeda", + "\u010detvrtak", + "petak", + "subota" + ], + "MONTH": [ + "januar", + "februar", + "mart", + "april", + "maj", + "juni", + "juli", + "avgust", + "septembar", + "oktobar", + "novembar", + "decembar" + ], + "SHORTDAY": [ + "ned", + "pon", + "uto", + "sri", + "\u010det", + "pet", + "sub" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "maj", + "jun", + "jul", + "avg", + "sep", + "okt", + "nov", + "dec" + ], + "fullDate": "EEEE, dd. MMMM y.", + "longDate": "dd. MMMM y.", + "medium": "dd.MM.y. HH:mm:ss", + "mediumDate": "dd.MM.y.", + "mediumTime": "HH:mm:ss", + "short": "dd.MM.yy. HH:mm", + "shortDate": "dd.MM.yy.", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "KM", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "bs-latn-ba", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bs-latn.js b/public/app/bower_components/angular-i18n/angular-locale_bs-latn.js new file mode 100644 index 00000000..65f402a9 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bs-latn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "pre podne", + "popodne" + ], + "DAY": [ + "nedjelja", + "ponedjeljak", + "utorak", + "srijeda", + "\u010detvrtak", + "petak", + "subota" + ], + "MONTH": [ + "januar", + "februar", + "mart", + "april", + "maj", + "juni", + "juli", + "avgust", + "septembar", + "oktobar", + "novembar", + "decembar" + ], + "SHORTDAY": [ + "ned", + "pon", + "uto", + "sri", + "\u010det", + "pet", + "sub" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "maj", + "jun", + "jul", + "avg", + "sep", + "okt", + "nov", + "dec" + ], + "fullDate": "EEEE, dd. MMMM y.", + "longDate": "dd. MMMM y.", + "medium": "dd.MM.y. HH:mm:ss", + "mediumDate": "dd.MM.y.", + "mediumTime": "HH:mm:ss", + "short": "dd.MM.yy. HH:mm", + "shortDate": "dd.MM.yy.", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "bs-latn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_bs.js b/public/app/bower_components/angular-i18n/angular-locale_bs.js new file mode 100644 index 00000000..7fa10878 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_bs.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "pre podne", + "popodne" + ], + "DAY": [ + "nedjelja", + "ponedjeljak", + "utorak", + "srijeda", + "\u010detvrtak", + "petak", + "subota" + ], + "MONTH": [ + "januar", + "februar", + "mart", + "april", + "maj", + "juni", + "juli", + "avgust", + "septembar", + "oktobar", + "novembar", + "decembar" + ], + "SHORTDAY": [ + "ned", + "pon", + "uto", + "sri", + "\u010det", + "pet", + "sub" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "maj", + "jun", + "jul", + "avg", + "sep", + "okt", + "nov", + "dec" + ], + "fullDate": "EEEE, dd. MMMM y.", + "longDate": "dd. MMMM y.", + "medium": "dd.MM.y. HH:mm:ss", + "mediumDate": "dd.MM.y.", + "mediumTime": "HH:mm:ss", + "short": "dd.MM.yy. HH:mm", + "shortDate": "dd.MM.yy.", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "KM", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "bs", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_byn-er.js b/public/app/bower_components/angular-i18n/angular-locale_byn-er.js new file mode 100644 index 00000000..a678c932 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_byn-er.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u134b\u12f1\u1235 \u1303\u1265", + "\u134b\u12f1\u1235 \u12f0\u121d\u1262" + ], + "DAY": [ + "\u1230\u1295\u1260\u122d \u1245\u12f3\u12c5", + "\u1230\u1291", + "\u1230\u120a\u131d", + "\u1208\u1313 \u12c8\u122a \u1208\u1265\u12cb", + "\u12a3\u121d\u12f5", + "\u12a3\u122d\u1265", + "\u1230\u1295\u1260\u122d \u123d\u1313\u12c5" + ], + "MONTH": [ + "\u120d\u12f0\u1275\u122a", + "\u12ab\u1265\u12bd\u1265\u1272", + "\u12ad\u1265\u120b", + "\u134b\u1305\u12ba\u122a", + "\u12ad\u1262\u1245\u122a", + "\u121d\u12aa\u12a4\u120d \u1275\u131f\u1292\u122a", + "\u12b0\u122d\u12a9", + "\u121b\u122d\u12eb\u121d \u1275\u122a", + "\u12eb\u12b8\u1292 \u1218\u1233\u1245\u1208\u122a", + "\u1218\u1270\u1209", + "\u121d\u12aa\u12a4\u120d \u1218\u123d\u12c8\u122a", + "\u1270\u1215\u1233\u1235\u122a" + ], + "SHORTDAY": [ + "\u1230/\u1245", + "\u1230\u1291", + "\u1230\u120a\u131d", + "\u1208\u1313", + "\u12a3\u121d\u12f5", + "\u12a3\u122d\u1265", + "\u1230/\u123d" + ], + "SHORTMONTH": [ + "\u120d\u12f0\u1275", + "\u12ab\u1265\u12bd", + "\u12ad\u1265\u120b", + "\u134b\u1305\u12ba", + "\u12ad\u1262\u1245", + "\u121d/\u1275", + "\u12b0\u122d", + "\u121b\u122d\u12eb", + "\u12eb\u12b8\u1292", + "\u1218\u1270\u1209", + "\u121d/\u121d", + "\u1270\u1215\u1233" + ], + "fullDate": "EEEE\u1361 dd MMMM \u130d\u122d\u130b y G", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Nfk", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "byn-er", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_byn.js b/public/app/bower_components/angular-i18n/angular-locale_byn.js new file mode 100644 index 00000000..cf1e4a43 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_byn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u134b\u12f1\u1235 \u1303\u1265", + "\u134b\u12f1\u1235 \u12f0\u121d\u1262" + ], + "DAY": [ + "\u1230\u1295\u1260\u122d \u1245\u12f3\u12c5", + "\u1230\u1291", + "\u1230\u120a\u131d", + "\u1208\u1313 \u12c8\u122a \u1208\u1265\u12cb", + "\u12a3\u121d\u12f5", + "\u12a3\u122d\u1265", + "\u1230\u1295\u1260\u122d \u123d\u1313\u12c5" + ], + "MONTH": [ + "\u120d\u12f0\u1275\u122a", + "\u12ab\u1265\u12bd\u1265\u1272", + "\u12ad\u1265\u120b", + "\u134b\u1305\u12ba\u122a", + "\u12ad\u1262\u1245\u122a", + "\u121d\u12aa\u12a4\u120d \u1275\u131f\u1292\u122a", + "\u12b0\u122d\u12a9", + "\u121b\u122d\u12eb\u121d \u1275\u122a", + "\u12eb\u12b8\u1292 \u1218\u1233\u1245\u1208\u122a", + "\u1218\u1270\u1209", + "\u121d\u12aa\u12a4\u120d \u1218\u123d\u12c8\u122a", + "\u1270\u1215\u1233\u1235\u122a" + ], + "SHORTDAY": [ + "\u1230/\u1245", + "\u1230\u1291", + "\u1230\u120a\u131d", + "\u1208\u1313", + "\u12a3\u121d\u12f5", + "\u12a3\u122d\u1265", + "\u1230/\u123d" + ], + "SHORTMONTH": [ + "\u120d\u12f0\u1275", + "\u12ab\u1265\u12bd", + "\u12ad\u1265\u120b", + "\u134b\u1305\u12ba", + "\u12ad\u1262\u1245", + "\u121d/\u1275", + "\u12b0\u122d", + "\u121b\u122d\u12eb", + "\u12eb\u12b8\u1292", + "\u1218\u1270\u1209", + "\u121d/\u121d", + "\u1270\u1215\u1233" + ], + "fullDate": "EEEE\u1361 dd MMMM \u130d\u122d\u130b y G", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Nfk", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "byn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ca-ad.js b/public/app/bower_components/angular-i18n/angular-locale_ca-ad.js index a7f1e6ea..b86cc88d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ca-ad.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ca-ad.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "diumenge", @@ -17,18 +35,18 @@ $provide.value("$locale", { "dissabte" ], "MONTH": [ - "de gener", - "de febrer", - "de mar\u00e7", - "d\u2019abril", - "de maig", - "de juny", - "de juliol", - "d\u2019agost", - "de setembre", - "d\u2019octubre", - "de novembre", - "de desembre" + "gener", + "febrer", + "mar\u00e7", + "abril", + "maig", + "juny", + "juliol", + "agost", + "setembre", + "octubre", + "novembre", + "desembre" ], "SHORTDAY": [ "dg.", @@ -40,26 +58,26 @@ $provide.value("$locale", { "ds." ], "SHORTMONTH": [ - "de gen.", - "de febr.", - "de mar\u00e7", - "d\u2019abr.", - "de maig", - "de juny", - "de jul.", - "d\u2019ag.", - "de set.", - "d\u2019oct.", - "de nov.", - "de des." + "gen.", + "feb.", + "mar\u00e7", + "abr.", + "maig", + "juny", + "jul.", + "ag.", + "set.", + "oct.", + "nov.", + "des." ], - "fullDate": "EEEE d MMMM 'de' y", + "fullDate": "EEEE, d MMMM 'de' y", "longDate": "d MMMM 'de' y", - "medium": "dd/MM/yyyy H:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y H:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "H:mm:ss", - "short": "dd/MM/yy H:mm", - "shortDate": "dd/MM/yy", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "ca-ad", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ca-es-valencia.js b/public/app/bower_components/angular-i18n/angular-locale_ca-es-valencia.js index 009bc5b8..91f4e399 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ca-es-valencia.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ca-es-valencia.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ca-es.js b/public/app/bower_components/angular-i18n/angular-locale_ca-es.js index b589a21d..95540c39 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ca-es.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ca-es.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "diumenge", @@ -17,18 +35,18 @@ $provide.value("$locale", { "dissabte" ], "MONTH": [ - "de gener", - "de febrer", - "de mar\u00e7", - "d\u2019abril", - "de maig", - "de juny", - "de juliol", - "d\u2019agost", - "de setembre", - "d\u2019octubre", - "de novembre", - "de desembre" + "gener", + "febrer", + "mar\u00e7", + "abril", + "maig", + "juny", + "juliol", + "agost", + "setembre", + "octubre", + "novembre", + "desembre" ], "SHORTDAY": [ "dg.", @@ -40,26 +58,26 @@ $provide.value("$locale", { "ds." ], "SHORTMONTH": [ - "de gen.", - "de febr.", - "de mar\u00e7", - "d\u2019abr.", - "de maig", - "de juny", - "de jul.", - "d\u2019ag.", - "de set.", - "d\u2019oct.", - "de nov.", - "de des." + "gen.", + "feb.", + "mar\u00e7", + "abr.", + "maig", + "juny", + "jul.", + "ag.", + "set.", + "oct.", + "nov.", + "des." ], - "fullDate": "EEEE d MMMM 'de' y", + "fullDate": "EEEE, d MMMM 'de' y", "longDate": "d MMMM 'de' y", - "medium": "dd/MM/yyyy H:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y H:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "H:mm:ss", - "short": "dd/MM/yy H:mm", - "shortDate": "dd/MM/yy", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "ca-es", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ca-fr.js b/public/app/bower_components/angular-i18n/angular-locale_ca-fr.js index 869b2fe0..1ab024ee 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ca-fr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ca-fr.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ca-it.js b/public/app/bower_components/angular-i18n/angular-locale_ca-it.js index 24c83f0e..cdd68ced 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ca-it.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ca-it.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ca.js b/public/app/bower_components/angular-i18n/angular-locale_ca.js index 3bced031..368b23ad 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ca.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ca.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "diumenge", @@ -17,18 +35,18 @@ $provide.value("$locale", { "dissabte" ], "MONTH": [ - "de gener", - "de febrer", - "de mar\u00e7", - "d\u2019abril", - "de maig", - "de juny", - "de juliol", - "d\u2019agost", - "de setembre", - "d\u2019octubre", - "de novembre", - "de desembre" + "gener", + "febrer", + "mar\u00e7", + "abril", + "maig", + "juny", + "juliol", + "agost", + "setembre", + "octubre", + "novembre", + "desembre" ], "SHORTDAY": [ "dg.", @@ -40,26 +58,26 @@ $provide.value("$locale", { "ds." ], "SHORTMONTH": [ - "de gen.", - "de febr.", - "de mar\u00e7", - "d\u2019abr.", - "de maig", - "de juny", - "de jul.", - "d\u2019ag.", - "de set.", - "d\u2019oct.", - "de nov.", - "de des." + "gen.", + "feb.", + "mar\u00e7", + "abr.", + "maig", + "juny", + "jul.", + "ag.", + "set.", + "oct.", + "nov.", + "des." ], - "fullDate": "EEEE d MMMM 'de' y", + "fullDate": "EEEE, d MMMM 'de' y", "longDate": "d MMMM 'de' y", - "medium": "dd/MM/yyyy H:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y H:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "H:mm:ss", - "short": "dd/MM/yy H:mm", - "shortDate": "dd/MM/yy", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "ca", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_cgg-ug.js b/public/app/bower_components/angular-i18n/angular-locale_cgg-ug.js new file mode 100644 index 00000000..376ff890 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_cgg-ug.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sande", + "Orwokubanza", + "Orwakabiri", + "Orwakashatu", + "Orwakana", + "Orwakataano", + "Orwamukaaga" + ], + "MONTH": [ + "Okwokubanza", + "Okwakabiri", + "Okwakashatu", + "Okwakana", + "Okwakataana", + "Okwamukaaga", + "Okwamushanju", + "Okwamunaana", + "Okwamwenda", + "Okwaikumi", + "Okwaikumi na kumwe", + "Okwaikumi na ibiri" + ], + "SHORTDAY": [ + "SAN", + "ORK", + "OKB", + "OKS", + "OKN", + "OKT", + "OMK" + ], + "SHORTMONTH": [ + "KBZ", + "KBR", + "KST", + "KKN", + "KTN", + "KMK", + "KMS", + "KMN", + "KMW", + "KKM", + "KNK", + "KNB" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "UGX", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "cgg-ug", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_cgg.js b/public/app/bower_components/angular-i18n/angular-locale_cgg.js new file mode 100644 index 00000000..e05678da --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_cgg.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sande", + "Orwokubanza", + "Orwakabiri", + "Orwakashatu", + "Orwakana", + "Orwakataano", + "Orwamukaaga" + ], + "MONTH": [ + "Okwokubanza", + "Okwakabiri", + "Okwakashatu", + "Okwakana", + "Okwakataana", + "Okwamukaaga", + "Okwamushanju", + "Okwamunaana", + "Okwamwenda", + "Okwaikumi", + "Okwaikumi na kumwe", + "Okwaikumi na ibiri" + ], + "SHORTDAY": [ + "SAN", + "ORK", + "OKB", + "OKS", + "OKN", + "OKT", + "OMK" + ], + "SHORTMONTH": [ + "KBZ", + "KBR", + "KST", + "KKN", + "KTN", + "KMK", + "KMS", + "KMN", + "KMW", + "KKM", + "KNK", + "KNB" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "UGX", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "cgg", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_chr-us.js b/public/app/bower_components/angular-i18n/angular-locale_chr-us.js index 9d850e15..cc2f8a6b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_chr-us.js +++ b/public/app/bower_components/angular-i18n/angular-locale_chr-us.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_chr.js b/public/app/bower_components/angular-i18n/angular-locale_chr.js index 52dd81e7..b0cc5d66 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_chr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_chr.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ckb-arab-iq.js b/public/app/bower_components/angular-i18n/angular-locale_ckb-arab-iq.js new file mode 100644 index 00000000..b936313a --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ckb-arab-iq.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0628.\u0646", + "\u062f.\u0646" + ], + "DAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "MONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "SHORTDAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "SHORTMONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "d\u06cc MMMM\u06cc y", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "din", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ckb-arab-iq", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ckb-arab-ir.js b/public/app/bower_components/angular-i18n/angular-locale_ckb-arab-ir.js new file mode 100644 index 00000000..a32816ab --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ckb-arab-ir.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0628.\u0646", + "\u062f.\u0646" + ], + "DAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "MONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "SHORTDAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "SHORTMONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "d\u06cc MMMM\u06cc y", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Rial", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ckb-arab-ir", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ckb-arab.js b/public/app/bower_components/angular-i18n/angular-locale_ckb-arab.js new file mode 100644 index 00000000..34a5a3c4 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ckb-arab.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0628.\u0646", + "\u062f.\u0646" + ], + "DAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "MONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "SHORTDAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "SHORTMONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "d\u06cc MMMM\u06cc y", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ckb-arab", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ckb-iq.js b/public/app/bower_components/angular-i18n/angular-locale_ckb-iq.js new file mode 100644 index 00000000..28ba257c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ckb-iq.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0628.\u0646", + "\u062f.\u0646" + ], + "DAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "MONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "SHORTDAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "SHORTMONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "d\u06cc MMMM\u06cc y", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "din", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ckb-iq", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ckb-ir.js b/public/app/bower_components/angular-i18n/angular-locale_ckb-ir.js new file mode 100644 index 00000000..5f663d21 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ckb-ir.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0628.\u0646", + "\u062f.\u0646" + ], + "DAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "MONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "SHORTDAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "SHORTMONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "d\u06cc MMMM\u06cc y", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Rial", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ckb-ir", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ckb-latn-iq.js b/public/app/bower_components/angular-i18n/angular-locale_ckb-latn-iq.js new file mode 100644 index 00000000..c2c0a53c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ckb-latn-iq.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0628.\u0646", + "\u062f.\u0646" + ], + "DAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "MONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "SHORTDAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "SHORTMONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "d\u06cc MMMM\u06cc y", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "din", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ckb-latn-iq", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ckb-latn.js b/public/app/bower_components/angular-i18n/angular-locale_ckb-latn.js new file mode 100644 index 00000000..ad01e765 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ckb-latn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0628.\u0646", + "\u062f.\u0646" + ], + "DAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "MONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "SHORTDAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "SHORTMONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "d\u06cc MMMM\u06cc y", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ckb-latn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ckb.js b/public/app/bower_components/angular-i18n/angular-locale_ckb.js new file mode 100644 index 00000000..6a9aa2af --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ckb.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0628.\u0646", + "\u062f.\u0646" + ], + "DAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "MONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "SHORTDAY": [ + "\u06cc\u06d5\u06a9\u0634\u06d5\u0645\u0645\u06d5", + "\u062f\u0648\u0648\u0634\u06d5\u0645\u0645\u06d5", + "\u0633\u06ce\u0634\u06d5\u0645\u0645\u06d5", + "\u0686\u0648\u0627\u0631\u0634\u06d5\u0645\u0645\u06d5", + "\u067e\u06ce\u0646\u062c\u0634\u06d5\u0645\u0645\u06d5", + "\u06be\u06d5\u06cc\u0646\u06cc", + "\u0634\u06d5\u0645\u0645\u06d5" + ], + "SHORTMONTH": [ + "\u06a9\u0627\u0646\u0648\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u0634\u0648\u0628\u0627\u062a", + "\u0626\u0627\u0632\u0627\u0631", + "\u0646\u06cc\u0633\u0627\u0646", + "\u0626\u0627\u06cc\u0627\u0631", + "\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646", + "\u062a\u06d5\u0645\u0648\u0648\u0632", + "\u0626\u0627\u0628", + "\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645", + "\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645", + "\u06a9\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "d\u06cc MMMM\u06cc y", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "din", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ckb", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_cs-cz.js b/public/app/bower_components/angular-i18n/angular-locale_cs-cz.js index 3c88d948..bc278964 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_cs-cz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_cs-cz.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "dop.", - "odp." + "AM", + "PM" ], "DAY": [ "ned\u011ble", @@ -40,23 +58,23 @@ $provide.value("$locale", { "so" ], "SHORTMONTH": [ - "Led", - "\u00dano", - "B\u0159e", - "Dub", - "Kv\u011b", - "\u010cer", - "\u010cvc", - "Srp", - "Z\u00e1\u0159", - "\u0158\u00edj", - "Lis", - "Pro" + "led", + "\u00fano", + "b\u0159e", + "dub", + "kv\u011b", + "\u010dvn", + "\u010dvc", + "srp", + "z\u00e1\u0159", + "\u0159\u00edj", + "lis", + "pro" ], - "fullDate": "EEEE, d. MMMM y", + "fullDate": "EEEE d. MMMM y", "longDate": "d. MMMM y", - "medium": "d. M. yyyy H:mm:ss", - "mediumDate": "d. M. yyyy", + "medium": "d. M. y H:mm:ss", + "mediumDate": "d. M. y", "mediumTime": "H:mm:ss", "short": "dd.MM.yy H:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "cs-cz", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n >= 2 && n <= 4) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (i >= 2 && i <= 4 && vf.v == 0) { return PLURAL_CATEGORY.FEW; } if (vf.v != 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_cs.js b/public/app/bower_components/angular-i18n/angular-locale_cs.js index c0a1e334..5af3399f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_cs.js +++ b/public/app/bower_components/angular-i18n/angular-locale_cs.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "dop.", - "odp." + "AM", + "PM" ], "DAY": [ "ned\u011ble", @@ -40,23 +58,23 @@ $provide.value("$locale", { "so" ], "SHORTMONTH": [ - "Led", - "\u00dano", - "B\u0159e", - "Dub", - "Kv\u011b", - "\u010cer", - "\u010cvc", - "Srp", - "Z\u00e1\u0159", - "\u0158\u00edj", - "Lis", - "Pro" + "led", + "\u00fano", + "b\u0159e", + "dub", + "kv\u011b", + "\u010dvn", + "\u010dvc", + "srp", + "z\u00e1\u0159", + "\u0159\u00edj", + "lis", + "pro" ], - "fullDate": "EEEE, d. MMMM y", + "fullDate": "EEEE d. MMMM y", "longDate": "d. MMMM y", - "medium": "d. M. yyyy H:mm:ss", - "mediumDate": "d. M. yyyy", + "medium": "d. M. y H:mm:ss", + "mediumDate": "d. M. y", "mediumTime": "H:mm:ss", "short": "dd.MM.yy H:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "cs", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n >= 2 && n <= 4) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (i >= 2 && i <= 4 && vf.v == 0) { return PLURAL_CATEGORY.FEW; } if (vf.v != 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_cy-gb.js b/public/app/bower_components/angular-i18n/angular-locale_cy-gb.js index 9b22317e..9de1ca0a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_cy-gb.js +++ b/public/app/bower_components/angular-i18n/angular-locale_cy-gb.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_cy.js b/public/app/bower_components/angular-i18n/angular-locale_cy.js index 60d4c44f..206b0660 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_cy.js +++ b/public/app/bower_components/angular-i18n/angular-locale_cy.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_da-dk.js b/public/app/bower_components/angular-i18n/angular-locale_da-dk.js index 399a1e4e..4f9d5095 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_da-dk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_da-dk.js @@ -1,11 +1,42 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "f.m.", - "e.m." + "AM", + "PM" ], "DAY": [ "s\u00f8ndag", @@ -31,13 +62,13 @@ $provide.value("$locale", { "december" ], "SHORTDAY": [ - "s\u00f8n", - "man", - "tir", - "ons", - "tor", - "fre", - "l\u00f8r" + "s\u00f8n.", + "man.", + "tir.", + "ons.", + "tor.", + "fre.", + "l\u00f8r." ], "SHORTMONTH": [ "jan.", @@ -55,8 +86,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE 'den' d. MMMM y", "longDate": "d. MMM y", - "medium": "dd/MM/yyyy HH.mm.ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y HH.mm.ss", + "mediumDate": "dd/MM/y", "mediumTime": "HH.mm.ss", "short": "dd/MM/yy HH.mm", "shortDate": "dd/MM/yy", @@ -70,7 +101,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +112,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +123,6 @@ $provide.value("$locale", { ] }, "id": "da-dk", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (n == 1 || wt.t != 0 && (i == 0 || i == 1)) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_da-gl.js b/public/app/bower_components/angular-i18n/angular-locale_da-gl.js index ccc8db37..f56c5696 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_da-gl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_da-gl.js @@ -101,7 +101,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -113,7 +112,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_da.js b/public/app/bower_components/angular-i18n/angular-locale_da.js index 1d8bcbee..bdb48ff3 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_da.js +++ b/public/app/bower_components/angular-i18n/angular-locale_da.js @@ -1,11 +1,42 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "f.m.", - "e.m." + "AM", + "PM" ], "DAY": [ "s\u00f8ndag", @@ -31,13 +62,13 @@ $provide.value("$locale", { "december" ], "SHORTDAY": [ - "s\u00f8n", - "man", - "tir", - "ons", - "tor", - "fre", - "l\u00f8r" + "s\u00f8n.", + "man.", + "tir.", + "ons.", + "tor.", + "fre.", + "l\u00f8r." ], "SHORTMONTH": [ "jan.", @@ -55,8 +86,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE 'den' d. MMMM y", "longDate": "d. MMM y", - "medium": "dd/MM/yyyy HH.mm.ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y HH.mm.ss", + "mediumDate": "dd/MM/y", "mediumTime": "HH.mm.ss", "short": "dd/MM/yy HH.mm", "shortDate": "dd/MM/yy", @@ -70,7 +101,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +112,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +123,6 @@ $provide.value("$locale", { ] }, "id": "da", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (n == 1 || wt.t != 0 && (i == 0 || i == 1)) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_dav-ke.js b/public/app/bower_components/angular-i18n/angular-locale_dav-ke.js new file mode 100644 index 00000000..b7c99562 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_dav-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Luma lwa K", + "luma lwa p" + ], + "DAY": [ + "Ituku ja jumwa", + "Kuramuka jimweri", + "Kuramuka kawi", + "Kuramuka kadadu", + "Kuramuka kana", + "Kuramuka kasanu", + "Kifula nguwo" + ], + "MONTH": [ + "Mori ghwa imbiri", + "Mori ghwa kawi", + "Mori ghwa kadadu", + "Mori ghwa kana", + "Mori ghwa kasanu", + "Mori ghwa karandadu", + "Mori ghwa mfungade", + "Mori ghwa wunyanya", + "Mori ghwa ikenda", + "Mori ghwa ikumi", + "Mori ghwa ikumi na imweri", + "Mori ghwa ikumi na iwi" + ], + "SHORTDAY": [ + "Jum", + "Jim", + "Kaw", + "Kad", + "Kan", + "Kas", + "Ngu" + ], + "SHORTMONTH": [ + "Imb", + "Kaw", + "Kad", + "Kan", + "Kas", + "Kar", + "Mfu", + "Wun", + "Ike", + "Iku", + "Imw", + "Iwi" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "dav-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_dav.js b/public/app/bower_components/angular-i18n/angular-locale_dav.js new file mode 100644 index 00000000..95f5b02f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_dav.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Luma lwa K", + "luma lwa p" + ], + "DAY": [ + "Ituku ja jumwa", + "Kuramuka jimweri", + "Kuramuka kawi", + "Kuramuka kadadu", + "Kuramuka kana", + "Kuramuka kasanu", + "Kifula nguwo" + ], + "MONTH": [ + "Mori ghwa imbiri", + "Mori ghwa kawi", + "Mori ghwa kadadu", + "Mori ghwa kana", + "Mori ghwa kasanu", + "Mori ghwa karandadu", + "Mori ghwa mfungade", + "Mori ghwa wunyanya", + "Mori ghwa ikenda", + "Mori ghwa ikumi", + "Mori ghwa ikumi na imweri", + "Mori ghwa ikumi na iwi" + ], + "SHORTDAY": [ + "Jum", + "Jim", + "Kaw", + "Kad", + "Kan", + "Kas", + "Ngu" + ], + "SHORTMONTH": [ + "Imb", + "Kaw", + "Kad", + "Kan", + "Kas", + "Kar", + "Mfu", + "Wun", + "Ike", + "Iku", + "Imw", + "Iwi" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "dav", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_de-at.js b/public/app/bower_components/angular-i18n/angular-locale_de-at.js index 257e7d81..503707ff 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_de-at.js +++ b/public/app/bower_components/angular-i18n/angular-locale_de-at.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -40,23 +58,23 @@ $provide.value("$locale", { "Sa." ], "SHORTMONTH": [ - "J\u00e4n", - "Feb", - "M\u00e4r", - "Apr", + "J\u00e4n.", + "Feb.", + "M\u00e4rz", + "Apr.", "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez" + "Juni", + "Juli", + "Aug.", + "Sep.", + "Okt.", + "Nov.", + "Dez." ], "fullDate": "EEEE, dd. MMMM y", "longDate": "dd. MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y HH:mm:ss", + "mediumDate": "dd.MM.y", "mediumTime": "HH:mm:ss", "short": "dd.MM.yy HH:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "de-at", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_de-be.js b/public/app/bower_components/angular-i18n/angular-locale_de-be.js index d07143b3..a4e28b55 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_de-be.js +++ b/public/app/bower_components/angular-i18n/angular-locale_de-be.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -40,23 +58,23 @@ $provide.value("$locale", { "Sa." ], "SHORTMONTH": [ - "Jan", - "Feb", - "M\u00e4r", - "Apr", + "Jan.", + "Feb.", + "M\u00e4rz", + "Apr.", "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez" + "Juni", + "Juli", + "Aug.", + "Sep.", + "Okt.", + "Nov.", + "Dez." ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y HH:mm:ss", + "mediumDate": "dd.MM.y", "mediumTime": "HH:mm:ss", "short": "dd.MM.yy HH:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "de-be", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_de-ch.js b/public/app/bower_components/angular-i18n/angular-locale_de-ch.js index b2499395..edb0d508 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_de-ch.js +++ b/public/app/bower_components/angular-i18n/angular-locale_de-ch.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -40,23 +58,23 @@ $provide.value("$locale", { "Sa." ], "SHORTMONTH": [ - "Jan", - "Feb", - "M\u00e4r", - "Apr", + "Jan.", + "Feb.", + "M\u00e4rz", + "Apr.", "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez" + "Juni", + "Juli", + "Aug.", + "Sep.", + "Okt.", + "Nov.", + "Dez." ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y HH:mm:ss", + "mediumDate": "dd.MM.y", "mediumTime": "HH:mm:ss", "short": "dd.MM.yy HH:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "de-ch", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_de-de.js b/public/app/bower_components/angular-i18n/angular-locale_de-de.js index 58e70431..b1d24da6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_de-de.js +++ b/public/app/bower_components/angular-i18n/angular-locale_de-de.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -40,23 +58,23 @@ $provide.value("$locale", { "Sa." ], "SHORTMONTH": [ - "Jan", - "Feb", - "M\u00e4r", - "Apr", + "Jan.", + "Feb.", + "M\u00e4rz", + "Apr.", "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez" + "Juni", + "Juli", + "Aug.", + "Sep.", + "Okt.", + "Nov.", + "Dez." ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y HH:mm:ss", + "mediumDate": "dd.MM.y", "mediumTime": "HH:mm:ss", "short": "dd.MM.yy HH:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "de-de", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_de-li.js b/public/app/bower_components/angular-i18n/angular-locale_de-li.js index 28865132..c29bbfb5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_de-li.js +++ b/public/app/bower_components/angular-i18n/angular-locale_de-li.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -40,37 +58,36 @@ $provide.value("$locale", { "Sa." ], "SHORTMONTH": [ - "Jan", - "Feb", - "M\u00e4r", - "Apr", + "Jan.", + "Feb.", + "M\u00e4rz", + "Apr.", "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez" + "Juni", + "Juli", + "Aug.", + "Sep.", + "Okt.", + "Nov.", + "Dez." ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y HH:mm:ss", + "mediumDate": "dd.MM.y", "mediumTime": "HH:mm:ss", "short": "dd.MM.yy HH:mm", "shortDate": "dd.MM.yy", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "CHF", + "DECIMAL_SEP": ".", + "GROUP_SEP": "'", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" } ] }, "id": "de-li", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_de-lu.js b/public/app/bower_components/angular-i18n/angular-locale_de-lu.js index 61aa489c..ff62c14b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_de-lu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_de-lu.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -40,23 +58,23 @@ $provide.value("$locale", { "Sa." ], "SHORTMONTH": [ - "Jan", - "Feb", - "M\u00e4r", - "Apr", + "Jan.", + "Feb.", + "M\u00e4rz", + "Apr.", "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez" + "Juni", + "Juli", + "Aug.", + "Sep.", + "Okt.", + "Nov.", + "Dez." ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y HH:mm:ss", + "mediumDate": "dd.MM.y", "mediumTime": "HH:mm:ss", "short": "dd.MM.yy HH:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "de-lu", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_de.js b/public/app/bower_components/angular-i18n/angular-locale_de.js index 6ea1f221..0c8f3ea2 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_de.js +++ b/public/app/bower_components/angular-i18n/angular-locale_de.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -40,23 +58,23 @@ $provide.value("$locale", { "Sa." ], "SHORTMONTH": [ - "Jan", - "Feb", - "M\u00e4r", - "Apr", + "Jan.", + "Feb.", + "M\u00e4rz", + "Apr.", "Mai", - "Jun", - "Jul", - "Aug", - "Sep", - "Okt", - "Nov", - "Dez" + "Juni", + "Juli", + "Aug.", + "Sep.", + "Okt.", + "Nov.", + "Dez." ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y HH:mm:ss", + "mediumDate": "dd.MM.y", "mediumTime": "HH:mm:ss", "short": "dd.MM.yy HH:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "de", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_dje-ne.js b/public/app/bower_components/angular-i18n/angular-locale_dje-ne.js new file mode 100644 index 00000000..027f8d2d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_dje-ne.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Subbaahi", + "Zaarikay b" + ], + "DAY": [ + "Alhadi", + "Atinni", + "Atalaata", + "Alarba", + "Alhamisi", + "Alzuma", + "Asibti" + ], + "MONTH": [ + "\u017danwiye", + "Feewiriye", + "Marsi", + "Awiril", + "Me", + "\u017duwe\u014b", + "\u017duyye", + "Ut", + "Sektanbur", + "Oktoobur", + "Noowanbur", + "Deesanbur" + ], + "SHORTDAY": [ + "Alh", + "Ati", + "Ata", + "Ala", + "Alm", + "Alz", + "Asi" + ], + "SHORTMONTH": [ + "\u017dan", + "Fee", + "Mar", + "Awi", + "Me", + "\u017duw", + "\u017duy", + "Ut", + "Sek", + "Okt", + "Noo", + "Dee" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "dje-ne", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_dje.js b/public/app/bower_components/angular-i18n/angular-locale_dje.js new file mode 100644 index 00000000..6f49c109 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_dje.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Subbaahi", + "Zaarikay b" + ], + "DAY": [ + "Alhadi", + "Atinni", + "Atalaata", + "Alarba", + "Alhamisi", + "Alzuma", + "Asibti" + ], + "MONTH": [ + "\u017danwiye", + "Feewiriye", + "Marsi", + "Awiril", + "Me", + "\u017duwe\u014b", + "\u017duyye", + "Ut", + "Sektanbur", + "Oktoobur", + "Noowanbur", + "Deesanbur" + ], + "SHORTDAY": [ + "Alh", + "Ati", + "Ata", + "Ala", + "Alm", + "Alz", + "Asi" + ], + "SHORTMONTH": [ + "\u017dan", + "Fee", + "Mar", + "Awi", + "Me", + "\u017duw", + "\u017duy", + "Ut", + "Sek", + "Okt", + "Noo", + "Dee" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "dje", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_dua-cm.js b/public/app/bower_components/angular-i18n/angular-locale_dua-cm.js new file mode 100644 index 00000000..35778544 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_dua-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "idi\u0253a", + "eby\u00e1mu" + ], + "DAY": [ + "\u00e9ti", + "m\u0254\u0301s\u00fa", + "kwas\u00fa", + "muk\u0254\u0301s\u00fa", + "\u014bgis\u00fa", + "\u0257\u00f3n\u025bs\u00fa", + "esa\u0253as\u00fa" + ], + "MONTH": [ + "dim\u0254\u0301di", + "\u014bg\u0254nd\u025b", + "s\u0254\u014b\u025b", + "di\u0253\u00e1\u0253\u00e1", + "emiasele", + "es\u0254p\u025bs\u0254p\u025b", + "madi\u0253\u025b\u0301d\u00ed\u0253\u025b\u0301", + "di\u014bgindi", + "ny\u025bt\u025bki", + "may\u00e9s\u025b\u0301", + "tin\u00edn\u00ed", + "el\u00e1\u014bg\u025b\u0301" + ], + "SHORTDAY": [ + "\u00e9t", + "m\u0254\u0301s", + "kwa", + "muk", + "\u014bgi", + "\u0257\u00f3n", + "esa" + ], + "SHORTMONTH": [ + "di", + "\u014bg\u0254n", + "s\u0254\u014b", + "di\u0253", + "emi", + "es\u0254", + "mad", + "di\u014b", + "ny\u025bt", + "may", + "tin", + "el\u00e1" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "dua-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_dua.js b/public/app/bower_components/angular-i18n/angular-locale_dua.js new file mode 100644 index 00000000..50c7e5e4 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_dua.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "idi\u0253a", + "eby\u00e1mu" + ], + "DAY": [ + "\u00e9ti", + "m\u0254\u0301s\u00fa", + "kwas\u00fa", + "muk\u0254\u0301s\u00fa", + "\u014bgis\u00fa", + "\u0257\u00f3n\u025bs\u00fa", + "esa\u0253as\u00fa" + ], + "MONTH": [ + "dim\u0254\u0301di", + "\u014bg\u0254nd\u025b", + "s\u0254\u014b\u025b", + "di\u0253\u00e1\u0253\u00e1", + "emiasele", + "es\u0254p\u025bs\u0254p\u025b", + "madi\u0253\u025b\u0301d\u00ed\u0253\u025b\u0301", + "di\u014bgindi", + "ny\u025bt\u025bki", + "may\u00e9s\u025b\u0301", + "tin\u00edn\u00ed", + "el\u00e1\u014bg\u025b\u0301" + ], + "SHORTDAY": [ + "\u00e9t", + "m\u0254\u0301s", + "kwa", + "muk", + "\u014bgi", + "\u0257\u00f3n", + "esa" + ], + "SHORTMONTH": [ + "di", + "\u014bg\u0254n", + "s\u0254\u014b", + "di\u0253", + "emi", + "es\u0254", + "mad", + "di\u014b", + "ny\u025bt", + "may", + "tin", + "el\u00e1" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "dua", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_dyo-sn.js b/public/app/bower_components/angular-i18n/angular-locale_dyo-sn.js new file mode 100644 index 00000000..cbf29382 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_dyo-sn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Dimas", + "Tene\u014b", + "Talata", + "Alarbay", + "Aramisay", + "Arjuma", + "Sibiti" + ], + "MONTH": [ + "Sanvie", + "F\u00e9birie", + "Mars", + "Aburil", + "Mee", + "Sue\u014b", + "S\u00fauyee", + "Ut", + "Settembar", + "Oktobar", + "Novembar", + "Disambar" + ], + "SHORTDAY": [ + "Dim", + "Ten", + "Tal", + "Ala", + "Ara", + "Arj", + "Sib" + ], + "SHORTMONTH": [ + "Sa", + "Fe", + "Ma", + "Ab", + "Me", + "Su", + "S\u00fa", + "Ut", + "Se", + "Ok", + "No", + "De" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "dyo-sn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_dyo.js b/public/app/bower_components/angular-i18n/angular-locale_dyo.js new file mode 100644 index 00000000..a76ee885 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_dyo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Dimas", + "Tene\u014b", + "Talata", + "Alarbay", + "Aramisay", + "Arjuma", + "Sibiti" + ], + "MONTH": [ + "Sanvie", + "F\u00e9birie", + "Mars", + "Aburil", + "Mee", + "Sue\u014b", + "S\u00fauyee", + "Ut", + "Settembar", + "Oktobar", + "Novembar", + "Disambar" + ], + "SHORTDAY": [ + "Dim", + "Ten", + "Tal", + "Ala", + "Ara", + "Arj", + "Sib" + ], + "SHORTMONTH": [ + "Sa", + "Fe", + "Ma", + "Ab", + "Me", + "Su", + "S\u00fa", + "Ut", + "Se", + "Ok", + "No", + "De" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "dyo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_dz-bt.js b/public/app/bower_components/angular-i18n/angular-locale_dz-bt.js new file mode 100644 index 00000000..44328aa1 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_dz-bt.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0f66\u0f94\u0f0b\u0f46\u0f0b", + "\u0f55\u0fb1\u0f72\u0f0b\u0f46\u0f0b" + ], + "DAY": [ + "\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b" + ], + "MONTH": [ + "\u0f5f\u0fb3\u0f0b\u0f51\u0f44\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f63\u0f94\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54\u0f0b" + ], + "SHORTDAY": [ + "\u0f5f\u0fb3\u0f0b", + "\u0f58\u0f72\u0f62\u0f0b", + "\u0f63\u0fb7\u0f42\u0f0b", + "\u0f55\u0f74\u0f62\u0f0b", + "\u0f66\u0f44\u0f66\u0f0b", + "\u0f66\u0fa4\u0f7a\u0f53\u0f0b", + "\u0f49\u0f72\u0f0b" + ], + "SHORTMONTH": [ + "\u0f21", + "\u0f22", + "\u0f23", + "\u0f24", + "\u0f25", + "\u0f26", + "\u0f27", + "\u0f28", + "\u0f29", + "\u0f21\u0f20", + "\u0f21\u0f21", + "12" + ], + "fullDate": "EEEE, \u0f66\u0fa4\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by MMMM \u0f5a\u0f7a\u0f66\u0f0bdd", + "longDate": "\u0f66\u0fa4\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by MMMM \u0f5a\u0f7a\u0f66\u0f0b dd", + "medium": "\u0f66\u0fa4\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by \u0f5f\u0fb3\u0f0bMMM \u0f5a\u0f7a\u0f66\u0f0bdd \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0bh:mm:ss a", + "mediumDate": "\u0f66\u0fa4\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by \u0f5f\u0fb3\u0f0bMMM \u0f5a\u0f7a\u0f66\u0f0bdd", + "mediumTime": "\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0bh:mm:ss a", + "short": "y-MM-dd \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b h \u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b mm a", + "shortDate": "y-MM-dd", + "shortTime": "\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b h \u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Nu.", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "dz-bt", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_dz.js b/public/app/bower_components/angular-i18n/angular-locale_dz.js new file mode 100644 index 00000000..60db2c26 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_dz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0f66\u0f94\u0f0b\u0f46\u0f0b", + "\u0f55\u0fb1\u0f72\u0f0b\u0f46\u0f0b" + ], + "DAY": [ + "\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b", + "\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b" + ], + "MONTH": [ + "\u0f5f\u0fb3\u0f0b\u0f51\u0f44\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f63\u0f94\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54\u0f0b", + "\u0f5f\u0fb3\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54\u0f0b" + ], + "SHORTDAY": [ + "\u0f5f\u0fb3\u0f0b", + "\u0f58\u0f72\u0f62\u0f0b", + "\u0f63\u0fb7\u0f42\u0f0b", + "\u0f55\u0f74\u0f62\u0f0b", + "\u0f66\u0f44\u0f66\u0f0b", + "\u0f66\u0fa4\u0f7a\u0f53\u0f0b", + "\u0f49\u0f72\u0f0b" + ], + "SHORTMONTH": [ + "\u0f21", + "\u0f22", + "\u0f23", + "\u0f24", + "\u0f25", + "\u0f26", + "\u0f27", + "\u0f28", + "\u0f29", + "\u0f21\u0f20", + "\u0f21\u0f21", + "12" + ], + "fullDate": "EEEE, \u0f66\u0fa4\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by MMMM \u0f5a\u0f7a\u0f66\u0f0bdd", + "longDate": "\u0f66\u0fa4\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by MMMM \u0f5a\u0f7a\u0f66\u0f0b dd", + "medium": "\u0f66\u0fa4\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by \u0f5f\u0fb3\u0f0bMMM \u0f5a\u0f7a\u0f66\u0f0bdd \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0bh:mm:ss a", + "mediumDate": "\u0f66\u0fa4\u0fb1\u0f72\u0f0b\u0f63\u0f7c\u0f0by \u0f5f\u0fb3\u0f0bMMM \u0f5a\u0f7a\u0f66\u0f0bdd", + "mediumTime": "\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0bh:mm:ss a", + "short": "y-MM-dd \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b h \u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b mm a", + "shortDate": "y-MM-dd", + "shortTime": "\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b h \u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Nu.", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "dz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ebu-ke.js b/public/app/bower_components/angular-i18n/angular-locale_ebu-ke.js new file mode 100644 index 00000000..eb149093 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ebu-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "KI", + "UT" + ], + "DAY": [ + "Kiumia", + "Njumatatu", + "Njumaine", + "Njumatano", + "Aramithi", + "Njumaa", + "NJumamothii" + ], + "MONTH": [ + "Mweri wa mbere", + "Mweri wa ka\u0129ri", + "Mweri wa kathat\u0169", + "Mweri wa kana", + "Mweri wa gatano", + "Mweri wa gatantat\u0169", + "Mweri wa m\u0169gwanja", + "Mweri wa kanana", + "Mweri wa kenda", + "Mweri wa ik\u0169mi", + "Mweri wa ik\u0169mi na \u0169mwe", + "Mweri wa ik\u0169mi na Ka\u0129r\u0129" + ], + "SHORTDAY": [ + "Kma", + "Tat", + "Ine", + "Tan", + "Arm", + "Maa", + "NMM" + ], + "SHORTMONTH": [ + "Mbe", + "Kai", + "Kat", + "Kan", + "Gat", + "Gan", + "Mug", + "Knn", + "Ken", + "Iku", + "Imw", + "Igi" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ebu-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ebu.js b/public/app/bower_components/angular-i18n/angular-locale_ebu.js new file mode 100644 index 00000000..d75a03c2 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ebu.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "KI", + "UT" + ], + "DAY": [ + "Kiumia", + "Njumatatu", + "Njumaine", + "Njumatano", + "Aramithi", + "Njumaa", + "NJumamothii" + ], + "MONTH": [ + "Mweri wa mbere", + "Mweri wa ka\u0129ri", + "Mweri wa kathat\u0169", + "Mweri wa kana", + "Mweri wa gatano", + "Mweri wa gatantat\u0169", + "Mweri wa m\u0169gwanja", + "Mweri wa kanana", + "Mweri wa kenda", + "Mweri wa ik\u0169mi", + "Mweri wa ik\u0169mi na \u0169mwe", + "Mweri wa ik\u0169mi na Ka\u0129r\u0129" + ], + "SHORTDAY": [ + "Kma", + "Tat", + "Ine", + "Tan", + "Arm", + "Maa", + "NMM" + ], + "SHORTMONTH": [ + "Mbe", + "Kai", + "Kat", + "Kan", + "Gat", + "Gan", + "Mug", + "Knn", + "Ken", + "Iku", + "Imw", + "Igi" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ebu", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ee-gh.js b/public/app/bower_components/angular-i18n/angular-locale_ee-gh.js new file mode 100644 index 00000000..7431af25 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ee-gh.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u014bdi", + "\u0263etr\u0254" + ], + "DAY": [ + "k\u0254si\u0256a", + "dzo\u0256a", + "bla\u0256a", + "ku\u0256a", + "yawo\u0256a", + "fi\u0256a", + "memle\u0256a" + ], + "MONTH": [ + "dzove", + "dzodze", + "tedoxe", + "af\u0254f\u0129e", + "dama", + "masa", + "siaml\u0254m", + "deasiamime", + "any\u0254ny\u0254", + "kele", + "ade\u025bmekp\u0254xe", + "dzome" + ], + "SHORTDAY": [ + "k\u0254s", + "dzo", + "bla", + "ku\u0256", + "yaw", + "fi\u0256", + "mem" + ], + "SHORTMONTH": [ + "dzv", + "dzd", + "ted", + "af\u0254", + "dam", + "mas", + "sia", + "dea", + "any", + "kel", + "ade", + "dzm" + ], + "fullDate": "EEEE, MMMM d 'lia' y", + "longDate": "MMMM d 'lia' y", + "medium": "MMM d 'lia', y a 'ga' h:mm:ss", + "mediumDate": "MMM d 'lia', y", + "mediumTime": "a 'ga' h:mm:ss", + "short": "M/d/yy a 'ga' h:mm", + "shortDate": "M/d/yy", + "shortTime": "a 'ga' h:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "GHS", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ee-gh", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ee-tg.js b/public/app/bower_components/angular-i18n/angular-locale_ee-tg.js new file mode 100644 index 00000000..ee236cb6 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ee-tg.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u014bdi", + "\u0263etr\u0254" + ], + "DAY": [ + "k\u0254si\u0256a", + "dzo\u0256a", + "bla\u0256a", + "ku\u0256a", + "yawo\u0256a", + "fi\u0256a", + "memle\u0256a" + ], + "MONTH": [ + "dzove", + "dzodze", + "tedoxe", + "af\u0254f\u0129e", + "dama", + "masa", + "siaml\u0254m", + "deasiamime", + "any\u0254ny\u0254", + "kele", + "ade\u025bmekp\u0254xe", + "dzome" + ], + "SHORTDAY": [ + "k\u0254s", + "dzo", + "bla", + "ku\u0256", + "yaw", + "fi\u0256", + "mem" + ], + "SHORTMONTH": [ + "dzv", + "dzd", + "ted", + "af\u0254", + "dam", + "mas", + "sia", + "dea", + "any", + "kel", + "ade", + "dzm" + ], + "fullDate": "EEEE, MMMM d 'lia' y", + "longDate": "MMMM d 'lia' y", + "medium": "MMM d 'lia', y a 'ga' h:mm:ss", + "mediumDate": "MMM d 'lia', y", + "mediumTime": "a 'ga' h:mm:ss", + "short": "M/d/yy a 'ga' h:mm", + "shortDate": "M/d/yy", + "shortTime": "a 'ga' h:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ee-tg", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ee.js b/public/app/bower_components/angular-i18n/angular-locale_ee.js new file mode 100644 index 00000000..b5734540 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ee.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u014bdi", + "\u0263etr\u0254" + ], + "DAY": [ + "k\u0254si\u0256a", + "dzo\u0256a", + "bla\u0256a", + "ku\u0256a", + "yawo\u0256a", + "fi\u0256a", + "memle\u0256a" + ], + "MONTH": [ + "dzove", + "dzodze", + "tedoxe", + "af\u0254f\u0129e", + "dama", + "masa", + "siaml\u0254m", + "deasiamime", + "any\u0254ny\u0254", + "kele", + "ade\u025bmekp\u0254xe", + "dzome" + ], + "SHORTDAY": [ + "k\u0254s", + "dzo", + "bla", + "ku\u0256", + "yaw", + "fi\u0256", + "mem" + ], + "SHORTMONTH": [ + "dzv", + "dzd", + "ted", + "af\u0254", + "dam", + "mas", + "sia", + "dea", + "any", + "kel", + "ade", + "dzm" + ], + "fullDate": "EEEE, MMMM d 'lia' y", + "longDate": "MMMM d 'lia' y", + "medium": "MMM d 'lia', y a 'ga' h:mm:ss", + "mediumDate": "MMM d 'lia', y", + "mediumTime": "a 'ga' h:mm:ss", + "short": "M/d/yy a 'ga' h:mm", + "shortDate": "M/d/yy", + "shortTime": "a 'ga' h:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "GHS", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ee", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_el-cy.js b/public/app/bower_components/angular-i18n/angular-locale_el-cy.js index e7a4c94e..da714bf5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_el-cy.js +++ b/public/app/bower_components/angular-i18n/angular-locale_el-cy.js @@ -33,18 +33,18 @@ $provide.value("$locale", { "SHORTDAY": [ "\u039a\u03c5\u03c1", "\u0394\u03b5\u03c5", - "\u03a4\u03c1\u03b9", + "\u03a4\u03c1\u03af", "\u03a4\u03b5\u03c4", - "\u03a0\u03b5\u03bc", + "\u03a0\u03ad\u03bc", "\u03a0\u03b1\u03c1", - "\u03a3\u03b1\u03b2" + "\u03a3\u03ac\u03b2" ], "SHORTMONTH": [ "\u0399\u03b1\u03bd", "\u03a6\u03b5\u03b2", "\u039c\u03b1\u03c1", "\u0391\u03c0\u03c1", - "\u039c\u03b1\u03ca", + "\u039c\u03b1\u0390", "\u0399\u03bf\u03c5\u03bd", "\u0399\u03bf\u03c5\u03bb", "\u0391\u03c5\u03b3", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "el-cy", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_el-gr.js b/public/app/bower_components/angular-i18n/angular-locale_el-gr.js index 101464f8..af0e8f05 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_el-gr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_el-gr.js @@ -33,18 +33,18 @@ $provide.value("$locale", { "SHORTDAY": [ "\u039a\u03c5\u03c1", "\u0394\u03b5\u03c5", - "\u03a4\u03c1\u03b9", + "\u03a4\u03c1\u03af", "\u03a4\u03b5\u03c4", - "\u03a0\u03b5\u03bc", + "\u03a0\u03ad\u03bc", "\u03a0\u03b1\u03c1", - "\u03a3\u03b1\u03b2" + "\u03a3\u03ac\u03b2" ], "SHORTMONTH": [ "\u0399\u03b1\u03bd", "\u03a6\u03b5\u03b2", "\u039c\u03b1\u03c1", "\u0391\u03c0\u03c1", - "\u039c\u03b1\u03ca", + "\u039c\u03b1\u0390", "\u0399\u03bf\u03c5\u03bd", "\u0399\u03bf\u03c5\u03bb", "\u0391\u03c5\u03b3", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "el-gr", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_el.js b/public/app/bower_components/angular-i18n/angular-locale_el.js index 84330501..54dd178a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_el.js +++ b/public/app/bower_components/angular-i18n/angular-locale_el.js @@ -33,18 +33,18 @@ $provide.value("$locale", { "SHORTDAY": [ "\u039a\u03c5\u03c1", "\u0394\u03b5\u03c5", - "\u03a4\u03c1\u03b9", + "\u03a4\u03c1\u03af", "\u03a4\u03b5\u03c4", - "\u03a0\u03b5\u03bc", + "\u03a0\u03ad\u03bc", "\u03a0\u03b1\u03c1", - "\u03a3\u03b1\u03b2" + "\u03a3\u03ac\u03b2" ], "SHORTMONTH": [ "\u0399\u03b1\u03bd", "\u03a6\u03b5\u03b2", "\u039c\u03b1\u03c1", "\u0391\u03c0\u03c1", - "\u039c\u03b1\u03ca", + "\u039c\u03b1\u0390", "\u0399\u03bf\u03c5\u03bd", "\u0399\u03bf\u03c5\u03bb", "\u0391\u03c5\u03b3", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "el", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-001.js b/public/app/bower_components/angular-i18n/angular-locale_en-001.js index 30b0dbd1..cefc5e61 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-001.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-001.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-150.js b/public/app/bower_components/angular-i18n/angular-locale_en-150.js index 013a2df6..e49634c0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-150.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-150.js @@ -82,13 +82,12 @@ $provide.value("$locale", { }, "NUMBER_FORMATS": { "CURRENCY_SYM": "$", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,14 +99,13 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4-", - "negSuf": "", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ag.js b/public/app/bower_components/angular-i18n/angular-locale_en-ag.js index 662a5ba9..96835a96 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ag.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ag.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ai.js b/public/app/bower_components/angular-i18n/angular-locale_en-ai.js index 6d593fa0..c7bf13e2 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ai.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ai.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-as.js b/public/app/bower_components/angular-i18n/angular-locale_en-as.js index 3cc5eb54..c2490c51 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-as.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-as.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-as", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-au.js b/public/app/bower_components/angular-i18n/angular-locale_en-au.js index c09f4ae7..62fe83b3 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-au.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-au.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,11 +73,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d MMMM y", "longDate": "d MMMM y", - "medium": "dd/MM/yyyy h:mm:ss a", - "mediumDate": "dd/MM/yyyy", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", - "short": "d/MM/yy h:mm a", - "shortDate": "d/MM/yy", + "short": "d/MM/y h:mm a", + "shortDate": "d/MM/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-au", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-bb.js b/public/app/bower_components/angular-i18n/angular-locale_en-bb.js index dcf93adb..9f15dcd2 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-bb.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-bb.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-bb", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-be.js b/public/app/bower_components/angular-i18n/angular-locale_en-be.js index 673beb5e..872f821b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-be.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-be.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "en-be", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-bm.js b/public/app/bower_components/angular-i18n/angular-locale_en-bm.js index 604db153..107d9604 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-bm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-bm.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-bm", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-bs.js b/public/app/bower_components/angular-i18n/angular-locale_en-bs.js index d8f7ab9b..00edea6d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-bs.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-bs.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-bw.js b/public/app/bower_components/angular-i18n/angular-locale_en-bw.js index 0aeb9f98..a7538fec 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-bw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-bw.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,22 +73,21 @@ $provide.value("$locale", { ], "fullDate": "EEEE dd MMMM y", "longDate": "dd MMMM y", - "medium": "MMM d, y h:mm:ss a", - "mediumDate": "MMM d, y", + "medium": "dd MMM y h:mm:ss a", + "mediumDate": "dd MMM y", "mediumTime": "h:mm:ss a", "short": "dd/MM/yy h:mm a", "shortDate": "dd/MM/yy", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "P", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-bw", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-bz.js b/public/app/bower_components/angular-i18n/angular-locale_en-bz.js index 17f242dc..1cdd695b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-bz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-bz.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -53,7 +71,7 @@ $provide.value("$locale", { "Nov", "Dec" ], - "fullDate": "dd MMMM y", + "fullDate": "EEEE dd MMMM y", "longDate": "dd MMMM y", "medium": "dd-MMM-y HH:mm:ss", "mediumDate": "dd-MMM-y", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-bz", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ca.js b/public/app/bower_components/angular-i18n/angular-locale_en-ca.js index 37090357..a0a2419e 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ca.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ca.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -53,13 +71,13 @@ $provide.value("$locale", { "Nov", "Dec" ], - "fullDate": "EEEE, d MMMM, y", - "longDate": "d MMMM, y", - "medium": "yyyy-MM-dd h:mm:ss a", - "mediumDate": "yyyy-MM-dd", + "fullDate": "EEEE, MMMM d, y", + "longDate": "MMMM d, y", + "medium": "MMM d, y h:mm:ss a", + "mediumDate": "MMM d, y", "mediumTime": "h:mm:ss a", - "short": "yy-MM-dd h:mm a", - "shortDate": "yy-MM-dd", + "short": "y-MM-dd h:mm a", + "shortDate": "y-MM-dd", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-ca", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-cc.js b/public/app/bower_components/angular-i18n/angular-locale_en-cc.js index 33677b96..231de487 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-cc.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-cc.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ck.js b/public/app/bower_components/angular-i18n/angular-locale_en-ck.js index 847cee98..a03b0512 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ck.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ck.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-cm.js b/public/app/bower_components/angular-i18n/angular-locale_en-cm.js index b5fde2c9..ab5494b7 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-cm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-cm.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-cx.js b/public/app/bower_components/angular-i18n/angular-locale_en-cx.js index abec380c..a1e0478a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-cx.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-cx.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-dg.js b/public/app/bower_components/angular-i18n/angular-locale_en-dg.js index cad132f9..0ce3ef05 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-dg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-dg.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-dm.js b/public/app/bower_components/angular-i18n/angular-locale_en-dm.js index 400c14bc..71d0931c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-dm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-dm.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-er.js b/public/app/bower_components/angular-i18n/angular-locale_en-er.js index d1dce80a..9b1d66b8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-er.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-er.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "Nfk", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-fj.js b/public/app/bower_components/angular-i18n/angular-locale_en-fj.js index 54a642f3..0abca889 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-fj.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-fj.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-fk.js b/public/app/bower_components/angular-i18n/angular-locale_en-fk.js index d7576696..85cb2baf 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-fk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-fk.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "\u00a3", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-fm.js b/public/app/bower_components/angular-i18n/angular-locale_en-fm.js index 525604fc..5c1b3841 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-fm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-fm.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-fm", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-gb.js b/public/app/bower_components/angular-i18n/angular-locale_en-gb.js index 4a0f59ac..f10e43aa 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-gb.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-gb.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "AM", - "PM" + "am", + "pm" ], "DAY": [ "Sunday", @@ -58,8 +76,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yyyy HH:mm", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "en-gb", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-gd.js b/public/app/bower_components/angular-i18n/angular-locale_en-gd.js index daf5a866..088c7276 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-gd.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-gd.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-gg.js b/public/app/bower_components/angular-i18n/angular-locale_en-gg.js index 829a5250..924166c4 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-gg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-gg.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "\u00a3", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-gh.js b/public/app/bower_components/angular-i18n/angular-locale_en-gh.js index 6e4e03d6..ee43387a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-gh.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-gh.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "GHS", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-gi.js b/public/app/bower_components/angular-i18n/angular-locale_en-gi.js index 74900d10..ba2bceb2 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-gi.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-gi.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "\u00a3", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-gm.js b/public/app/bower_components/angular-i18n/angular-locale_en-gm.js index f95860f8..02ba2041 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-gm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-gm.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "GMD", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-gu.js b/public/app/bower_components/angular-i18n/angular-locale_en-gu.js index 994b5716..4ecf9325 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-gu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-gu.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-gu", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-gy.js b/public/app/bower_components/angular-i18n/angular-locale_en-gy.js index 0c524052..b845e533 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-gy.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-gy.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-gy", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-hk.js b/public/app/bower_components/angular-i18n/angular-locale_en-hk.js index 261c4906..6fc18372 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-hk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-hk.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-hk", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ie.js b/public/app/bower_components/angular-i18n/angular-locale_en-ie.js index a7d7b757..acd24d45 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ie.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ie.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -54,12 +72,12 @@ $provide.value("$locale", { "Dec" ], "fullDate": "EEEE d MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y h:mm:ss a", - "mediumDate": "d MMM y", + "longDate": "MMMM d, y", + "medium": "MMM d, y h:mm:ss a", + "mediumDate": "MMM d, y", "mediumTime": "h:mm:ss a", - "short": "dd/MM/yyyy h:mm a", - "shortDate": "dd/MM/yyyy", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-ie", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-im.js b/public/app/bower_components/angular-i18n/angular-locale_en-im.js index 3ae551f9..8df03588 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-im.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-im.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "\u00a3", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-in.js b/public/app/bower_components/angular-i18n/angular-locale_en-in.js index ad058896..a71a8926 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-in.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "en-in", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-io.js b/public/app/bower_components/angular-i18n/angular-locale_en-io.js index 7e5975f7..6ed08130 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-io.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-io.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-iso.js b/public/app/bower_components/angular-i18n/angular-locale_en-iso.js index 158f8de0..e710958e 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-iso.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-iso.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-iso", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-je.js b/public/app/bower_components/angular-i18n/angular-locale_en-je.js index 04115070..745fbad1 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-je.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-je.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "\u00a3", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-jm.js b/public/app/bower_components/angular-i18n/angular-locale_en-jm.js index 7aebeab8..68f65f63 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-jm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-jm.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-jm", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ke.js b/public/app/bower_components/angular-i18n/angular-locale_en-ke.js index 28a4030e..f8fc4f7b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ke.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ke.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "Ksh", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ki.js b/public/app/bower_components/angular-i18n/angular-locale_en-ki.js index 6a2b3859..8d35d666 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ki.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ki.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-kn.js b/public/app/bower_components/angular-i18n/angular-locale_en-kn.js index 274f3e20..1cbe4aa1 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-kn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-kn.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ky.js b/public/app/bower_components/angular-i18n/angular-locale_en-ky.js index 198211b9..16c96520 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ky.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ky.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-lc.js b/public/app/bower_components/angular-i18n/angular-locale_en-lc.js index 10bfe647..b71cc7ab 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-lc.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-lc.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-lr.js b/public/app/bower_components/angular-i18n/angular-locale_en-lr.js index b42fd1da..af84233d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-lr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-lr.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ls.js b/public/app/bower_components/angular-i18n/angular-locale_en-ls.js index 5efea9ad..897c6361 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ls.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ls.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "R", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-mg.js b/public/app/bower_components/angular-i18n/angular-locale_en-mg.js index 9ce63a62..ee387d65 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-mg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-mg.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "Ar", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-mh.js b/public/app/bower_components/angular-i18n/angular-locale_en-mh.js index 08544436..771069da 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-mh.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-mh.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-mh", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-mo.js b/public/app/bower_components/angular-i18n/angular-locale_en-mo.js index 203db623..8fa1c08d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-mo.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-mo.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "MOP", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-mp.js b/public/app/bower_components/angular-i18n/angular-locale_en-mp.js index c05f5c9b..337b48b8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-mp.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-mp.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-mp", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ms.js b/public/app/bower_components/angular-i18n/angular-locale_en-ms.js index facfa6ca..5b3ed002 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ms.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ms.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-mt.js b/public/app/bower_components/angular-i18n/angular-locale_en-mt.js index 822d0ace..37e2e64b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-mt.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-mt.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -58,19 +76,18 @@ $provide.value("$locale", { "medium": "dd MMM y h:mm:ss a", "mediumDate": "dd MMM y", "mediumTime": "h:mm:ss a", - "short": "dd/MM/yyyy h:mm a", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-mt", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-mu.js b/public/app/bower_components/angular-i18n/angular-locale_en-mu.js index 13629d6b..4beaddf5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-mu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-mu.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "MURs", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-mu", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-mw.js b/public/app/bower_components/angular-i18n/angular-locale_en-mw.js index 89dd68de..b85e53c3 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-mw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-mw.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "MWK", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-na.js b/public/app/bower_components/angular-i18n/angular-locale_en-na.js index 779fb026..efac8f83 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-na.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-na.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-na", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-nf.js b/public/app/bower_components/angular-i18n/angular-locale_en-nf.js index eeb349c5..79f32e34 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-nf.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-nf.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ng.js b/public/app/bower_components/angular-i18n/angular-locale_en-ng.js index 0d6e24ce..d5633c96 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ng.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ng.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "\u20a6", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-nr.js b/public/app/bower_components/angular-i18n/angular-locale_en-nr.js index 697d6f24..4cfa8778 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-nr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-nr.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-nu.js b/public/app/bower_components/angular-i18n/angular-locale_en-nu.js index 1f344262..662c0dfe 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-nu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-nu.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-nz.js b/public/app/bower_components/angular-i18n/angular-locale_en-nz.js index 8e010734..194cc889 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-nz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-nz.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,8 +73,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d MMMM y", "longDate": "d MMMM y", - "medium": "d/MM/yyyy h:mm:ss a", - "mediumDate": "d/MM/yyyy", + "medium": "d/MM/y h:mm:ss a", + "mediumDate": "d/MM/y", "mediumTime": "h:mm:ss a", "short": "d/MM/yy h:mm a", "shortDate": "d/MM/yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-nz", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-pg.js b/public/app/bower_components/angular-i18n/angular-locale_en-pg.js index 07388361..9c23b656 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-pg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-pg.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "PGK", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ph.js b/public/app/bower_components/angular-i18n/angular-locale_en-ph.js index 647b9e10..3a5bb5f5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ph.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ph.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "\u20b1", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-ph", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-pk.js b/public/app/bower_components/angular-i18n/angular-locale_en-pk.js index bc586489..a012fabf 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-pk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-pk.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -58,19 +76,18 @@ $provide.value("$locale", { "medium": "dd-MMM-y h:mm:ss a", "mediumDate": "dd-MMM-y", "mediumTime": "h:mm:ss a", - "short": "dd/MM/yy h:mm a", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "Rs", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { - "gSize": 3, + "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -80,20 +97,19 @@ $provide.value("$locale", { "posSuf": "" }, { - "gSize": 3, + "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "en-pk", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-pn.js b/public/app/bower_components/angular-i18n/angular-locale_en-pn.js index 9a2bddfc..00af04c4 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-pn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-pn.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-pr.js b/public/app/bower_components/angular-i18n/angular-locale_en-pr.js index 6d66c083..29470c43 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-pr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-pr.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-pr", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-pw.js b/public/app/bower_components/angular-i18n/angular-locale_en-pw.js index e280faa9..8f7fb359 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-pw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-pw.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-pw", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-rw.js b/public/app/bower_components/angular-i18n/angular-locale_en-rw.js index 057e75be..7b22eeca 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-rw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-rw.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "RF", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-sb.js b/public/app/bower_components/angular-i18n/angular-locale_en-sb.js index 7c242bfe..a9520b83 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-sb.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-sb.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-sc.js b/public/app/bower_components/angular-i18n/angular-locale_en-sc.js index b0e17840..7482aa87 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-sc.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-sc.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "SCR", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-sd.js b/public/app/bower_components/angular-i18n/angular-locale_en-sd.js index 1b8100b3..1af55d18 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-sd.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-sd.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "SDG", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-sg.js b/public/app/bower_components/angular-i18n/angular-locale_en-sg.js index ccffcd8f..61909d8f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-sg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-sg.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -53,10 +71,10 @@ $provide.value("$locale", { "Nov", "Dec" ], - "fullDate": "EEEE, d MMMM, y", - "longDate": "d MMMM, y", - "medium": "d MMM, y h:mm:ss a", - "mediumDate": "d MMM, y", + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", "short": "d/M/yy h:mm a", "shortDate": "d/M/yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-sg", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-sh.js b/public/app/bower_components/angular-i18n/angular-locale_en-sh.js index 1218b150..f001db73 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-sh.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-sh.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "\u00a3", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-sl.js b/public/app/bower_components/angular-i18n/angular-locale_en-sl.js index f12dd23c..5bcc3c52 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-sl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-sl.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "SLL", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ss.js b/public/app/bower_components/angular-i18n/angular-locale_en-ss.js index c29bf0b1..70bf9238 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ss.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ss.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "SSP", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-sx.js b/public/app/bower_components/angular-i18n/angular-locale_en-sx.js index 208c4e3a..f645168c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-sx.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-sx.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "ANG", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-sz.js b/public/app/bower_components/angular-i18n/angular-locale_en-sz.js index 6e34ea8b..1d233ee2 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-sz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-sz.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "SZL", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-tc.js b/public/app/bower_components/angular-i18n/angular-locale_en-tc.js index f9fdf66c..e6483b9d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-tc.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-tc.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-tc", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-tk.js b/public/app/bower_components/angular-i18n/angular-locale_en-tk.js index 84f11272..4cd119b1 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-tk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-tk.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-to.js b/public/app/bower_components/angular-i18n/angular-locale_en-to.js index a4b6f76a..13fb98ec 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-to.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-to.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "T$", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-tt.js b/public/app/bower_components/angular-i18n/angular-locale_en-tt.js index 32effe2b..d1f5a38f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-tt.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-tt.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-tt", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-tv.js b/public/app/bower_components/angular-i18n/angular-locale_en-tv.js index a5138b95..44a0384c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-tv.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-tv.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-tz.js b/public/app/bower_components/angular-i18n/angular-locale_en-tz.js index 4df925e4..53115fdc 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-tz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-tz.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "TSh", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ug.js b/public/app/bower_components/angular-i18n/angular-locale_en-ug.js index a1c8cf1a..990ea442 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ug.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ug.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "UGX", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-um.js b/public/app/bower_components/angular-i18n/angular-locale_en-um.js index aaba7a3e..a3e9951c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-um.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-um.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-um", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-us.js b/public/app/bower_components/angular-i18n/angular-locale_en-us.js index 953cd104..b490f2a9 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-us.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-us.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-us", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-vc.js b/public/app/bower_components/angular-i18n/angular-locale_en-vc.js index fd7a3344..427a38cb 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-vc.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-vc.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-vg.js b/public/app/bower_components/angular-i18n/angular-locale_en-vg.js index 7f05c153..d1eb7351 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-vg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-vg.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-vg", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-vi.js b/public/app/bower_components/angular-i18n/angular-locale_en-vi.js index ea7a1666..51d6d0b1 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-vi.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-vi.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-vi", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-vu.js b/public/app/bower_components/angular-i18n/angular-locale_en-vu.js index 0b44786b..66236b6b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-vu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-vu.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "VUV", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-ws.js b/public/app/bower_components/angular-i18n/angular-locale_en-ws.js index 8b093ff3..8458ac4c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-ws.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-ws.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "WST", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-za.js b/public/app/bower_components/angular-i18n/angular-locale_en-za.js index 28969703..b10fbf5b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-za.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-za.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -58,8 +76,8 @@ $provide.value("$locale", { "medium": "dd MMM y h:mm:ss a", "mediumDate": "dd MMM y", "mediumTime": "h:mm:ss a", - "short": "yyyy/MM/dd h:mm a", - "shortDate": "yyyy/MM/dd", + "short": "y/MM/dd h:mm a", + "shortDate": "y/MM/dd", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-za", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-zm.js b/public/app/bower_components/angular-i18n/angular-locale_en-zm.js index ed9c3ba1..bb68be97 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-zm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-zm.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "$", + "CURRENCY_SYM": "ZMW", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_en-zw.js b/public/app/bower_components/angular-i18n/angular-locale_en-zw.js index 162da1e7..7b06ffb4 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en-zw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en-zw.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -58,8 +76,8 @@ $provide.value("$locale", { "medium": "dd MMM,y h:mm:ss a", "mediumDate": "dd MMM,y", "mediumTime": "h:mm:ss a", - "short": "d/M/yyyy h:mm a", - "shortDate": "d/M/yyyy", + "short": "d/M/y h:mm a", + "shortDate": "d/M/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en-zw", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_en.js b/public/app/bower_components/angular-i18n/angular-locale_en.js index ae07737c..0e5e5747 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_en.js +++ b/public/app/bower_components/angular-i18n/angular-locale_en.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "en", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_eo-001.js b/public/app/bower_components/angular-i18n/angular-locale_eo-001.js new file mode 100644 index 00000000..9905da1c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_eo-001.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "atm", + "ptm" + ], + "DAY": [ + "diman\u0109o", + "lundo", + "mardo", + "merkredo", + "\u0135a\u016ddo", + "vendredo", + "sabato" + ], + "MONTH": [ + "januaro", + "februaro", + "marto", + "aprilo", + "majo", + "junio", + "julio", + "a\u016dgusto", + "septembro", + "oktobro", + "novembro", + "decembro" + ], + "SHORTDAY": [ + "di", + "lu", + "ma", + "me", + "\u0135a", + "ve", + "sa" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "maj", + "jun", + "jul", + "a\u016dg", + "sep", + "okt", + "nov", + "dec" + ], + "fullDate": "EEEE, d-'a' 'de' MMMM y", + "longDate": "y-MMMM-dd", + "medium": "y-MMM-dd HH:mm:ss", + "mediumDate": "y-MMM-dd", + "mediumTime": "HH:mm:ss", + "short": "yy-MM-dd HH:mm", + "shortDate": "yy-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "eo-001", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_eo.js b/public/app/bower_components/angular-i18n/angular-locale_eo.js new file mode 100644 index 00000000..1c8a9fc2 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_eo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "atm", + "ptm" + ], + "DAY": [ + "diman\u0109o", + "lundo", + "mardo", + "merkredo", + "\u0135a\u016ddo", + "vendredo", + "sabato" + ], + "MONTH": [ + "januaro", + "februaro", + "marto", + "aprilo", + "majo", + "junio", + "julio", + "a\u016dgusto", + "septembro", + "oktobro", + "novembro", + "decembro" + ], + "SHORTDAY": [ + "di", + "lu", + "ma", + "me", + "\u0135a", + "ve", + "sa" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "maj", + "jun", + "jul", + "a\u016dg", + "sep", + "okt", + "nov", + "dec" + ], + "fullDate": "EEEE, d-'a' 'de' MMMM y", + "longDate": "y-MMMM-dd", + "medium": "y-MMM-dd HH:mm:ss", + "mediumDate": "y-MMM-dd", + "mediumTime": "HH:mm:ss", + "short": "yy-MM-dd HH:mm", + "shortDate": "yy-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "eo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-419.js b/public/app/bower_components/angular-i18n/angular-locale_es-419.js index 91efc789..1385dca8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-419.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-419.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,36 +31,36 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "$", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-419", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-ar.js b/public/app/bower_components/angular-i18n/angular-locale_es-ar.js index 409a3601..7aec28b3 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-ar.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-ar.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-ar", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-bo.js b/public/app/bower_components/angular-i18n/angular-locale_es-bo.js index fce7a392..84479983 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-bo.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-bo.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "Bs", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-bo", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-cl.js b/public/app/bower_components/angular-i18n/angular-locale_es-cl.js index 094dc297..0f27c323 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-cl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-cl.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd-MM-yyyy H:mm:ss", - "mediumDate": "dd-MM-yyyy", + "medium": "dd-MM-y H:mm:ss", + "mediumDate": "dd-MM-y", "mediumTime": "H:mm:ss", "short": "dd-MM-yy H:mm", "shortDate": "dd-MM-yy", "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-cl", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-co.js b/public/app/bower_components/angular-i18n/angular-locale_es-co.js index 28bcf76d..8c3110e4 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-co.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-co.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "d/MM/yyyy H:mm:ss", - "mediumDate": "d/MM/yyyy", - "mediumTime": "H:mm:ss", - "short": "d/MM/yy H:mm", + "medium": "d/MM/y h:mm:ss a", + "mediumDate": "d/MM/y", + "mediumTime": "h:mm:ss a", + "short": "d/MM/yy h:mm a", "shortDate": "d/MM/yy", - "shortTime": "H:mm" + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-co", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-cr.js b/public/app/bower_components/angular-i18n/angular-locale_es-cr.js index 321ed8bb..6639139b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-cr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-cr.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "\u20a1", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-cr", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-cu.js b/public/app/bower_components/angular-i18n/angular-locale_es-cu.js index 56e977b0..31668aff 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-cu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-cu.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-do.js b/public/app/bower_components/angular-i18n/angular-locale_es-do.js index 48f5014b..b669a92a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-do.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-do.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-do", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-ea.js b/public/app/bower_components/angular-i18n/angular-locale_es-ea.js index 39d0ea71..680fda13 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-ea.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-ea.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,36 +31,36 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20ac", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-ea", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-ec.js b/public/app/bower_components/angular-i18n/angular-locale_es-ec.js index cc6eb76e..03bbbe10 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-ec.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-ec.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy H:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", "mediumTime": "H:mm:ss", - "short": "dd/MM/yy H:mm", - "shortDate": "dd/MM/yy", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-ec", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-es.js b/public/app/bower_components/angular-i18n/angular-locale_es-es.js index a72164f7..6ca47d28 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-es.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-es.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,36 +31,36 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20ac", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-es", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-gq.js b/public/app/bower_components/angular-i18n/angular-locale_es-gq.js index c7bab0e6..89acb0f6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-gq.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-gq.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-gq", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-gt.js b/public/app/bower_components/angular-i18n/angular-locale_es-gt.js index c6d10789..4af3d3f8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-gt.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-gt.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "d/MM/yyyy HH:mm:ss", - "mediumDate": "d/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "d/MM/yy HH:mm", + "medium": "d/MM/y H:mm:ss", + "mediumDate": "d/MM/y", + "mediumTime": "H:mm:ss", + "short": "d/MM/yy H:mm", "shortDate": "d/MM/yy", - "shortTime": "HH:mm" + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "Q", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-gt", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-hn.js b/public/app/bower_components/angular-i18n/angular-locale_es-hn.js index 9b9023a4..28d1e609 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-hn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-hn.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE dd 'de' MMMM 'de' y", "longDate": "dd 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "L", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-hn", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-ic.js b/public/app/bower_components/angular-i18n/angular-locale_es-ic.js index 0f2bfa1a..b01c4f8f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-ic.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-ic.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,36 +31,36 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20ac", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-ic", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-mx.js b/public/app/bower_components/angular-i18n/angular-locale_es-mx.js index 7eb40877..46b0ad65 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-mx.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-mx.js @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", + "dom.", + "lun.", + "mar.", + "mi\u00e9r.", + "jue.", + "vier.", "s\u00e1b" ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "febr.", + "mzo.", + "abr.", + "my.", + "jun.", + "jul.", + "ag.", + "set.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-mx", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-ni.js b/public/app/bower_components/angular-i18n/angular-locale_es-ni.js index a93b7012..49350886 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-ni.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-ni.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "C$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-ni", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-pa.js b/public/app/bower_components/angular-i18n/angular-locale_es-pa.js index 8496553b..7087acc3 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-pa.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-pa.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "MM/dd/yyyy HH:mm:ss", - "mediumDate": "MM/dd/yyyy", - "mediumTime": "HH:mm:ss", - "short": "MM/dd/yy HH:mm", + "medium": "MM/dd/y H:mm:ss", + "mediumDate": "MM/dd/y", + "mediumTime": "H:mm:ss", + "short": "MM/dd/yy H:mm", "shortDate": "MM/dd/yy", - "shortTime": "HH:mm" + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "B/.", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-pa", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-pe.js b/public/app/bower_components/angular-i18n/angular-locale_es-pe.js index b88b21f9..be66a56a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-pe.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-pe.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "d/MM/yy HH:mm", + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/MM/yy H:mm", "shortDate": "d/MM/yy", - "shortTime": "HH:mm" + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "S/.", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-pe", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-ph.js b/public/app/bower_components/angular-i18n/angular-locale_es-ph.js index 29cd2ab6..0b330756 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-ph.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-ph.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "\u20b1", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-pr.js b/public/app/bower_components/angular-i18n/angular-locale_es-pr.js index 2917c36a..4d0afaff 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-pr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-pr.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "MM/dd/yyyy HH:mm:ss", - "mediumDate": "MM/dd/yyyy", - "mediumTime": "HH:mm:ss", - "short": "MM/dd/yy HH:mm", + "medium": "MM/dd/y h:mm:ss a", + "mediumDate": "MM/dd/y", + "mediumTime": "h:mm:ss a", + "short": "MM/dd/yy h:mm a", "shortDate": "MM/dd/yy", - "shortTime": "HH:mm" + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-pr", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-py.js b/public/app/bower_components/angular-i18n/angular-locale_es-py.js index 6253d145..da580b19 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-py.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-py.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "Gs", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" } ] }, "id": "es-py", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-sv.js b/public/app/bower_components/angular-i18n/angular-locale_es-sv.js index 63f07560..1917fd29 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-sv.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-sv.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-sv", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-us.js b/public/app/bower_components/angular-i18n/angular-locale_es-us.js index c9295957..e8309ce5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-us.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-us.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "AM", + "PM" ], "DAY": [ "domingo", @@ -31,27 +31,27 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es-us", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-uy.js b/public/app/bower_components/angular-i18n/angular-locale_es-uy.js index f656e1a9..b79c7bd2 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-uy.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-uy.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" } ] }, "id": "es-uy", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es-ve.js b/public/app/bower_components/angular-i18n/angular-locale_es-ve.js index 66418772..e98ac81c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es-ve.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es-ve.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,46 +31,45 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "Bs", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "-", - "negSuf": "\u00a0\u00a4", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" } ] }, "id": "es-ve", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_es.js b/public/app/bower_components/angular-i18n/angular-locale_es.js index 91aba876..2e76d5fc 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_es.js +++ b/public/app/bower_components/angular-i18n/angular-locale_es.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "a. m.", + "p. m." ], "DAY": [ "domingo", @@ -31,36 +31,36 @@ $provide.value("$locale", { "diciembre" ], "SHORTDAY": [ - "dom", - "lun", - "mar", - "mi\u00e9", - "jue", - "vie", - "s\u00e1b" + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." ], "SHORTMONTH": [ - "ene", - "feb", - "mar", - "abr", - "may", - "jun", - "jul", - "ago", - "sep", - "oct", - "nov", - "dic" + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "medium": "d/M/y H:mm:ss", + "mediumDate": "d/M/y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20ac", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "es", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_et-ee.js b/public/app/bower_components/angular-i18n/angular-locale_et-ee.js index c7639471..7618a435 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_et-ee.js +++ b/public/app/bower_components/angular-i18n/angular-locale_et-ee.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "enne keskp\u00e4eva", - "p\u00e4rast keskp\u00e4eva" + "AM", + "PM" ], "DAY": [ "p\u00fchap\u00e4ev", @@ -55,8 +73,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy H:mm.ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y H:mm.ss", + "mediumDate": "dd.MM.y", "mediumTime": "H:mm.ss", "short": "dd.MM.yy H:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -80,20 +97,19 @@ $provide.value("$locale", { "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", - "posSuf": "\u00a4" + "posSuf": "\u00a0\u00a4" } ] }, "id": "et-ee", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_et.js b/public/app/bower_components/angular-i18n/angular-locale_et.js index f996bba6..1c52ec09 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_et.js +++ b/public/app/bower_components/angular-i18n/angular-locale_et.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "enne keskp\u00e4eva", - "p\u00e4rast keskp\u00e4eva" + "AM", + "PM" ], "DAY": [ "p\u00fchap\u00e4ev", @@ -55,8 +73,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy H:mm.ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y H:mm.ss", + "mediumDate": "dd.MM.y", "mediumTime": "H:mm.ss", "short": "dd.MM.yy H:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -80,20 +97,19 @@ $provide.value("$locale", { "posSuf": "" }, { - "gSize": 0, - "lgSize": 0, - "macFrac": 0, + "gSize": 3, + "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", - "posSuf": "\u00a4" + "posSuf": "\u00a0\u00a4" } ] }, "id": "et", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_eu-es.js b/public/app/bower_components/angular-i18n/angular-locale_eu-es.js index d5fe45a1..ea8e797b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_eu-es.js +++ b/public/app/bower_components/angular-i18n/angular-locale_eu-es.js @@ -17,49 +17,49 @@ $provide.value("$locale", { "larunbata" ], "MONTH": [ - "urtarrila", - "otsaila", - "martxoa", - "apirila", - "maiatza", - "ekaina", - "uztaila", - "abuztua", - "iraila", - "urria", - "azaroa", - "abendua" + "urtarrilak", + "otsailak", + "martxoak", + "apirilak", + "maiatzak", + "ekainak", + "uztailak", + "abuztuak", + "irailak", + "urriak", + "azaroak", + "abenduak" ], "SHORTDAY": [ - "ig", - "al", - "as", - "az", - "og", - "or", - "lr" + "ig.", + "al.", + "ar.", + "az.", + "og.", + "or.", + "lr." ], "SHORTMONTH": [ - "urt", - "ots", - "mar", - "api", - "mai", - "eka", - "uzt", - "abu", - "ira", - "urr", - "aza", - "abe" + "urt.", + "ots.", + "mar.", + "api.", + "mai.", + "eka.", + "uzt.", + "abu.", + "ira.", + "urr.", + "aza.", + "abe." ], - "fullDate": "EEEE, y'eko' MMMM'ren' dd'a'", - "longDate": "y'eko' MMM'ren' dd'a'", + "fullDate": "y('e')'ko' MMMM d, EEEE", + "longDate": "y('e')'ko' MMMM d", "medium": "y MMM d HH:mm:ss", "mediumDate": "y MMM d", "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "eu-es", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_eu.js b/public/app/bower_components/angular-i18n/angular-locale_eu.js index 67faf10d..161b77a8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_eu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_eu.js @@ -17,49 +17,49 @@ $provide.value("$locale", { "larunbata" ], "MONTH": [ - "urtarrila", - "otsaila", - "martxoa", - "apirila", - "maiatza", - "ekaina", - "uztaila", - "abuztua", - "iraila", - "urria", - "azaroa", - "abendua" + "urtarrilak", + "otsailak", + "martxoak", + "apirilak", + "maiatzak", + "ekainak", + "uztailak", + "abuztuak", + "irailak", + "urriak", + "azaroak", + "abenduak" ], "SHORTDAY": [ - "ig", - "al", - "as", - "az", - "og", - "or", - "lr" + "ig.", + "al.", + "ar.", + "az.", + "og.", + "or.", + "lr." ], "SHORTMONTH": [ - "urt", - "ots", - "mar", - "api", - "mai", - "eka", - "uzt", - "abu", - "ira", - "urr", - "aza", - "abe" + "urt.", + "ots.", + "mar.", + "api.", + "mai.", + "eka.", + "uzt.", + "abu.", + "ira.", + "urr.", + "aza.", + "abe." ], - "fullDate": "EEEE, y'eko' MMMM'ren' dd'a'", - "longDate": "y'eko' MMM'ren' dd'a'", + "fullDate": "y('e')'ko' MMMM d, EEEE", + "longDate": "y('e')'ko' MMMM d", "medium": "y MMM d HH:mm:ss", "mediumDate": "y MMM d", "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "eu", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ewo-cm.js b/public/app/bower_components/angular-i18n/angular-locale_ewo-cm.js new file mode 100644 index 00000000..c9b9189b --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ewo-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "k\u00edk\u00edr\u00edg", + "ng\u0259g\u00f3g\u0259le" + ], + "DAY": [ + "s\u0254\u0301nd\u0254", + "m\u0254\u0301ndi", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301b\u025b\u030c", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301l\u025b\u0301", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301nyi", + "f\u00falad\u00e9", + "s\u00e9rad\u00e9" + ], + "MONTH": [ + "ng\u0254n os\u00fa", + "ng\u0254n b\u025b\u030c", + "ng\u0254n l\u00e1la", + "ng\u0254n nyina", + "ng\u0254n t\u00e1na", + "ng\u0254n sam\u0259na", + "ng\u0254n zamgb\u00e1la", + "ng\u0254n mwom", + "ng\u0254n ebul\u00fa", + "ng\u0254n aw\u00f3m", + "ng\u0254n aw\u00f3m ai dzi\u00e1", + "ng\u0254n aw\u00f3m ai b\u025b\u030c" + ], + "SHORTDAY": [ + "s\u0254\u0301n", + "m\u0254\u0301n", + "smb", + "sml", + "smn", + "f\u00fal", + "s\u00e9r" + ], + "SHORTMONTH": [ + "ngo", + "ngb", + "ngl", + "ngn", + "ngt", + "ngs", + "ngz", + "ngm", + "nge", + "nga", + "ngad", + "ngab" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ewo-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ewo.js b/public/app/bower_components/angular-i18n/angular-locale_ewo.js new file mode 100644 index 00000000..1eb30edf --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ewo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "k\u00edk\u00edr\u00edg", + "ng\u0259g\u00f3g\u0259le" + ], + "DAY": [ + "s\u0254\u0301nd\u0254", + "m\u0254\u0301ndi", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301b\u025b\u030c", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301l\u025b\u0301", + "s\u0254\u0301nd\u0254 m\u0259l\u00fa m\u0259\u0301nyi", + "f\u00falad\u00e9", + "s\u00e9rad\u00e9" + ], + "MONTH": [ + "ng\u0254n os\u00fa", + "ng\u0254n b\u025b\u030c", + "ng\u0254n l\u00e1la", + "ng\u0254n nyina", + "ng\u0254n t\u00e1na", + "ng\u0254n sam\u0259na", + "ng\u0254n zamgb\u00e1la", + "ng\u0254n mwom", + "ng\u0254n ebul\u00fa", + "ng\u0254n aw\u00f3m", + "ng\u0254n aw\u00f3m ai dzi\u00e1", + "ng\u0254n aw\u00f3m ai b\u025b\u030c" + ], + "SHORTDAY": [ + "s\u0254\u0301n", + "m\u0254\u0301n", + "smb", + "sml", + "smn", + "f\u00fal", + "s\u00e9r" + ], + "SHORTMONTH": [ + "ngo", + "ngb", + "ngl", + "ngn", + "ngt", + "ngs", + "ngz", + "ngm", + "nge", + "nga", + "ngad", + "ngab" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ewo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fa-af.js b/public/app/bower_components/angular-i18n/angular-locale_fa-af.js index c96ecde8..511da9c6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fa-af.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fa-af.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y H:mm:ss", "mediumDate": "d MMM y", "mediumTime": "H:mm:ss", - "short": "yyyy/M/d H:mm", - "shortDate": "yyyy/M/d", + "short": "y/M/d H:mm", + "shortDate": "y/M/d", "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "Rial", + "CURRENCY_SYM": "Af.", "DECIMAL_SEP": "\u066b", "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u200e(\u00a4", - "negSuf": ")", + "negPre": "\u200e\u00a4-", + "negSuf": "", "posPre": "\u200e\u00a4", "posSuf": "" } ] }, "id": "fa-af", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fa-ir.js b/public/app/bower_components/angular-i18n/angular-locale_fa-ir.js index 27099d75..beef6a20 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fa-ir.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fa-ir.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y H:mm:ss", "mediumDate": "d MMM y", "mediumTime": "H:mm:ss", - "short": "yyyy/M/d H:mm", - "shortDate": "yyyy/M/d", + "short": "y/M/d H:mm", + "shortDate": "y/M/d", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u200e(\u00a4", - "negSuf": ")", + "negPre": "\u200e\u00a4-", + "negSuf": "", "posPre": "\u200e\u00a4", "posSuf": "" } ] }, "id": "fa-ir", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fa.js b/public/app/bower_components/angular-i18n/angular-locale_fa.js index c94c6c14..8d648c0f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fa.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fa.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y H:mm:ss", "mediumDate": "d MMM y", "mediumTime": "H:mm:ss", - "short": "yyyy/M/d H:mm", - "shortDate": "yyyy/M/d", + "short": "y/M/d H:mm", + "shortDate": "y/M/d", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u200e(\u00a4", - "negSuf": ")", + "negPre": "\u200e\u00a4-", + "negSuf": "", "posPre": "\u200e\u00a4", "posSuf": "" } ] }, "id": "fa", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ff-cm.js b/public/app/bower_components/angular-i18n/angular-locale_ff-cm.js new file mode 100644 index 00000000..8fa45784 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ff-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "subaka", + "kikii\u0257e" + ], + "DAY": [ + "dewo", + "aa\u0253nde", + "mawbaare", + "njeslaare", + "naasaande", + "mawnde", + "hoore-biir" + ], + "MONTH": [ + "siilo", + "colte", + "mbooy", + "see\u0257to", + "duujal", + "korse", + "morso", + "juko", + "siilto", + "yarkomaa", + "jolal", + "bowte" + ], + "SHORTDAY": [ + "dew", + "aa\u0253", + "maw", + "nje", + "naa", + "mwd", + "hbi" + ], + "SHORTMONTH": [ + "sii", + "col", + "mbo", + "see", + "duu", + "kor", + "mor", + "juk", + "slt", + "yar", + "jol", + "bow" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ff-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ff-gn.js b/public/app/bower_components/angular-i18n/angular-locale_ff-gn.js new file mode 100644 index 00000000..cadea475 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ff-gn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "subaka", + "kikii\u0257e" + ], + "DAY": [ + "dewo", + "aa\u0253nde", + "mawbaare", + "njeslaare", + "naasaande", + "mawnde", + "hoore-biir" + ], + "MONTH": [ + "siilo", + "colte", + "mbooy", + "see\u0257to", + "duujal", + "korse", + "morso", + "juko", + "siilto", + "yarkomaa", + "jolal", + "bowte" + ], + "SHORTDAY": [ + "dew", + "aa\u0253", + "maw", + "nje", + "naa", + "mwd", + "hbi" + ], + "SHORTMONTH": [ + "sii", + "col", + "mbo", + "see", + "duu", + "kor", + "mor", + "juk", + "slt", + "yar", + "jol", + "bow" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FG", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ff-gn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ff-mr.js b/public/app/bower_components/angular-i18n/angular-locale_ff-mr.js new file mode 100644 index 00000000..ad1a20eb --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ff-mr.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "subaka", + "kikii\u0257e" + ], + "DAY": [ + "dewo", + "aa\u0253nde", + "mawbaare", + "njeslaare", + "naasaande", + "mawnde", + "hoore-biir" + ], + "MONTH": [ + "siilo", + "colte", + "mbooy", + "see\u0257to", + "duujal", + "korse", + "morso", + "juko", + "siilto", + "yarkomaa", + "jolal", + "bowte" + ], + "SHORTDAY": [ + "dew", + "aa\u0253", + "maw", + "nje", + "naa", + "mwd", + "hbi" + ], + "SHORTMONTH": [ + "sii", + "col", + "mbo", + "see", + "duu", + "kor", + "mor", + "juk", + "slt", + "yar", + "jol", + "bow" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "MRO", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ff-mr", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ff-sn.js b/public/app/bower_components/angular-i18n/angular-locale_ff-sn.js new file mode 100644 index 00000000..e49aced4 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ff-sn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "subaka", + "kikii\u0257e" + ], + "DAY": [ + "dewo", + "aa\u0253nde", + "mawbaare", + "njeslaare", + "naasaande", + "mawnde", + "hoore-biir" + ], + "MONTH": [ + "siilo", + "colte", + "mbooy", + "see\u0257to", + "duujal", + "korse", + "morso", + "juko", + "siilto", + "yarkomaa", + "jolal", + "bowte" + ], + "SHORTDAY": [ + "dew", + "aa\u0253", + "maw", + "nje", + "naa", + "mwd", + "hbi" + ], + "SHORTMONTH": [ + "sii", + "col", + "mbo", + "see", + "duu", + "kor", + "mor", + "juk", + "slt", + "yar", + "jol", + "bow" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ff-sn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ff.js b/public/app/bower_components/angular-i18n/angular-locale_ff.js new file mode 100644 index 00000000..b2c3b61a --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ff.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "subaka", + "kikii\u0257e" + ], + "DAY": [ + "dewo", + "aa\u0253nde", + "mawbaare", + "njeslaare", + "naasaande", + "mawnde", + "hoore-biir" + ], + "MONTH": [ + "siilo", + "colte", + "mbooy", + "see\u0257to", + "duujal", + "korse", + "morso", + "juko", + "siilto", + "yarkomaa", + "jolal", + "bowte" + ], + "SHORTDAY": [ + "dew", + "aa\u0253", + "maw", + "nje", + "naa", + "mwd", + "hbi" + ], + "SHORTMONTH": [ + "sii", + "col", + "mbo", + "see", + "duu", + "kor", + "mor", + "juk", + "slt", + "yar", + "jol", + "bow" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ff", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fi-fi.js b/public/app/bower_components/angular-i18n/angular-locale_fi-fi.js index 60c57d6e..c76a1f90 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fi-fi.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fi-fi.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -53,13 +71,13 @@ $provide.value("$locale", { "marraskuuta", "joulukuuta" ], - "fullDate": "cccc, d. MMMM y", + "fullDate": "cccc d. MMMM y", "longDate": "d. MMMM y", - "medium": "d.M.yyyy H.mm.ss", - "mediumDate": "d.M.yyyy", + "medium": "d.M.y H.mm.ss", + "mediumDate": "d.M.y", "mediumTime": "H.mm.ss", - "short": "d.M.yyyy H.mm", - "shortDate": "d.M.yyyy", + "short": "d.M.y H.mm", + "shortDate": "d.M.y", "shortTime": "H.mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "fi-fi", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fi.js b/public/app/bower_components/angular-i18n/angular-locale_fi.js index 6570dde9..a1adc44c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fi.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fi.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -53,13 +71,13 @@ $provide.value("$locale", { "marraskuuta", "joulukuuta" ], - "fullDate": "cccc, d. MMMM y", + "fullDate": "cccc d. MMMM y", "longDate": "d. MMMM y", - "medium": "d.M.yyyy H.mm.ss", - "mediumDate": "d.M.yyyy", + "medium": "d.M.y H.mm.ss", + "mediumDate": "d.M.y", "mediumTime": "H.mm.ss", - "short": "d.M.yyyy H.mm", - "shortDate": "d.M.yyyy", + "short": "d.M.y H.mm", + "shortDate": "d.M.y", "shortTime": "H.mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "fi", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fil-ph.js b/public/app/bower_components/angular-i18n/angular-locale_fil-ph.js index 8873e5aa..acb4ec81 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fil-ph.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fil-ph.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -34,9 +52,9 @@ $provide.value("$locale", { "Lin", "Lun", "Mar", - "Mye", + "Miy", "Huw", - "Bye", + "Biy", "Sab" ], "SHORTMONTH": [ @@ -53,14 +71,14 @@ $provide.value("$locale", { "Nob", "Dis" ], - "fullDate": "EEEE, MMMM dd y", + "fullDate": "EEEE, MMMM d, y", "longDate": "MMMM d, y", - "medium": "MMM d, y HH:mm:ss", + "medium": "MMM d, y h:mm:ss a", "mediumDate": "MMM d, y", - "mediumTime": "HH:mm:ss", - "short": "M/d/yy HH:mm", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", "shortDate": "M/d/yy", - "shortTime": "HH:mm" + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20b1", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "fil-ph", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && (i == 1 || i == 2 || i == 3) || vf.v == 0 && i % 10 != 4 && i % 10 != 6 && i % 10 != 9 || vf.v != 0 && vf.f % 10 != 4 && vf.f % 10 != 6 && vf.f % 10 != 9) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fil.js b/public/app/bower_components/angular-i18n/angular-locale_fil.js index 893e7684..93a4ca74 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fil.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fil.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -34,9 +52,9 @@ $provide.value("$locale", { "Lin", "Lun", "Mar", - "Mye", + "Miy", "Huw", - "Bye", + "Biy", "Sab" ], "SHORTMONTH": [ @@ -53,14 +71,14 @@ $provide.value("$locale", { "Nob", "Dis" ], - "fullDate": "EEEE, MMMM dd y", + "fullDate": "EEEE, MMMM d, y", "longDate": "MMMM d, y", - "medium": "MMM d, y HH:mm:ss", + "medium": "MMM d, y h:mm:ss a", "mediumDate": "MMM d, y", - "mediumTime": "HH:mm:ss", - "short": "M/d/yy HH:mm", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", "shortDate": "M/d/yy", - "shortTime": "HH:mm" + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20b1", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "fil", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && (i == 1 || i == 2 || i == 3) || vf.v == 0 && i % 10 != 4 && i % 10 != 6 && i % 10 != 9 || vf.v != 0 && vf.f % 10 != 4 && vf.f % 10 != 6 && vf.f % 10 != 9) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fo-fo.js b/public/app/bower_components/angular-i18n/angular-locale_fo-fo.js new file mode 100644 index 00000000..3aa37c84 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_fo-fo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "um fyrrapartur", + "um seinnapartur" + ], + "DAY": [ + "sunnudagur", + "m\u00e1nadagur", + "t\u00fdsdagur", + "mikudagur", + "h\u00f3sdagur", + "fr\u00edggjadagur", + "leygardagur" + ], + "MONTH": [ + "januar", + "februar", + "mars", + "apr\u00edl", + "mai", + "juni", + "juli", + "august", + "september", + "oktober", + "november", + "desember" + ], + "SHORTDAY": [ + "sun", + "m\u00e1n", + "t\u00fds", + "mik", + "h\u00f3s", + "fr\u00ed", + "ley" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "mai", + "jun", + "jul", + "aug", + "sep", + "okt", + "nov", + "des" + ], + "fullDate": "EEEE dd MMMM y", + "longDate": "d. MMM y", + "medium": "dd-MM-y HH:mm:ss", + "mediumDate": "dd-MM-y", + "mediumTime": "HH:mm:ss", + "short": "dd-MM-yy HH:mm", + "shortDate": "dd-MM-yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "kr", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "fo-fo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fo.js b/public/app/bower_components/angular-i18n/angular-locale_fo.js new file mode 100644 index 00000000..f205214c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_fo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "um fyrrapartur", + "um seinnapartur" + ], + "DAY": [ + "sunnudagur", + "m\u00e1nadagur", + "t\u00fdsdagur", + "mikudagur", + "h\u00f3sdagur", + "fr\u00edggjadagur", + "leygardagur" + ], + "MONTH": [ + "januar", + "februar", + "mars", + "apr\u00edl", + "mai", + "juni", + "juli", + "august", + "september", + "oktober", + "november", + "desember" + ], + "SHORTDAY": [ + "sun", + "m\u00e1n", + "t\u00fds", + "mik", + "h\u00f3s", + "fr\u00ed", + "ley" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "mai", + "jun", + "jul", + "aug", + "sep", + "okt", + "nov", + "des" + ], + "fullDate": "EEEE dd MMMM y", + "longDate": "d. MMM y", + "medium": "dd-MM-y HH:mm:ss", + "mediumDate": "dd-MM-y", + "mediumTime": "HH:mm:ss", + "short": "dd-MM-yy HH:mm", + "shortDate": "dd-MM-yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "kr", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "fo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-be.js b/public/app/bower_components/angular-i18n/angular-locale_fr-be.js index 7de5ef7d..10a90d5f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-be.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-be.js @@ -65,12 +65,11 @@ $provide.value("$locale", { "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", - "GROUP_SEP": "\u00a0", + "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-be", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-bf.js b/public/app/bower_components/angular-i18n/angular-locale_fr-bf.js index d1583817..81eeae3d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-bf.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-bf.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "CFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-bf", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-bi.js b/public/app/bower_components/angular-i18n/angular-locale_fr-bi.js index 8fe87363..e5444f1b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-bi.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-bi.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FBu", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-bi", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-bj.js b/public/app/bower_components/angular-i18n/angular-locale_fr-bj.js index d5be5b81..63988d3a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-bj.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-bj.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "CFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-bj", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-bl.js b/public/app/bower_components/angular-i18n/angular-locale_fr-bl.js index 73abcdd7..19b2e9da 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-bl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-bl.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-bl", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-ca.js b/public/app/bower_components/angular-i18n/angular-locale_fr-ca.js index 04fd552d..556af66f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-ca.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-ca.js @@ -55,8 +55,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE d MMMM y", "longDate": "d MMMM y", - "medium": "yyyy-MM-dd HH:mm:ss", - "mediumDate": "yyyy-MM-dd", + "medium": "y-MM-dd HH:mm:ss", + "mediumDate": "y-MM-dd", "mediumTime": "HH:mm:ss", "short": "yy-MM-dd HH:mm", "shortDate": "yy-MM-dd", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-ca", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-cd.js b/public/app/bower_components/angular-i18n/angular-locale_fr-cd.js index 996c7f59..06ab5118 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-cd.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-cd.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FrCD", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-cd", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-cf.js b/public/app/bower_components/angular-i18n/angular-locale_fr-cf.js index 614add52..5d5017e2 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-cf.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-cf.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-cf", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-cg.js b/public/app/bower_components/angular-i18n/angular-locale_fr-cg.js index 9431c2c9..63e3950b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-cg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-cg.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-cg", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-ch.js b/public/app/bower_components/angular-i18n/angular-locale_fr-ch.js index 6a47fb0c..d82fadfa 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-ch.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-ch.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": "\u00a0", + "CURRENCY_SYM": "CHF", + "DECIMAL_SEP": ".", + "GROUP_SEP": "'", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", - "posPre": "", - "posSuf": "\u00a0\u00a4" + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" } ] }, "id": "fr-ch", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-ci.js b/public/app/bower_components/angular-i18n/angular-locale_fr-ci.js index 7ba2130e..8bc18204 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-ci.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-ci.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "CFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-ci", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-cm.js b/public/app/bower_components/angular-i18n/angular-locale_fr-cm.js index ef8e7ded..ccbdf13c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-cm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-cm.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-cm", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-dj.js b/public/app/bower_components/angular-i18n/angular-locale_fr-dj.js index 052750c4..0161b519 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-dj.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-dj.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "Fdj", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-dj", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-dz.js b/public/app/bower_components/angular-i18n/angular-locale_fr-dz.js index 9dd18d88..69cddf83 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-dz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-dz.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "din", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-fr.js b/public/app/bower_components/angular-i18n/angular-locale_fr-fr.js index 8e38aa01..b79f13ec 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-fr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-fr.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-fr", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-ga.js b/public/app/bower_components/angular-i18n/angular-locale_fr-ga.js index a732c276..766a0119 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-ga.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-ga.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-ga", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-gf.js b/public/app/bower_components/angular-i18n/angular-locale_fr-gf.js index 3ef7c4ae..e624b86c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-gf.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-gf.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-gf", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-gn.js b/public/app/bower_components/angular-i18n/angular-locale_fr-gn.js index a239cc8e..88816765 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-gn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-gn.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FG", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-gn", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-gp.js b/public/app/bower_components/angular-i18n/angular-locale_fr-gp.js index 7e00d063..c206c53c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-gp.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-gp.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-gp", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-gq.js b/public/app/bower_components/angular-i18n/angular-locale_fr-gq.js index 107f5ff3..0a25e7df 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-gq.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-gq.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-gq", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-ht.js b/public/app/bower_components/angular-i18n/angular-locale_fr-ht.js index 2e650dab..a0ec970c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-ht.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-ht.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "HTG", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-km.js b/public/app/bower_components/angular-i18n/angular-locale_fr-km.js index 8e17c220..9a3966e5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-km.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-km.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "CF", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-km", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-lu.js b/public/app/bower_components/angular-i18n/angular-locale_fr-lu.js index 86f1a7cc..be78efb6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-lu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-lu.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", - "GROUP_SEP": "\u00a0", + "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-lu", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-ma.js b/public/app/bower_components/angular-i18n/angular-locale_fr-ma.js index bd140689..a8abc055 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-ma.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-ma.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "dh", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-mc.js b/public/app/bower_components/angular-i18n/angular-locale_fr-mc.js index 3fb2bc8e..6a4944e4 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-mc.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-mc.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-mc", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-mf.js b/public/app/bower_components/angular-i18n/angular-locale_fr-mf.js index 6e35abe9..ceb42e46 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-mf.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-mf.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-mf", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-mg.js b/public/app/bower_components/angular-i18n/angular-locale_fr-mg.js index 35e8308f..6d8eb90a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-mg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-mg.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "Ar", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-mg", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-ml.js b/public/app/bower_components/angular-i18n/angular-locale_fr-ml.js index e2b6d8ad..295b78b4 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-ml.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-ml.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "CFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-ml", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-mq.js b/public/app/bower_components/angular-i18n/angular-locale_fr-mq.js index b99ce2fe..19dc58c8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-mq.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-mq.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-mq", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-mr.js b/public/app/bower_components/angular-i18n/angular-locale_fr-mr.js index 5813b5aa..c026c407 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-mr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-mr.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "MRO", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-mu.js b/public/app/bower_components/angular-i18n/angular-locale_fr-mu.js index b98dc567..a8a7ab3a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-mu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-mu.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "MURs", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-nc.js b/public/app/bower_components/angular-i18n/angular-locale_fr-nc.js index 35473203..70360c72 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-nc.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-nc.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFP", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-ne.js b/public/app/bower_components/angular-i18n/angular-locale_fr-ne.js index 2e61a66d..c6b97c61 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-ne.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-ne.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "CFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-ne", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-pf.js b/public/app/bower_components/angular-i18n/angular-locale_fr-pf.js index 2b0f7852..8d35b511 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-pf.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-pf.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFP", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-pm.js b/public/app/bower_components/angular-i18n/angular-locale_fr-pm.js index 04c74829..46e931bd 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-pm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-pm.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-re.js b/public/app/bower_components/angular-i18n/angular-locale_fr-re.js index 5cb611ba..17c80f43 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-re.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-re.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-re", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-rw.js b/public/app/bower_components/angular-i18n/angular-locale_fr-rw.js index f3688b2c..4f70629c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-rw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-rw.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "RF", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-rw", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-sc.js b/public/app/bower_components/angular-i18n/angular-locale_fr-sc.js index aef3c29e..ef3986f6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-sc.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-sc.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "SCR", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-sn.js b/public/app/bower_components/angular-i18n/angular-locale_fr-sn.js index 1ac1399f..15cf9e5f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-sn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-sn.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "CFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-sn", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-sy.js b/public/app/bower_components/angular-i18n/angular-locale_fr-sy.js index f18643c9..5f364111 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-sy.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-sy.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "\u00a3", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-td.js b/public/app/bower_components/angular-i18n/angular-locale_fr-td.js index 7e447eba..e0148be0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-td.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-td.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-td", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-tg.js b/public/app/bower_components/angular-i18n/angular-locale_fr-tg.js index 9189a449..1cf0b750 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-tg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-tg.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "CFA", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-tg", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-tn.js b/public/app/bower_components/angular-i18n/angular-locale_fr-tn.js index 73828e15..7363805b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-tn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-tn.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "din", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-vu.js b/public/app/bower_components/angular-i18n/angular-locale_fr-vu.js index 084baecc..0d9c2573 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-vu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-vu.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "VUV", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-wf.js b/public/app/bower_components/angular-i18n/angular-locale_fr-wf.js index 8405d0e7..e2d7f14a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-wf.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-wf.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "FCFP", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr-yt.js b/public/app/bower_components/angular-i18n/angular-locale_fr-yt.js index eb648536..606c1c3c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr-yt.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr-yt.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr-yt", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fr.js b/public/app/bower_components/angular-i18n/angular-locale_fr.js index b45cdc2b..c42837ec 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_fr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_fr.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", - "shortDate": "dd/MM/yy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "fr", - "pluralCat": function (n) { if (n >= 0 && n <= 2 && n != 2) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || i == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fur-it.js b/public/app/bower_components/angular-i18n/angular-locale_fur-it.js new file mode 100644 index 00000000..59e8d109 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_fur-it.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.", + "p." + ], + "DAY": [ + "domenie", + "lunis", + "martars", + "miercus", + "joibe", + "vinars", + "sabide" + ], + "MONTH": [ + "Zen\u00e2r", + "Fevr\u00e2r", + "Mar\u00e7", + "Avr\u00eel", + "Mai", + "Jugn", + "Lui", + "Avost", + "Setembar", + "Otubar", + "Novembar", + "Dicembar" + ], + "SHORTDAY": [ + "dom", + "lun", + "mar", + "mie", + "joi", + "vin", + "sab" + ], + "SHORTMONTH": [ + "Zen", + "Fev", + "Mar", + "Avr", + "Mai", + "Jug", + "Lui", + "Avo", + "Set", + "Otu", + "Nov", + "Dic" + ], + "fullDate": "EEEE d 'di' MMMM 'dal' y", + "longDate": "d 'di' MMMM 'dal' y", + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/yy HH:mm", + "shortDate": "dd/MM/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "fur-it", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fur.js b/public/app/bower_components/angular-i18n/angular-locale_fur.js new file mode 100644 index 00000000..b3abe401 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_fur.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.", + "p." + ], + "DAY": [ + "domenie", + "lunis", + "martars", + "miercus", + "joibe", + "vinars", + "sabide" + ], + "MONTH": [ + "Zen\u00e2r", + "Fevr\u00e2r", + "Mar\u00e7", + "Avr\u00eel", + "Mai", + "Jugn", + "Lui", + "Avost", + "Setembar", + "Otubar", + "Novembar", + "Dicembar" + ], + "SHORTDAY": [ + "dom", + "lun", + "mar", + "mie", + "joi", + "vin", + "sab" + ], + "SHORTMONTH": [ + "Zen", + "Fev", + "Mar", + "Avr", + "Mai", + "Jug", + "Lui", + "Avo", + "Set", + "Otu", + "Nov", + "Dic" + ], + "fullDate": "EEEE d 'di' MMMM 'dal' y", + "longDate": "d 'di' MMMM 'dal' y", + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/yy HH:mm", + "shortDate": "dd/MM/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "fur", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fy-nl.js b/public/app/bower_components/angular-i18n/angular-locale_fy-nl.js new file mode 100644 index 00000000..65b95cea --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_fy-nl.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "snein", + "moandei", + "tiisdei", + "woansdei", + "tongersdei", + "freed", + "sneon" + ], + "MONTH": [ + "jannewaris", + "febrewaris", + "maart", + "april", + "maaie", + "juny", + "july", + "augustus", + "septimber", + "oktober", + "novimber", + "desimber" + ], + "SHORTDAY": [ + "si", + "mo", + "ti", + "wo", + "to", + "fr", + "so" + ], + "SHORTMONTH": [ + "jan.", + "feb.", + "mrt.", + "apr.", + "mai", + "jun.", + "jul.", + "aug.", + "sep.", + "okt.", + "nov.", + "des." + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd-MM-yy HH:mm", + "shortDate": "dd-MM-yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0", + "negSuf": "-", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "fy-nl", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_fy.js b/public/app/bower_components/angular-i18n/angular-locale_fy.js new file mode 100644 index 00000000..4d1af6ab --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_fy.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "snein", + "moandei", + "tiisdei", + "woansdei", + "tongersdei", + "freed", + "sneon" + ], + "MONTH": [ + "jannewaris", + "febrewaris", + "maart", + "april", + "maaie", + "juny", + "july", + "augustus", + "septimber", + "oktober", + "novimber", + "desimber" + ], + "SHORTDAY": [ + "si", + "mo", + "ti", + "wo", + "to", + "fr", + "so" + ], + "SHORTMONTH": [ + "jan.", + "feb.", + "mrt.", + "apr.", + "mai", + "jun.", + "jul.", + "aug.", + "sep.", + "okt.", + "nov.", + "des." + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd-MM-yy HH:mm", + "shortDate": "dd-MM-yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0", + "negSuf": "-", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "fy", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ga-ie.js b/public/app/bower_components/angular-i18n/angular-locale_ga-ie.js new file mode 100644 index 00000000..749e4f10 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ga-ie.js @@ -0,0 +1,97 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.m.", + "p.m." + ], + "DAY": [ + "D\u00e9 Domhnaigh", + "D\u00e9 Luain", + "D\u00e9 M\u00e1irt", + "D\u00e9 C\u00e9adaoin", + "D\u00e9ardaoin", + "D\u00e9 hAoine", + "D\u00e9 Sathairn" + ], + "MONTH": [ + "Ean\u00e1ir", + "Feabhra", + "M\u00e1rta", + "Aibre\u00e1n", + "Bealtaine", + "Meitheamh", + "I\u00fail", + "L\u00fanasa", + "Me\u00e1n F\u00f3mhair", + "Deireadh F\u00f3mhair", + "Samhain", + "Nollaig" + ], + "SHORTDAY": [ + "Domh", + "Luan", + "M\u00e1irt", + "C\u00e9ad", + "D\u00e9ar", + "Aoine", + "Sath" + ], + "SHORTMONTH": [ + "Ean", + "Feabh", + "M\u00e1rta", + "Aib", + "Beal", + "Meith", + "I\u00fail", + "L\u00fan", + "MF\u00f3mh", + "DF\u00f3mh", + "Samh", + "Noll" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ga-ie", + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n >= 3 && n <= 6) { return PLURAL_CATEGORY.FEW; } if (n >= 7 && n <= 10) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ga.js b/public/app/bower_components/angular-i18n/angular-locale_ga.js new file mode 100644 index 00000000..0f0ee78f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ga.js @@ -0,0 +1,97 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.m.", + "p.m." + ], + "DAY": [ + "D\u00e9 Domhnaigh", + "D\u00e9 Luain", + "D\u00e9 M\u00e1irt", + "D\u00e9 C\u00e9adaoin", + "D\u00e9ardaoin", + "D\u00e9 hAoine", + "D\u00e9 Sathairn" + ], + "MONTH": [ + "Ean\u00e1ir", + "Feabhra", + "M\u00e1rta", + "Aibre\u00e1n", + "Bealtaine", + "Meitheamh", + "I\u00fail", + "L\u00fanasa", + "Me\u00e1n F\u00f3mhair", + "Deireadh F\u00f3mhair", + "Samhain", + "Nollaig" + ], + "SHORTDAY": [ + "Domh", + "Luan", + "M\u00e1irt", + "C\u00e9ad", + "D\u00e9ar", + "Aoine", + "Sath" + ], + "SHORTMONTH": [ + "Ean", + "Feabh", + "M\u00e1rta", + "Aib", + "Beal", + "Meith", + "I\u00fail", + "L\u00fan", + "MF\u00f3mh", + "DF\u00f3mh", + "Samh", + "Noll" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ga", + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 2) { return PLURAL_CATEGORY.TWO; } if (n >= 3 && n <= 6) { return PLURAL_CATEGORY.FEW; } if (n >= 7 && n <= 10) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_gd-gb.js b/public/app/bower_components/angular-i18n/angular-locale_gd-gb.js new file mode 100644 index 00000000..2a21d7d9 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_gd-gb.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "m", + "f" + ], + "DAY": [ + "DiD\u00f2mhnaich", + "DiLuain", + "DiM\u00e0irt", + "DiCiadain", + "Diardaoin", + "DihAoine", + "DiSathairne" + ], + "MONTH": [ + "Am Faoilleach", + "An Gearran", + "Am M\u00e0rt", + "An Giblean", + "An C\u00e8itean", + "An t-\u00d2gmhios", + "An t-Iuchar", + "An L\u00f9nastal", + "An t-Sultain", + "An D\u00e0mhair", + "An t-Samhain", + "An D\u00f9bhlachd" + ], + "SHORTDAY": [ + "DiD", + "DiL", + "DiM", + "DiC", + "Dia", + "Dih", + "DiS" + ], + "SHORTMONTH": [ + "Faoi", + "Gearr", + "M\u00e0rt", + "Gibl", + "C\u00e8it", + "\u00d2gmh", + "Iuch", + "L\u00f9na", + "Sult", + "D\u00e0mh", + "Samh", + "D\u00f9bh" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a3", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "gd-gb", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_gd.js b/public/app/bower_components/angular-i18n/angular-locale_gd.js new file mode 100644 index 00000000..e8613e3b --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_gd.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "m", + "f" + ], + "DAY": [ + "DiD\u00f2mhnaich", + "DiLuain", + "DiM\u00e0irt", + "DiCiadain", + "Diardaoin", + "DihAoine", + "DiSathairne" + ], + "MONTH": [ + "Am Faoilleach", + "An Gearran", + "Am M\u00e0rt", + "An Giblean", + "An C\u00e8itean", + "An t-\u00d2gmhios", + "An t-Iuchar", + "An L\u00f9nastal", + "An t-Sultain", + "An D\u00e0mhair", + "An t-Samhain", + "An D\u00f9bhlachd" + ], + "SHORTDAY": [ + "DiD", + "DiL", + "DiM", + "DiC", + "Dia", + "Dih", + "DiS" + ], + "SHORTMONTH": [ + "Faoi", + "Gearr", + "M\u00e0rt", + "Gibl", + "C\u00e8it", + "\u00d2gmh", + "Iuch", + "L\u00f9na", + "Sult", + "D\u00e0mh", + "Samh", + "D\u00f9bh" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a3", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "gd", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_gl-es.js b/public/app/bower_components/angular-i18n/angular-locale_gl-es.js index f9dc6282..bf92ed26 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_gl-es.js +++ b/public/app/bower_components/angular-i18n/angular-locale_gl-es.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -8,50 +26,50 @@ $provide.value("$locale", { "p.m." ], "DAY": [ - "Domingo", - "Luns", - "Martes", - "M\u00e9rcores", - "Xoves", - "Venres", - "S\u00e1bado" + "domingo", + "luns", + "martes", + "m\u00e9rcores", + "xoves", + "venres", + "s\u00e1bado" ], "MONTH": [ - "Xaneiro", - "Febreiro", - "Marzo", - "Abril", - "Maio", - "Xu\u00f1o", - "Xullo", - "Agosto", - "Setembro", - "Outubro", - "Novembro", - "Decembro" + "xaneiro", + "febreiro", + "marzo", + "abril", + "maio", + "xu\u00f1o", + "xullo", + "agosto", + "setembro", + "outubro", + "novembro", + "decembro" ], "SHORTDAY": [ - "Dom", - "Lun", - "Mar", - "M\u00e9r", - "Xov", - "Ven", - "S\u00e1b" + "dom", + "lun", + "mar", + "m\u00e9r", + "xov", + "ven", + "s\u00e1b" ], "SHORTMONTH": [ - "Xan", - "Feb", - "Mar", - "Abr", - "Mai", - "Xu\u00f1", - "Xul", - "Ago", - "Set", - "Out", - "Nov", - "Dec" + "xan", + "feb", + "mar", + "abr", + "mai", + "xu\u00f1", + "xul", + "ago", + "set", + "out", + "nov", + "dec" ], "fullDate": "EEEE dd MMMM y", "longDate": "dd MMMM y", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "gl-es", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_gl.js b/public/app/bower_components/angular-i18n/angular-locale_gl.js index b5f47b4a..8886378a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_gl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_gl.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -8,50 +26,50 @@ $provide.value("$locale", { "p.m." ], "DAY": [ - "Domingo", - "Luns", - "Martes", - "M\u00e9rcores", - "Xoves", - "Venres", - "S\u00e1bado" + "domingo", + "luns", + "martes", + "m\u00e9rcores", + "xoves", + "venres", + "s\u00e1bado" ], "MONTH": [ - "Xaneiro", - "Febreiro", - "Marzo", - "Abril", - "Maio", - "Xu\u00f1o", - "Xullo", - "Agosto", - "Setembro", - "Outubro", - "Novembro", - "Decembro" + "xaneiro", + "febreiro", + "marzo", + "abril", + "maio", + "xu\u00f1o", + "xullo", + "agosto", + "setembro", + "outubro", + "novembro", + "decembro" ], "SHORTDAY": [ - "Dom", - "Lun", - "Mar", - "M\u00e9r", - "Xov", - "Ven", - "S\u00e1b" + "dom", + "lun", + "mar", + "m\u00e9r", + "xov", + "ven", + "s\u00e1b" ], "SHORTMONTH": [ - "Xan", - "Feb", - "Mar", - "Abr", - "Mai", - "Xu\u00f1", - "Xul", - "Ago", - "Set", - "Out", - "Nov", - "Dec" + "xan", + "feb", + "mar", + "abr", + "mai", + "xu\u00f1", + "xul", + "ago", + "set", + "out", + "nov", + "dec" ], "fullDate": "EEEE dd MMMM y", "longDate": "dd MMMM y", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "gl", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_gsw-ch.js b/public/app/bower_components/angular-i18n/angular-locale_gsw-ch.js index 759974d8..b41a8cf6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_gsw-ch.js +++ b/public/app/bower_components/angular-i18n/angular-locale_gsw-ch.js @@ -55,8 +55,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y HH:mm:ss", + "mediumDate": "dd.MM.y", "mediumTime": "HH:mm:ss", "short": "dd.MM.yy HH:mm", "shortDate": "dd.MM.yy", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "gsw-ch", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_gsw-li.js b/public/app/bower_components/angular-i18n/angular-locale_gsw-li.js index 9db0344d..575c00ad 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_gsw-li.js +++ b/public/app/bower_components/angular-i18n/angular-locale_gsw-li.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_gsw.js b/public/app/bower_components/angular-i18n/angular-locale_gsw.js index 08247560..e8bd571b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_gsw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_gsw.js @@ -55,8 +55,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "dd.MM.y HH:mm:ss", + "mediumDate": "dd.MM.y", "mediumTime": "HH:mm:ss", "short": "dd.MM.yy HH:mm", "shortDate": "dd.MM.yy", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "gsw", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_gu-in.js b/public/app/bower_components/angular-i18n/angular-locale_gu-in.js index d661a684..9262dbc6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_gu-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_gu-in.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "AM", + "PM" ], "DAY": [ "\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0", @@ -68,9 +68,8 @@ $provide.value("$locale", { "GROUP_SEP": ",", "PATTERNS": [ { - "gSize": 3, + "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -80,20 +79,19 @@ $provide.value("$locale", { "posSuf": "" }, { - "gSize": 3, + "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "gu-in", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_gu.js b/public/app/bower_components/angular-i18n/angular-locale_gu.js index c8045115..ac3395d0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_gu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_gu.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "AM", + "PM" ], "DAY": [ "\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0", @@ -68,9 +68,8 @@ $provide.value("$locale", { "GROUP_SEP": ",", "PATTERNS": [ { - "gSize": 3, + "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -80,20 +79,19 @@ $provide.value("$locale", { "posSuf": "" }, { - "gSize": 3, + "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "gu", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_guz-ke.js b/public/app/bower_components/angular-i18n/angular-locale_guz-ke.js new file mode 100644 index 00000000..3014db7e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_guz-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Ma/Mo", + "Mambia/Mog" + ], + "DAY": [ + "Chumapiri", + "Chumatato", + "Chumaine", + "Chumatano", + "Aramisi", + "Ichuma", + "Esabato" + ], + "MONTH": [ + "Chanuari", + "Feburari", + "Machi", + "Apiriri", + "Mei", + "Juni", + "Chulai", + "Agosti", + "Septemba", + "Okitoba", + "Nobemba", + "Disemba" + ], + "SHORTDAY": [ + "Cpr", + "Ctt", + "Cmn", + "Cmt", + "Ars", + "Icm", + "Est" + ], + "SHORTMONTH": [ + "Can", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Cul", + "Agt", + "Sep", + "Okt", + "Nob", + "Dis" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "guz-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_guz.js b/public/app/bower_components/angular-i18n/angular-locale_guz.js new file mode 100644 index 00000000..9299c8e5 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_guz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Ma/Mo", + "Mambia/Mog" + ], + "DAY": [ + "Chumapiri", + "Chumatato", + "Chumaine", + "Chumatano", + "Aramisi", + "Ichuma", + "Esabato" + ], + "MONTH": [ + "Chanuari", + "Feburari", + "Machi", + "Apiriri", + "Mei", + "Juni", + "Chulai", + "Agosti", + "Septemba", + "Okitoba", + "Nobemba", + "Disemba" + ], + "SHORTDAY": [ + "Cpr", + "Ctt", + "Cmn", + "Cmt", + "Ars", + "Icm", + "Est" + ], + "SHORTMONTH": [ + "Can", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Cul", + "Agt", + "Sep", + "Okt", + "Nob", + "Dis" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "guz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_gv-im.js b/public/app/bower_components/angular-i18n/angular-locale_gv-im.js new file mode 100644 index 00000000..ba2296db --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_gv-im.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.m.", + "p.m." + ], + "DAY": [ + "Jedoonee", + "Jelhein", + "Jemayrt", + "Jercean", + "Jerdein", + "Jeheiney", + "Jesarn" + ], + "MONTH": [ + "Jerrey-geuree", + "Toshiaght-arree", + "Mayrnt", + "Averil", + "Boaldyn", + "Mean-souree", + "Jerrey-souree", + "Luanistyn", + "Mean-fouyir", + "Jerrey-fouyir", + "Mee Houney", + "Mee ny Nollick" + ], + "SHORTDAY": [ + "Jed", + "Jel", + "Jem", + "Jerc", + "Jerd", + "Jeh", + "Jes" + ], + "SHORTMONTH": [ + "J-guer", + "T-arree", + "Mayrnt", + "Avrril", + "Boaldyn", + "M-souree", + "J-souree", + "Luanistyn", + "M-fouyir", + "J-fouyir", + "M.Houney", + "M.Nollick" + ], + "fullDate": "EEEE dd MMMM y", + "longDate": "dd MMMM y", + "medium": "MMM dd, y HH:mm:ss", + "mediumDate": "MMM dd, y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/yy HH:mm", + "shortDate": "dd/MM/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a3", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "gv-im", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_gv.js b/public/app/bower_components/angular-i18n/angular-locale_gv.js new file mode 100644 index 00000000..e904414d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_gv.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.m.", + "p.m." + ], + "DAY": [ + "Jedoonee", + "Jelhein", + "Jemayrt", + "Jercean", + "Jerdein", + "Jeheiney", + "Jesarn" + ], + "MONTH": [ + "Jerrey-geuree", + "Toshiaght-arree", + "Mayrnt", + "Averil", + "Boaldyn", + "Mean-souree", + "Jerrey-souree", + "Luanistyn", + "Mean-fouyir", + "Jerrey-fouyir", + "Mee Houney", + "Mee ny Nollick" + ], + "SHORTDAY": [ + "Jed", + "Jel", + "Jem", + "Jerc", + "Jerd", + "Jeh", + "Jes" + ], + "SHORTMONTH": [ + "J-guer", + "T-arree", + "Mayrnt", + "Avrril", + "Boaldyn", + "M-souree", + "J-souree", + "Luanistyn", + "M-fouyir", + "J-fouyir", + "M.Houney", + "M.Nollick" + ], + "fullDate": "EEEE dd MMMM y", + "longDate": "dd MMMM y", + "medium": "MMM dd, y HH:mm:ss", + "mediumDate": "MMM dd, y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/yy HH:mm", + "shortDate": "dd/MM/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a3", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "gv", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ha-latn-gh.js b/public/app/bower_components/angular-i18n/angular-locale_ha-latn-gh.js new file mode 100644 index 00000000..4082aeaa --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ha-latn-gh.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Lahadi", + "Litinin", + "Talata", + "Laraba", + "Alhamis", + "Jumma'a", + "Asabar" + ], + "MONTH": [ + "Janairu", + "Faburairu", + "Maris", + "Afirilu", + "Mayu", + "Yuni", + "Yuli", + "Agusta", + "Satumba", + "Oktoba", + "Nuwamba", + "Disamba" + ], + "SHORTDAY": [ + "Lh", + "Li", + "Ta", + "Lr", + "Al", + "Ju", + "As" + ], + "SHORTMONTH": [ + "Jan", + "Fab", + "Mar", + "Afi", + "May", + "Yun", + "Yul", + "Agu", + "Sat", + "Okt", + "Nuw", + "Dis" + ], + "fullDate": "EEEE, d MMMM, y", + "longDate": "d MMMM, y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/yy HH:mm", + "shortDate": "d/M/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "GHS", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ha-latn-gh", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ha-latn-ne.js b/public/app/bower_components/angular-i18n/angular-locale_ha-latn-ne.js new file mode 100644 index 00000000..f947d72d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ha-latn-ne.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Lahadi", + "Litinin", + "Talata", + "Laraba", + "Alhamis", + "Jumma'a", + "Asabar" + ], + "MONTH": [ + "Janairu", + "Faburairu", + "Maris", + "Afirilu", + "Mayu", + "Yuni", + "Yuli", + "Agusta", + "Satumba", + "Oktoba", + "Nuwamba", + "Disamba" + ], + "SHORTDAY": [ + "Lh", + "Li", + "Ta", + "Lr", + "Al", + "Ju", + "As" + ], + "SHORTMONTH": [ + "Jan", + "Fab", + "Mar", + "Afi", + "May", + "Yun", + "Yul", + "Agu", + "Sat", + "Okt", + "Nuw", + "Dis" + ], + "fullDate": "EEEE, d MMMM, y", + "longDate": "d MMMM, y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/yy HH:mm", + "shortDate": "d/M/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ha-latn-ne", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ha-latn-ng.js b/public/app/bower_components/angular-i18n/angular-locale_ha-latn-ng.js new file mode 100644 index 00000000..1bd9f642 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ha-latn-ng.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Lahadi", + "Litinin", + "Talata", + "Laraba", + "Alhamis", + "Jumma'a", + "Asabar" + ], + "MONTH": [ + "Janairu", + "Faburairu", + "Maris", + "Afirilu", + "Mayu", + "Yuni", + "Yuli", + "Agusta", + "Satumba", + "Oktoba", + "Nuwamba", + "Disamba" + ], + "SHORTDAY": [ + "Lh", + "Li", + "Ta", + "Lr", + "Al", + "Ju", + "As" + ], + "SHORTMONTH": [ + "Jan", + "Fab", + "Mar", + "Afi", + "May", + "Yun", + "Yul", + "Agu", + "Sat", + "Okt", + "Nuw", + "Dis" + ], + "fullDate": "EEEE, d MMMM, y", + "longDate": "d MMMM, y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/yy HH:mm", + "shortDate": "d/M/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20a6", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ha-latn-ng", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ha-latn.js b/public/app/bower_components/angular-i18n/angular-locale_ha-latn.js new file mode 100644 index 00000000..f151ff27 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ha-latn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Lahadi", + "Litinin", + "Talata", + "Laraba", + "Alhamis", + "Jumma'a", + "Asabar" + ], + "MONTH": [ + "Janairu", + "Faburairu", + "Maris", + "Afirilu", + "Mayu", + "Yuni", + "Yuli", + "Agusta", + "Satumba", + "Oktoba", + "Nuwamba", + "Disamba" + ], + "SHORTDAY": [ + "Lh", + "Li", + "Ta", + "Lr", + "Al", + "Ju", + "As" + ], + "SHORTMONTH": [ + "Jan", + "Fab", + "Mar", + "Afi", + "May", + "Yun", + "Yul", + "Agu", + "Sat", + "Okt", + "Nuw", + "Dis" + ], + "fullDate": "EEEE, d MMMM, y", + "longDate": "d MMMM, y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/yy HH:mm", + "shortDate": "d/M/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ha-latn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ha.js b/public/app/bower_components/angular-i18n/angular-locale_ha.js new file mode 100644 index 00000000..6ee236f9 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ha.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Lahadi", + "Litinin", + "Talata", + "Laraba", + "Alhamis", + "Jumma'a", + "Asabar" + ], + "MONTH": [ + "Janairu", + "Faburairu", + "Maris", + "Afirilu", + "Mayu", + "Yuni", + "Yuli", + "Agusta", + "Satumba", + "Oktoba", + "Nuwamba", + "Disamba" + ], + "SHORTDAY": [ + "Lh", + "Li", + "Ta", + "Lr", + "Al", + "Ju", + "As" + ], + "SHORTMONTH": [ + "Jan", + "Fab", + "Mar", + "Afi", + "May", + "Yun", + "Yul", + "Agu", + "Sat", + "Okt", + "Nuw", + "Dis" + ], + "fullDate": "EEEE, d MMMM, y", + "longDate": "d MMMM, y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/yy HH:mm", + "shortDate": "d/M/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20a6", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ha", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_haw-us.js b/public/app/bower_components/angular-i18n/angular-locale_haw-us.js index 09dcd704..4446643a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_haw-us.js +++ b/public/app/bower_components/angular-i18n/angular-locale_haw-us.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_haw.js b/public/app/bower_components/angular-i18n/angular-locale_haw.js index d10d8e9a..8d79d954 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_haw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_haw.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_he-il.js b/public/app/bower_components/angular-i18n/angular-locale_he-il.js index bc99779e..0b2f6301 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_he-il.js +++ b/public/app/bower_components/angular-i18n/angular-locale_he-il.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -40,23 +58,23 @@ $provide.value("$locale", { "\u05e9\u05d1\u05ea" ], "SHORTMONTH": [ - "\u05d9\u05e0\u05d5", - "\u05e4\u05d1\u05e8", + "\u05d9\u05e0\u05d5\u05f3", + "\u05e4\u05d1\u05e8\u05f3", "\u05de\u05e8\u05e5", - "\u05d0\u05e4\u05e8", + "\u05d0\u05e4\u05e8\u05f3", "\u05de\u05d0\u05d9", - "\u05d9\u05d5\u05e0", - "\u05d9\u05d5\u05dc", - "\u05d0\u05d5\u05d2", - "\u05e1\u05e4\u05d8", - "\u05d0\u05d5\u05e7", - "\u05e0\u05d5\u05d1", - "\u05d3\u05e6\u05de" + "\u05d9\u05d5\u05e0\u05d9", + "\u05d9\u05d5\u05dc\u05d9", + "\u05d0\u05d5\u05d2\u05f3", + "\u05e1\u05e4\u05d8\u05f3", + "\u05d0\u05d5\u05e7\u05f3", + "\u05e0\u05d5\u05d1\u05f3", + "\u05d3\u05e6\u05de\u05f3" ], "fullDate": "EEEE, d \u05d1MMMM y", "longDate": "d \u05d1MMMM y", - "medium": "d \u05d1MMM yyyy HH:mm:ss", - "mediumDate": "d \u05d1MMM yyyy", + "medium": "d \u05d1MMM y HH:mm:ss", + "mediumDate": "d \u05d1MMM y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "he-il", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (i == 2 && vf.v == 0) { return PLURAL_CATEGORY.TWO; } if (vf.v == 0 && (n < 0 || n > 10) && n % 10 == 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_he.js b/public/app/bower_components/angular-i18n/angular-locale_he.js index 88ae35a3..1246f3f3 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_he.js +++ b/public/app/bower_components/angular-i18n/angular-locale_he.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -40,23 +58,23 @@ $provide.value("$locale", { "\u05e9\u05d1\u05ea" ], "SHORTMONTH": [ - "\u05d9\u05e0\u05d5", - "\u05e4\u05d1\u05e8", + "\u05d9\u05e0\u05d5\u05f3", + "\u05e4\u05d1\u05e8\u05f3", "\u05de\u05e8\u05e5", - "\u05d0\u05e4\u05e8", + "\u05d0\u05e4\u05e8\u05f3", "\u05de\u05d0\u05d9", - "\u05d9\u05d5\u05e0", - "\u05d9\u05d5\u05dc", - "\u05d0\u05d5\u05d2", - "\u05e1\u05e4\u05d8", - "\u05d0\u05d5\u05e7", - "\u05e0\u05d5\u05d1", - "\u05d3\u05e6\u05de" + "\u05d9\u05d5\u05e0\u05d9", + "\u05d9\u05d5\u05dc\u05d9", + "\u05d0\u05d5\u05d2\u05f3", + "\u05e1\u05e4\u05d8\u05f3", + "\u05d0\u05d5\u05e7\u05f3", + "\u05e0\u05d5\u05d1\u05f3", + "\u05d3\u05e6\u05de\u05f3" ], "fullDate": "EEEE, d \u05d1MMMM y", "longDate": "d \u05d1MMMM y", - "medium": "d \u05d1MMM yyyy HH:mm:ss", - "mediumDate": "d \u05d1MMM yyyy", + "medium": "d \u05d1MMM y HH:mm:ss", + "mediumDate": "d \u05d1MMM y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "he", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (i == 2 && vf.v == 0) { return PLURAL_CATEGORY.TWO; } if (vf.v == 0 && (n < 0 || n > 10) && n % 10 == 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_hi-in.js b/public/app/bower_components/angular-i18n/angular-locale_hi-in.js index 17399a35..9cc8df80 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_hi-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_hi-in.js @@ -12,51 +12,51 @@ $provide.value("$locale", { "\u0938\u094b\u092e\u0935\u093e\u0930", "\u092e\u0902\u0917\u0932\u0935\u093e\u0930", "\u092c\u0941\u0927\u0935\u093e\u0930", - "\u092c\u0943\u0939\u0938\u094d\u092a\u0924\u093f\u0935\u093e\u0930", + "\u0917\u0941\u0930\u0941\u0935\u093e\u0930", "\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930", "\u0936\u0928\u093f\u0935\u093e\u0930" ], "MONTH": [ "\u091c\u0928\u0935\u0930\u0940", - "\u092b\u0930\u0935\u0930\u0940", + "\u092b\u093c\u0930\u0935\u0930\u0940", "\u092e\u093e\u0930\u094d\u091a", "\u0905\u092a\u094d\u0930\u0948\u0932", "\u092e\u0908", "\u091c\u0942\u0928", "\u091c\u0941\u0932\u093e\u0908", "\u0905\u0917\u0938\u094d\u0924", - "\u0938\u093f\u0924\u092e\u094d\u092c\u0930", - "\u0905\u0915\u094d\u0924\u0942\u092c\u0930", - "\u0928\u0935\u092e\u094d\u092c\u0930", - "\u0926\u093f\u0938\u092e\u094d\u092c\u0930" + "\u0938\u093f\u0924\u0902\u092c\u0930", + "\u0905\u0915\u094d\u091f\u0942\u092c\u0930", + "\u0928\u0935\u0902\u092c\u0930", + "\u0926\u093f\u0938\u0902\u092c\u0930" ], "SHORTDAY": [ - "\u0930\u0935\u093f.", - "\u0938\u094b\u092e.", - "\u092e\u0902\u0917\u0932.", - "\u092c\u0941\u0927.", - "\u092c\u0943\u0939.", - "\u0936\u0941\u0915\u094d\u0930.", - "\u0936\u0928\u093f." + "\u0930\u0935\u093f", + "\u0938\u094b\u092e", + "\u092e\u0902\u0917\u0932", + "\u092c\u0941\u0927", + "\u0917\u0941\u0930\u0941", + "\u0936\u0941\u0915\u094d\u0930", + "\u0936\u0928\u093f" ], "SHORTMONTH": [ - "\u091c\u0928\u0935\u0930\u0940", - "\u092b\u0930\u0935\u0930\u0940", + "\u091c\u0928", + "\u092b\u093c\u0930", "\u092e\u093e\u0930\u094d\u091a", - "\u0905\u092a\u094d\u0930\u0948\u0932", + "\u0905\u092a\u094d\u0930\u0948", "\u092e\u0908", "\u091c\u0942\u0928", - "\u091c\u0941\u0932\u093e\u0908", - "\u0905\u0917\u0938\u094d\u0924", - "\u0938\u093f\u0924\u092e\u094d\u092c\u0930", - "\u0905\u0915\u094d\u0924\u0942\u092c\u0930", - "\u0928\u0935\u092e\u094d\u092c\u0930", - "\u0926\u093f\u0938\u092e\u094d\u092c\u0930" + "\u091c\u0941\u0932\u093e", + "\u0905\u0917", + "\u0938\u093f\u0924\u0902", + "\u0905\u0915\u094d\u091f\u0942", + "\u0928\u0935\u0902", + "\u0926\u093f\u0938\u0902" ], "fullDate": "EEEE, d MMMM y", "longDate": "d MMMM y", - "medium": "dd-MM-yyyy h:mm:ss a", - "mediumDate": "dd-MM-yyyy", + "medium": "dd-MM-y h:mm:ss a", + "mediumDate": "dd-MM-y", "mediumTime": "h:mm:ss a", "short": "d-M-yy h:mm a", "shortDate": "d-M-yy", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0-", + "negPre": "\u00a4-", "negSuf": "", - "posPre": "\u00a4\u00a0", + "posPre": "\u00a4", "posSuf": "" } ] }, "id": "hi-in", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_hi.js b/public/app/bower_components/angular-i18n/angular-locale_hi.js index 165c639e..242ffc36 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_hi.js +++ b/public/app/bower_components/angular-i18n/angular-locale_hi.js @@ -12,51 +12,51 @@ $provide.value("$locale", { "\u0938\u094b\u092e\u0935\u093e\u0930", "\u092e\u0902\u0917\u0932\u0935\u093e\u0930", "\u092c\u0941\u0927\u0935\u093e\u0930", - "\u092c\u0943\u0939\u0938\u094d\u092a\u0924\u093f\u0935\u093e\u0930", + "\u0917\u0941\u0930\u0941\u0935\u093e\u0930", "\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930", "\u0936\u0928\u093f\u0935\u093e\u0930" ], "MONTH": [ "\u091c\u0928\u0935\u0930\u0940", - "\u092b\u0930\u0935\u0930\u0940", + "\u092b\u093c\u0930\u0935\u0930\u0940", "\u092e\u093e\u0930\u094d\u091a", "\u0905\u092a\u094d\u0930\u0948\u0932", "\u092e\u0908", "\u091c\u0942\u0928", "\u091c\u0941\u0932\u093e\u0908", "\u0905\u0917\u0938\u094d\u0924", - "\u0938\u093f\u0924\u092e\u094d\u092c\u0930", - "\u0905\u0915\u094d\u0924\u0942\u092c\u0930", - "\u0928\u0935\u092e\u094d\u092c\u0930", - "\u0926\u093f\u0938\u092e\u094d\u092c\u0930" + "\u0938\u093f\u0924\u0902\u092c\u0930", + "\u0905\u0915\u094d\u091f\u0942\u092c\u0930", + "\u0928\u0935\u0902\u092c\u0930", + "\u0926\u093f\u0938\u0902\u092c\u0930" ], "SHORTDAY": [ - "\u0930\u0935\u093f.", - "\u0938\u094b\u092e.", - "\u092e\u0902\u0917\u0932.", - "\u092c\u0941\u0927.", - "\u092c\u0943\u0939.", - "\u0936\u0941\u0915\u094d\u0930.", - "\u0936\u0928\u093f." + "\u0930\u0935\u093f", + "\u0938\u094b\u092e", + "\u092e\u0902\u0917\u0932", + "\u092c\u0941\u0927", + "\u0917\u0941\u0930\u0941", + "\u0936\u0941\u0915\u094d\u0930", + "\u0936\u0928\u093f" ], "SHORTMONTH": [ - "\u091c\u0928\u0935\u0930\u0940", - "\u092b\u0930\u0935\u0930\u0940", + "\u091c\u0928", + "\u092b\u093c\u0930", "\u092e\u093e\u0930\u094d\u091a", - "\u0905\u092a\u094d\u0930\u0948\u0932", + "\u0905\u092a\u094d\u0930\u0948", "\u092e\u0908", "\u091c\u0942\u0928", - "\u091c\u0941\u0932\u093e\u0908", - "\u0905\u0917\u0938\u094d\u0924", - "\u0938\u093f\u0924\u092e\u094d\u092c\u0930", - "\u0905\u0915\u094d\u0924\u0942\u092c\u0930", - "\u0928\u0935\u092e\u094d\u092c\u0930", - "\u0926\u093f\u0938\u092e\u094d\u092c\u0930" + "\u091c\u0941\u0932\u093e", + "\u0905\u0917", + "\u0938\u093f\u0924\u0902", + "\u0905\u0915\u094d\u091f\u0942", + "\u0928\u0935\u0902", + "\u0926\u093f\u0938\u0902" ], "fullDate": "EEEE, d MMMM y", "longDate": "d MMMM y", - "medium": "dd-MM-yyyy h:mm:ss a", - "mediumDate": "dd-MM-yyyy", + "medium": "dd-MM-y h:mm:ss a", + "mediumDate": "dd-MM-y", "mediumTime": "h:mm:ss a", "short": "d-M-yy h:mm a", "shortDate": "d-M-yy", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0-", + "negPre": "\u00a4-", "negSuf": "", - "posPre": "\u00a4\u00a0", + "posPre": "\u00a4", "posSuf": "" } ] }, "id": "hi", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_hr-ba.js b/public/app/bower_components/angular-i18n/angular-locale_hr-ba.js index 580532da..2f9416e0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_hr-ba.js +++ b/public/app/bower_components/angular-i18n/angular-locale_hr-ba.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "kn", + "CURRENCY_SYM": "KM", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_hr-hr.js b/public/app/bower_components/angular-i18n/angular-locale_hr-hr.js index 3ef9ff30..1364fb52 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_hr-hr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_hr-hr.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,11 +73,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d. MMMM y.", "longDate": "d. MMMM y.", - "medium": "d. M. y. HH:mm:ss", - "mediumDate": "d. M. y.", + "medium": "d. MMM y. HH:mm:ss", + "mediumDate": "d. MMM y.", "mediumTime": "HH:mm:ss", - "short": "d.M.y. HH:mm", - "shortDate": "d.M.y.", + "short": "d.M.yy. HH:mm", + "shortDate": "d.M.yy.", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "hr-hr", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_hr.js b/public/app/bower_components/angular-i18n/angular-locale_hr.js index 6702e6b5..52882d8b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_hr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_hr.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,11 +73,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d. MMMM y.", "longDate": "d. MMMM y.", - "medium": "d. M. y. HH:mm:ss", - "mediumDate": "d. M. y.", + "medium": "d. MMM y. HH:mm:ss", + "mediumDate": "d. MMM y.", "mediumTime": "HH:mm:ss", - "short": "d.M.y. HH:mm", - "shortDate": "d.M.y.", + "short": "d.M.yy. HH:mm", + "shortDate": "d.M.yy.", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "hr", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_hu-hu.js b/public/app/bower_components/angular-i18n/angular-locale_hu-hu.js index 8a7f1267..1e68c25e 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_hu-hu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_hu-hu.js @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "y. MMMM d., EEEE", "longDate": "y. MMMM d.", - "medium": "yyyy.MM.dd. H:mm:ss", - "mediumDate": "yyyy.MM.dd.", + "medium": "y. MMM d. H:mm:ss", + "mediumDate": "y. MMM d.", "mediumTime": "H:mm:ss", - "short": "yyyy.MM.dd. H:mm", - "shortDate": "yyyy.MM.dd.", + "short": "y. MM. dd. H:mm", + "shortDate": "y. MM. dd.", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "hu-hu", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_hu.js b/public/app/bower_components/angular-i18n/angular-locale_hu.js index 26558ed2..6298e1de 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_hu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_hu.js @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "y. MMMM d., EEEE", "longDate": "y. MMMM d.", - "medium": "yyyy.MM.dd. H:mm:ss", - "mediumDate": "yyyy.MM.dd.", + "medium": "y. MMM d. H:mm:ss", + "mediumDate": "y. MMM d.", "mediumTime": "H:mm:ss", - "short": "yyyy.MM.dd. H:mm", - "shortDate": "yyyy.MM.dd.", + "short": "y. MM. dd. H:mm", + "shortDate": "y. MM. dd.", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "hu", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_hy-am.js b/public/app/bower_components/angular-i18n/angular-locale_hy-am.js index 81ddc867..1d129d90 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_hy-am.js +++ b/public/app/bower_components/angular-i18n/angular-locale_hy-am.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 0, "lgSize": 0, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 0, "lgSize": 0, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_hy.js b/public/app/bower_components/angular-i18n/angular-locale_hy.js index 7659e021..077f5e0b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_hy.js +++ b/public/app/bower_components/angular-i18n/angular-locale_hy.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 0, "lgSize": 0, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 0, "lgSize": 0, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ia-fr.js b/public/app/bower_components/angular-i18n/angular-locale_ia-fr.js new file mode 100644 index 00000000..fb190cf7 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ia-fr.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.m.", + "p.m." + ], + "DAY": [ + "dominica", + "lunedi", + "martedi", + "mercuridi", + "jovedi", + "venerdi", + "sabbato" + ], + "MONTH": [ + "januario", + "februario", + "martio", + "april", + "maio", + "junio", + "julio", + "augusto", + "septembre", + "octobre", + "novembre", + "decembre" + ], + "SHORTDAY": [ + "dom", + "lun", + "mar", + "mer", + "jov", + "ven", + "sab" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "mai", + "jun", + "jul", + "aug", + "sep", + "oct", + "nov", + "dec" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/MM/dd HH:mm", + "shortDate": "yy/MM/dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ia-fr", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ia.js b/public/app/bower_components/angular-i18n/angular-locale_ia.js new file mode 100644 index 00000000..94c9a7da --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ia.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.m.", + "p.m." + ], + "DAY": [ + "dominica", + "lunedi", + "martedi", + "mercuridi", + "jovedi", + "venerdi", + "sabbato" + ], + "MONTH": [ + "januario", + "februario", + "martio", + "april", + "maio", + "junio", + "julio", + "augusto", + "septembre", + "octobre", + "novembre", + "decembre" + ], + "SHORTDAY": [ + "dom", + "lun", + "mar", + "mer", + "jov", + "ven", + "sab" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "mai", + "jun", + "jul", + "aug", + "sep", + "oct", + "nov", + "dec" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/MM/dd HH:mm", + "shortDate": "yy/MM/dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ia", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_id-id.js b/public/app/bower_components/angular-i18n/angular-locale_id-id.js index b63dd77b..2ffe79a6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_id-id.js +++ b/public/app/bower_components/angular-i18n/angular-locale_id-id.js @@ -53,14 +53,14 @@ $provide.value("$locale", { "Nov", "Des" ], - "fullDate": "EEEE, dd MMMM yyyy", - "longDate": "d MMMM yyyy", - "medium": "d MMM yyyy HH:mm:ss", - "mediumDate": "d MMM yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", + "fullDate": "EEEE, dd MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH.mm.ss", + "mediumDate": "d MMM y", + "mediumTime": "HH.mm.ss", + "short": "dd/MM/yy HH.mm", "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "shortTime": "HH.mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "Rp", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "id-id", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_id.js b/public/app/bower_components/angular-i18n/angular-locale_id.js index b17ce79c..65ea794a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_id.js +++ b/public/app/bower_components/angular-i18n/angular-locale_id.js @@ -53,14 +53,14 @@ $provide.value("$locale", { "Nov", "Des" ], - "fullDate": "EEEE, dd MMMM yyyy", - "longDate": "d MMMM yyyy", - "medium": "d MMM yyyy HH:mm:ss", - "mediumDate": "d MMM yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", + "fullDate": "EEEE, dd MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH.mm.ss", + "mediumDate": "d MMM y", + "mediumTime": "HH.mm.ss", + "short": "dd/MM/yy HH.mm", "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "shortTime": "HH.mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "Rp", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "id", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ig-ng.js b/public/app/bower_components/angular-i18n/angular-locale_ig-ng.js new file mode 100644 index 00000000..3ada04f8 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ig-ng.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "A.M.", + "P.M." + ], + "DAY": [ + "Mb\u1ecds\u1ecb \u1ee4ka", + "M\u1ecdnde", + "Tiuzdee", + "Wenezdee", + "T\u1ecd\u1ecdzdee", + "Fra\u1ecbdee", + "Sat\u1ecddee" + ], + "MONTH": [ + "Jen\u1ee5war\u1ecb", + "Febr\u1ee5war\u1ecb", + "Maach\u1ecb", + "Eprel", + "Mee", + "Juun", + "Jula\u1ecb", + "\u1eccg\u1ecd\u1ecdst", + "Septemba", + "\u1eccktoba", + "Novemba", + "Disemba" + ], + "SHORTDAY": [ + "\u1ee4ka", + "M\u1ecdn", + "Tiu", + "Wen", + "T\u1ecd\u1ecd", + "Fra\u1ecb", + "Sat" + ], + "SHORTMONTH": [ + "Jen", + "Feb", + "Maa", + "Epr", + "Mee", + "Juu", + "Jul", + "\u1eccg\u1ecd", + "Sep", + "\u1ecckt", + "Nov", + "Dis" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20a6", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ig-ng", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ig.js b/public/app/bower_components/angular-i18n/angular-locale_ig.js new file mode 100644 index 00000000..843f7372 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ig.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "A.M.", + "P.M." + ], + "DAY": [ + "Mb\u1ecds\u1ecb \u1ee4ka", + "M\u1ecdnde", + "Tiuzdee", + "Wenezdee", + "T\u1ecd\u1ecdzdee", + "Fra\u1ecbdee", + "Sat\u1ecddee" + ], + "MONTH": [ + "Jen\u1ee5war\u1ecb", + "Febr\u1ee5war\u1ecb", + "Maach\u1ecb", + "Eprel", + "Mee", + "Juun", + "Jula\u1ecb", + "\u1eccg\u1ecd\u1ecdst", + "Septemba", + "\u1eccktoba", + "Novemba", + "Disemba" + ], + "SHORTDAY": [ + "\u1ee4ka", + "M\u1ecdn", + "Tiu", + "Wen", + "T\u1ecd\u1ecd", + "Fra\u1ecb", + "Sat" + ], + "SHORTMONTH": [ + "Jen", + "Feb", + "Maa", + "Epr", + "Mee", + "Juu", + "Jul", + "\u1eccg\u1ecd", + "Sep", + "\u1ecckt", + "Nov", + "Dis" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20a6", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ig", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ii-cn.js b/public/app/bower_components/angular-i18n/angular-locale_ii-cn.js new file mode 100644 index 00000000..1790d119 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ii-cn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\ua3b8\ua111", + "\ua06f\ua2d2" + ], + "DAY": [ + "\ua46d\ua18f\ua44d", + "\ua18f\ua282\ua2cd", + "\ua18f\ua282\ua44d", + "\ua18f\ua282\ua315", + "\ua18f\ua282\ua1d6", + "\ua18f\ua282\ua26c", + "\ua18f\ua282\ua0d8" + ], + "MONTH": [ + "\ua2cd\ua1aa", + "\ua44d\ua1aa", + "\ua315\ua1aa", + "\ua1d6\ua1aa", + "\ua26c\ua1aa", + "\ua0d8\ua1aa", + "\ua3c3\ua1aa", + "\ua246\ua1aa", + "\ua22c\ua1aa", + "\ua2b0\ua1aa", + "\ua2b0\ua2aa\ua1aa", + "\ua2b0\ua44b\ua1aa" + ], + "SHORTDAY": [ + "\ua46d\ua18f", + "\ua18f\ua2cd", + "\ua18f\ua44d", + "\ua18f\ua315", + "\ua18f\ua1d6", + "\ua18f\ua26c", + "\ua18f\ua0d8" + ], + "SHORTMONTH": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a5", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ii-cn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ii.js b/public/app/bower_components/angular-i18n/angular-locale_ii.js new file mode 100644 index 00000000..ddd0c18b --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ii.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\ua3b8\ua111", + "\ua06f\ua2d2" + ], + "DAY": [ + "\ua46d\ua18f\ua44d", + "\ua18f\ua282\ua2cd", + "\ua18f\ua282\ua44d", + "\ua18f\ua282\ua315", + "\ua18f\ua282\ua1d6", + "\ua18f\ua282\ua26c", + "\ua18f\ua282\ua0d8" + ], + "MONTH": [ + "\ua2cd\ua1aa", + "\ua44d\ua1aa", + "\ua315\ua1aa", + "\ua1d6\ua1aa", + "\ua26c\ua1aa", + "\ua0d8\ua1aa", + "\ua3c3\ua1aa", + "\ua246\ua1aa", + "\ua22c\ua1aa", + "\ua2b0\ua1aa", + "\ua2b0\ua2aa\ua1aa", + "\ua2b0\ua44b\ua1aa" + ], + "SHORTDAY": [ + "\ua46d\ua18f", + "\ua18f\ua2cd", + "\ua18f\ua44d", + "\ua18f\ua315", + "\ua18f\ua1d6", + "\ua18f\ua26c", + "\ua18f\ua0d8" + ], + "SHORTMONTH": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a5", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ii", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_in.js b/public/app/bower_components/angular-i18n/angular-locale_in.js index c83cce1f..321fa2f4 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_in.js @@ -53,14 +53,14 @@ $provide.value("$locale", { "Nov", "Des" ], - "fullDate": "EEEE, dd MMMM yyyy", - "longDate": "d MMMM yyyy", - "medium": "d MMM yyyy HH:mm:ss", - "mediumDate": "d MMM yyyy", - "mediumTime": "HH:mm:ss", - "short": "dd/MM/yy HH:mm", + "fullDate": "EEEE, dd MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH.mm.ss", + "mediumDate": "d MMM y", + "mediumTime": "HH.mm.ss", + "short": "dd/MM/yy HH.mm", "shortDate": "dd/MM/yy", - "shortTime": "HH:mm" + "shortTime": "HH.mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "Rp", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "in", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_is-is.js b/public/app/bower_components/angular-i18n/angular-locale_is-is.js index fe251424..e55e17af 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_is-is.js +++ b/public/app/bower_components/angular-i18n/angular-locale_is-is.js @@ -1,6 +1,37 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -31,35 +62,35 @@ $provide.value("$locale", { "desember" ], "SHORTDAY": [ - "sun", - "m\u00e1n", - "\u00feri", - "mi\u00f0", - "fim", - "f\u00f6s", - "lau" + "sun.", + "m\u00e1n.", + "\u00feri.", + "mi\u00f0.", + "fim.", + "f\u00f6s.", + "lau." ], "SHORTMONTH": [ - "jan", - "feb", - "mar", - "apr", + "jan.", + "feb.", + "mar.", + "apr.", "ma\u00ed", - "j\u00fan", - "j\u00fal", - "\u00e1g\u00fa", - "sep", - "okt", - "n\u00f3v", - "des" + "j\u00fan.", + "j\u00fal.", + "\u00e1g\u00fa.", + "sep.", + "okt.", + "n\u00f3v.", + "des." ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "d.M.yyyy HH:mm:ss", - "mediumDate": "d.M.yyyy", + "medium": "d. MMM y HH:mm:ss", + "mediumDate": "d. MMM y", "mediumTime": "HH:mm:ss", - "short": "d.M.yyyy HH:mm", - "shortDate": "d.M.yyyy", + "short": "d.M.y HH:mm", + "shortDate": "d.M.y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +101,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +112,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "is-is", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (wt.t == 0 && i % 10 == 1 && i % 100 != 11 || wt.t != 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_is.js b/public/app/bower_components/angular-i18n/angular-locale_is.js index a579b0e5..026b9e71 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_is.js +++ b/public/app/bower_components/angular-i18n/angular-locale_is.js @@ -1,6 +1,37 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -31,35 +62,35 @@ $provide.value("$locale", { "desember" ], "SHORTDAY": [ - "sun", - "m\u00e1n", - "\u00feri", - "mi\u00f0", - "fim", - "f\u00f6s", - "lau" + "sun.", + "m\u00e1n.", + "\u00feri.", + "mi\u00f0.", + "fim.", + "f\u00f6s.", + "lau." ], "SHORTMONTH": [ - "jan", - "feb", - "mar", - "apr", + "jan.", + "feb.", + "mar.", + "apr.", "ma\u00ed", - "j\u00fan", - "j\u00fal", - "\u00e1g\u00fa", - "sep", - "okt", - "n\u00f3v", - "des" + "j\u00fan.", + "j\u00fal.", + "\u00e1g\u00fa.", + "sep.", + "okt.", + "n\u00f3v.", + "des." ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "d.M.yyyy HH:mm:ss", - "mediumDate": "d.M.yyyy", + "medium": "d. MMM y HH:mm:ss", + "mediumDate": "d. MMM y", "mediumTime": "HH:mm:ss", - "short": "d.M.yyyy HH:mm", - "shortDate": "d.M.yyyy", + "short": "d.M.y HH:mm", + "shortDate": "d.M.y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +101,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +112,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "is", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (wt.t == 0 && i % 10 == 1 && i % 100 != 11 || wt.t != 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_it-ch.js b/public/app/bower_components/angular-i18n/angular-locale_it-ch.js index 653cd892..dd781e83 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_it-ch.js +++ b/public/app/bower_components/angular-i18n/angular-locale_it-ch.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "m.", - "p." + "AM", + "PM" ], "DAY": [ "domenica", @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", - "DECIMAL_SEP": ",", - "GROUP_SEP": ".", + "CURRENCY_SYM": "CHF", + "DECIMAL_SEP": ".", + "GROUP_SEP": "'", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,11 +99,10 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0-", + "negPre": "\u00a4-", "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "it-ch", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_it-it.js b/public/app/bower_components/angular-i18n/angular-locale_it-it.js index 82766cc5..ada0c4d0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_it-it.js +++ b/public/app/bower_components/angular-i18n/angular-locale_it-it.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "m.", - "p." + "AM", + "PM" ], "DAY": [ "domenica", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0-", - "negSuf": "", - "posPre": "\u00a4\u00a0", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "it-it", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_it-sm.js b/public/app/bower_components/angular-i18n/angular-locale_it-sm.js index 6a7041dd..e59f855f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_it-sm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_it-sm.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "m.", - "p." + "AM", + "PM" ], "DAY": [ "domenica", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0-", - "negSuf": "", - "posPre": "\u00a4\u00a0", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "it-sm", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_it.js b/public/app/bower_components/angular-i18n/angular-locale_it.js index c5101dbd..f5f31df0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_it.js +++ b/public/app/bower_components/angular-i18n/angular-locale_it.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "m.", - "p." + "AM", + "PM" ], "DAY": [ "domenica", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0-", - "negSuf": "", - "posPre": "\u00a4\u00a0", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "it", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_iw.js b/public/app/bower_components/angular-i18n/angular-locale_iw.js index 26d452c4..bbd6121c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_iw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_iw.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -40,23 +58,23 @@ $provide.value("$locale", { "\u05e9\u05d1\u05ea" ], "SHORTMONTH": [ - "\u05d9\u05e0\u05d5", - "\u05e4\u05d1\u05e8", + "\u05d9\u05e0\u05d5\u05f3", + "\u05e4\u05d1\u05e8\u05f3", "\u05de\u05e8\u05e5", - "\u05d0\u05e4\u05e8", + "\u05d0\u05e4\u05e8\u05f3", "\u05de\u05d0\u05d9", - "\u05d9\u05d5\u05e0", - "\u05d9\u05d5\u05dc", - "\u05d0\u05d5\u05d2", - "\u05e1\u05e4\u05d8", - "\u05d0\u05d5\u05e7", - "\u05e0\u05d5\u05d1", - "\u05d3\u05e6\u05de" + "\u05d9\u05d5\u05e0\u05d9", + "\u05d9\u05d5\u05dc\u05d9", + "\u05d0\u05d5\u05d2\u05f3", + "\u05e1\u05e4\u05d8\u05f3", + "\u05d0\u05d5\u05e7\u05f3", + "\u05e0\u05d5\u05d1\u05f3", + "\u05d3\u05e6\u05de\u05f3" ], "fullDate": "EEEE, d \u05d1MMMM y", "longDate": "d \u05d1MMMM y", - "medium": "d \u05d1MMM yyyy HH:mm:ss", - "mediumDate": "d \u05d1MMM yyyy", + "medium": "d \u05d1MMM y HH:mm:ss", + "mediumDate": "d \u05d1MMM y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "iw", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (i == 2 && vf.v == 0) { return PLURAL_CATEGORY.TWO; } if (vf.v == 0 && (n < 0 || n > 10) && n % 10 == 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ja-jp.js b/public/app/bower_components/angular-i18n/angular-locale_ja-jp.js index f63a1b03..182f9342 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ja-jp.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ja-jp.js @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "yyyy/MM/dd H:mm:ss", - "mediumDate": "yyyy/MM/dd", + "medium": "y/MM/dd H:mm:ss", + "mediumDate": "y/MM/dd", "mediumTime": "H:mm:ss", - "short": "yyyy/MM/dd H:mm", - "shortDate": "yyyy/MM/dd", + "short": "y/MM/dd H:mm", + "shortDate": "y/MM/dd", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "ja-jp", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ja.js b/public/app/bower_components/angular-i18n/angular-locale_ja.js index 71f2306c..0ceb5190 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ja.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ja.js @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "yyyy/MM/dd H:mm:ss", - "mediumDate": "yyyy/MM/dd", + "medium": "y/MM/dd H:mm:ss", + "mediumDate": "y/MM/dd", "mediumTime": "H:mm:ss", - "short": "yyyy/MM/dd H:mm", - "shortDate": "yyyy/MM/dd", + "short": "y/MM/dd H:mm", + "shortDate": "y/MM/dd", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "ja", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_jgo-cm.js b/public/app/bower_components/angular-i18n/angular-locale_jgo-cm.js new file mode 100644 index 00000000..f308195e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_jgo-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "mba\ua78cmba\ua78c", + "\u014bka mb\u0254\u0301t nji" + ], + "DAY": [ + "S\u0254\u0301ndi", + "M\u0254\u0301ndi", + "\u00c1pta M\u0254\u0301ndi", + "W\u025b\u0301n\u025bs\u025bd\u025b", + "T\u0254\u0301s\u025bd\u025b", + "F\u025bl\u00e2y\u025bd\u025b", + "S\u00e1sid\u025b" + ], + "MONTH": [ + "Ndu\u014bmbi Sa\u014b", + "P\u025bsa\u014b P\u025b\u0301p\u00e1", + "P\u025bsa\u014b P\u025b\u0301t\u00e1t", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301kwa", + "P\u025bsa\u014b Pataa", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301nt\u00fak\u00fa", + "P\u025bsa\u014b Saamb\u00e1", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301f\u0254m", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301pf\u00fa\ua78b\u00fa", + "P\u025bsa\u014b N\u025bg\u025b\u0301m", + "P\u025bsa\u014b Nts\u0254\u030cpm\u0254\u0301", + "P\u025bsa\u014b Nts\u0254\u030cpp\u00e1" + ], + "SHORTDAY": [ + "S\u0254\u0301ndi", + "M\u0254\u0301ndi", + "\u00c1pta M\u0254\u0301ndi", + "W\u025b\u0301n\u025bs\u025bd\u025b", + "T\u0254\u0301s\u025bd\u025b", + "F\u025bl\u00e2y\u025bd\u025b", + "S\u00e1sid\u025b" + ], + "SHORTMONTH": [ + "Ndu\u014bmbi Sa\u014b", + "P\u025bsa\u014b P\u025b\u0301p\u00e1", + "P\u025bsa\u014b P\u025b\u0301t\u00e1t", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301kwa", + "P\u025bsa\u014b Pataa", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301nt\u00fak\u00fa", + "P\u025bsa\u014b Saamb\u00e1", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301f\u0254m", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301pf\u00fa\ua78b\u00fa", + "P\u025bsa\u014b N\u025bg\u025b\u0301m", + "P\u025bsa\u014b Nts\u0254\u030cpm\u0254\u0301", + "P\u025bsa\u014b Nts\u0254\u030cpp\u00e1" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "jgo-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_jgo.js b/public/app/bower_components/angular-i18n/angular-locale_jgo.js new file mode 100644 index 00000000..61c514b0 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_jgo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "mba\ua78cmba\ua78c", + "\u014bka mb\u0254\u0301t nji" + ], + "DAY": [ + "S\u0254\u0301ndi", + "M\u0254\u0301ndi", + "\u00c1pta M\u0254\u0301ndi", + "W\u025b\u0301n\u025bs\u025bd\u025b", + "T\u0254\u0301s\u025bd\u025b", + "F\u025bl\u00e2y\u025bd\u025b", + "S\u00e1sid\u025b" + ], + "MONTH": [ + "Ndu\u014bmbi Sa\u014b", + "P\u025bsa\u014b P\u025b\u0301p\u00e1", + "P\u025bsa\u014b P\u025b\u0301t\u00e1t", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301kwa", + "P\u025bsa\u014b Pataa", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301nt\u00fak\u00fa", + "P\u025bsa\u014b Saamb\u00e1", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301f\u0254m", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301pf\u00fa\ua78b\u00fa", + "P\u025bsa\u014b N\u025bg\u025b\u0301m", + "P\u025bsa\u014b Nts\u0254\u030cpm\u0254\u0301", + "P\u025bsa\u014b Nts\u0254\u030cpp\u00e1" + ], + "SHORTDAY": [ + "S\u0254\u0301ndi", + "M\u0254\u0301ndi", + "\u00c1pta M\u0254\u0301ndi", + "W\u025b\u0301n\u025bs\u025bd\u025b", + "T\u0254\u0301s\u025bd\u025b", + "F\u025bl\u00e2y\u025bd\u025b", + "S\u00e1sid\u025b" + ], + "SHORTMONTH": [ + "Ndu\u014bmbi Sa\u014b", + "P\u025bsa\u014b P\u025b\u0301p\u00e1", + "P\u025bsa\u014b P\u025b\u0301t\u00e1t", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301kwa", + "P\u025bsa\u014b Pataa", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301nt\u00fak\u00fa", + "P\u025bsa\u014b Saamb\u00e1", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301f\u0254m", + "P\u025bsa\u014b P\u025b\u0301n\u025b\u0301pf\u00fa\ua78b\u00fa", + "P\u025bsa\u014b N\u025bg\u025b\u0301m", + "P\u025bsa\u014b Nts\u0254\u030cpm\u0254\u0301", + "P\u025bsa\u014b Nts\u0254\u030cpp\u00e1" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "jgo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_jmc-tz.js b/public/app/bower_components/angular-i18n/angular-locale_jmc-tz.js new file mode 100644 index 00000000..fdd4c75e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_jmc-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "utuko", + "kyiukonyi" + ], + "DAY": [ + "Jumapilyi", + "Jumatatuu", + "Jumanne", + "Jumatanu", + "Alhamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Aprilyi", + "Mei", + "Junyi", + "Julyai", + "Agusti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "jmc-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_jmc.js b/public/app/bower_components/angular-i18n/angular-locale_jmc.js new file mode 100644 index 00000000..13a435f0 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_jmc.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "utuko", + "kyiukonyi" + ], + "DAY": [ + "Jumapilyi", + "Jumatatuu", + "Jumanne", + "Jumatanu", + "Alhamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Aprilyi", + "Mei", + "Junyi", + "Julyai", + "Agusti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "jmc", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ka-ge.js b/public/app/bower_components/angular-i18n/angular-locale_ka-ge.js index 7c8da749..4f3aebcf 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ka-ge.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ka-ge.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ka.js b/public/app/bower_components/angular-i18n/angular-locale_ka.js index 2c4c53d1..c8d8c4ce 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ka.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ka.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_kab-dz.js b/public/app/bower_components/angular-i18n/angular-locale_kab-dz.js new file mode 100644 index 00000000..1999a392 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kab-dz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "n tufat", + "n tmeddit" + ], + "DAY": [ + "Yanass", + "Sanass", + "Kra\u1e0dass", + "Ku\u1e93ass", + "Samass", + "S\u1e0disass", + "Sayass" + ], + "MONTH": [ + "Yennayer", + "Fu\u1e5bar", + "Me\u0263res", + "Yebrir", + "Mayyu", + "Yunyu", + "Yulyu", + "\u0194uct", + "Ctembe\u1e5b", + "Tube\u1e5b", + "Nunembe\u1e5b", + "Du\u01e7embe\u1e5b" + ], + "SHORTDAY": [ + "Yan", + "San", + "Kra\u1e0d", + "Ku\u1e93", + "Sam", + "S\u1e0dis", + "Say" + ], + "SHORTMONTH": [ + "Yen", + "Fur", + "Me\u0263", + "Yeb", + "May", + "Yun", + "Yul", + "\u0194uc", + "Cte", + "Tub", + "Nun", + "Du\u01e7" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "din", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "kab-dz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kab.js b/public/app/bower_components/angular-i18n/angular-locale_kab.js new file mode 100644 index 00000000..9f60c4fd --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kab.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "n tufat", + "n tmeddit" + ], + "DAY": [ + "Yanass", + "Sanass", + "Kra\u1e0dass", + "Ku\u1e93ass", + "Samass", + "S\u1e0disass", + "Sayass" + ], + "MONTH": [ + "Yennayer", + "Fu\u1e5bar", + "Me\u0263res", + "Yebrir", + "Mayyu", + "Yunyu", + "Yulyu", + "\u0194uct", + "Ctembe\u1e5b", + "Tube\u1e5b", + "Nunembe\u1e5b", + "Du\u01e7embe\u1e5b" + ], + "SHORTDAY": [ + "Yan", + "San", + "Kra\u1e0d", + "Ku\u1e93", + "Sam", + "S\u1e0dis", + "Say" + ], + "SHORTMONTH": [ + "Yen", + "Fur", + "Me\u0263", + "Yeb", + "May", + "Yun", + "Yul", + "\u0194uc", + "Cte", + "Tub", + "Nun", + "Du\u01e7" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "din", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "kab", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kam-ke.js b/public/app/bower_components/angular-i18n/angular-locale_kam-ke.js new file mode 100644 index 00000000..6744328e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kam-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0128yakwakya", + "\u0128yaw\u0129oo" + ], + "DAY": [ + "Wa kyumwa", + "Wa kwamb\u0129l\u0129lya", + "Wa kel\u0129", + "Wa katat\u0169", + "Wa kana", + "Wa katano", + "Wa thanthat\u0169" + ], + "MONTH": [ + "Mwai wa mbee", + "Mwai wa kel\u0129", + "Mwai wa katat\u0169", + "Mwai wa kana", + "Mwai wa katano", + "Mwai wa thanthat\u0169", + "Mwai wa muonza", + "Mwai wa nyaanya", + "Mwai wa kenda", + "Mwai wa \u0129kumi", + "Mwai wa \u0129kumi na \u0129mwe", + "Mwai wa \u0129kumi na il\u0129" + ], + "SHORTDAY": [ + "Wky", + "Wkw", + "Wkl", + "Wt\u0169", + "Wkn", + "Wtn", + "Wth" + ], + "SHORTMONTH": [ + "Mbe", + "Kel", + "Kt\u0169", + "Kan", + "Ktn", + "Tha", + "Moo", + "Nya", + "Knd", + "\u0128ku", + "\u0128km", + "\u0128kl" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "kam-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kam.js b/public/app/bower_components/angular-i18n/angular-locale_kam.js new file mode 100644 index 00000000..be86b048 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kam.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0128yakwakya", + "\u0128yaw\u0129oo" + ], + "DAY": [ + "Wa kyumwa", + "Wa kwamb\u0129l\u0129lya", + "Wa kel\u0129", + "Wa katat\u0169", + "Wa kana", + "Wa katano", + "Wa thanthat\u0169" + ], + "MONTH": [ + "Mwai wa mbee", + "Mwai wa kel\u0129", + "Mwai wa katat\u0169", + "Mwai wa kana", + "Mwai wa katano", + "Mwai wa thanthat\u0169", + "Mwai wa muonza", + "Mwai wa nyaanya", + "Mwai wa kenda", + "Mwai wa \u0129kumi", + "Mwai wa \u0129kumi na \u0129mwe", + "Mwai wa \u0129kumi na il\u0129" + ], + "SHORTDAY": [ + "Wky", + "Wkw", + "Wkl", + "Wt\u0169", + "Wkn", + "Wtn", + "Wth" + ], + "SHORTMONTH": [ + "Mbe", + "Kel", + "Kt\u0169", + "Kan", + "Ktn", + "Tha", + "Moo", + "Nya", + "Knd", + "\u0128ku", + "\u0128km", + "\u0128kl" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "kam", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kde-tz.js b/public/app/bower_components/angular-i18n/angular-locale_kde-tz.js new file mode 100644 index 00000000..aa54b3f1 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kde-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Muhi", + "Chilo" + ], + "DAY": [ + "Liduva lyapili", + "Liduva lyatatu", + "Liduva lyanchechi", + "Liduva lyannyano", + "Liduva lyannyano na linji", + "Liduva lyannyano na mavili", + "Liduva litandi" + ], + "MONTH": [ + "Mwedi Ntandi", + "Mwedi wa Pili", + "Mwedi wa Tatu", + "Mwedi wa Nchechi", + "Mwedi wa Nnyano", + "Mwedi wa Nnyano na Umo", + "Mwedi wa Nnyano na Mivili", + "Mwedi wa Nnyano na Mitatu", + "Mwedi wa Nnyano na Nchechi", + "Mwedi wa Nnyano na Nnyano", + "Mwedi wa Nnyano na Nnyano na U", + "Mwedi wa Nnyano na Nnyano na M" + ], + "SHORTDAY": [ + "Ll2", + "Ll3", + "Ll4", + "Ll5", + "Ll6", + "Ll7", + "Ll1" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "kde-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kde.js b/public/app/bower_components/angular-i18n/angular-locale_kde.js new file mode 100644 index 00000000..a10699bf --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kde.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Muhi", + "Chilo" + ], + "DAY": [ + "Liduva lyapili", + "Liduva lyatatu", + "Liduva lyanchechi", + "Liduva lyannyano", + "Liduva lyannyano na linji", + "Liduva lyannyano na mavili", + "Liduva litandi" + ], + "MONTH": [ + "Mwedi Ntandi", + "Mwedi wa Pili", + "Mwedi wa Tatu", + "Mwedi wa Nchechi", + "Mwedi wa Nnyano", + "Mwedi wa Nnyano na Umo", + "Mwedi wa Nnyano na Mivili", + "Mwedi wa Nnyano na Mitatu", + "Mwedi wa Nnyano na Nchechi", + "Mwedi wa Nnyano na Nnyano", + "Mwedi wa Nnyano na Nnyano na U", + "Mwedi wa Nnyano na Nnyano na M" + ], + "SHORTDAY": [ + "Ll2", + "Ll3", + "Ll4", + "Ll5", + "Ll6", + "Ll7", + "Ll1" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "kde", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kea-cv.js b/public/app/bower_components/angular-i18n/angular-locale_kea-cv.js new file mode 100644 index 00000000..2777675d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kea-cv.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "am", + "pm" + ], + "DAY": [ + "dumingu", + "sigunda-fera", + "tersa-fera", + "kuarta-fera", + "kinta-fera", + "sesta-fera", + "sabadu" + ], + "MONTH": [ + "Janeru", + "Fevereru", + "Marsu", + "Abril", + "Maiu", + "Junhu", + "Julhu", + "Agostu", + "Setenbru", + "Otubru", + "Nuvenbru", + "Dizenbru" + ], + "SHORTDAY": [ + "dum", + "sig", + "ter", + "kua", + "kin", + "ses", + "sab" + ], + "SHORTMONTH": [ + "Jan", + "Fev", + "Mar", + "Abr", + "Mai", + "Jun", + "Jul", + "Ago", + "Set", + "Otu", + "Nuv", + "Diz" + ], + "fullDate": "EEEE, d 'di' MMMM 'di' y", + "longDate": "d 'di' MMMM 'di' y", + "medium": "d 'di' MMM 'di' y HH:mm:ss", + "mediumDate": "d 'di' MMM 'di' y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CVE", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "kea-cv", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kea.js b/public/app/bower_components/angular-i18n/angular-locale_kea.js new file mode 100644 index 00000000..09f1fc2b --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kea.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "am", + "pm" + ], + "DAY": [ + "dumingu", + "sigunda-fera", + "tersa-fera", + "kuarta-fera", + "kinta-fera", + "sesta-fera", + "sabadu" + ], + "MONTH": [ + "Janeru", + "Fevereru", + "Marsu", + "Abril", + "Maiu", + "Junhu", + "Julhu", + "Agostu", + "Setenbru", + "Otubru", + "Nuvenbru", + "Dizenbru" + ], + "SHORTDAY": [ + "dum", + "sig", + "ter", + "kua", + "kin", + "ses", + "sab" + ], + "SHORTMONTH": [ + "Jan", + "Fev", + "Mar", + "Abr", + "Mai", + "Jun", + "Jul", + "Ago", + "Set", + "Otu", + "Nuv", + "Diz" + ], + "fullDate": "EEEE, d 'di' MMMM 'di' y", + "longDate": "d 'di' MMMM 'di' y", + "medium": "d 'di' MMM 'di' y HH:mm:ss", + "mediumDate": "d 'di' MMM 'di' y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CVE", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "kea", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_khq-ml.js b/public/app/bower_components/angular-i18n/angular-locale_khq-ml.js new file mode 100644 index 00000000..2563520e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_khq-ml.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Adduha", + "Aluula" + ], + "DAY": [ + "Alhadi", + "Atini", + "Atalata", + "Alarba", + "Alhamiisa", + "Aljuma", + "Assabdu" + ], + "MONTH": [ + "\u017danwiye", + "Feewiriye", + "Marsi", + "Awiril", + "Me", + "\u017duwe\u014b", + "\u017duyye", + "Ut", + "Sektanbur", + "Oktoobur", + "Noowanbur", + "Deesanbur" + ], + "SHORTDAY": [ + "Alh", + "Ati", + "Ata", + "Ala", + "Alm", + "Alj", + "Ass" + ], + "SHORTMONTH": [ + "\u017dan", + "Fee", + "Mar", + "Awi", + "Me", + "\u017duw", + "\u017duy", + "Ut", + "Sek", + "Okt", + "Noo", + "Dee" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "khq-ml", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_khq.js b/public/app/bower_components/angular-i18n/angular-locale_khq.js new file mode 100644 index 00000000..6b5e435f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_khq.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Adduha", + "Aluula" + ], + "DAY": [ + "Alhadi", + "Atini", + "Atalata", + "Alarba", + "Alhamiisa", + "Aljuma", + "Assabdu" + ], + "MONTH": [ + "\u017danwiye", + "Feewiriye", + "Marsi", + "Awiril", + "Me", + "\u017duwe\u014b", + "\u017duyye", + "Ut", + "Sektanbur", + "Oktoobur", + "Noowanbur", + "Deesanbur" + ], + "SHORTDAY": [ + "Alh", + "Ati", + "Ata", + "Ala", + "Alm", + "Alj", + "Ass" + ], + "SHORTMONTH": [ + "\u017dan", + "Fee", + "Mar", + "Awi", + "Me", + "\u017duw", + "\u017duy", + "Ut", + "Sek", + "Okt", + "Noo", + "Dee" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "khq", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ki-ke.js b/public/app/bower_components/angular-i18n/angular-locale_ki-ke.js new file mode 100644 index 00000000..87908de5 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ki-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Kiroko", + "Hwa\u0129-in\u0129" + ], + "DAY": [ + "Kiumia", + "Njumatat\u0169", + "Njumaine", + "Njumatana", + "Aramithi", + "Njumaa", + "Njumamothi" + ], + "MONTH": [ + "Njenuar\u0129", + "Mwere wa ker\u0129", + "Mwere wa gatat\u0169", + "Mwere wa kana", + "Mwere wa gatano", + "Mwere wa gatandat\u0169", + "Mwere wa m\u0169gwanja", + "Mwere wa kanana", + "Mwere wa kenda", + "Mwere wa ik\u0169mi", + "Mwere wa ik\u0169mi na \u0169mwe", + "Ndithemba" + ], + "SHORTDAY": [ + "KMA", + "NTT", + "NMN", + "NMT", + "ART", + "NMA", + "NMM" + ], + "SHORTMONTH": [ + "JEN", + "WKR", + "WGT", + "WKN", + "WTN", + "WTD", + "WMJ", + "WNN", + "WKD", + "WIK", + "WMW", + "DIT" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ki-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ki.js b/public/app/bower_components/angular-i18n/angular-locale_ki.js new file mode 100644 index 00000000..c277622d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ki.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Kiroko", + "Hwa\u0129-in\u0129" + ], + "DAY": [ + "Kiumia", + "Njumatat\u0169", + "Njumaine", + "Njumatana", + "Aramithi", + "Njumaa", + "Njumamothi" + ], + "MONTH": [ + "Njenuar\u0129", + "Mwere wa ker\u0129", + "Mwere wa gatat\u0169", + "Mwere wa kana", + "Mwere wa gatano", + "Mwere wa gatandat\u0169", + "Mwere wa m\u0169gwanja", + "Mwere wa kanana", + "Mwere wa kenda", + "Mwere wa ik\u0169mi", + "Mwere wa ik\u0169mi na \u0169mwe", + "Ndithemba" + ], + "SHORTDAY": [ + "KMA", + "NTT", + "NMN", + "NMT", + "ART", + "NMA", + "NMM" + ], + "SHORTMONTH": [ + "JEN", + "WKR", + "WGT", + "WKN", + "WTN", + "WTD", + "WMJ", + "WNN", + "WKD", + "WIK", + "WMW", + "DIT" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ki", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kk-cyrl-kz.js b/public/app/bower_components/angular-i18n/angular-locale_kk-cyrl-kz.js index f9ee4a06..2139db67 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_kk-cyrl-kz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_kk-cyrl-kz.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_kk-cyrl.js b/public/app/bower_components/angular-i18n/angular-locale_kk-cyrl.js index 6d81676a..5a627472 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_kk-cyrl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_kk-cyrl.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20b8", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_kk.js b/public/app/bower_components/angular-i18n/angular-locale_kk.js index 2419f115..badbec60 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_kk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_kk.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_kkj-cm.js b/public/app/bower_components/angular-i18n/angular-locale_kkj-cm.js new file mode 100644 index 00000000..5ae67041 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kkj-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "s\u0254ndi", + "lundi", + "mardi", + "m\u025brk\u025br\u025bdi", + "yedi", + "va\u014bd\u025br\u025bdi", + "m\u0254n\u0254 s\u0254ndi" + ], + "MONTH": [ + "pamba", + "wanja", + "mbiy\u0254 m\u025bndo\u014bg\u0254", + "Ny\u0254l\u0254mb\u0254\u014bg\u0254", + "M\u0254n\u0254 \u014bgbanja", + "Nya\u014bgw\u025b \u014bgbanja", + "ku\u014bgw\u025b", + "f\u025b", + "njapi", + "nyukul", + "11", + "\u0253ul\u0253us\u025b" + ], + "SHORTDAY": [ + "s\u0254ndi", + "lundi", + "mardi", + "m\u025brk\u025br\u025bdi", + "yedi", + "va\u014bd\u025br\u025bdi", + "m\u0254n\u0254 s\u0254ndi" + ], + "SHORTMONTH": [ + "pamba", + "wanja", + "mbiy\u0254 m\u025bndo\u014bg\u0254", + "Ny\u0254l\u0254mb\u0254\u014bg\u0254", + "M\u0254n\u0254 \u014bgbanja", + "Nya\u014bgw\u025b \u014bgbanja", + "ku\u014bgw\u025b", + "f\u025b", + "njapi", + "nyukul", + "11", + "\u0253ul\u0253us\u025b" + ], + "fullDate": "EEEE dd MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM y HH:mm", + "shortDate": "dd/MM y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "kkj-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kkj.js b/public/app/bower_components/angular-i18n/angular-locale_kkj.js new file mode 100644 index 00000000..384d3016 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kkj.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "s\u0254ndi", + "lundi", + "mardi", + "m\u025brk\u025br\u025bdi", + "yedi", + "va\u014bd\u025br\u025bdi", + "m\u0254n\u0254 s\u0254ndi" + ], + "MONTH": [ + "pamba", + "wanja", + "mbiy\u0254 m\u025bndo\u014bg\u0254", + "Ny\u0254l\u0254mb\u0254\u014bg\u0254", + "M\u0254n\u0254 \u014bgbanja", + "Nya\u014bgw\u025b \u014bgbanja", + "ku\u014bgw\u025b", + "f\u025b", + "njapi", + "nyukul", + "11", + "\u0253ul\u0253us\u025b" + ], + "SHORTDAY": [ + "s\u0254ndi", + "lundi", + "mardi", + "m\u025brk\u025br\u025bdi", + "yedi", + "va\u014bd\u025br\u025bdi", + "m\u0254n\u0254 s\u0254ndi" + ], + "SHORTMONTH": [ + "pamba", + "wanja", + "mbiy\u0254 m\u025bndo\u014bg\u0254", + "Ny\u0254l\u0254mb\u0254\u014bg\u0254", + "M\u0254n\u0254 \u014bgbanja", + "Nya\u014bgw\u025b \u014bgbanja", + "ku\u014bgw\u025b", + "f\u025b", + "njapi", + "nyukul", + "11", + "\u0253ul\u0253us\u025b" + ], + "fullDate": "EEEE dd MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM y HH:mm", + "shortDate": "dd/MM y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "kkj", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kl-gl.js b/public/app/bower_components/angular-i18n/angular-locale_kl-gl.js new file mode 100644 index 00000000..f4bf8fd1 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kl-gl.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "ulloqeqqata-tungaa", + "ulloqeqqata-kingorna" + ], + "DAY": [ + "sabaat", + "ataasinngorneq", + "marlunngorneq", + "pingasunngorneq", + "sisamanngorneq", + "tallimanngorneq", + "arfininngorneq" + ], + "MONTH": [ + "januari", + "februari", + "martsi", + "aprili", + "maji", + "juni", + "juli", + "augustusi", + "septemberi", + "oktoberi", + "novemberi", + "decemberi" + ], + "SHORTDAY": [ + "sab", + "ata", + "mar", + "pin", + "sis", + "tal", + "arf" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "maj", + "jun", + "jul", + "aug", + "sep", + "okt", + "nov", + "dec" + ], + "fullDate": "EEEE dd MMMM y", + "longDate": "dd MMMM y", + "medium": "MMM dd, y h:mm:ss a", + "mediumDate": "MMM dd, y", + "mediumTime": "h:mm:ss a", + "short": "y-MM-dd h:mm a", + "shortDate": "y-MM-dd", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "kr", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "kl-gl", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kl.js b/public/app/bower_components/angular-i18n/angular-locale_kl.js new file mode 100644 index 00000000..e5678715 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kl.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "ulloqeqqata-tungaa", + "ulloqeqqata-kingorna" + ], + "DAY": [ + "sabaat", + "ataasinngorneq", + "marlunngorneq", + "pingasunngorneq", + "sisamanngorneq", + "tallimanngorneq", + "arfininngorneq" + ], + "MONTH": [ + "januari", + "februari", + "martsi", + "aprili", + "maji", + "juni", + "juli", + "augustusi", + "septemberi", + "oktoberi", + "novemberi", + "decemberi" + ], + "SHORTDAY": [ + "sab", + "ata", + "mar", + "pin", + "sis", + "tal", + "arf" + ], + "SHORTMONTH": [ + "jan", + "feb", + "mar", + "apr", + "maj", + "jun", + "jul", + "aug", + "sep", + "okt", + "nov", + "dec" + ], + "fullDate": "EEEE dd MMMM y", + "longDate": "dd MMMM y", + "medium": "MMM dd, y h:mm:ss a", + "mediumDate": "MMM dd, y", + "mediumTime": "h:mm:ss a", + "short": "y-MM-dd h:mm a", + "shortDate": "y-MM-dd", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "kr", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "kl", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kln-ke.js b/public/app/bower_components/angular-i18n/angular-locale_kln-ke.js new file mode 100644 index 00000000..88f0a046 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kln-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Beet", + "Kemo" + ], + "DAY": [ + "Betutab tisap", + "Betut netai", + "Betutab aeng'", + "Betutab somok", + "Betutab ang'wan", + "Betutab mut", + "Betutab lo" + ], + "MONTH": [ + "Mulgul", + "Ng'atyato", + "Kiptamo", + "Iwat kut", + "Ng'eiyet", + "Waki", + "Roptui", + "Kipkogaga", + "Buret", + "Epeso", + "Kipsunde netai", + "Kipsunde nebo aeng" + ], + "SHORTDAY": [ + "Tis", + "Tai", + "Aen", + "Som", + "Ang", + "Mut", + "Loh" + ], + "SHORTMONTH": [ + "Mul", + "Nga", + "Kip", + "Iwa", + "Nge", + "Wak", + "Rop", + "Kog", + "Bur", + "Epe", + "Tai", + "Aen" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "kln-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kln.js b/public/app/bower_components/angular-i18n/angular-locale_kln.js new file mode 100644 index 00000000..af79ff3b --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kln.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Beet", + "Kemo" + ], + "DAY": [ + "Betutab tisap", + "Betut netai", + "Betutab aeng'", + "Betutab somok", + "Betutab ang'wan", + "Betutab mut", + "Betutab lo" + ], + "MONTH": [ + "Mulgul", + "Ng'atyato", + "Kiptamo", + "Iwat kut", + "Ng'eiyet", + "Waki", + "Roptui", + "Kipkogaga", + "Buret", + "Epeso", + "Kipsunde netai", + "Kipsunde nebo aeng" + ], + "SHORTDAY": [ + "Tis", + "Tai", + "Aen", + "Som", + "Ang", + "Mut", + "Loh" + ], + "SHORTMONTH": [ + "Mul", + "Nga", + "Kip", + "Iwa", + "Nge", + "Wak", + "Rop", + "Kog", + "Bur", + "Epe", + "Tai", + "Aen" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "kln", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_km-kh.js b/public/app/bower_components/angular-i18n/angular-locale_km-kh.js index 84b2dbfd..cd6f55cc 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_km-kh.js +++ b/public/app/bower_components/angular-i18n/angular-locale_km-kh.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_km.js b/public/app/bower_components/angular-i18n/angular-locale_km.js index 686286bd..17913ca8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_km.js +++ b/public/app/bower_components/angular-i18n/angular-locale_km.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_kn-in.js b/public/app/bower_components/angular-i18n/angular-locale_kn-in.js index 73d66f57..5833682a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_kn-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_kn-in.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "AM", + "PM" ], "DAY": [ "\u0cb0\u0cb5\u0cbf\u0cb5\u0cbe\u0cb0", @@ -17,11 +17,11 @@ $provide.value("$locale", { "\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0" ], "MONTH": [ - "\u0c9c\u0ca8\u0cb5\u0cb0\u0cc0", - "\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cc0", + "\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf", + "\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf", "\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd", - "\u0c8e\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd", - "\u0cae\u0cc6", + "\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd", + "\u0cae\u0cc7", "\u0c9c\u0cc2\u0ca8\u0ccd", "\u0c9c\u0cc1\u0cb2\u0cc8", "\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd", @@ -40,20 +40,20 @@ $provide.value("$locale", { "\u0cb6\u0ca8\u0cbf." ], "SHORTMONTH": [ - "\u0c9c\u0ca8\u0cb5\u0cb0\u0cc0", - "\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cc0", - "\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd", - "\u0c8e\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd", - "\u0cae\u0cc6", - "\u0c9c\u0cc2\u0ca8\u0ccd", - "\u0c9c\u0cc1\u0cb2\u0cc8", - "\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd", - "\u0cb8\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd", - "\u0c85\u0c95\u0ccd\u0c9f\u0ccb\u0cac\u0cb0\u0ccd", - "\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd", - "\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd" + "\u0c9c\u0ca8.", + "\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cc1.", + "\u0cae\u0cbe", + "\u0c8f\u0caa\u0ccd\u0cb0\u0cbf.", + "\u0cae\u0cc7", + "\u0c9c\u0cc2", + "\u0c9c\u0cc1.", + "\u0c86\u0c97.", + "\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82.", + "\u0c85\u0c95\u0ccd\u0c9f\u0ccb.", + "\u0ca8\u0cb5\u0cc6\u0c82.", + "\u0ca1\u0cbf\u0cb8\u0cc6\u0c82." ], - "fullDate": "EEEE d MMMM y", + "fullDate": "d MMMM y, EEEE", "longDate": "d MMMM y", "medium": "d MMM y hh:mm:ss a", "mediumDate": "d MMM y", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "kn-in", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kn.js b/public/app/bower_components/angular-i18n/angular-locale_kn.js index fa7c9253..f9477de5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_kn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_kn.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "AM", + "PM" ], "DAY": [ "\u0cb0\u0cb5\u0cbf\u0cb5\u0cbe\u0cb0", @@ -17,11 +17,11 @@ $provide.value("$locale", { "\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0" ], "MONTH": [ - "\u0c9c\u0ca8\u0cb5\u0cb0\u0cc0", - "\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cc0", + "\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf", + "\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf", "\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd", - "\u0c8e\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd", - "\u0cae\u0cc6", + "\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd", + "\u0cae\u0cc7", "\u0c9c\u0cc2\u0ca8\u0ccd", "\u0c9c\u0cc1\u0cb2\u0cc8", "\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd", @@ -40,20 +40,20 @@ $provide.value("$locale", { "\u0cb6\u0ca8\u0cbf." ], "SHORTMONTH": [ - "\u0c9c\u0ca8\u0cb5\u0cb0\u0cc0", - "\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cc0", - "\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd", - "\u0c8e\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd", - "\u0cae\u0cc6", - "\u0c9c\u0cc2\u0ca8\u0ccd", - "\u0c9c\u0cc1\u0cb2\u0cc8", - "\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd", - "\u0cb8\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd", - "\u0c85\u0c95\u0ccd\u0c9f\u0ccb\u0cac\u0cb0\u0ccd", - "\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd", - "\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd" + "\u0c9c\u0ca8.", + "\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cc1.", + "\u0cae\u0cbe", + "\u0c8f\u0caa\u0ccd\u0cb0\u0cbf.", + "\u0cae\u0cc7", + "\u0c9c\u0cc2", + "\u0c9c\u0cc1.", + "\u0c86\u0c97.", + "\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82.", + "\u0c85\u0c95\u0ccd\u0c9f\u0ccb.", + "\u0ca8\u0cb5\u0cc6\u0c82.", + "\u0ca1\u0cbf\u0cb8\u0cc6\u0c82." ], - "fullDate": "EEEE d MMMM y", + "fullDate": "d MMMM y, EEEE", "longDate": "d MMMM y", "medium": "d MMM y hh:mm:ss a", "mediumDate": "d MMM y", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "kn", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ko-kp.js b/public/app/bower_components/angular-i18n/angular-locale_ko-kp.js index 402ce2bb..a2c34959 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ko-kp.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ko-kp.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "a h:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20a9", + "CURRENCY_SYM": "\u20a9KP", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ko-kr.js b/public/app/bower_components/angular-i18n/angular-locale_ko-kr.js index 8de6031b..ffa72279 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ko-kr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ko-kr.js @@ -55,8 +55,8 @@ $provide.value("$locale", { ], "fullDate": "y\ub144 M\uc6d4 d\uc77c EEEE", "longDate": "y\ub144 M\uc6d4 d\uc77c", - "medium": "yyyy. M. d. a h:mm:ss", - "mediumDate": "yyyy. M. d.", + "medium": "y. M. d. a h:mm:ss", + "mediumDate": "y. M. d.", "mediumTime": "a h:mm:ss", "short": "yy. M. d. a h:mm", "shortDate": "yy. M. d.", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "ko-kr", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ko.js b/public/app/bower_components/angular-i18n/angular-locale_ko.js index 51efdc55..ae493265 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ko.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ko.js @@ -55,8 +55,8 @@ $provide.value("$locale", { ], "fullDate": "y\ub144 M\uc6d4 d\uc77c EEEE", "longDate": "y\ub144 M\uc6d4 d\uc77c", - "medium": "yyyy. M. d. a h:mm:ss", - "mediumDate": "yyyy. M. d.", + "medium": "y. M. d. a h:mm:ss", + "mediumDate": "y. M. d.", "mediumTime": "a h:mm:ss", "short": "yy. M. d. a h:mm", "shortDate": "yy. M. d.", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "ko", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kok-in.js b/public/app/bower_components/angular-i18n/angular-locale_kok-in.js new file mode 100644 index 00000000..c2aa9b9b --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kok-in.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u092e.\u092a\u0942.", + "\u092e.\u0928\u0902." + ], + "DAY": [ + "\u0906\u0926\u093f\u0924\u094d\u092f\u0935\u093e\u0930", + "\u0938\u094b\u092e\u0935\u093e\u0930", + "\u092e\u0902\u0917\u0933\u093e\u0930", + "\u092c\u0941\u0927\u0935\u093e\u0930", + "\u0917\u0941\u0930\u0941\u0935\u093e\u0930", + "\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930", + "\u0936\u0928\u093f\u0935\u093e\u0930" + ], + "MONTH": [ + "\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940", + "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940", + "\u092e\u093e\u0930\u094d\u091a", + "\u090f\u092a\u094d\u0930\u093f\u0932", + "\u092e\u0947", + "\u091c\u0942\u0928", + "\u091c\u0941\u0932\u0948", + "\u0913\u0917\u0938\u094d\u091f", + "\u0938\u0947\u092a\u094d\u091f\u0947\u0902\u092c\u0930", + "\u0913\u0915\u094d\u091f\u094b\u092c\u0930", + "\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930", + "\u0921\u093f\u0938\u0947\u0902\u092c\u0930" + ], + "SHORTDAY": [ + "\u0930\u0935\u093f", + "\u0938\u094b\u092e", + "\u092e\u0902\u0917\u0933", + "\u092c\u0941\u0927", + "\u0917\u0941\u0930\u0941", + "\u0936\u0941\u0915\u094d\u0930", + "\u0936\u0928\u093f" + ], + "SHORTMONTH": [ + "\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940", + "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940", + "\u092e\u093e\u0930\u094d\u091a", + "\u090f\u092a\u094d\u0930\u093f\u0932", + "\u092e\u0947", + "\u091c\u0942\u0928", + "\u091c\u0941\u0932\u0948", + "\u0913\u0917\u0938\u094d\u091f", + "\u0938\u0947\u092a\u094d\u091f\u0947\u0902\u092c\u0930", + "\u0913\u0915\u094d\u091f\u094b\u092c\u0930", + "\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930", + "\u0921\u093f\u0938\u0947\u0902\u092c\u0930" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "dd-MM-y h:mm:ss a", + "mediumDate": "dd-MM-y", + "mediumTime": "h:mm:ss a", + "short": "d-M-yy h:mm a", + "shortDate": "d-M-yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20b9", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "kok-in", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kok.js b/public/app/bower_components/angular-i18n/angular-locale_kok.js new file mode 100644 index 00000000..b119b09e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kok.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u092e.\u092a\u0942.", + "\u092e.\u0928\u0902." + ], + "DAY": [ + "\u0906\u0926\u093f\u0924\u094d\u092f\u0935\u093e\u0930", + "\u0938\u094b\u092e\u0935\u093e\u0930", + "\u092e\u0902\u0917\u0933\u093e\u0930", + "\u092c\u0941\u0927\u0935\u093e\u0930", + "\u0917\u0941\u0930\u0941\u0935\u093e\u0930", + "\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930", + "\u0936\u0928\u093f\u0935\u093e\u0930" + ], + "MONTH": [ + "\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940", + "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940", + "\u092e\u093e\u0930\u094d\u091a", + "\u090f\u092a\u094d\u0930\u093f\u0932", + "\u092e\u0947", + "\u091c\u0942\u0928", + "\u091c\u0941\u0932\u0948", + "\u0913\u0917\u0938\u094d\u091f", + "\u0938\u0947\u092a\u094d\u091f\u0947\u0902\u092c\u0930", + "\u0913\u0915\u094d\u091f\u094b\u092c\u0930", + "\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930", + "\u0921\u093f\u0938\u0947\u0902\u092c\u0930" + ], + "SHORTDAY": [ + "\u0930\u0935\u093f", + "\u0938\u094b\u092e", + "\u092e\u0902\u0917\u0933", + "\u092c\u0941\u0927", + "\u0917\u0941\u0930\u0941", + "\u0936\u0941\u0915\u094d\u0930", + "\u0936\u0928\u093f" + ], + "SHORTMONTH": [ + "\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940", + "\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940", + "\u092e\u093e\u0930\u094d\u091a", + "\u090f\u092a\u094d\u0930\u093f\u0932", + "\u092e\u0947", + "\u091c\u0942\u0928", + "\u091c\u0941\u0932\u0948", + "\u0913\u0917\u0938\u094d\u091f", + "\u0938\u0947\u092a\u094d\u091f\u0947\u0902\u092c\u0930", + "\u0913\u0915\u094d\u091f\u094b\u092c\u0930", + "\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930", + "\u0921\u093f\u0938\u0947\u0902\u092c\u0930" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "dd-MM-y h:mm:ss a", + "mediumDate": "dd-MM-y", + "mediumTime": "h:mm:ss a", + "short": "d-M-yy h:mm a", + "shortDate": "d-M-yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20b9", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "kok", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ks-arab-in.js b/public/app/bower_components/angular-i18n/angular-locale_ks-arab-in.js new file mode 100644 index 00000000..319602d2 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ks-arab-in.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "\u0627\u064e\u062a\u06be\u0648\u0627\u0631", + "\u0698\u0654\u0646\u065b\u062f\u0631\u0655\u0631\u0648\u0627\u0631", + "\u0628\u0648\u065a\u0645\u0648\u0627\u0631", + "\u0628\u0648\u062f\u0648\u0627\u0631", + "\u0628\u0631\u065b\u066e\u06ea\u0633\u0648\u0627\u0631", + "\u062c\u064f\u0645\u06c1", + "\u0628\u0679\u0648\u0627\u0631" + ], + "MONTH": [ + "\u062c\u0646\u0624\u0631\u06cc", + "\u0641\u0631\u0624\u0631\u06cc", + "\u0645\u0627\u0631\u0655\u0686", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u06cc\u0654", + "\u062c\u0648\u0657\u0646", + "\u062c\u0648\u0657\u0644\u0627\u06cc\u06cc", + "\u0627\u06af\u0633\u062a", + "\u0633\u062a\u0645\u0628\u0631", + "\u0627\u06a9\u062a\u0648\u0657\u0628\u0631", + "\u0646\u0648\u0645\u0628\u0631", + "\u062f\u0633\u0645\u0628\u0631" + ], + "SHORTDAY": [ + "\u0622\u062a\u06be\u0648\u0627\u0631", + "\u0698\u0654\u0646\u065b\u062f\u0655\u0631\u0648\u0627\u0631", + "\u0628\u0648\u065a\u0645\u0648\u0627\u0631", + "\u0628\u0648\u062f\u0648\u0627\u0631", + "\u0628\u0631\u065b\u066e\u06ea\u0633\u0648\u0627\u0631", + "\u062c\u064f\u0645\u06c1", + "\u0628\u0679\u0648\u0627\u0631" + ], + "SHORTMONTH": [ + "\u062c\u0646\u0624\u0631\u06cc", + "\u0641\u0631\u0624\u0631\u06cc", + "\u0645\u0627\u0631\u0655\u0686", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u06cc\u0654", + "\u062c\u0648\u0657\u0646", + "\u062c\u0648\u0657\u0644\u0627\u06cc\u06cc", + "\u0627\u06af\u0633\u062a", + "\u0633\u062a\u0645\u0628\u0631", + "\u0627\u06a9\u062a\u0648\u0657\u0628\u0631", + "\u0646\u0648\u0645\u0628\u0631", + "\u062f\u0633\u0645\u0628\u0631" + ], + "fullDate": "EEEE, MMMM d, y", + "longDate": "MMMM d, y", + "medium": "MMM d, y h:mm:ss a", + "mediumDate": "MMM d, y", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20b9", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ks-arab-in", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ks-arab.js b/public/app/bower_components/angular-i18n/angular-locale_ks-arab.js new file mode 100644 index 00000000..d4182e1f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ks-arab.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "\u0627\u064e\u062a\u06be\u0648\u0627\u0631", + "\u0698\u0654\u0646\u065b\u062f\u0631\u0655\u0631\u0648\u0627\u0631", + "\u0628\u0648\u065a\u0645\u0648\u0627\u0631", + "\u0628\u0648\u062f\u0648\u0627\u0631", + "\u0628\u0631\u065b\u066e\u06ea\u0633\u0648\u0627\u0631", + "\u062c\u064f\u0645\u06c1", + "\u0628\u0679\u0648\u0627\u0631" + ], + "MONTH": [ + "\u062c\u0646\u0624\u0631\u06cc", + "\u0641\u0631\u0624\u0631\u06cc", + "\u0645\u0627\u0631\u0655\u0686", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u06cc\u0654", + "\u062c\u0648\u0657\u0646", + "\u062c\u0648\u0657\u0644\u0627\u06cc\u06cc", + "\u0627\u06af\u0633\u062a", + "\u0633\u062a\u0645\u0628\u0631", + "\u0627\u06a9\u062a\u0648\u0657\u0628\u0631", + "\u0646\u0648\u0645\u0628\u0631", + "\u062f\u0633\u0645\u0628\u0631" + ], + "SHORTDAY": [ + "\u0622\u062a\u06be\u0648\u0627\u0631", + "\u0698\u0654\u0646\u065b\u062f\u0655\u0631\u0648\u0627\u0631", + "\u0628\u0648\u065a\u0645\u0648\u0627\u0631", + "\u0628\u0648\u062f\u0648\u0627\u0631", + "\u0628\u0631\u065b\u066e\u06ea\u0633\u0648\u0627\u0631", + "\u062c\u064f\u0645\u06c1", + "\u0628\u0679\u0648\u0627\u0631" + ], + "SHORTMONTH": [ + "\u062c\u0646\u0624\u0631\u06cc", + "\u0641\u0631\u0624\u0631\u06cc", + "\u0645\u0627\u0631\u0655\u0686", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u06cc\u0654", + "\u062c\u0648\u0657\u0646", + "\u062c\u0648\u0657\u0644\u0627\u06cc\u06cc", + "\u0627\u06af\u0633\u062a", + "\u0633\u062a\u0645\u0628\u0631", + "\u0627\u06a9\u062a\u0648\u0657\u0628\u0631", + "\u0646\u0648\u0645\u0628\u0631", + "\u062f\u0633\u0645\u0628\u0631" + ], + "fullDate": "EEEE, MMMM d, y", + "longDate": "MMMM d, y", + "medium": "MMM d, y h:mm:ss a", + "mediumDate": "MMM d, y", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ks-arab", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ks.js b/public/app/bower_components/angular-i18n/angular-locale_ks.js new file mode 100644 index 00000000..fa3e3e7c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ks.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "\u0627\u064e\u062a\u06be\u0648\u0627\u0631", + "\u0698\u0654\u0646\u065b\u062f\u0631\u0655\u0631\u0648\u0627\u0631", + "\u0628\u0648\u065a\u0645\u0648\u0627\u0631", + "\u0628\u0648\u062f\u0648\u0627\u0631", + "\u0628\u0631\u065b\u066e\u06ea\u0633\u0648\u0627\u0631", + "\u062c\u064f\u0645\u06c1", + "\u0628\u0679\u0648\u0627\u0631" + ], + "MONTH": [ + "\u062c\u0646\u0624\u0631\u06cc", + "\u0641\u0631\u0624\u0631\u06cc", + "\u0645\u0627\u0631\u0655\u0686", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u06cc\u0654", + "\u062c\u0648\u0657\u0646", + "\u062c\u0648\u0657\u0644\u0627\u06cc\u06cc", + "\u0627\u06af\u0633\u062a", + "\u0633\u062a\u0645\u0628\u0631", + "\u0627\u06a9\u062a\u0648\u0657\u0628\u0631", + "\u0646\u0648\u0645\u0628\u0631", + "\u062f\u0633\u0645\u0628\u0631" + ], + "SHORTDAY": [ + "\u0622\u062a\u06be\u0648\u0627\u0631", + "\u0698\u0654\u0646\u065b\u062f\u0655\u0631\u0648\u0627\u0631", + "\u0628\u0648\u065a\u0645\u0648\u0627\u0631", + "\u0628\u0648\u062f\u0648\u0627\u0631", + "\u0628\u0631\u065b\u066e\u06ea\u0633\u0648\u0627\u0631", + "\u062c\u064f\u0645\u06c1", + "\u0628\u0679\u0648\u0627\u0631" + ], + "SHORTMONTH": [ + "\u062c\u0646\u0624\u0631\u06cc", + "\u0641\u0631\u0624\u0631\u06cc", + "\u0645\u0627\u0631\u0655\u0686", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u06cc\u0654", + "\u062c\u0648\u0657\u0646", + "\u062c\u0648\u0657\u0644\u0627\u06cc\u06cc", + "\u0627\u06af\u0633\u062a", + "\u0633\u062a\u0645\u0628\u0631", + "\u0627\u06a9\u062a\u0648\u0657\u0628\u0631", + "\u0646\u0648\u0645\u0628\u0631", + "\u062f\u0633\u0645\u0628\u0631" + ], + "fullDate": "EEEE, MMMM d, y", + "longDate": "MMMM d, y", + "medium": "MMM d, y h:mm:ss a", + "mediumDate": "MMM d, y", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20b9", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 2, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "ks", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ksb-tz.js b/public/app/bower_components/angular-i18n/angular-locale_ksb-tz.js new file mode 100644 index 00000000..ed21ee1a --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ksb-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "makeo", + "nyiaghuo" + ], + "DAY": [ + "Jumaapii", + "Jumaatatu", + "Jumaane", + "Jumaatano", + "Alhamisi", + "Ijumaa", + "Jumaamosi" + ], + "MONTH": [ + "Januali", + "Febluali", + "Machi", + "Aplili", + "Mei", + "Juni", + "Julai", + "Agosti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jmn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "ksb-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ksb.js b/public/app/bower_components/angular-i18n/angular-locale_ksb.js new file mode 100644 index 00000000..ec3f9ce3 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ksb.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "makeo", + "nyiaghuo" + ], + "DAY": [ + "Jumaapii", + "Jumaatatu", + "Jumaane", + "Jumaatano", + "Alhamisi", + "Ijumaa", + "Jumaamosi" + ], + "MONTH": [ + "Januali", + "Febluali", + "Machi", + "Aplili", + "Mei", + "Juni", + "Julai", + "Agosti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jmn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "ksb", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ksf-cm.js b/public/app/bower_components/angular-i18n/angular-locale_ksf-cm.js new file mode 100644 index 00000000..5b4ae8ed --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ksf-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "s\u00e1r\u00faw\u00e1", + "c\u025b\u025b\u0301nko" + ], + "DAY": [ + "s\u0254\u0301nd\u01dd", + "l\u01ddnd\u00ed", + "maad\u00ed", + "m\u025bkr\u025bd\u00ed", + "j\u01dd\u01ddd\u00ed", + "j\u00famb\u00e1", + "samd\u00ed" + ], + "MONTH": [ + "\u014bw\u00ed\u00ed a nt\u0254\u0301nt\u0254", + "\u014bw\u00ed\u00ed ak\u01dd b\u025b\u0301\u025b", + "\u014bw\u00ed\u00ed ak\u01dd r\u00e1\u00e1", + "\u014bw\u00ed\u00ed ak\u01dd nin", + "\u014bw\u00ed\u00ed ak\u01dd t\u00e1an", + "\u014bw\u00ed\u00ed ak\u01dd t\u00e1af\u0254k", + "\u014bw\u00ed\u00ed ak\u01dd t\u00e1ab\u025b\u025b", + "\u014bw\u00ed\u00ed ak\u01dd t\u00e1araa", + "\u014bw\u00ed\u00ed ak\u01dd t\u00e1anin", + "\u014bw\u00ed\u00ed ak\u01dd nt\u025bk", + "\u014bw\u00ed\u00ed ak\u01dd nt\u025bk di b\u0254\u0301k", + "\u014bw\u00ed\u00ed ak\u01dd nt\u025bk di b\u025b\u0301\u025b" + ], + "SHORTDAY": [ + "s\u0254\u0301n", + "l\u01ddn", + "maa", + "m\u025bk", + "j\u01dd\u01dd", + "j\u00fam", + "sam" + ], + "SHORTMONTH": [ + "\u014b1", + "\u014b2", + "\u014b3", + "\u014b4", + "\u014b5", + "\u014b6", + "\u014b7", + "\u014b8", + "\u014b9", + "\u014b10", + "\u014b11", + "\u014b12" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ksf-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ksf.js b/public/app/bower_components/angular-i18n/angular-locale_ksf.js new file mode 100644 index 00000000..6b50427c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ksf.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "s\u00e1r\u00faw\u00e1", + "c\u025b\u025b\u0301nko" + ], + "DAY": [ + "s\u0254\u0301nd\u01dd", + "l\u01ddnd\u00ed", + "maad\u00ed", + "m\u025bkr\u025bd\u00ed", + "j\u01dd\u01ddd\u00ed", + "j\u00famb\u00e1", + "samd\u00ed" + ], + "MONTH": [ + "\u014bw\u00ed\u00ed a nt\u0254\u0301nt\u0254", + "\u014bw\u00ed\u00ed ak\u01dd b\u025b\u0301\u025b", + "\u014bw\u00ed\u00ed ak\u01dd r\u00e1\u00e1", + "\u014bw\u00ed\u00ed ak\u01dd nin", + "\u014bw\u00ed\u00ed ak\u01dd t\u00e1an", + "\u014bw\u00ed\u00ed ak\u01dd t\u00e1af\u0254k", + "\u014bw\u00ed\u00ed ak\u01dd t\u00e1ab\u025b\u025b", + "\u014bw\u00ed\u00ed ak\u01dd t\u00e1araa", + "\u014bw\u00ed\u00ed ak\u01dd t\u00e1anin", + "\u014bw\u00ed\u00ed ak\u01dd nt\u025bk", + "\u014bw\u00ed\u00ed ak\u01dd nt\u025bk di b\u0254\u0301k", + "\u014bw\u00ed\u00ed ak\u01dd nt\u025bk di b\u025b\u0301\u025b" + ], + "SHORTDAY": [ + "s\u0254\u0301n", + "l\u01ddn", + "maa", + "m\u025bk", + "j\u01dd\u01dd", + "j\u00fam", + "sam" + ], + "SHORTMONTH": [ + "\u014b1", + "\u014b2", + "\u014b3", + "\u014b4", + "\u014b5", + "\u014b6", + "\u014b7", + "\u014b8", + "\u014b9", + "\u014b10", + "\u014b11", + "\u014b12" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ksf", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ksh-de.js b/public/app/bower_components/angular-i18n/angular-locale_ksh-de.js new file mode 100644 index 00000000..f35c589c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ksh-de.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Uhr v\u00f6rmiddaachs", + "Uhr nommendaachs" + ], + "DAY": [ + "Sunndaach", + "Moondaach", + "Dinnsdaach", + "Metwoch", + "Dunnersdaach", + "Friidaach", + "Samsdaach" + ], + "MONTH": [ + "Jannewa", + "F\u00e4browa", + "M\u00e4\u00e4z", + "Aprell", + "M\u00e4i", + "Juuni", + "Juuli", + "Oujo\u00df", + "Sept\u00e4mber", + "Oktoober", + "Nov\u00e4mber", + "Dez\u00e4mber" + ], + "SHORTDAY": [ + "Su.", + "Mo.", + "Di.", + "Me.", + "Du.", + "Fr.", + "Sa." + ], + "SHORTMONTH": [ + "Jan", + "F\u00e4b", + "M\u00e4z", + "Apr", + "M\u00e4i", + "Jun", + "Jul", + "Ouj", + "S\u00e4p", + "Okt", + "Nov", + "Dez" + ], + "fullDate": "EEEE, 'd\u00e4' d. MMMM y", + "longDate": "d. MMMM y", + "medium": "d. MMM. y HH:mm:ss", + "mediumDate": "d. MMM. y", + "mediumTime": "HH:mm:ss", + "short": "d. M. y HH:mm", + "shortDate": "d. M. y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ksh-de", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ksh.js b/public/app/bower_components/angular-i18n/angular-locale_ksh.js new file mode 100644 index 00000000..f1025720 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ksh.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Uhr v\u00f6rmiddaachs", + "Uhr nommendaachs" + ], + "DAY": [ + "Sunndaach", + "Moondaach", + "Dinnsdaach", + "Metwoch", + "Dunnersdaach", + "Friidaach", + "Samsdaach" + ], + "MONTH": [ + "Jannewa", + "F\u00e4browa", + "M\u00e4\u00e4z", + "Aprell", + "M\u00e4i", + "Juuni", + "Juuli", + "Oujo\u00df", + "Sept\u00e4mber", + "Oktoober", + "Nov\u00e4mber", + "Dez\u00e4mber" + ], + "SHORTDAY": [ + "Su.", + "Mo.", + "Di.", + "Me.", + "Du.", + "Fr.", + "Sa." + ], + "SHORTMONTH": [ + "Jan", + "F\u00e4b", + "M\u00e4z", + "Apr", + "M\u00e4i", + "Jun", + "Jul", + "Ouj", + "S\u00e4p", + "Okt", + "Nov", + "Dez" + ], + "fullDate": "EEEE, 'd\u00e4' d. MMMM y", + "longDate": "d. MMMM y", + "medium": "d. MMM. y HH:mm:ss", + "mediumDate": "d. MMM. y", + "mediumTime": "HH:mm:ss", + "short": "d. M. y HH:mm", + "shortDate": "d. M. y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ksh", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kw-gb.js b/public/app/bower_components/angular-i18n/angular-locale_kw-gb.js new file mode 100644 index 00000000..913f204c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kw-gb.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.m.", + "p.m." + ], + "DAY": [ + "De Sul", + "De Lun", + "De Merth", + "De Merher", + "De Yow", + "De Gwener", + "De Sadorn" + ], + "MONTH": [ + "Mys Genver", + "Mys Whevrel", + "Mys Merth", + "Mys Ebrel", + "Mys Me", + "Mys Efan", + "Mys Gortheren", + "Mye Est", + "Mys Gwyngala", + "Mys Hedra", + "Mys Du", + "Mys Kevardhu" + ], + "SHORTDAY": [ + "Sul", + "Lun", + "Mth", + "Mhr", + "Yow", + "Gwe", + "Sad" + ], + "SHORTMONTH": [ + "Gen", + "Whe", + "Mer", + "Ebr", + "Me", + "Efn", + "Gor", + "Est", + "Gwn", + "Hed", + "Du", + "Kev" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a3", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "kw-gb", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_kw.js b/public/app/bower_components/angular-i18n/angular-locale_kw.js new file mode 100644 index 00000000..1cd21ce5 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_kw.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.m.", + "p.m." + ], + "DAY": [ + "De Sul", + "De Lun", + "De Merth", + "De Merher", + "De Yow", + "De Gwener", + "De Sadorn" + ], + "MONTH": [ + "Mys Genver", + "Mys Whevrel", + "Mys Merth", + "Mys Ebrel", + "Mys Me", + "Mys Efan", + "Mys Gortheren", + "Mye Est", + "Mys Gwyngala", + "Mys Hedra", + "Mys Du", + "Mys Kevardhu" + ], + "SHORTDAY": [ + "Sul", + "Lun", + "Mth", + "Mhr", + "Yow", + "Gwe", + "Sad" + ], + "SHORTMONTH": [ + "Gen", + "Whe", + "Mer", + "Ebr", + "Me", + "Efn", + "Gor", + "Est", + "Gwn", + "Hed", + "Du", + "Kev" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a3", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "kw", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ky-cyrl-kg.js b/public/app/bower_components/angular-i18n/angular-locale_ky-cyrl-kg.js index 5561404f..5f4020ed 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ky-cyrl-kg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ky-cyrl-kg.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ky-cyrl.js b/public/app/bower_components/angular-i18n/angular-locale_ky-cyrl.js index bbdb7c39..ceb3b1c9 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ky-cyrl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ky-cyrl.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "KGS", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ky.js b/public/app/bower_components/angular-i18n/angular-locale_ky.js index 38a723c6..6b387604 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ky.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ky.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_lag-tz.js b/public/app/bower_components/angular-i18n/angular-locale_lag-tz.js new file mode 100644 index 00000000..7c614827 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_lag-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "TOO", + "MUU" + ], + "DAY": [ + "Jumap\u00ediri", + "Jumat\u00e1tu", + "Juma\u00edne", + "Jumat\u00e1ano", + "Alam\u00edisi", + "Ijum\u00e1a", + "Jumam\u00f3osi" + ], + "MONTH": [ + "K\u0289f\u00fangat\u0268", + "K\u0289naan\u0268", + "K\u0289keenda", + "Kwiikumi", + "Kwiinyamb\u00e1la", + "Kwiidwaata", + "K\u0289m\u0289\u0289nch\u0268", + "K\u0289v\u0268\u0268r\u0268", + "K\u0289saat\u0289", + "Kwiinyi", + "K\u0289saano", + "K\u0289sasat\u0289" + ], + "SHORTDAY": [ + "P\u00edili", + "T\u00e1atu", + "\u00cdne", + "T\u00e1ano", + "Alh", + "Ijm", + "M\u00f3osi" + ], + "SHORTMONTH": [ + "F\u00fangat\u0268", + "Naan\u0268", + "Keenda", + "Ik\u00fami", + "Inyambala", + "Idwaata", + "M\u0289\u0289nch\u0268", + "V\u0268\u0268r\u0268", + "Saat\u0289", + "Inyi", + "Saano", + "Sasat\u0289" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "lag-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lag.js b/public/app/bower_components/angular-i18n/angular-locale_lag.js new file mode 100644 index 00000000..1fd20250 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_lag.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "TOO", + "MUU" + ], + "DAY": [ + "Jumap\u00ediri", + "Jumat\u00e1tu", + "Juma\u00edne", + "Jumat\u00e1ano", + "Alam\u00edisi", + "Ijum\u00e1a", + "Jumam\u00f3osi" + ], + "MONTH": [ + "K\u0289f\u00fangat\u0268", + "K\u0289naan\u0268", + "K\u0289keenda", + "Kwiikumi", + "Kwiinyamb\u00e1la", + "Kwiidwaata", + "K\u0289m\u0289\u0289nch\u0268", + "K\u0289v\u0268\u0268r\u0268", + "K\u0289saat\u0289", + "Kwiinyi", + "K\u0289saano", + "K\u0289sasat\u0289" + ], + "SHORTDAY": [ + "P\u00edili", + "T\u00e1atu", + "\u00cdne", + "T\u00e1ano", + "Alh", + "Ijm", + "M\u00f3osi" + ], + "SHORTMONTH": [ + "F\u00fangat\u0268", + "Naan\u0268", + "Keenda", + "Ik\u00fami", + "Inyambala", + "Idwaata", + "M\u0289\u0289nch\u0268", + "V\u0268\u0268r\u0268", + "Saat\u0289", + "Inyi", + "Saano", + "Sasat\u0289" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "lag", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lg-ug.js b/public/app/bower_components/angular-i18n/angular-locale_lg-ug.js new file mode 100644 index 00000000..8a42674d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_lg-ug.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sabbiiti", + "Balaza", + "Lwakubiri", + "Lwakusatu", + "Lwakuna", + "Lwakutaano", + "Lwamukaaga" + ], + "MONTH": [ + "Janwaliyo", + "Febwaliyo", + "Marisi", + "Apuli", + "Maayi", + "Juuni", + "Julaayi", + "Agusito", + "Sebuttemba", + "Okitobba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Sab", + "Bal", + "Lw2", + "Lw3", + "Lw4", + "Lw5", + "Lw6" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mar", + "Apu", + "Maa", + "Juu", + "Jul", + "Agu", + "Seb", + "Oki", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "UGX", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "lg-ug", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lg.js b/public/app/bower_components/angular-i18n/angular-locale_lg.js new file mode 100644 index 00000000..070d11e6 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_lg.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sabbiiti", + "Balaza", + "Lwakubiri", + "Lwakusatu", + "Lwakuna", + "Lwakutaano", + "Lwamukaaga" + ], + "MONTH": [ + "Janwaliyo", + "Febwaliyo", + "Marisi", + "Apuli", + "Maayi", + "Juuni", + "Julaayi", + "Agusito", + "Sebuttemba", + "Okitobba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Sab", + "Bal", + "Lw2", + "Lw3", + "Lw4", + "Lw5", + "Lw6" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mar", + "Apu", + "Maa", + "Juu", + "Jul", + "Agu", + "Seb", + "Oki", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "UGX", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "lg", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lkt-us.js b/public/app/bower_components/angular-i18n/angular-locale_lkt-us.js new file mode 100644 index 00000000..175b1971 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_lkt-us.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "A\u014bp\u00e9tuwak\u021fa\u014b", + "A\u014bp\u00e9tuwa\u014b\u017ei", + "A\u014bp\u00e9tunu\u014bpa", + "A\u014bp\u00e9tuyamni", + "A\u014bp\u00e9tutopa", + "A\u014bp\u00e9tuzapta\u014b", + "Ow\u00e1\u014bgyu\u017ea\u017eapi" + ], + "MONTH": [ + "Wi\u00f3the\u021fika W\u00ed", + "Thiy\u00f3\u021feyu\u014bka W\u00ed", + "I\u0161t\u00e1wi\u010dhayaza\u014b W\u00ed", + "P\u021fe\u017e\u00edt\u021fo W\u00ed", + "\u010cha\u014bw\u00e1pet\u021fo W\u00ed", + "W\u00edpazuk\u021fa-wa\u0161t\u00e9 W\u00ed", + "\u010cha\u014bp\u021f\u00e1sapa W\u00ed", + "Was\u00fat\u021fu\u014b W\u00ed", + "\u010cha\u014bw\u00e1pe\u01e7i W\u00ed", + "\u010cha\u014bw\u00e1pe-kasn\u00e1 W\u00ed", + "Wan\u00edyetu W\u00ed", + "T\u021fah\u00e9kap\u0161u\u014b W\u00ed" + ], + "SHORTDAY": [ + "A\u014bp\u00e9tuwak\u021fa\u014b", + "A\u014bp\u00e9tuwa\u014b\u017ei", + "A\u014bp\u00e9tunu\u014bpa", + "A\u014bp\u00e9tuyamni", + "A\u014bp\u00e9tutopa", + "A\u014bp\u00e9tuzapta\u014b", + "Ow\u00e1\u014bgyu\u017ea\u017eapi" + ], + "SHORTMONTH": [ + "Wi\u00f3the\u021fika W\u00ed", + "Thiy\u00f3\u021feyu\u014bka W\u00ed", + "I\u0161t\u00e1wi\u010dhayaza\u014b W\u00ed", + "P\u021fe\u017e\u00edt\u021fo W\u00ed", + "\u010cha\u014bw\u00e1pet\u021fo W\u00ed", + "W\u00edpazuk\u021fa-wa\u0161t\u00e9 W\u00ed", + "\u010cha\u014bp\u021f\u00e1sapa W\u00ed", + "Was\u00fat\u021fu\u014b W\u00ed", + "\u010cha\u014bw\u00e1pe\u01e7i W\u00ed", + "\u010cha\u014bw\u00e1pe-kasn\u00e1 W\u00ed", + "Wan\u00edyetu W\u00ed", + "T\u021fah\u00e9kap\u0161u\u014b W\u00ed" + ], + "fullDate": "EEEE, MMMM d, y", + "longDate": "MMMM d, y", + "medium": "MMM d, y h:mm:ss a", + "mediumDate": "MMM d, y", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "lkt-us", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lkt.js b/public/app/bower_components/angular-i18n/angular-locale_lkt.js new file mode 100644 index 00000000..f29695fa --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_lkt.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "A\u014bp\u00e9tuwak\u021fa\u014b", + "A\u014bp\u00e9tuwa\u014b\u017ei", + "A\u014bp\u00e9tunu\u014bpa", + "A\u014bp\u00e9tuyamni", + "A\u014bp\u00e9tutopa", + "A\u014bp\u00e9tuzapta\u014b", + "Ow\u00e1\u014bgyu\u017ea\u017eapi" + ], + "MONTH": [ + "Wi\u00f3the\u021fika W\u00ed", + "Thiy\u00f3\u021feyu\u014bka W\u00ed", + "I\u0161t\u00e1wi\u010dhayaza\u014b W\u00ed", + "P\u021fe\u017e\u00edt\u021fo W\u00ed", + "\u010cha\u014bw\u00e1pet\u021fo W\u00ed", + "W\u00edpazuk\u021fa-wa\u0161t\u00e9 W\u00ed", + "\u010cha\u014bp\u021f\u00e1sapa W\u00ed", + "Was\u00fat\u021fu\u014b W\u00ed", + "\u010cha\u014bw\u00e1pe\u01e7i W\u00ed", + "\u010cha\u014bw\u00e1pe-kasn\u00e1 W\u00ed", + "Wan\u00edyetu W\u00ed", + "T\u021fah\u00e9kap\u0161u\u014b W\u00ed" + ], + "SHORTDAY": [ + "A\u014bp\u00e9tuwak\u021fa\u014b", + "A\u014bp\u00e9tuwa\u014b\u017ei", + "A\u014bp\u00e9tunu\u014bpa", + "A\u014bp\u00e9tuyamni", + "A\u014bp\u00e9tutopa", + "A\u014bp\u00e9tuzapta\u014b", + "Ow\u00e1\u014bgyu\u017ea\u017eapi" + ], + "SHORTMONTH": [ + "Wi\u00f3the\u021fika W\u00ed", + "Thiy\u00f3\u021feyu\u014bka W\u00ed", + "I\u0161t\u00e1wi\u010dhayaza\u014b W\u00ed", + "P\u021fe\u017e\u00edt\u021fo W\u00ed", + "\u010cha\u014bw\u00e1pet\u021fo W\u00ed", + "W\u00edpazuk\u021fa-wa\u0161t\u00e9 W\u00ed", + "\u010cha\u014bp\u021f\u00e1sapa W\u00ed", + "Was\u00fat\u021fu\u014b W\u00ed", + "\u010cha\u014bw\u00e1pe\u01e7i W\u00ed", + "\u010cha\u014bw\u00e1pe-kasn\u00e1 W\u00ed", + "Wan\u00edyetu W\u00ed", + "T\u021fah\u00e9kap\u0161u\u014b W\u00ed" + ], + "fullDate": "EEEE, MMMM d, y", + "longDate": "MMMM d, y", + "medium": "MMM d, y h:mm:ss a", + "mediumDate": "MMM d, y", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "lkt", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ln-ao.js b/public/app/bower_components/angular-i18n/angular-locale_ln-ao.js index 9a4a355d..56f02f60 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ln-ao.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ln-ao.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "FrCD", + "CURRENCY_SYM": "Kz", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ln-cd.js b/public/app/bower_components/angular-i18n/angular-locale_ln-cd.js index 51a45ed0..85343352 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ln-cd.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ln-cd.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "d/M/yyyy HH:mm", - "shortDate": "d/M/yyyy", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "ln-cd", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n >= 0 && n <= 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ln-cf.js b/public/app/bower_components/angular-i18n/angular-locale_ln-cf.js index b04cad9d..62ae7b7b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ln-cf.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ln-cf.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "FrCD", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ln-cg.js b/public/app/bower_components/angular-i18n/angular-locale_ln-cg.js index 6095d33c..8994010a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ln-cg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ln-cg.js @@ -58,19 +58,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "d/M/yyyy HH:mm", - "shortDate": "d/M/yyyy", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "FrCD", + "CURRENCY_SYM": "FCFA", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "ln-cg", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n >= 0 && n <= 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ln.js b/public/app/bower_components/angular-i18n/angular-locale_ln.js index 0f2bb5f5..8e67c293 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ln.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ln.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "d/M/yyyy HH:mm", - "shortDate": "d/M/yyyy", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "ln", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n >= 0 && n <= 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lo-la.js b/public/app/bower_components/angular-i18n/angular-locale_lo-la.js index 4cb69609..6c33db09 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_lo-la.js +++ b/public/app/bower_components/angular-i18n/angular-locale_lo-la.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_lo.js b/public/app/bower_components/angular-i18n/angular-locale_lo.js index 6c620055..7de939e9 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_lo.js +++ b/public/app/bower_components/angular-i18n/angular-locale_lo.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_lt-lt.js b/public/app/bower_components/angular-i18n/angular-locale_lt-lt.js index 0b84931a..05573e46 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_lt-lt.js +++ b/public/app/bower_components/angular-i18n/angular-locale_lt-lt.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -17,7 +35,7 @@ $provide.value("$locale", { "\u0161e\u0161tadienis" ], "MONTH": [ - "sausio", + "sausis", "vasaris", "kovas", "balandis", @@ -31,35 +49,35 @@ $provide.value("$locale", { "gruodis" ], "SHORTDAY": [ - "Sk", - "Pr", - "An", - "Tr", - "Kt", - "Pn", - "\u0160t" + "sk", + "pr", + "an", + "tr", + "kt", + "pn", + "\u0161t" ], "SHORTMONTH": [ - "Saus.", - "Vas", - "Kov.", - "Bal.", - "Geg.", - "Bir.", - "Liep.", - "Rugp.", - "Rugs.", - "Spal.", - "Lapkr.", - "Gruod." + "saus.", + "vas.", + "kov.", + "bal.", + "geg.", + "bir\u017e.", + "liep.", + "rugp.", + "rugs.", + "spal.", + "lapkr.", + "gruod." ], "fullDate": "y 'm'. MMMM d 'd'., EEEE", "longDate": "y 'm'. MMMM d 'd'.", "medium": "y MMM d HH:mm:ss", "mediumDate": "y MMM d", "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "lt-lt", - "pluralCat": function (n) { if (n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var vf = getVF(n, opt_precision); if (n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) { return PLURAL_CATEGORY.ONE; } if (n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) { return PLURAL_CATEGORY.FEW; } if (vf.f != 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lt.js b/public/app/bower_components/angular-i18n/angular-locale_lt.js index c0d3c0a1..f50231a0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_lt.js +++ b/public/app/bower_components/angular-i18n/angular-locale_lt.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -17,7 +35,7 @@ $provide.value("$locale", { "\u0161e\u0161tadienis" ], "MONTH": [ - "sausio", + "sausis", "vasaris", "kovas", "balandis", @@ -31,35 +49,35 @@ $provide.value("$locale", { "gruodis" ], "SHORTDAY": [ - "Sk", - "Pr", - "An", - "Tr", - "Kt", - "Pn", - "\u0160t" + "sk", + "pr", + "an", + "tr", + "kt", + "pn", + "\u0161t" ], "SHORTMONTH": [ - "Saus.", - "Vas", - "Kov.", - "Bal.", - "Geg.", - "Bir.", - "Liep.", - "Rugp.", - "Rugs.", - "Spal.", - "Lapkr.", - "Gruod." + "saus.", + "vas.", + "kov.", + "bal.", + "geg.", + "bir\u017e.", + "liep.", + "rugp.", + "rugs.", + "spal.", + "lapkr.", + "gruod." ], "fullDate": "y 'm'. MMMM d 'd'., EEEE", "longDate": "y 'm'. MMMM d 'd'.", "medium": "y MMM d HH:mm:ss", "mediumDate": "y MMM d", "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "lt", - "pluralCat": function (n) { if (n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var vf = getVF(n, opt_precision); if (n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) { return PLURAL_CATEGORY.ONE; } if (n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) { return PLURAL_CATEGORY.FEW; } if (vf.f != 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lu-cd.js b/public/app/bower_components/angular-i18n/angular-locale_lu-cd.js new file mode 100644 index 00000000..a4d80188 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_lu-cd.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Dinda", + "Dilolo" + ], + "DAY": [ + "Lumingu", + "Nkodya", + "Nd\u00e0ay\u00e0", + "Ndang\u00f9", + "Nj\u00f2wa", + "Ng\u00f2vya", + "Lubingu" + ], + "MONTH": [ + "Ciongo", + "L\u00f9ishi", + "Lus\u00f2lo", + "M\u00f9uy\u00e0", + "Lum\u00f9ng\u00f9l\u00f9", + "Lufuimi", + "Kab\u00e0l\u00e0sh\u00ecp\u00f9", + "L\u00f9sh\u00eck\u00e0", + "Lutongolo", + "Lung\u00f9di", + "Kasw\u00e8k\u00e8s\u00e8", + "Cisw\u00e0" + ], + "SHORTDAY": [ + "Lum", + "Nko", + "Ndy", + "Ndg", + "Njw", + "Ngv", + "Lub" + ], + "SHORTMONTH": [ + "Cio", + "Lui", + "Lus", + "Muu", + "Lum", + "Luf", + "Kab", + "Lush", + "Lut", + "Lun", + "Kas", + "Cis" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FrCD", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "lu-cd", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lu.js b/public/app/bower_components/angular-i18n/angular-locale_lu.js new file mode 100644 index 00000000..e1728060 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_lu.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Dinda", + "Dilolo" + ], + "DAY": [ + "Lumingu", + "Nkodya", + "Nd\u00e0ay\u00e0", + "Ndang\u00f9", + "Nj\u00f2wa", + "Ng\u00f2vya", + "Lubingu" + ], + "MONTH": [ + "Ciongo", + "L\u00f9ishi", + "Lus\u00f2lo", + "M\u00f9uy\u00e0", + "Lum\u00f9ng\u00f9l\u00f9", + "Lufuimi", + "Kab\u00e0l\u00e0sh\u00ecp\u00f9", + "L\u00f9sh\u00eck\u00e0", + "Lutongolo", + "Lung\u00f9di", + "Kasw\u00e8k\u00e8s\u00e8", + "Cisw\u00e0" + ], + "SHORTDAY": [ + "Lum", + "Nko", + "Ndy", + "Ndg", + "Njw", + "Ngv", + "Lub" + ], + "SHORTMONTH": [ + "Cio", + "Lui", + "Lus", + "Muu", + "Lum", + "Luf", + "Kab", + "Lush", + "Lut", + "Lun", + "Kas", + "Cis" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FrCD", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "lu", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_luo-ke.js b/public/app/bower_components/angular-i18n/angular-locale_luo-ke.js new file mode 100644 index 00000000..7d9dcf59 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_luo-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "OD", + "OT" + ], + "DAY": [ + "Jumapil", + "Wuok Tich", + "Tich Ariyo", + "Tich Adek", + "Tich Ang'wen", + "Tich Abich", + "Ngeso" + ], + "MONTH": [ + "Dwe mar Achiel", + "Dwe mar Ariyo", + "Dwe mar Adek", + "Dwe mar Ang'wen", + "Dwe mar Abich", + "Dwe mar Auchiel", + "Dwe mar Abiriyo", + "Dwe mar Aboro", + "Dwe mar Ochiko", + "Dwe mar Apar", + "Dwe mar gi achiel", + "Dwe mar Apar gi ariyo" + ], + "SHORTDAY": [ + "JMP", + "WUT", + "TAR", + "TAD", + "TAN", + "TAB", + "NGS" + ], + "SHORTMONTH": [ + "DAC", + "DAR", + "DAD", + "DAN", + "DAH", + "DAU", + "DAO", + "DAB", + "DOC", + "DAP", + "DGI", + "DAG" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "luo-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_luo.js b/public/app/bower_components/angular-i18n/angular-locale_luo.js new file mode 100644 index 00000000..a5982dda --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_luo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "OD", + "OT" + ], + "DAY": [ + "Jumapil", + "Wuok Tich", + "Tich Ariyo", + "Tich Adek", + "Tich Ang'wen", + "Tich Abich", + "Ngeso" + ], + "MONTH": [ + "Dwe mar Achiel", + "Dwe mar Ariyo", + "Dwe mar Adek", + "Dwe mar Ang'wen", + "Dwe mar Abich", + "Dwe mar Auchiel", + "Dwe mar Abiriyo", + "Dwe mar Aboro", + "Dwe mar Ochiko", + "Dwe mar Apar", + "Dwe mar gi achiel", + "Dwe mar Apar gi ariyo" + ], + "SHORTDAY": [ + "JMP", + "WUT", + "TAR", + "TAD", + "TAN", + "TAB", + "NGS" + ], + "SHORTMONTH": [ + "DAC", + "DAR", + "DAD", + "DAN", + "DAH", + "DAU", + "DAO", + "DAB", + "DOC", + "DAP", + "DGI", + "DAG" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "luo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_luy-ke.js b/public/app/bower_components/angular-i18n/angular-locale_luy-ke.js new file mode 100644 index 00000000..0585168f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_luy-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.m.", + "p.m." + ], + "DAY": [ + "Jumapiri", + "Jumatatu", + "Jumanne", + "Jumatano", + "Murwa wa Kanne", + "Murwa wa Katano", + "Jumamosi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Aprili", + "Mei", + "Juni", + "Julai", + "Agosti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "J2", + "J3", + "J4", + "J5", + "Al", + "Ij", + "J1" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mar", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-\u00a0", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "luy-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_luy.js b/public/app/bower_components/angular-i18n/angular-locale_luy.js new file mode 100644 index 00000000..0531f5ae --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_luy.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "a.m.", + "p.m." + ], + "DAY": [ + "Jumapiri", + "Jumatatu", + "Jumanne", + "Jumatano", + "Murwa wa Kanne", + "Murwa wa Katano", + "Jumamosi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Aprili", + "Mei", + "Juni", + "Julai", + "Agosti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "J2", + "J3", + "J4", + "J5", + "Al", + "Ij", + "J1" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mar", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-\u00a0", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "luy", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lv-lv.js b/public/app/bower_components/angular-i18n/angular-locale_lv-lv.js index 4bcfced6..a79fb874 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_lv-lv.js +++ b/public/app/bower_components/angular-i18n/angular-locale_lv-lv.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "Ls", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "lv-lv", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var vf = getVF(n, opt_precision); if (n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19 || vf.v == 2 && vf.f % 100 >= 11 && vf.f % 100 <= 19) { return PLURAL_CATEGORY.ZERO; } if (n % 10 == 1 && n % 100 != 11 || vf.v == 2 && vf.f % 10 == 1 && vf.f % 100 != 11 || vf.v != 2 && vf.f % 10 == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_lv.js b/public/app/bower_components/angular-i18n/angular-locale_lv.js index 56ec0492..26968f9c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_lv.js +++ b/public/app/bower_components/angular-i18n/angular-locale_lv.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "Ls", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "lv", - "pluralCat": function (n) { if (n == 0) { return PLURAL_CATEGORY.ZERO; } if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var vf = getVF(n, opt_precision); if (n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19 || vf.v == 2 && vf.f % 100 >= 11 && vf.f % 100 <= 19) { return PLURAL_CATEGORY.ZERO; } if (n % 10 == 1 && n % 100 != 11 || vf.v == 2 && vf.f % 10 == 1 && vf.f % 100 != 11 || vf.v != 2 && vf.f % 10 == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mas-ke.js b/public/app/bower_components/angular-i18n/angular-locale_mas-ke.js new file mode 100644 index 00000000..75de99cd --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mas-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0190nkak\u025bny\u00e1", + "\u0190nd\u00e1m\u00e2" + ], + "DAY": [ + "Jumap\u00edl\u00ed", + "Jumat\u00e1tu", + "Jumane", + "Jumat\u00e1n\u0254", + "Ala\u00e1misi", + "Jum\u00e1a", + "Jumam\u00f3si" + ], + "MONTH": [ + "Oladal\u0289\u0301", + "Ar\u00e1t", + "\u0186\u025bn\u0268\u0301\u0254\u0268\u014b\u0254k", + "Olodoy\u00ed\u00f3r\u00ed\u00ea ink\u00f3k\u00fa\u00e2", + "Oloil\u00e9p\u016bny\u012b\u0113 ink\u00f3k\u00fa\u00e2", + "K\u00faj\u00fa\u0254r\u0254k", + "M\u00f3rus\u00e1sin", + "\u0186l\u0254\u0301\u0268\u0301b\u0254\u0301r\u00e1r\u025b", + "K\u00fash\u00een", + "Olg\u00edsan", + "P\u0289sh\u0289\u0301ka", + "Nt\u0289\u0301\u014b\u0289\u0301s" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Dal", + "Ar\u00e1", + "\u0186\u025bn", + "Doy", + "L\u00e9p", + "Rok", + "S\u00e1s", + "B\u0254\u0301r", + "K\u00fas", + "G\u00eds", + "Sh\u0289\u0301", + "Nt\u0289\u0301" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "mas-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mas-tz.js b/public/app/bower_components/angular-i18n/angular-locale_mas-tz.js new file mode 100644 index 00000000..5dcd6b50 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mas-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0190nkak\u025bny\u00e1", + "\u0190nd\u00e1m\u00e2" + ], + "DAY": [ + "Jumap\u00edl\u00ed", + "Jumat\u00e1tu", + "Jumane", + "Jumat\u00e1n\u0254", + "Ala\u00e1misi", + "Jum\u00e1a", + "Jumam\u00f3si" + ], + "MONTH": [ + "Oladal\u0289\u0301", + "Ar\u00e1t", + "\u0186\u025bn\u0268\u0301\u0254\u0268\u014b\u0254k", + "Olodoy\u00ed\u00f3r\u00ed\u00ea ink\u00f3k\u00fa\u00e2", + "Oloil\u00e9p\u016bny\u012b\u0113 ink\u00f3k\u00fa\u00e2", + "K\u00faj\u00fa\u0254r\u0254k", + "M\u00f3rus\u00e1sin", + "\u0186l\u0254\u0301\u0268\u0301b\u0254\u0301r\u00e1r\u025b", + "K\u00fash\u00een", + "Olg\u00edsan", + "P\u0289sh\u0289\u0301ka", + "Nt\u0289\u0301\u014b\u0289\u0301s" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Dal", + "Ar\u00e1", + "\u0186\u025bn", + "Doy", + "L\u00e9p", + "Rok", + "S\u00e1s", + "B\u0254\u0301r", + "K\u00fas", + "G\u00eds", + "Sh\u0289\u0301", + "Nt\u0289\u0301" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "mas-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mas.js b/public/app/bower_components/angular-i18n/angular-locale_mas.js new file mode 100644 index 00000000..cf989749 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mas.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0190nkak\u025bny\u00e1", + "\u0190nd\u00e1m\u00e2" + ], + "DAY": [ + "Jumap\u00edl\u00ed", + "Jumat\u00e1tu", + "Jumane", + "Jumat\u00e1n\u0254", + "Ala\u00e1misi", + "Jum\u00e1a", + "Jumam\u00f3si" + ], + "MONTH": [ + "Oladal\u0289\u0301", + "Ar\u00e1t", + "\u0186\u025bn\u0268\u0301\u0254\u0268\u014b\u0254k", + "Olodoy\u00ed\u00f3r\u00ed\u00ea ink\u00f3k\u00fa\u00e2", + "Oloil\u00e9p\u016bny\u012b\u0113 ink\u00f3k\u00fa\u00e2", + "K\u00faj\u00fa\u0254r\u0254k", + "M\u00f3rus\u00e1sin", + "\u0186l\u0254\u0301\u0268\u0301b\u0254\u0301r\u00e1r\u025b", + "K\u00fash\u00een", + "Olg\u00edsan", + "P\u0289sh\u0289\u0301ka", + "Nt\u0289\u0301\u014b\u0289\u0301s" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Dal", + "Ar\u00e1", + "\u0186\u025bn", + "Doy", + "L\u00e9p", + "Rok", + "S\u00e1s", + "B\u0254\u0301r", + "K\u00fas", + "G\u00eds", + "Sh\u0289\u0301", + "Nt\u0289\u0301" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "mas", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mer-ke.js b/public/app/bower_components/angular-i18n/angular-locale_mer-ke.js new file mode 100644 index 00000000..0831eaa2 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mer-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "R\u0168", + "\u0168G" + ], + "DAY": [ + "Kiumia", + "Muramuko", + "Wairi", + "Wethatu", + "Wena", + "Wetano", + "Jumamosi" + ], + "MONTH": [ + "Januar\u0129", + "Feburuar\u0129", + "Machi", + "\u0128pur\u0169", + "M\u0129\u0129", + "Njuni", + "Njura\u0129", + "Agasti", + "Septemba", + "Okt\u0169ba", + "Novemba", + "Dicemba" + ], + "SHORTDAY": [ + "KIU", + "MRA", + "WAI", + "WET", + "WEN", + "WTN", + "JUM" + ], + "SHORTMONTH": [ + "JAN", + "FEB", + "MAC", + "\u0128PU", + "M\u0128\u0128", + "NJU", + "NJR", + "AGA", + "SPT", + "OKT", + "NOV", + "DEC" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "mer-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mer.js b/public/app/bower_components/angular-i18n/angular-locale_mer.js new file mode 100644 index 00000000..8d47efc5 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mer.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "R\u0168", + "\u0168G" + ], + "DAY": [ + "Kiumia", + "Muramuko", + "Wairi", + "Wethatu", + "Wena", + "Wetano", + "Jumamosi" + ], + "MONTH": [ + "Januar\u0129", + "Feburuar\u0129", + "Machi", + "\u0128pur\u0169", + "M\u0129\u0129", + "Njuni", + "Njura\u0129", + "Agasti", + "Septemba", + "Okt\u0169ba", + "Novemba", + "Dicemba" + ], + "SHORTDAY": [ + "KIU", + "MRA", + "WAI", + "WET", + "WEN", + "WTN", + "JUM" + ], + "SHORTMONTH": [ + "JAN", + "FEB", + "MAC", + "\u0128PU", + "M\u0128\u0128", + "NJU", + "NJR", + "AGA", + "SPT", + "OKT", + "NOV", + "DEC" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "mer", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mfe-mu.js b/public/app/bower_components/angular-i18n/angular-locale_mfe-mu.js new file mode 100644 index 00000000..c2b6d370 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mfe-mu.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "dimans", + "lindi", + "mardi", + "merkredi", + "zedi", + "vandredi", + "samdi" + ], + "MONTH": [ + "zanvie", + "fevriye", + "mars", + "avril", + "me", + "zin", + "zilye", + "out", + "septam", + "oktob", + "novam", + "desam" + ], + "SHORTDAY": [ + "dim", + "lin", + "mar", + "mer", + "ze", + "van", + "sam" + ], + "SHORTMONTH": [ + "zan", + "fev", + "mar", + "avr", + "me", + "zin", + "zil", + "out", + "sep", + "okt", + "nov", + "des" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "MURs", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "mfe-mu", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mfe.js b/public/app/bower_components/angular-i18n/angular-locale_mfe.js new file mode 100644 index 00000000..d125b5af --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mfe.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "dimans", + "lindi", + "mardi", + "merkredi", + "zedi", + "vandredi", + "samdi" + ], + "MONTH": [ + "zanvie", + "fevriye", + "mars", + "avril", + "me", + "zin", + "zilye", + "out", + "septam", + "oktob", + "novam", + "desam" + ], + "SHORTDAY": [ + "dim", + "lin", + "mar", + "mer", + "ze", + "van", + "sam" + ], + "SHORTMONTH": [ + "zan", + "fev", + "mar", + "avr", + "me", + "zin", + "zil", + "out", + "sep", + "okt", + "nov", + "des" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "MURs", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "mfe", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mg-mg.js b/public/app/bower_components/angular-i18n/angular-locale_mg-mg.js new file mode 100644 index 00000000..1a92137e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mg-mg.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Alahady", + "Alatsinainy", + "Talata", + "Alarobia", + "Alakamisy", + "Zoma", + "Asabotsy" + ], + "MONTH": [ + "Janoary", + "Febroary", + "Martsa", + "Aprily", + "Mey", + "Jona", + "Jolay", + "Aogositra", + "Septambra", + "Oktobra", + "Novambra", + "Desambra" + ], + "SHORTDAY": [ + "Alah", + "Alats", + "Tal", + "Alar", + "Alak", + "Zom", + "Asab" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mar", + "Apr", + "Mey", + "Jon", + "Jol", + "Aog", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ar", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "mg-mg", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mg.js b/public/app/bower_components/angular-i18n/angular-locale_mg.js new file mode 100644 index 00000000..07b87bb1 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mg.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Alahady", + "Alatsinainy", + "Talata", + "Alarobia", + "Alakamisy", + "Zoma", + "Asabotsy" + ], + "MONTH": [ + "Janoary", + "Febroary", + "Martsa", + "Aprily", + "Mey", + "Jona", + "Jolay", + "Aogositra", + "Septambra", + "Oktobra", + "Novambra", + "Desambra" + ], + "SHORTDAY": [ + "Alah", + "Alats", + "Tal", + "Alar", + "Alak", + "Zom", + "Asab" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mar", + "Apr", + "Mey", + "Jon", + "Jol", + "Aog", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ar", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "mg", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mgh-mz.js b/public/app/bower_components/angular-i18n/angular-locale_mgh-mz.js new file mode 100644 index 00000000..77e35b66 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mgh-mz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "wichishu", + "mchochil'l" + ], + "DAY": [ + "Sabato", + "Jumatatu", + "Jumanne", + "Jumatano", + "Arahamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Mweri wo kwanza", + "Mweri wo unayeli", + "Mweri wo uneraru", + "Mweri wo unecheshe", + "Mweri wo unethanu", + "Mweri wo thanu na mocha", + "Mweri wo saba", + "Mweri wo nane", + "Mweri wo tisa", + "Mweri wo kumi", + "Mweri wo kumi na moja", + "Mweri wo kumi na yel'li" + ], + "SHORTDAY": [ + "Sab", + "Jtt", + "Jnn", + "Jtn", + "Ara", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Kwa", + "Una", + "Rar", + "Che", + "Tha", + "Moc", + "Sab", + "Nan", + "Tis", + "Kum", + "Moj", + "Yel" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "MTn", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "mgh-mz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mgh.js b/public/app/bower_components/angular-i18n/angular-locale_mgh.js new file mode 100644 index 00000000..bd637858 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mgh.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "wichishu", + "mchochil'l" + ], + "DAY": [ + "Sabato", + "Jumatatu", + "Jumanne", + "Jumatano", + "Arahamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Mweri wo kwanza", + "Mweri wo unayeli", + "Mweri wo uneraru", + "Mweri wo unecheshe", + "Mweri wo unethanu", + "Mweri wo thanu na mocha", + "Mweri wo saba", + "Mweri wo nane", + "Mweri wo tisa", + "Mweri wo kumi", + "Mweri wo kumi na moja", + "Mweri wo kumi na yel'li" + ], + "SHORTDAY": [ + "Sab", + "Jtt", + "Jnn", + "Jtn", + "Ara", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Kwa", + "Una", + "Rar", + "Che", + "Tha", + "Moc", + "Sab", + "Nan", + "Tis", + "Kum", + "Moj", + "Yel" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "MTn", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "mgh", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mgo-cm.js b/public/app/bower_components/angular-i18n/angular-locale_mgo-cm.js new file mode 100644 index 00000000..6ba97698 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mgo-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Aneg 1", + "Aneg 2", + "Aneg 3", + "Aneg 4", + "Aneg 5", + "Aneg 6", + "Aneg 7" + ], + "MONTH": [ + "im\u0259g mbegtug", + "imeg \u00e0b\u00f9b\u00ec", + "imeg mb\u0259\u014bchubi", + "im\u0259g ngw\u0259\u0300t", + "im\u0259g fog", + "im\u0259g ichiib\u0254d", + "im\u0259g \u00e0d\u00f9mb\u0259\u0300\u014b", + "im\u0259g ichika", + "im\u0259g kud", + "im\u0259g t\u00e8si\u02bce", + "im\u0259g z\u00f2", + "im\u0259g krizmed" + ], + "SHORTDAY": [ + "Aneg 1", + "Aneg 2", + "Aneg 3", + "Aneg 4", + "Aneg 5", + "Aneg 6", + "Aneg 7" + ], + "SHORTMONTH": [ + "mbegtug", + "imeg \u00e0b\u00f9b\u00ec", + "imeg mb\u0259\u014bchubi", + "im\u0259g ngw\u0259\u0300t", + "im\u0259g fog", + "im\u0259g ichiib\u0254d", + "im\u0259g \u00e0d\u00f9mb\u0259\u0300\u014b", + "im\u0259g ichika", + "im\u0259g kud", + "im\u0259g t\u00e8si\u02bce", + "im\u0259g z\u00f2", + "im\u0259g krizmed" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "mgo-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mgo.js b/public/app/bower_components/angular-i18n/angular-locale_mgo.js new file mode 100644 index 00000000..8678d1cd --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mgo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Aneg 1", + "Aneg 2", + "Aneg 3", + "Aneg 4", + "Aneg 5", + "Aneg 6", + "Aneg 7" + ], + "MONTH": [ + "im\u0259g mbegtug", + "imeg \u00e0b\u00f9b\u00ec", + "imeg mb\u0259\u014bchubi", + "im\u0259g ngw\u0259\u0300t", + "im\u0259g fog", + "im\u0259g ichiib\u0254d", + "im\u0259g \u00e0d\u00f9mb\u0259\u0300\u014b", + "im\u0259g ichika", + "im\u0259g kud", + "im\u0259g t\u00e8si\u02bce", + "im\u0259g z\u00f2", + "im\u0259g krizmed" + ], + "SHORTDAY": [ + "Aneg 1", + "Aneg 2", + "Aneg 3", + "Aneg 4", + "Aneg 5", + "Aneg 6", + "Aneg 7" + ], + "SHORTMONTH": [ + "mbegtug", + "imeg \u00e0b\u00f9b\u00ec", + "imeg mb\u0259\u014bchubi", + "im\u0259g ngw\u0259\u0300t", + "im\u0259g fog", + "im\u0259g ichiib\u0254d", + "im\u0259g \u00e0d\u00f9mb\u0259\u0300\u014b", + "im\u0259g ichika", + "im\u0259g kud", + "im\u0259g t\u00e8si\u02bce", + "im\u0259g z\u00f2", + "im\u0259g krizmed" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "mgo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mk-mk.js b/public/app/bower_components/angular-i18n/angular-locale_mk-mk.js index f0dc5a5a..c8b99154 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_mk-mk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_mk-mk.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_mk.js b/public/app/bower_components/angular-i18n/angular-locale_mk.js index b34b4ecc..cff0b655 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_mk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_mk.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ml-in.js b/public/app/bower_components/angular-i18n/angular-locale_ml-in.js index 24641e2a..ccbfc2af 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ml-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ml-in.js @@ -4,37 +4,37 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "AM", + "PM" ], "DAY": [ - "\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a", - "\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a", + "\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u200c\u0d1a", + "\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u200c\u0d1a", "\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a", - "\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a", - "\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a", - "\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a", - "\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a" + "\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u200c\u0d1a", + "\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u200c\u0d1a", + "\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u200c\u0d1a", + "\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u200c\u0d1a" ], "MONTH": [ "\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f", "\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f", - "\u0d2e\u0d3e\u0d30\u0d4d\u200d\u0d1a\u0d4d\u0d1a\u0d4d", - "\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d32\u0d4d\u200d", + "\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d", + "\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d", "\u0d2e\u0d47\u0d2f\u0d4d", - "\u0d1c\u0d42\u0d23\u0d4d\u200d", + "\u0d1c\u0d42\u0d7a", "\u0d1c\u0d42\u0d32\u0d48", "\u0d06\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d", - "\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d30\u0d4d\u200d", - "\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d30\u0d4d\u200d", - "\u0d28\u0d35\u0d02\u0d2c\u0d30\u0d4d\u200d", - "\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d30\u0d4d\u200d" + "\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c", + "\u0d12\u0d15\u0d4d\u200c\u0d1f\u0d4b\u0d2c\u0d7c", + "\u0d28\u0d35\u0d02\u0d2c\u0d7c", + "\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c" ], "SHORTDAY": [ - "\u0d1e\u0d3e\u0d2f\u0d30\u0d4d\u200d", - "\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d4d\u200d", + "\u0d1e\u0d3e\u0d2f\u0d7c", + "\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e", "\u0d1a\u0d4a\u0d35\u0d4d\u0d35", - "\u0d2c\u0d41\u0d27\u0d28\u0d4d\u200d", + "\u0d2c\u0d41\u0d27\u0d7b", "\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02", "\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f", "\u0d36\u0d28\u0d3f" @@ -42,10 +42,10 @@ $provide.value("$locale", { "SHORTMONTH": [ "\u0d1c\u0d28\u0d41", "\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41", - "\u0d2e\u0d3e\u0d30\u0d4d\u200d", + "\u0d2e\u0d3e\u0d7c", "\u0d0f\u0d2a\u0d4d\u0d30\u0d3f", "\u0d2e\u0d47\u0d2f\u0d4d", - "\u0d1c\u0d42\u0d23\u0d4d\u200d", + "\u0d1c\u0d42\u0d7a", "\u0d1c\u0d42\u0d32\u0d48", "\u0d13\u0d17", "\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "ml-in", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ml.js b/public/app/bower_components/angular-i18n/angular-locale_ml.js index 2b61d307..5af4c966 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ml.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ml.js @@ -4,37 +4,37 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "AM", + "PM" ], "DAY": [ - "\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a", - "\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a", + "\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u200c\u0d1a", + "\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u200c\u0d1a", "\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a", - "\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a", - "\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a", - "\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a", - "\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a" + "\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u200c\u0d1a", + "\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u200c\u0d1a", + "\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u200c\u0d1a", + "\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u200c\u0d1a" ], "MONTH": [ "\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f", "\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f", - "\u0d2e\u0d3e\u0d30\u0d4d\u200d\u0d1a\u0d4d\u0d1a\u0d4d", - "\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d32\u0d4d\u200d", + "\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d", + "\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d", "\u0d2e\u0d47\u0d2f\u0d4d", - "\u0d1c\u0d42\u0d23\u0d4d\u200d", + "\u0d1c\u0d42\u0d7a", "\u0d1c\u0d42\u0d32\u0d48", "\u0d06\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d", - "\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d30\u0d4d\u200d", - "\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d30\u0d4d\u200d", - "\u0d28\u0d35\u0d02\u0d2c\u0d30\u0d4d\u200d", - "\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d30\u0d4d\u200d" + "\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c", + "\u0d12\u0d15\u0d4d\u200c\u0d1f\u0d4b\u0d2c\u0d7c", + "\u0d28\u0d35\u0d02\u0d2c\u0d7c", + "\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c" ], "SHORTDAY": [ - "\u0d1e\u0d3e\u0d2f\u0d30\u0d4d\u200d", - "\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d4d\u200d", + "\u0d1e\u0d3e\u0d2f\u0d7c", + "\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e", "\u0d1a\u0d4a\u0d35\u0d4d\u0d35", - "\u0d2c\u0d41\u0d27\u0d28\u0d4d\u200d", + "\u0d2c\u0d41\u0d27\u0d7b", "\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02", "\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f", "\u0d36\u0d28\u0d3f" @@ -42,10 +42,10 @@ $provide.value("$locale", { "SHORTMONTH": [ "\u0d1c\u0d28\u0d41", "\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41", - "\u0d2e\u0d3e\u0d30\u0d4d\u200d", + "\u0d2e\u0d3e\u0d7c", "\u0d0f\u0d2a\u0d4d\u0d30\u0d3f", "\u0d2e\u0d47\u0d2f\u0d4d", - "\u0d1c\u0d42\u0d23\u0d4d\u200d", + "\u0d1c\u0d42\u0d7a", "\u0d1c\u0d42\u0d32\u0d48", "\u0d13\u0d17", "\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "ml", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mn-cyrl-mn.js b/public/app/bower_components/angular-i18n/angular-locale_mn-cyrl-mn.js index 09ec6155..c883f1e8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_mn-cyrl-mn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_mn-cyrl-mn.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_mn-cyrl.js b/public/app/bower_components/angular-i18n/angular-locale_mn-cyrl.js index 94e04560..f43776b9 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_mn-cyrl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_mn-cyrl.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ae", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_mn.js b/public/app/bower_components/angular-i18n/angular-locale_mn.js index b7bf5a09..b6f988c8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_mn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_mn.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_mr-in.js b/public/app/bower_components/angular-i18n/angular-locale_mr-in.js index 8d5381ae..2bd8c402 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_mr-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_mr-in.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "[AM]", + "[PM]" ], "DAY": [ "\u0930\u0935\u093f\u0935\u093e\u0930", @@ -48,19 +48,19 @@ $provide.value("$locale", { "\u091c\u0942\u0928", "\u091c\u0941\u0932\u0948", "\u0911\u0917", - "\u0938\u0947\u092a\u094d\u091f\u0947\u0902", - "\u0911\u0915\u094d\u091f\u094b\u092c\u0930", + "\u0938\u092a\u094d\u091f\u0947\u0902", + "\u0911\u0915\u094d\u091f\u094b", "\u0928\u094b\u0935\u094d\u0939\u0947\u0902", "\u0921\u093f\u0938\u0947\u0902" ], - "fullDate": "EEEE d MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y h-mm-ss a", - "mediumDate": "d MMM y", - "mediumTime": "h-mm-ss a", - "short": "d-M-yy h-mm a", - "shortDate": "d-M-yy", - "shortTime": "h-mm a" + "fullDate": "EEEE, d MMMM, y", + "longDate": "d MMMM, y", + "medium": "d MMM, y h:mm:ss a", + "mediumDate": "d MMM, y", + "mediumTime": "h:mm:ss a", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20b9", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "mr-in", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mr.js b/public/app/bower_components/angular-i18n/angular-locale_mr.js index d9d91ba8..9962b64b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_mr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_mr.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "[AM]", + "[PM]" ], "DAY": [ "\u0930\u0935\u093f\u0935\u093e\u0930", @@ -48,19 +48,19 @@ $provide.value("$locale", { "\u091c\u0942\u0928", "\u091c\u0941\u0932\u0948", "\u0911\u0917", - "\u0938\u0947\u092a\u094d\u091f\u0947\u0902", - "\u0911\u0915\u094d\u091f\u094b\u092c\u0930", + "\u0938\u092a\u094d\u091f\u0947\u0902", + "\u0911\u0915\u094d\u091f\u094b", "\u0928\u094b\u0935\u094d\u0939\u0947\u0902", "\u0921\u093f\u0938\u0947\u0902" ], - "fullDate": "EEEE d MMMM y", - "longDate": "d MMMM y", - "medium": "d MMM y h-mm-ss a", - "mediumDate": "d MMM y", - "mediumTime": "h-mm-ss a", - "short": "d-M-yy h-mm a", - "shortDate": "d-M-yy", - "shortTime": "h-mm a" + "fullDate": "EEEE, d MMMM, y", + "longDate": "d MMMM, y", + "medium": "d MMM, y h:mm:ss a", + "mediumDate": "d MMM, y", + "mediumTime": "h:mm:ss a", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20b9", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "mr", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ms-latn-bn.js b/public/app/bower_components/angular-i18n/angular-locale_ms-latn-bn.js index 07e95561..faf99490 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ms-latn-bn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ms-latn-bn.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "RM", - "DECIMAL_SEP": ".", - "GROUP_SEP": ",", + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,13 +81,12 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4-", + "negPre": "\u00a4\u00a0-", "negSuf": "", - "posPre": "\u00a4", + "posPre": "\u00a4\u00a0", "posSuf": "" } ] diff --git a/public/app/bower_components/angular-i18n/angular-locale_ms-latn-my.js b/public/app/bower_components/angular-i18n/angular-locale_ms-latn-my.js index db95f9df..8a784bcf 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ms-latn-my.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ms-latn-my.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ms-latn-sg.js b/public/app/bower_components/angular-i18n/angular-locale_ms-latn-sg.js index 1a974eb8..1667051e 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ms-latn-sg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ms-latn-sg.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "RM", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ms-latn.js b/public/app/bower_components/angular-i18n/angular-locale_ms-latn.js index 3bf1cd69..45107c20 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ms-latn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ms-latn.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "RM", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ms.js b/public/app/bower_components/angular-i18n/angular-locale_ms.js index 4acdbffd..499e39d0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ms.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ms.js @@ -47,7 +47,7 @@ $provide.value("$locale", { "Mei", "Jun", "Jul", - "Ogos", + "Ogo", "Sep", "Okt", "Nov", @@ -55,8 +55,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d MMMM y", "longDate": "d MMMM y", - "medium": "dd/MM/yyyy h:mm:ss a", - "mediumDate": "dd/MM/yyyy", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", "short": "d/MM/yy h:mm a", "shortDate": "d/MM/yy", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "ms", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mt-mt.js b/public/app/bower_components/angular-i18n/angular-locale_mt-mt.js index 9ccf8b2e..7192e389 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_mt-mt.js +++ b/public/app/bower_components/angular-i18n/angular-locale_mt-mt.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "dd MMM y HH:mm:ss", "mediumDate": "dd MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yyyy HH:mm", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "mt-mt", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 0 || n == (n | 0) && n % 100 >= 2 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 19) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 0 || n % 100 >= 2 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 19) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mt.js b/public/app/bower_components/angular-i18n/angular-locale_mt.js index 753d21c3..8e753dcc 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_mt.js +++ b/public/app/bower_components/angular-i18n/angular-locale_mt.js @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "dd MMM y HH:mm:ss", "mediumDate": "dd MMM y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yyyy HH:mm", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "mt", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 0 || n == (n | 0) && n % 100 >= 2 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n == (n | 0) && n % 100 >= 11 && n % 100 <= 19) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 0 || n % 100 >= 2 && n % 100 <= 10) { return PLURAL_CATEGORY.FEW; } if (n % 100 >= 11 && n % 100 <= 19) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mua-cm.js b/public/app/bower_components/angular-i18n/angular-locale_mua-cm.js new file mode 100644 index 00000000..9db1b3ac --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mua-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "comme", + "lilli" + ], + "DAY": [ + "Com'yakke", + "Comlaa\u0257ii", + "Comzyii\u0257ii", + "Comkolle", + "Comkald\u01dd\u0253lii", + "Comgaisuu", + "Comzye\u0253suu" + ], + "MONTH": [ + "F\u0129i Loo", + "Cokcwakla\u014bne", + "Cokcwaklii", + "F\u0129i Marfoo", + "Mad\u01dd\u01dduut\u01ddbija\u014b", + "Mam\u01dd\u014bgw\u00e3afahbii", + "Mam\u01dd\u014bgw\u00e3alii", + "Mad\u01ddmbii", + "F\u0129i D\u01dd\u0253lii", + "F\u0129i Munda\u014b", + "F\u0129i Gwahlle", + "F\u0129i Yuru" + ], + "SHORTDAY": [ + "Cya", + "Cla", + "Czi", + "Cko", + "Cka", + "Cga", + "Cze" + ], + "SHORTMONTH": [ + "FLO", + "CLA", + "CKI", + "FMF", + "MAD", + "MBI", + "MLI", + "MAM", + "FDE", + "FMU", + "FGW", + "FYU" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "mua-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_mua.js b/public/app/bower_components/angular-i18n/angular-locale_mua.js new file mode 100644 index 00000000..c13b8368 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_mua.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "comme", + "lilli" + ], + "DAY": [ + "Com'yakke", + "Comlaa\u0257ii", + "Comzyii\u0257ii", + "Comkolle", + "Comkald\u01dd\u0253lii", + "Comgaisuu", + "Comzye\u0253suu" + ], + "MONTH": [ + "F\u0129i Loo", + "Cokcwakla\u014bne", + "Cokcwaklii", + "F\u0129i Marfoo", + "Mad\u01dd\u01dduut\u01ddbija\u014b", + "Mam\u01dd\u014bgw\u00e3afahbii", + "Mam\u01dd\u014bgw\u00e3alii", + "Mad\u01ddmbii", + "F\u0129i D\u01dd\u0253lii", + "F\u0129i Munda\u014b", + "F\u0129i Gwahlle", + "F\u0129i Yuru" + ], + "SHORTDAY": [ + "Cya", + "Cla", + "Czi", + "Cko", + "Cka", + "Cga", + "Cze" + ], + "SHORTMONTH": [ + "FLO", + "CLA", + "CKI", + "FMF", + "MAD", + "MBI", + "MLI", + "MAM", + "FDE", + "FMU", + "FGW", + "FYU" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "mua", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_my-mm.js b/public/app/bower_components/angular-i18n/angular-locale_my-mm.js index d0ae5646..e70271ae 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_my-mm.js +++ b/public/app/bower_components/angular-i18n/angular-locale_my-mm.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_my.js b/public/app/bower_components/angular-i18n/angular-locale_my.js index 70048b91..91edcee5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_my.js +++ b/public/app/bower_components/angular-i18n/angular-locale_my.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_naq-na.js b/public/app/bower_components/angular-i18n/angular-locale_naq-na.js new file mode 100644 index 00000000..1bedcfbd --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_naq-na.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u01c1goagas", + "\u01c3uias" + ], + "DAY": [ + "Sontaxtsees", + "Mantaxtsees", + "Denstaxtsees", + "Wunstaxtsees", + "Dondertaxtsees", + "Fraitaxtsees", + "Satertaxtsees" + ], + "MONTH": [ + "\u01c3Khanni", + "\u01c3Khan\u01c0g\u00f4ab", + "\u01c0Khuu\u01c1kh\u00e2b", + "\u01c3H\u00f4a\u01c2khaib", + "\u01c3Khaits\u00e2b", + "Gama\u01c0aeb", + "\u01c2Khoesaob", + "Ao\u01c1khuum\u00fb\u01c1kh\u00e2b", + "Tara\u01c0khuum\u00fb\u01c1kh\u00e2b", + "\u01c2N\u00fb\u01c1n\u00e2iseb", + "\u01c0Hoo\u01c2gaeb", + "H\u00f4asore\u01c1kh\u00e2b" + ], + "SHORTDAY": [ + "Son", + "Ma", + "De", + "Wu", + "Do", + "Fr", + "Sat" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "naq-na", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_naq.js b/public/app/bower_components/angular-i18n/angular-locale_naq.js new file mode 100644 index 00000000..ae6b4f10 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_naq.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u01c1goagas", + "\u01c3uias" + ], + "DAY": [ + "Sontaxtsees", + "Mantaxtsees", + "Denstaxtsees", + "Wunstaxtsees", + "Dondertaxtsees", + "Fraitaxtsees", + "Satertaxtsees" + ], + "MONTH": [ + "\u01c3Khanni", + "\u01c3Khan\u01c0g\u00f4ab", + "\u01c0Khuu\u01c1kh\u00e2b", + "\u01c3H\u00f4a\u01c2khaib", + "\u01c3Khaits\u00e2b", + "Gama\u01c0aeb", + "\u01c2Khoesaob", + "Ao\u01c1khuum\u00fb\u01c1kh\u00e2b", + "Tara\u01c0khuum\u00fb\u01c1kh\u00e2b", + "\u01c2N\u00fb\u01c1n\u00e2iseb", + "\u01c0Hoo\u01c2gaeb", + "H\u00f4asore\u01c1kh\u00e2b" + ], + "SHORTDAY": [ + "Son", + "Ma", + "De", + "Wu", + "Do", + "Fr", + "Sat" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "naq", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nb-no.js b/public/app/bower_components/angular-i18n/angular-locale_nb-no.js index 447ad6f0..e92c0d55 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nb-no.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nb-no.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_nb-sj.js b/public/app/bower_components/angular-i18n/angular-locale_nb-sj.js index 2203243b..cbf967b3 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nb-sj.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nb-sj.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_nb.js b/public/app/bower_components/angular-i18n/angular-locale_nb.js index ae84faf2..8bbc42c3 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nb.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nb.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_nd-zw.js b/public/app/bower_components/angular-i18n/angular-locale_nd-zw.js new file mode 100644 index 00000000..493a8504 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nd-zw.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sonto", + "Mvulo", + "Sibili", + "Sithathu", + "Sine", + "Sihlanu", + "Mgqibelo" + ], + "MONTH": [ + "Zibandlela", + "Nhlolanja", + "Mbimbitho", + "Mabasa", + "Nkwenkwezi", + "Nhlangula", + "Ntulikazi", + "Ncwabakazi", + "Mpandula", + "Mfumfu", + "Lwezi", + "Mpalakazi" + ], + "SHORTDAY": [ + "Son", + "Mvu", + "Sib", + "Sit", + "Sin", + "Sih", + "Mgq" + ], + "SHORTMONTH": [ + "Zib", + "Nhlo", + "Mbi", + "Mab", + "Nkw", + "Nhla", + "Ntu", + "Ncw", + "Mpan", + "Mfu", + "Lwe", + "Mpal" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "nd-zw", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nd.js b/public/app/bower_components/angular-i18n/angular-locale_nd.js new file mode 100644 index 00000000..a5139b34 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nd.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sonto", + "Mvulo", + "Sibili", + "Sithathu", + "Sine", + "Sihlanu", + "Mgqibelo" + ], + "MONTH": [ + "Zibandlela", + "Nhlolanja", + "Mbimbitho", + "Mabasa", + "Nkwenkwezi", + "Nhlangula", + "Ntulikazi", + "Ncwabakazi", + "Mpandula", + "Mfumfu", + "Lwezi", + "Mpalakazi" + ], + "SHORTDAY": [ + "Son", + "Mvu", + "Sib", + "Sit", + "Sin", + "Sih", + "Mgq" + ], + "SHORTMONTH": [ + "Zib", + "Nhlo", + "Mbi", + "Mab", + "Nkw", + "Nhla", + "Ntu", + "Ncw", + "Mpan", + "Mfu", + "Lwe", + "Mpal" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "nd", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ne-in.js b/public/app/bower_components/angular-i18n/angular-locale_ne-in.js index f25fd7d9..179192c6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ne-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ne-in.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "Rs", + "CURRENCY_SYM": "\u20b9", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ne-np.js b/public/app/bower_components/angular-i18n/angular-locale_ne-np.js index 54218adf..8469fcb3 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ne-np.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ne-np.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ne.js b/public/app/bower_components/angular-i18n/angular-locale_ne.js index 65ef902b..941cd3dd 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ne.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ne.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_nl-aw.js b/public/app/bower_components/angular-i18n/angular-locale_nl-aw.js index 171035b3..fc10dba7 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nl-aw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nl-aw.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "Afl.", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "nl-aw", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nl-be.js b/public/app/bower_components/angular-i18n/angular-locale_nl-be.js index 86158ab3..45de9c67 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nl-be.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nl-be.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0", - "negSuf": "-", - "posPre": "\u00a4\u00a0", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "nl-be", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nl-bq.js b/public/app/bower_components/angular-i18n/angular-locale_nl-bq.js index d4d36355..754fdbab 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nl-bq.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nl-bq.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_nl-cw.js b/public/app/bower_components/angular-i18n/angular-locale_nl-cw.js index c3351b32..41a530cc 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nl-cw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nl-cw.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "ANG", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "nl-cw", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nl-nl.js b/public/app/bower_components/angular-i18n/angular-locale_nl-nl.js index 3a3e9321..3ab4ba70 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nl-nl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nl-nl.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "nl-nl", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nl-sr.js b/public/app/bower_components/angular-i18n/angular-locale_nl-sr.js index a7ec605d..77bc4a1f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nl-sr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nl-sr.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_nl-sx.js b/public/app/bower_components/angular-i18n/angular-locale_nl-sx.js index a4eda9c2..1f1fbf9d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nl-sx.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nl-sx.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20ac", + "CURRENCY_SYM": "ANG", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "nl-sx", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nl.js b/public/app/bower_components/angular-i18n/angular-locale_nl.js index 955948cf..2e727961 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_nl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_nl.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "nl", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nmg-cm.js b/public/app/bower_components/angular-i18n/angular-locale_nmg-cm.js new file mode 100644 index 00000000..31c9c493 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nmg-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "man\u00e1", + "kug\u00fa" + ], + "DAY": [ + "s\u0254\u0301nd\u0254", + "m\u0254\u0301nd\u0254", + "s\u0254\u0301nd\u0254 maf\u00fa m\u00e1ba", + "s\u0254\u0301nd\u0254 maf\u00fa m\u00e1lal", + "s\u0254\u0301nd\u0254 maf\u00fa m\u00e1na", + "mab\u00e1g\u00e1 m\u00e1 sukul", + "s\u00e1sadi" + ], + "MONTH": [ + "ngw\u025bn mat\u00e1hra", + "ngw\u025bn \u0144mba", + "ngw\u025bn \u0144lal", + "ngw\u025bn \u0144na", + "ngw\u025bn \u0144tan", + "ngw\u025bn \u0144tu\u00f3", + "ngw\u025bn h\u025bmbu\u025br\u00ed", + "ngw\u025bn l\u0254mbi", + "ngw\u025bn r\u025bbvu\u00e2", + "ngw\u025bn wum", + "ngw\u025bn wum nav\u01d4r", + "kr\u00edsimin" + ], + "SHORTDAY": [ + "s\u0254\u0301n", + "m\u0254\u0301n", + "smb", + "sml", + "smn", + "mbs", + "sas" + ], + "SHORTMONTH": [ + "ng1", + "ng2", + "ng3", + "ng4", + "ng5", + "ng6", + "ng7", + "ng8", + "ng9", + "ng10", + "ng11", + "kris" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "nmg-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nmg.js b/public/app/bower_components/angular-i18n/angular-locale_nmg.js new file mode 100644 index 00000000..3efc3df9 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nmg.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "man\u00e1", + "kug\u00fa" + ], + "DAY": [ + "s\u0254\u0301nd\u0254", + "m\u0254\u0301nd\u0254", + "s\u0254\u0301nd\u0254 maf\u00fa m\u00e1ba", + "s\u0254\u0301nd\u0254 maf\u00fa m\u00e1lal", + "s\u0254\u0301nd\u0254 maf\u00fa m\u00e1na", + "mab\u00e1g\u00e1 m\u00e1 sukul", + "s\u00e1sadi" + ], + "MONTH": [ + "ngw\u025bn mat\u00e1hra", + "ngw\u025bn \u0144mba", + "ngw\u025bn \u0144lal", + "ngw\u025bn \u0144na", + "ngw\u025bn \u0144tan", + "ngw\u025bn \u0144tu\u00f3", + "ngw\u025bn h\u025bmbu\u025br\u00ed", + "ngw\u025bn l\u0254mbi", + "ngw\u025bn r\u025bbvu\u00e2", + "ngw\u025bn wum", + "ngw\u025bn wum nav\u01d4r", + "kr\u00edsimin" + ], + "SHORTDAY": [ + "s\u0254\u0301n", + "m\u0254\u0301n", + "smb", + "sml", + "smn", + "mbs", + "sas" + ], + "SHORTMONTH": [ + "ng1", + "ng2", + "ng3", + "ng4", + "ng5", + "ng6", + "ng7", + "ng8", + "ng9", + "ng10", + "ng11", + "kris" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "nmg", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nn-no.js b/public/app/bower_components/angular-i18n/angular-locale_nn-no.js new file mode 100644 index 00000000..ebabf758 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nn-no.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "formiddag", + "ettermiddag" + ], + "DAY": [ + "s\u00f8ndag", + "m\u00e5ndag", + "tysdag", + "onsdag", + "torsdag", + "fredag", + "laurdag" + ], + "MONTH": [ + "januar", + "februar", + "mars", + "april", + "mai", + "juni", + "juli", + "august", + "september", + "oktober", + "november", + "desember" + ], + "SHORTDAY": [ + "s\u00f8.", + "m\u00e5.", + "ty.", + "on.", + "to.", + "fr.", + "la." + ], + "SHORTMONTH": [ + "jan.", + "feb.", + "mars", + "apr.", + "mai", + "juni", + "juli", + "aug.", + "sep.", + "okt.", + "nov.", + "des." + ], + "fullDate": "EEEE d. MMMM y", + "longDate": "d. MMMM y", + "medium": "d. MMM y HH:mm:ss", + "mediumDate": "d. MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd.MM.yy HH:mm", + "shortDate": "dd.MM.yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "kr", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "nn-no", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nn.js b/public/app/bower_components/angular-i18n/angular-locale_nn.js new file mode 100644 index 00000000..c7483fbb --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "formiddag", + "ettermiddag" + ], + "DAY": [ + "s\u00f8ndag", + "m\u00e5ndag", + "tysdag", + "onsdag", + "torsdag", + "fredag", + "laurdag" + ], + "MONTH": [ + "januar", + "februar", + "mars", + "april", + "mai", + "juni", + "juli", + "august", + "september", + "oktober", + "november", + "desember" + ], + "SHORTDAY": [ + "s\u00f8.", + "m\u00e5.", + "ty.", + "on.", + "to.", + "fr.", + "la." + ], + "SHORTMONTH": [ + "jan.", + "feb.", + "mars", + "apr.", + "mai", + "juni", + "juli", + "aug.", + "sep.", + "okt.", + "nov.", + "des." + ], + "fullDate": "EEEE d. MMMM y", + "longDate": "d. MMMM y", + "medium": "d. MMM y HH:mm:ss", + "mediumDate": "d. MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd.MM.yy HH:mm", + "shortDate": "dd.MM.yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "kr", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "nn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nnh-cm.js b/public/app/bower_components/angular-i18n/angular-locale_nnh-cm.js new file mode 100644 index 00000000..0bfe401c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nnh-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "mba\u02bc\u00e1mba\u02bc", + "ncw\u00f2nz\u00e9m" + ], + "DAY": [ + "ly\u025b\u02bc\u025b\u0301 s\u1e85\u00ed\u014bt\u00e8", + "mvf\u00f2 ly\u025b\u030c\u02bc", + "mb\u0254\u0301\u0254nt\u00e8 mvf\u00f2 ly\u025b\u030c\u02bc", + "ts\u00e8ts\u025b\u0300\u025b ly\u025b\u030c\u02bc", + "mb\u0254\u0301\u0254nt\u00e8 tsets\u025b\u0300\u025b ly\u025b\u030c\u02bc", + "mvf\u00f2 m\u00e0ga ly\u025b\u030c\u02bc", + "m\u00e0ga ly\u025b\u030c\u02bc" + ], + "MONTH": [ + "sa\u014b tsets\u025b\u0300\u025b l\u00f9m", + "sa\u014b k\u00e0g ngw\u00f3\u014b", + "sa\u014b lepy\u00e8 sh\u00fam", + "sa\u014b c\u00ff\u00f3", + "sa\u014b ts\u025b\u0300\u025b c\u00ff\u00f3", + "sa\u014b nj\u00ffol\u00e1\u02bc", + "sa\u014b ty\u025b\u0300b ty\u025b\u0300b mb\u0289\u0300", + "sa\u014b mb\u0289\u0300\u014b", + "sa\u014b ngw\u0254\u0300\u02bc mb\u00ff\u025b", + "sa\u014b t\u00e0\u014ba tsets\u00e1\u02bc", + "sa\u014b mejwo\u014b\u00f3", + "sa\u014b l\u00f9m" + ], + "SHORTDAY": [ + "ly\u025b\u02bc\u025b\u0301 s\u1e85\u00ed\u014bt\u00e8", + "mvf\u00f2 ly\u025b\u030c\u02bc", + "mb\u0254\u0301\u0254nt\u00e8 mvf\u00f2 ly\u025b\u030c\u02bc", + "ts\u00e8ts\u025b\u0300\u025b ly\u025b\u030c\u02bc", + "mb\u0254\u0301\u0254nt\u00e8 tsets\u025b\u0300\u025b ly\u025b\u030c\u02bc", + "mvf\u00f2 m\u00e0ga ly\u025b\u030c\u02bc", + "m\u00e0ga ly\u025b\u030c\u02bc" + ], + "SHORTMONTH": [ + "sa\u014b tsets\u025b\u0300\u025b l\u00f9m", + "sa\u014b k\u00e0g ngw\u00f3\u014b", + "sa\u014b lepy\u00e8 sh\u00fam", + "sa\u014b c\u00ff\u00f3", + "sa\u014b ts\u025b\u0300\u025b c\u00ff\u00f3", + "sa\u014b nj\u00ffol\u00e1\u02bc", + "sa\u014b ty\u025b\u0300b ty\u025b\u0300b mb\u0289\u0300", + "sa\u014b mb\u0289\u0300\u014b", + "sa\u014b ngw\u0254\u0300\u02bc mb\u00ff\u025b", + "sa\u014b t\u00e0\u014ba tsets\u00e1\u02bc", + "sa\u014b mejwo\u014b\u00f3", + "sa\u014b l\u00f9m" + ], + "fullDate": "EEEE , 'ly\u025b'\u030c\u02bc d 'na' MMMM, y", + "longDate": "'ly\u025b'\u030c\u02bc d 'na' MMMM, y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/yy HH:mm", + "shortDate": "dd/MM/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "nnh-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nnh.js b/public/app/bower_components/angular-i18n/angular-locale_nnh.js new file mode 100644 index 00000000..7074c8b9 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nnh.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "mba\u02bc\u00e1mba\u02bc", + "ncw\u00f2nz\u00e9m" + ], + "DAY": [ + "ly\u025b\u02bc\u025b\u0301 s\u1e85\u00ed\u014bt\u00e8", + "mvf\u00f2 ly\u025b\u030c\u02bc", + "mb\u0254\u0301\u0254nt\u00e8 mvf\u00f2 ly\u025b\u030c\u02bc", + "ts\u00e8ts\u025b\u0300\u025b ly\u025b\u030c\u02bc", + "mb\u0254\u0301\u0254nt\u00e8 tsets\u025b\u0300\u025b ly\u025b\u030c\u02bc", + "mvf\u00f2 m\u00e0ga ly\u025b\u030c\u02bc", + "m\u00e0ga ly\u025b\u030c\u02bc" + ], + "MONTH": [ + "sa\u014b tsets\u025b\u0300\u025b l\u00f9m", + "sa\u014b k\u00e0g ngw\u00f3\u014b", + "sa\u014b lepy\u00e8 sh\u00fam", + "sa\u014b c\u00ff\u00f3", + "sa\u014b ts\u025b\u0300\u025b c\u00ff\u00f3", + "sa\u014b nj\u00ffol\u00e1\u02bc", + "sa\u014b ty\u025b\u0300b ty\u025b\u0300b mb\u0289\u0300", + "sa\u014b mb\u0289\u0300\u014b", + "sa\u014b ngw\u0254\u0300\u02bc mb\u00ff\u025b", + "sa\u014b t\u00e0\u014ba tsets\u00e1\u02bc", + "sa\u014b mejwo\u014b\u00f3", + "sa\u014b l\u00f9m" + ], + "SHORTDAY": [ + "ly\u025b\u02bc\u025b\u0301 s\u1e85\u00ed\u014bt\u00e8", + "mvf\u00f2 ly\u025b\u030c\u02bc", + "mb\u0254\u0301\u0254nt\u00e8 mvf\u00f2 ly\u025b\u030c\u02bc", + "ts\u00e8ts\u025b\u0300\u025b ly\u025b\u030c\u02bc", + "mb\u0254\u0301\u0254nt\u00e8 tsets\u025b\u0300\u025b ly\u025b\u030c\u02bc", + "mvf\u00f2 m\u00e0ga ly\u025b\u030c\u02bc", + "m\u00e0ga ly\u025b\u030c\u02bc" + ], + "SHORTMONTH": [ + "sa\u014b tsets\u025b\u0300\u025b l\u00f9m", + "sa\u014b k\u00e0g ngw\u00f3\u014b", + "sa\u014b lepy\u00e8 sh\u00fam", + "sa\u014b c\u00ff\u00f3", + "sa\u014b ts\u025b\u0300\u025b c\u00ff\u00f3", + "sa\u014b nj\u00ffol\u00e1\u02bc", + "sa\u014b ty\u025b\u0300b ty\u025b\u0300b mb\u0289\u0300", + "sa\u014b mb\u0289\u0300\u014b", + "sa\u014b ngw\u0254\u0300\u02bc mb\u00ff\u025b", + "sa\u014b t\u00e0\u014ba tsets\u00e1\u02bc", + "sa\u014b mejwo\u014b\u00f3", + "sa\u014b l\u00f9m" + ], + "fullDate": "EEEE , 'ly\u025b'\u030c\u02bc d 'na' MMMM, y", + "longDate": "'ly\u025b'\u030c\u02bc d 'na' MMMM, y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/yy HH:mm", + "shortDate": "dd/MM/yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "nnh", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_no-no.js b/public/app/bower_components/angular-i18n/angular-locale_no-no.js index 93acf0b5..ce13b0e7 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_no-no.js +++ b/public/app/bower_components/angular-i18n/angular-locale_no-no.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_no.js b/public/app/bower_components/angular-i18n/angular-locale_no.js index 313e260b..27623baa 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_no.js +++ b/public/app/bower_components/angular-i18n/angular-locale_no.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "AM", - "PM" + "a.m.", + "p.m." ], "DAY": [ "s\u00f8ndag", @@ -42,11 +42,11 @@ $provide.value("$locale", { "SHORTMONTH": [ "jan.", "feb.", - "mars", + "mar.", "apr.", "mai", - "juni", - "juli", + "jun.", + "jul.", "aug.", "sep.", "okt.", @@ -55,12 +55,12 @@ $provide.value("$locale", { ], "fullDate": "EEEE d. MMMM y", "longDate": "d. MMMM y", - "medium": "d. MMM y HH:mm:ss", + "medium": "d. MMM y HH.mm.ss", "mediumDate": "d. MMM y", - "mediumTime": "HH:mm:ss", - "short": "dd.MM.yy HH:mm", + "mediumTime": "HH.mm.ss", + "short": "dd.MM.yy HH.mm", "shortDate": "dd.MM.yy", - "shortTime": "HH:mm" + "shortTime": "HH.mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "kr", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "no", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nr-za.js b/public/app/bower_components/angular-i18n/angular-locale_nr-za.js new file mode 100644 index 00000000..b677ec93 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nr-za.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "uSonto", + "uMvulo", + "uLesibili", + "Lesithathu", + "uLesine", + "ngoLesihlanu", + "umGqibelo" + ], + "MONTH": [ + "Janabari", + "uFeberbari", + "uMatjhi", + "u-Apreli", + "Meyi", + "Juni", + "Julayi", + "Arhostosi", + "Septemba", + "Oktoba", + "Usinyikhaba", + "Disemba" + ], + "SHORTDAY": [ + "Son", + "Mvu", + "Bil", + "Tha", + "Ne", + "Hla", + "Gqi" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mat", + "Apr", + "Mey", + "Jun", + "Jul", + "Arh", + "Sep", + "Okt", + "Usi", + "Dis" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "nr-za", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nr.js b/public/app/bower_components/angular-i18n/angular-locale_nr.js new file mode 100644 index 00000000..ddec3b32 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nr.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "uSonto", + "uMvulo", + "uLesibili", + "Lesithathu", + "uLesine", + "ngoLesihlanu", + "umGqibelo" + ], + "MONTH": [ + "Janabari", + "uFeberbari", + "uMatjhi", + "u-Apreli", + "Meyi", + "Juni", + "Julayi", + "Arhostosi", + "Septemba", + "Oktoba", + "Usinyikhaba", + "Disemba" + ], + "SHORTDAY": [ + "Son", + "Mvu", + "Bil", + "Tha", + "Ne", + "Hla", + "Gqi" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mat", + "Apr", + "Mey", + "Jun", + "Jul", + "Arh", + "Sep", + "Okt", + "Usi", + "Dis" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "nr", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nso-za.js b/public/app/bower_components/angular-i18n/angular-locale_nso-za.js new file mode 100644 index 00000000..06f927e2 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nso-za.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sontaga", + "Mosupalogo", + "Labobedi", + "Laboraro", + "Labone", + "Labohlano", + "Mokibelo" + ], + "MONTH": [ + "Janaware", + "Feberware", + "Mat\u0161he", + "Aporele", + "Mei", + "June", + "Julae", + "Agostose", + "Setemere", + "Oktobore", + "Nofemere", + "Disemere" + ], + "SHORTDAY": [ + "Son", + "Mos", + "Bed", + "Rar", + "Ne", + "Hla", + "Mok" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mat", + "Apo", + "Mei", + "Jun", + "Jul", + "Ago", + "Set", + "Okt", + "Nof", + "Dis" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "nso-za", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nso.js b/public/app/bower_components/angular-i18n/angular-locale_nso.js new file mode 100644 index 00000000..c238f1e1 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nso.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sontaga", + "Mosupalogo", + "Labobedi", + "Laboraro", + "Labone", + "Labohlano", + "Mokibelo" + ], + "MONTH": [ + "Janaware", + "Feberware", + "Mat\u0161he", + "Aporele", + "Mei", + "June", + "Julae", + "Agostose", + "Setemere", + "Oktobore", + "Nofemere", + "Disemere" + ], + "SHORTDAY": [ + "Son", + "Mos", + "Bed", + "Rar", + "Ne", + "Hla", + "Mok" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mat", + "Apo", + "Mei", + "Jun", + "Jul", + "Ago", + "Set", + "Okt", + "Nof", + "Dis" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "nso", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nus-sd.js b/public/app/bower_components/angular-i18n/angular-locale_nus-sd.js new file mode 100644 index 00000000..21a90857 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nus-sd.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "RW", + "T\u014a" + ], + "DAY": [ + "C\u00e4\u014b ku\u0254th", + "Jiec la\u0331t", + "R\u025bw l\u00e4tni", + "Di\u0254\u0331k l\u00e4tni", + "\u014auaan l\u00e4tni", + "Dhieec l\u00e4tni", + "B\u00e4k\u025bl l\u00e4tni" + ], + "MONTH": [ + "Tiop thar p\u025bt", + "P\u025bt", + "Du\u0254\u0331\u0254\u0331\u014b", + "Guak", + "Du\u00e4t", + "Kornyoot", + "Pay yie\u0331tni", + "Tho\u0331o\u0331r", + "T\u025b\u025br", + "Laath", + "Kur", + "Tio\u0331p in di\u0331i\u0331t" + ], + "SHORTDAY": [ + "C\u00e4\u014b", + "Jiec", + "R\u025bw", + "Di\u0254\u0331k", + "\u014auaan", + "Dhieec", + "B\u00e4k\u025bl" + ], + "SHORTMONTH": [ + "Tiop", + "P\u025bt", + "Du\u0254\u0331\u0254\u0331", + "Guak", + "Du\u00e4", + "Kor", + "Pay", + "Thoo", + "T\u025b\u025b", + "Laa", + "Kur", + "Tid" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "d/MM/y h:mm a", + "shortDate": "d/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "SDG", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "nus-sd", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nus.js b/public/app/bower_components/angular-i18n/angular-locale_nus.js new file mode 100644 index 00000000..f3ae4219 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nus.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "RW", + "T\u014a" + ], + "DAY": [ + "C\u00e4\u014b ku\u0254th", + "Jiec la\u0331t", + "R\u025bw l\u00e4tni", + "Di\u0254\u0331k l\u00e4tni", + "\u014auaan l\u00e4tni", + "Dhieec l\u00e4tni", + "B\u00e4k\u025bl l\u00e4tni" + ], + "MONTH": [ + "Tiop thar p\u025bt", + "P\u025bt", + "Du\u0254\u0331\u0254\u0331\u014b", + "Guak", + "Du\u00e4t", + "Kornyoot", + "Pay yie\u0331tni", + "Tho\u0331o\u0331r", + "T\u025b\u025br", + "Laath", + "Kur", + "Tio\u0331p in di\u0331i\u0331t" + ], + "SHORTDAY": [ + "C\u00e4\u014b", + "Jiec", + "R\u025bw", + "Di\u0254\u0331k", + "\u014auaan", + "Dhieec", + "B\u00e4k\u025bl" + ], + "SHORTMONTH": [ + "Tiop", + "P\u025bt", + "Du\u0254\u0331\u0254\u0331", + "Guak", + "Du\u00e4", + "Kor", + "Pay", + "Thoo", + "T\u025b\u025b", + "Laa", + "Kur", + "Tid" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "d/MM/y h:mm a", + "shortDate": "d/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "SDG", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "nus", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nyn-ug.js b/public/app/bower_components/angular-i18n/angular-locale_nyn-ug.js new file mode 100644 index 00000000..956956fd --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nyn-ug.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sande", + "Orwokubanza", + "Orwakabiri", + "Orwakashatu", + "Orwakana", + "Orwakataano", + "Orwamukaaga" + ], + "MONTH": [ + "Okwokubanza", + "Okwakabiri", + "Okwakashatu", + "Okwakana", + "Okwakataana", + "Okwamukaaga", + "Okwamushanju", + "Okwamunaana", + "Okwamwenda", + "Okwaikumi", + "Okwaikumi na kumwe", + "Okwaikumi na ibiri" + ], + "SHORTDAY": [ + "SAN", + "ORK", + "OKB", + "OKS", + "OKN", + "OKT", + "OMK" + ], + "SHORTMONTH": [ + "KBZ", + "KBR", + "KST", + "KKN", + "KTN", + "KMK", + "KMS", + "KMN", + "KMW", + "KKM", + "KNK", + "KNB" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "UGX", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "nyn-ug", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_nyn.js b/public/app/bower_components/angular-i18n/angular-locale_nyn.js new file mode 100644 index 00000000..6426e28b --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_nyn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sande", + "Orwokubanza", + "Orwakabiri", + "Orwakashatu", + "Orwakana", + "Orwakataano", + "Orwamukaaga" + ], + "MONTH": [ + "Okwokubanza", + "Okwakabiri", + "Okwakashatu", + "Okwakana", + "Okwakataana", + "Okwamukaaga", + "Okwamushanju", + "Okwamunaana", + "Okwamwenda", + "Okwaikumi", + "Okwaikumi na kumwe", + "Okwaikumi na ibiri" + ], + "SHORTDAY": [ + "SAN", + "ORK", + "OKB", + "OKS", + "OKN", + "OKT", + "OMK" + ], + "SHORTMONTH": [ + "KBZ", + "KBR", + "KST", + "KKN", + "KTN", + "KMK", + "KMS", + "KMN", + "KMW", + "KKM", + "KNK", + "KNB" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "UGX", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "nyn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_om-et.js b/public/app/bower_components/angular-i18n/angular-locale_om-et.js new file mode 100644 index 00000000..62457647 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_om-et.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "WD", + "WB" + ], + "DAY": [ + "Dilbata", + "Wiixata", + "Qibxata", + "Roobii", + "Kamiisa", + "Jimaata", + "Sanbata" + ], + "MONTH": [ + "Amajjii", + "Guraandhala", + "Bitooteessa", + "Elba", + "Caamsa", + "Waxabajjii", + "Adooleessa", + "Hagayya", + "Fuulbana", + "Onkololeessa", + "Sadaasa", + "Muddee" + ], + "SHORTDAY": [ + "Dil", + "Wix", + "Qib", + "Rob", + "Kam", + "Jim", + "San" + ], + "SHORTMONTH": [ + "Ama", + "Gur", + "Bit", + "Elb", + "Cam", + "Wax", + "Ado", + "Hag", + "Ful", + "Onk", + "Sad", + "Mud" + ], + "fullDate": "EEEE, MMMM d, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Birr", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "om-et", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_om-ke.js b/public/app/bower_components/angular-i18n/angular-locale_om-ke.js new file mode 100644 index 00000000..969748b2 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_om-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "WD", + "WB" + ], + "DAY": [ + "Dilbata", + "Wiixata", + "Qibxata", + "Roobii", + "Kamiisa", + "Jimaata", + "Sanbata" + ], + "MONTH": [ + "Amajjii", + "Guraandhala", + "Bitooteessa", + "Elba", + "Caamsa", + "Waxabajjii", + "Adooleessa", + "Hagayya", + "Fuulbana", + "Onkololeessa", + "Sadaasa", + "Muddee" + ], + "SHORTDAY": [ + "Dil", + "Wix", + "Qib", + "Rob", + "Kam", + "Jim", + "San" + ], + "SHORTMONTH": [ + "Ama", + "Gur", + "Bit", + "Elb", + "Cam", + "Wax", + "Ado", + "Hag", + "Ful", + "Onk", + "Sad", + "Mud" + ], + "fullDate": "EEEE, MMMM d, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "om-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_om.js b/public/app/bower_components/angular-i18n/angular-locale_om.js new file mode 100644 index 00000000..97483c93 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_om.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "WD", + "WB" + ], + "DAY": [ + "Dilbata", + "Wiixata", + "Qibxata", + "Roobii", + "Kamiisa", + "Jimaata", + "Sanbata" + ], + "MONTH": [ + "Amajjii", + "Guraandhala", + "Bitooteessa", + "Elba", + "Caamsa", + "Waxabajjii", + "Adooleessa", + "Hagayya", + "Fuulbana", + "Onkololeessa", + "Sadaasa", + "Muddee" + ], + "SHORTDAY": [ + "Dil", + "Wix", + "Qib", + "Rob", + "Kam", + "Jim", + "San" + ], + "SHORTMONTH": [ + "Ama", + "Gur", + "Bit", + "Elb", + "Cam", + "Wax", + "Ado", + "Hag", + "Ful", + "Onk", + "Sad", + "Mud" + ], + "fullDate": "EEEE, MMMM d, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Birr", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "om", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_or-in.js b/public/app/bower_components/angular-i18n/angular-locale_or-in.js index acf991a4..2464c1f2 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_or-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_or-in.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "or-in", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_or.js b/public/app/bower_components/angular-i18n/angular-locale_or.js index e169682c..65dba06b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_or.js +++ b/public/app/bower_components/angular-i18n/angular-locale_or.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "or", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_os-ge.js b/public/app/bower_components/angular-i18n/angular-locale_os-ge.js new file mode 100644 index 00000000..292bf85f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_os-ge.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u04d5\u043c\u0431\u0438\u0441\u0431\u043e\u043d\u044b \u0440\u0430\u0437\u043c\u04d5", + "\u04d5\u043c\u0431\u0438\u0441\u0431\u043e\u043d\u044b \u0444\u04d5\u0441\u0442\u04d5" + ], + "DAY": [ + "\u0445\u0443\u044b\u0446\u0430\u0443\u0431\u043e\u043d", + "\u043a\u044a\u0443\u044b\u0440\u0438\u0441\u04d5\u0440", + "\u0434\u044b\u0446\u0446\u04d5\u0433", + "\u04d5\u0440\u0442\u044b\u0446\u0446\u04d5\u0433", + "\u0446\u044b\u043f\u043f\u04d5\u0440\u04d5\u043c", + "\u043c\u0430\u0439\u0440\u04d5\u043c\u0431\u043e\u043d", + "\u0441\u0430\u0431\u0430\u0442" + ], + "MONTH": [ + "\u044f\u043d\u0432\u0430\u0440\u044b", + "\u0444\u0435\u0432\u0440\u0430\u043b\u044b", + "\u043c\u0430\u0440\u0442\u044a\u0438\u0439\u044b", + "\u0430\u043f\u0440\u0435\u043b\u044b", + "\u043c\u0430\u0439\u044b", + "\u0438\u044e\u043d\u044b", + "\u0438\u044e\u043b\u044b", + "\u0430\u0432\u0433\u0443\u0441\u0442\u044b", + "\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044b", + "\u043e\u043a\u0442\u044f\u0431\u0440\u044b", + "\u043d\u043e\u044f\u0431\u0440\u044b", + "\u0434\u0435\u043a\u0430\u0431\u0440\u044b" + ], + "SHORTDAY": [ + "\u0445\u0446\u0431", + "\u043a\u0440\u0441", + "\u0434\u0446\u0433", + "\u04d5\u0440\u0442", + "\u0446\u043f\u0440", + "\u043c\u0440\u0431", + "\u0441\u0431\u0442" + ], + "SHORTMONTH": [ + "\u044f\u043d\u0432.", + "\u0444\u0435\u0432.", + "\u043c\u0430\u0440.", + "\u0430\u043f\u0440.", + "\u043c\u0430\u044f", + "\u0438\u044e\u043d\u044b", + "\u0438\u044e\u043b\u044b", + "\u0430\u0432\u0433.", + "\u0441\u0435\u043d.", + "\u043e\u043a\u0442.", + "\u043d\u043e\u044f.", + "\u0434\u0435\u043a." + ], + "fullDate": "EEEE, d MMMM, y '\u0430\u0437'", + "longDate": "d MMMM, y '\u0430\u0437'", + "medium": "dd MMM y '\u0430\u0437' HH:mm:ss", + "mediumDate": "dd MMM y '\u0430\u0437'", + "mediumTime": "HH:mm:ss", + "short": "dd.MM.yy HH:mm", + "shortDate": "dd.MM.yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "GEL", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "os-ge", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_os-ru.js b/public/app/bower_components/angular-i18n/angular-locale_os-ru.js new file mode 100644 index 00000000..ba16dc41 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_os-ru.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u04d5\u043c\u0431\u0438\u0441\u0431\u043e\u043d\u044b \u0440\u0430\u0437\u043c\u04d5", + "\u04d5\u043c\u0431\u0438\u0441\u0431\u043e\u043d\u044b \u0444\u04d5\u0441\u0442\u04d5" + ], + "DAY": [ + "\u0445\u0443\u044b\u0446\u0430\u0443\u0431\u043e\u043d", + "\u043a\u044a\u0443\u044b\u0440\u0438\u0441\u04d5\u0440", + "\u0434\u044b\u0446\u0446\u04d5\u0433", + "\u04d5\u0440\u0442\u044b\u0446\u0446\u04d5\u0433", + "\u0446\u044b\u043f\u043f\u04d5\u0440\u04d5\u043c", + "\u043c\u0430\u0439\u0440\u04d5\u043c\u0431\u043e\u043d", + "\u0441\u0430\u0431\u0430\u0442" + ], + "MONTH": [ + "\u044f\u043d\u0432\u0430\u0440\u044b", + "\u0444\u0435\u0432\u0440\u0430\u043b\u044b", + "\u043c\u0430\u0440\u0442\u044a\u0438\u0439\u044b", + "\u0430\u043f\u0440\u0435\u043b\u044b", + "\u043c\u0430\u0439\u044b", + "\u0438\u044e\u043d\u044b", + "\u0438\u044e\u043b\u044b", + "\u0430\u0432\u0433\u0443\u0441\u0442\u044b", + "\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044b", + "\u043e\u043a\u0442\u044f\u0431\u0440\u044b", + "\u043d\u043e\u044f\u0431\u0440\u044b", + "\u0434\u0435\u043a\u0430\u0431\u0440\u044b" + ], + "SHORTDAY": [ + "\u0445\u0446\u0431", + "\u043a\u0440\u0441", + "\u0434\u0446\u0433", + "\u04d5\u0440\u0442", + "\u0446\u043f\u0440", + "\u043c\u0440\u0431", + "\u0441\u0431\u0442" + ], + "SHORTMONTH": [ + "\u044f\u043d\u0432.", + "\u0444\u0435\u0432.", + "\u043c\u0430\u0440.", + "\u0430\u043f\u0440.", + "\u043c\u0430\u044f", + "\u0438\u044e\u043d\u044b", + "\u0438\u044e\u043b\u044b", + "\u0430\u0432\u0433.", + "\u0441\u0435\u043d.", + "\u043e\u043a\u0442.", + "\u043d\u043e\u044f.", + "\u0434\u0435\u043a." + ], + "fullDate": "EEEE, d MMMM, y '\u0430\u0437'", + "longDate": "d MMMM, y '\u0430\u0437'", + "medium": "dd MMM y '\u0430\u0437' HH:mm:ss", + "mediumDate": "dd MMM y '\u0430\u0437'", + "mediumTime": "HH:mm:ss", + "short": "dd.MM.yy HH:mm", + "shortDate": "dd.MM.yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u0440\u0443\u0431.", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "os-ru", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_os.js b/public/app/bower_components/angular-i18n/angular-locale_os.js new file mode 100644 index 00000000..09ec8cc4 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_os.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u04d5\u043c\u0431\u0438\u0441\u0431\u043e\u043d\u044b \u0440\u0430\u0437\u043c\u04d5", + "\u04d5\u043c\u0431\u0438\u0441\u0431\u043e\u043d\u044b \u0444\u04d5\u0441\u0442\u04d5" + ], + "DAY": [ + "\u0445\u0443\u044b\u0446\u0430\u0443\u0431\u043e\u043d", + "\u043a\u044a\u0443\u044b\u0440\u0438\u0441\u04d5\u0440", + "\u0434\u044b\u0446\u0446\u04d5\u0433", + "\u04d5\u0440\u0442\u044b\u0446\u0446\u04d5\u0433", + "\u0446\u044b\u043f\u043f\u04d5\u0440\u04d5\u043c", + "\u043c\u0430\u0439\u0440\u04d5\u043c\u0431\u043e\u043d", + "\u0441\u0430\u0431\u0430\u0442" + ], + "MONTH": [ + "\u044f\u043d\u0432\u0430\u0440\u044b", + "\u0444\u0435\u0432\u0440\u0430\u043b\u044b", + "\u043c\u0430\u0440\u0442\u044a\u0438\u0439\u044b", + "\u0430\u043f\u0440\u0435\u043b\u044b", + "\u043c\u0430\u0439\u044b", + "\u0438\u044e\u043d\u044b", + "\u0438\u044e\u043b\u044b", + "\u0430\u0432\u0433\u0443\u0441\u0442\u044b", + "\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044b", + "\u043e\u043a\u0442\u044f\u0431\u0440\u044b", + "\u043d\u043e\u044f\u0431\u0440\u044b", + "\u0434\u0435\u043a\u0430\u0431\u0440\u044b" + ], + "SHORTDAY": [ + "\u0445\u0446\u0431", + "\u043a\u0440\u0441", + "\u0434\u0446\u0433", + "\u04d5\u0440\u0442", + "\u0446\u043f\u0440", + "\u043c\u0440\u0431", + "\u0441\u0431\u0442" + ], + "SHORTMONTH": [ + "\u044f\u043d\u0432.", + "\u0444\u0435\u0432.", + "\u043c\u0430\u0440.", + "\u0430\u043f\u0440.", + "\u043c\u0430\u044f", + "\u0438\u044e\u043d\u044b", + "\u0438\u044e\u043b\u044b", + "\u0430\u0432\u0433.", + "\u0441\u0435\u043d.", + "\u043e\u043a\u0442.", + "\u043d\u043e\u044f.", + "\u0434\u0435\u043a." + ], + "fullDate": "EEEE, d MMMM, y '\u0430\u0437'", + "longDate": "d MMMM, y '\u0430\u0437'", + "medium": "dd MMM y '\u0430\u0437' HH:mm:ss", + "mediumDate": "dd MMM y '\u0430\u0437'", + "mediumTime": "HH:mm:ss", + "short": "dd.MM.yy HH:mm", + "shortDate": "dd.MM.yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "GEL", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "os", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_pa-arab-pk.js b/public/app/bower_components/angular-i18n/angular-locale_pa-arab-pk.js index 735e19cf..c0c93525 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pa-arab-pk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pa-arab-pk.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20b9", - "DECIMAL_SEP": ".", + "CURRENCY_SYM": "Rs", + "DECIMAL_SEP": "\u066b", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_pa-arab.js b/public/app/bower_components/angular-i18n/angular-locale_pa-arab.js index be4a3e84..149bd0fa 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pa-arab.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pa-arab.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20b9", - "DECIMAL_SEP": ".", + "CURRENCY_SYM": "Rs", + "DECIMAL_SEP": "\u066b", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_pa-guru-in.js b/public/app/bower_components/angular-i18n/angular-locale_pa-guru-in.js index 6ade11f3..62d1f9dd 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pa-guru-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pa-guru-in.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_pa-guru.js b/public/app/bower_components/angular-i18n/angular-locale_pa-guru.js index b094f628..f2d9909f 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pa-guru.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pa-guru.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20b9", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_pa.js b/public/app/bower_components/angular-i18n/angular-locale_pa.js index 8d453b24..a73def0d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pa.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pa.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_pl-pl.js b/public/app/bower_components/angular-i18n/angular-locale_pl-pl.js index 23f8678e..528a0141 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pl-pl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pl-pl.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -58,8 +76,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd.MM.yyyy HH:mm", - "shortDate": "dd.MM.yyyy", + "short": "dd.MM.y HH:mm", + "shortDate": "dd.MM.y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "pl-pl", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n != 1 && (n % 10 == 0 || n % 10 == 1) || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 12 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (vf.v == 0 && i != 1 && i % 10 >= 0 && i % 10 <= 1 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 12 && i % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_pl.js b/public/app/bower_components/angular-i18n/angular-locale_pl.js index c64b34d1..7adf6c15 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pl.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -58,8 +76,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd.MM.yyyy HH:mm", - "shortDate": "dd.MM.yyyy", + "short": "dd.MM.y HH:mm", + "shortDate": "dd.MM.y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "pl", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n != 1 && (n % 10 == 0 || n % 10 == 1) || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 12 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (vf.v == 0 && i != 1 && i % 10 >= 0 && i % 10 <= 1 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 12 && i % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ps-af.js b/public/app/bower_components/angular-i18n/angular-locale_ps-af.js new file mode 100644 index 00000000..1b6a6a94 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ps-af.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u063a.\u0645.", + "\u063a.\u0648." + ], + "DAY": [ + "\u06cc\u06a9\u0634\u0646\u0628\u0647", + "\u062f\u0648\u0634\u0646\u0628\u0647", + "\u0633\u0647\u200c\u0634\u0646\u0628\u0647", + "\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647", + "\u067e\u0646\u062c\u0634\u0646\u0628\u0647", + "\u062c\u0645\u0639\u0647", + "\u0634\u0646\u0628\u0647" + ], + "MONTH": [ + "\u062c\u0646\u0648\u0631\u064a", + "\u0641\u0628\u0631\u0648\u0631\u064a", + "\u0645\u0627\u0631\u0686", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u06cc", + "\u062c\u0648\u0646", + "\u062c\u0648\u0644\u0627\u06cc", + "\u0627\u06ab\u0633\u062a", + "\u0633\u067e\u062a\u0645\u0628\u0631", + "\u0627\u06a9\u062a\u0648\u0628\u0631", + "\u0646\u0648\u0645\u0628\u0631", + "\u062f\u0633\u0645\u0628\u0631" + ], + "SHORTDAY": [ + "\u06cc\u06a9\u0634\u0646\u0628\u0647", + "\u062f\u0648\u0634\u0646\u0628\u0647", + "\u0633\u0647\u200c\u0634\u0646\u0628\u0647", + "\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647", + "\u067e\u0646\u062c\u0634\u0646\u0628\u0647", + "\u062c\u0645\u0639\u0647", + "\u0634\u0646\u0628\u0647" + ], + "SHORTMONTH": [ + "\u062c\u0646\u0648\u0631\u064a", + "\u0641\u0628\u0631\u0648\u0631\u064a", + "\u0645\u0627\u0631\u0686", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u06cc", + "\u062c\u0648\u0646", + "\u062c\u0648\u0644\u0627\u06cc", + "\u0627\u06ab\u0633\u062a", + "\u0633\u067e\u062a\u0645\u0628\u0631", + "\u0627\u06a9\u062a\u0648\u0628\u0631", + "\u0646\u0648\u0645\u0628\u0631", + "\u062f\u0633\u0645\u0628\u0631" + ], + "fullDate": "EEEE \u062f y \u062f MMMM d", + "longDate": "\u062f y \u062f MMMM d", + "medium": "d MMM y H:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "H:mm:ss", + "short": "y/M/d H:mm", + "shortDate": "y/M/d", + "shortTime": "H:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Af.", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ps-af", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ps.js b/public/app/bower_components/angular-i18n/angular-locale_ps.js new file mode 100644 index 00000000..b233af9d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ps.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u063a.\u0645.", + "\u063a.\u0648." + ], + "DAY": [ + "\u06cc\u06a9\u0634\u0646\u0628\u0647", + "\u062f\u0648\u0634\u0646\u0628\u0647", + "\u0633\u0647\u200c\u0634\u0646\u0628\u0647", + "\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647", + "\u067e\u0646\u062c\u0634\u0646\u0628\u0647", + "\u062c\u0645\u0639\u0647", + "\u0634\u0646\u0628\u0647" + ], + "MONTH": [ + "\u062c\u0646\u0648\u0631\u064a", + "\u0641\u0628\u0631\u0648\u0631\u064a", + "\u0645\u0627\u0631\u0686", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u06cc", + "\u062c\u0648\u0646", + "\u062c\u0648\u0644\u0627\u06cc", + "\u0627\u06ab\u0633\u062a", + "\u0633\u067e\u062a\u0645\u0628\u0631", + "\u0627\u06a9\u062a\u0648\u0628\u0631", + "\u0646\u0648\u0645\u0628\u0631", + "\u062f\u0633\u0645\u0628\u0631" + ], + "SHORTDAY": [ + "\u06cc\u06a9\u0634\u0646\u0628\u0647", + "\u062f\u0648\u0634\u0646\u0628\u0647", + "\u0633\u0647\u200c\u0634\u0646\u0628\u0647", + "\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647", + "\u067e\u0646\u062c\u0634\u0646\u0628\u0647", + "\u062c\u0645\u0639\u0647", + "\u0634\u0646\u0628\u0647" + ], + "SHORTMONTH": [ + "\u062c\u0646\u0648\u0631\u064a", + "\u0641\u0628\u0631\u0648\u0631\u064a", + "\u0645\u0627\u0631\u0686", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u06cc", + "\u062c\u0648\u0646", + "\u062c\u0648\u0644\u0627\u06cc", + "\u0627\u06ab\u0633\u062a", + "\u0633\u067e\u062a\u0645\u0628\u0631", + "\u0627\u06a9\u062a\u0648\u0628\u0631", + "\u0646\u0648\u0645\u0628\u0631", + "\u062f\u0633\u0645\u0628\u0631" + ], + "fullDate": "EEEE \u062f y \u062f MMMM d", + "longDate": "\u062f y \u062f MMMM d", + "medium": "d MMM y H:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "H:mm:ss", + "short": "y/M/d H:mm", + "shortDate": "y/M/d", + "shortTime": "H:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Af.", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "ps", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_pt-ao.js b/public/app/bower_components/angular-i18n/angular-locale_pt-ao.js index e08e21e8..78aeb4d2 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pt-ao.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pt-ao.js @@ -1,6 +1,37 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,22 +86,21 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", + "CURRENCY_SYM": "Kz", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +112,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "pt-ao", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (i == 1 && vf.v == 0 || i == 0 && wt.t == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_pt-br.js b/public/app/bower_components/angular-i18n/angular-locale_pt-br.js index 034fe73b..5a63341b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pt-br.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pt-br.js @@ -1,6 +1,37 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,8 +86,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", @@ -70,7 +101,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +112,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "pt-br", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (i == 1 && vf.v == 0 || i == 0 && wt.t == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_pt-cv.js b/public/app/bower_components/angular-i18n/angular-locale_pt-cv.js index 9d6d3436..20449048 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pt-cv.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pt-cv.js @@ -94,14 +94,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", + "CURRENCY_SYM": "CVE", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -113,7 +112,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_pt-gw.js b/public/app/bower_components/angular-i18n/angular-locale_pt-gw.js index bfbd30cc..34dc33fe 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pt-gw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pt-gw.js @@ -1,6 +1,37 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,22 +86,21 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", + "CURRENCY_SYM": "CFA", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +112,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "pt-gw", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (i == 1 && vf.v == 0 || i == 0 && wt.t == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_pt-mo.js b/public/app/bower_components/angular-i18n/angular-locale_pt-mo.js index 007b8105..acf408d4 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pt-mo.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pt-mo.js @@ -94,14 +94,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", + "CURRENCY_SYM": "MOP", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -113,7 +112,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_pt-mz.js b/public/app/bower_components/angular-i18n/angular-locale_pt-mz.js index 35a712a2..2b8f6ecc 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pt-mz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pt-mz.js @@ -1,6 +1,37 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,22 +86,21 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", + "CURRENCY_SYM": "MTn", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +112,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "pt-mz", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (i == 1 && vf.v == 0 || i == 0 && wt.t == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_pt-pt.js b/public/app/bower_components/angular-i18n/angular-locale_pt-pt.js index 75b3192a..f43229bf 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pt-pt.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pt-pt.js @@ -1,20 +1,51 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "a.m.", - "p.m." + "da manh\u00e3", + "da tarde" ], "DAY": [ - "Domingo", - "Segunda-feira", - "Ter\u00e7a-feira", - "Quarta-feira", - "Quinta-feira", - "Sexta-feira", - "S\u00e1bado" + "domingo", + "segunda-feira", + "ter\u00e7a-feira", + "quarta-feira", + "quinta-feira", + "sexta-feira", + "s\u00e1bado" ], "MONTH": [ "Janeiro", @@ -55,8 +86,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", @@ -70,7 +101,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +112,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +123,6 @@ $provide.value("$locale", { ] }, "id": "pt-pt", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (i == 1 && vf.v == 0 || i == 0 && wt.t == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_pt-st.js b/public/app/bower_components/angular-i18n/angular-locale_pt-st.js index 728505a9..11f104fd 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pt-st.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pt-st.js @@ -1,6 +1,37 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,22 +86,21 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", + "CURRENCY_SYM": "Db", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +112,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "pt-st", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (i == 1 && vf.v == 0 || i == 0 && wt.t == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_pt-tl.js b/public/app/bower_components/angular-i18n/angular-locale_pt-tl.js index ddd32e55..10d7dfa0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pt-tl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pt-tl.js @@ -94,14 +94,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "R$", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -113,7 +112,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_pt.js b/public/app/bower_components/angular-i18n/angular-locale_pt.js index b9be5cc6..77e05bd5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_pt.js +++ b/public/app/bower_components/angular-i18n/angular-locale_pt.js @@ -1,6 +1,37 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +function getWT(v, f) { + if (f === 0) { + return {w: 0, t: 0}; + } + + while ((f % 10) === 0) { + f /= 10; + v--; + } + + return {w: v, t: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,8 +86,8 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d 'de' MMMM 'de' y", "longDate": "d 'de' MMMM 'de' y", - "medium": "dd/MM/yyyy HH:mm:ss", - "mediumDate": "dd/MM/yyyy", + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", "mediumTime": "HH:mm:ss", "short": "dd/MM/yy HH:mm", "shortDate": "dd/MM/yy", @@ -70,7 +101,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +112,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "pt", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); var wt = getWT(vf.v, vf.f); if (i == 1 && vf.v == 0 || i == 0 && wt.t == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_rm-ch.js b/public/app/bower_components/angular-i18n/angular-locale_rm-ch.js new file mode 100644 index 00000000..3d0967a2 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_rm-ch.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "am", + "sm" + ], + "DAY": [ + "dumengia", + "glindesdi", + "mardi", + "mesemna", + "gievgia", + "venderdi", + "sonda" + ], + "MONTH": [ + "schaner", + "favrer", + "mars", + "avrigl", + "matg", + "zercladur", + "fanadur", + "avust", + "settember", + "october", + "november", + "december" + ], + "SHORTDAY": [ + "du", + "gli", + "ma", + "me", + "gie", + "ve", + "so" + ], + "SHORTMONTH": [ + "schan.", + "favr.", + "mars", + "avr.", + "matg", + "zercl.", + "fan.", + "avust", + "sett.", + "oct.", + "nov.", + "dec." + ], + "fullDate": "EEEE, 'ils' d 'da' MMMM y", + "longDate": "d 'da' MMMM y", + "medium": "dd-MM-y HH:mm:ss", + "mediumDate": "dd-MM-y", + "mediumTime": "HH:mm:ss", + "short": "dd-MM-yy HH:mm", + "shortDate": "dd-MM-yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CHF", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u2019", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "rm-ch", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_rm.js b/public/app/bower_components/angular-i18n/angular-locale_rm.js new file mode 100644 index 00000000..4c3cc9c7 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_rm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "am", + "sm" + ], + "DAY": [ + "dumengia", + "glindesdi", + "mardi", + "mesemna", + "gievgia", + "venderdi", + "sonda" + ], + "MONTH": [ + "schaner", + "favrer", + "mars", + "avrigl", + "matg", + "zercladur", + "fanadur", + "avust", + "settember", + "october", + "november", + "december" + ], + "SHORTDAY": [ + "du", + "gli", + "ma", + "me", + "gie", + "ve", + "so" + ], + "SHORTMONTH": [ + "schan.", + "favr.", + "mars", + "avr.", + "matg", + "zercl.", + "fan.", + "avust", + "sett.", + "oct.", + "nov.", + "dec." + ], + "fullDate": "EEEE, 'ils' d 'da' MMMM y", + "longDate": "d 'da' MMMM y", + "medium": "dd-MM-y HH:mm:ss", + "mediumDate": "dd-MM-y", + "mediumTime": "HH:mm:ss", + "short": "dd-MM-yy HH:mm", + "shortDate": "dd-MM-yy", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CHF", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u2019", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "rm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_rn-bi.js b/public/app/bower_components/angular-i18n/angular-locale_rn-bi.js new file mode 100644 index 00000000..49330563 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_rn-bi.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Z.MU.", + "Z.MW." + ], + "DAY": [ + "Ku w'indwi", + "Ku wa mbere", + "Ku wa kabiri", + "Ku wa gatatu", + "Ku wa kane", + "Ku wa gatanu", + "Ku wa gatandatu" + ], + "MONTH": [ + "Nzero", + "Ruhuhuma", + "Ntwarante", + "Ndamukiza", + "Rusama", + "Ruheshi", + "Mukakaro", + "Nyandagaro", + "Nyakanga", + "Gitugutu", + "Munyonyo", + "Kigarama" + ], + "SHORTDAY": [ + "cu.", + "mbe.", + "kab.", + "gtu.", + "kan.", + "gnu.", + "gnd." + ], + "SHORTMONTH": [ + "Mut.", + "Gas.", + "Wer.", + "Mat.", + "Gic.", + "Kam.", + "Nya.", + "Kan.", + "Nze.", + "Ukw.", + "Ugu.", + "Uku." + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FBu", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "rn-bi", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_rn.js b/public/app/bower_components/angular-i18n/angular-locale_rn.js new file mode 100644 index 00000000..4d9ba587 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_rn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Z.MU.", + "Z.MW." + ], + "DAY": [ + "Ku w'indwi", + "Ku wa mbere", + "Ku wa kabiri", + "Ku wa gatatu", + "Ku wa kane", + "Ku wa gatanu", + "Ku wa gatandatu" + ], + "MONTH": [ + "Nzero", + "Ruhuhuma", + "Ntwarante", + "Ndamukiza", + "Rusama", + "Ruheshi", + "Mukakaro", + "Nyandagaro", + "Nyakanga", + "Gitugutu", + "Munyonyo", + "Kigarama" + ], + "SHORTDAY": [ + "cu.", + "mbe.", + "kab.", + "gtu.", + "kan.", + "gnu.", + "gnd." + ], + "SHORTMONTH": [ + "Mut.", + "Gas.", + "Wer.", + "Mat.", + "Gic.", + "Kam.", + "Nya.", + "Kan.", + "Nze.", + "Ukw.", + "Ugu.", + "Uku." + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FBu", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "rn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ro-md.js b/public/app/bower_components/angular-i18n/angular-locale_ro-md.js index b378da17..d88f3a7b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ro-md.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ro-md.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "AM", - "PM" + "a.m.", + "p.m." ], "DAY": [ "duminic\u0103", @@ -31,13 +49,13 @@ $provide.value("$locale", { "decembrie" ], "SHORTDAY": [ - "Du", - "Lu", - "Ma", - "Mi", - "Jo", - "Vi", - "S\u00e2" + "Dum", + "Lun", + "Mar", + "Mie", + "Joi", + "Vin", + "S\u00e2m" ], "SHORTMONTH": [ "ian.", @@ -55,22 +73,21 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d MMMM y", "longDate": "d MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd.MM.yyyy HH:mm", - "shortDate": "dd.MM.yyyy", + "short": "dd.MM.y HH:mm", + "shortDate": "dd.MM.y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "RON", + "CURRENCY_SYM": "MDL", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "ro-md", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 0 || n != 1 && n == (n | 0) && n % 100 >= 1 && n % 100 <= 19) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (vf.v != 0 || n == 0 || n != 1 && n % 100 >= 1 && n % 100 <= 19) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ro-ro.js b/public/app/bower_components/angular-i18n/angular-locale_ro-ro.js index 2f9f8cdf..2f500788 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ro-ro.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ro-ro.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "AM", - "PM" + "a.m.", + "p.m." ], "DAY": [ "duminic\u0103", @@ -31,13 +49,13 @@ $provide.value("$locale", { "decembrie" ], "SHORTDAY": [ - "Du", - "Lu", - "Ma", - "Mi", - "Jo", - "Vi", - "S\u00e2" + "Dum", + "Lun", + "Mar", + "Mie", + "Joi", + "Vin", + "S\u00e2m" ], "SHORTMONTH": [ "ian.", @@ -55,11 +73,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d MMMM y", "longDate": "d MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd.MM.yyyy HH:mm", - "shortDate": "dd.MM.yyyy", + "short": "dd.MM.y HH:mm", + "shortDate": "dd.MM.y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "ro-ro", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 0 || n != 1 && n == (n | 0) && n % 100 >= 1 && n % 100 <= 19) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (vf.v != 0 || n == 0 || n != 1 && n % 100 >= 1 && n % 100 <= 19) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ro.js b/public/app/bower_components/angular-i18n/angular-locale_ro.js index 18d08767..e1f87622 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ro.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ro.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "AM", - "PM" + "a.m.", + "p.m." ], "DAY": [ "duminic\u0103", @@ -31,13 +49,13 @@ $provide.value("$locale", { "decembrie" ], "SHORTDAY": [ - "Du", - "Lu", - "Ma", - "Mi", - "Jo", - "Vi", - "S\u00e2" + "Dum", + "Lun", + "Mar", + "Mie", + "Joi", + "Vin", + "S\u00e2m" ], "SHORTMONTH": [ "ian.", @@ -55,11 +73,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d MMMM y", "longDate": "d MMMM y", - "medium": "dd.MM.yyyy HH:mm:ss", - "mediumDate": "dd.MM.yyyy", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd.MM.yyyy HH:mm", - "shortDate": "dd.MM.yyyy", + "short": "dd.MM.y HH:mm", + "shortDate": "dd.MM.y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "ro", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == 0 || n != 1 && n == (n | 0) && n % 100 >= 1 && n % 100 <= 19) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (vf.v != 0 || n == 0 || n != 1 && n % 100 >= 1 && n % 100 <= 19) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_rof-tz.js b/public/app/bower_components/angular-i18n/angular-locale_rof-tz.js new file mode 100644 index 00000000..6dc75c51 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_rof-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "kang'ama", + "kingoto" + ], + "DAY": [ + "Ijumapili", + "Ijumatatu", + "Ijumanne", + "Ijumatano", + "Alhamisi", + "Ijumaa", + "Ijumamosi" + ], + "MONTH": [ + "Mweri wa kwanza", + "Mweri wa kaili", + "Mweri wa katatu", + "Mweri wa kaana", + "Mweri wa tanu", + "Mweri wa sita", + "Mweri wa saba", + "Mweri wa nane", + "Mweri wa tisa", + "Mweri wa ikumi", + "Mweri wa ikumi na moja", + "Mweri wa ikumi na mbili" + ], + "SHORTDAY": [ + "Ijp", + "Ijt", + "Ijn", + "Ijtn", + "Alh", + "Iju", + "Ijm" + ], + "SHORTMONTH": [ + "M1", + "M2", + "M3", + "M4", + "M5", + "M6", + "M7", + "M8", + "M9", + "M10", + "M11", + "M12" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "rof-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_rof.js b/public/app/bower_components/angular-i18n/angular-locale_rof.js new file mode 100644 index 00000000..55ecbb6e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_rof.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "kang'ama", + "kingoto" + ], + "DAY": [ + "Ijumapili", + "Ijumatatu", + "Ijumanne", + "Ijumatano", + "Alhamisi", + "Ijumaa", + "Ijumamosi" + ], + "MONTH": [ + "Mweri wa kwanza", + "Mweri wa kaili", + "Mweri wa katatu", + "Mweri wa kaana", + "Mweri wa tanu", + "Mweri wa sita", + "Mweri wa saba", + "Mweri wa nane", + "Mweri wa tisa", + "Mweri wa ikumi", + "Mweri wa ikumi na moja", + "Mweri wa ikumi na mbili" + ], + "SHORTDAY": [ + "Ijp", + "Ijt", + "Ijn", + "Ijtn", + "Alh", + "Iju", + "Ijm" + ], + "SHORTMONTH": [ + "M1", + "M2", + "M3", + "M4", + "M5", + "M6", + "M7", + "M8", + "M9", + "M10", + "M11", + "M12" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "rof", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ru-by.js b/public/app/bower_components/angular-i18n/angular-locale_ru-by.js index 502ed52c..6b4dfb06 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ru-by.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ru-by.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u0440\u0443\u0431.", + "CURRENCY_SYM": "BYR", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ru-kg.js b/public/app/bower_components/angular-i18n/angular-locale_ru-kg.js index a8dfd8b8..af6b3771 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ru-kg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ru-kg.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u0440\u0443\u0431.", + "CURRENCY_SYM": "KGS", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ru-kz.js b/public/app/bower_components/angular-i18n/angular-locale_ru-kz.js index e6b0bbec..0e2568b5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ru-kz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ru-kz.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u0440\u0443\u0431.", + "CURRENCY_SYM": "\u20b8", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ru-md.js b/public/app/bower_components/angular-i18n/angular-locale_ru-md.js index b366ede0..448860b1 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ru-md.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ru-md.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u0434\u043e \u043f\u043e\u043b\u0443\u0434\u043d\u044f", - "\u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u043b\u0443\u0434\u043d\u044f" + "AM", + "PM" ], "DAY": [ "\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435", @@ -53,24 +71,23 @@ $provide.value("$locale", { "\u043d\u043e\u044f\u0431.", "\u0434\u0435\u043a." ], - "fullDate": "EEEE, d MMMM y\u00a0'\u0433'.", - "longDate": "d MMMM y\u00a0'\u0433'.", - "medium": "dd.MM.yyyy H:mm:ss", - "mediumDate": "dd.MM.yyyy", + "fullDate": "EEEE, d MMMM y '\u0433'.", + "longDate": "d MMMM y '\u0433'.", + "medium": "d MMM y '\u0433'. H:mm:ss", + "mediumDate": "d MMM y '\u0433'.", "mediumTime": "H:mm:ss", "short": "dd.MM.yy H:mm", "shortDate": "dd.MM.yy", "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u0440\u0443\u0431.", + "CURRENCY_SYM": "MDL", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "ru-md", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ru-ru.js b/public/app/bower_components/angular-i18n/angular-locale_ru-ru.js index e963e936..cac5244d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ru-ru.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ru-ru.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u0434\u043e \u043f\u043e\u043b\u0443\u0434\u043d\u044f", - "\u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u043b\u0443\u0434\u043d\u044f" + "AM", + "PM" ], "DAY": [ "\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435", @@ -53,10 +71,10 @@ $provide.value("$locale", { "\u043d\u043e\u044f\u0431.", "\u0434\u0435\u043a." ], - "fullDate": "EEEE, d MMMM y\u00a0'\u0433'.", - "longDate": "d MMMM y\u00a0'\u0433'.", - "medium": "dd.MM.yyyy H:mm:ss", - "mediumDate": "dd.MM.yyyy", + "fullDate": "EEEE, d MMMM y '\u0433'.", + "longDate": "d MMMM y '\u0433'.", + "medium": "d MMM y '\u0433'. H:mm:ss", + "mediumDate": "d MMM y '\u0433'.", "mediumTime": "H:mm:ss", "short": "dd.MM.yy H:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "ru-ru", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ru-ua.js b/public/app/bower_components/angular-i18n/angular-locale_ru-ua.js index 64a035dd..2e170a57 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ru-ua.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ru-ua.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u0434\u043e \u043f\u043e\u043b\u0443\u0434\u043d\u044f", - "\u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u043b\u0443\u0434\u043d\u044f" + "AM", + "PM" ], "DAY": [ "\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435", @@ -53,7 +71,7 @@ $provide.value("$locale", { "\u043d\u043e\u044f\u0431.", "\u0434\u0435\u043a." ], - "fullDate": "EEEE, d MMMM y\u00a0'\u0433'.", + "fullDate": "EEEE, d MMMM y '\u0433'.", "longDate": "d MMMM y", "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u0440\u0443\u0431.", + "CURRENCY_SYM": "\u20b4", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "ru-ua", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ru.js b/public/app/bower_components/angular-i18n/angular-locale_ru.js index ac00c613..966bbd4c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ru.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ru.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u0434\u043e \u043f\u043e\u043b\u0443\u0434\u043d\u044f", - "\u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u043b\u0443\u0434\u043d\u044f" + "AM", + "PM" ], "DAY": [ "\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435", @@ -53,10 +71,10 @@ $provide.value("$locale", { "\u043d\u043e\u044f\u0431.", "\u0434\u0435\u043a." ], - "fullDate": "EEEE, d MMMM y\u00a0'\u0433'.", - "longDate": "d MMMM y\u00a0'\u0433'.", - "medium": "dd.MM.yyyy H:mm:ss", - "mediumDate": "dd.MM.yyyy", + "fullDate": "EEEE, d MMMM y '\u0433'.", + "longDate": "d MMMM y '\u0433'.", + "medium": "d MMM y '\u0433'. H:mm:ss", + "mediumDate": "d MMM y '\u0433'.", "mediumTime": "H:mm:ss", "short": "dd.MM.yy H:mm", "shortDate": "dd.MM.yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "ru", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_rw-rw.js b/public/app/bower_components/angular-i18n/angular-locale_rw-rw.js new file mode 100644 index 00000000..fd3fdfb5 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_rw-rw.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Ku cyumweru", + "Kuwa mbere", + "Kuwa kabiri", + "Kuwa gatatu", + "Kuwa kane", + "Kuwa gatanu", + "Kuwa gatandatu" + ], + "MONTH": [ + "Mutarama", + "Gashyantare", + "Werurwe", + "Mata", + "Gicuransi", + "Kamena", + "Nyakanga", + "Kanama", + "Nzeli", + "Ukwakira", + "Ugushyingo", + "Ukuboza" + ], + "SHORTDAY": [ + "cyu.", + "mbe.", + "kab.", + "gtu.", + "kan.", + "gnu.", + "gnd." + ], + "SHORTMONTH": [ + "mut.", + "gas.", + "wer.", + "mat.", + "gic.", + "kam.", + "nya.", + "kan.", + "nze.", + "ukw.", + "ugu.", + "uku." + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/MM/dd HH:mm", + "shortDate": "yy/MM/dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "RF", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "rw-rw", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_rw.js b/public/app/bower_components/angular-i18n/angular-locale_rw.js new file mode 100644 index 00000000..b1464370 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_rw.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Ku cyumweru", + "Kuwa mbere", + "Kuwa kabiri", + "Kuwa gatatu", + "Kuwa kane", + "Kuwa gatanu", + "Kuwa gatandatu" + ], + "MONTH": [ + "Mutarama", + "Gashyantare", + "Werurwe", + "Mata", + "Gicuransi", + "Kamena", + "Nyakanga", + "Kanama", + "Nzeli", + "Ukwakira", + "Ugushyingo", + "Ukuboza" + ], + "SHORTDAY": [ + "cyu.", + "mbe.", + "kab.", + "gtu.", + "kan.", + "gnu.", + "gnd." + ], + "SHORTMONTH": [ + "mut.", + "gas.", + "wer.", + "mat.", + "gic.", + "kam.", + "nya.", + "kan.", + "nze.", + "ukw.", + "ugu.", + "uku." + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/MM/dd HH:mm", + "shortDate": "yy/MM/dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "RF", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "rw", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_rwk-tz.js b/public/app/bower_components/angular-i18n/angular-locale_rwk-tz.js new file mode 100644 index 00000000..32734752 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_rwk-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "utuko", + "kyiukonyi" + ], + "DAY": [ + "Jumapilyi", + "Jumatatuu", + "Jumanne", + "Jumatanu", + "Alhamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Aprilyi", + "Mei", + "Junyi", + "Julyai", + "Agusti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "rwk-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_rwk.js b/public/app/bower_components/angular-i18n/angular-locale_rwk.js new file mode 100644 index 00000000..a54d850a --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_rwk.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "utuko", + "kyiukonyi" + ], + "DAY": [ + "Jumapilyi", + "Jumatatuu", + "Jumanne", + "Jumatanu", + "Alhamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Aprilyi", + "Mei", + "Junyi", + "Julyai", + "Agusti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "rwk", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sah-ru.js b/public/app/bower_components/angular-i18n/angular-locale_sah-ru.js new file mode 100644 index 00000000..0d3014c5 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_sah-ru.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u042d\u0418", + "\u042d\u041a" + ], + "DAY": [ + "\u0411\u0430\u0441\u043a\u044b\u04bb\u044b\u0430\u043d\u043d\u044c\u0430", + "\u0411\u044d\u043d\u0438\u0434\u0438\u044d\u043b\u0438\u043d\u043d\u044c\u0438\u043a", + "\u041e\u043f\u0442\u0443\u043e\u0440\u0443\u043d\u043d\u044c\u0443\u043a", + "\u0421\u044d\u0440\u044d\u0434\u044d", + "\u0427\u044d\u043f\u043f\u0438\u044d\u0440", + "\u0411\u044d\u044d\u0442\u0438\u04a5\u0441\u044d", + "\u0421\u0443\u0431\u0443\u043e\u0442\u0430" + ], + "MONTH": [ + "\u0422\u043e\u0445\u0441\u0443\u043d\u043d\u044c\u0443", + "\u041e\u043b\u0443\u043d\u043d\u044c\u0443", + "\u041a\u0443\u043b\u0443\u043d \u0442\u0443\u0442\u0430\u0440", + "\u041c\u0443\u0443\u0441 \u0443\u0441\u0442\u0430\u0440", + "\u042b\u0430\u043c \u044b\u0439\u044b\u043d", + "\u0411\u044d\u0441 \u044b\u0439\u044b\u043d", + "\u041e\u0442 \u044b\u0439\u044b\u043d", + "\u0410\u0442\u044b\u0440\u0434\u044c\u044b\u0445 \u044b\u0439\u044b\u043d", + "\u0411\u0430\u043b\u0430\u0495\u0430\u043d \u044b\u0439\u044b\u043d", + "\u0410\u043b\u0442\u044b\u043d\u043d\u044c\u044b", + "\u0421\u044d\u0442\u0438\u043d\u043d\u044c\u0438", + "\u0410\u0445\u0441\u044b\u043d\u043d\u044c\u044b" + ], + "SHORTDAY": [ + "\u0411\u0441", + "\u0411\u043d", + "\u041e\u043f", + "\u0421\u044d", + "\u0427\u043f", + "\u0411\u044d", + "\u0421\u0431" + ], + "SHORTMONTH": [ + "\u0422\u043e\u0445\u0441", + "\u041e\u043b\u0443\u043d", + "\u041a\u043b\u043d_\u0442\u0442\u0440", + "\u041c\u0443\u0441_\u0443\u0441\u0442", + "\u042b\u0430\u043c_\u0439\u043d", + "\u0411\u044d\u0441_\u0439\u043d", + "\u041e\u0442_\u0439\u043d", + "\u0410\u0442\u0440\u0434\u044c_\u0439\u043d", + "\u0411\u043b\u0495\u043d_\u0439\u043d", + "\u0410\u043b\u0442", + "\u0421\u044d\u0442", + "\u0410\u0445\u0441" + ], + "fullDate": "y '\u0441\u044b\u043b' MMMM d '\u043a\u04af\u043d\u044d', EEEE", + "longDate": "y, MMMM d", + "medium": "y, MMM d HH:mm:ss", + "mediumDate": "y, MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/M/d HH:mm", + "shortDate": "yy/M/d", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u0440\u0443\u0431.", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "sah-ru", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sah.js b/public/app/bower_components/angular-i18n/angular-locale_sah.js new file mode 100644 index 00000000..b84be1cf --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_sah.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u042d\u0418", + "\u042d\u041a" + ], + "DAY": [ + "\u0411\u0430\u0441\u043a\u044b\u04bb\u044b\u0430\u043d\u043d\u044c\u0430", + "\u0411\u044d\u043d\u0438\u0434\u0438\u044d\u043b\u0438\u043d\u043d\u044c\u0438\u043a", + "\u041e\u043f\u0442\u0443\u043e\u0440\u0443\u043d\u043d\u044c\u0443\u043a", + "\u0421\u044d\u0440\u044d\u0434\u044d", + "\u0427\u044d\u043f\u043f\u0438\u044d\u0440", + "\u0411\u044d\u044d\u0442\u0438\u04a5\u0441\u044d", + "\u0421\u0443\u0431\u0443\u043e\u0442\u0430" + ], + "MONTH": [ + "\u0422\u043e\u0445\u0441\u0443\u043d\u043d\u044c\u0443", + "\u041e\u043b\u0443\u043d\u043d\u044c\u0443", + "\u041a\u0443\u043b\u0443\u043d \u0442\u0443\u0442\u0430\u0440", + "\u041c\u0443\u0443\u0441 \u0443\u0441\u0442\u0430\u0440", + "\u042b\u0430\u043c \u044b\u0439\u044b\u043d", + "\u0411\u044d\u0441 \u044b\u0439\u044b\u043d", + "\u041e\u0442 \u044b\u0439\u044b\u043d", + "\u0410\u0442\u044b\u0440\u0434\u044c\u044b\u0445 \u044b\u0439\u044b\u043d", + "\u0411\u0430\u043b\u0430\u0495\u0430\u043d \u044b\u0439\u044b\u043d", + "\u0410\u043b\u0442\u044b\u043d\u043d\u044c\u044b", + "\u0421\u044d\u0442\u0438\u043d\u043d\u044c\u0438", + "\u0410\u0445\u0441\u044b\u043d\u043d\u044c\u044b" + ], + "SHORTDAY": [ + "\u0411\u0441", + "\u0411\u043d", + "\u041e\u043f", + "\u0421\u044d", + "\u0427\u043f", + "\u0411\u044d", + "\u0421\u0431" + ], + "SHORTMONTH": [ + "\u0422\u043e\u0445\u0441", + "\u041e\u043b\u0443\u043d", + "\u041a\u043b\u043d_\u0442\u0442\u0440", + "\u041c\u0443\u0441_\u0443\u0441\u0442", + "\u042b\u0430\u043c_\u0439\u043d", + "\u0411\u044d\u0441_\u0439\u043d", + "\u041e\u0442_\u0439\u043d", + "\u0410\u0442\u0440\u0434\u044c_\u0439\u043d", + "\u0411\u043b\u0495\u043d_\u0439\u043d", + "\u0410\u043b\u0442", + "\u0421\u044d\u0442", + "\u0410\u0445\u0441" + ], + "fullDate": "y '\u0441\u044b\u043b' MMMM d '\u043a\u04af\u043d\u044d', EEEE", + "longDate": "y, MMMM d", + "medium": "y, MMM d HH:mm:ss", + "mediumDate": "y, MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/M/d HH:mm", + "shortDate": "yy/M/d", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u0440\u0443\u0431.", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "sah", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_saq-ke.js b/public/app/bower_components/angular-i18n/angular-locale_saq-ke.js new file mode 100644 index 00000000..3639c5d3 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_saq-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Tesiran", + "Teipa" + ], + "DAY": [ + "Mderot ee are", + "Mderot ee kuni", + "Mderot ee ong'wan", + "Mderot ee inet", + "Mderot ee ile", + "Mderot ee sapa", + "Mderot ee kwe" + ], + "MONTH": [ + "Lapa le obo", + "Lapa le waare", + "Lapa le okuni", + "Lapa le ong'wan", + "Lapa le imet", + "Lapa le ile", + "Lapa le sapa", + "Lapa le isiet", + "Lapa le saal", + "Lapa le tomon", + "Lapa le tomon obo", + "Lapa le tomon waare" + ], + "SHORTDAY": [ + "Are", + "Kun", + "Ong", + "Ine", + "Ile", + "Sap", + "Kwe" + ], + "SHORTMONTH": [ + "Obo", + "Waa", + "Oku", + "Ong", + "Ime", + "Ile", + "Sap", + "Isi", + "Saa", + "Tom", + "Tob", + "Tow" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "saq-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_saq.js b/public/app/bower_components/angular-i18n/angular-locale_saq.js new file mode 100644 index 00000000..c5c6fb7f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_saq.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Tesiran", + "Teipa" + ], + "DAY": [ + "Mderot ee are", + "Mderot ee kuni", + "Mderot ee ong'wan", + "Mderot ee inet", + "Mderot ee ile", + "Mderot ee sapa", + "Mderot ee kwe" + ], + "MONTH": [ + "Lapa le obo", + "Lapa le waare", + "Lapa le okuni", + "Lapa le ong'wan", + "Lapa le imet", + "Lapa le ile", + "Lapa le sapa", + "Lapa le isiet", + "Lapa le saal", + "Lapa le tomon", + "Lapa le tomon obo", + "Lapa le tomon waare" + ], + "SHORTDAY": [ + "Are", + "Kun", + "Ong", + "Ine", + "Ile", + "Sap", + "Kwe" + ], + "SHORTMONTH": [ + "Obo", + "Waa", + "Oku", + "Ong", + "Ime", + "Ile", + "Sap", + "Isi", + "Saa", + "Tom", + "Tob", + "Tow" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "saq", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sbp-tz.js b/public/app/bower_components/angular-i18n/angular-locale_sbp-tz.js new file mode 100644 index 00000000..921a6a68 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_sbp-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Lwamilawu", + "Pashamihe" + ], + "DAY": [ + "Mulungu", + "Jumatatu", + "Jumanne", + "Jumatano", + "Alahamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Mupalangulwa", + "Mwitope", + "Mushende", + "Munyi", + "Mushende Magali", + "Mujimbi", + "Mushipepo", + "Mupuguto", + "Munyense", + "Mokhu", + "Musongandembwe", + "Muhaano" + ], + "SHORTDAY": [ + "Mul", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Mup", + "Mwi", + "Msh", + "Mun", + "Mag", + "Muj", + "Msp", + "Mpg", + "Mye", + "Mok", + "Mus", + "Muh" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "sbp-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sbp.js b/public/app/bower_components/angular-i18n/angular-locale_sbp.js new file mode 100644 index 00000000..7bd1ee58 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_sbp.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Lwamilawu", + "Pashamihe" + ], + "DAY": [ + "Mulungu", + "Jumatatu", + "Jumanne", + "Jumatano", + "Alahamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Mupalangulwa", + "Mwitope", + "Mushende", + "Munyi", + "Mushende Magali", + "Mujimbi", + "Mushipepo", + "Mupuguto", + "Munyense", + "Mokhu", + "Musongandembwe", + "Muhaano" + ], + "SHORTDAY": [ + "Mul", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Mup", + "Mwi", + "Msh", + "Mun", + "Mag", + "Muj", + "Msp", + "Mpg", + "Mye", + "Mok", + "Mus", + "Muh" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "sbp", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_se-fi.js b/public/app/bower_components/angular-i18n/angular-locale_se-fi.js new file mode 100644 index 00000000..71ebc8c1 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_se-fi.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "i\u0111itbeaivet", + "eahketbeaivet" + ], + "DAY": [ + "aejlege", + "m\u00e5anta", + "d\u00e4jsta", + "gaskevahkoe", + "d\u00e5arsta", + "bearjadahke", + "laavadahke" + ], + "MONTH": [ + "o\u0111\u0111ajagem\u00e1nnu", + "guovvam\u00e1nnu", + "njuk\u010dam\u00e1nnu", + "cuo\u014bom\u00e1nnu", + "miessem\u00e1nnu", + "geassem\u00e1nnu", + "suoidnem\u00e1nnu", + "borgem\u00e1nnu", + "\u010dak\u010dam\u00e1nnu", + "golggotm\u00e1nnu", + "sk\u00e1bmam\u00e1nnu", + "juovlam\u00e1nnu" + ], + "SHORTDAY": [ + "sotn", + "vuos", + "ma\u014b", + "gask", + "duor", + "bear", + "l\u00e1v" + ], + "SHORTMONTH": [ + "o\u0111\u0111ajage", + "guovva", + "njuk\u010da", + "cuo\u014bo", + "miesse", + "geasse", + "suoidne", + "borge", + "\u010dak\u010da", + "golggot", + "sk\u00e1bma", + "juovla" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "se-fi", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_se-no.js b/public/app/bower_components/angular-i18n/angular-locale_se-no.js new file mode 100644 index 00000000..3b45488d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_se-no.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "i\u0111itbeaivet", + "eahketbeaivet" + ], + "DAY": [ + "sotnabeaivi", + "vuoss\u00e1rga", + "ma\u014b\u014beb\u00e1rga", + "gaskavahkku", + "duorasdat", + "bearjadat", + "l\u00e1vvardat" + ], + "MONTH": [ + "o\u0111\u0111ajagem\u00e1nnu", + "guovvam\u00e1nnu", + "njuk\u010dam\u00e1nnu", + "cuo\u014bom\u00e1nnu", + "miessem\u00e1nnu", + "geassem\u00e1nnu", + "suoidnem\u00e1nnu", + "borgem\u00e1nnu", + "\u010dak\u010dam\u00e1nnu", + "golggotm\u00e1nnu", + "sk\u00e1bmam\u00e1nnu", + "juovlam\u00e1nnu" + ], + "SHORTDAY": [ + "sotn", + "vuos", + "ma\u014b", + "gask", + "duor", + "bear", + "l\u00e1v" + ], + "SHORTMONTH": [ + "o\u0111\u0111j", + "guov", + "njuk", + "cuo", + "mies", + "geas", + "suoi", + "borg", + "\u010dak\u010d", + "golg", + "sk\u00e1b", + "juov" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "kr", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "se-no", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_se.js b/public/app/bower_components/angular-i18n/angular-locale_se.js new file mode 100644 index 00000000..5f22c965 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_se.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "i\u0111itbeaivet", + "eahketbeaivet" + ], + "DAY": [ + "sotnabeaivi", + "vuoss\u00e1rga", + "ma\u014b\u014beb\u00e1rga", + "gaskavahkku", + "duorasdat", + "bearjadat", + "l\u00e1vvardat" + ], + "MONTH": [ + "o\u0111\u0111ajagem\u00e1nnu", + "guovvam\u00e1nnu", + "njuk\u010dam\u00e1nnu", + "cuo\u014bom\u00e1nnu", + "miessem\u00e1nnu", + "geassem\u00e1nnu", + "suoidnem\u00e1nnu", + "borgem\u00e1nnu", + "\u010dak\u010dam\u00e1nnu", + "golggotm\u00e1nnu", + "sk\u00e1bmam\u00e1nnu", + "juovlam\u00e1nnu" + ], + "SHORTDAY": [ + "sotn", + "vuos", + "ma\u014b", + "gask", + "duor", + "bear", + "l\u00e1v" + ], + "SHORTMONTH": [ + "o\u0111\u0111j", + "guov", + "njuk", + "cuo", + "mies", + "geas", + "suoi", + "borg", + "\u010dak\u010d", + "golg", + "sk\u00e1b", + "juov" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "kr", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "se", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_seh-mz.js b/public/app/bower_components/angular-i18n/angular-locale_seh-mz.js new file mode 100644 index 00000000..f4d89454 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_seh-mz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Dimingu", + "Chiposi", + "Chipiri", + "Chitatu", + "Chinai", + "Chishanu", + "Sabudu" + ], + "MONTH": [ + "Janeiro", + "Fevreiro", + "Marco", + "Abril", + "Maio", + "Junho", + "Julho", + "Augusto", + "Setembro", + "Otubro", + "Novembro", + "Decembro" + ], + "SHORTDAY": [ + "Dim", + "Pos", + "Pir", + "Tat", + "Nai", + "Sha", + "Sab" + ], + "SHORTMONTH": [ + "Jan", + "Fev", + "Mar", + "Abr", + "Mai", + "Jun", + "Jul", + "Aug", + "Set", + "Otu", + "Nov", + "Dec" + ], + "fullDate": "EEEE, d 'de' MMMM 'de' y", + "longDate": "d 'de' MMMM 'de' y", + "medium": "d 'de' MMM 'de' y HH:mm:ss", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "MTn", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "seh-mz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_seh.js b/public/app/bower_components/angular-i18n/angular-locale_seh.js new file mode 100644 index 00000000..3ad44fae --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_seh.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Dimingu", + "Chiposi", + "Chipiri", + "Chitatu", + "Chinai", + "Chishanu", + "Sabudu" + ], + "MONTH": [ + "Janeiro", + "Fevreiro", + "Marco", + "Abril", + "Maio", + "Junho", + "Julho", + "Augusto", + "Setembro", + "Otubro", + "Novembro", + "Decembro" + ], + "SHORTDAY": [ + "Dim", + "Pos", + "Pir", + "Tat", + "Nai", + "Sha", + "Sab" + ], + "SHORTMONTH": [ + "Jan", + "Fev", + "Mar", + "Abr", + "Mai", + "Jun", + "Jul", + "Aug", + "Set", + "Otu", + "Nov", + "Dec" + ], + "fullDate": "EEEE, d 'de' MMMM 'de' y", + "longDate": "d 'de' MMMM 'de' y", + "medium": "d 'de' MMM 'de' y HH:mm:ss", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "MTn", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "seh", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ses-ml.js b/public/app/bower_components/angular-i18n/angular-locale_ses-ml.js new file mode 100644 index 00000000..49bde169 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ses-ml.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Adduha", + "Aluula" + ], + "DAY": [ + "Alhadi", + "Atinni", + "Atalaata", + "Alarba", + "Alhamiisa", + "Alzuma", + "Asibti" + ], + "MONTH": [ + "\u017danwiye", + "Feewiriye", + "Marsi", + "Awiril", + "Me", + "\u017duwe\u014b", + "\u017duyye", + "Ut", + "Sektanbur", + "Oktoobur", + "Noowanbur", + "Deesanbur" + ], + "SHORTDAY": [ + "Alh", + "Ati", + "Ata", + "Ala", + "Alm", + "Alz", + "Asi" + ], + "SHORTMONTH": [ + "\u017dan", + "Fee", + "Mar", + "Awi", + "Me", + "\u017duw", + "\u017duy", + "Ut", + "Sek", + "Okt", + "Noo", + "Dee" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "ses-ml", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ses.js b/public/app/bower_components/angular-i18n/angular-locale_ses.js new file mode 100644 index 00000000..25c09cb7 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ses.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Adduha", + "Aluula" + ], + "DAY": [ + "Alhadi", + "Atinni", + "Atalaata", + "Alarba", + "Alhamiisa", + "Alzuma", + "Asibti" + ], + "MONTH": [ + "\u017danwiye", + "Feewiriye", + "Marsi", + "Awiril", + "Me", + "\u017duwe\u014b", + "\u017duyye", + "Ut", + "Sektanbur", + "Oktoobur", + "Noowanbur", + "Deesanbur" + ], + "SHORTDAY": [ + "Alh", + "Ati", + "Ata", + "Ala", + "Alm", + "Alz", + "Asi" + ], + "SHORTMONTH": [ + "\u017dan", + "Fee", + "Mar", + "Awi", + "Me", + "\u017duw", + "\u017duy", + "Ut", + "Sek", + "Okt", + "Noo", + "Dee" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "ses", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sg-cf.js b/public/app/bower_components/angular-i18n/angular-locale_sg-cf.js new file mode 100644 index 00000000..35b43b74 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_sg-cf.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "ND", + "LK" + ], + "DAY": [ + "Bikua-\u00f4ko", + "B\u00efkua-\u00fbse", + "B\u00efkua-pt\u00e2", + "B\u00efkua-us\u00ef\u00f6", + "B\u00efkua-ok\u00fc", + "L\u00e2p\u00f4s\u00f6", + "L\u00e2yenga" + ], + "MONTH": [ + "Nyenye", + "Fulund\u00efgi", + "Mb\u00e4ng\u00fc", + "Ngub\u00f9e", + "B\u00eal\u00e4w\u00fc", + "F\u00f6ndo", + "Lengua", + "K\u00fck\u00fcr\u00fc", + "Mvuka", + "Ngberere", + "Nab\u00e4nd\u00fcru", + "Kakauka" + ], + "SHORTDAY": [ + "Bk1", + "Bk2", + "Bk3", + "Bk4", + "Bk5", + "L\u00e2p", + "L\u00e2y" + ], + "SHORTMONTH": [ + "Nye", + "Ful", + "Mb\u00e4", + "Ngu", + "B\u00eal", + "F\u00f6n", + "Len", + "K\u00fck", + "Mvu", + "Ngb", + "Nab", + "Kak" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "sg-cf", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sg.js b/public/app/bower_components/angular-i18n/angular-locale_sg.js new file mode 100644 index 00000000..60975c29 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_sg.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "ND", + "LK" + ], + "DAY": [ + "Bikua-\u00f4ko", + "B\u00efkua-\u00fbse", + "B\u00efkua-pt\u00e2", + "B\u00efkua-us\u00ef\u00f6", + "B\u00efkua-ok\u00fc", + "L\u00e2p\u00f4s\u00f6", + "L\u00e2yenga" + ], + "MONTH": [ + "Nyenye", + "Fulund\u00efgi", + "Mb\u00e4ng\u00fc", + "Ngub\u00f9e", + "B\u00eal\u00e4w\u00fc", + "F\u00f6ndo", + "Lengua", + "K\u00fck\u00fcr\u00fc", + "Mvuka", + "Ngberere", + "Nab\u00e4nd\u00fcru", + "Kakauka" + ], + "SHORTDAY": [ + "Bk1", + "Bk2", + "Bk3", + "Bk4", + "Bk5", + "L\u00e2p", + "L\u00e2y" + ], + "SHORTMONTH": [ + "Nye", + "Ful", + "Mb\u00e4", + "Ngu", + "B\u00eal", + "F\u00f6n", + "Len", + "K\u00fck", + "Mvu", + "Ngb", + "Nab", + "Kak" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "sg", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_shi-latn-ma.js b/public/app/bower_components/angular-i18n/angular-locale_shi-latn-ma.js new file mode 100644 index 00000000..8af24c31 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_shi-latn-ma.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "tifawt", + "tadgg\u02b7at" + ], + "DAY": [ + "asamas", + "aynas", + "asinas", + "ak\u1e5bas", + "akwas", + "asimwas", + "asi\u1e0dyas" + ], + "MONTH": [ + "innayr", + "b\u1e5bay\u1e5b", + "ma\u1e5b\u1e63", + "ibrir", + "mayyu", + "yunyu", + "yulyuz", + "\u0263uct", + "cutanbir", + "ktubr", + "nuwanbir", + "dujanbir" + ], + "SHORTDAY": [ + "asa", + "ayn", + "asi", + "ak\u1e5b", + "akw", + "asim", + "asi\u1e0d" + ], + "SHORTMONTH": [ + "inn", + "b\u1e5ba", + "ma\u1e5b", + "ibr", + "may", + "yun", + "yul", + "\u0263uc", + "cut", + "ktu", + "nuw", + "duj" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "dh", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "shi-latn-ma", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_shi-latn.js b/public/app/bower_components/angular-i18n/angular-locale_shi-latn.js new file mode 100644 index 00000000..acad3f3c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_shi-latn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "tifawt", + "tadgg\u02b7at" + ], + "DAY": [ + "asamas", + "aynas", + "asinas", + "ak\u1e5bas", + "akwas", + "asimwas", + "asi\u1e0dyas" + ], + "MONTH": [ + "innayr", + "b\u1e5bay\u1e5b", + "ma\u1e5b\u1e63", + "ibrir", + "mayyu", + "yunyu", + "yulyuz", + "\u0263uct", + "cutanbir", + "ktubr", + "nuwanbir", + "dujanbir" + ], + "SHORTDAY": [ + "asa", + "ayn", + "asi", + "ak\u1e5b", + "akw", + "asim", + "asi\u1e0d" + ], + "SHORTMONTH": [ + "inn", + "b\u1e5ba", + "ma\u1e5b", + "ibr", + "may", + "yun", + "yul", + "\u0263uc", + "cut", + "ktu", + "nuw", + "duj" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "shi-latn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_shi-tfng-ma.js b/public/app/bower_components/angular-i18n/angular-locale_shi-tfng-ma.js new file mode 100644 index 00000000..b240b0c1 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_shi-tfng-ma.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u2d5c\u2d49\u2d3c\u2d30\u2d61\u2d5c", + "\u2d5c\u2d30\u2d37\u2d33\u2d33\u2d6f\u2d30\u2d5c" + ], + "DAY": [ + "\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59", + "\u2d30\u2d62\u2d4f\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59", + "\u2d30\u2d3d\u2d55\u2d30\u2d59", + "\u2d30\u2d3d\u2d61\u2d30\u2d59", + "\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59" + ], + "MONTH": [ + "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54", + "\u2d31\u2d55\u2d30\u2d62\u2d55", + "\u2d4e\u2d30\u2d55\u2d5a", + "\u2d49\u2d31\u2d54\u2d49\u2d54", + "\u2d4e\u2d30\u2d62\u2d62\u2d53", + "\u2d62\u2d53\u2d4f\u2d62\u2d53", + "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63", + "\u2d56\u2d53\u2d5b\u2d5c", + "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54", + "\u2d3d\u2d5c\u2d53\u2d31\u2d54", + "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54", + "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54" + ], + "SHORTDAY": [ + "\u2d30\u2d59\u2d30", + "\u2d30\u2d62\u2d4f", + "\u2d30\u2d59\u2d49", + "\u2d30\u2d3d\u2d55", + "\u2d30\u2d3d\u2d61", + "\u2d30\u2d59\u2d49\u2d4e", + "\u2d30\u2d59\u2d49\u2d39" + ], + "SHORTMONTH": [ + "\u2d49\u2d4f\u2d4f", + "\u2d31\u2d55\u2d30", + "\u2d4e\u2d30\u2d55", + "\u2d49\u2d31\u2d54", + "\u2d4e\u2d30\u2d62", + "\u2d62\u2d53\u2d4f", + "\u2d62\u2d53\u2d4d", + "\u2d56\u2d53\u2d5b", + "\u2d5b\u2d53\u2d5c", + "\u2d3d\u2d5c\u2d53", + "\u2d4f\u2d53\u2d61", + "\u2d37\u2d53\u2d4a" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "dh", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "shi-tfng-ma", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_shi-tfng.js b/public/app/bower_components/angular-i18n/angular-locale_shi-tfng.js new file mode 100644 index 00000000..06b65e46 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_shi-tfng.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u2d5c\u2d49\u2d3c\u2d30\u2d61\u2d5c", + "\u2d5c\u2d30\u2d37\u2d33\u2d33\u2d6f\u2d30\u2d5c" + ], + "DAY": [ + "\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59", + "\u2d30\u2d62\u2d4f\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59", + "\u2d30\u2d3d\u2d55\u2d30\u2d59", + "\u2d30\u2d3d\u2d61\u2d30\u2d59", + "\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59" + ], + "MONTH": [ + "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54", + "\u2d31\u2d55\u2d30\u2d62\u2d55", + "\u2d4e\u2d30\u2d55\u2d5a", + "\u2d49\u2d31\u2d54\u2d49\u2d54", + "\u2d4e\u2d30\u2d62\u2d62\u2d53", + "\u2d62\u2d53\u2d4f\u2d62\u2d53", + "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63", + "\u2d56\u2d53\u2d5b\u2d5c", + "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54", + "\u2d3d\u2d5c\u2d53\u2d31\u2d54", + "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54", + "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54" + ], + "SHORTDAY": [ + "\u2d30\u2d59\u2d30", + "\u2d30\u2d62\u2d4f", + "\u2d30\u2d59\u2d49", + "\u2d30\u2d3d\u2d55", + "\u2d30\u2d3d\u2d61", + "\u2d30\u2d59\u2d49\u2d4e", + "\u2d30\u2d59\u2d49\u2d39" + ], + "SHORTMONTH": [ + "\u2d49\u2d4f\u2d4f", + "\u2d31\u2d55\u2d30", + "\u2d4e\u2d30\u2d55", + "\u2d49\u2d31\u2d54", + "\u2d4e\u2d30\u2d62", + "\u2d62\u2d53\u2d4f", + "\u2d62\u2d53\u2d4d", + "\u2d56\u2d53\u2d5b", + "\u2d5b\u2d53\u2d5c", + "\u2d3d\u2d5c\u2d53", + "\u2d4f\u2d53\u2d61", + "\u2d37\u2d53\u2d4a" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "shi-tfng", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_shi.js b/public/app/bower_components/angular-i18n/angular-locale_shi.js new file mode 100644 index 00000000..7381e407 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_shi.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u2d5c\u2d49\u2d3c\u2d30\u2d61\u2d5c", + "\u2d5c\u2d30\u2d37\u2d33\u2d33\u2d6f\u2d30\u2d5c" + ], + "DAY": [ + "\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59", + "\u2d30\u2d62\u2d4f\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59", + "\u2d30\u2d3d\u2d55\u2d30\u2d59", + "\u2d30\u2d3d\u2d61\u2d30\u2d59", + "\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59" + ], + "MONTH": [ + "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54", + "\u2d31\u2d55\u2d30\u2d62\u2d55", + "\u2d4e\u2d30\u2d55\u2d5a", + "\u2d49\u2d31\u2d54\u2d49\u2d54", + "\u2d4e\u2d30\u2d62\u2d62\u2d53", + "\u2d62\u2d53\u2d4f\u2d62\u2d53", + "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63", + "\u2d56\u2d53\u2d5b\u2d5c", + "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54", + "\u2d3d\u2d5c\u2d53\u2d31\u2d54", + "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54", + "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54" + ], + "SHORTDAY": [ + "\u2d30\u2d59\u2d30", + "\u2d30\u2d62\u2d4f", + "\u2d30\u2d59\u2d49", + "\u2d30\u2d3d\u2d55", + "\u2d30\u2d3d\u2d61", + "\u2d30\u2d59\u2d49\u2d4e", + "\u2d30\u2d59\u2d49\u2d39" + ], + "SHORTMONTH": [ + "\u2d49\u2d4f\u2d4f", + "\u2d31\u2d55\u2d30", + "\u2d4e\u2d30\u2d55", + "\u2d49\u2d31\u2d54", + "\u2d4e\u2d30\u2d62", + "\u2d62\u2d53\u2d4f", + "\u2d62\u2d53\u2d4d", + "\u2d56\u2d53\u2d5b", + "\u2d5b\u2d53\u2d5c", + "\u2d3d\u2d5c\u2d53", + "\u2d4f\u2d53\u2d61", + "\u2d37\u2d53\u2d4a" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "dh", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "shi", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_si-lk.js b/public/app/bower_components/angular-i18n/angular-locale_si-lk.js index 15a8f825..a8a91fb6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_si-lk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_si-lk.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_si.js b/public/app/bower_components/angular-i18n/angular-locale_si.js index 43e82cb1..2bbcf28a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_si.js +++ b/public/app/bower_components/angular-i18n/angular-locale_si.js @@ -88,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_sk-sk.js b/public/app/bower_components/angular-i18n/angular-locale_sk-sk.js index 39b8dff0..fd505b0c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sk-sk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sk-sk.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "dopoludnia", - "popoludn\u00ed" + "AM", + "PM" ], "DAY": [ "nede\u013ea", @@ -55,11 +73,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "d.M.yyyy H:mm:ss", - "mediumDate": "d.M.yyyy", + "medium": "d.M.y H:mm:ss", + "mediumDate": "d.M.y", "mediumTime": "H:mm:ss", - "short": "d.M.yyyy H:mm", - "shortDate": "d.M.yyyy", + "short": "d.M.y H:mm", + "shortDate": "d.M.y", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sk-sk", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n >= 2 && n <= 4) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (i >= 2 && i <= 4 && vf.v == 0) { return PLURAL_CATEGORY.FEW; } if (vf.v != 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sk.js b/public/app/bower_components/angular-i18n/angular-locale_sk.js index a68e0838..7227b5c4 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sk.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "dopoludnia", - "popoludn\u00ed" + "AM", + "PM" ], "DAY": [ "nede\u013ea", @@ -55,11 +73,11 @@ $provide.value("$locale", { ], "fullDate": "EEEE, d. MMMM y", "longDate": "d. MMMM y", - "medium": "d.M.yyyy H:mm:ss", - "mediumDate": "d.M.yyyy", + "medium": "d.M.y H:mm:ss", + "mediumDate": "d.M.y", "mediumTime": "H:mm:ss", - "short": "d.M.yyyy H:mm", - "shortDate": "d.M.yyyy", + "short": "d.M.y H:mm", + "shortDate": "d.M.y", "shortTime": "H:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sk", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n >= 2 && n <= 4) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } if (i >= 2 && i <= 4 && vf.v == 0) { return PLURAL_CATEGORY.FEW; } if (vf.v != 0) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sl-si.js b/public/app/bower_components/angular-i18n/angular-locale_sl-si.js index af7e8541..7f62ee77 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sl-si.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sl-si.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,12 +73,12 @@ $provide.value("$locale", { ], "fullDate": "EEEE, dd. MMMM y", "longDate": "dd. MMMM y", - "medium": "d. MMM yyyy HH:mm:ss", - "mediumDate": "d. MMM yyyy", - "mediumTime": "HH:mm:ss", - "short": "d. MM. yy HH:mm", + "medium": "d. MMM y HH.mm.ss", + "mediumDate": "d. MMM y", + "mediumTime": "HH.mm.ss", + "short": "d. MM. yy HH.mm", "shortDate": "d. MM. yy", - "shortTime": "HH:mm" + "shortTime": "HH.mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20ac", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "sl-si", - "pluralCat": function (n) { if (n % 100 == 1) { return PLURAL_CATEGORY.ONE; } if (n % 100 == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 == 3 || n % 100 == 4) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 100 == 1) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 100 == 2) { return PLURAL_CATEGORY.TWO; } if (vf.v == 0 && i % 100 >= 3 && i % 100 <= 4 || vf.v != 0) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sl.js b/public/app/bower_components/angular-i18n/angular-locale_sl.js index 7d6c02a7..9e2d0887 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sl.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,12 +73,12 @@ $provide.value("$locale", { ], "fullDate": "EEEE, dd. MMMM y", "longDate": "dd. MMMM y", - "medium": "d. MMM yyyy HH:mm:ss", - "mediumDate": "d. MMM yyyy", - "mediumTime": "HH:mm:ss", - "short": "d. MM. yy HH:mm", + "medium": "d. MMM y HH.mm.ss", + "mediumDate": "d. MMM y", + "mediumTime": "HH.mm.ss", + "short": "d. MM. yy HH.mm", "shortDate": "d. MM. yy", - "shortTime": "HH:mm" + "shortTime": "HH.mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20ac", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "sl", - "pluralCat": function (n) { if (n % 100 == 1) { return PLURAL_CATEGORY.ONE; } if (n % 100 == 2) { return PLURAL_CATEGORY.TWO; } if (n % 100 == 3 || n % 100 == 4) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 100 == 1) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 100 == 2) { return PLURAL_CATEGORY.TWO; } if (vf.v == 0 && i % 100 >= 3 && i % 100 <= 4 || vf.v != 0) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sn-zw.js b/public/app/bower_components/angular-i18n/angular-locale_sn-zw.js new file mode 100644 index 00000000..9bb89fce --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_sn-zw.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Svondo", + "Muvhuro", + "Chipiri", + "Chitatu", + "China", + "Chishanu", + "Mugovera" + ], + "MONTH": [ + "Ndira", + "Kukadzi", + "Kurume", + "Kubvumbi", + "Chivabvu", + "Chikumi", + "Chikunguru", + "Nyamavhuvhu", + "Gunyana", + "Gumiguru", + "Mbudzi", + "Zvita" + ], + "SHORTDAY": [ + "Svo", + "Muv", + "Chip", + "Chit", + "Chin", + "Chis", + "Mug" + ], + "SHORTMONTH": [ + "Ndi", + "Kuk", + "Kur", + "Kub", + "Chv", + "Chk", + "Chg", + "Nya", + "Gun", + "Gum", + "Mb", + "Zvi" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "sn-zw", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sn.js b/public/app/bower_components/angular-i18n/angular-locale_sn.js new file mode 100644 index 00000000..1be47ad2 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_sn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Svondo", + "Muvhuro", + "Chipiri", + "Chitatu", + "China", + "Chishanu", + "Mugovera" + ], + "MONTH": [ + "Ndira", + "Kukadzi", + "Kurume", + "Kubvumbi", + "Chivabvu", + "Chikumi", + "Chikunguru", + "Nyamavhuvhu", + "Gunyana", + "Gumiguru", + "Mbudzi", + "Zvita" + ], + "SHORTDAY": [ + "Svo", + "Muv", + "Chip", + "Chit", + "Chin", + "Chis", + "Mug" + ], + "SHORTMONTH": [ + "Ndi", + "Kuk", + "Kur", + "Kub", + "Chv", + "Chk", + "Chg", + "Nya", + "Gun", + "Gum", + "Mb", + "Zvi" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "sn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_so-dj.js b/public/app/bower_components/angular-i18n/angular-locale_so-dj.js new file mode 100644 index 00000000..84c32ae6 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_so-dj.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "sn.", + "gn." + ], + "DAY": [ + "Axad", + "Isniin", + "Talaado", + "Arbaco", + "Khamiis", + "Jimco", + "Sabti" + ], + "MONTH": [ + "Bisha Koobaad", + "Bisha Labaad", + "Bisha Saddexaad", + "Bisha Afraad", + "Bisha Shanaad", + "Bisha Lixaad", + "Bisha Todobaad", + "Bisha Sideedaad", + "Bisha Sagaalaad", + "Bisha Tobnaad", + "Bisha Kow iyo Tobnaad", + "Bisha Laba iyo Tobnaad" + ], + "SHORTDAY": [ + "Axd", + "Isn", + "Tal", + "Arb", + "Kha", + "Jim", + "Sab" + ], + "SHORTMONTH": [ + "Kob", + "Lab", + "Sad", + "Afr", + "Sha", + "Lix", + "Tod", + "Sid", + "Sag", + "Tob", + "KIT", + "LIT" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Fdj", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "so-dj", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_so-et.js b/public/app/bower_components/angular-i18n/angular-locale_so-et.js new file mode 100644 index 00000000..3ed009a9 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_so-et.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "sn.", + "gn." + ], + "DAY": [ + "Axad", + "Isniin", + "Talaado", + "Arbaco", + "Khamiis", + "Jimco", + "Sabti" + ], + "MONTH": [ + "Bisha Koobaad", + "Bisha Labaad", + "Bisha Saddexaad", + "Bisha Afraad", + "Bisha Shanaad", + "Bisha Lixaad", + "Bisha Todobaad", + "Bisha Sideedaad", + "Bisha Sagaalaad", + "Bisha Tobnaad", + "Bisha Kow iyo Tobnaad", + "Bisha Laba iyo Tobnaad" + ], + "SHORTDAY": [ + "Axd", + "Isn", + "Tal", + "Arb", + "Kha", + "Jim", + "Sab" + ], + "SHORTMONTH": [ + "Kob", + "Lab", + "Sad", + "Afr", + "Sha", + "Lix", + "Tod", + "Sid", + "Sag", + "Tob", + "KIT", + "LIT" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Birr", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "so-et", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_so-ke.js b/public/app/bower_components/angular-i18n/angular-locale_so-ke.js new file mode 100644 index 00000000..b0bb946e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_so-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "sn.", + "gn." + ], + "DAY": [ + "Axad", + "Isniin", + "Talaado", + "Arbaco", + "Khamiis", + "Jimco", + "Sabti" + ], + "MONTH": [ + "Bisha Koobaad", + "Bisha Labaad", + "Bisha Saddexaad", + "Bisha Afraad", + "Bisha Shanaad", + "Bisha Lixaad", + "Bisha Todobaad", + "Bisha Sideedaad", + "Bisha Sagaalaad", + "Bisha Tobnaad", + "Bisha Kow iyo Tobnaad", + "Bisha Laba iyo Tobnaad" + ], + "SHORTDAY": [ + "Axd", + "Isn", + "Tal", + "Arb", + "Kha", + "Jim", + "Sab" + ], + "SHORTMONTH": [ + "Kob", + "Lab", + "Sad", + "Afr", + "Sha", + "Lix", + "Tod", + "Sid", + "Sag", + "Tob", + "KIT", + "LIT" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "so-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_so-so.js b/public/app/bower_components/angular-i18n/angular-locale_so-so.js new file mode 100644 index 00000000..5f44c3b7 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_so-so.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "sn.", + "gn." + ], + "DAY": [ + "Axad", + "Isniin", + "Talaado", + "Arbaco", + "Khamiis", + "Jimco", + "Sabti" + ], + "MONTH": [ + "Bisha Koobaad", + "Bisha Labaad", + "Bisha Saddexaad", + "Bisha Afraad", + "Bisha Shanaad", + "Bisha Lixaad", + "Bisha Todobaad", + "Bisha Sideedaad", + "Bisha Sagaalaad", + "Bisha Tobnaad", + "Bisha Kow iyo Tobnaad", + "Bisha Laba iyo Tobnaad" + ], + "SHORTDAY": [ + "Axd", + "Isn", + "Tal", + "Arb", + "Kha", + "Jim", + "Sab" + ], + "SHORTMONTH": [ + "Kob", + "Lab", + "Sad", + "Afr", + "Sha", + "Lix", + "Tod", + "Sid", + "Sag", + "Tob", + "KIT", + "LIT" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "SOS", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "so-so", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_so.js b/public/app/bower_components/angular-i18n/angular-locale_so.js new file mode 100644 index 00000000..46245501 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_so.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "sn.", + "gn." + ], + "DAY": [ + "Axad", + "Isniin", + "Talaado", + "Arbaco", + "Khamiis", + "Jimco", + "Sabti" + ], + "MONTH": [ + "Bisha Koobaad", + "Bisha Labaad", + "Bisha Saddexaad", + "Bisha Afraad", + "Bisha Shanaad", + "Bisha Lixaad", + "Bisha Todobaad", + "Bisha Sideedaad", + "Bisha Sagaalaad", + "Bisha Tobnaad", + "Bisha Kow iyo Tobnaad", + "Bisha Laba iyo Tobnaad" + ], + "SHORTDAY": [ + "Axd", + "Isn", + "Tal", + "Arb", + "Kha", + "Jim", + "Sab" + ], + "SHORTMONTH": [ + "Kob", + "Lab", + "Sad", + "Afr", + "Sha", + "Lix", + "Tod", + "Sid", + "Sag", + "Tob", + "KIT", + "LIT" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "SOS", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "so", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sq-al.js b/public/app/bower_components/angular-i18n/angular-locale_sq-al.js index 2aa93e90..e33b6c13 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sq-al.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sq-al.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "PD", - "MD" + "paradite", + "pasdite" ], "DAY": [ "e diel", @@ -55,12 +55,12 @@ $provide.value("$locale", { ], "fullDate": "EEEE, dd MMMM y", "longDate": "dd MMMM y", - "medium": "yyyy-MM-dd h.mm.ss.a", - "mediumDate": "yyyy-MM-dd", - "mediumTime": "h.mm.ss.a", - "short": "yy-MM-dd h.mm.a", - "shortDate": "yy-MM-dd", - "shortTime": "h.mm.a" + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/yy HH:mm", + "shortDate": "dd/MM/yy", + "shortTime": "HH:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "Lek", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4-", - "negSuf": "", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "sq-al", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sq-mk.js b/public/app/bower_components/angular-i18n/angular-locale_sq-mk.js index 1cc3b755..0434bf8c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sq-mk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sq-mk.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "Lek", + "CURRENCY_SYM": "din", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_sq-xk.js b/public/app/bower_components/angular-i18n/angular-locale_sq-xk.js index df67c6fd..e89692d8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sq-xk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sq-xk.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "Lek", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_sq.js b/public/app/bower_components/angular-i18n/angular-locale_sq.js index 0603e11a..eeba5cf0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sq.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sq.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "PD", - "MD" + "paradite", + "pasdite" ], "DAY": [ "e diel", @@ -55,12 +55,12 @@ $provide.value("$locale", { ], "fullDate": "EEEE, dd MMMM y", "longDate": "dd MMMM y", - "medium": "yyyy-MM-dd h.mm.ss.a", - "mediumDate": "yyyy-MM-dd", - "mediumTime": "h.mm.ss.a", - "short": "yy-MM-dd h.mm.a", - "shortDate": "yy-MM-dd", - "shortTime": "h.mm.a" + "medium": "dd/MM/y HH:mm:ss", + "mediumDate": "dd/MM/y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/yy HH:mm", + "shortDate": "dd/MM/yy", + "shortTime": "HH:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "Lek", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4-", - "negSuf": "", - "posPre": "\u00a4", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, "id": "sq", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-ba.js b/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-ba.js index 9f9cf3c1..562d0c62 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-ba.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-ba.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -55,22 +73,21 @@ $provide.value("$locale", { ], "fullDate": "EEEE, dd. MMMM y.", "longDate": "dd. MMMM y.", - "medium": "yyyy-MM-dd HH:mm:ss", - "mediumDate": "yyyy-MM-dd", + "medium": "y-MM-dd HH:mm:ss", + "mediumDate": "y-MM-dd", "mediumTime": "HH:mm:ss", "short": "yy-MM-dd HH:mm", "shortDate": "yy-MM-dd", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", + "CURRENCY_SYM": "KM", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sr-cyrl-ba", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-me.js b/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-me.js index bf5d9e06..527cef0b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-me.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-me.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH.mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sr-cyrl-me", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-rs.js b/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-rs.js index d6b68dd3..b384c171 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-rs.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-rs.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sr-cyrl-rs", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-xk.js b/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-xk.js index 2236fdeb..21eeed02 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-xk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl-xk.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH.mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl.js b/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl.js index df0cd587..086a41dc 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr-cyrl.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH.mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sr-cyrl", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr-latn-ba.js b/public/app/bower_components/angular-i18n/angular-locale_sr-latn-ba.js index dae6550d..69daa021 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr-latn-ba.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr-latn-ba.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH.mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", + "CURRENCY_SYM": "KM", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sr-latn-ba", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr-latn-me.js b/public/app/bower_components/angular-i18n/angular-locale_sr-latn-me.js index fad83405..138b3bb1 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr-latn-me.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr-latn-me.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -54,7 +72,7 @@ $provide.value("$locale", { "dec" ], "fullDate": "EEEE, dd. MMMM y.", - "longDate": "d.MM.yyyy.", + "longDate": "d.MM.y.", "medium": "dd.MM.y. HH.mm.ss", "mediumDate": "dd.MM.y.", "mediumTime": "HH.mm.ss", @@ -63,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH.mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sr-latn-me", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr-latn-rs.js b/public/app/bower_components/angular-i18n/angular-locale_sr-latn-rs.js index 30743fdd..18411e47 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr-latn-rs.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr-latn-rs.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sr-latn-rs", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr-latn-xk.js b/public/app/bower_components/angular-i18n/angular-locale_sr-latn-xk.js index df9df12e..7979ae94 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr-latn-xk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr-latn-xk.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH.mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "din", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr-latn.js b/public/app/bower_components/angular-i18n/angular-locale_sr-latn.js index c2cf55a4..af7046ed 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr-latn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr-latn.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sr-latn", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sr.js b/public/app/bower_components/angular-i18n/angular-locale_sr.js index 795e9ff7..0b44a384 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sr.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sr", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11 || vf.f % 10 == 1 && vf.f % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14) || vf.f % 10 >= 2 && vf.f % 10 <= 4 && (vf.f % 100 < 12 || vf.f % 100 > 14)) { return PLURAL_CATEGORY.FEW; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ss-sz.js b/public/app/bower_components/angular-i18n/angular-locale_ss-sz.js new file mode 100644 index 00000000..1d8bf3e3 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ss-sz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Lisontfo", + "uMsombuluko", + "Lesibili", + "Lesitsatfu", + "Lesine", + "Lesihlanu", + "uMgcibelo" + ], + "MONTH": [ + "Bhimbidvwane", + "iNdlovana", + "iNdlovu-lenkhulu", + "Mabasa", + "iNkhwekhweti", + "iNhlaba", + "Kholwane", + "iNgci", + "iNyoni", + "iMphala", + "Lweti", + "iNgongoni" + ], + "SHORTDAY": [ + "Son", + "Mso", + "Bil", + "Tsa", + "Ne", + "Hla", + "Mgc" + ], + "SHORTMONTH": [ + "Bhi", + "Van", + "Vol", + "Mab", + "Nkh", + "Nhl", + "Kho", + "Ngc", + "Nyo", + "Mph", + "Lwe", + "Ngo" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "SZL", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ss-sz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ss-za.js b/public/app/bower_components/angular-i18n/angular-locale_ss-za.js new file mode 100644 index 00000000..d5d28019 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ss-za.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Lisontfo", + "uMsombuluko", + "Lesibili", + "Lesitsatfu", + "Lesine", + "Lesihlanu", + "uMgcibelo" + ], + "MONTH": [ + "Bhimbidvwane", + "iNdlovana", + "iNdlovu-lenkhulu", + "Mabasa", + "iNkhwekhweti", + "iNhlaba", + "Kholwane", + "iNgci", + "iNyoni", + "iMphala", + "Lweti", + "iNgongoni" + ], + "SHORTDAY": [ + "Son", + "Mso", + "Bil", + "Tsa", + "Ne", + "Hla", + "Mgc" + ], + "SHORTMONTH": [ + "Bhi", + "Van", + "Vol", + "Mab", + "Nkh", + "Nhl", + "Kho", + "Ngc", + "Nyo", + "Mph", + "Lwe", + "Ngo" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ss-za", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ss.js b/public/app/bower_components/angular-i18n/angular-locale_ss.js new file mode 100644 index 00000000..49e19adf --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ss.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Lisontfo", + "uMsombuluko", + "Lesibili", + "Lesitsatfu", + "Lesine", + "Lesihlanu", + "uMgcibelo" + ], + "MONTH": [ + "Bhimbidvwane", + "iNdlovana", + "iNdlovu-lenkhulu", + "Mabasa", + "iNkhwekhweti", + "iNhlaba", + "Kholwane", + "iNgci", + "iNyoni", + "iMphala", + "Lweti", + "iNgongoni" + ], + "SHORTDAY": [ + "Son", + "Mso", + "Bil", + "Tsa", + "Ne", + "Hla", + "Mgc" + ], + "SHORTMONTH": [ + "Bhi", + "Van", + "Vol", + "Mab", + "Nkh", + "Nhl", + "Kho", + "Ngc", + "Nyo", + "Mph", + "Lwe", + "Ngo" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ss", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ssy-er.js b/public/app/bower_components/angular-i18n/angular-locale_ssy-er.js new file mode 100644 index 00000000..d8c2ca0f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ssy-er.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "saaku", + "carra" + ], + "DAY": [ + "Naba Sambat", + "Sani", + "Salus", + "Rabuq", + "Camus", + "Jumqata", + "Qunxa Sambat" + ], + "MONTH": [ + "Qunxa Garablu", + "Kudo", + "Ciggilta Kudo", + "Agda Baxis", + "Caxah Alsa", + "Qasa Dirri", + "Qado Dirri", + "Liiqen", + "Waysu", + "Diteli", + "Ximoli", + "Kaxxa Garablu" + ], + "SHORTDAY": [ + "Nab", + "San", + "Sal", + "Rab", + "Cam", + "Jum", + "Qun" + ], + "SHORTMONTH": [ + "Qun", + "Nah", + "Cig", + "Agd", + "Cax", + "Qas", + "Qad", + "Leq", + "Way", + "Dit", + "Xim", + "Kax" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Nfk", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ssy-er", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ssy.js b/public/app/bower_components/angular-i18n/angular-locale_ssy.js new file mode 100644 index 00000000..56b81a8f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ssy.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "saaku", + "carra" + ], + "DAY": [ + "Naba Sambat", + "Sani", + "Salus", + "Rabuq", + "Camus", + "Jumqata", + "Qunxa Sambat" + ], + "MONTH": [ + "Qunxa Garablu", + "Kudo", + "Ciggilta Kudo", + "Agda Baxis", + "Caxah Alsa", + "Qasa Dirri", + "Qado Dirri", + "Liiqen", + "Waysu", + "Diteli", + "Ximoli", + "Kaxxa Garablu" + ], + "SHORTDAY": [ + "Nab", + "San", + "Sal", + "Rab", + "Cam", + "Jum", + "Qun" + ], + "SHORTMONTH": [ + "Qun", + "Nah", + "Cig", + "Agd", + "Cax", + "Qas", + "Qad", + "Leq", + "Way", + "Dit", + "Xim", + "Kax" + ], + "fullDate": "EEEE, MMMM dd, y", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Nfk", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ssy", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_st-ls.js b/public/app/bower_components/angular-i18n/angular-locale_st-ls.js new file mode 100644 index 00000000..66d7514b --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_st-ls.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sontaha", + "Mmantaha", + "Labobedi", + "Laboraru", + "Labone", + "Labohlane", + "Moqebelo" + ], + "MONTH": [ + "Phesekgong", + "Hlakola", + "Hlakubele", + "Mmese", + "Motsheanong", + "Phupjane", + "Phupu", + "Phata", + "Leotshe", + "Mphalane", + "Pundungwane", + "Tshitwe" + ], + "SHORTDAY": [ + "Son", + "Mma", + "Bed", + "Rar", + "Ne", + "Hla", + "Moq" + ], + "SHORTMONTH": [ + "Phe", + "Kol", + "Ube", + "Mme", + "Mot", + "Jan", + "Upu", + "Pha", + "Leo", + "Mph", + "Pun", + "Tsh" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "st-ls", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_st-za.js b/public/app/bower_components/angular-i18n/angular-locale_st-za.js new file mode 100644 index 00000000..43a55578 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_st-za.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sontaha", + "Mmantaha", + "Labobedi", + "Laboraru", + "Labone", + "Labohlane", + "Moqebelo" + ], + "MONTH": [ + "Phesekgong", + "Hlakola", + "Hlakubele", + "Mmese", + "Motsheanong", + "Phupjane", + "Phupu", + "Phata", + "Leotshe", + "Mphalane", + "Pundungwane", + "Tshitwe" + ], + "SHORTDAY": [ + "Son", + "Mma", + "Bed", + "Rar", + "Ne", + "Hla", + "Moq" + ], + "SHORTMONTH": [ + "Phe", + "Kol", + "Ube", + "Mme", + "Mot", + "Jan", + "Upu", + "Pha", + "Leo", + "Mph", + "Pun", + "Tsh" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "st-za", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_st.js b/public/app/bower_components/angular-i18n/angular-locale_st.js new file mode 100644 index 00000000..cf380aa8 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_st.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sontaha", + "Mmantaha", + "Labobedi", + "Laboraru", + "Labone", + "Labohlane", + "Moqebelo" + ], + "MONTH": [ + "Phesekgong", + "Hlakola", + "Hlakubele", + "Mmese", + "Motsheanong", + "Phupjane", + "Phupu", + "Phata", + "Leotshe", + "Mphalane", + "Pundungwane", + "Tshitwe" + ], + "SHORTDAY": [ + "Son", + "Mma", + "Bed", + "Rar", + "Ne", + "Hla", + "Moq" + ], + "SHORTMONTH": [ + "Phe", + "Kol", + "Ube", + "Mme", + "Mot", + "Jan", + "Upu", + "Pha", + "Leo", + "Mph", + "Pun", + "Tsh" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "st", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sv-ax.js b/public/app/bower_components/angular-i18n/angular-locale_sv-ax.js index 2c2eb16e..4ad71095 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sv-ax.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sv-ax.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "kr", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_sv-fi.js b/public/app/bower_components/angular-i18n/angular-locale_sv-fi.js index cbf71953..fac30f88 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sv-fi.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sv-fi.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -58,19 +76,18 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", + "short": "dd-MM-y HH:mm", + "shortDate": "dd-MM-y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "kr", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sv-fi", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sv-se.js b/public/app/bower_components/angular-i18n/angular-locale_sv-se.js index 4590ed96..fbf58ab9 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sv-se.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sv-se.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -53,13 +71,13 @@ $provide.value("$locale", { "nov", "dec" ], - "fullDate": "EEEE'en' 'den' d:'e' MMMM y", + "fullDate": "EEEE d MMMM y", "longDate": "d MMMM y", "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sv-se", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sv.js b/public/app/bower_components/angular-i18n/angular-locale_sv.js index b49b764e..1a3d2267 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sv.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sv.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -53,13 +71,13 @@ $provide.value("$locale", { "nov", "dec" ], - "fullDate": "EEEE'en' 'den' d:'e' MMMM y", + "fullDate": "EEEE d MMMM y", "longDate": "d MMMM y", "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "yyyy-MM-dd HH:mm", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "sv", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sw-ke.js b/public/app/bower_components/angular-i18n/angular-locale_sw-ke.js index 0d4ad4d8..ae3d8043 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sw-ke.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sw-ke.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "asubuhi", - "alasiri" + "AM", + "PM" ], "DAY": [ "Jumapili", @@ -31,13 +49,13 @@ $provide.value("$locale", { "Desemba" ], "SHORTDAY": [ - "J2", - "J3", - "J4", - "J5", - "Alh", - "Ij", - "J1" + "Jumapili", + "Jumatatu", + "Jumanne", + "Jumatano", + "Alhamisi", + "Ijumaa", + "Jumamosi" ], "SHORTMONTH": [ "Jan", @@ -58,19 +76,18 @@ $provide.value("$locale", { "medium": "d MMM y h:mm:ss a", "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", - "short": "dd/MM/yyyy h:mm a", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "TSh", + "CURRENCY_SYM": "Ksh", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "sw-ke", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sw-tz.js b/public/app/bower_components/angular-i18n/angular-locale_sw-tz.js index 2bea9c66..9fc44e24 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sw-tz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sw-tz.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "asubuhi", - "alasiri" + "AM", + "PM" ], "DAY": [ "Jumapili", @@ -31,13 +49,13 @@ $provide.value("$locale", { "Desemba" ], "SHORTDAY": [ - "J2", - "J3", - "J4", - "J5", - "Alh", - "Ij", - "J1" + "Jumapili", + "Jumatatu", + "Jumanne", + "Jumatano", + "Alhamisi", + "Ijumaa", + "Jumamosi" ], "SHORTMONTH": [ "Jan", @@ -58,8 +76,8 @@ $provide.value("$locale", { "medium": "d MMM y h:mm:ss a", "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", - "short": "dd/MM/yyyy h:mm a", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "sw-tz", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_sw-ug.js b/public/app/bower_components/angular-i18n/angular-locale_sw-ug.js index 9f6fa939..648ecb95 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sw-ug.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sw-ug.js @@ -81,14 +81,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "TSh", + "CURRENCY_SYM": "UGX", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -100,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_sw.js b/public/app/bower_components/angular-i18n/angular-locale_sw.js index 3892f2c7..54ae3e7e 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_sw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_sw.js @@ -1,11 +1,29 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "asubuhi", - "alasiri" + "AM", + "PM" ], "DAY": [ "Jumapili", @@ -31,13 +49,13 @@ $provide.value("$locale", { "Desemba" ], "SHORTDAY": [ - "J2", - "J3", - "J4", - "J5", - "Alh", - "Ij", - "J1" + "Jumapili", + "Jumatatu", + "Jumanne", + "Jumatano", + "Alhamisi", + "Ijumaa", + "Jumamosi" ], "SHORTMONTH": [ "Jan", @@ -58,8 +76,8 @@ $provide.value("$locale", { "medium": "d MMM y h:mm:ss a", "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", - "short": "dd/MM/yyyy h:mm a", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "sw", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_swc-cd.js b/public/app/bower_components/angular-i18n/angular-locale_swc-cd.js new file mode 100644 index 00000000..395e9cbc --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_swc-cd.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "ya asubuyi", + "ya muchana" + ], + "DAY": [ + "siku ya yenga", + "siku ya kwanza", + "siku ya pili", + "siku ya tatu", + "siku ya ine", + "siku ya tanu", + "siku ya sita" + ], + "MONTH": [ + "mwezi ya kwanja", + "mwezi ya pili", + "mwezi ya tatu", + "mwezi ya ine", + "mwezi ya tanu", + "mwezi ya sita", + "mwezi ya saba", + "mwezi ya munane", + "mwezi ya tisa", + "mwezi ya kumi", + "mwezi ya kumi na moya", + "mwezi ya kumi ya mbili" + ], + "SHORTDAY": [ + "yen", + "kwa", + "pil", + "tat", + "ine", + "tan", + "sit" + ], + "SHORTMONTH": [ + "mkw", + "mpi", + "mtu", + "min", + "mtn", + "mst", + "msb", + "mun", + "mts", + "mku", + "mkm", + "mkb" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FrCD", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "swc-cd", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_swc.js b/public/app/bower_components/angular-i18n/angular-locale_swc.js new file mode 100644 index 00000000..7b99291e --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_swc.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "ya asubuyi", + "ya muchana" + ], + "DAY": [ + "siku ya yenga", + "siku ya kwanza", + "siku ya pili", + "siku ya tatu", + "siku ya ine", + "siku ya tanu", + "siku ya sita" + ], + "MONTH": [ + "mwezi ya kwanja", + "mwezi ya pili", + "mwezi ya tatu", + "mwezi ya ine", + "mwezi ya tanu", + "mwezi ya sita", + "mwezi ya saba", + "mwezi ya munane", + "mwezi ya tisa", + "mwezi ya kumi", + "mwezi ya kumi na moya", + "mwezi ya kumi ya mbili" + ], + "SHORTDAY": [ + "yen", + "kwa", + "pil", + "tat", + "ine", + "tan", + "sit" + ], + "SHORTMONTH": [ + "mkw", + "mpi", + "mtu", + "min", + "mtn", + "mst", + "msb", + "mun", + "mts", + "mku", + "mkm", + "mkb" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FrCD", + "DECIMAL_SEP": ",", + "GROUP_SEP": ".", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "swc", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ta-in.js b/public/app/bower_components/angular-i18n/angular-locale_ta-in.js index b4919091..944af667 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ta-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ta-in.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "\u0bae\u0bc1\u0bb1\u0bcd\u0baa\u0b95\u0bb2\u0bcd", + "\u0baa\u0bbf\u0bb1\u0bcd\u0baa\u0b95\u0bb2\u0bcd" ], "DAY": [ "\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "ta-in", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ta-lk.js b/public/app/bower_components/angular-i18n/angular-locale_ta-lk.js index 2d661c83..2ed312ff 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ta-lk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ta-lk.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "\u0bae\u0bc1\u0bb1\u0bcd\u0baa\u0b95\u0bb2\u0bcd", + "\u0baa\u0bbf\u0bb1\u0bcd\u0baa\u0b95\u0bb2\u0bcd" ], "DAY": [ "\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1", @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20b9", + "CURRENCY_SYM": "Rs", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "ta-lk", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ta-my.js b/public/app/bower_components/angular-i18n/angular-locale_ta-my.js index c6cc9837..0e30bc0d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ta-my.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ta-my.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20b9", + "CURRENCY_SYM": "RM", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { - "gSize": 2, + "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -80,9 +79,8 @@ $provide.value("$locale", { "posSuf": "" }, { - "gSize": 2, + "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ta-sg.js b/public/app/bower_components/angular-i18n/angular-locale_ta-sg.js index e60b5ad7..ef0548bf 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ta-sg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ta-sg.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u20b9", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { - "gSize": 2, + "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -80,9 +79,8 @@ $provide.value("$locale", { "posSuf": "" }, { - "gSize": 2, + "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_ta.js b/public/app/bower_components/angular-i18n/angular-locale_ta.js index 338d5f95..288a6eed 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ta.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ta.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "\u0bae\u0bc1\u0bb1\u0bcd\u0baa\u0b95\u0bb2\u0bcd", + "\u0baa\u0bbf\u0bb1\u0bcd\u0baa\u0b95\u0bb2\u0bcd" ], "DAY": [ "\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "ta", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_te-in.js b/public/app/bower_components/angular-i18n/angular-locale_te-in.js index 4e3e5dbd..5006707d 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_te-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_te-in.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "AM", + "PM" ], "DAY": [ "\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02", @@ -23,7 +23,7 @@ $provide.value("$locale", { "\u0c0e\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d", "\u0c2e\u0c47", "\u0c1c\u0c42\u0c28\u0c4d", - "\u0c1c\u0c42\u0c32\u0c48", + "\u0c1c\u0c41\u0c32\u0c48", "\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41", "\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d", "\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d", @@ -46,14 +46,14 @@ $provide.value("$locale", { "\u0c0f\u0c2a\u0c4d\u0c30\u0c3f", "\u0c2e\u0c47", "\u0c1c\u0c42\u0c28\u0c4d", - "\u0c1c\u0c42\u0c32\u0c48", - "\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41", - "\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d", - "\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d", - "\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d", - "\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d" + "\u0c1c\u0c41\u0c32\u0c48", + "\u0c06\u0c17", + "\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02", + "\u0c05\u0c15\u0c4d\u0c1f\u0c4b", + "\u0c28\u0c35\u0c02", + "\u0c21\u0c3f\u0c38\u0c46\u0c02" ], - "fullDate": "EEEE d MMMM y", + "fullDate": "d MMMM y EEEE", "longDate": "d MMMM y", "medium": "d MMM y h:mm:ss a", "mediumDate": "d MMM y", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "te-in", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_te.js b/public/app/bower_components/angular-i18n/angular-locale_te.js index 9671277b..4f13847a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_te.js +++ b/public/app/bower_components/angular-i18n/angular-locale_te.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "am", - "pm" + "AM", + "PM" ], "DAY": [ "\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02", @@ -23,7 +23,7 @@ $provide.value("$locale", { "\u0c0e\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d", "\u0c2e\u0c47", "\u0c1c\u0c42\u0c28\u0c4d", - "\u0c1c\u0c42\u0c32\u0c48", + "\u0c1c\u0c41\u0c32\u0c48", "\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41", "\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d", "\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d", @@ -46,14 +46,14 @@ $provide.value("$locale", { "\u0c0f\u0c2a\u0c4d\u0c30\u0c3f", "\u0c2e\u0c47", "\u0c1c\u0c42\u0c28\u0c4d", - "\u0c1c\u0c42\u0c32\u0c48", - "\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41", - "\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d", - "\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d", - "\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d", - "\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d" + "\u0c1c\u0c41\u0c32\u0c48", + "\u0c06\u0c17", + "\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02", + "\u0c05\u0c15\u0c4d\u0c1f\u0c4b", + "\u0c28\u0c35\u0c02", + "\u0c21\u0c3f\u0c38\u0c46\u0c02" ], - "fullDate": "EEEE d MMMM y", + "fullDate": "d MMMM y EEEE", "longDate": "d MMMM y", "medium": "d MMM y h:mm:ss a", "mediumDate": "d MMM y", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "te", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_teo-ke.js b/public/app/bower_components/angular-i18n/angular-locale_teo-ke.js new file mode 100644 index 00000000..91915747 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_teo-ke.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Taparachu", + "Ebongi" + ], + "DAY": [ + "Nakaejuma", + "Nakaebarasa", + "Nakaare", + "Nakauni", + "Nakaung'on", + "Nakakany", + "Nakasabiti" + ], + "MONTH": [ + "Orara", + "Omuk", + "Okwamg'", + "Odung'el", + "Omaruk", + "Omodok'king'ol", + "Ojola", + "Opedel", + "Osokosokoma", + "Otibar", + "Olabor", + "Opoo" + ], + "SHORTDAY": [ + "Jum", + "Bar", + "Aar", + "Uni", + "Ung", + "Kan", + "Sab" + ], + "SHORTMONTH": [ + "Rar", + "Muk", + "Kwa", + "Dun", + "Mar", + "Mod", + "Jol", + "Ped", + "Sok", + "Tib", + "Lab", + "Poo" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Ksh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "teo-ke", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_teo-ug.js b/public/app/bower_components/angular-i18n/angular-locale_teo-ug.js new file mode 100644 index 00000000..3ad2c38d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_teo-ug.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Taparachu", + "Ebongi" + ], + "DAY": [ + "Nakaejuma", + "Nakaebarasa", + "Nakaare", + "Nakauni", + "Nakaung'on", + "Nakakany", + "Nakasabiti" + ], + "MONTH": [ + "Orara", + "Omuk", + "Okwamg'", + "Odung'el", + "Omaruk", + "Omodok'king'ol", + "Ojola", + "Opedel", + "Osokosokoma", + "Otibar", + "Olabor", + "Opoo" + ], + "SHORTDAY": [ + "Jum", + "Bar", + "Aar", + "Uni", + "Ung", + "Kan", + "Sab" + ], + "SHORTMONTH": [ + "Rar", + "Muk", + "Kwa", + "Dun", + "Mar", + "Mod", + "Jol", + "Ped", + "Sok", + "Tib", + "Lab", + "Poo" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "UGX", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "teo-ug", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_teo.js b/public/app/bower_components/angular-i18n/angular-locale_teo.js new file mode 100644 index 00000000..7c82873c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_teo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Taparachu", + "Ebongi" + ], + "DAY": [ + "Nakaejuma", + "Nakaebarasa", + "Nakaare", + "Nakauni", + "Nakaung'on", + "Nakakany", + "Nakasabiti" + ], + "MONTH": [ + "Orara", + "Omuk", + "Okwamg'", + "Odung'el", + "Omaruk", + "Omodok'king'ol", + "Ojola", + "Opedel", + "Osokosokoma", + "Otibar", + "Olabor", + "Opoo" + ], + "SHORTDAY": [ + "Jum", + "Bar", + "Aar", + "Uni", + "Ung", + "Kan", + "Sab" + ], + "SHORTMONTH": [ + "Rar", + "Muk", + "Kwa", + "Dun", + "Mar", + "Mod", + "Jol", + "Ped", + "Sok", + "Tib", + "Lab", + "Poo" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "UGX", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "teo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tg-cyrl-tj.js b/public/app/bower_components/angular-i18n/angular-locale_tg-cyrl-tj.js new file mode 100644 index 00000000..0f2676f0 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tg-cyrl-tj.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u043f\u0435. \u0447\u043e.", + "\u043f\u0430. \u0447\u043e." + ], + "DAY": [ + "\u042f\u043a\u0448\u0430\u043d\u0431\u0435", + "\u0414\u0443\u0448\u0430\u043d\u0431\u0435", + "\u0421\u0435\u0448\u0430\u043d\u0431\u0435", + "\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0435", + "\u041f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435", + "\u04b6\u0443\u043c\u044a\u0430", + "\u0428\u0430\u043d\u0431\u0435" + ], + "MONTH": [ + "\u042f\u043d\u0432\u0430\u0440", + "\u0424\u0435\u0432\u0440\u0430\u043b", + "\u041c\u0430\u0440\u0442", + "\u0410\u043f\u0440\u0435\u043b", + "\u041c\u0430\u0439", + "\u0418\u044e\u043d", + "\u0418\u044e\u043b", + "\u0410\u0432\u0433\u0443\u0441\u0442", + "\u0421\u0435\u043d\u0442\u044f\u0431\u0440", + "\u041e\u043a\u0442\u044f\u0431\u0440", + "\u041d\u043e\u044f\u0431\u0440", + "\u0414\u0435\u043a\u0430\u0431\u0440" + ], + "SHORTDAY": [ + "\u042f\u0448\u0431", + "\u0414\u0448\u0431", + "\u0421\u0448\u0431", + "\u0427\u0448\u0431", + "\u041f\u0448\u0431", + "\u04b6\u043c\u044a", + "\u0428\u043d\u0431" + ], + "SHORTMONTH": [ + "\u042f\u043d\u0432", + "\u0424\u0435\u0432", + "\u041c\u0430\u0440", + "\u0410\u043f\u0440", + "\u041c\u0430\u0439", + "\u0418\u044e\u043d", + "\u0418\u044e\u043b", + "\u0410\u0432\u0433", + "\u0421\u0435\u043d", + "\u041e\u043a\u0442", + "\u041d\u043e\u044f", + "\u0414\u0435\u043a" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/MM/dd HH:mm", + "shortDate": "yy/MM/dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Som", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "tg-cyrl-tj", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tg-cyrl.js b/public/app/bower_components/angular-i18n/angular-locale_tg-cyrl.js new file mode 100644 index 00000000..0d801041 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tg-cyrl.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u043f\u0435. \u0447\u043e.", + "\u043f\u0430. \u0447\u043e." + ], + "DAY": [ + "\u042f\u043a\u0448\u0430\u043d\u0431\u0435", + "\u0414\u0443\u0448\u0430\u043d\u0431\u0435", + "\u0421\u0435\u0448\u0430\u043d\u0431\u0435", + "\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0435", + "\u041f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435", + "\u04b6\u0443\u043c\u044a\u0430", + "\u0428\u0430\u043d\u0431\u0435" + ], + "MONTH": [ + "\u042f\u043d\u0432\u0430\u0440", + "\u0424\u0435\u0432\u0440\u0430\u043b", + "\u041c\u0430\u0440\u0442", + "\u0410\u043f\u0440\u0435\u043b", + "\u041c\u0430\u0439", + "\u0418\u044e\u043d", + "\u0418\u044e\u043b", + "\u0410\u0432\u0433\u0443\u0441\u0442", + "\u0421\u0435\u043d\u0442\u044f\u0431\u0440", + "\u041e\u043a\u0442\u044f\u0431\u0440", + "\u041d\u043e\u044f\u0431\u0440", + "\u0414\u0435\u043a\u0430\u0431\u0440" + ], + "SHORTDAY": [ + "\u042f\u0448\u0431", + "\u0414\u0448\u0431", + "\u0421\u0448\u0431", + "\u0427\u0448\u0431", + "\u041f\u0448\u0431", + "\u04b6\u043c\u044a", + "\u0428\u043d\u0431" + ], + "SHORTMONTH": [ + "\u042f\u043d\u0432", + "\u0424\u0435\u0432", + "\u041c\u0430\u0440", + "\u0410\u043f\u0440", + "\u041c\u0430\u0439", + "\u0418\u044e\u043d", + "\u0418\u044e\u043b", + "\u0410\u0432\u0433", + "\u0421\u0435\u043d", + "\u041e\u043a\u0442", + "\u041d\u043e\u044f", + "\u0414\u0435\u043a" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/MM/dd HH:mm", + "shortDate": "yy/MM/dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "tg-cyrl", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tg.js b/public/app/bower_components/angular-i18n/angular-locale_tg.js new file mode 100644 index 00000000..70259e54 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tg.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u043f\u0435. \u0447\u043e.", + "\u043f\u0430. \u0447\u043e." + ], + "DAY": [ + "\u042f\u043a\u0448\u0430\u043d\u0431\u0435", + "\u0414\u0443\u0448\u0430\u043d\u0431\u0435", + "\u0421\u0435\u0448\u0430\u043d\u0431\u0435", + "\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0435", + "\u041f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435", + "\u04b6\u0443\u043c\u044a\u0430", + "\u0428\u0430\u043d\u0431\u0435" + ], + "MONTH": [ + "\u042f\u043d\u0432\u0430\u0440", + "\u0424\u0435\u0432\u0440\u0430\u043b", + "\u041c\u0430\u0440\u0442", + "\u0410\u043f\u0440\u0435\u043b", + "\u041c\u0430\u0439", + "\u0418\u044e\u043d", + "\u0418\u044e\u043b", + "\u0410\u0432\u0433\u0443\u0441\u0442", + "\u0421\u0435\u043d\u0442\u044f\u0431\u0440", + "\u041e\u043a\u0442\u044f\u0431\u0440", + "\u041d\u043e\u044f\u0431\u0440", + "\u0414\u0435\u043a\u0430\u0431\u0440" + ], + "SHORTDAY": [ + "\u042f\u0448\u0431", + "\u0414\u0448\u0431", + "\u0421\u0448\u0431", + "\u0427\u0448\u0431", + "\u041f\u0448\u0431", + "\u04b6\u043c\u044a", + "\u0428\u043d\u0431" + ], + "SHORTMONTH": [ + "\u042f\u043d\u0432", + "\u0424\u0435\u0432", + "\u041c\u0430\u0440", + "\u0410\u043f\u0440", + "\u041c\u0430\u0439", + "\u0418\u044e\u043d", + "\u0418\u044e\u043b", + "\u0410\u0432\u0433", + "\u0421\u0435\u043d", + "\u041e\u043a\u0442", + "\u041d\u043e\u044f", + "\u0414\u0435\u043a" + ], + "fullDate": "EEEE, y MMMM dd", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "yy/MM/dd HH:mm", + "shortDate": "yy/MM/dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Som", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "tg", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_th-th.js b/public/app/bower_components/angular-i18n/angular-locale_th-th.js index 0791a422..424fd0be 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_th-th.js +++ b/public/app/bower_components/angular-i18n/angular-locale_th-th.js @@ -55,12 +55,12 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u0e17\u0e35\u0e48 d MMMM G y", "longDate": "d MMMM y", - "medium": "d MMM y H:mm:ss", + "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", - "mediumTime": "H:mm:ss", - "short": "d/M/yyyy H:mm", - "shortDate": "d/M/yyyy", - "shortTime": "H:mm" + "mediumTime": "HH:mm:ss", + "short": "d/M/yy HH:mm", + "shortDate": "d/M/yy", + "shortTime": "HH:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u0e3f", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "th-th", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_th.js b/public/app/bower_components/angular-i18n/angular-locale_th.js index be8efab1..a9e102e0 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_th.js +++ b/public/app/bower_components/angular-i18n/angular-locale_th.js @@ -55,12 +55,12 @@ $provide.value("$locale", { ], "fullDate": "EEEE\u0e17\u0e35\u0e48 d MMMM G y", "longDate": "d MMMM y", - "medium": "d MMM y H:mm:ss", + "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", - "mediumTime": "H:mm:ss", - "short": "d/M/yyyy H:mm", - "shortDate": "d/M/yyyy", - "shortTime": "H:mm" + "mediumTime": "HH:mm:ss", + "short": "d/M/yy HH:mm", + "shortDate": "d/M/yy", + "shortTime": "HH:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u0e3f", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "th", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ti-er.js b/public/app/bower_components/angular-i18n/angular-locale_ti-er.js new file mode 100644 index 00000000..a2751dce --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ti-er.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u1295\u1309\u1206 \u1230\u12d3\u1270", + "\u12f5\u1215\u122d \u1230\u12d3\u1275" + ], + "DAY": [ + "\u1230\u1295\u1260\u1275", + "\u1230\u1291\u12ed", + "\u1230\u1209\u1235", + "\u1228\u1261\u12d5", + "\u1213\u1219\u1235", + "\u12d3\u122d\u1262", + "\u1240\u12f3\u121d" + ], + "MONTH": [ + "\u1325\u122a", + "\u1208\u12ab\u1272\u1275", + "\u1218\u130b\u1262\u1275", + "\u121a\u12eb\u12dd\u12eb", + "\u130d\u1295\u1266\u1275", + "\u1230\u1290", + "\u1213\u121d\u1208", + "\u1290\u1213\u1230", + "\u1218\u1235\u12a8\u1228\u121d", + "\u1325\u1245\u121d\u1272", + "\u1215\u12f3\u122d", + "\u1273\u1215\u1233\u1235" + ], + "SHORTDAY": [ + "\u1230\u1295\u1260\u1275", + "\u1230\u1291\u12ed", + "\u1230\u1209\u1235", + "\u1228\u1261\u12d5", + "\u1213\u1219\u1235", + "\u12d3\u122d\u1262", + "\u1240\u12f3\u121d" + ], + "SHORTMONTH": [ + "\u1325\u122a", + "\u1208\u12ab\u1272", + "\u1218\u130b\u1262", + "\u121a\u12eb\u12dd", + "\u130d\u1295\u1266", + "\u1230\u1290", + "\u1213\u121d\u1208", + "\u1290\u1213\u1230", + "\u1218\u1235\u12a8", + "\u1325\u1245\u121d", + "\u1215\u12f3\u122d", + "\u1273\u1215\u1233" + ], + "fullDate": "EEEE\u1361 dd MMMM \u1218\u12d3\u120d\u1272 y G", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Nfk", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ti-er", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ti-et.js b/public/app/bower_components/angular-i18n/angular-locale_ti-et.js new file mode 100644 index 00000000..4ec67437 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ti-et.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u1295\u1309\u1206 \u1230\u12d3\u1270", + "\u12f5\u1215\u122d \u1230\u12d3\u1275" + ], + "DAY": [ + "\u1230\u1295\u1260\u1275", + "\u1230\u1291\u12ed", + "\u1220\u1209\u1235", + "\u1228\u1261\u12d5", + "\u1283\u1219\u1235", + "\u12d3\u122d\u1262", + "\u1240\u12f3\u121d" + ], + "MONTH": [ + "\u1303\u1295\u12e9\u12c8\u122a", + "\u134c\u1265\u1229\u12c8\u122a", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228\u120d", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235\u1275", + "\u1234\u1355\u1274\u121d\u1260\u122d", + "\u12a6\u12ad\u1270\u12cd\u1260\u122d", + "\u1296\u126c\u121d\u1260\u122d", + "\u12f2\u1234\u121d\u1260\u122d" + ], + "SHORTDAY": [ + "\u1230\u1295\u1260\u1275", + "\u1230\u1291\u12ed", + "\u1220\u1209\u1235", + "\u1228\u1261\u12d5", + "\u1283\u1219\u1235", + "\u12d3\u122d\u1262", + "\u1240\u12f3\u121d" + ], + "SHORTMONTH": [ + "\u1303\u1295\u12e9", + "\u134c\u1265\u1229", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235", + "\u1234\u1355\u1274", + "\u12a6\u12ad\u1270", + "\u1296\u126c\u121d", + "\u12f2\u1234\u121d" + ], + "fullDate": "EEEE\u1363 dd MMMM \u1218\u12d3\u120d\u1272 y G", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Birr", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ti-et", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ti.js b/public/app/bower_components/angular-i18n/angular-locale_ti.js new file mode 100644 index 00000000..e55db34c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ti.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u1295\u1309\u1206 \u1230\u12d3\u1270", + "\u12f5\u1215\u122d \u1230\u12d3\u1275" + ], + "DAY": [ + "\u1230\u1295\u1260\u1275", + "\u1230\u1291\u12ed", + "\u1220\u1209\u1235", + "\u1228\u1261\u12d5", + "\u1283\u1219\u1235", + "\u12d3\u122d\u1262", + "\u1240\u12f3\u121d" + ], + "MONTH": [ + "\u1303\u1295\u12e9\u12c8\u122a", + "\u134c\u1265\u1229\u12c8\u122a", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228\u120d", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235\u1275", + "\u1234\u1355\u1274\u121d\u1260\u122d", + "\u12a6\u12ad\u1270\u12cd\u1260\u122d", + "\u1296\u126c\u121d\u1260\u122d", + "\u12f2\u1234\u121d\u1260\u122d" + ], + "SHORTDAY": [ + "\u1230\u1295\u1260\u1275", + "\u1230\u1291\u12ed", + "\u1220\u1209\u1235", + "\u1228\u1261\u12d5", + "\u1283\u1219\u1235", + "\u12d3\u122d\u1262", + "\u1240\u12f3\u121d" + ], + "SHORTMONTH": [ + "\u1303\u1295\u12e9", + "\u134c\u1265\u1229", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235", + "\u1234\u1355\u1274", + "\u12a6\u12ad\u1270", + "\u1296\u126c\u121d", + "\u12f2\u1234\u121d" + ], + "fullDate": "EEEE\u1363 dd MMMM \u1218\u12d3\u120d\u1272 y G", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Birr", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ti", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tig-er.js b/public/app/bower_components/angular-i18n/angular-locale_tig-er.js new file mode 100644 index 00000000..7f68986a --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tig-er.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u1240\u12f0\u121d \u1230\u122d\u121d\u12d5\u120d", + "\u1213\u1246 \u1235\u122d\u121d\u12d5\u120d" + ], + "DAY": [ + "\u1230\u1295\u1260\u1275 \u12d3\u1263\u12ed", + "\u1230\u1296", + "\u1273\u120b\u1238\u1296", + "\u12a3\u1228\u122d\u1263\u12d3", + "\u12a8\u121a\u123d", + "\u1305\u121d\u12d3\u1275", + "\u1230\u1295\u1260\u1275 \u1295\u12a2\u123d" + ], + "MONTH": [ + "\u1303\u1295\u12e9\u12c8\u122a", + "\u134c\u1265\u1229\u12c8\u122a", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228\u120d", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235\u1275", + "\u1234\u1355\u1274\u121d\u1260\u122d", + "\u12a6\u12ad\u1270\u12cd\u1260\u122d", + "\u1296\u126c\u121d\u1260\u122d", + "\u12f2\u1234\u121d\u1260\u122d" + ], + "SHORTDAY": [ + "\u1230/\u12d3", + "\u1230\u1296", + "\u1273\u120b\u1238", + "\u12a3\u1228\u122d", + "\u12a8\u121a\u123d", + "\u1305\u121d\u12d3", + "\u1230/\u1295" + ], + "SHORTMONTH": [ + "\u1303\u1295\u12e9", + "\u134c\u1265\u1229", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235", + "\u1234\u1355\u1274", + "\u12a6\u12ad\u1270", + "\u1296\u126c\u121d", + "\u12f2\u1234\u121d" + ], + "fullDate": "EEEE\u1361 dd MMMM \u12ee\u121d y G", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Nfk", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "tig-er", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tig.js b/public/app/bower_components/angular-i18n/angular-locale_tig.js new file mode 100644 index 00000000..343cc9b6 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tig.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u1240\u12f0\u121d \u1230\u122d\u121d\u12d5\u120d", + "\u1213\u1246 \u1235\u122d\u121d\u12d5\u120d" + ], + "DAY": [ + "\u1230\u1295\u1260\u1275 \u12d3\u1263\u12ed", + "\u1230\u1296", + "\u1273\u120b\u1238\u1296", + "\u12a3\u1228\u122d\u1263\u12d3", + "\u12a8\u121a\u123d", + "\u1305\u121d\u12d3\u1275", + "\u1230\u1295\u1260\u1275 \u1295\u12a2\u123d" + ], + "MONTH": [ + "\u1303\u1295\u12e9\u12c8\u122a", + "\u134c\u1265\u1229\u12c8\u122a", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228\u120d", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235\u1275", + "\u1234\u1355\u1274\u121d\u1260\u122d", + "\u12a6\u12ad\u1270\u12cd\u1260\u122d", + "\u1296\u126c\u121d\u1260\u122d", + "\u12f2\u1234\u121d\u1260\u122d" + ], + "SHORTDAY": [ + "\u1230/\u12d3", + "\u1230\u1296", + "\u1273\u120b\u1238", + "\u12a3\u1228\u122d", + "\u12a8\u121a\u123d", + "\u1305\u121d\u12d3", + "\u1230/\u1295" + ], + "SHORTMONTH": [ + "\u1303\u1295\u12e9", + "\u134c\u1265\u1229", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235", + "\u1234\u1355\u1274", + "\u12a6\u12ad\u1270", + "\u1296\u126c\u121d", + "\u12f2\u1234\u121d" + ], + "fullDate": "EEEE\u1361 dd MMMM \u12ee\u121d y G", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Nfk", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "tig", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tl.js b/public/app/bower_components/angular-i18n/angular-locale_tl.js index 0809c013..e897a3e1 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_tl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_tl.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -34,9 +52,9 @@ $provide.value("$locale", { "Lin", "Lun", "Mar", - "Mye", + "Miy", "Huw", - "Bye", + "Biy", "Sab" ], "SHORTMONTH": [ @@ -53,14 +71,14 @@ $provide.value("$locale", { "Nob", "Dis" ], - "fullDate": "EEEE, MMMM dd y", + "fullDate": "EEEE, MMMM d, y", "longDate": "MMMM d, y", - "medium": "MMM d, y HH:mm:ss", + "medium": "MMM d, y h:mm:ss a", "mediumDate": "MMM d, y", - "mediumTime": "HH:mm:ss", - "short": "M/d/yy HH:mm", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", "shortDate": "M/d/yy", - "shortTime": "HH:mm" + "shortTime": "h:mm a" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "\u20b1", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "tl", - "pluralCat": function (n) { if (n == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && (i == 1 || i == 2 || i == 3) || vf.v == 0 && i % 10 != 4 && i % 10 != 6 && i % 10 != 9 || vf.v != 0 && vf.f % 10 != 4 && vf.f % 10 != 6 && vf.f % 10 != 9) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tn-bw.js b/public/app/bower_components/angular-i18n/angular-locale_tn-bw.js new file mode 100644 index 00000000..098c9c8f --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tn-bw.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Tshipi", + "Mosopulogo", + "Labobedi", + "Laboraro", + "Labone", + "Labotlhano", + "Matlhatso" + ], + "MONTH": [ + "Ferikgong", + "Tlhakole", + "Mopitlo", + "Moranang", + "Motsheganang", + "Seetebosigo", + "Phukwi", + "Phatwe", + "Lwetse", + "Diphalane", + "Ngwanatsele", + "Sedimonthole" + ], + "SHORTDAY": [ + "Tsh", + "Mos", + "Bed", + "Rar", + "Ne", + "Tla", + "Mat" + ], + "SHORTMONTH": [ + "Fer", + "Tlh", + "Mop", + "Mor", + "Mot", + "See", + "Phu", + "Pha", + "Lwe", + "Dip", + "Ngw", + "Sed" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "P", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "tn-bw", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tn-za.js b/public/app/bower_components/angular-i18n/angular-locale_tn-za.js new file mode 100644 index 00000000..075135de --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tn-za.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Tshipi", + "Mosopulogo", + "Labobedi", + "Laboraro", + "Labone", + "Labotlhano", + "Matlhatso" + ], + "MONTH": [ + "Ferikgong", + "Tlhakole", + "Mopitlo", + "Moranang", + "Motsheganang", + "Seetebosigo", + "Phukwi", + "Phatwe", + "Lwetse", + "Diphalane", + "Ngwanatsele", + "Sedimonthole" + ], + "SHORTDAY": [ + "Tsh", + "Mos", + "Bed", + "Rar", + "Ne", + "Tla", + "Mat" + ], + "SHORTMONTH": [ + "Fer", + "Tlh", + "Mop", + "Mor", + "Mot", + "See", + "Phu", + "Pha", + "Lwe", + "Dip", + "Ngw", + "Sed" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "tn-za", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tn.js b/public/app/bower_components/angular-i18n/angular-locale_tn.js new file mode 100644 index 00000000..4f0ea5ca --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Tshipi", + "Mosopulogo", + "Labobedi", + "Laboraro", + "Labone", + "Labotlhano", + "Matlhatso" + ], + "MONTH": [ + "Ferikgong", + "Tlhakole", + "Mopitlo", + "Moranang", + "Motsheganang", + "Seetebosigo", + "Phukwi", + "Phatwe", + "Lwetse", + "Diphalane", + "Ngwanatsele", + "Sedimonthole" + ], + "SHORTDAY": [ + "Tsh", + "Mos", + "Bed", + "Rar", + "Ne", + "Tla", + "Mat" + ], + "SHORTMONTH": [ + "Fer", + "Tlh", + "Mop", + "Mor", + "Mot", + "See", + "Phu", + "Pha", + "Lwe", + "Dip", + "Ngw", + "Sed" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "tn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_to-to.js b/public/app/bower_components/angular-i18n/angular-locale_to-to.js new file mode 100644 index 00000000..3d1638ff --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_to-to.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "S\u0101pate", + "M\u014dnite", + "T\u016bsite", + "Pulelulu", + "Tu\u02bbapulelulu", + "Falaite", + "Tokonaki" + ], + "MONTH": [ + "S\u0101nuali", + "F\u0113pueli", + "Ma\u02bbasi", + "\u02bbEpeleli", + "M\u0113", + "Sune", + "Siulai", + "\u02bbAokosi", + "Sepitema", + "\u02bbOkatopa", + "N\u014dvema", + "T\u012bsema" + ], + "SHORTDAY": [ + "S\u0101p", + "M\u014dn", + "T\u016bs", + "Pul", + "Tu\u02bba", + "Fal", + "Tok" + ], + "SHORTMONTH": [ + "S\u0101n", + "F\u0113p", + "Ma\u02bba", + "\u02bbEpe", + "M\u0113", + "Sun", + "Siu", + "\u02bbAok", + "Sep", + "\u02bbOka", + "N\u014dv", + "T\u012bs" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "T$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "to-to", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_to.js b/public/app/bower_components/angular-i18n/angular-locale_to.js new file mode 100644 index 00000000..93a6ab93 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_to.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "S\u0101pate", + "M\u014dnite", + "T\u016bsite", + "Pulelulu", + "Tu\u02bbapulelulu", + "Falaite", + "Tokonaki" + ], + "MONTH": [ + "S\u0101nuali", + "F\u0113pueli", + "Ma\u02bbasi", + "\u02bbEpeleli", + "M\u0113", + "Sune", + "Siulai", + "\u02bbAokosi", + "Sepitema", + "\u02bbOkatopa", + "N\u014dvema", + "T\u012bsema" + ], + "SHORTDAY": [ + "S\u0101p", + "M\u014dn", + "T\u016bs", + "Pul", + "Tu\u02bba", + "Fal", + "Tok" + ], + "SHORTMONTH": [ + "S\u0101n", + "F\u0113p", + "Ma\u02bba", + "\u02bbEpe", + "M\u0113", + "Sun", + "Siu", + "\u02bbAok", + "Sep", + "\u02bbOka", + "N\u014dv", + "T\u012bs" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "d/M/yy h:mm a", + "shortDate": "d/M/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "T$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "to", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tr-cy.js b/public/app/bower_components/angular-i18n/angular-locale_tr-cy.js index 2cfe7667..19538206 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_tr-cy.js +++ b/public/app/bower_components/angular-i18n/angular-locale_tr-cy.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "TL", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": ".", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_tr-tr.js b/public/app/bower_components/angular-i18n/angular-locale_tr-tr.js index 57d3ca4a..6b3e8fb8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_tr-tr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_tr-tr.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "AM", - "PM" + "\u00d6\u00d6", + "\u00d6S" ], "DAY": [ "Pazar", @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd MM yyyy HH:mm", - "shortDate": "dd MM yyyy", + "short": "d MM y HH:mm", + "shortDate": "d MM y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "tr-tr", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tr.js b/public/app/bower_components/angular-i18n/angular-locale_tr.js index bc36ae2e..a2907c07 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_tr.js +++ b/public/app/bower_components/angular-i18n/angular-locale_tr.js @@ -4,8 +4,8 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "AM", - "PM" + "\u00d6\u00d6", + "\u00d6S" ], "DAY": [ "Pazar", @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y HH:mm:ss", "mediumDate": "d MMM y", "mediumTime": "HH:mm:ss", - "short": "dd MM yyyy HH:mm", - "shortDate": "dd MM yyyy", + "short": "d MM y HH:mm", + "shortDate": "d MM y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(", - "negSuf": "\u00a0\u00a4)", + "negPre": "-", + "negSuf": "\u00a0\u00a4", "posPre": "", "posSuf": "\u00a0\u00a4" } ] }, "id": "tr", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ts-za.js b/public/app/bower_components/angular-i18n/angular-locale_ts-za.js new file mode 100644 index 00000000..92663c66 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ts-za.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sonto", + "Musumbhunuku", + "Ravumbirhi", + "Ravunharhu", + "Ravumune", + "Ravuntlhanu", + "Mugqivela" + ], + "MONTH": [ + "Sunguti", + "Nyenyenyani", + "Nyenyankulu", + "Dzivamisoko", + "Mudyaxihi", + "Khotavuxika", + "Mawuwani", + "Mhawuri", + "Ndzhati", + "Nhlangula", + "Hukuri", + "N'wendzamhala" + ], + "SHORTDAY": [ + "Son", + "Mus", + "Bir", + "Har", + "Ne", + "Tlh", + "Mug" + ], + "SHORTMONTH": [ + "Sun", + "Yan", + "Kul", + "Dzi", + "Mud", + "Kho", + "Maw", + "Mha", + "Ndz", + "Nhl", + "Huk", + "N'w" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ts-za", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ts.js b/public/app/bower_components/angular-i18n/angular-locale_ts.js new file mode 100644 index 00000000..b84b9752 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ts.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sonto", + "Musumbhunuku", + "Ravumbirhi", + "Ravunharhu", + "Ravumune", + "Ravuntlhanu", + "Mugqivela" + ], + "MONTH": [ + "Sunguti", + "Nyenyenyani", + "Nyenyankulu", + "Dzivamisoko", + "Mudyaxihi", + "Khotavuxika", + "Mawuwani", + "Mhawuri", + "Ndzhati", + "Nhlangula", + "Hukuri", + "N'wendzamhala" + ], + "SHORTDAY": [ + "Son", + "Mus", + "Bir", + "Har", + "Ne", + "Tlh", + "Mug" + ], + "SHORTMONTH": [ + "Sun", + "Yan", + "Kul", + "Dzi", + "Mud", + "Kho", + "Maw", + "Mha", + "Ndz", + "Nhl", + "Huk", + "N'w" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ts", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_twq-ne.js b/public/app/bower_components/angular-i18n/angular-locale_twq-ne.js new file mode 100644 index 00000000..72f6d3b2 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_twq-ne.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Subbaahi", + "Zaarikay b" + ], + "DAY": [ + "Alhadi", + "Atinni", + "Atalaata", + "Alarba", + "Alhamiisa", + "Alzuma", + "Asibti" + ], + "MONTH": [ + "\u017danwiye", + "Feewiriye", + "Marsi", + "Awiril", + "Me", + "\u017duwe\u014b", + "\u017duyye", + "Ut", + "Sektanbur", + "Oktoobur", + "Noowanbur", + "Deesanbur" + ], + "SHORTDAY": [ + "Alh", + "Ati", + "Ata", + "Ala", + "Alm", + "Alz", + "Asi" + ], + "SHORTMONTH": [ + "\u017dan", + "Fee", + "Mar", + "Awi", + "Me", + "\u017duw", + "\u017duy", + "Ut", + "Sek", + "Okt", + "Noo", + "Dee" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "twq-ne", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_twq.js b/public/app/bower_components/angular-i18n/angular-locale_twq.js new file mode 100644 index 00000000..4b491f24 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_twq.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Subbaahi", + "Zaarikay b" + ], + "DAY": [ + "Alhadi", + "Atinni", + "Atalaata", + "Alarba", + "Alhamiisa", + "Alzuma", + "Asibti" + ], + "MONTH": [ + "\u017danwiye", + "Feewiriye", + "Marsi", + "Awiril", + "Me", + "\u017duwe\u014b", + "\u017duyye", + "Ut", + "Sektanbur", + "Oktoobur", + "Noowanbur", + "Deesanbur" + ], + "SHORTDAY": [ + "Alh", + "Ati", + "Ata", + "Ala", + "Alm", + "Alz", + "Asi" + ], + "SHORTMONTH": [ + "\u017dan", + "Fee", + "Mar", + "Awi", + "Me", + "\u017duw", + "\u017duy", + "Ut", + "Sek", + "Okt", + "Noo", + "Dee" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "twq", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tzm-latn-ma.js b/public/app/bower_components/angular-i18n/angular-locale_tzm-latn-ma.js new file mode 100644 index 00000000..40361445 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tzm-latn-ma.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Zdat azal", + "\u1e0ceffir aza" + ], + "DAY": [ + "Asamas", + "Aynas", + "Asinas", + "Akras", + "Akwas", + "Asimwas", + "Asi\u1e0dyas" + ], + "MONTH": [ + "Yennayer", + "Yebrayer", + "Mars", + "Ibrir", + "Mayyu", + "Yunyu", + "Yulyuz", + "\u0194uct", + "Cutanbir", + "K\u1e6duber", + "Nwanbir", + "Dujanbir" + ], + "SHORTDAY": [ + "Asa", + "Ayn", + "Asn", + "Akr", + "Akw", + "Asm", + "As\u1e0d" + ], + "SHORTMONTH": [ + "Yen", + "Yeb", + "Mar", + "Ibr", + "May", + "Yun", + "Yul", + "\u0194uc", + "Cut", + "K\u1e6du", + "Nwa", + "Duj" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "dh", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "tzm-latn-ma", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tzm-latn.js b/public/app/bower_components/angular-i18n/angular-locale_tzm-latn.js new file mode 100644 index 00000000..891b5100 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tzm-latn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Zdat azal", + "\u1e0ceffir aza" + ], + "DAY": [ + "Asamas", + "Aynas", + "Asinas", + "Akras", + "Akwas", + "Asimwas", + "Asi\u1e0dyas" + ], + "MONTH": [ + "Yennayer", + "Yebrayer", + "Mars", + "Ibrir", + "Mayyu", + "Yunyu", + "Yulyuz", + "\u0194uct", + "Cutanbir", + "K\u1e6duber", + "Nwanbir", + "Dujanbir" + ], + "SHORTDAY": [ + "Asa", + "Ayn", + "Asn", + "Akr", + "Akw", + "Asm", + "As\u1e0d" + ], + "SHORTMONTH": [ + "Yen", + "Yeb", + "Mar", + "Ibr", + "May", + "Yun", + "Yul", + "\u0194uc", + "Cut", + "K\u1e6du", + "Nwa", + "Duj" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "tzm-latn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_tzm.js b/public/app/bower_components/angular-i18n/angular-locale_tzm.js new file mode 100644 index 00000000..100fd9e9 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_tzm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Zdat azal", + "\u1e0ceffir aza" + ], + "DAY": [ + "Asamas", + "Aynas", + "Asinas", + "Akras", + "Akwas", + "Asimwas", + "Asi\u1e0dyas" + ], + "MONTH": [ + "Yennayer", + "Yebrayer", + "Mars", + "Ibrir", + "Mayyu", + "Yunyu", + "Yulyuz", + "\u0194uct", + "Cutanbir", + "K\u1e6duber", + "Nwanbir", + "Dujanbir" + ], + "SHORTDAY": [ + "Asa", + "Ayn", + "Asn", + "Akr", + "Akw", + "Asm", + "As\u1e0d" + ], + "SHORTMONTH": [ + "Yen", + "Yeb", + "Mar", + "Ibr", + "May", + "Yun", + "Yul", + "\u0194uc", + "Cut", + "K\u1e6du", + "Nwa", + "Duj" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "dh", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "tzm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ug-arab-cn.js b/public/app/bower_components/angular-i18n/angular-locale_ug-arab-cn.js new file mode 100644 index 00000000..6f56acc3 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ug-arab-cn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646", + "\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646" + ], + "DAY": [ + "\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5", + "\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5", + "\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5", + "\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5", + "\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5", + "\u062c\u06c8\u0645\u06d5", + "\u0634\u06d5\u0646\u0628\u06d5" + ], + "MONTH": [ + "\u064a\u0627\u0646\u06cb\u0627\u0631", + "\u0641\u06d0\u06cb\u0631\u0627\u0644", + "\u0645\u0627\u0631\u062a", + "\u0626\u0627\u067e\u0631\u06d0\u0644", + "\u0645\u0627\u064a", + "\u0626\u0649\u064a\u06c7\u0646", + "\u0626\u0649\u064a\u06c7\u0644", + "\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a", + "\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631", + "\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631", + "\u0628\u0648\u064a\u0627\u0628\u0649\u0631", + "\u062f\u06d0\u0643\u0627\u0628\u0649\u0631" + ], + "SHORTDAY": [ + "\u064a\u06d5", + "\u062f\u06c8", + "\u0633\u06d5", + "\u0686\u0627", + "\u067e\u06d5", + "\u0686\u06c8", + "\u0634\u06d5" + ], + "SHORTMONTH": [ + "\u064a\u0627\u0646\u06cb\u0627\u0631", + "\u0641\u06d0\u06cb\u0631\u0627\u0644", + "\u0645\u0627\u0631\u062a", + "\u0626\u0627\u067e\u0631\u06d0\u0644", + "\u0645\u0627\u064a", + "\u0626\u0649\u064a\u06c7\u0646", + "\u0626\u0649\u064a\u06c7\u0644", + "\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a", + "\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631", + "\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631", + "\u0646\u0648\u064a\u0627\u0628\u0649\u0631", + "\u062f\u06d0\u0643\u0627\u0628\u0649\u0631" + ], + "fullDate": "EEEE\u060c MMMM d\u060c y", + "longDate": "MMMM d\u060c y", + "medium": "MMM d\u060c y h:mm:ss a", + "mediumDate": "MMM d\u060c y", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a5", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ug-arab-cn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ug-arab.js b/public/app/bower_components/angular-i18n/angular-locale_ug-arab.js new file mode 100644 index 00000000..d5951727 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ug-arab.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646", + "\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646" + ], + "DAY": [ + "\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5", + "\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5", + "\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5", + "\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5", + "\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5", + "\u062c\u06c8\u0645\u06d5", + "\u0634\u06d5\u0646\u0628\u06d5" + ], + "MONTH": [ + "\u064a\u0627\u0646\u06cb\u0627\u0631", + "\u0641\u06d0\u06cb\u0631\u0627\u0644", + "\u0645\u0627\u0631\u062a", + "\u0626\u0627\u067e\u0631\u06d0\u0644", + "\u0645\u0627\u064a", + "\u0626\u0649\u064a\u06c7\u0646", + "\u0626\u0649\u064a\u06c7\u0644", + "\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a", + "\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631", + "\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631", + "\u0628\u0648\u064a\u0627\u0628\u0649\u0631", + "\u062f\u06d0\u0643\u0627\u0628\u0649\u0631" + ], + "SHORTDAY": [ + "\u064a\u06d5", + "\u062f\u06c8", + "\u0633\u06d5", + "\u0686\u0627", + "\u067e\u06d5", + "\u0686\u06c8", + "\u0634\u06d5" + ], + "SHORTMONTH": [ + "\u064a\u0627\u0646\u06cb\u0627\u0631", + "\u0641\u06d0\u06cb\u0631\u0627\u0644", + "\u0645\u0627\u0631\u062a", + "\u0626\u0627\u067e\u0631\u06d0\u0644", + "\u0645\u0627\u064a", + "\u0626\u0649\u064a\u06c7\u0646", + "\u0626\u0649\u064a\u06c7\u0644", + "\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a", + "\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631", + "\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631", + "\u0646\u0648\u064a\u0627\u0628\u0649\u0631", + "\u062f\u06d0\u0643\u0627\u0628\u0649\u0631" + ], + "fullDate": "EEEE\u060c MMMM d\u060c y", + "longDate": "MMMM d\u060c y", + "medium": "MMM d\u060c y h:mm:ss a", + "mediumDate": "MMM d\u060c y", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ug-arab", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ug.js b/public/app/bower_components/angular-i18n/angular-locale_ug.js new file mode 100644 index 00000000..270a7fd5 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ug.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646", + "\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646" + ], + "DAY": [ + "\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5", + "\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5", + "\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5", + "\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5", + "\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5", + "\u062c\u06c8\u0645\u06d5", + "\u0634\u06d5\u0646\u0628\u06d5" + ], + "MONTH": [ + "\u064a\u0627\u0646\u06cb\u0627\u0631", + "\u0641\u06d0\u06cb\u0631\u0627\u0644", + "\u0645\u0627\u0631\u062a", + "\u0626\u0627\u067e\u0631\u06d0\u0644", + "\u0645\u0627\u064a", + "\u0626\u0649\u064a\u06c7\u0646", + "\u0626\u0649\u064a\u06c7\u0644", + "\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a", + "\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631", + "\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631", + "\u0628\u0648\u064a\u0627\u0628\u0649\u0631", + "\u062f\u06d0\u0643\u0627\u0628\u0649\u0631" + ], + "SHORTDAY": [ + "\u064a\u06d5", + "\u062f\u06c8", + "\u0633\u06d5", + "\u0686\u0627", + "\u067e\u06d5", + "\u0686\u06c8", + "\u0634\u06d5" + ], + "SHORTMONTH": [ + "\u064a\u0627\u0646\u06cb\u0627\u0631", + "\u0641\u06d0\u06cb\u0631\u0627\u0644", + "\u0645\u0627\u0631\u062a", + "\u0626\u0627\u067e\u0631\u06d0\u0644", + "\u0645\u0627\u064a", + "\u0626\u0649\u064a\u06c7\u0646", + "\u0626\u0649\u064a\u06c7\u0644", + "\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a", + "\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631", + "\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631", + "\u0646\u0648\u064a\u0627\u0628\u0649\u0631", + "\u062f\u06d0\u0643\u0627\u0628\u0649\u0631" + ], + "fullDate": "EEEE\u060c MMMM d\u060c y", + "longDate": "MMMM d\u060c y", + "medium": "MMM d\u060c y h:mm:ss a", + "mediumDate": "MMM d\u060c y", + "mediumTime": "h:mm:ss a", + "short": "M/d/yy h:mm a", + "shortDate": "M/d/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u00a5", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ug", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_uk-ua.js b/public/app/bower_components/angular-i18n/angular-locale_uk-ua.js index 1e01d7c9..21cc422e 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_uk-ua.js +++ b/public/app/bower_components/angular-i18n/angular-locale_uk-ua.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -8,13 +26,13 @@ $provide.value("$locale", { "\u043f\u043f" ], "DAY": [ - "\u041d\u0435\u0434\u0456\u043b\u044f", - "\u041f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a", - "\u0412\u0456\u0432\u0442\u043e\u0440\u043e\u043a", - "\u0421\u0435\u0440\u0435\u0434\u0430", - "\u0427\u0435\u0442\u0432\u0435\u0440", - "\u041f\u02bc\u044f\u0442\u043d\u0438\u0446\u044f", - "\u0421\u0443\u0431\u043e\u0442\u0430" + "\u043d\u0435\u0434\u0456\u043b\u044f", + "\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a", + "\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a", + "\u0441\u0435\u0440\u0435\u0434\u0430", + "\u0447\u0435\u0442\u0432\u0435\u0440", + "\u043f\u02bc\u044f\u0442\u043d\u0438\u0446\u044f", + "\u0441\u0443\u0431\u043e\u0442\u0430" ], "MONTH": [ "\u0441\u0456\u0447\u043d\u044f", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "uk-ua", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_uk.js b/public/app/bower_components/angular-i18n/angular-locale_uk.js index 6b505826..43475b4c 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_uk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_uk.js @@ -1,6 +1,24 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ @@ -8,13 +26,13 @@ $provide.value("$locale", { "\u043f\u043f" ], "DAY": [ - "\u041d\u0435\u0434\u0456\u043b\u044f", - "\u041f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a", - "\u0412\u0456\u0432\u0442\u043e\u0440\u043e\u043a", - "\u0421\u0435\u0440\u0435\u0434\u0430", - "\u0427\u0435\u0442\u0432\u0435\u0440", - "\u041f\u02bc\u044f\u0442\u043d\u0438\u0446\u044f", - "\u0421\u0443\u0431\u043e\u0442\u0430" + "\u043d\u0435\u0434\u0456\u043b\u044f", + "\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a", + "\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a", + "\u0441\u0435\u0440\u0435\u0434\u0430", + "\u0447\u0435\u0442\u0432\u0435\u0440", + "\u043f\u02bc\u044f\u0442\u043d\u0438\u0446\u044f", + "\u0441\u0443\u0431\u043e\u0442\u0430" ], "MONTH": [ "\u0441\u0456\u0447\u043d\u044f", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +99,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +110,6 @@ $provide.value("$locale", { ] }, "id": "uk", - "pluralCat": function (n) { if (n % 10 == 1 && n % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (n == (n | 0) && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (n % 10 == 0 || n == (n | 0) && n % 10 >= 5 && n % 10 <= 9 || n == (n | 0) && n % 100 >= 11 && n % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (vf.v == 0 && i % 10 == 1 && i % 100 != 11) { return PLURAL_CATEGORY.ONE; } if (vf.v == 0 && i % 10 >= 2 && i % 10 <= 4 && (i % 100 < 12 || i % 100 > 14)) { return PLURAL_CATEGORY.FEW; } if (vf.v == 0 && i % 10 == 0 || vf.v == 0 && i % 10 >= 5 && i % 10 <= 9 || vf.v == 0 && i % 100 >= 11 && i % 100 <= 14) { return PLURAL_CATEGORY.MANY; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ur-in.js b/public/app/bower_components/angular-i18n/angular-locale_ur-in.js index c501be6f..5d81b281 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ur-in.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ur-in.js @@ -1,17 +1,35 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u062f\u0646", - "\u0631\u0627\u062a" + "\u0642\u0628\u0644 \u062f\u0648\u067e\u06c1\u0631", + "\u0628\u0639\u062f \u062f\u0648\u067e\u06c1\u0631" ], "DAY": [ "\u0627\u062a\u0648\u0627\u0631", - "\u067e\u064a\u0631", + "\u067e\u06cc\u0631", "\u0645\u0646\u06af\u0644", - "\u0628\u062f\u0647", + "\u0628\u062f\u06be", "\u062c\u0645\u0639\u0631\u0627\u062a", "\u062c\u0645\u0639\u06c1", "\u06c1\u0641\u062a\u06c1" @@ -20,10 +38,10 @@ $provide.value("$locale", { "\u062c\u0646\u0648\u0631\u06cc", "\u0641\u0631\u0648\u0631\u06cc", "\u0645\u0627\u0631\u0686", - "\u0627\u067e\u0631\u064a\u0644", - "\u0645\u0626", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u0626\u06cc", "\u062c\u0648\u0646", - "\u062c\u0648\u0644\u0627\u0626", + "\u062c\u0648\u0644\u0627\u0626\u06cc", "\u0627\u06af\u0633\u062a", "\u0633\u062a\u0645\u0628\u0631", "\u0627\u06a9\u062a\u0648\u0628\u0631", @@ -32,9 +50,9 @@ $provide.value("$locale", { ], "SHORTDAY": [ "\u0627\u062a\u0648\u0627\u0631", - "\u067e\u064a\u0631", + "\u067e\u06cc\u0631", "\u0645\u0646\u06af\u0644", - "\u0628\u062f\u0647", + "\u0628\u062f\u06be", "\u062c\u0645\u0639\u0631\u0627\u062a", "\u062c\u0645\u0639\u06c1", "\u06c1\u0641\u062a\u06c1" @@ -43,34 +61,33 @@ $provide.value("$locale", { "\u062c\u0646\u0648\u0631\u06cc", "\u0641\u0631\u0648\u0631\u06cc", "\u0645\u0627\u0631\u0686", - "\u0627\u067e\u0631\u064a\u0644", - "\u0645\u0626", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u0626\u06cc", "\u062c\u0648\u0646", - "\u062c\u0648\u0644\u0627\u0626", + "\u062c\u0648\u0644\u0627\u0626\u06cc", "\u0627\u06af\u0633\u062a", "\u0633\u062a\u0645\u0628\u0631", "\u0627\u06a9\u062a\u0648\u0628\u0631", "\u0646\u0648\u0645\u0628\u0631", "\u062f\u0633\u0645\u0628\u0631" ], - "fullDate": "EEEE\u060d d\u060d MMMM y", - "longDate": "d\u060d MMMM y", - "medium": "d\u060d MMM y h:mm:ss a", - "mediumDate": "d\u060d MMM y", + "fullDate": "EEEE\u060c d MMMM\u060c y", + "longDate": "d MMMM\u060c y", + "medium": "d MMM\u060c y h:mm:ss a", + "mediumDate": "d MMM\u060c y", "mediumTime": "h:mm:ss a", "short": "d/M/yy h:mm a", "shortDate": "d/M/yy", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "Rs", + "CURRENCY_SYM": "\u20b9", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { - "gSize": 3, + "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -80,20 +97,19 @@ $provide.value("$locale", { "posSuf": "" }, { - "gSize": 3, + "gSize": 2, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4-", + "negPre": "\u00a4\u00a0-", "negSuf": "", - "posPre": "\u00a4", + "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "ur-in", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ur-pk.js b/public/app/bower_components/angular-i18n/angular-locale_ur-pk.js index cd642212..78ecd518 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ur-pk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ur-pk.js @@ -1,17 +1,35 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u062f\u0646", - "\u0631\u0627\u062a" + "\u0642\u0628\u0644 \u062f\u0648\u067e\u06c1\u0631", + "\u0628\u0639\u062f \u062f\u0648\u067e\u06c1\u0631" ], "DAY": [ "\u0627\u062a\u0648\u0627\u0631", - "\u067e\u064a\u0631", + "\u0633\u0648\u0645\u0648\u0627\u0631", "\u0645\u0646\u06af\u0644", - "\u0628\u062f\u0647", + "\u0628\u062f\u06be", "\u062c\u0645\u0639\u0631\u0627\u062a", "\u062c\u0645\u0639\u06c1", "\u06c1\u0641\u062a\u06c1" @@ -20,10 +38,10 @@ $provide.value("$locale", { "\u062c\u0646\u0648\u0631\u06cc", "\u0641\u0631\u0648\u0631\u06cc", "\u0645\u0627\u0631\u0686", - "\u0627\u067e\u0631\u064a\u0644", - "\u0645\u0626", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u0626\u06cc", "\u062c\u0648\u0646", - "\u062c\u0648\u0644\u0627\u0626", + "\u062c\u0648\u0644\u0627\u0626\u06cc", "\u0627\u06af\u0633\u062a", "\u0633\u062a\u0645\u0628\u0631", "\u0627\u06a9\u062a\u0648\u0628\u0631", @@ -32,9 +50,9 @@ $provide.value("$locale", { ], "SHORTDAY": [ "\u0627\u062a\u0648\u0627\u0631", - "\u067e\u064a\u0631", + "\u0633\u0648\u0645\u0648\u0627\u0631", "\u0645\u0646\u06af\u0644", - "\u0628\u062f\u0647", + "\u0628\u062f\u06be", "\u062c\u0645\u0639\u0631\u0627\u062a", "\u062c\u0645\u0639\u06c1", "\u06c1\u0641\u062a\u06c1" @@ -43,20 +61,20 @@ $provide.value("$locale", { "\u062c\u0646\u0648\u0631\u06cc", "\u0641\u0631\u0648\u0631\u06cc", "\u0645\u0627\u0631\u0686", - "\u0627\u067e\u0631\u064a\u0644", - "\u0645\u0626", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u0626\u06cc", "\u062c\u0648\u0646", - "\u062c\u0648\u0644\u0627\u0626", + "\u062c\u0648\u0644\u0627\u0626\u06cc", "\u0627\u06af\u0633\u062a", "\u0633\u062a\u0645\u0628\u0631", "\u0627\u06a9\u062a\u0648\u0628\u0631", "\u0646\u0648\u0645\u0628\u0631", "\u062f\u0633\u0645\u0628\u0631" ], - "fullDate": "EEEE\u060d d\u060d MMMM y", - "longDate": "d\u060d MMMM y", - "medium": "d\u060d MMM y h:mm:ss a", - "mediumDate": "d\u060d MMM y", + "fullDate": "EEEE\u060c d MMMM\u060c y", + "longDate": "d MMMM\u060c y", + "medium": "d MMM\u060c y h:mm:ss a", + "mediumDate": "d MMM\u060c y", "mediumTime": "h:mm:ss a", "short": "d/M/yy h:mm a", "shortDate": "d/M/yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, "negPre": "\u00a4-", - "negSuf": "", + "negSuf": "\u200e", "posPre": "\u00a4", - "posSuf": "" + "posSuf": "\u200e" } ] }, "id": "ur-pk", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ur.js b/public/app/bower_components/angular-i18n/angular-locale_ur.js index d09bea85..f4e21404 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_ur.js +++ b/public/app/bower_components/angular-i18n/angular-locale_ur.js @@ -1,17 +1,35 @@ 'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "\u062f\u0646", - "\u0631\u0627\u062a" + "\u0642\u0628\u0644 \u062f\u0648\u067e\u06c1\u0631", + "\u0628\u0639\u062f \u062f\u0648\u067e\u06c1\u0631" ], "DAY": [ "\u0627\u062a\u0648\u0627\u0631", - "\u067e\u064a\u0631", + "\u0633\u0648\u0645\u0648\u0627\u0631", "\u0645\u0646\u06af\u0644", - "\u0628\u062f\u0647", + "\u0628\u062f\u06be", "\u062c\u0645\u0639\u0631\u0627\u062a", "\u062c\u0645\u0639\u06c1", "\u06c1\u0641\u062a\u06c1" @@ -20,10 +38,10 @@ $provide.value("$locale", { "\u062c\u0646\u0648\u0631\u06cc", "\u0641\u0631\u0648\u0631\u06cc", "\u0645\u0627\u0631\u0686", - "\u0627\u067e\u0631\u064a\u0644", - "\u0645\u0626", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u0626\u06cc", "\u062c\u0648\u0646", - "\u062c\u0648\u0644\u0627\u0626", + "\u062c\u0648\u0644\u0627\u0626\u06cc", "\u0627\u06af\u0633\u062a", "\u0633\u062a\u0645\u0628\u0631", "\u0627\u06a9\u062a\u0648\u0628\u0631", @@ -32,9 +50,9 @@ $provide.value("$locale", { ], "SHORTDAY": [ "\u0627\u062a\u0648\u0627\u0631", - "\u067e\u064a\u0631", + "\u0633\u0648\u0645\u0648\u0627\u0631", "\u0645\u0646\u06af\u0644", - "\u0628\u062f\u0647", + "\u0628\u062f\u06be", "\u062c\u0645\u0639\u0631\u0627\u062a", "\u062c\u0645\u0639\u06c1", "\u06c1\u0641\u062a\u06c1" @@ -43,20 +61,20 @@ $provide.value("$locale", { "\u062c\u0646\u0648\u0631\u06cc", "\u0641\u0631\u0648\u0631\u06cc", "\u0645\u0627\u0631\u0686", - "\u0627\u067e\u0631\u064a\u0644", - "\u0645\u0626", + "\u0627\u067e\u0631\u06cc\u0644", + "\u0645\u0626\u06cc", "\u062c\u0648\u0646", - "\u062c\u0648\u0644\u0627\u0626", + "\u062c\u0648\u0644\u0627\u0626\u06cc", "\u0627\u06af\u0633\u062a", "\u0633\u062a\u0645\u0628\u0631", "\u0627\u06a9\u062a\u0648\u0628\u0631", "\u0646\u0648\u0645\u0628\u0631", "\u062f\u0633\u0645\u0628\u0631" ], - "fullDate": "EEEE\u060d d\u060d MMMM y", - "longDate": "d\u060d MMMM y", - "medium": "d\u060d MMM y h:mm:ss a", - "mediumDate": "d\u060d MMM y", + "fullDate": "EEEE\u060c d MMMM\u060c y", + "longDate": "d MMMM\u060c y", + "medium": "d MMM\u060c y h:mm:ss a", + "mediumDate": "d MMM\u060c y", "mediumTime": "h:mm:ss a", "short": "d/M/yy h:mm a", "shortDate": "d/M/yy", @@ -70,7 +88,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +99,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, "negPre": "\u00a4-", - "negSuf": "", + "negSuf": "\u200e", "posPre": "\u00a4", - "posSuf": "" + "posSuf": "\u200e" } ] }, "id": "ur", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_uz-arab-af.js b/public/app/bower_components/angular-i18n/angular-locale_uz-arab-af.js index 9b93d7da..181a5f28 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_uz-arab-af.js +++ b/public/app/bower_components/angular-i18n/angular-locale_uz-arab-af.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "so\u02bcm", - "DECIMAL_SEP": ",", - "GROUP_SEP": "\u00a0", + "CURRENCY_SYM": "Af.", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,14 +81,13 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0-", - "negSuf": "", - "posPre": "\u00a4\u00a0", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, diff --git a/public/app/bower_components/angular-i18n/angular-locale_uz-arab.js b/public/app/bower_components/angular-i18n/angular-locale_uz-arab.js index bd174dac..fb073784 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_uz-arab.js +++ b/public/app/bower_components/angular-i18n/angular-locale_uz-arab.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "H:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "so\u02bcm", - "DECIMAL_SEP": ",", - "GROUP_SEP": "\u00a0", + "CURRENCY_SYM": "Af.", + "DECIMAL_SEP": "\u066b", + "GROUP_SEP": "\u066c", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,14 +81,13 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "\u00a4\u00a0-", - "negSuf": "", - "posPre": "\u00a4\u00a0", - "posSuf": "" + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" } ] }, diff --git a/public/app/bower_components/angular-i18n/angular-locale_uz-cyrl-uz.js b/public/app/bower_components/angular-i18n/angular-locale_uz-cyrl-uz.js index 12b3a802..540af807 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_uz-cyrl-uz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_uz-cyrl-uz.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_uz-cyrl.js b/public/app/bower_components/angular-i18n/angular-locale_uz-cyrl.js index 592dd1ed..e8d14850 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_uz-cyrl.js +++ b/public/app/bower_components/angular-i18n/angular-locale_uz-cyrl.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "so\u02bcm", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_uz-latn-uz.js b/public/app/bower_components/angular-i18n/angular-locale_uz-latn-uz.js index 84a959a2..50c052a3 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_uz-latn-uz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_uz-latn-uz.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_uz-latn.js b/public/app/bower_components/angular-i18n/angular-locale_uz-latn.js index 2a3c1dc5..fb6293d1 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_uz-latn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_uz-latn.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "HH:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "so\u02bcm", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_uz.js b/public/app/bower_components/angular-i18n/angular-locale_uz.js index 96c7c241..d172d7c8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_uz.js +++ b/public/app/bower_components/angular-i18n/angular-locale_uz.js @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, diff --git a/public/app/bower_components/angular-i18n/angular-locale_vai-latn-lr.js b/public/app/bower_components/angular-i18n/angular-locale_vai-latn-lr.js new file mode 100644 index 00000000..a01a5803 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_vai-latn-lr.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "lahadi", + "t\u025b\u025bn\u025b\u025b", + "talata", + "alaba", + "aimisa", + "aijima", + "si\u0253iti" + ], + "MONTH": [ + "luukao kem\u00e3", + "\u0253anda\u0253u", + "v\u0254\u0254", + "fulu", + "goo", + "6", + "7", + "k\u0254nde", + "saah", + "galo", + "kenpkato \u0253olol\u0254", + "luukao l\u0254ma" + ], + "SHORTDAY": [ + "lahadi", + "t\u025b\u025bn\u025b\u025b", + "talata", + "alaba", + "aimisa", + "aijima", + "si\u0253iti" + ], + "SHORTMONTH": [ + "luukao kem\u00e3", + "\u0253anda\u0253u", + "v\u0254\u0254", + "fulu", + "goo", + "6", + "7", + "k\u0254nde", + "saah", + "galo", + "kenpkato \u0253olol\u0254", + "luukao l\u0254ma" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "vai-latn-lr", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_vai-latn.js b/public/app/bower_components/angular-i18n/angular-locale_vai-latn.js new file mode 100644 index 00000000..50f3b2f0 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_vai-latn.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "lahadi", + "t\u025b\u025bn\u025b\u025b", + "talata", + "alaba", + "aimisa", + "aijima", + "si\u0253iti" + ], + "MONTH": [ + "luukao kem\u00e3", + "\u0253anda\u0253u", + "v\u0254\u0254", + "fulu", + "goo", + "6", + "7", + "k\u0254nde", + "saah", + "galo", + "kenpkato \u0253olol\u0254", + "luukao l\u0254ma" + ], + "SHORTDAY": [ + "lahadi", + "t\u025b\u025bn\u025b\u025b", + "talata", + "alaba", + "aimisa", + "aijima", + "si\u0253iti" + ], + "SHORTMONTH": [ + "luukao kem\u00e3", + "\u0253anda\u0253u", + "v\u0254\u0254", + "fulu", + "goo", + "6", + "7", + "k\u0254nde", + "saah", + "galo", + "kenpkato \u0253olol\u0254", + "luukao l\u0254ma" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "vai-latn", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_vai-vaii-lr.js b/public/app/bower_components/angular-i18n/angular-locale_vai-vaii-lr.js new file mode 100644 index 00000000..14ae0645 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_vai-vaii-lr.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "\ua55e\ua54c\ua535", + "\ua5f3\ua5e1\ua609", + "\ua55a\ua55e\ua55a", + "\ua549\ua55e\ua552", + "\ua549\ua524\ua546\ua562", + "\ua549\ua524\ua540\ua56e", + "\ua53b\ua52c\ua533" + ], + "MONTH": [ + "\ua5a8\ua56a\ua583 \ua51e\ua56e", + "\ua552\ua561\ua59d\ua595", + "\ua57e\ua5ba", + "\ua5a2\ua595", + "\ua591\ua571", + "6", + "7", + "\ua5db\ua515", + "\ua562\ua54c", + "\ua56d\ua583", + "\ua51e\ua60b\ua554\ua57f \ua578\ua583\ua5cf", + "\ua5a8\ua56a\ua571 \ua5cf\ua56e" + ], + "SHORTDAY": [ + "\ua55e\ua54c\ua535", + "\ua5f3\ua5e1\ua609", + "\ua55a\ua55e\ua55a", + "\ua549\ua55e\ua552", + "\ua549\ua524\ua546\ua562", + "\ua549\ua524\ua540\ua56e", + "\ua53b\ua52c\ua533" + ], + "SHORTMONTH": [ + "\ua5a8\ua56a\ua583 \ua51e\ua56e", + "\ua552\ua561\ua59d\ua595", + "\ua57e\ua5ba", + "\ua5a2\ua595", + "\ua591\ua571", + "6", + "7", + "\ua5db\ua515", + "\ua562\ua54c", + "\ua56d\ua583", + "\ua51e\ua60b\ua554\ua57f \ua578\ua583\ua5cf", + "\ua5a8\ua56a\ua571 \ua5cf\ua56e" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "vai-vaii-lr", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_vai-vaii.js b/public/app/bower_components/angular-i18n/angular-locale_vai-vaii.js new file mode 100644 index 00000000..f388df14 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_vai-vaii.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "\ua55e\ua54c\ua535", + "\ua5f3\ua5e1\ua609", + "\ua55a\ua55e\ua55a", + "\ua549\ua55e\ua552", + "\ua549\ua524\ua546\ua562", + "\ua549\ua524\ua540\ua56e", + "\ua53b\ua52c\ua533" + ], + "MONTH": [ + "\ua5a8\ua56a\ua583 \ua51e\ua56e", + "\ua552\ua561\ua59d\ua595", + "\ua57e\ua5ba", + "\ua5a2\ua595", + "\ua591\ua571", + "6", + "7", + "\ua5db\ua515", + "\ua562\ua54c", + "\ua56d\ua583", + "\ua51e\ua60b\ua554\ua57f \ua578\ua583\ua5cf", + "\ua5a8\ua56a\ua571 \ua5cf\ua56e" + ], + "SHORTDAY": [ + "\ua55e\ua54c\ua535", + "\ua5f3\ua5e1\ua609", + "\ua55a\ua55e\ua55a", + "\ua549\ua55e\ua552", + "\ua549\ua524\ua546\ua562", + "\ua549\ua524\ua540\ua56e", + "\ua53b\ua52c\ua533" + ], + "SHORTMONTH": [ + "\ua5a8\ua56a\ua583 \ua51e\ua56e", + "\ua552\ua561\ua59d\ua595", + "\ua57e\ua5ba", + "\ua5a2\ua595", + "\ua591\ua571", + "6", + "7", + "\ua5db\ua515", + "\ua562\ua54c", + "\ua56d\ua583", + "\ua51e\ua60b\ua554\ua57f \ua578\ua583\ua5cf", + "\ua5a8\ua56a\ua571 \ua5cf\ua56e" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20ac", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "vai-vaii", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_vai.js b/public/app/bower_components/angular-i18n/angular-locale_vai.js new file mode 100644 index 00000000..eba74ef7 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_vai.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "\ua55e\ua54c\ua535", + "\ua5f3\ua5e1\ua609", + "\ua55a\ua55e\ua55a", + "\ua549\ua55e\ua552", + "\ua549\ua524\ua546\ua562", + "\ua549\ua524\ua540\ua56e", + "\ua53b\ua52c\ua533" + ], + "MONTH": [ + "\ua5a8\ua56a\ua583 \ua51e\ua56e", + "\ua552\ua561\ua59d\ua595", + "\ua57e\ua5ba", + "\ua5a2\ua595", + "\ua591\ua571", + "6", + "7", + "\ua5db\ua515", + "\ua562\ua54c", + "\ua56d\ua583", + "\ua51e\ua60b\ua554\ua57f \ua578\ua583\ua5cf", + "\ua5a8\ua56a\ua571 \ua5cf\ua56e" + ], + "SHORTDAY": [ + "\ua55e\ua54c\ua535", + "\ua5f3\ua5e1\ua609", + "\ua55a\ua55e\ua55a", + "\ua549\ua55e\ua552", + "\ua549\ua524\ua546\ua562", + "\ua549\ua524\ua540\ua56e", + "\ua53b\ua52c\ua533" + ], + "SHORTMONTH": [ + "\ua5a8\ua56a\ua583 \ua51e\ua56e", + "\ua552\ua561\ua59d\ua595", + "\ua57e\ua5ba", + "\ua5a2\ua595", + "\ua591\ua571", + "6", + "7", + "\ua5db\ua515", + "\ua562\ua54c", + "\ua56d\ua583", + "\ua51e\ua60b\ua554\ua57f \ua578\ua583\ua5cf", + "\ua5a8\ua56a\ua571 \ua5cf\ua56e" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "vai", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ve-za.js b/public/app/bower_components/angular-i18n/angular-locale_ve-za.js new file mode 100644 index 00000000..d26001ba --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ve-za.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Swondaha", + "Musumbuluwo", + "\u1e3cavhuvhili", + "\u1e3cavhuraru", + "\u1e3cavhu\u1e4ba", + "\u1e3cavhu\u1e71anu", + "Mugivhela" + ], + "MONTH": [ + "Phando", + "Luhuhi", + "\u1e70hafamuhwe", + "Lambamai", + "Shundunthule", + "Fulwi", + "Fulwana", + "\u1e70hangule", + "Khubvumedzi", + "Tshimedzi", + "\u1e3cara", + "Nyendavhusiku" + ], + "SHORTDAY": [ + "Swo", + "Mus", + "Vhi", + "Rar", + "\u1e4aa", + "\u1e70an", + "Mug" + ], + "SHORTMONTH": [ + "Pha", + "Luh", + "\u1e70hf", + "Lam", + "Shu", + "Lwi", + "Lwa", + "\u1e70ha", + "Khu", + "Tsh", + "\u1e3car", + "Nye" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ve-za", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_ve.js b/public/app/bower_components/angular-i18n/angular-locale_ve.js new file mode 100644 index 00000000..d258e5e4 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_ve.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Swondaha", + "Musumbuluwo", + "\u1e3cavhuvhili", + "\u1e3cavhuraru", + "\u1e3cavhu\u1e4ba", + "\u1e3cavhu\u1e71anu", + "Mugivhela" + ], + "MONTH": [ + "Phando", + "Luhuhi", + "\u1e70hafamuhwe", + "Lambamai", + "Shundunthule", + "Fulwi", + "Fulwana", + "\u1e70hangule", + "Khubvumedzi", + "Tshimedzi", + "\u1e3cara", + "Nyendavhusiku" + ], + "SHORTDAY": [ + "Swo", + "Mus", + "Vhi", + "Rar", + "\u1e4aa", + "\u1e70an", + "Mug" + ], + "SHORTMONTH": [ + "Pha", + "Luh", + "\u1e70hf", + "Lam", + "Shu", + "Lwi", + "Lwa", + "\u1e70ha", + "Khu", + "Tsh", + "\u1e3car", + "Nye" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "ve", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_vi-vn.js b/public/app/bower_components/angular-i18n/angular-locale_vi-vn.js index 1f4fa05a..ed033d6a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_vi-vn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_vi-vn.js @@ -8,27 +8,27 @@ $provide.value("$locale", { "CH" ], "DAY": [ - "Ch\u1ee7 nh\u1eadt", - "Th\u1ee9 hai", - "Th\u1ee9 ba", - "Th\u1ee9 t\u01b0", - "Th\u1ee9 n\u0103m", - "Th\u1ee9 s\u00e1u", - "Th\u1ee9 b\u1ea3y" + "Ch\u1ee7 Nh\u1eadt", + "Th\u1ee9 Hai", + "Th\u1ee9 Ba", + "Th\u1ee9 T\u01b0", + "Th\u1ee9 N\u0103m", + "Th\u1ee9 S\u00e1u", + "Th\u1ee9 B\u1ea3y" ], "MONTH": [ - "th\u00e1ng m\u1ed9t", - "th\u00e1ng hai", - "th\u00e1ng ba", - "th\u00e1ng t\u01b0", - "th\u00e1ng n\u0103m", - "th\u00e1ng s\u00e1u", - "th\u00e1ng b\u1ea3y", - "th\u00e1ng t\u00e1m", - "th\u00e1ng ch\u00edn", - "th\u00e1ng m\u01b0\u1eddi", - "th\u00e1ng m\u01b0\u1eddi m\u1ed9t", - "th\u00e1ng m\u01b0\u1eddi hai" + "th\u00e1ng 1", + "th\u00e1ng 2", + "th\u00e1ng 3", + "th\u00e1ng 4", + "th\u00e1ng 5", + "th\u00e1ng 6", + "th\u00e1ng 7", + "th\u00e1ng 8", + "th\u00e1ng 9", + "th\u00e1ng 10", + "th\u00e1ng 11", + "th\u00e1ng 12" ], "SHORTDAY": [ "CN", @@ -54,12 +54,12 @@ $provide.value("$locale", { "thg 12" ], "fullDate": "EEEE, 'ng\u00e0y' dd MMMM 'n\u0103m' y", - "longDate": "'Ng\u00e0y' dd 'th\u00e1ng' M 'n\u0103m' y", - "medium": "dd-MM-yyyy HH:mm:ss", - "mediumDate": "dd-MM-yyyy", + "longDate": "'Ng\u00e0y' dd 'th\u00e1ng' MM 'n\u0103m' y", + "medium": "dd-MM-y HH:mm:ss", + "mediumDate": "dd-MM-y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yyyy HH:mm", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "vi-vn", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_vi.js b/public/app/bower_components/angular-i18n/angular-locale_vi.js index d8d478e9..56773239 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_vi.js +++ b/public/app/bower_components/angular-i18n/angular-locale_vi.js @@ -8,27 +8,27 @@ $provide.value("$locale", { "CH" ], "DAY": [ - "Ch\u1ee7 nh\u1eadt", - "Th\u1ee9 hai", - "Th\u1ee9 ba", - "Th\u1ee9 t\u01b0", - "Th\u1ee9 n\u0103m", - "Th\u1ee9 s\u00e1u", - "Th\u1ee9 b\u1ea3y" + "Ch\u1ee7 Nh\u1eadt", + "Th\u1ee9 Hai", + "Th\u1ee9 Ba", + "Th\u1ee9 T\u01b0", + "Th\u1ee9 N\u0103m", + "Th\u1ee9 S\u00e1u", + "Th\u1ee9 B\u1ea3y" ], "MONTH": [ - "th\u00e1ng m\u1ed9t", - "th\u00e1ng hai", - "th\u00e1ng ba", - "th\u00e1ng t\u01b0", - "th\u00e1ng n\u0103m", - "th\u00e1ng s\u00e1u", - "th\u00e1ng b\u1ea3y", - "th\u00e1ng t\u00e1m", - "th\u00e1ng ch\u00edn", - "th\u00e1ng m\u01b0\u1eddi", - "th\u00e1ng m\u01b0\u1eddi m\u1ed9t", - "th\u00e1ng m\u01b0\u1eddi hai" + "th\u00e1ng 1", + "th\u00e1ng 2", + "th\u00e1ng 3", + "th\u00e1ng 4", + "th\u00e1ng 5", + "th\u00e1ng 6", + "th\u00e1ng 7", + "th\u00e1ng 8", + "th\u00e1ng 9", + "th\u00e1ng 10", + "th\u00e1ng 11", + "th\u00e1ng 12" ], "SHORTDAY": [ "CN", @@ -54,12 +54,12 @@ $provide.value("$locale", { "thg 12" ], "fullDate": "EEEE, 'ng\u00e0y' dd MMMM 'n\u0103m' y", - "longDate": "'Ng\u00e0y' dd 'th\u00e1ng' M 'n\u0103m' y", - "medium": "dd-MM-yyyy HH:mm:ss", - "mediumDate": "dd-MM-yyyy", + "longDate": "'Ng\u00e0y' dd 'th\u00e1ng' MM 'n\u0103m' y", + "medium": "dd-MM-y HH:mm:ss", + "mediumDate": "dd-MM-y", "mediumTime": "HH:mm:ss", - "short": "dd/MM/yyyy HH:mm", - "shortDate": "dd/MM/yyyy", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "vi", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_vo-001.js b/public/app/bower_components/angular-i18n/angular-locale_vo-001.js new file mode 100644 index 00000000..2c1e567a --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_vo-001.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "posz.", + "b\u00fcz." + ], + "DAY": [ + "sudel", + "mudel", + "tudel", + "vedel", + "d\u00f6del", + "fridel", + "z\u00e4del" + ], + "MONTH": [ + "janul", + "febul", + "m\u00e4zil", + "prilul", + "mayul", + "yunul", + "yulul", + "gustul", + "setul", + "tobul", + "novul", + "dekul" + ], + "SHORTDAY": [ + "su.", + "mu.", + "tu.", + "ve.", + "d\u00f6.", + "fr.", + "z\u00e4." + ], + "SHORTMONTH": [ + "jan", + "feb", + "m\u00e4z", + "prl", + "may", + "yun", + "yul", + "gst", + "set", + "ton", + "nov", + "dek" + ], + "fullDate": "y MMMMa 'd'. d'id'", + "longDate": "y MMMM d", + "medium": "y MMM. d HH:mm:ss", + "mediumDate": "y MMM. d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "vo-001", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_vo.js b/public/app/bower_components/angular-i18n/angular-locale_vo.js new file mode 100644 index 00000000..16a3d318 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_vo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "posz.", + "b\u00fcz." + ], + "DAY": [ + "sudel", + "mudel", + "tudel", + "vedel", + "d\u00f6del", + "fridel", + "z\u00e4del" + ], + "MONTH": [ + "janul", + "febul", + "m\u00e4zil", + "prilul", + "mayul", + "yunul", + "yulul", + "gustul", + "setul", + "tobul", + "novul", + "dekul" + ], + "SHORTDAY": [ + "su.", + "mu.", + "tu.", + "ve.", + "d\u00f6.", + "fr.", + "z\u00e4." + ], + "SHORTMONTH": [ + "jan", + "feb", + "m\u00e4z", + "prl", + "may", + "yun", + "yul", + "gst", + "set", + "ton", + "nov", + "dek" + ], + "fullDate": "y MMMMa 'd'. d'id'", + "longDate": "y MMMM d", + "medium": "y MMM. d HH:mm:ss", + "mediumDate": "y MMM. d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "$", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "vo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_vun-tz.js b/public/app/bower_components/angular-i18n/angular-locale_vun-tz.js new file mode 100644 index 00000000..ccf28625 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_vun-tz.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "utuko", + "kyiukonyi" + ], + "DAY": [ + "Jumapilyi", + "Jumatatuu", + "Jumanne", + "Jumatanu", + "Alhamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Aprilyi", + "Mei", + "Junyi", + "Julyai", + "Agusti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "vun-tz", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_vun.js b/public/app/bower_components/angular-i18n/angular-locale_vun.js new file mode 100644 index 00000000..9f5b34d4 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_vun.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "utuko", + "kyiukonyi" + ], + "DAY": [ + "Jumapilyi", + "Jumatatuu", + "Jumanne", + "Jumatanu", + "Alhamisi", + "Ijumaa", + "Jumamosi" + ], + "MONTH": [ + "Januari", + "Februari", + "Machi", + "Aprilyi", + "Mei", + "Junyi", + "Julyai", + "Agusti", + "Septemba", + "Oktoba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Jpi", + "Jtt", + "Jnn", + "Jtn", + "Alh", + "Iju", + "Jmo" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mac", + "Apr", + "Mei", + "Jun", + "Jul", + "Ago", + "Sep", + "Okt", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "TSh", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "vun", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_wae-ch.js b/public/app/bower_components/angular-i18n/angular-locale_wae-ch.js new file mode 100644 index 00000000..a074af85 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_wae-ch.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sunntag", + "M\u00e4ntag", + "Zi\u0161tag", + "Mittwu\u010d", + "Fr\u00f3ntag", + "Fritag", + "Sam\u0161tag" + ], + "MONTH": [ + "Jenner", + "Hornig", + "M\u00e4rze", + "Abrille", + "Meije", + "Br\u00e1\u010det", + "Heiwet", + "\u00d6ig\u0161te", + "Herb\u0161tm\u00e1net", + "W\u00edm\u00e1net", + "Winterm\u00e1net", + "Chri\u0161tm\u00e1net" + ], + "SHORTDAY": [ + "Sun", + "M\u00e4n", + "Zi\u0161", + "Mit", + "Fr\u00f3", + "Fri", + "Sam" + ], + "SHORTMONTH": [ + "Jen", + "Hor", + "M\u00e4r", + "Abr", + "Mei", + "Br\u00e1", + "Hei", + "\u00d6ig", + "Her", + "W\u00edm", + "Win", + "Chr" + ], + "fullDate": "EEEE, d. MMMM y", + "longDate": "d. MMMM y", + "medium": "d. MMM y HH:mm:ss", + "mediumDate": "d. MMM y", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CHF", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u2019", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "wae-ch", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_wae.js b/public/app/bower_components/angular-i18n/angular-locale_wae.js new file mode 100644 index 00000000..223de403 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_wae.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Sunntag", + "M\u00e4ntag", + "Zi\u0161tag", + "Mittwu\u010d", + "Fr\u00f3ntag", + "Fritag", + "Sam\u0161tag" + ], + "MONTH": [ + "Jenner", + "Hornig", + "M\u00e4rze", + "Abrille", + "Meije", + "Br\u00e1\u010det", + "Heiwet", + "\u00d6ig\u0161te", + "Herb\u0161tm\u00e1net", + "W\u00edm\u00e1net", + "Winterm\u00e1net", + "Chri\u0161tm\u00e1net" + ], + "SHORTDAY": [ + "Sun", + "M\u00e4n", + "Zi\u0161", + "Mit", + "Fr\u00f3", + "Fri", + "Sam" + ], + "SHORTMONTH": [ + "Jen", + "Hor", + "M\u00e4r", + "Abr", + "Mei", + "Br\u00e1", + "Hei", + "\u00d6ig", + "Her", + "W\u00edm", + "Win", + "Chr" + ], + "fullDate": "EEEE, d. MMMM y", + "longDate": "d. MMMM y", + "medium": "d. MMM y HH:mm:ss", + "mediumDate": "d. MMM y", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CHF", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u2019", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", + "posSuf": "" + } + ] + }, + "id": "wae", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_wal-et.js b/public/app/bower_components/angular-i18n/angular-locale_wal-et.js new file mode 100644 index 00000000..d4090eda --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_wal-et.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u121b\u1208\u12f6", + "\u1243\u121b" + ], + "DAY": [ + "\u12c8\u130b", + "\u1233\u12ed\u1296", + "\u121b\u1246\u1233\u129b", + "\u12a0\u1229\u12cb", + "\u1203\u1219\u1233", + "\u12a0\u122d\u1263", + "\u1244\u122b" + ], + "MONTH": [ + "\u1303\u1295\u12e9\u12c8\u122a", + "\u134c\u1265\u1229\u12c8\u122a", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228\u120d", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235\u1275", + "\u1234\u1355\u1274\u121d\u1260\u122d", + "\u12a6\u12ad\u1270\u12cd\u1260\u122d", + "\u1296\u126c\u121d\u1260\u122d", + "\u12f2\u1234\u121d\u1260\u122d" + ], + "SHORTDAY": [ + "\u12c8\u130b", + "\u1233\u12ed\u1296", + "\u121b\u1246\u1233\u129b", + "\u12a0\u1229\u12cb", + "\u1203\u1219\u1233", + "\u12a0\u122d\u1263", + "\u1244\u122b" + ], + "SHORTMONTH": [ + "\u1303\u1295\u12e9", + "\u134c\u1265\u1229", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235", + "\u1234\u1355\u1274", + "\u12a6\u12ad\u1270", + "\u1296\u126c\u121d", + "\u12f2\u1234\u121d" + ], + "fullDate": "EEEE\u1365 dd MMMM \u130b\u120b\u1233 y G", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Birr", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u2019", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "wal-et", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_wal.js b/public/app/bower_components/angular-i18n/angular-locale_wal.js new file mode 100644 index 00000000..2590615d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_wal.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u121b\u1208\u12f6", + "\u1243\u121b" + ], + "DAY": [ + "\u12c8\u130b", + "\u1233\u12ed\u1296", + "\u121b\u1246\u1233\u129b", + "\u12a0\u1229\u12cb", + "\u1203\u1219\u1233", + "\u12a0\u122d\u1263", + "\u1244\u122b" + ], + "MONTH": [ + "\u1303\u1295\u12e9\u12c8\u122a", + "\u134c\u1265\u1229\u12c8\u122a", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228\u120d", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235\u1275", + "\u1234\u1355\u1274\u121d\u1260\u122d", + "\u12a6\u12ad\u1270\u12cd\u1260\u122d", + "\u1296\u126c\u121d\u1260\u122d", + "\u12f2\u1234\u121d\u1260\u122d" + ], + "SHORTDAY": [ + "\u12c8\u130b", + "\u1233\u12ed\u1296", + "\u121b\u1246\u1233\u129b", + "\u12a0\u1229\u12cb", + "\u1203\u1219\u1233", + "\u12a0\u122d\u1263", + "\u1244\u122b" + ], + "SHORTMONTH": [ + "\u1303\u1295\u12e9", + "\u134c\u1265\u1229", + "\u121b\u122d\u127d", + "\u12a4\u1355\u1228", + "\u121c\u12ed", + "\u1301\u1295", + "\u1301\u120b\u12ed", + "\u12a6\u1308\u1235", + "\u1234\u1355\u1274", + "\u12a6\u12ad\u1270", + "\u1296\u126c\u121d", + "\u12f2\u1234\u121d" + ], + "fullDate": "EEEE\u1365 dd MMMM \u130b\u120b\u1233 y G", + "longDate": "dd MMMM y", + "medium": "dd-MMM-y h:mm:ss a", + "mediumDate": "dd-MMM-y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/yy h:mm a", + "shortDate": "dd/MM/yy", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "Birr", + "DECIMAL_SEP": ".", + "GROUP_SEP": "\u2019", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "wal", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_xh-za.js b/public/app/bower_components/angular-i18n/angular-locale_xh-za.js new file mode 100644 index 00000000..2d89689c --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_xh-za.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Cawe", + "Mvulo", + "Lwesibini", + "Lwesithathu", + "Lwesine", + "Lwesihlanu", + "Mgqibelo" + ], + "MONTH": [ + "Janyuwari", + "Februwari", + "Matshi", + "Epreli", + "Meyi", + "Juni", + "Julayi", + "Agasti", + "Septemba", + "Okthoba", + "Novemba", + "Disemba" + ], + "SHORTDAY": [ + "Caw", + "Mvu", + "Bin", + "Tha", + "Sin", + "Hla", + "Mgq" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mat", + "Epr", + "Mey", + "Jun", + "Jul", + "Aga", + "Sep", + "Okt", + "Nov", + "Dis" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "xh-za", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_xh.js b/public/app/bower_components/angular-i18n/angular-locale_xh.js new file mode 100644 index 00000000..e791c098 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_xh.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "Cawe", + "Mvulo", + "Lwesibini", + "Lwesithathu", + "Lwesine", + "Lwesihlanu", + "Mgqibelo" + ], + "MONTH": [ + "Janyuwari", + "Februwari", + "Matshi", + "Epreli", + "Meyi", + "Juni", + "Julayi", + "Agasti", + "Septemba", + "Okthoba", + "Novemba", + "Disemba" + ], + "SHORTDAY": [ + "Caw", + "Mvu", + "Bin", + "Tha", + "Sin", + "Hla", + "Mgq" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mat", + "Epr", + "Mey", + "Jun", + "Jul", + "Aga", + "Sep", + "Okt", + "Nov", + "Dis" + ], + "fullDate": "y MMMM d, EEEE", + "longDate": "y MMMM d", + "medium": "y MMM d HH:mm:ss", + "mediumDate": "y MMM d", + "mediumTime": "HH:mm:ss", + "short": "y-MM-dd HH:mm", + "shortDate": "y-MM-dd", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "R", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "xh", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_xog-ug.js b/public/app/bower_components/angular-i18n/angular-locale_xog-ug.js new file mode 100644 index 00000000..c79fa8be --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_xog-ug.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Munkyo", + "Eigulo" + ], + "DAY": [ + "Sabiiti", + "Balaza", + "Owokubili", + "Owokusatu", + "Olokuna", + "Olokutaanu", + "Olomukaaga" + ], + "MONTH": [ + "Janwaliyo", + "Febwaliyo", + "Marisi", + "Apuli", + "Maayi", + "Juuni", + "Julaayi", + "Agusito", + "Sebuttemba", + "Okitobba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Sabi", + "Bala", + "Kubi", + "Kusa", + "Kuna", + "Kuta", + "Muka" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mar", + "Apu", + "Maa", + "Juu", + "Jul", + "Agu", + "Seb", + "Oki", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "UGX", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "xog-ug", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_xog.js b/public/app/bower_components/angular-i18n/angular-locale_xog.js new file mode 100644 index 00000000..29884bdd --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_xog.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "Munkyo", + "Eigulo" + ], + "DAY": [ + "Sabiiti", + "Balaza", + "Owokubili", + "Owokusatu", + "Olokuna", + "Olokutaanu", + "Olomukaaga" + ], + "MONTH": [ + "Janwaliyo", + "Febwaliyo", + "Marisi", + "Apuli", + "Maayi", + "Juuni", + "Julaayi", + "Agusito", + "Sebuttemba", + "Okitobba", + "Novemba", + "Desemba" + ], + "SHORTDAY": [ + "Sabi", + "Bala", + "Kubi", + "Kusa", + "Kuna", + "Kuta", + "Muka" + ], + "SHORTMONTH": [ + "Jan", + "Feb", + "Mar", + "Apu", + "Maa", + "Juu", + "Jul", + "Agu", + "Seb", + "Oki", + "Nov", + "Des" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "UGX", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "xog", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_yav-cm.js b/public/app/bower_components/angular-i18n/angular-locale_yav-cm.js new file mode 100644 index 00000000..de9c81a4 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_yav-cm.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "ki\u025bm\u025b\u0301\u025bm", + "kis\u025b\u0301nd\u025b" + ], + "DAY": [ + "s\u0254\u0301ndi\u025b", + "m\u00f3ndie", + "mu\u00e1ny\u00e1\u014bm\u00f3ndie", + "met\u00fakp\u00ed\u00e1p\u025b", + "k\u00fap\u00e9limet\u00fakpiap\u025b", + "fel\u00e9te", + "s\u00e9sel\u00e9" + ], + "MONTH": [ + "pik\u00edt\u00edk\u00edtie, o\u00f3l\u00ed \u00fa kut\u00faan", + "si\u025by\u025b\u0301, o\u00f3li \u00fa k\u00e1nd\u00ed\u025b", + "\u0254ns\u00famb\u0254l, o\u00f3li \u00fa k\u00e1t\u00e1t\u00fa\u025b", + "mesi\u014b, o\u00f3li \u00fa k\u00e9nie", + "ensil, o\u00f3li \u00fa k\u00e1t\u00e1nu\u025b", + "\u0254s\u0254n", + "efute", + "pisuy\u00fa", + "im\u025b\u014b i pu\u0254s", + "im\u025b\u014b i put\u00fak,o\u00f3li \u00fa k\u00e1t\u00ed\u025b", + "makandik\u025b", + "pil\u0254nd\u0254\u0301" + ], + "SHORTDAY": [ + "sd", + "md", + "mw", + "et", + "kl", + "fl", + "ss" + ], + "SHORTMONTH": [ + "o.1", + "o.2", + "o.3", + "o.4", + "o.5", + "o.6", + "o.7", + "o.8", + "o.9", + "o.10", + "o.11", + "o.12" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "yav-cm", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_yav.js b/public/app/bower_components/angular-i18n/angular-locale_yav.js new file mode 100644 index 00000000..00d7e594 --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_yav.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "ki\u025bm\u025b\u0301\u025bm", + "kis\u025b\u0301nd\u025b" + ], + "DAY": [ + "s\u0254\u0301ndi\u025b", + "m\u00f3ndie", + "mu\u00e1ny\u00e1\u014bm\u00f3ndie", + "met\u00fakp\u00ed\u00e1p\u025b", + "k\u00fap\u00e9limet\u00fakpiap\u025b", + "fel\u00e9te", + "s\u00e9sel\u00e9" + ], + "MONTH": [ + "pik\u00edt\u00edk\u00edtie, o\u00f3l\u00ed \u00fa kut\u00faan", + "si\u025by\u025b\u0301, o\u00f3li \u00fa k\u00e1nd\u00ed\u025b", + "\u0254ns\u00famb\u0254l, o\u00f3li \u00fa k\u00e1t\u00e1t\u00fa\u025b", + "mesi\u014b, o\u00f3li \u00fa k\u00e9nie", + "ensil, o\u00f3li \u00fa k\u00e1t\u00e1nu\u025b", + "\u0254s\u0254n", + "efute", + "pisuy\u00fa", + "im\u025b\u014b i pu\u0254s", + "im\u025b\u014b i put\u00fak,o\u00f3li \u00fa k\u00e1t\u00ed\u025b", + "makandik\u025b", + "pil\u0254nd\u0254\u0301" + ], + "SHORTDAY": [ + "sd", + "md", + "mw", + "et", + "kl", + "fl", + "ss" + ], + "SHORTMONTH": [ + "o.1", + "o.2", + "o.3", + "o.4", + "o.5", + "o.6", + "o.7", + "o.8", + "o.9", + "o.10", + "o.11", + "o.12" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "FCFA", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a0\u00a4", + "posPre": "", + "posSuf": "\u00a0\u00a4" + } + ] + }, + "id": "yav", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_yo-bj.js b/public/app/bower_components/angular-i18n/angular-locale_yo-bj.js new file mode 100644 index 00000000..fa1b344a --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_yo-bj.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u00c0\u00e1r\u0254\u0300", + "\u0186\u0300s\u00e1n" + ], + "DAY": [ + "\u0186j\u0254\u0301 \u00c0\u00eck\u00fa", + "\u0186j\u0254\u0301 Aj\u00e9", + "\u0186j\u0254\u0301 \u00ccs\u025b\u0301gun", + "\u0186j\u0254\u0301r\u00fa", + "\u0186j\u0254\u0301b\u0254", + "\u0186j\u0254\u0301 \u0190t\u00ec", + "\u0186j\u0254\u0301 \u00c0b\u00e1m\u025b\u0301ta" + ], + "MONTH": [ + "Osh\u00f9 Sh\u025b\u0301r\u025b\u0301", + "Osh\u00f9 \u00c8r\u00e8l\u00e8", + "Osh\u00f9 \u0190r\u025b\u0300n\u00e0", + "Osh\u00f9 \u00ccgb\u00e9", + "Osh\u00f9 \u0190\u0300bibi", + "Osh\u00f9 \u00d2k\u00fadu", + "Osh\u00f9 Ag\u025bm\u0254", + "Osh\u00f9 \u00d2g\u00fan", + "Osh\u00f9 Owewe", + "Osh\u00f9 \u0186\u0300w\u00e0r\u00e0", + "Osh\u00f9 B\u00e9l\u00fa", + "Osh\u00f9 \u0186\u0300p\u025b\u0300" + ], + "SHORTDAY": [ + "\u00c0\u00eck\u00fa", + "Aj\u00e9", + "\u00ccs\u025b\u0301gun", + "\u0186j\u0254\u0301r\u00fa", + "\u0186j\u0254\u0301b\u0254", + "\u0190t\u00ec", + "\u00c0b\u00e1m\u025b\u0301ta" + ], + "SHORTMONTH": [ + "Sh\u025b\u0301r\u025b\u0301", + "\u00c8r\u00e8l\u00e8", + "\u0190r\u025b\u0300n\u00e0", + "\u00ccgb\u00e9", + "\u0190\u0300bibi", + "\u00d2k\u00fadu", + "Ag\u025bm\u0254", + "\u00d2g\u00fan", + "Owewe", + "\u0186\u0300w\u00e0r\u00e0", + "B\u00e9l\u00fa", + "\u0186\u0300p\u025b\u0300" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "CFA", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "yo-bj", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_yo-ng.js b/public/app/bower_components/angular-i18n/angular-locale_yo-ng.js new file mode 100644 index 00000000..c4253b8d --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_yo-ng.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u00c0\u00e1r\u1ecd\u0300", + "\u1ecc\u0300s\u00e1n" + ], + "DAY": [ + "\u1eccj\u1ecd\u0301 \u00c0\u00eck\u00fa", + "\u1eccj\u1ecd\u0301 Aj\u00e9", + "\u1eccj\u1ecd\u0301 \u00ccs\u1eb9\u0301gun", + "\u1eccj\u1ecd\u0301r\u00fa", + "\u1eccj\u1ecd\u0301b\u1ecd", + "\u1eccj\u1ecd\u0301 \u1eb8t\u00ec", + "\u1eccj\u1ecd\u0301 \u00c0b\u00e1m\u1eb9\u0301ta" + ], + "MONTH": [ + "O\u1e63\u00f9 \u1e62\u1eb9\u0301r\u1eb9\u0301", + "O\u1e63\u00f9 \u00c8r\u00e8l\u00e8", + "O\u1e63\u00f9 \u1eb8r\u1eb9\u0300n\u00e0", + "O\u1e63\u00f9 \u00ccgb\u00e9", + "O\u1e63\u00f9 \u1eb8\u0300bibi", + "O\u1e63\u00f9 \u00d2k\u00fadu", + "O\u1e63\u00f9 Ag\u1eb9m\u1ecd", + "O\u1e63\u00f9 \u00d2g\u00fan", + "O\u1e63\u00f9 Owewe", + "O\u1e63\u00f9 \u1ecc\u0300w\u00e0r\u00e0", + "O\u1e63\u00f9 B\u00e9l\u00fa", + "O\u1e63\u00f9 \u1ecc\u0300p\u1eb9\u0300" + ], + "SHORTDAY": [ + "\u00c0\u00eck\u00fa", + "Aj\u00e9", + "\u00ccs\u1eb9\u0301gun", + "\u1eccj\u1ecd\u0301r\u00fa", + "\u1eccj\u1ecd\u0301b\u1ecd", + "\u1eb8t\u00ec", + "\u00c0b\u00e1m\u1eb9\u0301ta" + ], + "SHORTMONTH": [ + "\u1e62\u1eb9\u0301r\u1eb9\u0301", + "\u00c8r\u00e8l\u00e8", + "\u1eb8r\u1eb9\u0300n\u00e0", + "\u00ccgb\u00e9", + "\u1eb8\u0300bibi", + "\u00d2k\u00fadu", + "Ag\u1eb9m\u1ecd", + "\u00d2g\u00fan", + "Owewe", + "\u1ecc\u0300w\u00e0r\u00e0", + "B\u00e9l\u00fa", + "\u1ecc\u0300p\u1eb9\u0300" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20a6", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "yo-ng", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_yo.js b/public/app/bower_components/angular-i18n/angular-locale_yo.js new file mode 100644 index 00000000..dea186ae --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_yo.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u00c0\u00e1r\u1ecd\u0300", + "\u1ecc\u0300s\u00e1n" + ], + "DAY": [ + "\u1eccj\u1ecd\u0301 \u00c0\u00eck\u00fa", + "\u1eccj\u1ecd\u0301 Aj\u00e9", + "\u1eccj\u1ecd\u0301 \u00ccs\u1eb9\u0301gun", + "\u1eccj\u1ecd\u0301r\u00fa", + "\u1eccj\u1ecd\u0301b\u1ecd", + "\u1eccj\u1ecd\u0301 \u1eb8t\u00ec", + "\u1eccj\u1ecd\u0301 \u00c0b\u00e1m\u1eb9\u0301ta" + ], + "MONTH": [ + "O\u1e63\u00f9 \u1e62\u1eb9\u0301r\u1eb9\u0301", + "O\u1e63\u00f9 \u00c8r\u00e8l\u00e8", + "O\u1e63\u00f9 \u1eb8r\u1eb9\u0300n\u00e0", + "O\u1e63\u00f9 \u00ccgb\u00e9", + "O\u1e63\u00f9 \u1eb8\u0300bibi", + "O\u1e63\u00f9 \u00d2k\u00fadu", + "O\u1e63\u00f9 Ag\u1eb9m\u1ecd", + "O\u1e63\u00f9 \u00d2g\u00fan", + "O\u1e63\u00f9 Owewe", + "O\u1e63\u00f9 \u1ecc\u0300w\u00e0r\u00e0", + "O\u1e63\u00f9 B\u00e9l\u00fa", + "O\u1e63\u00f9 \u1ecc\u0300p\u1eb9\u0300" + ], + "SHORTDAY": [ + "\u00c0\u00eck\u00fa", + "Aj\u00e9", + "\u00ccs\u1eb9\u0301gun", + "\u1eccj\u1ecd\u0301r\u00fa", + "\u1eccj\u1ecd\u0301b\u1ecd", + "\u1eb8t\u00ec", + "\u00c0b\u00e1m\u1eb9\u0301ta" + ], + "SHORTMONTH": [ + "\u1e62\u1eb9\u0301r\u1eb9\u0301", + "\u00c8r\u00e8l\u00e8", + "\u1eb8r\u1eb9\u0300n\u00e0", + "\u00ccgb\u00e9", + "\u1eb8\u0300bibi", + "\u00d2k\u00fadu", + "Ag\u1eb9m\u1ecd", + "\u00d2g\u00fan", + "Owewe", + "\u1ecc\u0300w\u00e0r\u00e0", + "B\u00e9l\u00fa", + "\u1ecc\u0300p\u1eb9\u0300" + ], + "fullDate": "EEEE, d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y h:mm:ss a", + "mediumDate": "d MMM y", + "mediumTime": "h:mm:ss a", + "short": "dd/MM/y h:mm a", + "shortDate": "dd/MM/y", + "shortTime": "h:mm a" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "\u20a6", + "DECIMAL_SEP": ".", + "GROUP_SEP": ",", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "\u00a4-", + "negSuf": "", + "posPre": "\u00a4", + "posSuf": "" + } + ] + }, + "id": "yo", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zgh-ma.js b/public/app/bower_components/angular-i18n/angular-locale_zgh-ma.js new file mode 100644 index 00000000..4d9c95ea --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_zgh-ma.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u2d5c\u2d49\u2d3c\u2d30\u2d61\u2d5c", + "\u2d5c\u2d30\u2d37\u2d33\u2d33\u2d6f\u2d30\u2d5c" + ], + "DAY": [ + "\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59", + "\u2d30\u2d62\u2d4f\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59", + "\u2d30\u2d3d\u2d55\u2d30\u2d59", + "\u2d30\u2d3d\u2d61\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59" + ], + "MONTH": [ + "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54", + "\u2d31\u2d55\u2d30\u2d62\u2d55", + "\u2d4e\u2d30\u2d55\u2d5a", + "\u2d49\u2d31\u2d54\u2d49\u2d54", + "\u2d4e\u2d30\u2d62\u2d62\u2d53", + "\u2d62\u2d53\u2d4f\u2d62\u2d53", + "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63", + "\u2d56\u2d53\u2d5b\u2d5c", + "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54", + "\u2d3d\u2d5c\u2d53\u2d31\u2d54", + "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54", + "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54" + ], + "SHORTDAY": [ + "\u2d30\u2d59\u2d30", + "\u2d30\u2d62\u2d4f", + "\u2d30\u2d59\u2d49", + "\u2d30\u2d3d\u2d55", + "\u2d30\u2d3d\u2d61", + "\u2d30\u2d59\u2d49\u2d4e", + "\u2d30\u2d59\u2d49\u2d39" + ], + "SHORTMONTH": [ + "\u2d49\u2d4f\u2d4f", + "\u2d31\u2d55\u2d30", + "\u2d4e\u2d30\u2d55", + "\u2d49\u2d31\u2d54", + "\u2d4e\u2d30\u2d62", + "\u2d62\u2d53\u2d4f", + "\u2d62\u2d53\u2d4d", + "\u2d56\u2d53\u2d5b", + "\u2d5b\u2d53\u2d5c", + "\u2d3d\u2d5c\u2d53", + "\u2d4f\u2d53\u2d61", + "\u2d37\u2d53\u2d4a" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "dh", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "zgh-ma", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zgh.js b/public/app/bower_components/angular-i18n/angular-locale_zgh.js new file mode 100644 index 00000000..0fcf7ddb --- /dev/null +++ b/public/app/bower_components/angular-i18n/angular-locale_zgh.js @@ -0,0 +1,115 @@ +'use strict'; +angular.module("ngLocale", [], ["$provide", function($provide) { +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; +function getDecimals(n) { + n = n + ''; + var i = n.indexOf('.'); + return (i == -1) ? 0 : n.length - i - 1; +} + +function getVF(n, opt_precision) { + var v = opt_precision; + + if (undefined === v) { + v = Math.min(getDecimals(n), 3); + } + + var base = Math.pow(10, v); + var f = ((n * base) | 0) % base; + return {v: v, f: f}; +} + +$provide.value("$locale", { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u2d5c\u2d49\u2d3c\u2d30\u2d61\u2d5c", + "\u2d5c\u2d30\u2d37\u2d33\u2d33\u2d6f\u2d30\u2d5c" + ], + "DAY": [ + "\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59", + "\u2d30\u2d62\u2d4f\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59", + "\u2d30\u2d3d\u2d55\u2d30\u2d59", + "\u2d30\u2d3d\u2d61\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59", + "\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59" + ], + "MONTH": [ + "\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54", + "\u2d31\u2d55\u2d30\u2d62\u2d55", + "\u2d4e\u2d30\u2d55\u2d5a", + "\u2d49\u2d31\u2d54\u2d49\u2d54", + "\u2d4e\u2d30\u2d62\u2d62\u2d53", + "\u2d62\u2d53\u2d4f\u2d62\u2d53", + "\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63", + "\u2d56\u2d53\u2d5b\u2d5c", + "\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54", + "\u2d3d\u2d5c\u2d53\u2d31\u2d54", + "\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54", + "\u2d37\u2d53\u2d4a\u2d30\u2d4f\u2d31\u2d49\u2d54" + ], + "SHORTDAY": [ + "\u2d30\u2d59\u2d30", + "\u2d30\u2d62\u2d4f", + "\u2d30\u2d59\u2d49", + "\u2d30\u2d3d\u2d55", + "\u2d30\u2d3d\u2d61", + "\u2d30\u2d59\u2d49\u2d4e", + "\u2d30\u2d59\u2d49\u2d39" + ], + "SHORTMONTH": [ + "\u2d49\u2d4f\u2d4f", + "\u2d31\u2d55\u2d30", + "\u2d4e\u2d30\u2d55", + "\u2d49\u2d31\u2d54", + "\u2d4e\u2d30\u2d62", + "\u2d62\u2d53\u2d4f", + "\u2d62\u2d53\u2d4d", + "\u2d56\u2d53\u2d5b", + "\u2d5b\u2d53\u2d5c", + "\u2d3d\u2d5c\u2d53", + "\u2d4f\u2d53\u2d61", + "\u2d37\u2d53\u2d4a" + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM, y HH:mm:ss", + "mediumDate": "d MMM, y", + "mediumTime": "HH:mm:ss", + "short": "d/M/y HH:mm", + "shortDate": "d/M/y", + "shortTime": "HH:mm" + }, + "NUMBER_FORMATS": { + "CURRENCY_SYM": "dh", + "DECIMAL_SEP": ",", + "GROUP_SEP": "\u00a0", + "PATTERNS": [ + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 3, + "minFrac": 0, + "minInt": 1, + "negPre": "-", + "negSuf": "", + "posPre": "", + "posSuf": "" + }, + { + "gSize": 3, + "lgSize": 3, + "maxFrac": 2, + "minFrac": 2, + "minInt": 1, + "negPre": "-", + "negSuf": "\u00a4", + "posPre": "", + "posSuf": "\u00a4" + } + ] + }, + "id": "zgh", + "pluralCat": function (n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} +}); +}]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-cn.js b/public/app/bower_components/angular-i18n/angular-locale_zh-cn.js index 787d1fd2..adf47deb 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-cn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-cn.js @@ -17,18 +17,18 @@ $provide.value("$locale", { "\u661f\u671f\u516d" ], "MONTH": [ - "1\u6708", - "2\u6708", - "3\u6708", - "4\u6708", - "5\u6708", - "6\u6708", - "7\u6708", - "8\u6708", - "9\u6708", - "10\u6708", - "11\u6708", - "12\u6708" + "\u4e00\u6708", + "\u4e8c\u6708", + "\u4e09\u6708", + "\u56db\u6708", + "\u4e94\u6708", + "\u516d\u6708", + "\u4e03\u6708", + "\u516b\u6708", + "\u4e5d\u6708", + "\u5341\u6708", + "\u5341\u4e00\u6708", + "\u5341\u4e8c\u6708" ], "SHORTDAY": [ "\u5468\u65e5", @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "yyyy-M-d ah:mm:ss", - "mediumDate": "yyyy-M-d", + "medium": "y\u5e74M\u6708d\u65e5 ah:mm:ss", + "mediumDate": "y\u5e74M\u6708d\u65e5", "mediumTime": "ah:mm:ss", - "short": "yy-M-d ah:mm", - "shortDate": "yy-M-d", + "short": "yy/M/d ah:mm", + "shortDate": "yy/M/d", "shortTime": "ah:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "zh-cn", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-hans-cn.js b/public/app/bower_components/angular-i18n/angular-locale_zh-hans-cn.js index b439a080..62ab7500 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-hans-cn.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-hans-cn.js @@ -17,18 +17,18 @@ $provide.value("$locale", { "\u661f\u671f\u516d" ], "MONTH": [ - "1\u6708", - "2\u6708", - "3\u6708", - "4\u6708", - "5\u6708", - "6\u6708", - "7\u6708", - "8\u6708", - "9\u6708", - "10\u6708", - "11\u6708", - "12\u6708" + "\u4e00\u6708", + "\u4e8c\u6708", + "\u4e09\u6708", + "\u56db\u6708", + "\u4e94\u6708", + "\u516d\u6708", + "\u4e03\u6708", + "\u516b\u6708", + "\u4e5d\u6708", + "\u5341\u6708", + "\u5341\u4e00\u6708", + "\u5341\u4e8c\u6708" ], "SHORTDAY": [ "\u5468\u65e5", @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "yyyy-M-d ah:mm:ss", - "mediumDate": "yyyy-M-d", + "medium": "y\u5e74M\u6708d\u65e5 ah:mm:ss", + "mediumDate": "y\u5e74M\u6708d\u65e5", "mediumTime": "ah:mm:ss", - "short": "yy-M-d ah:mm", - "shortDate": "yy-M-d", + "short": "yy/M/d ah:mm", + "shortDate": "yy/M/d", "shortTime": "ah:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "zh-hans-cn", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-hans-hk.js b/public/app/bower_components/angular-i18n/angular-locale_zh-hans-hk.js index 079fddea..d51f6de5 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-hans-hk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-hans-hk.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "ah:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a5", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "zh-hans-hk", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-hans-mo.js b/public/app/bower_components/angular-i18n/angular-locale_zh-hans-mo.js index 4e93003d..05a9cc9e 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-hans-mo.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-hans-mo.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "ah:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a5", + "CURRENCY_SYM": "MOP", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "zh-hans-mo", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-hans-sg.js b/public/app/bower_components/angular-i18n/angular-locale_zh-hans-sg.js index 2c2ea98b..a641048a 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-hans-sg.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-hans-sg.js @@ -63,14 +63,13 @@ $provide.value("$locale", { "shortTime": "ahh:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a5", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "zh-hans-sg", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-hans.js b/public/app/bower_components/angular-i18n/angular-locale_zh-hans.js index 5c76da0e..27dae3d6 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-hans.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-hans.js @@ -17,18 +17,18 @@ $provide.value("$locale", { "\u661f\u671f\u516d" ], "MONTH": [ - "1\u6708", - "2\u6708", - "3\u6708", - "4\u6708", - "5\u6708", - "6\u6708", - "7\u6708", - "8\u6708", - "9\u6708", - "10\u6708", - "11\u6708", - "12\u6708" + "\u4e00\u6708", + "\u4e8c\u6708", + "\u4e09\u6708", + "\u56db\u6708", + "\u4e94\u6708", + "\u516d\u6708", + "\u4e03\u6708", + "\u516b\u6708", + "\u4e5d\u6708", + "\u5341\u6708", + "\u5341\u4e00\u6708", + "\u5341\u4e8c\u6708" ], "SHORTDAY": [ "\u5468\u65e5", @@ -55,22 +55,21 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "yyyy-M-d ah:mm:ss", - "mediumDate": "yyyy-M-d", + "medium": "y\u5e74M\u6708d\u65e5 ah:mm:ss", + "mediumDate": "y\u5e74M\u6708d\u65e5", "mediumTime": "ah:mm:ss", - "short": "yy-M-d ah:mm", - "shortDate": "yy-M-d", + "short": "yy/M/d ah:mm", + "shortDate": "yy/M/d", "shortTime": "ah:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a5", + "CURRENCY_SYM": "\u20ac", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "zh-hans", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-hant-hk.js b/public/app/bower_components/angular-i18n/angular-locale_zh-hant-hk.js index 822a17ba..e38d0182 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-hant-hk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-hant-hk.js @@ -55,22 +55,21 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "y\u5e74M\u6708d\u65e5 ahh:mm:ss", + "medium": "y\u5e74M\u6708d\u65e5 ah:mm:ss", "mediumDate": "y\u5e74M\u6708d\u65e5", - "mediumTime": "ahh:mm:ss", - "short": "yy\u5e74M\u6708d\u65e5 ah:mm", - "shortDate": "yy\u5e74M\u6708d\u65e5", + "mediumTime": "ah:mm:ss", + "short": "d/M/yy ah:mm", + "shortDate": "d/M/yy", "shortTime": "ah:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a5", + "CURRENCY_SYM": "$", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "zh-hant-hk", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-hant-mo.js b/public/app/bower_components/angular-i18n/angular-locale_zh-hant-mo.js index c23d3bc4..a13decad 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-hant-mo.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-hant-mo.js @@ -55,22 +55,21 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74MM\u6708dd\u65e5EEEE", "longDate": "y\u5e74MM\u6708dd\u65e5", - "medium": "y\u5e74M\u6708d\u65e5 ahh:mm:ss", + "medium": "y\u5e74M\u6708d\u65e5 ah:mm:ss", "mediumDate": "y\u5e74M\u6708d\u65e5", - "mediumTime": "ahh:mm:ss", + "mediumTime": "ah:mm:ss", "short": "yy\u5e74M\u6708d\u65e5 ah:mm", "shortDate": "yy\u5e74M\u6708d\u65e5", "shortTime": "ah:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a5", + "CURRENCY_SYM": "MOP", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "zh-hant-mo", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-hant-tw.js b/public/app/bower_components/angular-i18n/angular-locale_zh-hant-tw.js index d242f7f1..bf62c4af 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-hant-tw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-hant-tw.js @@ -55,22 +55,21 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "yyyy/M/d ah:mm:ss", - "mediumDate": "yyyy/M/d", + "medium": "y\u5e74M\u6708d\u65e5 ah:mm:ss", + "mediumDate": "y\u5e74M\u6708d\u65e5", "mediumTime": "ah:mm:ss", "short": "y/M/d ah:mm", "shortDate": "y/M/d", "shortTime": "ah:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a5", + "CURRENCY_SYM": "NT$", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "zh-hant-tw", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-hant.js b/public/app/bower_components/angular-i18n/angular-locale_zh-hant.js index f721f684..8d4b79fb 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-hant.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-hant.js @@ -55,22 +55,21 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "yyyy/M/d ah:mm:ss", - "mediumDate": "yyyy/M/d", + "medium": "y\u5e74M\u6708d\u65e5 ah:mm:ss", + "mediumDate": "y\u5e74M\u6708d\u65e5", "mediumTime": "ah:mm:ss", "short": "y/M/d ah:mm", "shortDate": "y/M/d", "shortTime": "ah:mm" }, "NUMBER_FORMATS": { - "CURRENCY_SYM": "\u00a5", + "CURRENCY_SYM": "NT$", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "zh-hant", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-hk.js b/public/app/bower_components/angular-i18n/angular-locale_zh-hk.js index 0a471985..03d314d7 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-hk.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-hk.js @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "y\u5e74M\u6708d\u65e5 ahh:mm:ss", + "medium": "y\u5e74M\u6708d\u65e5 ah:mm:ss", "mediumDate": "y\u5e74M\u6708d\u65e5", - "mediumTime": "ahh:mm:ss", - "short": "yy\u5e74M\u6708d\u65e5 ah:mm", - "shortDate": "yy\u5e74M\u6708d\u65e5", + "mediumTime": "ah:mm:ss", + "short": "d/M/yy ah:mm", + "shortDate": "d/M/yy", "shortTime": "ah:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "zh-hk", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh-tw.js b/public/app/bower_components/angular-i18n/angular-locale_zh-tw.js index 8989021f..0e535eef 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh-tw.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh-tw.js @@ -55,8 +55,8 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "yyyy/M/d ah:mm:ss", - "mediumDate": "yyyy/M/d", + "medium": "y\u5e74M\u6708d\u65e5 ah:mm:ss", + "mediumDate": "y\u5e74M\u6708d\u65e5", "mediumTime": "ah:mm:ss", "short": "y/M/d ah:mm", "shortDate": "y/M/d", @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,7 +81,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, @@ -94,6 +92,6 @@ $provide.value("$locale", { ] }, "id": "zh-tw", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zh.js b/public/app/bower_components/angular-i18n/angular-locale_zh.js index d02bfa32..f283354b 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zh.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zh.js @@ -17,18 +17,18 @@ $provide.value("$locale", { "\u661f\u671f\u516d" ], "MONTH": [ - "1\u6708", - "2\u6708", - "3\u6708", - "4\u6708", - "5\u6708", - "6\u6708", - "7\u6708", - "8\u6708", - "9\u6708", - "10\u6708", - "11\u6708", - "12\u6708" + "\u4e00\u6708", + "\u4e8c\u6708", + "\u4e09\u6708", + "\u56db\u6708", + "\u4e94\u6708", + "\u516d\u6708", + "\u4e03\u6708", + "\u516b\u6708", + "\u4e5d\u6708", + "\u5341\u6708", + "\u5341\u4e00\u6708", + "\u5341\u4e8c\u6708" ], "SHORTDAY": [ "\u5468\u65e5", @@ -55,11 +55,11 @@ $provide.value("$locale", { ], "fullDate": "y\u5e74M\u6708d\u65e5EEEE", "longDate": "y\u5e74M\u6708d\u65e5", - "medium": "yyyy-M-d ah:mm:ss", - "mediumDate": "yyyy-M-d", + "medium": "y\u5e74M\u6708d\u65e5 ah:mm:ss", + "mediumDate": "y\u5e74M\u6708d\u65e5", "mediumTime": "ah:mm:ss", - "short": "yy-M-d ah:mm", - "shortDate": "yy-M-d", + "short": "yy/M/d ah:mm", + "shortDate": "yy/M/d", "shortTime": "ah:mm" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", - "posPre": "\u00a4", + "negPre": "\u00a4\u00a0-", + "negSuf": "", + "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "zh", - "pluralCat": function (n) { return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zu-za.js b/public/app/bower_components/angular-i18n/angular-locale_zu-za.js index 4c6cda6c..127ab760 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zu-za.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zu-za.js @@ -4,15 +4,15 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "AM", - "PM" + "Ekuseni", + "Ntambama" ], "DAY": [ "Sonto", "Msombuluko", "Lwesibili", "Lwesithathu", - "uLwesine", + "Lwesine", "Lwesihlanu", "Mgqibelo" ], @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y h:mm:ss a", "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", - "short": "yyyy-MM-dd h:mm a", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd h:mm a", + "shortDate": "y-MM-dd", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "zu-za", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/angular-locale_zu.js b/public/app/bower_components/angular-i18n/angular-locale_zu.js index fcadc8f7..21a02fe8 100644 --- a/public/app/bower_components/angular-i18n/angular-locale_zu.js +++ b/public/app/bower_components/angular-i18n/angular-locale_zu.js @@ -4,15 +4,15 @@ var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: " $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ - "AM", - "PM" + "Ekuseni", + "Ntambama" ], "DAY": [ "Sonto", "Msombuluko", "Lwesibili", "Lwesithathu", - "uLwesine", + "Lwesine", "Lwesihlanu", "Mgqibelo" ], @@ -58,8 +58,8 @@ $provide.value("$locale", { "medium": "d MMM y h:mm:ss a", "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", - "short": "yyyy-MM-dd h:mm a", - "shortDate": "yyyy-MM-dd", + "short": "y-MM-dd h:mm a", + "shortDate": "y-MM-dd", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { @@ -70,7 +70,6 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 3, "minFrac": 0, "minInt": 1, @@ -82,18 +81,17 @@ $provide.value("$locale", { { "gSize": 3, "lgSize": 3, - "macFrac": 0, "maxFrac": 2, "minFrac": 2, "minInt": 1, - "negPre": "(\u00a4", - "negSuf": ")", + "negPre": "\u00a4-", + "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "zu", - "pluralCat": function (n) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} + "pluralCat": function (n, opt_precision) { var i = n | 0; if (i == 0 || n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); \ No newline at end of file diff --git a/public/app/bower_components/angular-i18n/bower.json b/public/app/bower_components/angular-i18n/bower.json index 9e4e0913..6a73a11f 100644 --- a/public/app/bower_components/angular-i18n/bower.json +++ b/public/app/bower_components/angular-i18n/bower.json @@ -1,6 +1,6 @@ { "name": "angular-i18n", - "version": "1.2.21", + "version": "1.2.25", "ignore": [ "**/.*", "node_modules", diff --git a/public/app/bower_components/angular-loader/.bower.json b/public/app/bower_components/angular-loader/.bower.json index 5875eb79..80f30de4 100644 --- a/public/app/bower_components/angular-loader/.bower.json +++ b/public/app/bower_components/angular-loader/.bower.json @@ -1,16 +1,16 @@ { "name": "angular-loader", - "version": "1.2.21", + "version": "1.2.25", "main": "./angular-loader.js", "dependencies": { - "angular": "1.2.21" + "angular": "1.2.25" }, "homepage": "https://github.com/angular/bower-angular-loader", - "_release": "1.2.21", + "_release": "1.2.25", "_resolution": { "type": "version", - "tag": "v1.2.21", - "commit": "ba081c01d73708e55cbc036b139b57b9332963c0" + "tag": "v1.2.25", + "commit": "f6b13e090ef9972eaade7cdee9a73e854f4bf1c0" }, "_source": "git://github.com/angular/bower-angular-loader.git", "_target": "*", diff --git a/public/app/bower_components/angular-loader/angular-loader.js b/public/app/bower_components/angular-loader/angular-loader.js index 67206501..0380065c 100644 --- a/public/app/bower_components/angular-loader/angular-loader.js +++ b/public/app/bower_components/angular-loader/angular-loader.js @@ -1,5 +1,5 @@ /** - * @license AngularJS v1.2.21 + * @license AngularJS v1.2.25 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ @@ -69,7 +69,7 @@ function minErr(module) { return match; }); - message = message + '\nhttp://errors.angularjs.org/1.2.21/' + + message = message + '\nhttp://errors.angularjs.org/1.2.25/' + (module ? module + '/' : '') + code; for (i = 2; i < arguments.length; i++) { message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' + @@ -194,7 +194,7 @@ function setupModuleLoader(window) { * @ngdoc property * @name angular.Module#requires * @module ng - * @returns {Array.} List of module names which must be loaded before this module. + * * @description * Holds the list of modules which the injector will load before the current module is * loaded. @@ -205,8 +205,9 @@ function setupModuleLoader(window) { * @ngdoc property * @name angular.Module#name * @module ng - * @returns {string} Name of the module. + * * @description + * Name of the module. */ name: name, diff --git a/public/app/bower_components/angular-loader/angular-loader.min.js b/public/app/bower_components/angular-loader/angular-loader.min.js index 8b0fbc57..0d9b8e15 100644 --- a/public/app/bower_components/angular-loader/angular-loader.min.js +++ b/public/app/bower_components/angular-loader/angular-loader.min.js @@ -1,9 +1,9 @@ /* - AngularJS v1.2.21 + AngularJS v1.2.25 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ -(function(){'use strict';function d(a){return function(){var c=arguments[0],b,c="["+(a?a+":":"")+c+"] http://errors.angularjs.org/1.2.21/"+(a?a+"/":"")+c;for(b=1;b
    '), + loadingBarContainer = angular.element(this.loadingBarTemplate), loadingBar = loadingBarContainer.find('div').eq(0), spinner = angular.element(this.spinnerTemplate); @@ -187,7 +184,11 @@ angular.module('cfp.loadingBar', []) * Inserts the loading bar element into the dom, and sets it to 2% */ function _start() { - var $parent = $document.find($parentSelector); + if (!$animate) { + $animate = $injector.get('$animate'); + } + + var $parent = $document.find($parentSelector).eq(0); $timeout.cancel(completeTimeout); // do not continually broadcast the started event: @@ -270,7 +271,16 @@ angular.module('cfp.loadingBar', []) return status; } + function _completeAnimation() { + status = 0; + started = false; + } + function _complete() { + if (!$animate) { + $animate = $injector.get('$animate'); + } + $rootScope.$broadcast('cfpLoadingBar:completed'); _set(1); @@ -278,10 +288,10 @@ angular.module('cfp.loadingBar', []) // Attempt to aggregate any start/complete calls within 500ms: completeTimeout = $timeout(function() { - $animate.leave(loadingBarContainer, function() { - status = 0; - started = false; - }); + var promise = $animate.leave(loadingBarContainer, _completeAnimation); + if (promise && promise.then) { + promise.then(_completeAnimation); + } $animate.leave(spinner); }, 500); } diff --git a/public/app/bower_components/angular-loading-bar/build/loading-bar.min.css b/public/app/bower_components/angular-loading-bar/build/loading-bar.min.css index 6e264107..c2cc750b 100644 --- a/public/app/bower_components/angular-loading-bar/build/loading-bar.min.css +++ b/public/app/bower_components/angular-loading-bar/build/loading-bar.min.css @@ -1,5 +1,5 @@ /*! - * angular-loading-bar v0.5.0 + * angular-loading-bar v0.6.0 * https://chieffancypants.github.io/angular-loading-bar * Copyright (c) 2014 Wes Cruver * License: MIT diff --git a/public/app/bower_components/angular-loading-bar/build/loading-bar.min.js b/public/app/bower_components/angular-loading-bar/build/loading-bar.min.js index ede817a6..3961678c 100644 --- a/public/app/bower_components/angular-loading-bar/build/loading-bar.min.js +++ b/public/app/bower_components/angular-loading-bar/build/loading-bar.min.js @@ -1,7 +1,7 @@ /*! - * angular-loading-bar v0.5.0 + * angular-loading-bar v0.6.0 * https://chieffancypants.github.io/angular-loading-bar * Copyright (c) 2014 Wes Cruver * License: MIT */ -!function(){"use strict";angular.module("angular-loading-bar",["cfp.loadingBarInterceptor"]),angular.module("chieffancypants.loadingBar",["cfp.loadingBarInterceptor"]),angular.module("cfp.loadingBarInterceptor",["cfp.loadingBar"]).config(["$httpProvider",function(a){var b=["$q","$cacheFactory","$timeout","$rootScope","cfpLoadingBar",function(b,c,d,e,f){function g(){d.cancel(i),f.complete(),k=0,j=0}function h(b){var d,e=a.defaults;if("GET"!==b.method||b.cache===!1)return b.cached=!1,!1;d=b.cache===!0&&void 0===e.cache?c.get("$http"):void 0!==e.cache?e.cache:b.cache;var f=void 0!==d?void 0!==d.get(b.url):!1;return void 0!==b.cached&&f!==b.cached?b.cached:(b.cached=f,f)}var i,j=0,k=0,l=f.latencyThreshold;return{request:function(a){return a.ignoreLoadingBar||h(a)||(e.$broadcast("cfpLoadingBar:loading",{url:a.url}),0===j&&(i=d(function(){f.start()},l)),j++,f.set(k/j)),a},response:function(a){return a.config.ignoreLoadingBar||h(a.config)||(k++,e.$broadcast("cfpLoadingBar:loaded",{url:a.config.url}),k>=j?g():f.set(k/j)),a},responseError:function(a){return a.config.ignoreLoadingBar||h(a.config)||(k++,e.$broadcast("cfpLoadingBar:loaded",{url:a.config.url}),k>=j?g():f.set(k/j)),b.reject(a)}}}];a.interceptors.push(b)}]),angular.module("cfp.loadingBar",[]).provider("cfpLoadingBar",function(){this.includeSpinner=!0,this.includeBar=!0,this.latencyThreshold=100,this.startSize=.02,this.parentSelector="body",this.spinnerTemplate='
    ',this.$get=["$document","$timeout","$animate","$rootScope",function(a,b,c,d){function e(){var e=a.find(l);b.cancel(k),p||(d.$broadcast("cfpLoadingBar:started"),p=!0,s&&c.enter(m,e),r&&c.enter(o,e),f(t))}function f(a){if(p){var c=100*a+"%";n.css("width",c),q=a,b.cancel(j),j=b(function(){g()},250)}}function g(){if(!(h()>=1)){var a=0,b=h();a=b>=0&&.25>b?(3*Math.random()+3)/100:b>=.25&&.65>b?3*Math.random()/100:b>=.65&&.9>b?2*Math.random()/100:b>=.9&&.99>b?.005:0;var c=h()+a;f(c)}}function h(){return q}function i(){d.$broadcast("cfpLoadingBar:completed"),f(1),b.cancel(k),k=b(function(){c.leave(m,function(){q=0,p=!1}),c.leave(o)},500)}var j,k,l=this.parentSelector,m=angular.element('
    '),n=m.find("div").eq(0),o=angular.element(this.spinnerTemplate),p=!1,q=0,r=this.includeSpinner,s=this.includeBar,t=this.startSize;return{start:e,set:f,status:h,inc:g,complete:i,includeSpinner:this.includeSpinner,latencyThreshold:this.latencyThreshold,parentSelector:this.parentSelector,startSize:this.startSize}}]})}(); \ No newline at end of file +!function(){"use strict";angular.module("angular-loading-bar",["cfp.loadingBarInterceptor"]),angular.module("chieffancypants.loadingBar",["cfp.loadingBarInterceptor"]),angular.module("cfp.loadingBarInterceptor",["cfp.loadingBar"]).config(["$httpProvider",function(a){var b=["$q","$cacheFactory","$timeout","$rootScope","cfpLoadingBar",function(b,c,d,e,f){function g(){d.cancel(i),f.complete(),k=0,j=0}function h(b){var d,e=c.get("$http"),f=a.defaults;!b.cache&&!f.cache||b.cache===!1||"GET"!==b.method&&"JSONP"!==b.method||(d=angular.isObject(b.cache)?b.cache:angular.isObject(f.cache)?f.cache:e);var g=void 0!==d?void 0!==d.get(b.url):!1;return void 0!==b.cached&&g!==b.cached?b.cached:(b.cached=g,g)}var i,j=0,k=0,l=f.latencyThreshold;return{request:function(a){return a.ignoreLoadingBar||h(a)||(e.$broadcast("cfpLoadingBar:loading",{url:a.url}),0===j&&(i=d(function(){f.start()},l)),j++,f.set(k/j)),a},response:function(a){return a.config.ignoreLoadingBar||h(a.config)||(k++,e.$broadcast("cfpLoadingBar:loaded",{url:a.config.url}),k>=j?g():f.set(k/j)),a},responseError:function(a){return a.config.ignoreLoadingBar||h(a.config)||(k++,e.$broadcast("cfpLoadingBar:loaded",{url:a.config.url}),k>=j?g():f.set(k/j)),b.reject(a)}}}];a.interceptors.push(b)}]),angular.module("cfp.loadingBar",[]).provider("cfpLoadingBar",function(){this.includeSpinner=!0,this.includeBar=!0,this.latencyThreshold=100,this.startSize=.02,this.parentSelector="body",this.spinnerTemplate='
    ',this.loadingBarTemplate='
    ',this.$get=["$injector","$document","$timeout","$rootScope",function(a,b,c,d){function e(){k||(k=a.get("$animate"));var e=b.find(n).eq(0);c.cancel(m),r||(d.$broadcast("cfpLoadingBar:started"),r=!0,u&&k.enter(o,e),t&&k.enter(q,e),f(v))}function f(a){if(r){var b=100*a+"%";p.css("width",b),s=a,c.cancel(l),l=c(function(){g()},250)}}function g(){if(!(h()>=1)){var a=0,b=h();a=b>=0&&.25>b?(3*Math.random()+3)/100:b>=.25&&.65>b?3*Math.random()/100:b>=.65&&.9>b?2*Math.random()/100:b>=.9&&.99>b?.005:0;var c=h()+a;f(c)}}function h(){return s}function i(){s=0,r=!1}function j(){k||(k=a.get("$animate")),d.$broadcast("cfpLoadingBar:completed"),f(1),c.cancel(m),m=c(function(){var a=k.leave(o,i);a&&a.then&&a.then(i),k.leave(q)},500)}var k,l,m,n=this.parentSelector,o=angular.element(this.loadingBarTemplate),p=o.find("div").eq(0),q=angular.element(this.spinnerTemplate),r=!1,s=0,t=this.includeSpinner,u=this.includeBar,v=this.startSize;return{start:e,set:f,status:h,inc:g,complete:j,includeSpinner:this.includeSpinner,latencyThreshold:this.latencyThreshold,parentSelector:this.parentSelector,startSize:this.startSize}}]})}(); \ No newline at end of file diff --git a/public/app/bower_components/angular-loading-bar/package.json b/public/app/bower_components/angular-loading-bar/package.json index a96568d9..b0b78d2f 100644 --- a/public/app/bower_components/angular-loading-bar/package.json +++ b/public/app/bower_components/angular-loading-bar/package.json @@ -1,6 +1,6 @@ { "name": "angular-loading-bar", - "version": "0.5.0", + "version": "0.6.0", "description": "An automatic loading bar for AngularJS", "main": "src/loading-bar.js", "directories": { diff --git a/public/app/bower_components/angular-loading-bar/src/loading-bar.js b/public/app/bower_components/angular-loading-bar/src/loading-bar.js index e7a43434..568f9e86 100644 --- a/public/app/bower_components/angular-loading-bar/src/loading-bar.js +++ b/public/app/bower_components/angular-loading-bar/src/loading-bar.js @@ -67,19 +67,15 @@ angular.module('cfp.loadingBarInterceptor', ['cfp.loadingBar']) */ function isCached(config) { var cache; + var defaultCache = $cacheFactory.get('$http'); var defaults = $httpProvider.defaults; - if (config.method !== 'GET' || config.cache === false) { - config.cached = false; - return false; - } - - if (config.cache === true && defaults.cache === undefined) { - cache = $cacheFactory.get('$http'); - } else if (defaults.cache !== undefined) { - cache = defaults.cache; - } else { - cache = config.cache; + // Choose the proper cache source. Borrowed from angular: $http service + if ((config.cache || defaults.cache) && config.cache !== false && + (config.method === 'GET' || config.method === 'JSONP')) { + cache = angular.isObject(config.cache) ? config.cache + : angular.isObject(defaults.cache) ? defaults.cache + : defaultCache; } var cached = cache !== undefined ? @@ -160,11 +156,12 @@ angular.module('cfp.loadingBar', []) this.startSize = 0.02; this.parentSelector = 'body'; this.spinnerTemplate = '
    '; + this.loadingBarTemplate = '
    '; - this.$get = ['$document', '$timeout', '$animate', '$rootScope', function ($document, $timeout, $animate, $rootScope) { - + this.$get = ['$injector', '$document', '$timeout', '$rootScope', function ($injector, $document, $timeout, $rootScope) { + var $animate; var $parentSelector = this.parentSelector, - loadingBarContainer = angular.element('
    '), + loadingBarContainer = angular.element(this.loadingBarTemplate), loadingBar = loadingBarContainer.find('div').eq(0), spinner = angular.element(this.spinnerTemplate); @@ -181,7 +178,11 @@ angular.module('cfp.loadingBar', []) * Inserts the loading bar element into the dom, and sets it to 2% */ function _start() { - var $parent = $document.find($parentSelector); + if (!$animate) { + $animate = $injector.get('$animate'); + } + + var $parent = $document.find($parentSelector).eq(0); $timeout.cancel(completeTimeout); // do not continually broadcast the started event: @@ -264,7 +265,16 @@ angular.module('cfp.loadingBar', []) return status; } + function _completeAnimation() { + status = 0; + started = false; + } + function _complete() { + if (!$animate) { + $animate = $injector.get('$animate'); + } + $rootScope.$broadcast('cfpLoadingBar:completed'); _set(1); @@ -272,10 +282,10 @@ angular.module('cfp.loadingBar', []) // Attempt to aggregate any start/complete calls within 500ms: completeTimeout = $timeout(function() { - $animate.leave(loadingBarContainer, function() { - status = 0; - started = false; - }); + var promise = $animate.leave(loadingBarContainer, _completeAnimation); + if (promise && promise.then) { + promise.then(_completeAnimation); + } $animate.leave(spinner); }, 500); } diff --git a/public/app/bower_components/angular-material/.bower.json b/public/app/bower_components/angular-material/.bower.json new file mode 100644 index 00000000..d18c1936 --- /dev/null +++ b/public/app/bower_components/angular-material/.bower.json @@ -0,0 +1,24 @@ +{ + "name": "angular-material", + "version": "0.0.3", + "dependencies": { + "angular": "^1.3.0-beta.18", + "angular-animate": "^1.3.0-beta.18", + "hammerjs": "~2.0.3" + }, + "main": [ + "angular-material.js", + "angular-material.css" + ], + "homepage": "https://github.com/angular/bower-material", + "_release": "0.0.3", + "_resolution": { + "type": "version", + "tag": "v0.0.3", + "commit": "ec33d2ecfdf091e09eb285174c0ef1a948c10485" + }, + "_source": "git://github.com/angular/bower-material.git", + "_target": "~0.0.3", + "_originalSource": "angular-material", + "_direct": true +} \ No newline at end of file diff --git a/public/app/bower_components/angular-material/README.md b/public/app/bower_components/angular-material/README.md new file mode 100644 index 00000000..838b8917 --- /dev/null +++ b/public/app/bower_components/angular-material/README.md @@ -0,0 +1,48 @@ +## bower-material + +This repository contains the Bower release of [angular-material](https://github.com/angular/material). + +### Installing Angular-Material + +> Please note that using Angular Material requires **Angular 1.3.x** or higher. + +Below is a sample set of commands: + +```bash +cd yourProjectDir +bower install angular-material --save +``` + +### Usage + +Now that you have installed [locally] the Angular libraries, simply include the scripts and stylesheet in your main HTML file: + +```html + + + + + + + + +
    + +
    + + + + + + + + + +``` diff --git a/public/app/bower_components/angular-material/angular-material.css b/public/app/bower_components/angular-material/angular-material.css new file mode 100644 index 00000000..358a6e80 --- /dev/null +++ b/public/app/bower_components/angular-material/angular-material.css @@ -0,0 +1,3150 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v0.0.3 + */ +@font-face { + font-family: 'RobotoDraft'; + font-style: normal; + font-weight: 100; + src: local('RobotoDraft Thin'), local('RobotoDraft-Thin'), url(//fonts.gstatic.com/s/robotodraft/v1/hope9NW9iJ5hh8P5PM_EAyeJLMOzE6CCkidNEpZOseY.woff) format('woff'); } + +@font-face { + font-family: 'RobotoDraft'; + font-style: normal; + font-weight: 300; + src: local('RobotoDraft Light'), local('RobotoDraft-Light'), url(//fonts.gstatic.com/s/robotodraft/v1/u0_CMoUf3y3-4Ss4ci-VwR_xHqYgAV9Bl_ZQbYUxnQU.woff) format('woff'); } + +@font-face { + font-family: 'RobotoDraft'; + font-style: normal; + font-weight: 400; + src: local('RobotoDraft'), local('RobotoDraft-Regular'), url(//fonts.gstatic.com/s/robotodraft/v1/0xES5Sl_v6oyT7dAKuoni4bN6UDyHWBl620a-IRfuBk.woff) format('woff'); } + +@font-face { + font-family: 'RobotoDraft'; + font-style: normal; + font-weight: 500; + src: local('RobotoDraft Medium'), local('RobotoDraft-Medium'), url(//fonts.gstatic.com/s/robotodraft/v1/u0_CMoUf3y3-4Ss4ci-VwSqHEX2q--o2so14pIEl08w.woff) format('woff'); } + +@font-face { + font-family: 'RobotoDraft'; + font-style: normal; + font-weight: 700; + src: local('RobotoDraft Bold'), local('RobotoDraft-Bold'), url(//fonts.gstatic.com/s/robotodraft/v1/u0_CMoUf3y3-4Ss4ci-VwTqR_3kx9_hJXbbyU8S6IN0.woff) format('woff'); } + +@font-face { + font-family: 'RobotoDraft'; + font-style: normal; + font-weight: 900; + src: local('RobotoDraft Black'), local('RobotoDraft-Black'), url(//fonts.gstatic.com/s/robotodraft/v1/u0_CMoUf3y3-4Ss4ci-VwUExzZ44ka2Lr5i-x5aWr0E.woff) format('woff'); } + +@font-face { + font-family: 'RobotoDraft'; + font-style: italic; + font-weight: 400; + src: local('RobotoDraft Italic'), local('RobotoDraft-Italic'), url(//fonts.gstatic.com/s/robotodraft/v1/er-TIW55l9KWsTS1x9bTftkZXW4sYc4BjuAIFc1SXII.woff) format('woff'); } + +@font-face { + font-family: 'RobotoDraft'; + font-style: italic; + font-weight: 700; + src: local('RobotoDraft Bold Italic'), local('RobotoDraft-BoldItalic'), url(//fonts.gstatic.com/s/robotodraft/v1/5SAvdU0uYYlH8OURAykt5wRV2F9RPTaqyJ4QibDfkzM.woff) format('woff'); } + +/* +@mixin material-theme($name, $t100, $t300, $t500, $t700, $t900) { +} + +@include material-theme('google-red', #f3c6C2, #e57b72, #da4336, #c43828, #a42613); +@include material-theme('pink', #f7bacf, #ef6191, #e81d62, #c1175a, #870d4e); +@include material-theme('indigo', #c4c9e8, #7885ca, #3e50b4, #2f3e9e, #19227d); +@include material-theme('google-blue', #c5d9fb, #7aa9f6, #4184f3, #3266d5, #1b39ab); +@include material-theme('light-blue', #b2e4fb, #4ec2f6, #02a8f3, #0187d0, #00569A); +@include material-theme('teal', #b1deda, #4cb5ab, #009587, #00786a, #004c3f); +@include material-theme('google-green', #b6e0cc, #56ba89, #0E9C57, #0a7f42, #045423); +@include material-theme('yellow', #fff8c3, #fff075, #ffea3a, #fabf2c, #f47e16); +@include material-theme('google-yellow', #fbe7b1, #f6ca4c, #f3b300, #ef9200, #e96000); +@include material-theme('orange', #ffdfb1, #ffb64c, #ff9700, #f47b00, #e55000); +@include material-theme('deep-orange', #ffcbbb, #ff8964, #ff5621, #e54918, #be350b); +@include material-theme('grey', #f0f0f0, #e0e0e0, #a2a2a2, #636363, #252525); +*/ +.material-theme-light { + background-color: #4285f4 !important; + color: #f1f1f1 !important; } + +.material-theme-light-blue { + background-color: #03a9f4 !important; + color: #f1f1f1 !important; } + +.material-theme-indigo { + background-color: #3e50b4 !important; + color: #f1f1f1 !important; } + +.material-theme-dark { + background-color: #3f51b5 !important; + color: #f1f1f1 !important; } + +.material-theme-green { + background-color: #0f9d58 !important; + color: #f1f1f1 !important; } + +.material-theme-yellow { + background-color: #ffeb3b !important; + color: #111111 !important; } + +.material-theme-orange { + background-color: #ff5722 !important; + color: #f1f1f1 !important; } + +.material-theme-purple { + background-color: #9c27b0 !important; + color: #f1f1f1 !important; } + +.material-theme-red { + background-color: #db4437 !important; + color: #f1f1f1 !important; } + +.material-input-group-theme-light.material-input-has-value input, .material-input-group-theme-light.material-input-focused input { + border-color: #4285f4; } +.material-input-group-theme-light.material-input-has-value label, .material-input-group-theme-light.material-input-focused label { + color: #4285f4; } + +.material-input-group-theme-light-blue.material-input-has-value input, .material-input-group-theme-light-blue.material-input-focused input { + border-color: #03a9f4; } +.material-input-group-theme-light-blue.material-input-has-value label, .material-input-group-theme-light-blue.material-input-focused label { + color: #03a9f4; } + +.material-input-group-theme-dark.material-input-has-value input, .material-input-group-theme-dark.material-input-focused input { + border-color: #3f51b5; } +.material-input-group-theme-dark.material-input-has-value label, .material-input-group-theme-dark.material-input-focused label { + color: #3f51b5; } + +.material-input-group-theme-green.material-input-has-value input, .material-input-group-theme-green.material-input-focused input { + border-color: #0f9d58; } +.material-input-group-theme-green.material-input-has-value label, .material-input-group-theme-green.material-input-focused label { + color: #0f9d58; } + +.material-input-group-theme-yellow.material-input-has-value input, .material-input-group-theme-yellow.material-input-focused input { + border-color: #ffeb3b; } +.material-input-group-theme-yellow.material-input-has-value label, .material-input-group-theme-yellow.material-input-focused label { + color: #ffeb3b; } + +.material-input-group-theme-orange.material-input-has-value input, .material-input-group-theme-orange.material-input-focused input { + border-color: #ff5722; } +.material-input-group-theme-orange.material-input-has-value label, .material-input-group-theme-orange.material-input-focused label { + color: #ff5722; } + +.material-input-group-theme-purple.material-input-has-value input, .material-input-group-theme-purple.material-input-focused input { + border-color: #9c27b0; } +.material-input-group-theme-purple.material-input-has-value label, .material-input-group-theme-purple.material-input-focused label { + color: #9c27b0; } + +.material-input-group-theme-red.material-input-has-value input, .material-input-group-theme-red.material-input-focused input { + border-color: #db4437; } +.material-input-group-theme-red.material-input-has-value label, .material-input-group-theme-red.material-input-focused label { + color: #db4437; } + +.material-shadow { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + border-radius: inherit; + pointer-events: none; } + +.material-shadow-bottom-z-1, material-button.material-button-raised, material-button.material-button-fab { + box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); } + +.material-shadow-bottom-z-2, material-button.material-button-raised.focus, material-button.material-button-raised:hover:not([disabled]), material-button.material-button-fab.focus, material-button.material-button-fab:hover:not([disabled]) { + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4); } + +.material-shadow-animated.material-shadow { + transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); } + +*, *:before, *:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } + +html, body { + height: 100%; + color: #444; + background: #fff; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + -webkit-touch-callout: none; + -webkit-text-size-adjust: 100%; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; } + html h3, body h3 { + display: block; + -webkit-margin-before: 1em; + -webkit-margin-after: 1em; + -webkit-margin-start: 0px; + -webkit-margin-end: 0px; + font-size: 1.17em; + font-weight: bold; } + +button, select, html, textarea, input { + font-family: 'RobotoDraft', 'Helvetica Neue', Helvetica, Arial; } + +html body { + margin: 0; + padding: 0; + outline: none; } + +.inset { + padding: 10px; } + +button { + font-family: 'RobotoDraft', 'Helvetica Neue', Helvetica, Arial; } + +a { + background: transparent; + outline: none; } + +h1 { + font-size: 2em; + margin: 0.67em 0; } + +h2 { + font-size: 1.5em; + margin: 0.83em 0; } + +h3 { + font-size: 1.17em; + margin: 1em 0; } + +h4 { + font-size: 1em; + margin: 1.33em 0; } + +h5 { + font-size: 0.83em; + margin: 1.67em 0; } + +h6 { + font-size: 0.75em; + margin: 2.33em 0; } + +select, button, textarea, input { + margin: 0; + font-size: 100%; + font-family: inherit; + vertical-align: baseline; } + +input[type="reset"], input[type="submit"], html input[type="button"], button { + cursor: pointer; + -webkit-appearance: button; } + input[type="reset"][disabled], input[type="submit"][disabled], html input[type="button"][disabled], button[disabled] { + cursor: default; } + +textarea { + vertical-align: top; + overflow: auto; } + +input[type="radio"], input[type="checkbox"] { + padding: 0; + box-sizing: border-box; } +input[type="search"] { + -webkit-appearance: textfield; + box-sizing: content-box; + -webkit-box-sizing: content-box; } + input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { + -webkit-appearance: none; } + +table { + margin-bottom: 20px; + max-width: 100%; + width: 100%; + border-spacing: 0; + border-collapse: collapse; + background-color: transparent; } + +td, th { + padding: 8px 16px; + border-top: 1px solid #ddd; + vertical-align: top; } + +th { + border-bottom: 2px solid #ddd; + vertical-align: bottom; } + +[layout] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; } + +[layout=vertical] { + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -webkit-flex-direction: column; + -moz-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } + +[layout-padding], [layout][layout-padding] > [flex] { + padding: 8px; } + +[layout-padding] + [layout-padding] { + margin-top: -8px; + padding-top: 0; } + +[layout-fill] { + margin: 0; + height: 100%; + width: 100%; } + +[layout-align="center"], [layout-align="center center"], [layout-align="center start"], [layout-align="center end"] { + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + -moz-justify-content: center; + justify-content: center; } + +[layout-align="end"], [layout-align="end center"], [layout-align="end start"], [layout-align="end end"] { + -webkit-box-pack: end; + -ms-flex-pack: end; + -webkit-justify-content: flex-end; + -moz-justify-content: flex-end; + justify-content: flex-end; } + +[layout-align="space-around"], [layout-align="space-around center"], [layout-align="space-around start"], [layout-align="space-around end"] { + -webkit-box-pack: space-around; + -ms-flex-pack: space-around; + -webkit-justify-content: space-around; + -moz-justify-content: space-around; + justify-content: space-around; } + +[layout-align="space-between"], [layout-align="space-between center"], [layout-align="space-between start"], [layout-align="space-between end"] { + -webkit-box-pack: justify; + -ms-flex-pack: justify; + -webkit-justify-content: space-between; + -moz-justify-content: space-between; + justify-content: space-between; } + +[layout-align="center center"], [layout-align="start center"], [layout-align="end center"], [layout-align="space-between center"], [layout-align="space-around center"] { + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; } + +[layout-align="center start"], [layout-align="start start"], [layout-align="end start"], [layout-align="space-between start"], [layout-align="space-around start"] { + -webkit-box-align: start; + -ms-flex-align: start; + -webkit-align-items: flex-start; + -moz-align-items: flex-start; + align-items: flex-start; } + +[layout-align="center end"], [layout-align="start end"], [layout-align="end end"], [layout-align="space-between end"], [layout-align="space-around end"] { + -webkit-box-align: end; + -ms-flex-align: end; + -webkit-align-items: flex-end; + -moz-align-items: flex-end; + align-items: flex-end; } + +[block] { + display: block; } + +[inline-block] { + display: inline-block; } + +[hide] { + display: none; } + +[show] { + display: inherit; } + +[flex] { + -webkit-box-flex: 1; + -webkit-flex: 1; + -moz-box-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; } + +[flex="5"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 5%; + -moz-box-flex: 0; + -moz-flex: 0 0 5%; + -ms-flex: 0 0 5%; + flex: 0 0 5%; + max-width: 5%; } + +[flex="10"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 10%; + -moz-box-flex: 0; + -moz-flex: 0 0 10%; + -ms-flex: 0 0 10%; + flex: 0 0 10%; + max-width: 10%; } + +[flex="15"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 15%; + -moz-box-flex: 0; + -moz-flex: 0 0 15%; + -ms-flex: 0 0 15%; + flex: 0 0 15%; + max-width: 15%; } + +[flex="20"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 20%; + -moz-box-flex: 0; + -moz-flex: 0 0 20%; + -ms-flex: 0 0 20%; + flex: 0 0 20%; + max-width: 20%; } + +[flex="25"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 25%; + -moz-box-flex: 0; + -moz-flex: 0 0 25%; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; } + +[flex="30"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 30%; + -moz-box-flex: 0; + -moz-flex: 0 0 30%; + -ms-flex: 0 0 30%; + flex: 0 0 30%; + max-width: 30%; } + +[flex="35"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 35%; + -moz-box-flex: 0; + -moz-flex: 0 0 35%; + -ms-flex: 0 0 35%; + flex: 0 0 35%; + max-width: 35%; } + +[flex="40"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 40%; + -moz-box-flex: 0; + -moz-flex: 0 0 40%; + -ms-flex: 0 0 40%; + flex: 0 0 40%; + max-width: 40%; } + +[flex="45"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 45%; + -moz-box-flex: 0; + -moz-flex: 0 0 45%; + -ms-flex: 0 0 45%; + flex: 0 0 45%; + max-width: 45%; } + +[flex="50"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 50%; + -moz-box-flex: 0; + -moz-flex: 0 0 50%; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; } + +[flex="55"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 55%; + -moz-box-flex: 0; + -moz-flex: 0 0 55%; + -ms-flex: 0 0 55%; + flex: 0 0 55%; + max-width: 55%; } + +[flex="60"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 60%; + -moz-box-flex: 0; + -moz-flex: 0 0 60%; + -ms-flex: 0 0 60%; + flex: 0 0 60%; + max-width: 60%; } + +[flex="65"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 65%; + -moz-box-flex: 0; + -moz-flex: 0 0 65%; + -ms-flex: 0 0 65%; + flex: 0 0 65%; + max-width: 65%; } + +[flex="70"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 70%; + -moz-box-flex: 0; + -moz-flex: 0 0 70%; + -ms-flex: 0 0 70%; + flex: 0 0 70%; + max-width: 70%; } + +[flex="75"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 75%; + -moz-box-flex: 0; + -moz-flex: 0 0 75%; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; } + +[flex="80"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 80%; + -moz-box-flex: 0; + -moz-flex: 0 0 80%; + -ms-flex: 0 0 80%; + flex: 0 0 80%; + max-width: 80%; } + +[flex="85"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 85%; + -moz-box-flex: 0; + -moz-flex: 0 0 85%; + -ms-flex: 0 0 85%; + flex: 0 0 85%; + max-width: 85%; } + +[flex="90"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 90%; + -moz-box-flex: 0; + -moz-flex: 0 0 90%; + -ms-flex: 0 0 90%; + flex: 0 0 90%; + max-width: 90%; } + +[flex="95"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 95%; + -moz-box-flex: 0; + -moz-flex: 0 0 95%; + -ms-flex: 0 0 95%; + flex: 0 0 95%; + max-width: 95%; } + +[flex="33"], [flex="34"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 33.33%; + -moz-box-flex: 0; + -moz-flex: 0 0 33.33%; + -ms-flex: 0 0 33.33%; + flex: 0 0 33.33%; + max-width: 33.33%; } + +[flex="66"], [flex="67"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 66.66%; + -moz-box-flex: 0; + -moz-flex: 0 0 66.66%; + -ms-flex: 0 0 66.66%; + flex: 0 0 66.66%; + max-width: 66.66%; } + +[offset="5"] { + margin-left: 5%; } + +[offset="10"] { + margin-left: 10%; } + +[offset="15"] { + margin-left: 15%; } + +[offset="20"] { + margin-left: 20%; } + +[offset="25"] { + margin-left: 25%; } + +[offset="30"] { + margin-left: 30%; } + +[offset="35"] { + margin-left: 35%; } + +[offset="40"] { + margin-left: 40%; } + +[offset="45"] { + margin-left: 45%; } + +[offset="50"] { + margin-left: 50%; } + +[offset="55"] { + margin-left: 55%; } + +[offset="60"] { + margin-left: 60%; } + +[offset="65"] { + margin-left: 65%; } + +[offset="70"] { + margin-left: 70%; } + +[offset="75"] { + margin-left: 75%; } + +[offset="80"] { + margin-left: 80%; } + +[offset="85"] { + margin-left: 85%; } + +[offset="90"] { + margin-left: 90%; } + +[offset="95"] { + margin-left: 95%; } + +[offset="33"], [offset="34"] { + margin-left: 33.33%; } + +[offset="66"], [offset="67"] { + margin-left: 66.66%; } + +[layout-order="1"] { + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; } + +[layout-order="2"] { + -webkit-order: 2; + -ms-flex-order: 2; + order: 2; } + +[layout-order="3"] { + -webkit-order: 3; + -ms-flex-order: 3; + order: 3; } + +[layout-order="4"] { + -webkit-order: 4; + -ms-flex-order: 4; + order: 4; } + +[layout-order="5"] { + -webkit-order: 5; + -ms-flex-order: 5; + order: 5; } + +[layout-order="6"] { + -webkit-order: 6; + -ms-flex-order: 6; + order: 6; } + +@media (min-width: 600px) { + [flex-sm] { + -webkit-box-flex: 1; + -webkit-flex: 1; + -moz-box-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; } + [flex-sm="5"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 5%; + -moz-box-flex: 0; + -moz-flex: 0 0 5%; + -ms-flex: 0 0 5%; + flex: 0 0 5%; + max-width: 5%; } + [flex-sm="10"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 10%; + -moz-box-flex: 0; + -moz-flex: 0 0 10%; + -ms-flex: 0 0 10%; + flex: 0 0 10%; + max-width: 10%; } + [flex-sm="15"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 15%; + -moz-box-flex: 0; + -moz-flex: 0 0 15%; + -ms-flex: 0 0 15%; + flex: 0 0 15%; + max-width: 15%; } + [flex-sm="20"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 20%; + -moz-box-flex: 0; + -moz-flex: 0 0 20%; + -ms-flex: 0 0 20%; + flex: 0 0 20%; + max-width: 20%; } + [flex-sm="25"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 25%; + -moz-box-flex: 0; + -moz-flex: 0 0 25%; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; } + [flex-sm="30"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 30%; + -moz-box-flex: 0; + -moz-flex: 0 0 30%; + -ms-flex: 0 0 30%; + flex: 0 0 30%; + max-width: 30%; } + [flex-sm="35"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 35%; + -moz-box-flex: 0; + -moz-flex: 0 0 35%; + -ms-flex: 0 0 35%; + flex: 0 0 35%; + max-width: 35%; } + [flex-sm="40"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 40%; + -moz-box-flex: 0; + -moz-flex: 0 0 40%; + -ms-flex: 0 0 40%; + flex: 0 0 40%; + max-width: 40%; } + [flex-sm="45"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 45%; + -moz-box-flex: 0; + -moz-flex: 0 0 45%; + -ms-flex: 0 0 45%; + flex: 0 0 45%; + max-width: 45%; } + [flex-sm="50"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 50%; + -moz-box-flex: 0; + -moz-flex: 0 0 50%; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; } + [flex-sm="55"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 55%; + -moz-box-flex: 0; + -moz-flex: 0 0 55%; + -ms-flex: 0 0 55%; + flex: 0 0 55%; + max-width: 55%; } + [flex-sm="60"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 60%; + -moz-box-flex: 0; + -moz-flex: 0 0 60%; + -ms-flex: 0 0 60%; + flex: 0 0 60%; + max-width: 60%; } + [flex-sm="65"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 65%; + -moz-box-flex: 0; + -moz-flex: 0 0 65%; + -ms-flex: 0 0 65%; + flex: 0 0 65%; + max-width: 65%; } + [flex-sm="70"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 70%; + -moz-box-flex: 0; + -moz-flex: 0 0 70%; + -ms-flex: 0 0 70%; + flex: 0 0 70%; + max-width: 70%; } + [flex-sm="75"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 75%; + -moz-box-flex: 0; + -moz-flex: 0 0 75%; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; } + [flex-sm="80"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 80%; + -moz-box-flex: 0; + -moz-flex: 0 0 80%; + -ms-flex: 0 0 80%; + flex: 0 0 80%; + max-width: 80%; } + [flex-sm="85"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 85%; + -moz-box-flex: 0; + -moz-flex: 0 0 85%; + -ms-flex: 0 0 85%; + flex: 0 0 85%; + max-width: 85%; } + [flex-sm="90"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 90%; + -moz-box-flex: 0; + -moz-flex: 0 0 90%; + -ms-flex: 0 0 90%; + flex: 0 0 90%; + max-width: 90%; } + [flex-sm="95"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 95%; + -moz-box-flex: 0; + -moz-flex: 0 0 95%; + -ms-flex: 0 0 95%; + flex: 0 0 95%; + max-width: 95%; } + [flex-sm="33"], [flex-sm="34"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 33.33%; + -moz-box-flex: 0; + -moz-flex: 0 0 33.33%; + -ms-flex: 0 0 33.33%; + flex: 0 0 33.33%; + max-width: 33.33%; } + [flex-sm="66"], [flex-sm="67"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 66.66%; + -moz-box-flex: 0; + -moz-flex: 0 0 66.66%; + -ms-flex: 0 0 66.66%; + flex: 0 0 66.66%; + max-width: 66.66%; } + [offset-sm="5"] { + margin-left: 5%; } + [offset-sm="10"] { + margin-left: 10%; } + [offset-sm="15"] { + margin-left: 15%; } + [offset-sm="20"] { + margin-left: 20%; } + [offset-sm="25"] { + margin-left: 25%; } + [offset-sm="30"] { + margin-left: 30%; } + [offset-sm="35"] { + margin-left: 35%; } + [offset-sm="40"] { + margin-left: 40%; } + [offset-sm="45"] { + margin-left: 45%; } + [offset-sm="50"] { + margin-left: 50%; } + [offset-sm="55"] { + margin-left: 55%; } + [offset-sm="60"] { + margin-left: 60%; } + [offset-sm="65"] { + margin-left: 65%; } + [offset-sm="70"] { + margin-left: 70%; } + [offset-sm="75"] { + margin-left: 75%; } + [offset-sm="80"] { + margin-left: 80%; } + [offset-sm="85"] { + margin-left: 85%; } + [offset-sm="90"] { + margin-left: 90%; } + [offset-sm="95"] { + margin-left: 95%; } + [offset-sm="33"], [offset-sm="34"] { + margin-left: 33.33%; } + [offset-sm="66"], [offset-sm="67"] { + margin-left: 66.66%; } + [layout-order-sm="1"] { + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; } + [layout-order-sm="2"] { + -webkit-order: 2; + -ms-flex-order: 2; + order: 2; } + [layout-order-sm="3"] { + -webkit-order: 3; + -ms-flex-order: 3; + order: 3; } + [layout-order-sm="4"] { + -webkit-order: 4; + -ms-flex-order: 4; + order: 4; } + [layout-order-sm="5"] { + -webkit-order: 5; + -ms-flex-order: 5; + order: 5; } + [layout-order-sm="6"] { + -webkit-order: 6; + -ms-flex-order: 6; + order: 6; } + [layout-sm] { + -webkit-box-direction: normal; + -webkit-box-orient: horizontal; + -webkit-flex-direction: row; + -moz-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } + [layout-sm=vertical] { + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -webkit-flex-direction: column; + -moz-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } + [block-sm] { + display: block; } + [inline-block-sm] { + display: inline-block; } + [show-sm] { + display: inherit; } + [hide-sm] { + display: none; } } + +@media (min-width: 960px) { + [flex-md] { + -webkit-box-flex: 1; + -webkit-flex: 1; + -moz-box-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; } + [flex-md="5"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 5%; + -moz-box-flex: 0; + -moz-flex: 0 0 5%; + -ms-flex: 0 0 5%; + flex: 0 0 5%; + max-width: 5%; } + [flex-md="10"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 10%; + -moz-box-flex: 0; + -moz-flex: 0 0 10%; + -ms-flex: 0 0 10%; + flex: 0 0 10%; + max-width: 10%; } + [flex-md="15"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 15%; + -moz-box-flex: 0; + -moz-flex: 0 0 15%; + -ms-flex: 0 0 15%; + flex: 0 0 15%; + max-width: 15%; } + [flex-md="20"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 20%; + -moz-box-flex: 0; + -moz-flex: 0 0 20%; + -ms-flex: 0 0 20%; + flex: 0 0 20%; + max-width: 20%; } + [flex-md="25"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 25%; + -moz-box-flex: 0; + -moz-flex: 0 0 25%; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; } + [flex-md="30"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 30%; + -moz-box-flex: 0; + -moz-flex: 0 0 30%; + -ms-flex: 0 0 30%; + flex: 0 0 30%; + max-width: 30%; } + [flex-md="35"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 35%; + -moz-box-flex: 0; + -moz-flex: 0 0 35%; + -ms-flex: 0 0 35%; + flex: 0 0 35%; + max-width: 35%; } + [flex-md="40"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 40%; + -moz-box-flex: 0; + -moz-flex: 0 0 40%; + -ms-flex: 0 0 40%; + flex: 0 0 40%; + max-width: 40%; } + [flex-md="45"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 45%; + -moz-box-flex: 0; + -moz-flex: 0 0 45%; + -ms-flex: 0 0 45%; + flex: 0 0 45%; + max-width: 45%; } + [flex-md="50"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 50%; + -moz-box-flex: 0; + -moz-flex: 0 0 50%; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; } + [flex-md="55"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 55%; + -moz-box-flex: 0; + -moz-flex: 0 0 55%; + -ms-flex: 0 0 55%; + flex: 0 0 55%; + max-width: 55%; } + [flex-md="60"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 60%; + -moz-box-flex: 0; + -moz-flex: 0 0 60%; + -ms-flex: 0 0 60%; + flex: 0 0 60%; + max-width: 60%; } + [flex-md="65"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 65%; + -moz-box-flex: 0; + -moz-flex: 0 0 65%; + -ms-flex: 0 0 65%; + flex: 0 0 65%; + max-width: 65%; } + [flex-md="70"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 70%; + -moz-box-flex: 0; + -moz-flex: 0 0 70%; + -ms-flex: 0 0 70%; + flex: 0 0 70%; + max-width: 70%; } + [flex-md="75"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 75%; + -moz-box-flex: 0; + -moz-flex: 0 0 75%; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; } + [flex-md="80"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 80%; + -moz-box-flex: 0; + -moz-flex: 0 0 80%; + -ms-flex: 0 0 80%; + flex: 0 0 80%; + max-width: 80%; } + [flex-md="85"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 85%; + -moz-box-flex: 0; + -moz-flex: 0 0 85%; + -ms-flex: 0 0 85%; + flex: 0 0 85%; + max-width: 85%; } + [flex-md="90"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 90%; + -moz-box-flex: 0; + -moz-flex: 0 0 90%; + -ms-flex: 0 0 90%; + flex: 0 0 90%; + max-width: 90%; } + [flex-md="95"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 95%; + -moz-box-flex: 0; + -moz-flex: 0 0 95%; + -ms-flex: 0 0 95%; + flex: 0 0 95%; + max-width: 95%; } + [flex-md="33"], [flex-md="34"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 33.33%; + -moz-box-flex: 0; + -moz-flex: 0 0 33.33%; + -ms-flex: 0 0 33.33%; + flex: 0 0 33.33%; + max-width: 33.33%; } + [flex-md="66"], [flex-md="67"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 66.66%; + -moz-box-flex: 0; + -moz-flex: 0 0 66.66%; + -ms-flex: 0 0 66.66%; + flex: 0 0 66.66%; + max-width: 66.66%; } + [offset-md="5"] { + margin-left: 5%; } + [offset-md="10"] { + margin-left: 10%; } + [offset-md="15"] { + margin-left: 15%; } + [offset-md="20"] { + margin-left: 20%; } + [offset-md="25"] { + margin-left: 25%; } + [offset-md="30"] { + margin-left: 30%; } + [offset-md="35"] { + margin-left: 35%; } + [offset-md="40"] { + margin-left: 40%; } + [offset-md="45"] { + margin-left: 45%; } + [offset-md="50"] { + margin-left: 50%; } + [offset-md="55"] { + margin-left: 55%; } + [offset-md="60"] { + margin-left: 60%; } + [offset-md="65"] { + margin-left: 65%; } + [offset-md="70"] { + margin-left: 70%; } + [offset-md="75"] { + margin-left: 75%; } + [offset-md="80"] { + margin-left: 80%; } + [offset-md="85"] { + margin-left: 85%; } + [offset-md="90"] { + margin-left: 90%; } + [offset-md="95"] { + margin-left: 95%; } + [offset-md="33"], [offset-md="34"] { + margin-left: 33.33%; } + [offset-md="66"], [offset-md="67"] { + margin-left: 66.66%; } + [layout-order-md="1"] { + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; } + [layout-order-md="2"] { + -webkit-order: 2; + -ms-flex-order: 2; + order: 2; } + [layout-order-md="3"] { + -webkit-order: 3; + -ms-flex-order: 3; + order: 3; } + [layout-order-md="4"] { + -webkit-order: 4; + -ms-flex-order: 4; + order: 4; } + [layout-order-md="5"] { + -webkit-order: 5; + -ms-flex-order: 5; + order: 5; } + [layout-order-md="6"] { + -webkit-order: 6; + -ms-flex-order: 6; + order: 6; } + [layout-md] { + -webkit-box-direction: normal; + -webkit-box-orient: horizontal; + -webkit-flex-direction: row; + -moz-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } + [layout-md=vertical] { + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -webkit-flex-direction: column; + -moz-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } + [block-md] { + display: block; } + [inline-block-md] { + display: inline-block; } + [show-md] { + display: inherit; } + [hide-md] { + display: none; } } + +@media (min-width: 1200px) { + [flex-lg] { + -webkit-box-flex: 1; + -webkit-flex: 1; + -moz-box-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; } + [flex-lg="5"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 5%; + -moz-box-flex: 0; + -moz-flex: 0 0 5%; + -ms-flex: 0 0 5%; + flex: 0 0 5%; + max-width: 5%; } + [flex-lg="10"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 10%; + -moz-box-flex: 0; + -moz-flex: 0 0 10%; + -ms-flex: 0 0 10%; + flex: 0 0 10%; + max-width: 10%; } + [flex-lg="15"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 15%; + -moz-box-flex: 0; + -moz-flex: 0 0 15%; + -ms-flex: 0 0 15%; + flex: 0 0 15%; + max-width: 15%; } + [flex-lg="20"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 20%; + -moz-box-flex: 0; + -moz-flex: 0 0 20%; + -ms-flex: 0 0 20%; + flex: 0 0 20%; + max-width: 20%; } + [flex-lg="25"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 25%; + -moz-box-flex: 0; + -moz-flex: 0 0 25%; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; } + [flex-lg="30"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 30%; + -moz-box-flex: 0; + -moz-flex: 0 0 30%; + -ms-flex: 0 0 30%; + flex: 0 0 30%; + max-width: 30%; } + [flex-lg="35"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 35%; + -moz-box-flex: 0; + -moz-flex: 0 0 35%; + -ms-flex: 0 0 35%; + flex: 0 0 35%; + max-width: 35%; } + [flex-lg="40"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 40%; + -moz-box-flex: 0; + -moz-flex: 0 0 40%; + -ms-flex: 0 0 40%; + flex: 0 0 40%; + max-width: 40%; } + [flex-lg="45"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 45%; + -moz-box-flex: 0; + -moz-flex: 0 0 45%; + -ms-flex: 0 0 45%; + flex: 0 0 45%; + max-width: 45%; } + [flex-lg="50"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 50%; + -moz-box-flex: 0; + -moz-flex: 0 0 50%; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; } + [flex-lg="55"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 55%; + -moz-box-flex: 0; + -moz-flex: 0 0 55%; + -ms-flex: 0 0 55%; + flex: 0 0 55%; + max-width: 55%; } + [flex-lg="60"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 60%; + -moz-box-flex: 0; + -moz-flex: 0 0 60%; + -ms-flex: 0 0 60%; + flex: 0 0 60%; + max-width: 60%; } + [flex-lg="65"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 65%; + -moz-box-flex: 0; + -moz-flex: 0 0 65%; + -ms-flex: 0 0 65%; + flex: 0 0 65%; + max-width: 65%; } + [flex-lg="70"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 70%; + -moz-box-flex: 0; + -moz-flex: 0 0 70%; + -ms-flex: 0 0 70%; + flex: 0 0 70%; + max-width: 70%; } + [flex-lg="75"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 75%; + -moz-box-flex: 0; + -moz-flex: 0 0 75%; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; } + [flex-lg="80"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 80%; + -moz-box-flex: 0; + -moz-flex: 0 0 80%; + -ms-flex: 0 0 80%; + flex: 0 0 80%; + max-width: 80%; } + [flex-lg="85"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 85%; + -moz-box-flex: 0; + -moz-flex: 0 0 85%; + -ms-flex: 0 0 85%; + flex: 0 0 85%; + max-width: 85%; } + [flex-lg="90"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 90%; + -moz-box-flex: 0; + -moz-flex: 0 0 90%; + -ms-flex: 0 0 90%; + flex: 0 0 90%; + max-width: 90%; } + [flex-lg="95"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 95%; + -moz-box-flex: 0; + -moz-flex: 0 0 95%; + -ms-flex: 0 0 95%; + flex: 0 0 95%; + max-width: 95%; } + [flex-lg="33"], [flex-lg="34"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 33.33%; + -moz-box-flex: 0; + -moz-flex: 0 0 33.33%; + -ms-flex: 0 0 33.33%; + flex: 0 0 33.33%; + max-width: 33.33%; } + [flex-lg="66"], [flex-lg="67"] { + -webkit-box-flex: 0; + -webkit-flex: 0 0 66.66%; + -moz-box-flex: 0; + -moz-flex: 0 0 66.66%; + -ms-flex: 0 0 66.66%; + flex: 0 0 66.66%; + max-width: 66.66%; } + [offset-lg="5"] { + margin-left: 5%; } + [offset-lg="10"] { + margin-left: 10%; } + [offset-lg="15"] { + margin-left: 15%; } + [offset-lg="20"] { + margin-left: 20%; } + [offset-lg="25"] { + margin-left: 25%; } + [offset-lg="30"] { + margin-left: 30%; } + [offset-lg="35"] { + margin-left: 35%; } + [offset-lg="40"] { + margin-left: 40%; } + [offset-lg="45"] { + margin-left: 45%; } + [offset-lg="50"] { + margin-left: 50%; } + [offset-lg="55"] { + margin-left: 55%; } + [offset-lg="60"] { + margin-left: 60%; } + [offset-lg="65"] { + margin-left: 65%; } + [offset-lg="70"] { + margin-left: 70%; } + [offset-lg="75"] { + margin-left: 75%; } + [offset-lg="80"] { + margin-left: 80%; } + [offset-lg="85"] { + margin-left: 85%; } + [offset-lg="90"] { + margin-left: 90%; } + [offset-lg="95"] { + margin-left: 95%; } + [offset-lg="33"], [offset-lg="34"] { + margin-left: 33.33%; } + [offset-lg="66"], [offset-lg="67"] { + margin-left: 66.66%; } + [layout-order-lg="1"] { + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; } + [layout-order-lg="2"] { + -webkit-order: 2; + -ms-flex-order: 2; + order: 2; } + [layout-order-lg="3"] { + -webkit-order: 3; + -ms-flex-order: 3; + order: 3; } + [layout-order-lg="4"] { + -webkit-order: 4; + -ms-flex-order: 4; + order: 4; } + [layout-order-lg="5"] { + -webkit-order: 5; + -ms-flex-order: 5; + order: 5; } + [layout-order-lg="6"] { + -webkit-order: 6; + -ms-flex-order: 6; + order: 6; } + [layout-lg] { + -webkit-box-direction: normal; + -webkit-box-orient: horizontal; + -webkit-flex-direction: row; + -moz-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } + [layout-lg=vertical] { + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -webkit-flex-direction: column; + -moz-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } + [block-lg] { + display: block; } + [inline-block-lg] { + display: inline-block; } + [show-lg] { + display: inherit; } + [hide-lg] { + display: none; } } + +material-ink-bar { + height: 2px; + background: #ffff85; + position: absolute; + margin-top: -2px; } + +@-webkit-keyframes inkRippleButton { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + opacity: 0.15; } + + 50% { + -webkit-transform: scale(0.75); + transform: scale(0.75); + opacity: 0.15; } + + 100% { + -webkit-transform: scale(2); + transform: scale(2); + opacity: 0; } } + +@keyframes inkRippleButton { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + opacity: 0.15; } + + 50% { + -webkit-transform: scale(0.75); + transform: scale(0.75); + opacity: 0.15; } + + 100% { + -webkit-transform: scale(2); + transform: scale(2); + opacity: 0; } } + +@-webkit-keyframes inkRippleCheckbox { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + opacity: 0.4; } + + 50% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 0.4; } + + 100% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 0; } } + +@keyframes inkRippleCheckbox { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + opacity: 0.4; } + + 50% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 0.4; } + + 100% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 0; } } + +/* + * A container inside of a rippling element (eg a button), + * which contains all of the individual ripples + */ +.material-ripple-container { + pointer-events: none; + position: absolute; + overflow: hidden; + left: 0; + top: 0; + width: 100%; + height: 100%; } + +.material-ripple { + position: absolute; } + +material-backdrop { + z-index: 7; + background-color: rgba(0, 0, 0, 0); + position: fixed; + left: 0; + top: 0; + right: 0; + bottom: 0; + -webkit-transition: all 0.2s ease-out; + transition: all 0.2s ease-out; } + material-backdrop.opaque { + background-color: rgba(0, 0, 0, 0.4); } + material-backdrop.ng-enter { + -webkit-transition-delay: 0.1s; + transition-delay: 0.1s; } + material-backdrop.ng-enter, material-backdrop.ng-leave.ng-leave-active { + opacity: 0; } + material-backdrop.ng-leave, material-backdrop.ng-enter.ng-enter-active { + opacity: 1; } + +material-content { + display: block; + overflow: auto; + -webkit-overflow-scrolling: touch; } + material-content[scroll-y] { + overflow-y: auto; + overflow-x: hidden; } + material-content[scroll-x] { + overflow-x: auto; + overflow-y: hidden; } + material-content.material-content-padding { + padding: 8px; } + material-content[scroll-shrink] { + position: relative; } + +@media (min-width: 600px) { + material-content.material-content-padding { + padding: 16px; } } + +material-icon { + margin: auto; + padding: 0; + display: block; + background-repeat: no-repeat no-repeat; + pointer-events: none; } + +svg, object { + fill: currentColor; + color-fill: currentColor; } + +/** + * Position a FAB button. + */ +material-button { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + position: relative; + display: inline-block; + outline: none; + border: 0; + padding: 0; + margin: 0; + border-radius: 3px; + text-align: center; + text-transform: uppercase; + font-weight: inherit; + font-style: inherit; + font-variant: inherit; + font-size: inherit; + font-family: inherit; + line-height: inherit; + cursor: pointer; + overflow: hidden; } + material-button .material-button-inner { + display: block; + left: 0; + top: 0; + width: 100%; + height: 100%; + background: transparent; + border: none; + color: inherit; + outline: none; + text-transform: inherit; + font-weight: inherit; + font-style: inherit; + font-variant: inherit; + font-size: inherit; + font-family: inherit; + line-height: inherit; + white-space: nowrap; + padding: 4px; } + material-button[href] { + pointer-events: none; } + material-button[href] .material-button-inner { + pointer-events: auto; } + material-button.material-button-colored { + color: #4285f4; + fill: #4285f4; } + material-button.material-button-cornered { + border-radius: 0; } + material-button:hover:not([disabled]), material-button.focus { + background-color: #e4e4e4; } + material-button[disabled] { + background-color: #eaeaea !important; + color: #a8a8a8 !important; + cursor: auto; } + material-button.material-button-icon { + padding: 0; + background: none; } + material-button.material-button-raised { + background-color: #dfdfe9; + -webkit-transition: 0.2s linear; + -webkit-transition-property: box-shadow, -webkit-transform, background-color; + transition: 0.2s linear transform; + transition-property: box-shadow, transform, background-color; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); } + material-button.material-button-raised:hover:not([disabled]), material-button.material-button-raised.focus { + background-color: #d6d6d6; } + material-button.material-button-raised.material-button-colored { + background-color: #4285f4; + color: #fff; } + material-button.material-button-raised.material-button-colored:hover:not([disabled]), material-button.material-button-raised.material-button-colored.focus { + background-color: #3367d6; } + material-button.material-button-fab { + z-index: 2; + width: 56px; + height: 56px; + border-radius: 28px; + border-radius: 50%; + overflow: hidden; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + -webkit-transition: 0.2s linear; + -webkit-transition-property: -webkit-transform, box-shadow; + transition: transform 0.2s linear; + transition-property: transform, box-shadow; } + material-button.material-button-fab.material-button-fab-bottom-right { + top: auto; + right: 28px; + bottom: 28px; + left: auto; + position: absolute; } + material-button.material-button-fab.material-button-fab-bottom-left { + top: auto; + right: auto; + bottom: 28px; + left: 28px; + position: absolute; } + material-button.material-button-fab.material-button-fab-top-right { + top: 28px; + right: 28px; + bottom: auto; + left: auto; + position: absolute; } + material-button.material-button-fab.material-button-fab-top-left { + top: 28px; + right: auto; + bottom: auto; + left: 28px; + position: absolute; } + material-button.material-button-raised.focus, material-button.material-button-raised:hover:not([disabled]), material-button.material-button-fab.focus, material-button.material-button-fab:hover:not([disabled]) { + -webkit-transform: translate3d(0, -1px, 0); + transform: translate3d(0, -1px, 0); } + +.material-toast-open-top material-button.material-button-fab-top-left, .material-toast-open-top material-button.material-button-fab-top-right { + -webkit-transform: translate3d(0, 32px, 0); + transform: translate3d(0, 32px, 0); } + .material-toast-open-top material-button.material-button-fab-top-left.focus, .material-toast-open-top material-button.material-button-fab-top-left:hover:not([disabled]), .material-toast-open-top material-button.material-button-fab-top-right.focus, .material-toast-open-top material-button.material-button-fab-top-right:hover:not([disabled]) { + -webkit-transform: translate3d(0, 31px, 0); + transform: translate3d(0, 31px, 0); } + +.material-toast-open-bottom material-button.material-button-fab-bottom-left, .material-toast-open-bottom material-button.material-button-fab-bottom-right { + -webkit-transform: translate3d(0, -32px, 0); + transform: translate3d(0, -32px, 0); } + .material-toast-open-bottom material-button.material-button-fab-bottom-left.focus, .material-toast-open-bottom material-button.material-button-fab-bottom-left:hover, .material-toast-open-bottom material-button.material-button-fab-bottom-right.focus, .material-toast-open-bottom material-button.material-button-fab-bottom-right:hover { + -webkit-transform: translate3d(0, -33px, 0); + transform: translate3d(0, -33px, 0); } + +.material-button-group { + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -webkit-flex: 1; + -moz-box-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; + width: 100%; } + +.material-button-group > .material-button { + -webkit-box-flex: 1; + -webkit-flex: 1; + -moz-box-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; + display: block; + overflow: hidden; + width: 0; + border-width: 1px 0px 1px 1px; + border-radius: 0; + text-align: center; + text-overflow: ellipsis; + white-space: nowrap; } + .material-button-group > .material-button:first-child { + border-radius: 2px 0px 0px 2px; } + .material-button-group > .material-button:last-child { + border-right-width: 1px; + border-radius: 0px 2px 2px 0px; } + +.material-dialog-container { + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + -moz-justify-content: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + position: fixed; + left: 0; + top: 0; + right: 0; + bottom: 0; + z-index: 10; } + .material-dialog-container.active { + -webkit-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); + transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); + -webkit-transform: translate3d(0, 0, 0) scale(1); + transform: translate3d(0, 0, 0) scale(1); + opacity: 1; } + .material-dialog-container.ng-leave.ng-leave-active { + -webkit-transform: translate3d(0, 100%, 0) scale(0.5); + transform: translate3d(0, 100%, 0) scale(0.5); + opacity: 0; } + +material-dialog { + min-width: 240px; + max-width: 80%; + max-height: 80%; + margin: auto; + background-color: #fff; + border-radius: 4px; + box-shadow: 0px 27px 24px 0 rgba(0, 0, 0, 0.2); + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -webkit-flex-direction: column; + -moz-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } + material-dialog .dialog-content { + -webkit-order: 1; + -ms-flex-order: 1; + order: 1; + padding: 24px; + overflow: auto; + -webkit-overflow-scrolling: touch; } + material-dialog .dialog-actions { + -webkit-order: 2; + -ms-flex-order: 2; + order: 2; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + -webkit-box-pack: end; + -ms-flex-pack: end; + -webkit-justify-content: flex-end; + -moz-justify-content: flex-end; + justify-content: flex-end; + padding: 8px 16px; + min-height: 40px; } + material-dialog.dialog-content-overflow .dialog-actions { + border-top: 1px solid #eee; } + +material-divider { + display: block; + border-top: 1px solid rgba(0, 0, 0, 0.12) !important; + margin: 0; } + material-divider[inset] { + margin-left: 80px; } + +material-checkbox { + display: block; + margin: 15px; + white-space: nowrap; + cursor: pointer; + outline: none; } + material-checkbox .material-container { + position: relative; + top: 4px; + display: inline-block; + width: 18px; + height: 18px; } + material-checkbox .material-container .material-ripple-container { + position: absolute; + display: block; + width: 54px; + height: 54px; + left: -18px; + top: -18px; } + material-checkbox .material-container .material-ripple { + color: #0f9d58; } + material-checkbox.material-checked .material-ripple { + color: #5a5f5a; } + material-checkbox .circle { + border-radius: 50%; } + material-checkbox .material-icon { + -webkit-transition: 240ms; + transition: 240ms; + position: absolute; + top: 0; + left: 0; + width: 18px; + height: 18px; + border: 2px solid #6D6D6D; + border-radius: 2px; } + material-checkbox.material-checked .material-icon { + border-color: #4CAF50; + background: #4CAF50; } + material-checkbox[disabled] { + cursor: no-drop; } + material-checkbox[disabled] .material-icon { + border-color: #a0a0a0; } + material-checkbox[disabled].material-checked .material-icon { + background: #a0a0a0; } + material-checkbox:focus .material-label { + border-color: black; } + material-checkbox.material-checked .material-icon:after { + -webkit-transform: rotate(45deg); + transform: rotate(45deg); + position: absolute; + left: 4px; + display: table; + width: 6px; + height: 12px; + border: 2px solid #eeeeee; + border-top: 0; + border-left: 0; + content: ' '; } + material-checkbox .material-label { + border: 1px dotted transparent; + position: relative; + display: inline-block; + margin-left: 10px; + vertical-align: middle; + white-space: normal; + pointer-events: none; } + +material-card { + display: block; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.26); + margin: 8px; + padding: 8px; + border-radius: 2px; } + material-card .material-card-image { + display: block; + width: 100%; + border-radius: 2px 2px 0 0; } + +material-radio-button, .material-switch-thumb { + display: block; + margin: 15px; + white-space: nowrap; + cursor: pointer; } + material-radio-button input, .material-switch-thumb input { + display: none; } + material-radio-button .material-container, .material-switch-thumb .material-container { + position: relative; + top: 4px; + display: inline-block; + width: 16px; + height: 16px; + cursor: pointer; } + material-radio-button .material-container .material-ripple-container, .material-switch-thumb .material-container .material-ripple-container { + position: absolute; + display: block; + width: 48px; + height: 48px; + left: -16px; + top: -16px; } + material-radio-button .material-container .material-ripple, .material-switch-thumb .material-container .material-ripple { + color: #0f9d58; } + material-radio-button .material-off, .material-switch-thumb .material-off { + position: absolute; + top: 0px; + left: 0px; + width: 16px; + height: 16px; + border: solid 2px; + border-color: #5a5a5a; + border-radius: 50%; } + material-radio-button .material-on, .material-switch-thumb .material-on { + position: absolute; + top: 0; + left: 0; + width: 16px; + height: 16px; + border-radius: 50%; + background-color: #0f9d58; + transition: -webkit-transform ease 0.28s; + transition: transform ease 0.28s; + -webkit-transform: scale(0); + transform: scale(0); } + material-radio-button.material-checked .material-on, .material-switch-thumb.material-checked .material-on { + -webkit-transform: scale(1.1); + transform: scale(1.1); } + material-radio-button.material-checked .material-ink-ripple, .material-switch-thumb.material-checked .material-ink-ripple { + color: #119957; } + material-radio-button .material-label, .material-switch-thumb .material-label { + position: relative; + display: inline-block; + margin-left: 10px; + vertical-align: middle; + white-space: normal; + pointer-events: none; + width: auto; } + material-radio-button .circle, .material-switch-thumb .circle { + border-radius: 50%; } + +material-radio-group { + border: 1px dotted transparent; + display: block; + outline: none; } + material-radio-group:focus { + border-color: #111111; } + +material-sidenav { + position: absolute; + width: 304px; + bottom: 0; + background-color: white; + -webkit-transition: -webkit-transform 0.3s ease-in-out; + transition: transform 0.3s ease-in-out; } + +.material-sidenav-left, material-sidenav { + left: 0; + top: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); } + .material-sidenav-left.open, material-sidenav.open { + -webkit-transform: translate3d(0%, 0, 0); + transform: translate3d(0%, 0, 0); + z-index: 8; } + +.material-sidenav-right { + left: 100%; + top: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); } + .material-sidenav-right.open { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + z-index: 8; } + +@media (min-width: 960px) { + material-sidenav { + position: static; + -webkit-transform: translate3d(0, 0, 0) !important; + transform: translate3d(0, 0, 0) !important; } + .material-sidenav-backdrop { + display: none !important; } } + +/* + * When sidenav is closed on small screen, show no box shadow + */ +@media (max-width: 960px) { + material-sidenav:not(.open).material-sidenav-left, material-sidenav:not(.open), material-sidenav:not(.open).material-sidenav-right { + box-shadow: none; } } + +@-webkit-keyframes sliderFocusThumb { + 0% { + opacity: 0; + -webkit-transform: scale(0); + transform: scale(0); } + + 50% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 1; } + + 100% { + opacity: 0; } } + +@keyframes sliderFocusThumb { + 0% { + opacity: 0; + -webkit-transform: scale(0); + transform: scale(0); } + + 50% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 1; } + + 100% { + opacity: 0; } } + +material-slider { + height: 48px; + position: relative; + display: block; + margin-left: 4px; + margin-right: 4px; + /** + * Track + */ + /** + * Slider thumb + */ + /* The sign that's focused in discrete mode */ + /** + * The border/background that comes in when focused in non-discrete mode + */ + /* Don't animate left/right while panning */ } + material-slider .slider-track-container { + width: 100%; + position: absolute; + top: 23px; + height: 2px; } + material-slider .slider-track { + position: absolute; + left: 0; + right: 0; + height: 100%; + background: #C8C8C8; } + material-slider .slider-track-fill { + background: #03A9F4; + -webkit-transition: width 0.05s linear; + transition: width 0.05s linear; } + material-slider .slider-track-ticks { + position: absolute; + left: 0; + right: 0; + height: 100%; } + material-slider .slider-thumb-container { + position: absolute; + left: 0; + top: 0; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + transition: transform 0.1s linear; + -webkit-transition: -webkit-transform 0.1s linear; } + material-slider .slider-thumb { + z-index: 1; + position: absolute; + left: -19px; + top: 5px; + width: 38px; + height: 38px; + border-radius: 38px; + -webkit-transform: scale(0.5); + transform: scale(0.5); + -webkit-transition: all 0.1s linear; + transition: all 0.1s linear; } + material-slider .slider-thumb:after { + content: ''; + position: absolute; + left: 3px; + top: 3px; + width: 32px; + height: 32px; + border-radius: 32px; + border: 3px solid #03a9f4; + background-color: #03a9f4; } + material-slider .slider-sign { + /* Center the children (slider-thumb-text) */ + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + -moz-justify-content: center; + justify-content: center; + position: absolute; + left: -14px; + top: -20px; + width: 28px; + height: 28px; + border-radius: 28px; + background-color: #03a9f4; + -webkit-transform: scale(0.4) translate3d(0, 70px, 0); + transform: scale(0.4) translate3d(0, 70px, 0); + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + /* The arrow pointing down under the sign */ } + material-slider .slider-sign:after { + position: absolute; + content: ''; + left: -0px; + border-radius: 16px; + top: 19px; + border-left: 14px solid transparent; + border-right: 14px solid transparent; + border-top: 16px solid #03a9f4; + opacity: 0; + -webkit-transform: translate3d(0, -8px, 0); + transform: translate3d(0, -8px, 0); + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; } + material-slider .slider-sign .slider-thumb-text { + z-index: 1; + color: white; + font-size: 12px; + font-weight: bold; } + material-slider .slider-focus-thumb { + position: absolute; + left: -24px; + top: 0px; + width: 48px; + height: 48px; + border-radius: 48px; + display: none; + opacity: 0; + background-color: #C0C0C0; + -webkit-animation: sliderFocusThumb 0.4s linear; + animation: sliderFocusThumb 0.4s linear; } + material-slider .slider-focus-ring { + position: absolute; + left: -24px; + top: 0px; + width: 48px; + height: 48px; + border-radius: 48px; + border: 2px solid #D6D6D6; + background-color: transparent; + -webkit-transform: scale(0); + transform: scale(0); + -webkit-transition: all 0.2s linear; + transition: all 0.2s linear; } + material-slider .slider-disabled-thumb { + position: absolute; + left: -22px; + top: 2px; + width: 44px; + height: 44px; + border-radius: 44px; + -webkit-transform: scale(0.35); + transform: scale(0.35); + border: 6px solid white; + display: none; } + material-slider.slider-min .slider-thumb:after { + background-color: white; } + material-slider.slider-min .slider-sign { + opacity: 0; } + material-slider:focus { + outline: none; } + material-slider.panning .slider-thumb-container, material-slider.panning .slider-track-fill { + -webkit-transition: none; + transition: none; } + material-slider:not([discrete]) { + /* Hide the sign and ticks in non-discrete mode */ } + material-slider:not([discrete]) .slider-track-ticks, material-slider:not([discrete]) .slider-sign { + display: none; } + material-slider:not([discrete]):not([disabled]):hover .slider-thumb { + -webkit-transform: scale(0.6); + transform: scale(0.6); } + material-slider:not([discrete]):not([disabled]):focus .slider-focus-thumb, material-slider:not([discrete]):not([disabled]).active .slider-focus-thumb { + display: block; } + material-slider:not([discrete]):not([disabled]):focus .slider-focus-ring, material-slider:not([discrete]):not([disabled]).active .slider-focus-ring { + -webkit-transform: scale(1); + transform: scale(1); } + material-slider:not([discrete]):not([disabled]):focus .slider-thumb, material-slider:not([discrete]):not([disabled]).active .slider-thumb { + -webkit-transform: scale(0.85); + transform: scale(0.85); } + material-slider[discrete] { + /* Hide the focus thumb in discrete mode */ } + material-slider[discrete] .slider-focus-thumb, material-slider[discrete] .slider-focus-ring { + display: none; } + material-slider[discrete]:not([disabled]):focus .slider-sign, material-slider[discrete]:not([disabled]):focus .slider-sign:after, material-slider[discrete]:not([disabled]).active .slider-sign, material-slider[discrete]:not([disabled]).active .slider-sign:after { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0) scale(1); + transform: translate3d(0, 0, 0) scale(1); } + material-slider[disabled] .slider-track-fill { + display: none; } + material-slider[disabled] .slider-thumb { + -webkit-transform: scale(0.35); + transform: scale(0.35); } + material-slider[disabled] .slider-thumb:after { + border-color: #BEBEBE; } + material-slider[disabled]:not(.slider-min) .slider-thumb:after { + background-color: #BEBEBE; } + material-slider[disabled] .slider-disabled-thumb { + display: block; } + +material-switch { + display: block; + position: relative; + height: 24px; + margin: 8px; + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + /* used also in _radio-button.scss */ } + material-switch .material-switch-bar { + position: absolute; + left: 16px; + top: 12px; + width: 32px; + height: 1px; + background-color: #5a5a5a; + pointer-events: none; } + material-switch .material-switch-thumb { + position: absolute; + margin: 0; + left: 0; + top: 0; + outline: none; } + material-switch .material-switch-thumb .material-container { + position: absolute; + -webkit-transition: -webkit-transform 0.2s linear; + transition: transform 0.2s linear; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); } + material-switch .material-switch-thumb.material-checked .material-container { + -webkit-transform: translate3d(48px, 0, 0); + transform: translate3d(48px, 0, 0); } + material-switch .material-switch-thumb:focus .material-label { + border: 1px dotted black; } + material-switch .material-switch-thumb .material-label { + margin-left: 72px; } + +label { + display: block; + font-size: 0.85em; } + +textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] { + display: block; + border-width: 0 0 1px 0; + line-height: 30px; + font-size: 0.85em; } + textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus { + outline: 0; } + +input, textarea { + background: none; } + input:-ms-input-placeholder, textarea:-ms-input-placeholder { + color: #a4a4a4; } + input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { + color: #a4a4a4; } + +material-input-group, .material-input-group { + margin: 10px 0 10px 0; + position: relative; } + material-input-group input, material-input-group textarea, .material-input-group input, .material-input-group textarea { + -webkit-transition: all ease-out 300ms; + transition: all ease-out 300ms; + color: #111111; } + material-input-group.material-input-group-inverted input, .material-input-group.material-input-group-inverted input { + color: #f1f1f1; } + material-input-group label, .material-input-group label { + -webkit-font-smoothing: antialiased; + z-index: 1; + -webkit-transform: translate3d(0, 30px, 0); + transform: translate3d(0, 30px, 0); + -webkit-transform-origin: left center; + transform-origin: left center; + -webkit-transition: all ease-out 300ms; + transition: all ease-out 300ms; + color: #a4a4a4; } + material-input-group label:hover, .material-input-group label:hover { + cursor: text; } + material-input-group.material-input-focused input, material-input-group.material-input-has-value input, .material-input-group.material-input-focused input, .material-input-group.material-input-has-value input { + border-bottom-width: 2px; } + material-input-group.material-input-focused label, material-input-group.material-input-has-value label, .material-input-group.material-input-focused label, .material-input-group.material-input-has-value label { + -webkit-transform: translate3d(0, 0, 0) scale(0.85); + transform: translate3d(0, 0, 0) scale(0.85); } + +material-toast { + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + background: #323232; + color: #f1f1f1; + min-height: 48px; + padding-left: 24px; + padding-right: 24px; + height: 24px; + box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); + border-radius: 2px; + font-size: 14px; + cursor: default; + position: fixed; + max-width: 879px; + max-height: 40px; + z-index: 9; + opacity: 1; + -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg); + transform: translate3d(0, 0, 0) rotateZ(0deg); + -webkit-transition: all 0.2s linear; + transition: all 0.2s linear; + /* Transition faster when swiping */ } + material-toast material-button { + color: white; } + material-toast.capsule { + border-radius: 24px; } + material-toast.swipeleft, material-toast.swiperight, material-toast.swipeup, material-toast.swipedown { + -webkit-transition: all 0.15s ease-out; + transition: all 0.15s ease-out; } + material-toast.ng-enter { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + opacity: 0; } + material-toast.ng-enter.top { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); } + material-toast.ng-enter.ng-enter-active { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; } + material-toast.ng-leave.ng-leave-active { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); } + material-toast.ng-leave.ng-leave-active.top { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); } + material-toast.ng-leave.ng-leave-active.swipeleft { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); } + material-toast.ng-leave.ng-leave-active.swiperight { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); } + +.toast-action { + line-height: 19px; + color: #eeff41; + padding-left: 24px; + cursor: pointer; + text-transform: uppercase; + float: right; } + +@media (max-width: 600px) { + material-toast { + left: 0; + right: 0; + width: 100%; + max-width: 100%; + min-width: 0; + border-radius: 0; + bottom: 0; } + material-toast.top { + bottom: auto; + top: 0; } } + +@media (min-width: 600px) { + material-toast { + min-width: 288px; + bottom: 8px; + left: 8px; + /* + * When the toast doesn't take up the whole screen, + * make it rotate when the user swipes it away + */ } + material-toast.right { + left: auto; + right: 8px; } + material-toast.top { + bottom: auto; + top: 8px; } + material-toast.ng-leave.ng-leave-active.swipeleft { + -webkit-transform: translate3d(-100%, 25%, 0) rotateZ(-15deg); + transform: translate3d(-100%, 25%, 0) rotateZ(-15deg); } + material-toast.ng-leave.ng-leave-active.swiperight { + -webkit-transform: translate3d(100%, 25%, 0) rotateZ(15deg); + transform: translate3d(100%, 25%, 0) rotateZ(15deg); } + material-toast.ng-leave.ng-leave-active.top.swipeleft { + -webkit-transform: translate3d(-100%, 0, 0) rotateZ(-15deg); + transform: translate3d(-100%, 0, 0) rotateZ(-15deg); } + material-toast.ng-leave.ng-leave-active.top.swiperight { + -webkit-transform: translate3d(100%, 0, 0) rotateZ(15deg); + transform: translate3d(100%, 0, 0) rotateZ(15deg); } } + +material-toolbar { + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-direction: normal; + -webkit-box-orient: vertical; + -webkit-flex-direction: column; + -moz-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + position: relative; + z-index: 2; + font-size: 1.3em; + min-height: 64px; + width: 100%; } + material-toolbar.material-tall { + height: 192px; } + material-toolbar.material-medium-tall { + height: 88px; } + material-toolbar.material-medium-tall .material-toolbar-tools { + height: 48px; } + material-toolbar .material-indent { + margin-left: 64px; } + +.material-toolbar-tools { + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + -webkit-box-direction: normal; + -webkit-box-orient: horizontal; + -webkit-flex-direction: row; + -moz-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + width: 100%; + height: 64px; + font-size: inherit; + font-weight: normal; + padding: 0 10px; + margin: 0; } + .material-toolbar-tools > * { + font-size: inherit; + margin: 0 8px; } + .material-toolbar-tools h2, .material-toolbar-tools h3 { + font-weight: normal; } + .material-toolbar-tools a { + color: inherit; + text-decoration: none; } + .material-toolbar-tools material-button { + font-size: 16px; } + +material-tabs { + display: block; + width: 100%; + font-weight: 500; + font-size: 14px; } + +.tabs-header { + width: 100%; + height: 48px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + position: relative; + background-color: #4285F4; } + +.tab-paginator { + z-index: 1; + margin-right: -2px; + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + -moz-justify-content: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + width: 32px; + min-height: 100%; + position: absolute; + /* TODO Once we have a better way to inline svg images, change this + to use svgs correctly */ } + .tab-paginator.prev { + left: 0; } + .tab-paginator.next { + right: 0; } + .tab-paginator.active.prev { + background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE3LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPiA8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPiA8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPiA8ZyBpZD0iSGVhZGVyIj4gPGc+IDxyZWN0IHg9Ii02MTgiIHk9Ii0xMjA4IiBmaWxsPSJub25lIiB3aWR0aD0iMTQwMCIgaGVpZ2h0PSIzNjAwIi8+IDwvZz4gPC9nPiA8ZyBpZD0iTGFiZWwiPiA8L2c+IDxnIGlkPSJJY29uIj4gPGc+IDxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyIAkJIiBzdHlsZT0iZmlsbDp3aGl0ZTsiLz4gPHJlY3QgZmlsbD0ibm9uZSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+IDwvZz4gPC9nPiA8ZyBpZD0iR3JpZCIgZGlzcGxheT0ibm9uZSI+IDxnIGRpc3BsYXk9ImlubGluZSI+IDwvZz4gPC9nPiA8L3N2Zz4NCg=='); } + .tab-paginator.active.next { + background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE3LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPiA8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPiA8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPiA8ZyBpZD0iSGVhZGVyIj4gPGc+IDxyZWN0IHg9Ii02MTgiIHk9Ii0xMzM2IiBmaWxsPSJub25lIiB3aWR0aD0iMTQwMCIgaGVpZ2h0PSIzNjAwIi8+IDwvZz4gPC9nPiA8ZyBpZD0iTGFiZWwiPiA8L2c+IDxnIGlkPSJJY29uIj4gPGc+IDxwb2x5Z29uIHBvaW50cz0iMTAsNiA4LjYsNy40IDEzLjIsMTIgOC42LDE2LjYgMTAsMTggMTYsMTIgCQkiIHN0eWxlPSJmaWxsOndoaXRlOyIvPiA8cmVjdCBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz4gPC9nPiA8L2c+IDxnIGlkPSJHcmlkIiBkaXNwbGF5PSJub25lIj4gPGcgZGlzcGxheT0iaW5saW5lIj4gPC9nPiA8L2c+IDwvc3ZnPg0K'); } + .tab-paginator.active { + cursor: pointer; + background-repeat: no-repeat; + background-position: center center; } + +/* If `center` justified, change to left-justify if paginating */ +material-tabs[center] .tabs-header:not(.tab-paginating) .tabs-header-items { + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + -moz-justify-content: center; + justify-content: center; } + +.tab-paginating .tabs-header-items-container { + left: 32px; + right: 32px; } + +.tabs-header-items-container { + overflow: hidden; + position: absolute; + left: 0; + right: 0; + height: 100%; + white-space: nowrap; + font-size: 16px; + font-weight: 500; + text-transform: uppercase; + margin: auto; } + .tabs-header-items-container .tabs-header-items { + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: -webkit-transform 0.2s linear; + transition: transform 0.2s linear; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + width: 100%; + height: 100%; } + +.tabs-content { + overflow: hidden; + width: 100%; } + +material-ink-bar { + left: 0; + bottom: 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } + material-ink-bar.animate { + -webkit-transition: all 0.2s linear; + transition: all 0.2s linear; } + material-ink-bar.easeInOut { + -webkit-transition: all 500ms cubic-bezier(0.065, 0.485, 0.625, 0.85); + transition: all 500ms cubic-bezier(0.065, 0.485, 0.625, 0.85); + -webkit-transition-timing-function: all 500ms cubic-bezier(0.065, 0.485, 0.625, 0.85); + transition-timing-function: all 500ms cubic-bezier(0.065, 0.485, 0.625, 0.85); } + +material-tab { + -webkit-box-flex: 1; + -webkit-flex: 1; + -moz-box-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + -moz-justify-content: center; + justify-content: center; + position: relative; + z-index: 0; + overflow: hidden; + height: 100%; + text-align: center; + cursor: pointer; + min-width: 96px; + border: 1px dotted transparent; + color: #9FC1FB; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } + material-tab.active { + color: white; } + material-tab[disabled] { + color: #6a6a6a; + opacity: 0.5; + cursor: default; } + material-tab:focus { + border-color: #111111; + outline: none; } + material-tab material-tab-label { + -webkit-box-flex: 1; + -webkit-flex: 1; + -moz-box-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; + z-index: 100; + opacity: 1; + overflow: hidden; + text-overflow: ellipsis; } + material-tab .material-ripple-container { + color: #ffff85; } + +shadow { + box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2); } + +material-item-content { + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -moz-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-align-items: center; + align-items: center; + -webkit-box-direction: normal; + -webkit-box-orient: horizontal; + -webkit-flex-direction: row; + -moz-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + position: relative; + padding: 0px 0px 0px 0px; } + +/** + * The left tile for a list item. + */ +.material-tile-left { + min-width: 56px; + margin-right: -16px; } + +/** + * The center content tile for a list item. + */ +.material-tile-content { + -webkit-box-flex: 1; + -webkit-flex: 1; + -moz-box-flex: 1; + -moz-flex: 1; + -ms-flex: 1; + flex: 1; + padding: 16px; + text-overflow: ellipsis; } + .material-tile-content h2 { + margin: 0 0 3px 0; + font-weight: 400; + font-size: 1.1em; } + .material-tile-content h3 { + margin: 0 0 3px 0; + font-weight: 400; + font-size: 0.9em; } + .material-tile-content p { + margin: 0 0 3px 0; + font-size: 0.75em; } + +/** + * The right tile for a list item. + */ +.material-tile-right { + padding-right: 0px; } + +material-divider { + display: block; + border-top: 1px solid rgba(0, 0, 0, 0.12) !important; + margin: 0; } + material-divider[inset] { + margin-left: 80px; } + +.material-whiteframe-z1 { + z-index: 1; + box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.26); } + +.material-whiteframe-z2 { + z-index: 2; + box-shadow: 0px 8px 17px rgba(0, 0, 0, 0.2); } + +.material-whiteframe-z3 { + z-index: 3; + box-shadow: 0px 17px 50px rgba(0, 0, 0, 0.19); } + +.material-whiteframe-z4 { + z-index: 4; + box-shadow: 0px 16px 28px 0 rgba(0, 0, 0, 0.22); } + +.material-whiteframe-z5 { + z-index: 5; + box-shadow: 0px 27px 24px 0 rgba(0, 0, 0, 0.2); } + +material-linear-progress { + display: block; + width: 100%; + height: 5px; } + material-linear-progress .container { + overflow: hidden; + position: relative; + height: 0; + background-color: #d0d9ff; + top: 5px; + -webkit-transition: all 0.3s linear; + transition: all 0.3s linear; } + material-linear-progress .container.ready { + height: 5px; + top: 0; } + material-linear-progress .bar { + height: 5px; + background-color: #5677fc; + position: absolute; } + material-linear-progress .bar1, material-linear-progress .bar2 { + -webkit-transition: width 0.2s linear; + transition: width 0.2s linear; } + material-linear-progress[mode=determinate] .bar1 { + display: none; } + material-linear-progress[mode=indeterminate] .bar1 { + left: 50%; + width: 10%; + -webkit-animation: indeterminate1 5s infinite linear; + animation: indeterminate1 5s infinite linear; } + material-linear-progress[mode=indeterminate] .bar2 { + left: 0%; + width: 0%; + -webkit-animation: indeterminate2 5s infinite linear; + animation: indeterminate2 5s infinite linear; } + material-linear-progress[mode=buffer] .container { + background-color: transparent; } + material-linear-progress[mode=buffer] .dashed:before { + content: ""; + display: block; + height: 5px; + width: 100%; + margin-top: 0px; + position: absolute; + background: radial-gradient(#d0d9ff 0%, #d0d9ff 20%, transparent 50%); + background-color: transparent; + background-size: 10px 10px; + background-position: 0px -23px; + -webkit-animation: buffer 3s infinite linear; + animation: buffer 3s infinite linear; } + material-linear-progress[mode=buffer] .bar1 { + background-color: #d0d9ff; } + material-linear-progress[mode=query] .bar2 { + left: 50%; + width: 10%; + -webkit-animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1); + animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1); } + +@-webkit-keyframes indeterminate1 { + 0% { + width: 0%; + left: 0%; } + + 10% { + width: 30%; + left: 100%; } + + 19.99% { + width: 30%; + left: 100%; } + + 20% { + width: 0%; + left: 0%; } + + 30% { + width: 80%; + left: 100%; } + + 30.01% { + width: 0%; + left: 0%; } + + 40% { + width: 5%; + left: 30%; } + + 50% { + width: 50%; + left: 100%; } + + 50.01% { + width: 0%; + left: 0%; } + + 60% { + width: 60%; + left: 20%; } + + 70% { + width: 5%; + left: 100%; } + + 70.01% { + width: 0%; + left: 0%; } + + 80% { + width: 50%; + left: 30%; } + + 90% { + width: 10%; + left: 80%; } + + 100% { + width: 20%; + left: 100%; } } + +@keyframes indeterminate1 { + 0% { + width: 0%; + left: 0%; } + + 10% { + width: 30%; + left: 100%; } + + 19.99% { + width: 30%; + left: 100%; } + + 20% { + width: 0%; + left: 0%; } + + 30% { + width: 80%; + left: 100%; } + + 30.01% { + width: 0%; + left: 0%; } + + 40% { + width: 5%; + left: 30%; } + + 50% { + width: 50%; + left: 100%; } + + 50.01% { + width: 0%; + left: 0%; } + + 60% { + width: 60%; + left: 20%; } + + 70% { + width: 5%; + left: 100%; } + + 70.01% { + width: 0%; + left: 0%; } + + 80% { + width: 50%; + left: 30%; } + + 90% { + width: 10%; + left: 80%; } + + 100% { + width: 20%; + left: 100%; } } + +@-webkit-keyframes indeterminate2 { + 0% { + width: 0%; + left: 0%; } + + 10% { + width: 60%; } + + 19.99% { + width: 40%; + left: 100%; } + + 20% { + width: 0%; + left: 0%; } + + 25% { + width: 10%; + left: 10%; } + + 30% { + width: 40%; + left: 30%; } + + 40% { + width: 60%; + left: 100%; } + + 40.01% { + width: 0%; + left: 0%; } + + 50% { + width: 10%; + left: 40%; } + + 60% { + width: 30%; + left: 100%; } + + 60.01% { + width: 0%; + left: 0%; } + + 70% { + width: 10%; + left: 40%; } + + 80% { + width: 5%; + left: 100%; } + + 80.01% { + width: 0%; + left: 0%; } + + 90% { + width: 70%; + left: 10%; } + + 100% { + width: 10%; + left: 100%; } } + +@keyframes indeterminate2 { + 0% { + width: 0%; + left: 0%; } + + 10% { + width: 60%; } + + 19.99% { + width: 40%; + left: 100%; } + + 20% { + width: 0%; + left: 0%; } + + 25% { + width: 10%; + left: 10%; } + + 30% { + width: 40%; + left: 30%; } + + 40% { + width: 60%; + left: 100%; } + + 40.01% { + width: 0%; + left: 0%; } + + 50% { + width: 10%; + left: 40%; } + + 60% { + width: 30%; + left: 100%; } + + 60.01% { + width: 0%; + left: 0%; } + + 70% { + width: 10%; + left: 40%; } + + 80% { + width: 5%; + left: 100%; } + + 80.01% { + width: 0%; + left: 0%; } + + 90% { + width: 70%; + left: 10%; } + + 100% { + width: 10%; + left: 100%; } } + +@-webkit-keyframes query { + 0% { + width: 30%; + left: 70%; } + + 100% { + width: 0%; + left: 0%; + opacity: 0; } } + +@keyframes query { + 0% { + width: 30%; + left: 70%; } + + 100% { + width: 0%; + left: 0%; + opacity: 0; } } + +@-webkit-keyframes buffer { + 0% { + opacity: 1; + background-position: 0px -23px; } + + 50% { + opacity: 0; } + + 100% { + opacity: 1; + background-position: -200px -23px; } } + +@keyframes buffer { + 0% { + opacity: 1; + background-position: 0px -23px; } + + 50% { + opacity: 0; } + + 100% { + opacity: 1; + background-position: -200px -23px; } } diff --git a/public/app/bower_components/angular-material/angular-material.js b/public/app/bower_components/angular-material/angular-material.js new file mode 100644 index 00000000..68218a12 --- /dev/null +++ b/public/app/bower_components/angular-material/angular-material.js @@ -0,0 +1,5059 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v0.0.3 + */ +(function(){ +angular.module('ngMaterial', [ 'ng', 'ngAnimate', 'material.services.attrBind', 'material.services.compiler', 'material.services.registry', 'material.services.throttle', 'material.decorators', 'material.services.aria', "material.components.button","material.components.card","material.components.checkbox","material.components.content","material.components.dialog","material.components.divider","material.components.icon","material.components.linearProgress","material.components.list","material.components.radioButton","material.components.sidenav","material.components.slider","material.components.switch","material.components.tabs","material.components.textField","material.components.toast","material.components.toolbar","material.components.whiteframe"]); +/* + * iterator is a list facade to easily support iteration and accessors + * + * @param items Array list which this iterator will enumerate + * @param reloop Boolean enables iterator to consider the list as an endless reloop + */ +function iterator(items, reloop) { + + reloop = !!reloop; + + var _items = items || [ ]; + + // Published API + + return { + + items: getItems, + count: count, + + inRange: inRange, + contains: contains, + indexOf: indexOf, + itemAt: itemAt, + + findBy: findBy, + + add: add, + remove: remove, + + first: first, + last: last, + next: next, + previous: previous, + + hasPrevious:hasPrevious, + hasNext: hasNext + + }; + + /* + * Publish copy of the enumerable set + * @returns {Array|*} + */ + function getItems() { + return [].concat(_items); + } + + /* + * Determine length of the list + * @returns {Array.length|*|number} + */ + function count() { + return _items.length; + } + + /* + * Is the index specified valid + * @param index + * @returns {Array.length|*|number|boolean} + */ + function inRange(index) { + return _items.length && ( index > -1 ) && (index < _items.length ); + } + + /* + * Can the iterator proceed to the next item in the list; relative to + * the specified item. + * + * @param tab + * @returns {Array.length|*|number|boolean} + */ + function hasNext(tab) { + return tab ? inRange(indexOf(tab) + 1) : false; + } + + /* + * Can the iterator proceed to the previous item in the list; relative to + * the specified item. + * + * @param tab + * @returns {Array.length|*|number|boolean} + */ + function hasPrevious(tab) { + return tab ? inRange(indexOf(tab) - 1) : false; + } + + /* + * Get item at specified index/position + * @param index + * @returns {*} + */ + function itemAt(index) { + return inRange(index) ? _items[index] : null; + } + + /* + * Find all elements matching the key/value pair + * otherwise return null + * + * @param val + * @param key + * + * @return array + */ + function findBy(key, val) { + + /* + * Implement of e6 Array::find() + * @param list + * @param callback + * @returns {*} + */ + function find(list, callback) { + var results = [ ]; + + angular.forEach(list, function (it, index) { + var val = callback.apply(null, [it, index, list]); + if (val) { + results.push(val); + } + }); + + return results.length ? results : null; + } + + // Use iterator callback to matches element key value + // NOTE: searches full prototype chain + + return find(_items, function (el) { + return ( el[key] == val ) ? el : null; + }); + + } + + /* + * Add item to list + * @param it + * @param index + * @returns {*} + */ + function add(it, index) { + if ( !it ) return -1; + + if (!angular.isDefined(index)) { + index = _items.length; + } + + _items.splice(index, 0, it); + + return indexOf(it); + } + + /* + * Remove it from list... + * @param it + */ + function remove(it) { + if ( contains(it) ){ + _items.splice(indexOf(it), 1); + } + } + + /* + * Get the zero-based index of the target tab + * @param it + * @returns {*} + */ + function indexOf(it) { + return _items.indexOf(it); + } + + /* + * Boolean existence check + * @param it + * @returns {boolean} + */ + function contains(it) { + return it && (indexOf(it) > -1); + } + + /* + * Find the next item + * @param tab + * @returns {*} + */ + function next(it, validate) { + + if (contains(it)) { + var index = indexOf(it) + 1, + found = inRange(index) ? _items[ index ] : reloop ? first() : null, + skip = found && validate && !validate(found); + + return skip ? next(found, validate) : found; + } + + return null; + } + + /* + * Find the previous item + * @param tab + * @returns {*} + */ + function previous(it, validate) { + + if (contains(it)) { + var index = indexOf(it) - 1, + found = inRange(index) ? _items[ index ] : reloop ? last() : null, + skip = found && validate && !validate(found); + + return skip ? previous(found, validate) : found; + } + + return null; + } + + /* + * Return first item in the list + * @returns {*} + */ + function first() { + return _items.length ? _items[0] : null; + } + + /* + * Return last item in the list... + * @returns {*} + */ + function last() { + return _items.length ? _items[_items.length - 1] : null; + } + +} + + + + +var SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g; + +var Util = { + /** + * Checks to see if the element or its parents are disabled. + * @param element DOM element to start scanning for `disabled` attribute + * @param limit Number of parent levels that should be scanned; defaults to 4 + * @returns {*} Boolean + */ + isDisabled : function isDisabled(element, limit) { + return Util.ancestorHasAttribute( element, 'disabled', limit ); + }, + /** + * Checks if the specified element has an ancestor (ancestor being parent, grandparent, etc) + * with the given attribute defined. + * + * Also pass in an optional `limit` (levels of ancestry to scan), default 8. + */ + ancestorHasAttribute: function ancestorHasAttribute(element, attrName, limit) { + limit = limit || 4; + var current = element; + while (limit-- && current.length) { + if (current[0].hasAttribute && current[0].hasAttribute(attrName)) { + return true; + } + current = current.parent(); + } + return false; + }, + + /** + * Checks if two elements have the same parent + */ + elementIsSibling: function elementIsSibling(element, otherElement) { + return element.parent().length && + (element.parent()[0] === otherElement.parent()[0]); + }, + + /** + * Converts snake_case to camelCase. + * @param name Name to normalize + */ + camelCase: function camelCase(name) { + return name. + replace(SPECIAL_CHARS_REGEXP, function(_, separator, letter, offset) { + return offset ? letter.toUpperCase() : letter; + }); + }, + /** + * Selects 'n' words from a string + * for use in an HTML attribute + */ + stringFromTextBody: function stringFromTextBody(textBody, numWords) { + var string = textBody.trim(); + + if(string.split(/\s+/).length > numWords){ + string = textBody.split(/\s+/).slice(1, (numWords + 1)).join(" ") + '...'; + } + return string; + }, + + /** + * Spread the arguments as individual parameters to the target function. + * @param targetFn + * @param scope + * @returns {Function} + */ + spread : function ( targetFn, scope ) { + return function() + { + var params = Array.prototype.slice.call(arguments, 0); + targetFn.apply(scope, params); + }; + }, + + /** + * Publish the iterator facade to easily support iteration and accessors + * @see iterator.js + */ + iterator : iterator, + + css : { + /** + * For any positional fields, ensure that a `px` suffix + * is provided. + * @param target + * @returns {*} + */ + appendSuffix : function (target) { + var styles = 'top left right bottom ' + + 'x y width height ' + + 'border-width border-radius borderWidth borderRadius' + + 'margin margin-top margin-bottom margin-left margin-right ' + + 'padding padding-left padding-right padding-top padding-bottom'.split(' '); + + angular.forEach(target, function(val, key) { + var isPositional = styles.indexOf(key) > -1; + var hasPx = String(val).indexOf('px') > -1; + + if (isPositional && !hasPx) { + target[key] = val + 'px'; + } + }); + + return target; + } + + }, + + // Returns a function, that, as long as it continues to be invoked, will not + // be triggered. The function will be called after it stops being called for + // N milliseconds. If `immediate` is passed, trigger the function on the + // leading edge, instead of the trailing. + debounce: function debounce(func, wait, immediate) { + var timeout; + return function() { + var context = this, args = arguments; + clearTimeout(timeout); + timeout = setTimeout(function() { + timeout = null; + if (!immediate) func.apply(context, args); + }, wait); + if (immediate && !timeout) func.apply(context, args); + }; + } + + +}; + +/* + * Since removing jQuery from the demos, some code that uses `element.focus()` is broken. + * + * We need to add `element.focus()`, because it's testable unlike `element[0].focus`. + * + * TODO(ajoslin): This should be added in a better place later. + */ +angular.element.prototype.focus = angular.element.prototype.focus || function() { + if (this.length) { + this[0].focus(); + } + return this; +}; + +var Constant = { + ARIA : { + ROLE : { + BUTTON : 'button', + CHECKBOX : 'checkbox', + DIALOG : 'dialog', + LIST : 'list', + LIST_ITEM : 'listitem', + RADIO : 'radio', + RADIO_GROUP : 'radiogroup', + SLIDER : 'slider', + TAB_LIST : 'tablist', + TAB : 'tab', + TAB_PANEL : 'tabpanel' + }, + PROPERTY : { + CHECKED : 'aria-checked', + HIDDEN : 'aria-hidden', + EXPANDED : 'aria-expanded', + LABEL: 'aria-label', + SELECTED : 'aria-selected', + LABEL_BY : 'aria-labelledby' + }, + STATE: {} + }, + KEY_CODE : { + ESCAPE : 27, + SPACE : 32, + LEFT_ARROW : 37, + RIGHT_ARROW : 39, + ENTER: 13 + }, + EVENTS : { + SCOPE_DESTROY : '$destroy', + TABS_CHANGED : '$materialTabsChanged', + FOCUS_CHANGED : '$materialFocusChanged', + WINDOW_RESIZE : 'resize', + KEY_DOWN : 'keydown', + CLICK : 'click' + } +}; + +/** + * Alias shortcuts... + */ +var EVENT = Constant.EVENTS; +var KEY = Constant.KEY_CODE; + +/** + * @ngdoc module + * @name material.components.animate + * @description + * + * Ink and Popup Effects + */ +angular.module('material.animations', [ + 'material.services.throttle' +]) + .service('$materialEffects', [ + '$rootElement', + '$$rAF', + '$sniffer', + '$q', + MaterialEffects + ]); + +/** + * @ngdoc service + * @name $materialEffects + * @module material.components.animate + * + * @description + * The `$materialEffects` service provides a simple API for various + * Material Design effects. + * + * @returns A `$materialEffects` object with the following properties: + * - `{function(element,styles,duration)}` `inkBar` - starts ink bar + * animation on specified DOM element + * - `{function(element,parentElement,clickElement)}` `popIn` - animated show of element overlayed on parent element + * - `{function(element,parentElement)}` `popOut` - animated close of popup overlay + * + */ +function MaterialEffects($rootElement, $$rAF, $sniffer, $q) { + + var webkit = /webkit/i.test($sniffer.vendorPrefix); + function vendorProperty(name) { + return webkit ? + ('webkit' + name.charAt(0).toUpperCase() + name.substring(1)) : + name; + } + + var self; + // Publish API for effects... + return self = { + popIn: popIn, + + /* Constants */ + TRANSITIONEND_EVENT: 'transitionend' + (webkit ? ' webkitTransitionEnd' : ''), + ANIMATIONEND_EVENT: 'animationend' + (webkit ? ' webkitAnimationEnd' : ''), + + TRANSFORM: vendorProperty('transform'), + TRANSITION: vendorProperty('transition'), + TRANSITION_DURATION: vendorProperty('transitionDuration'), + ANIMATION_PLAY_STATE: vendorProperty('animationPlayState'), + ANIMATION_DURATION: vendorProperty('animationDuration'), + ANIMATION_NAME: vendorProperty('animationName'), + ANIMATION_TIMING: vendorProperty('animationTimingFunction'), + ANIMATION_DIRECTION: vendorProperty('animationDirection') + }; + + // ********************************************************** + // API Methods + // ********************************************************** + function popIn(element, parentElement, clickElement) { + var deferred = $q.defer(); + parentElement.append(element); + + var startPos; + if (clickElement) { + var clickRect = clickElement[0].getBoundingClientRect(); + startPos = translateString( + clickRect.left - element[0].offsetWidth, + clickRect.top - element[0].offsetHeight, + 0 + ) + ' scale(0.2)'; + } else { + startPos = 'translate3d(0,100%,0) scale(0.5)'; + } + + element + .css(self.TRANSFORM, startPos) + .css('opacity', 0); + + $$rAF(function() { + $$rAF(function() { + element + .addClass('active') + .css(self.TRANSFORM, '') + .css('opacity', '') + .on(self.TRANSITIONEND_EVENT, finished); + }); + }); + + function finished(ev) { + //Make sure this transitionend didn't bubble up from a child + if (ev.target === element[0]) { + element.off(self.TRANSITIONEND_EVENT, finished); + deferred.resolve(); + } + } + + return deferred.promise; + } + + // ********************************************************** + // Utility Methods + // ********************************************************** + + + function translateString(x, y, z) { + return 'translate3d(' + Math.floor(x) + 'px,' + Math.floor(y) + 'px,' + Math.floor(z) + 'px)'; + } + +} + + +(function() { + +angular.module('material.animations') + +/** + * noink/nobar/nostretch directive: make any element that has one of + * these attributes be given a controller, so that other directives can + * `require:` these and see if there is a `no` parent attribute. + * + * @usage + * + * + * + * + * + * + * + * + * myApp.directive('detectNo', function() { + * return { + * require: ['^?noink', ^?nobar'], + * link: function(scope, element, attr, ctrls) { + * var noinkCtrl = ctrls[0]; + * var nobarCtrl = ctrls[1]; + * if (noInkCtrl) { + * alert("the noink flag has been specified on an ancestor!"); + * } + * if (nobarCtrl) { + * alert("the nobar flag has been specified on an ancestor!"); + * } + * } + * }; + * }); + * + */ +.directive({ + noink: attrNoDirective(), + nobar: attrNoDirective(), + nostretch: attrNoDirective() +}); + +function attrNoDirective() { + return function() { + return { + controller: angular.noop + }; + }; +} + +})(); + + +angular.module('material.animations') + +.directive('inkRipple', [ + '$materialInkRipple', + InkRippleDirective +]) + +.factory('$materialInkRipple', [ + '$window', + '$$rAF', + '$materialEffects', + '$timeout', + InkRippleService +]); + +function InkRippleDirective($materialInkRipple) { + return function(scope, element, attr) { + if (attr.inkRipple == 'checkbox') { + $materialInkRipple.attachCheckboxBehavior(element); + } else { + $materialInkRipple.attachButtonBehavior(element); + } + }; +} + +function InkRippleService($window, $$rAF, $materialEffects, $timeout) { + + // TODO fix this. doesn't support touch AND click devices (eg chrome pixel) + var hasTouch = !!('ontouchend' in document); + var POINTERDOWN_EVENT = hasTouch ? 'touchstart' : 'mousedown'; + var POINTERUP_EVENT = hasTouch ? 'touchend touchcancel' : 'mouseup mouseleave'; + + return { + attachButtonBehavior: attachButtonBehavior, + attachCheckboxBehavior: attachCheckboxBehavior, + attach: attach + }; + + function attachButtonBehavior(element) { + return attach(element, { + mousedown: true, + center: false, + animationDuration: 350, + mousedownPauseTime: 175, + animationName: 'inkRippleButton', + animationTimingFunction: 'linear' + }); + } + + function attachCheckboxBehavior(element) { + return attach(element, { + mousedown: true, + center: true, + animationDuration: 300, + mousedownPauseTime: 180, + animationName: 'inkRippleCheckbox', + animationTimingFunction: 'linear' + }); + } + + function attach(element, options) { + options = angular.extend({ + mousedown: true, + hover: true, + focus: true, + center: false, + animationDuration: 300, + mousedownPauseTime: 150, + animationName: '', + animationTimingFunction: 'linear' + }, options || {}); + + var rippleContainer; + var node = element[0]; + + if (options.mousedown) { + enableMousedown(); + } + + function rippleIsAllowed() { + return !element.controller('noink') && !Util.isDisabled(element); + } + + function enableMousedown() { + element.on(POINTERDOWN_EVENT, onPointerDown); + + function onPointerDown(ev) { + if (!rippleIsAllowed()) return; + + + var rippleEl = createRippleFromEvent(ev); + var ripplePauseTimeout = $timeout(pauseRipple, options.mousedownPauseTime, false); + rippleEl.on('$destroy', cancelRipplePause); + + // Stop listening to pointer down for now, until the user lifts their finger/mouse + element.off(POINTERDOWN_EVENT, onPointerDown); + element.on(POINTERUP_EVENT, onPointerUp); + + function onPointerUp() { + cancelRipplePause(); + rippleEl.css($materialEffects.ANIMATION_PLAY_STATE, 'running'); + element.off(POINTERUP_EVENT, onPointerUp); + element.on(POINTERDOWN_EVENT, onPointerDown); + } + function pauseRipple() { + rippleEl.css($materialEffects.ANIMATION_PLAY_STATE, 'paused'); + } + function cancelRipplePause() { + $timeout.cancel(ripplePauseTimeout); + } + } + } + + function createRippleFromEvent(ev) { + ev = ev.touches ? ev.touches[0] : ev; + return createRipple(ev.pageX, ev.pageY, true); + } + function createRipple(left, top, positionsAreAbsolute) { + + var rippleEl = angular.element('
    ') + .css($materialEffects.ANIMATION_DURATION, options.animationDuration + 'ms') + .css($materialEffects.ANIMATION_NAME, options.animationName) + .css($materialEffects.ANIMATION_TIMING, options.animationTimingFunction) + .on($materialEffects.ANIMATIONEND_EVENT, function() { + rippleEl.remove(); + }); + + if (!rippleContainer) { + rippleContainer = angular.element('
    '); + element.append(rippleContainer); + } + rippleContainer.append(rippleEl); + + var containerWidth = rippleContainer.prop('offsetWidth'); + + if (options.center) { + left = containerWidth / 2; + top = rippleContainer.prop('offsetHeight') / 2; + } else if (positionsAreAbsolute) { + var elementRect = node.getBoundingClientRect(); + left -= elementRect.left; + top -= elementRect.top; + } + + var css = { + 'background-color': $window.getComputedStyle(rippleEl[0]).color || + $window.getComputedStyle(node).color, + 'border-radius': (containerWidth / 2) + 'px', + + left: (left - containerWidth / 2) + 'px', + width: containerWidth + 'px', + + top: (top - containerWidth / 2) + 'px', + height: containerWidth + 'px' + }; + css[$materialEffects.ANIMATION_DURATION] = options.fadeoutDuration + 'ms'; + rippleEl.css(css); + + return rippleEl; + } + } + +} + +/** + * @ngdoc module + * @name material.components.buttons + * @description + * + * Button + */ +angular.module('material.components.button', [ + 'material.animations', + 'material.services.aria' +]) + .directive('materialButton', [ + 'ngHrefDirective', + '$materialInkRipple', + '$aria', + MaterialButtonDirective + ]); + +/** + * @ngdoc directive + * @name materialButton + * @order 0 + * + * @restrict E + * + * @description + * `` is a button directive with optional ink ripples (default enabled). + * + * @param {boolean=} noink Flag indicates use of ripple ink effects + * @param {boolean=} disabled Flag indicates if the tab is disabled: not selectable with no ink effects + * @param {string=} type Optional attribute to specific button types (useful for forms); such as 'submit', etc. + * @param {string=} ng-href Optional attribute to support both ARIA and link navigation + * @param {string=} href Optional attribute to support both ARIA and link navigation + * @param {string=} ariaLabel Publish the button label used by screen-readers for accessibility. Defaults to the radio button's text. + * + * @usage + * + * Button + *
    + * + * Button (noInk) + * + *
    + * + * Colored (disabled) + * + *
    + */ +function MaterialButtonDirective(ngHrefDirectives, $materialInkRipple, $aria ) { + var ngHrefDirective = ngHrefDirectives[0]; + + return { + restrict: 'E', + compile: function(element, attr) { + var innerElement; + var attributesToCopy; + + // Add an inner anchor if the element has a `href` or `ngHref` attribute, + // so this element can be clicked like a normal ``. + if (attr.ngHref || attr.href) { + innerElement = angular.element(''); + attributesToCopy = ['ng-href', 'href', 'rel', 'target']; + // Otherwise, just add an inner button element (for form submission etc) + } else { + innerElement = angular.element(' @@ -15978,6 +17066,7 @@ forEach(BOOLEAN_ATTR, function(propName, attrName) { var normalized = directiveNormalize('ng-' + attrName); ngAttributeAliasDirectives[normalized] = function() { return { + restrict: 'A', priority: 100, link: function(scope, element, attr) { scope.$watch(attr[normalized], function ngBooleanAttrWatchAction(value) { @@ -15988,6 +17077,29 @@ forEach(BOOLEAN_ATTR, function(propName, attrName) { }; }); +// aliased input attrs are evaluated +forEach(ALIASED_ATTR, function(htmlAttr, ngAttr) { + ngAttributeAliasDirectives[ngAttr] = function() { + return { + priority: 100, + link: function(scope, element, attr) { + //special case ngPattern when a literal regular expression value + //is used as the expression (this way we don't have to watch anything). + if (ngAttr === "ngPattern" && attr.ngPattern.charAt(0) == "/") { + var match = attr.ngPattern.match(REGEX_STRING_REGEXP); + if (match) { + attr.$set("ngPattern", new RegExp(match[1], match[2])); + return; + } + } + + scope.$watch(attr[ngAttr], function ngAttrAliasWatchAction(value) { + attr.$set(ngAttr, value); + }); + } + }; + }; +}); // ng-src, ng-srcset, ng-href are interpolated forEach(['src', 'srcset', 'href'], function(attrName) { @@ -16007,8 +17119,12 @@ forEach(['src', 'srcset', 'href'], function(attrName) { } attr.$observe(normalized, function(value) { - if (!value) - return; + if (!value) { + if (attrName === 'href') { + attr.$set(name, null); + } + return; + } attr.$set(name, value); @@ -16023,14 +17139,24 @@ forEach(['src', 'srcset', 'href'], function(attrName) { }; }); -/* global -nullFormCtrl */ +/* global -nullFormCtrl, -SUBMITTED_CLASS, addSetValidityMethod: true + */ var nullFormCtrl = { $addControl: noop, + $$renameControl: nullFormRenameControl, $removeControl: noop, $setValidity: noop, + $$setPending: noop, $setDirty: noop, - $setPristine: noop -}; + $setPristine: noop, + $setSubmitted: noop, + $$clearControlValidity: noop +}, +SUBMITTED_CLASS = 'ng-submitted'; + +function nullFormRenameControl(control, name) { + control.$name = name; +} /** * @ngdoc type @@ -16040,13 +17166,13 @@ var nullFormCtrl = { * @property {boolean} $dirty True if user has already interacted with the form. * @property {boolean} $valid True if all of the containing forms and controls are valid. * @property {boolean} $invalid True if at least one containing control or form is invalid. + * @property {boolean} $submitted True if user has submitted the form even if its invalid. * - * @property {Object} $error Is an object hash, containing references to all invalid controls or - * forms, where: + * @property {Object} $error Is an object hash, containing references to controls or + * forms with failing validators, where: * * - keys are validation tokens (error names), - * - values are arrays of controls or forms that are invalid for given error name. - * + * - values are arrays of controls or forms that have a failing validator for given error name. * * Built-in validation tokens: * @@ -16069,33 +17195,62 @@ var nullFormCtrl = { * */ //asks for $scope to fool the BC controller module -FormController.$inject = ['$element', '$attrs', '$scope', '$animate']; -function FormController(element, attrs, $scope, $animate) { +FormController.$inject = ['$element', '$attrs', '$scope', '$animate', '$interpolate']; +function FormController(element, attrs, $scope, $animate, $interpolate) { var form = this, - parentForm = element.parent().controller('form') || nullFormCtrl, - invalidCount = 0, // used to easily determine if we are valid - errors = form.$error = {}, controls = []; + var parentForm = form.$$parentForm = element.parent().controller('form') || nullFormCtrl; + // init state - form.$name = attrs.name || attrs.ngForm; + form.$error = {}; + form.$$success = {}; + form.$pending = undefined; + form.$name = $interpolate(attrs.name || attrs.ngForm || '')($scope); form.$dirty = false; form.$pristine = true; form.$valid = true; form.$invalid = false; + form.$submitted = false; parentForm.$addControl(form); // Setup initial state of the control element.addClass(PRISTINE_CLASS); - toggleValidCss(true); - // convenience method for easy toggling of classes - function toggleValidCss(isValid, validationErrorKey) { - validationErrorKey = validationErrorKey ? '-' + snake_case(validationErrorKey, '-') : ''; - $animate.removeClass(element, (isValid ? INVALID_CLASS : VALID_CLASS) + validationErrorKey); - $animate.addClass(element, (isValid ? VALID_CLASS : INVALID_CLASS) + validationErrorKey); - } + /** + * @ngdoc method + * @name form.FormController#$rollbackViewValue + * + * @description + * Rollback all form controls pending updates to the `$modelValue`. + * + * Updates may be pending by a debounced event or because the input is waiting for a some future + * event defined in `ng-model-options`. This method is typically needed by the reset button of + * a form that uses `ng-model-options` to pend updates. + */ + form.$rollbackViewValue = function() { + forEach(controls, function(control) { + control.$rollbackViewValue(); + }); + }; + + /** + * @ngdoc method + * @name form.FormController#$commitViewValue + * + * @description + * Commit all form controls pending updates to the `$modelValue`. + * + * Updates may be pending by a debounced event or because the input is waiting for a some future + * event defined in `ng-model-options`. This method is rarely needed as `NgModelController` + * usually handles calling this in response to input events. + */ + form.$commitViewValue = function() { + forEach(controls, function(control) { + control.$commitViewValue(); + }); + }; /** * @ngdoc method @@ -16117,6 +17272,17 @@ function FormController(element, attrs, $scope, $animate) { } }; + // Private API: rename a form control + form.$$renameControl = function(control, newName) { + var oldName = control.$name; + + if (form[oldName] === control) { + delete form[oldName]; + } + form[newName] = control; + control.$name = newName; + }; + /** * @ngdoc method * @name form.FormController#$removeControl @@ -16130,13 +17296,17 @@ function FormController(element, attrs, $scope, $animate) { if (control.$name && form[control.$name] === control) { delete form[control.$name]; } - forEach(errors, function(queue, validationToken) { - form.$setValidity(validationToken, true, control); + forEach(form.$pending, function(value, name) { + form.$setValidity(name, null, control); + }); + forEach(form.$error, function(value, name) { + form.$setValidity(name, null, control); }); arrayRemove(controls, control); }; + /** * @ngdoc method * @name form.FormController#$setValidity @@ -16146,43 +17316,33 @@ function FormController(element, attrs, $scope, $animate) { * * This method will also propagate to parent forms. */ - form.$setValidity = function(validationToken, isValid, control) { - var queue = errors[validationToken]; - - if (isValid) { - if (queue) { - arrayRemove(queue, control); - if (!queue.length) { - invalidCount--; - if (!invalidCount) { - toggleValidCss(isValid); - form.$valid = true; - form.$invalid = false; - } - errors[validationToken] = false; - toggleValidCss(true, validationToken); - parentForm.$setValidity(validationToken, true, form); + addSetValidityMethod({ + ctrl: this, + $element: element, + set: function(object, property, control) { + var list = object[property]; + if (!list) { + object[property] = [control]; + } else { + var index = list.indexOf(control); + if (index === -1) { + list.push(control); } } - - } else { - if (!invalidCount) { - toggleValidCss(isValid); + }, + unset: function(object, property, control) { + var list = object[property]; + if (!list) { + return; } - if (queue) { - if (includes(queue, control)) return; - } else { - errors[validationToken] = queue = []; - invalidCount++; - toggleValidCss(false, validationToken); - parentForm.$setValidity(validationToken, false, form); + arrayRemove(list, control); + if (list.length === 0) { + delete object[property]; } - queue.push(control); - - form.$valid = false; - form.$invalid = true; - } - }; + }, + parentForm: parentForm, + $animate: $animate + }); /** * @ngdoc method @@ -16217,16 +17377,47 @@ function FormController(element, attrs, $scope, $animate) { * saving or resetting it. */ form.$setPristine = function () { - $animate.removeClass(element, DIRTY_CLASS); - $animate.addClass(element, PRISTINE_CLASS); + $animate.setClass(element, PRISTINE_CLASS, DIRTY_CLASS + ' ' + SUBMITTED_CLASS); form.$dirty = false; form.$pristine = true; + form.$submitted = false; forEach(controls, function(control) { control.$setPristine(); }); }; -} + /** + * @ngdoc method + * @name form.FormController#$setUntouched + * + * @description + * Sets the form to its untouched state. + * + * This method can be called to remove the 'ng-touched' class and set the form controls to their + * untouched state (ng-untouched class). + * + * Setting a form controls back to their untouched state is often useful when setting the form + * back to its pristine state. + */ + form.$setUntouched = function () { + forEach(controls, function(control) { + control.$setUntouched(); + }); + }; + + /** + * @ngdoc method + * @name form.FormController#$setSubmitted + * + * @description + * Sets the form to its submitted state. + */ + form.$setSubmitted = function () { + $animate.addClass(element, SUBMITTED_CLASS); + form.$submitted = true; + parentForm.$setSubmitted(); + }; +} /** * @ngdoc directive @@ -16276,6 +17467,7 @@ function FormController(element, attrs, $scope, $animate) { * - `ng-invalid` is set if the form is invalid. * - `ng-pristine` is set if the form is pristine. * - `ng-dirty` is set if the form is dirty. + * - `ng-submitted` is set if the form was submitted. * * Keep in mind that ngAnimate can detect each of these classes when added and removed. * @@ -16309,8 +17501,9 @@ function FormController(element, attrs, $scope, $animate) { * hitting enter in any of the input fields will trigger the click handler on the *first* button or * input[type=submit] (`ngClick`) *and* a submit handler on the enclosing form (`ngSubmit`) * - * @param {string=} name Name of the form. If specified, the form controller will be published into - * related scope, under this name. + * Any pending `ngModelOptions` changes will take place immediately when an enclosing form is + * submitted. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit` + * to have access to the updated model. * * ## Animation Hooks * @@ -16388,6 +17581,8 @@ function FormController(element, attrs, $scope, $animate) { * + * @param {string=} name Name of the form. If specified, the form controller will be published into + * related scope, under this name. */ var formDirectiveFactory = function(isNgForm) { return ['$timeout', function($timeout) { @@ -16405,30 +17600,42 @@ var formDirectiveFactory = function(isNgForm) { // IE 9 is not affected because it doesn't fire a submit event and try to do a full // page reload if the form was destroyed by submission of the form via a click handler // on a button in the form. Looks like an IE9 specific bug. - var preventDefaultListener = function(event) { + var handleFormSubmission = function(event) { + scope.$apply(function() { + controller.$commitViewValue(); + controller.$setSubmitted(); + }); + event.preventDefault ? event.preventDefault() : event.returnValue = false; // IE }; - addEventListenerFn(formElement[0], 'submit', preventDefaultListener); + addEventListenerFn(formElement[0], 'submit', handleFormSubmission); // unregister the preventDefault listener so that we don't not leak memory but in a // way that will achieve the prevention of the default action. formElement.on('$destroy', function() { $timeout(function() { - removeEventListenerFn(formElement[0], 'submit', preventDefaultListener); + removeEventListenerFn(formElement[0], 'submit', handleFormSubmission); }, 0, false); }); } - var parentFormCtrl = formElement.parent().controller('form'), - alias = attr.name || attr.ngForm; + var parentFormCtrl = controller.$$parentForm, + alias = controller.$name; if (alias) { setter(scope, alias, controller, alias); + attr.$observe(attr.name ? 'name' : 'ngForm', function(newValue) { + if (alias === newValue) return; + setter(scope, alias, undefined, alias); + alias = newValue; + setter(scope, alias, controller, alias); + parentFormCtrl.$$renameControl(controller, alias); + }); } - if (parentFormCtrl) { + if (parentFormCtrl !== nullFormCtrl) { formElement.on('$destroy', function() { parentFormCtrl.$removeControl(controller); if (alias) { @@ -16450,14 +17657,26 @@ var formDirective = formDirectiveFactory(); var ngFormDirective = formDirectiveFactory(true); /* global VALID_CLASS: true, - INVALID_CLASS: true, - PRISTINE_CLASS: true, - DIRTY_CLASS: true + INVALID_CLASS: true, + PRISTINE_CLASS: true, + DIRTY_CLASS: true, + UNTOUCHED_CLASS: true, + TOUCHED_CLASS: true, */ +// Regex code is obtained from SO: https://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime#answer-3143231 +var ISO_DATE_REGEXP = /\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/; var URL_REGEXP = /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/; var EMAIL_REGEXP = /^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i; var NUMBER_REGEXP = /^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/; +var DATE_REGEXP = /^(\d{4})-(\d{2})-(\d{2})$/; +var DATETIMELOCAL_REGEXP = /^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/; +var WEEK_REGEXP = /^(\d{4})-W(\d\d)$/; +var MONTH_REGEXP = /^(\d{4})-(\d\d)$/; +var TIME_REGEXP = /^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/; +var DEFAULT_REGEXP = /(\s+|^)default(\s+|$)/; + +var $ngModelMinErr = new minErr('ngModel'); var inputType = { @@ -16466,7 +17685,9 @@ var inputType = { * @name input[text] * * @description - * Standard HTML text input with angular data binding. + * Standard HTML text input with angular data binding, inherited by most of the `input` elements. + * + * *NOTE* Not every feature offered is available for all input types. * * @param {string} ngModel Assignable angular expression to data-bind to. * @param {string=} name Property name of the form under which the control is published. @@ -16484,6 +17705,8 @@ var inputType = { * @param {string=} ngChange Angular expression to be executed when input changes due to user * interaction with the input element. * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input. + * This parameter is ignored for input[type=password] controls, which will never trim the + * input. * * @example @@ -16539,6 +17762,447 @@ var inputType = { */ 'text': textInputType, + /** + * @ngdoc input + * @name input[date] + * + * @description + * Input with date validation and transformation. In browsers that do not yet support + * the HTML5 date input, a text element will be used. In that case, text must be entered in a valid ISO-8601 + * date format (yyyy-MM-dd), for example: `2009-01-06`. Since many + * modern browsers do not yet support this input type, it is important to provide cues to users on the + * expected input format via a placeholder or label. The model must always be a Date object. + * + * The timezone to be used to read/write the `Date` instance in the model can be defined using + * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser. + * + * @param {string} ngModel Assignable angular expression to data-bind to. + * @param {string=} name Property name of the form under which the control is published. + * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a + * valid ISO date string (yyyy-MM-dd). + * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be + * a valid ISO date string (yyyy-MM-dd). + * @param {string=} required Sets `required` validation error key if the value is not entered. + * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to + * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of + * `required` when you want to data-bind to the `required` attribute. + * @param {string=} ngChange Angular expression to be executed when input changes due to user + * interaction with the input element. + * + * @example + + + +
    + Pick a date in 2013: + + + Required! + + Not a valid date! + value = {{value | date: "yyyy-MM-dd"}}
    + myForm.input.$valid = {{myForm.input.$valid}}
    + myForm.input.$error = {{myForm.input.$error}}
    + myForm.$valid = {{myForm.$valid}}
    + myForm.$error.required = {{!!myForm.$error.required}}
    +
    +
    + + var value = element(by.binding('value | date: "yyyy-MM-dd"')); + var valid = element(by.binding('myForm.input.$valid')); + var input = element(by.model('value')); + + // currently protractor/webdriver does not support + // sending keys to all known HTML5 input controls + // for various browsers (see https://github.com/angular/protractor/issues/562). + function setInput(val) { + // set the value of the element and force validation. + var scr = "var ipt = document.getElementById('exampleInput'); " + + "ipt.value = '" + val + "';" + + "angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('" + val + "'); });"; + browser.executeScript(scr); + } + + it('should initialize to model', function() { + expect(value.getText()).toContain('2013-10-22'); + expect(valid.getText()).toContain('myForm.input.$valid = true'); + }); + + it('should be invalid if empty', function() { + setInput(''); + expect(value.getText()).toEqual('value ='); + expect(valid.getText()).toContain('myForm.input.$valid = false'); + }); + + it('should be invalid if over max', function() { + setInput('2015-01-01'); + expect(value.getText()).toContain(''); + expect(valid.getText()).toContain('myForm.input.$valid = false'); + }); + +
    + */ + 'date': createDateInputType('date', DATE_REGEXP, + createDateParser(DATE_REGEXP, ['yyyy', 'MM', 'dd']), + 'yyyy-MM-dd'), + + /** + * @ngdoc input + * @name input[dateTimeLocal] + * + * @description + * Input with datetime validation and transformation. In browsers that do not yet support + * the HTML5 date input, a text element will be used. In that case, the text must be entered in a valid ISO-8601 + * local datetime format (yyyy-MM-ddTHH:mm:ss), for example: `2010-12-28T14:57:00`. The model must be a Date object. + * + * The timezone to be used to read/write the `Date` instance in the model can be defined using + * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser. + * + * @param {string} ngModel Assignable angular expression to data-bind to. + * @param {string=} name Property name of the form under which the control is published. + * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a + * valid ISO datetime format (yyyy-MM-ddTHH:mm:ss). + * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be + * a valid ISO datetime format (yyyy-MM-ddTHH:mm:ss). + * @param {string=} required Sets `required` validation error key if the value is not entered. + * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to + * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of + * `required` when you want to data-bind to the `required` attribute. + * @param {string=} ngChange Angular expression to be executed when input changes due to user + * interaction with the input element. + * + * @example + + + +
    + Pick a date between in 2013: + + + Required! + + Not a valid date! + value = {{value | date: "yyyy-MM-ddTHH:mm:ss"}}
    + myForm.input.$valid = {{myForm.input.$valid}}
    + myForm.input.$error = {{myForm.input.$error}}
    + myForm.$valid = {{myForm.$valid}}
    + myForm.$error.required = {{!!myForm.$error.required}}
    +
    +
    + + var value = element(by.binding('value | date: "yyyy-MM-ddTHH:mm:ss"')); + var valid = element(by.binding('myForm.input.$valid')); + var input = element(by.model('value')); + + // currently protractor/webdriver does not support + // sending keys to all known HTML5 input controls + // for various browsers (https://github.com/angular/protractor/issues/562). + function setInput(val) { + // set the value of the element and force validation. + var scr = "var ipt = document.getElementById('exampleInput'); " + + "ipt.value = '" + val + "';" + + "angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('" + val + "'); });"; + browser.executeScript(scr); + } + + it('should initialize to model', function() { + expect(value.getText()).toContain('2010-12-28T14:57:00'); + expect(valid.getText()).toContain('myForm.input.$valid = true'); + }); + + it('should be invalid if empty', function() { + setInput(''); + expect(value.getText()).toEqual('value ='); + expect(valid.getText()).toContain('myForm.input.$valid = false'); + }); + + it('should be invalid if over max', function() { + setInput('2015-01-01T23:59:00'); + expect(value.getText()).toContain(''); + expect(valid.getText()).toContain('myForm.input.$valid = false'); + }); + +
    + */ + 'datetime-local': createDateInputType('datetimelocal', DATETIMELOCAL_REGEXP, + createDateParser(DATETIMELOCAL_REGEXP, ['yyyy', 'MM', 'dd', 'HH', 'mm', 'ss', 'sss']), + 'yyyy-MM-ddTHH:mm:ss.sss'), + + /** + * @ngdoc input + * @name input[time] + * + * @description + * Input with time validation and transformation. In browsers that do not yet support + * the HTML5 date input, a text element will be used. In that case, the text must be entered in a valid ISO-8601 + * local time format (HH:mm:ss), for example: `14:57:00`. Model must be a Date object. This binding will always output a + * Date object to the model of January 1, 1970, or local date `new Date(1970, 0, 1, HH, mm, ss)`. + * + * The timezone to be used to read/write the `Date` instance in the model can be defined using + * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser. + * + * @param {string} ngModel Assignable angular expression to data-bind to. + * @param {string=} name Property name of the form under which the control is published. + * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a + * valid ISO time format (HH:mm:ss). + * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be a + * valid ISO time format (HH:mm:ss). + * @param {string=} required Sets `required` validation error key if the value is not entered. + * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to + * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of + * `required` when you want to data-bind to the `required` attribute. + * @param {string=} ngChange Angular expression to be executed when input changes due to user + * interaction with the input element. + * + * @example + + + +
    + Pick a between 8am and 5pm: + + + Required! + + Not a valid date! + value = {{value | date: "HH:mm:ss"}}
    + myForm.input.$valid = {{myForm.input.$valid}}
    + myForm.input.$error = {{myForm.input.$error}}
    + myForm.$valid = {{myForm.$valid}}
    + myForm.$error.required = {{!!myForm.$error.required}}
    +
    +
    + + var value = element(by.binding('value | date: "HH:mm:ss"')); + var valid = element(by.binding('myForm.input.$valid')); + var input = element(by.model('value')); + + // currently protractor/webdriver does not support + // sending keys to all known HTML5 input controls + // for various browsers (https://github.com/angular/protractor/issues/562). + function setInput(val) { + // set the value of the element and force validation. + var scr = "var ipt = document.getElementById('exampleInput'); " + + "ipt.value = '" + val + "';" + + "angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('" + val + "'); });"; + browser.executeScript(scr); + } + + it('should initialize to model', function() { + expect(value.getText()).toContain('14:57:00'); + expect(valid.getText()).toContain('myForm.input.$valid = true'); + }); + + it('should be invalid if empty', function() { + setInput(''); + expect(value.getText()).toEqual('value ='); + expect(valid.getText()).toContain('myForm.input.$valid = false'); + }); + + it('should be invalid if over max', function() { + setInput('23:59:00'); + expect(value.getText()).toContain(''); + expect(valid.getText()).toContain('myForm.input.$valid = false'); + }); + +
    + */ + 'time': createDateInputType('time', TIME_REGEXP, + createDateParser(TIME_REGEXP, ['HH', 'mm', 'ss', 'sss']), + 'HH:mm:ss.sss'), + + /** + * @ngdoc input + * @name input[week] + * + * @description + * Input with week-of-the-year validation and transformation to Date. In browsers that do not yet support + * the HTML5 week input, a text element will be used. In that case, the text must be entered in a valid ISO-8601 + * week format (yyyy-W##), for example: `2013-W02`. The model must always be a Date object. + * + * The timezone to be used to read/write the `Date` instance in the model can be defined using + * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser. + * + * @param {string} ngModel Assignable angular expression to data-bind to. + * @param {string=} name Property name of the form under which the control is published. + * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a + * valid ISO week format (yyyy-W##). + * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be + * a valid ISO week format (yyyy-W##). + * @param {string=} required Sets `required` validation error key if the value is not entered. + * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to + * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of + * `required` when you want to data-bind to the `required` attribute. + * @param {string=} ngChange Angular expression to be executed when input changes due to user + * interaction with the input element. + * + * @example + + + +
    + Pick a date between in 2013: + + + Required! + + Not a valid date! + value = {{value | date: "yyyy-Www"}}
    + myForm.input.$valid = {{myForm.input.$valid}}
    + myForm.input.$error = {{myForm.input.$error}}
    + myForm.$valid = {{myForm.$valid}}
    + myForm.$error.required = {{!!myForm.$error.required}}
    +
    +
    + + var value = element(by.binding('value | date: "yyyy-Www"')); + var valid = element(by.binding('myForm.input.$valid')); + var input = element(by.model('value')); + + // currently protractor/webdriver does not support + // sending keys to all known HTML5 input controls + // for various browsers (https://github.com/angular/protractor/issues/562). + function setInput(val) { + // set the value of the element and force validation. + var scr = "var ipt = document.getElementById('exampleInput'); " + + "ipt.value = '" + val + "';" + + "angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('" + val + "'); });"; + browser.executeScript(scr); + } + + it('should initialize to model', function() { + expect(value.getText()).toContain('2013-W01'); + expect(valid.getText()).toContain('myForm.input.$valid = true'); + }); + + it('should be invalid if empty', function() { + setInput(''); + expect(value.getText()).toEqual('value ='); + expect(valid.getText()).toContain('myForm.input.$valid = false'); + }); + + it('should be invalid if over max', function() { + setInput('2015-W01'); + expect(value.getText()).toContain(''); + expect(valid.getText()).toContain('myForm.input.$valid = false'); + }); + +
    + */ + 'week': createDateInputType('week', WEEK_REGEXP, weekParser, 'yyyy-Www'), + + /** + * @ngdoc input + * @name input[month] + * + * @description + * Input with month validation and transformation. In browsers that do not yet support + * the HTML5 month input, a text element will be used. In that case, the text must be entered in a valid ISO-8601 + * month format (yyyy-MM), for example: `2009-01`. The model must always be a Date object. In the event the model is + * not set to the first of the month, the first of that model's month is assumed. + * + * The timezone to be used to read/write the `Date` instance in the model can be defined using + * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser. + * + * @param {string} ngModel Assignable angular expression to data-bind to. + * @param {string=} name Property name of the form under which the control is published. + * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be + * a valid ISO month format (yyyy-MM). + * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must + * be a valid ISO month format (yyyy-MM). + * @param {string=} required Sets `required` validation error key if the value is not entered. + * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to + * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of + * `required` when you want to data-bind to the `required` attribute. + * @param {string=} ngChange Angular expression to be executed when input changes due to user + * interaction with the input element. + * + * @example + + + +
    + Pick a month int 2013: + + + Required! + + Not a valid month! + value = {{value | date: "yyyy-MM"}}
    + myForm.input.$valid = {{myForm.input.$valid}}
    + myForm.input.$error = {{myForm.input.$error}}
    + myForm.$valid = {{myForm.$valid}}
    + myForm.$error.required = {{!!myForm.$error.required}}
    +
    +
    + + var value = element(by.binding('value | date: "yyyy-MM"')); + var valid = element(by.binding('myForm.input.$valid')); + var input = element(by.model('value')); + + // currently protractor/webdriver does not support + // sending keys to all known HTML5 input controls + // for various browsers (https://github.com/angular/protractor/issues/562). + function setInput(val) { + // set the value of the element and force validation. + var scr = "var ipt = document.getElementById('exampleInput'); " + + "ipt.value = '" + val + "';" + + "angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('" + val + "'); });"; + browser.executeScript(scr); + } + + it('should initialize to model', function() { + expect(value.getText()).toContain('2013-10'); + expect(valid.getText()).toContain('myForm.input.$valid = true'); + }); + + it('should be invalid if empty', function() { + setInput(''); + expect(value.getText()).toEqual('value ='); + expect(valid.getText()).toContain('myForm.input.$valid = false'); + }); + + it('should be invalid if over max', function() { + setInput('2015-01'); + expect(value.getText()).toContain(''); + expect(valid.getText()).toContain('myForm.input.$valid = false'); + }); + +
    + */ + 'month': createDateInputType('month', MONTH_REGEXP, + createDateParser(MONTH_REGEXP, ['yyyy', 'MM']), + 'yyyy-MM'), /** * @ngdoc input @@ -16832,8 +18496,8 @@ var inputType = { * * @param {string} ngModel Assignable angular expression to data-bind to. * @param {string=} name Property name of the form under which the control is published. - * @param {string=} ngTrueValue The value to which the expression should be set when selected. - * @param {string=} ngFalseValue The value to which the expression should be set when not selected. + * @param {expression=} ngTrueValue The value to which the expression should be set when selected. + * @param {expression=} ngFalseValue The value to which the expression should be set when not selected. * @param {string=} ngChange Angular expression to be executed when input changes due to user * interaction with the input element. * @@ -16850,7 +18514,7 @@ var inputType = {
    Value1:
    Value2:
    + ng-true-value="'YES'" ng-false-value="'NO'">
    value1 = {{value1}}
    value2 = {{value2}}
    @@ -16881,13 +18545,6 @@ var inputType = { 'file': noop }; -// A helper function to call $setValidity and return the value / undefined, -// a pattern that is repeated a lot in the input validation logic. -function validate(ctrl, validatorName, validity, value){ - ctrl.$setValidity(validatorName, validity); - return validity ? value : undefined; -} - function testFlags(validity, flags) { var i, flag; if (flags) { @@ -16901,29 +18558,21 @@ function testFlags(validity, flags) { return false; } -// Pass validity so that behaviour can be mocked easier. -function addNativeHtml5Validators(ctrl, validatorName, badFlags, ignoreFlags, validity) { - if (isObject(validity)) { - ctrl.$$hasNativeValidators = true; - var validator = function(value) { - // Don't overwrite previous validation, don't consider valueMissing to apply (ng-required can - // perform the required validation) - if (!ctrl.$error[validatorName] && - !testFlags(validity, ignoreFlags) && - testFlags(validity, badFlags)) { - ctrl.$setValidity(validatorName, false); - return; - } - return value; - }; - ctrl.$parsers.push(validator); - } +function stringBasedInputType(ctrl) { + ctrl.$formatters.push(function(value) { + return ctrl.$isEmpty(value) ? value : value.toString(); + }); } function textInputType(scope, element, attr, ctrl, $sniffer, $browser) { + baseInputType(scope, element, attr, ctrl, $sniffer, $browser); + stringBasedInputType(ctrl); +} + +function baseInputType(scope, element, attr, ctrl, $sniffer, $browser) { var validity = element.prop(VALIDITY_STATE_PROPERTY); var placeholder = element[0].placeholder, noevent = {}; - ctrl.$$validityState = validity; + var type = lowercase(element[0].type); // In composition mode, users are still inputing intermediate text buffer, // hold the listener until composition is done. @@ -16943,7 +18592,8 @@ function textInputType(scope, element, attr, ctrl, $sniffer, $browser) { var listener = function(ev) { if (composing) return; - var value = element.val(); + var value = element.val(), + event = ev && ev.type; // IE (11 and under) seem to emit an 'input' event if the placeholder value changes. // We don't want to dirty the value when this happens, so we abort here. Unfortunately, @@ -16956,23 +18606,16 @@ function textInputType(scope, element, attr, ctrl, $sniffer, $browser) { // By default we will trim the value // If the attribute ng-trim exists we will avoid trimming - // e.g. - if (toBoolean(attr.ngTrim || 'T')) { + // If input type is 'password', the value is never trimmed + if (type !== 'password' && (!attr.ngTrim || attr.ngTrim !== 'false')) { value = trim(value); } - // If a control is suffering from bad input, browsers discard its value, so it may be - // necessary to revalidate even if the control's value is the same empty value twice in - // a row. - var revalidate = validity && ctrl.$$hasNativeValidators; - if (ctrl.$viewValue !== value || (value === '' && revalidate)) { - if (scope.$$phase) { - ctrl.$setViewValue(value); - } else { - scope.$apply(function() { - ctrl.$setViewValue(value); - }); - } + // If a control is suffering from bad input (due to native validators), browsers discard its + // value, so it may be necessary to revalidate (by calling $setViewValue again) even if the + // control's value is the same empty value twice in a row. + if (ctrl.$viewValue !== value || (value === '' && ctrl.$$hasNativeValidators)) { + ctrl.$setViewValue(value, event); } }; @@ -16983,10 +18626,10 @@ function textInputType(scope, element, attr, ctrl, $sniffer, $browser) { } else { var timeout; - var deferListener = function() { + var deferListener = function(ev) { if (!timeout) { timeout = $browser.defer(function() { - listener(); + listener(ev); timeout = null; }); } @@ -16999,7 +18642,7 @@ function textInputType(scope, element, attr, ctrl, $sniffer, $browser) { // command modifiers arrows if (key === 91 || (15 < key && key < 19) || (37 <= key && key <= 40)) return; - deferListener(); + deferListener(event); }); // if user modifies input value using context menu in IE, we need "paste" and "cut" events to catch it @@ -17013,131 +18656,242 @@ function textInputType(scope, element, attr, ctrl, $sniffer, $browser) { element.on('change', listener); ctrl.$render = function() { - element.val(ctrl.$isEmpty(ctrl.$viewValue) ? '' : ctrl.$viewValue); + element.val(ctrl.$isEmpty(ctrl.$modelValue) ? '' : ctrl.$viewValue); }; +} - // pattern validator - var pattern = attr.ngPattern, - patternValidator, - match; +function weekParser(isoWeek, existingDate) { + if (isDate(isoWeek)) { + return isoWeek; + } - if (pattern) { - var validateRegex = function(regexp, value) { - return validate(ctrl, 'pattern', ctrl.$isEmpty(value) || regexp.test(value), value); - }; - match = pattern.match(/^\/(.*)\/([gim]*)$/); - if (match) { - pattern = new RegExp(match[1], match[2]); - patternValidator = function(value) { - return validateRegex(pattern, value); - }; - } else { - patternValidator = function(value) { - var patternObj = scope.$eval(pattern); + if (isString(isoWeek)) { + WEEK_REGEXP.lastIndex = 0; + var parts = WEEK_REGEXP.exec(isoWeek); + if (parts) { + var year = +parts[1], + week = +parts[2], + hours = 0, + minutes = 0, + seconds = 0, + milliseconds = 0, + firstThurs = getFirstThursdayOfYear(year), + addDays = (week - 1) * 7; - if (!patternObj || !patternObj.test) { - throw minErr('ngPattern')('noregexp', - 'Expected {0} to be a RegExp but was {1}. Element: {2}', pattern, - patternObj, startingTag(element)); - } - return validateRegex(patternObj, value); - }; + if (existingDate) { + hours = existingDate.getHours(); + minutes = existingDate.getMinutes(); + seconds = existingDate.getSeconds(); + milliseconds = existingDate.getMilliseconds(); + } + + return new Date(year, 0, firstThurs.getDate() + addDays, hours, minutes, seconds, milliseconds); + } + } + + return NaN; +} + +function createDateParser(regexp, mapping) { + return function(iso, date) { + var parts, map; + + if (isDate(iso)) { + return iso; } - ctrl.$formatters.push(patternValidator); - ctrl.$parsers.push(patternValidator); - } + if (isString(iso)) { + // When a date is JSON'ified to wraps itself inside of an extra + // set of double quotes. This makes the date parsing code unable + // to match the date string and parse it as a date. + if (iso.charAt(0) == '"' && iso.charAt(iso.length-1) == '"') { + iso = iso.substring(1, iso.length-1); + } + if (ISO_DATE_REGEXP.test(iso)) { + return new Date(iso); + } + regexp.lastIndex = 0; + parts = regexp.exec(iso); - // min length validator - if (attr.ngMinlength) { - var minlength = int(attr.ngMinlength); - var minLengthValidator = function(value) { - return validate(ctrl, 'minlength', ctrl.$isEmpty(value) || value.length >= minlength, value); - }; + if (parts) { + parts.shift(); + if (date) { + map = { + yyyy: date.getFullYear(), + MM: date.getMonth() + 1, + dd: date.getDate(), + HH: date.getHours(), + mm: date.getMinutes(), + ss: date.getSeconds(), + sss: date.getMilliseconds() / 1000 + }; + } else { + map = { yyyy: 1970, MM: 1, dd: 1, HH: 0, mm: 0, ss: 0, sss: 0 }; + } - ctrl.$parsers.push(minLengthValidator); - ctrl.$formatters.push(minLengthValidator); - } + forEach(parts, function(part, index) { + if (index < mapping.length) { + map[mapping[index]] = +part; + } + }); + return new Date(map.yyyy, map.MM - 1, map.dd, map.HH, map.mm, map.ss || 0, map.sss * 1000 || 0); + } + } - // max length validator - if (attr.ngMaxlength) { - var maxlength = int(attr.ngMaxlength); - var maxLengthValidator = function(value) { - return validate(ctrl, 'maxlength', ctrl.$isEmpty(value) || value.length <= maxlength, value); - }; + return NaN; + }; +} - ctrl.$parsers.push(maxLengthValidator); - ctrl.$formatters.push(maxLengthValidator); +function createDateInputType(type, regexp, parseDate, format) { + return function dynamicDateInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter) { + badInputChecker(scope, element, attr, ctrl); + baseInputType(scope, element, attr, ctrl, $sniffer, $browser); + var timezone = ctrl && ctrl.$options && ctrl.$options.timezone; + + ctrl.$$parserName = type; + ctrl.$parsers.push(function(value) { + if (ctrl.$isEmpty(value)) return null; + if (regexp.test(value)) { + var previousDate = ctrl.$modelValue; + if (previousDate && timezone === 'UTC') { + var timezoneOffset = 60000 * previousDate.getTimezoneOffset(); + previousDate = new Date(previousDate.getTime() + timezoneOffset); + } + var parsedDate = parseDate(value, previousDate); + if (timezone === 'UTC') { + parsedDate.setMinutes(parsedDate.getMinutes() - parsedDate.getTimezoneOffset()); + } + return parsedDate; + } + return undefined; + }); + + ctrl.$formatters.push(function(value) { + if (isDate(value)) { + return $filter('date')(value, format, timezone); + } + return ''; + }); + + if (isDefined(attr.min) || attr.ngMin) { + var minVal; + ctrl.$validators.min = function(value) { + return ctrl.$isEmpty(value) || isUndefined(minVal) || parseDate(value) >= minVal; + }; + attr.$observe('min', function(val) { + minVal = parseObservedDateValue(val); + ctrl.$validate(); + }); + } + + if (isDefined(attr.max) || attr.ngMax) { + var maxVal; + ctrl.$validators.max = function(value) { + return ctrl.$isEmpty(value) || isUndefined(maxVal) || parseDate(value) <= maxVal; + }; + attr.$observe('max', function(val) { + maxVal = parseObservedDateValue(val); + ctrl.$validate(); + }); + } + + function parseObservedDateValue(val) { + return isDefined(val) ? (isDate(val) ? val : parseDate(val)) : undefined; + } + }; +} + +function badInputChecker(scope, element, attr, ctrl) { + var node = element[0]; + var nativeValidation = ctrl.$$hasNativeValidators = isObject(node.validity); + if (nativeValidation) { + ctrl.$parsers.push(function(value) { + var validity = element.prop(VALIDITY_STATE_PROPERTY) || {}; + // Detect bug in FF35 for input[email] (https://bugzilla.mozilla.org/show_bug.cgi?id=1064430): + // - also sets validity.badInput (should only be validity.typeMismatch). + // - see http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#e-mail-state-(type=email) + // - can ignore this case as we can still read out the erroneous email... + return validity.badInput && !validity.typeMismatch ? undefined : value; + }); } } -var numberBadFlags = ['badInput']; - function numberInputType(scope, element, attr, ctrl, $sniffer, $browser) { - textInputType(scope, element, attr, ctrl, $sniffer, $browser); + badInputChecker(scope, element, attr, ctrl); + baseInputType(scope, element, attr, ctrl, $sniffer, $browser); + ctrl.$$parserName = 'number'; ctrl.$parsers.push(function(value) { - var empty = ctrl.$isEmpty(value); - if (empty || NUMBER_REGEXP.test(value)) { - ctrl.$setValidity('number', true); - return value === '' ? null : (empty ? value : parseFloat(value)); - } else { - ctrl.$setValidity('number', false); - return undefined; + if (ctrl.$isEmpty(value)) return null; + if (NUMBER_REGEXP.test(value)) return parseFloat(value); + return undefined; + }); + + ctrl.$formatters.push(function(value) { + if (!ctrl.$isEmpty(value)) { + if (!isNumber(value)) { + throw $ngModelMinErr('numfmt', 'Expected `{0}` to be a number', value); + } + value = value.toString(); } + return value; }); - addNativeHtml5Validators(ctrl, 'number', numberBadFlags, null, ctrl.$$validityState); - - ctrl.$formatters.push(function(value) { - return ctrl.$isEmpty(value) ? '' : '' + value; - }); - - if (attr.min) { - var minValidator = function(value) { - var min = parseFloat(attr.min); - return validate(ctrl, 'min', ctrl.$isEmpty(value) || value >= min, value); + if (attr.min || attr.ngMin) { + var minVal; + ctrl.$validators.min = function(value) { + return ctrl.$isEmpty(value) || isUndefined(minVal) || value >= minVal; }; - ctrl.$parsers.push(minValidator); - ctrl.$formatters.push(minValidator); + attr.$observe('min', function(val) { + if (isDefined(val) && !isNumber(val)) { + val = parseFloat(val, 10); + } + minVal = isNumber(val) && !isNaN(val) ? val : undefined; + // TODO(matsko): implement validateLater to reduce number of validations + ctrl.$validate(); + }); } - if (attr.max) { - var maxValidator = function(value) { - var max = parseFloat(attr.max); - return validate(ctrl, 'max', ctrl.$isEmpty(value) || value <= max, value); + if (attr.max || attr.ngMax) { + var maxVal; + ctrl.$validators.max = function(value) { + return ctrl.$isEmpty(value) || isUndefined(maxVal) || value <= maxVal; }; - ctrl.$parsers.push(maxValidator); - ctrl.$formatters.push(maxValidator); + attr.$observe('max', function(val) { + if (isDefined(val) && !isNumber(val)) { + val = parseFloat(val, 10); + } + maxVal = isNumber(val) && !isNaN(val) ? val : undefined; + // TODO(matsko): implement validateLater to reduce number of validations + ctrl.$validate(); + }); } - - ctrl.$formatters.push(function(value) { - return validate(ctrl, 'number', ctrl.$isEmpty(value) || isNumber(value), value); - }); } function urlInputType(scope, element, attr, ctrl, $sniffer, $browser) { - textInputType(scope, element, attr, ctrl, $sniffer, $browser); + // Note: no badInputChecker here by purpose as `url` is only a validation + // in browsers, i.e. we can always read out input.value even if it is not valid! + baseInputType(scope, element, attr, ctrl, $sniffer, $browser); + stringBasedInputType(ctrl); - var urlValidator = function(value) { - return validate(ctrl, 'url', ctrl.$isEmpty(value) || URL_REGEXP.test(value), value); + ctrl.$$parserName = 'url'; + ctrl.$validators.url = function(value) { + return ctrl.$isEmpty(value) || URL_REGEXP.test(value); }; - - ctrl.$formatters.push(urlValidator); - ctrl.$parsers.push(urlValidator); } function emailInputType(scope, element, attr, ctrl, $sniffer, $browser) { - textInputType(scope, element, attr, ctrl, $sniffer, $browser); + // Note: no badInputChecker here by purpose as `url` is only a validation + // in browsers, i.e. we can always read out input.value even if it is not valid! + baseInputType(scope, element, attr, ctrl, $sniffer, $browser); + stringBasedInputType(ctrl); - var emailValidator = function(value) { - return validate(ctrl, 'email', ctrl.$isEmpty(value) || EMAIL_REGEXP.test(value), value); + ctrl.$$parserName = 'email'; + ctrl.$validators.email = function(value) { + return ctrl.$isEmpty(value) || EMAIL_REGEXP.test(value); }; - - ctrl.$formatters.push(emailValidator); - ctrl.$parsers.push(emailValidator); } function radioInputType(scope, element, attr, ctrl) { @@ -17146,13 +18900,13 @@ function radioInputType(scope, element, attr, ctrl) { element.attr('name', nextUid()); } - element.on('click', function() { + var listener = function(ev) { if (element[0].checked) { - scope.$apply(function() { - ctrl.$setViewValue(attr.value); - }); + ctrl.$setViewValue(attr.value, ev && ev.type); } - }); + }; + + element.on('click', listener); ctrl.$render = function() { var value = attr.value; @@ -17162,30 +18916,40 @@ function radioInputType(scope, element, attr, ctrl) { attr.$observe('value', ctrl.$render); } -function checkboxInputType(scope, element, attr, ctrl) { - var trueValue = attr.ngTrueValue, - falseValue = attr.ngFalseValue; +function parseConstantExpr($parse, context, name, expression, fallback) { + var parseFn; + if (isDefined(expression)) { + parseFn = $parse(expression); + if (!parseFn.constant) { + throw minErr('ngModel')('constexpr', 'Expected constant expression for `{0}`, but saw ' + + '`{1}`.', name, expression); + } + return parseFn(context); + } + return fallback; +} - if (!isString(trueValue)) trueValue = true; - if (!isString(falseValue)) falseValue = false; +function checkboxInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter, $parse) { + var trueValue = parseConstantExpr($parse, scope, 'ngTrueValue', attr.ngTrueValue, true); + var falseValue = parseConstantExpr($parse, scope, 'ngFalseValue', attr.ngFalseValue, false); - element.on('click', function() { - scope.$apply(function() { - ctrl.$setViewValue(element[0].checked); - }); - }); + var listener = function(ev) { + ctrl.$setViewValue(element[0].checked, ev && ev.type); + }; + + element.on('click', listener); ctrl.$render = function() { element[0].checked = ctrl.$viewValue; }; - // Override the standard `$isEmpty` because a value of `false` means empty in a checkbox. + // Override the standard `$isEmpty` because an empty checkbox is never equal to the trueValue ctrl.$isEmpty = function(value) { return value !== trueValue; }; ctrl.$formatters.push(function(value) { - return value === trueValue; + return equals(value, trueValue); }); ctrl.$parsers.push(function(value) { @@ -17232,6 +18996,8 @@ function checkboxInputType(scope, element, attr, ctrl) { * HTML input element control with angular data-binding. Input control follows HTML5 input types * and polyfills the HTML5 validation behavior for older browsers. * + * *NOTE* Not every feature offered is available for all input types. + * * @param {string} ngModel Assignable angular expression to data-bind to. * @param {string=} name Property name of the form under which the control is published. * @param {string=} required Sets `required` validation error key if the value is not entered. @@ -17245,6 +19011,9 @@ function checkboxInputType(scope, element, attr, ctrl) { * patterns defined as scope expressions. * @param {string=} ngChange Angular expression to be executed when input changes due to user * interaction with the input element. + * @param {boolean=} [ngTrim=true] If set to false Angular will not automatically trim the input. + * This parameter is ignored for input[type=password] controls, which will never trim the + * input. * * @example @@ -17280,7 +19049,7 @@ function checkboxInputType(scope, element, attr, ctrl) {
    - var user = element(by.binding('{{user}}')); + var user = element(by.exactBinding('user')); var userNameValid = element(by.binding('myForm.userName.$valid')); var lastNameValid = element(by.binding('myForm.lastName.$valid')); var lastNameError = element(by.binding('myForm.lastName.$error')); @@ -17334,14 +19103,15 @@ function checkboxInputType(scope, element, attr, ctrl) { */ -var inputDirective = ['$browser', '$sniffer', function($browser, $sniffer) { +var inputDirective = ['$browser', '$sniffer', '$filter', '$parse', + function($browser, $sniffer, $filter, $parse) { return { restrict: 'E', - require: '?ngModel', - link: function(scope, element, attr, ctrl) { - if (ctrl) { - (inputType[lowercase(attr.type)] || inputType.text)(scope, element, attr, ctrl, $sniffer, - $browser); + require: ['?ngModel'], + link: function(scope, element, attr, ctrls) { + if (ctrls[0]) { + (inputType[lowercase(attr.type)] || inputType.text)(scope, element, attr, ctrls[0], $sniffer, + $browser, $filter, $parse); } } }; @@ -17350,7 +19120,10 @@ var inputDirective = ['$browser', '$sniffer', function($browser, $sniffer) { var VALID_CLASS = 'ng-valid', INVALID_CLASS = 'ng-invalid', PRISTINE_CLASS = 'ng-pristine', - DIRTY_CLASS = 'ng-dirty'; + DIRTY_CLASS = 'ng-dirty', + UNTOUCHED_CLASS = 'ng-untouched', + TOUCHED_CLASS = 'ng-touched', + PENDING_CLASS = 'ng-pending'; /** * @ngdoc type @@ -17379,12 +19152,61 @@ var VALID_CLASS = 'ng-valid', * ngModel.$formatters.push(formatter); * ``` * + * @property {Object.} $validators A collection of validators that are applied + * whenever the model value changes. The key value within the object refers to the name of the + * validator while the function refers to the validation operation. The validation operation is + * provided with the model value as an argument and must return a true or false value depending + * on the response of that validation. + * + * ```js + * ngModel.$validators.validCharacters = function(modelValue, viewValue) { + * var value = modelValue || viewValue; + * return /[0-9]+/.test(value) && + * /[a-z]+/.test(value) && + * /[A-Z]+/.test(value) && + * /\W+/.test(value); + * }; + * ``` + * + * @property {Object.} $asyncValidators A collection of validations that are expected to + * perform an asynchronous validation (e.g. a HTTP request). The validation function that is provided + * is expected to return a promise when it is run during the model validation process. Once the promise + * is delivered then the validation status will be set to true when fulfilled and false when rejected. + * When the asynchronous validators are triggered, each of the validators will run in parallel and the model + * value will only be updated once all validators have been fulfilled. Also, keep in mind that all + * asynchronous validators will only run once all synchronous validators have passed. + * + * Please note that if $http is used then it is important that the server returns a success HTTP response code + * in order to fulfill the validation and a status level of `4xx` in order to reject the validation. + * + * ```js + * ngModel.$asyncValidators.uniqueUsername = function(modelValue, viewValue) { + * var value = modelValue || viewValue; + * + * // Lookup user by username + * return $http.get('/api/users/' + value). + * then(function resolved() { + * //username exists, this means validation fails + * return $q.reject('exists'); + * }, function rejected() { + * //username does not exist, therefore this validation passes + * return true; + * }); + * }; + * ``` + * + * @param {string} name The name of the validator. + * @param {Function} validationFn The validation function that will be run. + * * @property {Array.} $viewChangeListeners Array of functions to execute whenever the * view value has changed. It is called with no arguments, and its return value is ignored. * This can be used in place of additional $watches against the model value. * - * @property {Object} $error An object hash with all errors as keys. + * @property {Object} $error An object hash with all failing validator ids as keys. + * @property {Object} $pending An object hash with all pending validator ids as keys. * + * @property {boolean} $untouched True if control has not lost focus yet. + * @property {boolean} $touched True if control has lost focus. * @property {boolean} $pristine True if user has not interacted with the control yet. * @property {boolean} $dirty True if user has already interacted with the control. * @property {boolean} $valid True if there is no error. @@ -17431,7 +19253,7 @@ var VALID_CLASS = 'ng-valid', restrict: 'A', // only activate on element attribute require: '?ngModel', // get a hold of NgModelController link: function(scope, element, attrs, ngModel) { - if(!ngModel) return; // do nothing if no ng-model + if (!ngModel) return; // do nothing if no ng-model // Specify how UI should be updated ngModel.$render = function() { @@ -17449,7 +19271,7 @@ var VALID_CLASS = 'ng-valid', var html = element.html(); // When we clear the content editable the browser leaves a
    behind // If strip-br attribute is provided then we strip this out - if( attrs.stripBr && html == '
    ' ) { + if ( attrs.stripBr && html == '
    ' ) { html = ''; } ngModel.$setViewValue(html); @@ -17491,26 +19313,58 @@ var VALID_CLASS = 'ng-valid', * * */ -var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$parse', '$animate', - function($scope, $exceptionHandler, $attr, $element, $parse, $animate) { +var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$parse', '$animate', '$timeout', '$rootScope', '$q', '$interpolate', + function($scope, $exceptionHandler, $attr, $element, $parse, $animate, $timeout, $rootScope, $q, $interpolate) { this.$viewValue = Number.NaN; this.$modelValue = Number.NaN; + this.$validators = {}; + this.$asyncValidators = {}; this.$parsers = []; this.$formatters = []; this.$viewChangeListeners = []; + this.$untouched = true; + this.$touched = false; this.$pristine = true; this.$dirty = false; this.$valid = true; this.$invalid = false; - this.$name = $attr.name; + this.$error = {}; // keep invalid keys here + this.$$success = {}; // keep valid keys here + this.$pending = undefined; // keep pending keys here + this.$name = $interpolate($attr.name || '', false)($scope); - var ngModelGet = $parse($attr.ngModel), - ngModelSet = ngModelGet.assign; - if (!ngModelSet) { - throw minErr('ngModel')('nonassign', "Expression '{0}' is non-assignable. Element: {1}", - $attr.ngModel, startingTag($element)); - } + var parsedNgModel = $parse($attr.ngModel), + pendingDebounce = null, + ctrl = this; + + var ngModelGet = function ngModelGet() { + var modelValue = parsedNgModel($scope); + if (ctrl.$options && ctrl.$options.getterSetter && isFunction(modelValue)) { + modelValue = modelValue(); + } + return modelValue; + }; + + var ngModelSet = function ngModelSet(newValue) { + var getterSetter; + if (ctrl.$options && ctrl.$options.getterSetter && + isFunction(getterSetter = parsedNgModel($scope))) { + + getterSetter(ctrl.$modelValue); + } else { + parsedNgModel.assign($scope, ctrl.$modelValue); + } + }; + + this.$$setOptions = function(options) { + ctrl.$options = options; + + if (!parsedNgModel.assign && (!options || !options.getterSetter)) { + throw $ngModelMinErr('nonassign', "Expression '{0}' is non-assignable. Element: {1}", + $attr.ngModel, startingTag($element)); + } + }; /** * @ngdoc method @@ -17519,6 +19373,18 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * @description * Called when the view needs to be updated. It is expected that the user of the ng-model * directive will implement this method. + * + * The `$render()` method is invoked in the following situations: + * + * * `$rollbackViewValue()` is called. If we are rolling back the view value to the last + * committed value then `$render()` is called to update the input control. + * * The value referenced by `ng-model` is changed programmatically and both the `$modelValue` and + * the `$viewValue` are different to last time. + * + * Since `ng-model` does not do a deep watch, `$render()` is only invoked if the values of + * `$modelValue` and `$viewValue` are actually different to their previous value. If `$modelValue` + * or `$viewValue` are objects (rather than a string or number) then `$render()` will not be + * invoked if you only change a property on the objects. */ this.$render = noop; @@ -17536,7 +19402,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * default. The `checkboxInputType` directive does this because in its case a value of `false` * implies empty. * - * @param {*} value Reference to check. + * @param {*} value Model value to check. * @returns {boolean} True if `value` is empty. */ this.$isEmpty = function(value) { @@ -17544,63 +19410,44 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ }; var parentForm = $element.inheritedData('$formController') || nullFormCtrl, - invalidCount = 0, // used to easily determine if we are valid - $error = this.$error = {}; // keep invalid keys here - + currentValidationRunId = 0; // Setup initial state of the control - $element.addClass(PRISTINE_CLASS); - toggleValidCss(true); - - // convenience method for easy toggling of classes - function toggleValidCss(isValid, validationErrorKey) { - validationErrorKey = validationErrorKey ? '-' + snake_case(validationErrorKey, '-') : ''; - $animate.removeClass($element, (isValid ? INVALID_CLASS : VALID_CLASS) + validationErrorKey); - $animate.addClass($element, (isValid ? VALID_CLASS : INVALID_CLASS) + validationErrorKey); - } + $element + .addClass(PRISTINE_CLASS) + .addClass(UNTOUCHED_CLASS); /** * @ngdoc method * @name ngModel.NgModelController#$setValidity * * @description - * Change the validity state, and notifies the form when the control changes validity. (i.e. it - * does not notify form if given validator is already marked as invalid). + * Change the validity state, and notifies the form. * - * This method should be called by validators - i.e. the parser or formatter functions. + * This method can be called within $parsers/$formatters. However, if possible, please use the + * `ngModel.$validators` pipeline which is designed to call this method automatically. * * @param {string} validationErrorKey Name of the validator. the `validationErrorKey` will assign - * to `$error[validationErrorKey]=!isValid` so that it is available for data-binding. + * to `$error[validationErrorKey]` and `$pending[validationErrorKey]` + * so that it is available for data-binding. * The `validationErrorKey` should be in camelCase and will get converted into dash-case * for class name. Example: `myError` will result in `ng-valid-my-error` and `ng-invalid-my-error` * class and can be bound to as `{{someForm.someControl.$error.myError}}` . - * @param {boolean} isValid Whether the current state is valid (true) or invalid (false). + * @param {boolean} isValid Whether the current state is valid (true), invalid (false), pending (undefined), + * or skipped (null). */ - this.$setValidity = function(validationErrorKey, isValid) { - // Purposeful use of ! here to cast isValid to boolean in case it is undefined - // jshint -W018 - if ($error[validationErrorKey] === !isValid) return; - // jshint +W018 - - if (isValid) { - if ($error[validationErrorKey]) invalidCount--; - if (!invalidCount) { - toggleValidCss(true); - this.$valid = true; - this.$invalid = false; - } - } else { - toggleValidCss(false); - this.$invalid = true; - this.$valid = false; - invalidCount++; - } - - $error[validationErrorKey] = !isValid; - toggleValidCss(isValid, validationErrorKey); - - parentForm.$setValidity(validationErrorKey, isValid, this); - }; + addSetValidityMethod({ + ctrl: this, + $element: $element, + set: function(object, property) { + object[property] = true; + }, + unset: function(object, property) { + delete object[property]; + }, + parentForm: parentForm, + $animate: $animate + }); /** * @ngdoc method @@ -17610,15 +19457,307 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * Sets the control to its pristine state. * * This method can be called to remove the 'ng-dirty' class and set the control to its pristine - * state (ng-pristine class). + * state (ng-pristine class). A model is considered to be pristine when the model has not been changed + * from when first compiled within then form. */ this.$setPristine = function () { - this.$dirty = false; - this.$pristine = true; + ctrl.$dirty = false; + ctrl.$pristine = true; $animate.removeClass($element, DIRTY_CLASS); $animate.addClass($element, PRISTINE_CLASS); }; + /** + * @ngdoc method + * @name ngModel.NgModelController#$setUntouched + * + * @description + * Sets the control to its untouched state. + * + * This method can be called to remove the 'ng-touched' class and set the control to its + * untouched state (ng-untouched class). Upon compilation, a model is set as untouched + * by default, however this function can be used to restore that state if the model has + * already been touched by the user. + */ + this.$setUntouched = function() { + ctrl.$touched = false; + ctrl.$untouched = true; + $animate.setClass($element, UNTOUCHED_CLASS, TOUCHED_CLASS); + }; + + /** + * @ngdoc method + * @name ngModel.NgModelController#$setTouched + * + * @description + * Sets the control to its touched state. + * + * This method can be called to remove the 'ng-untouched' class and set the control to its + * touched state (ng-touched class). A model is considered to be touched when the user has + * first interacted (focussed) on the model input element and then shifted focus away (blurred) + * from the input element. + */ + this.$setTouched = function() { + ctrl.$touched = true; + ctrl.$untouched = false; + $animate.setClass($element, TOUCHED_CLASS, UNTOUCHED_CLASS); + }; + + /** + * @ngdoc method + * @name ngModel.NgModelController#$rollbackViewValue + * + * @description + * Cancel an update and reset the input element's value to prevent an update to the `$modelValue`, + * which may be caused by a pending debounced event or because the input is waiting for a some + * future event. + * + * If you have an input that uses `ng-model-options` to set up debounced events or events such + * as blur you can have a situation where there is a period when the `$viewValue` + * is out of synch with the ngModel's `$modelValue`. + * + * In this case, you can run into difficulties if you try to update the ngModel's `$modelValue` + * programmatically before these debounced/future events have resolved/occurred, because Angular's + * dirty checking mechanism is not able to tell whether the model has actually changed or not. + * + * The `$rollbackViewValue()` method should be called before programmatically changing the model of an + * input which may have such events pending. This is important in order to make sure that the + * input field will be updated with the new model value and any pending operations are cancelled. + * + * + * + * angular.module('cancel-update-example', []) + * + * .controller('CancelUpdateController', ['$scope', function($scope) { + * $scope.resetWithCancel = function (e) { + * if (e.keyCode == 27) { + * $scope.myForm.myInput1.$rollbackViewValue(); + * $scope.myValue = ''; + * } + * }; + * $scope.resetWithoutCancel = function (e) { + * if (e.keyCode == 27) { + * $scope.myValue = ''; + * } + * }; + * }]); + * + * + *
    + *

    Try typing something in each input. See that the model only updates when you + * blur off the input. + *

    + *

    Now see what happens if you start typing then press the Escape key

    + * + *
    + *

    With $rollbackViewValue()

    + *
    + * myValue: "{{ myValue }}" + * + *

    Without $rollbackViewValue()

    + *
    + * myValue: "{{ myValue }}" + *
    + *
    + *
    + *
    + */ + this.$rollbackViewValue = function() { + $timeout.cancel(pendingDebounce); + ctrl.$viewValue = ctrl.$$lastCommittedViewValue; + ctrl.$render(); + }; + + /** + * @ngdoc method + * @name ngModel.NgModelController#$validate + * + * @description + * Runs each of the registered validators (first synchronous validators and then asynchronous validators). + */ + this.$validate = function() { + // ignore $validate before model is initialized + if (isNumber(ctrl.$modelValue) && isNaN(ctrl.$modelValue)) { + return; + } + this.$$parseAndValidate(); + }; + + this.$$runValidators = function(parseValid, modelValue, viewValue, doneCallback) { + currentValidationRunId++; + var localValidationRunId = currentValidationRunId; + + // check parser error + if (!processParseErrors(parseValid)) { + validationDone(false); + return; + } + if (!processSyncValidators()) { + validationDone(false); + return; + } + processAsyncValidators(); + + function processParseErrors(parseValid) { + var errorKey = ctrl.$$parserName || 'parse'; + if (parseValid === undefined) { + setValidity(errorKey, null); + } else { + setValidity(errorKey, parseValid); + if (!parseValid) { + forEach(ctrl.$validators, function(v, name) { + setValidity(name, null); + }); + forEach(ctrl.$asyncValidators, function(v, name) { + setValidity(name, null); + }); + return false; + } + } + return true; + } + + function processSyncValidators() { + var syncValidatorsValid = true; + forEach(ctrl.$validators, function(validator, name) { + var result = validator(modelValue, viewValue); + syncValidatorsValid = syncValidatorsValid && result; + setValidity(name, result); + }); + if (!syncValidatorsValid) { + forEach(ctrl.$asyncValidators, function(v, name) { + setValidity(name, null); + }); + return false; + } + return true; + } + + function processAsyncValidators() { + var validatorPromises = []; + var allValid = true; + forEach(ctrl.$asyncValidators, function(validator, name) { + var promise = validator(modelValue, viewValue); + if (!isPromiseLike(promise)) { + throw $ngModelMinErr("$asyncValidators", + "Expected asynchronous validator to return a promise but got '{0}' instead.", promise); + } + setValidity(name, undefined); + validatorPromises.push(promise.then(function() { + setValidity(name, true); + }, function(error) { + allValid = false; + setValidity(name, false); + })); + }); + if (!validatorPromises.length) { + validationDone(true); + } else { + $q.all(validatorPromises).then(function() { + validationDone(allValid); + }, noop); + } + } + + function setValidity(name, isValid) { + if (localValidationRunId === currentValidationRunId) { + ctrl.$setValidity(name, isValid); + } + } + + function validationDone(allValid) { + if (localValidationRunId === currentValidationRunId) { + + doneCallback(allValid); + } + } + }; + + /** + * @ngdoc method + * @name ngModel.NgModelController#$commitViewValue + * + * @description + * Commit a pending update to the `$modelValue`. + * + * Updates may be pending by a debounced event or because the input is waiting for a some future + * event defined in `ng-model-options`. this method is rarely needed as `NgModelController` + * usually handles calling this in response to input events. + */ + this.$commitViewValue = function() { + var viewValue = ctrl.$viewValue; + + $timeout.cancel(pendingDebounce); + + // If the view value has not changed then we should just exit, except in the case where there is + // a native validator on the element. In this case the validation state may have changed even though + // the viewValue has stayed empty. + if (ctrl.$$lastCommittedViewValue === viewValue && (viewValue !== '' || !ctrl.$$hasNativeValidators)) { + return; + } + ctrl.$$lastCommittedViewValue = viewValue; + + // change to dirty + if (ctrl.$pristine) { + ctrl.$dirty = true; + ctrl.$pristine = false; + $animate.removeClass($element, PRISTINE_CLASS); + $animate.addClass($element, DIRTY_CLASS); + parentForm.$setDirty(); + } + this.$$parseAndValidate(); + }; + + this.$$parseAndValidate = function() { + var parserValid = true, + viewValue = ctrl.$$lastCommittedViewValue, + modelValue = viewValue; + for(var i = 0; i < ctrl.$parsers.length; i++) { + modelValue = ctrl.$parsers[i](modelValue); + if (isUndefined(modelValue)) { + parserValid = false; + break; + } + } + if (isNumber(ctrl.$modelValue) && isNaN(ctrl.$modelValue)) { + // ctrl.$modelValue has not been touched yet... + ctrl.$modelValue = ngModelGet(); + } + var prevModelValue = ctrl.$modelValue; + var allowInvalid = ctrl.$options && ctrl.$options.allowInvalid; + if (allowInvalid) { + ctrl.$modelValue = modelValue; + writeToModelIfNeeded(); + } + ctrl.$$runValidators(parserValid, modelValue, viewValue, function(allValid) { + if (!allowInvalid) { + // Note: Don't check ctrl.$valid here, as we could have + // external validators (e.g. calculated on the server), + // that just call $setValidity and need the model value + // to calculate their validity. + ctrl.$modelValue = allValid ? modelValue : undefined; + writeToModelIfNeeded(); + } + }); + + function writeToModelIfNeeded() { + if (ctrl.$modelValue !== prevModelValue) { + ctrl.$$writeModelToScope(); + } + } + }; + + this.$$writeModelToScope = function() { + ngModelSet(ctrl.$modelValue); + forEach(ctrl.$viewChangeListeners, function(listener) { + try { + listener(); + } catch(e) { + $exceptionHandler(e); + } + }); + }; + /** * @ngdoc method * @name ngModel.NgModelController#$setViewValue @@ -17626,73 +19765,108 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * @description * Update the view value. * - * This method should be called when the view value changes, typically from within a DOM event handler. - * For example {@link ng.directive:input input} and - * {@link ng.directive:select select} directives call it. + * This method should be called when an input directive want to change the view value; typically, + * this is done from within a DOM event handler. * - * It will update the $viewValue, then pass this value through each of the functions in `$parsers`, - * which includes any validators. The value that comes out of this `$parsers` pipeline, be applied to - * `$modelValue` and the **expression** specified in the `ng-model` attribute. + * For example {@link ng.directive:input input} calls it when the value of the input changes and + * {@link ng.directive:select select} calls it when an option is selected. + * + * If the new `value` is an object (rather than a string or a number), we should make a copy of the + * object before passing it to `$setViewValue`. This is because `ngModel` does not perform a deep + * watch of objects, it only looks for a change of identity. If you only change the property of + * the object then ngModel will not realise that the object has changed and will not invoke the + * `$parsers` and `$validators` pipelines. + * + * For this reason, you should not change properties of the copy once it has been passed to + * `$setViewValue`. Otherwise you may cause the model value on the scope to change incorrectly. + * + * When this method is called, the new `value` will be staged for committing through the `$parsers` + * and `$validators` pipelines. If there are no special {@link ngModelOptions} specified then the staged + * value sent directly for processing, finally to be applied to `$modelValue` and then the + * **expression** specified in the `ng-model` attribute. * * Lastly, all the registered change listeners, in the `$viewChangeListeners` list, are called. * + * In case the {@link ng.directive:ngModelOptions ngModelOptions} directive is used with `updateOn` + * and the `default` trigger is not listed, all those actions will remain pending until one of the + * `updateOn` events is triggered on the DOM element. + * All these actions will be debounced if the {@link ng.directive:ngModelOptions ngModelOptions} + * directive is used with a custom debounce for this particular event. + * * Note that calling this function does not trigger a `$digest`. * * @param {string} value Value from the view. + * @param {string} trigger Event that triggered the update. */ - this.$setViewValue = function(value) { - this.$viewValue = value; + this.$setViewValue = function(value, trigger) { + ctrl.$viewValue = value; + if (!ctrl.$options || ctrl.$options.updateOnDefault) { + ctrl.$$debounceViewValueCommit(trigger); + } + }; - // change to dirty - if (this.$pristine) { - this.$dirty = true; - this.$pristine = false; - $animate.removeClass($element, PRISTINE_CLASS); - $animate.addClass($element, DIRTY_CLASS); - parentForm.$setDirty(); + this.$$debounceViewValueCommit = function(trigger) { + var debounceDelay = 0, + options = ctrl.$options, + debounce; + + if (options && isDefined(options.debounce)) { + debounce = options.debounce; + if (isNumber(debounce)) { + debounceDelay = debounce; + } else if (isNumber(debounce[trigger])) { + debounceDelay = debounce[trigger]; + } else if (isNumber(debounce['default'])) { + debounceDelay = debounce['default']; + } } - forEach(this.$parsers, function(fn) { - value = fn(value); - }); - - if (this.$modelValue !== value) { - this.$modelValue = value; - ngModelSet($scope, value); - forEach(this.$viewChangeListeners, function(listener) { - try { - listener(); - } catch(e) { - $exceptionHandler(e); - } + $timeout.cancel(pendingDebounce); + if (debounceDelay) { + pendingDebounce = $timeout(function() { + ctrl.$commitViewValue(); + }, debounceDelay); + } else if ($rootScope.$$phase) { + ctrl.$commitViewValue(); + } else { + $scope.$apply(function() { + ctrl.$commitViewValue(); }); } }; // model -> value - var ctrl = this; - + // Note: we cannot use a normal scope.$watch as we want to detect the following: + // 1. scope value is 'a' + // 2. user enters 'b' + // 3. ng-change kicks in and reverts scope value to 'a' + // -> scope value did not change since the last digest as + // ng-change executes in apply phase + // 4. view should be changed back to 'a' $scope.$watch(function ngModelWatch() { - var value = ngModelGet($scope); + var modelValue = ngModelGet(); // if scope model value and ngModel value are out of sync - if (ctrl.$modelValue !== value) { + // TODO(perf): why not move this to the action fn? + if (modelValue !== ctrl.$modelValue) { + ctrl.$modelValue = modelValue; var formatters = ctrl.$formatters, idx = formatters.length; - ctrl.$modelValue = value; + var viewValue = modelValue; while(idx--) { - value = formatters[idx](value); + viewValue = formatters[idx](viewValue); } - - if (ctrl.$viewValue !== value) { - ctrl.$viewValue = value; + if (ctrl.$viewValue !== viewValue) { + ctrl.$viewValue = ctrl.$$lastCommittedViewValue = viewValue; ctrl.$render(); + + ctrl.$$runValidators(undefined, modelValue, viewValue, noop); } } - return value; + return modelValue; }); }]; @@ -17713,8 +19887,8 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * - Binding the view into the model, which other directives such as `input`, `textarea` or `select` * require. * - Providing validation behavior (i.e. required, number, email, url). - * - Keeping the state of the control (valid/invalid, dirty/pristine, validation errors). - * - Setting related css classes on the element (`ng-valid`, `ng-invalid`, `ng-dirty`, `ng-pristine`) including animations. + * - Keeping the state of the control (valid/invalid, dirty/pristine, touched/untouched, validation errors). + * - Setting related css classes on the element (`ng-valid`, `ng-invalid`, `ng-dirty`, `ng-pristine`, `ng-touched`, `ng-untouched`) including animations. * - Registering the control with its parent {@link ng.directive:form form}. * * Note: `ngModel` will try to bind to the property given by evaluating the expression on the @@ -17734,6 +19908,11 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * - {@link input[number] number} * - {@link input[email] email} * - {@link input[url] url} + * - {@link input[date] date} + * - {@link input[dateTimeLocal] dateTimeLocal} + * - {@link input[time] time} + * - {@link input[month] month} + * - {@link input[week] week} * - {@link ng.directive:select select} * - {@link ng.directive:textarea textarea} * @@ -17799,22 +19978,97 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * + * + * ## Binding to a getter/setter + * + * Sometimes it's helpful to bind `ngModel` to a getter/setter function. A getter/setter is a + * function that returns a representation of the model when called with zero arguments, and sets + * the internal state of a model when called with an argument. It's sometimes useful to use this + * for models that have an internal representation that's different than what the model exposes + * to the view. + * + *
    + * **Best Practice:** It's best to keep getters fast because Angular is likely to call them more + * frequently than other parts of your code. + *
    + * + * You use this behavior by adding `ng-model-options="{ getterSetter: true }"` to an element that + * has `ng-model` attached to it. You can also add `ng-model-options="{ getterSetter: true }"` to + * a `
    `, which will enable this behavior for all ``s within it. See + * {@link ng.directive:ngModelOptions `ngModelOptions`} for more. + * + * The following example shows how to use `ngModel` with a getter/setter: + * + * @example + * + +
    + + Name: + + +
    user.name = 
    +
    +
    + + angular.module('getterSetterExample', []) + .controller('ExampleController', ['$scope', function($scope) { + var _name = 'Brian'; + $scope.user = { + name: function (newName) { + if (angular.isDefined(newName)) { + _name = newName; + } + return _name; + } + }; + }]); + + *
    */ var ngModelDirective = function() { return { - require: ['ngModel', '^?form'], + restrict: 'A', + require: ['ngModel', '^?form', '^?ngModelOptions'], controller: NgModelController, - link: function(scope, element, attr, ctrls) { - // notify others, especially parent forms + link: { + pre: function(scope, element, attr, ctrls) { + var modelCtrl = ctrls[0], + formCtrl = ctrls[1] || nullFormCtrl; - var modelCtrl = ctrls[0], - formCtrl = ctrls[1] || nullFormCtrl; + modelCtrl.$$setOptions(ctrls[2] && ctrls[2].$options); - formCtrl.$addControl(modelCtrl); + // notify others, especially parent forms + formCtrl.$addControl(modelCtrl); - scope.$on('$destroy', function() { - formCtrl.$removeControl(modelCtrl); - }); + attr.$observe('name', function(newValue) { + if (modelCtrl.$name !== newValue) { + formCtrl.$$renameControl(modelCtrl, newValue); + } + }); + + scope.$on('$destroy', function() { + formCtrl.$removeControl(modelCtrl); + }); + }, + post: function(scope, element, attr, ctrls) { + var modelCtrl = ctrls[0]; + if (modelCtrl.$options && modelCtrl.$options.updateOn) { + element.on(modelCtrl.$options.updateOn, function(ev) { + modelCtrl.$$debounceViewValueCommit(ev && ev.type); + }); + } + + element.on('blur', function(ev) { + if (modelCtrl.$touched) return; + + scope.$apply(function() { + modelCtrl.$setTouched(); + }); + }); + } } }; }; @@ -17829,7 +20083,15 @@ var ngModelDirective = function() { * The expression is evaluated immediately, unlike the JavaScript onchange event * which only triggers at the end of a change (usually, when the user leaves the * form element or presses the return key). - * The expression is not evaluated when the value change is coming from the model. + * + * The `ngChange` expression is only evaluated when a change in the input value causes + * a new value to be committed to the model. + * + * It will not be evaluated: + * * if the value returned from the `$parsers` transformation pipeline has not changed + * * if the input has continued to be invalid since the model will stay `null` + * * if the model is changed programmatically and not by a change to the input value + * * * Note, this directive requires `ngModel` to be present. * @@ -17880,6 +20142,7 @@ var ngModelDirective = function() { * */ var ngChangeDirective = valueFn({ + restrict: 'A', require: 'ngModel', link: function(scope, element, attr, ctrl) { ctrl.$viewChangeListeners.push(function() { @@ -17891,93 +20154,187 @@ var ngChangeDirective = valueFn({ var requiredDirective = function() { return { + restrict: 'A', require: '?ngModel', link: function(scope, elm, attr, ctrl) { if (!ctrl) return; attr.required = true; // force truthy in case we are on non input element - var validator = function(value) { - if (attr.required && ctrl.$isEmpty(value)) { - ctrl.$setValidity('required', false); - return; - } else { - ctrl.$setValidity('required', true); - return value; - } + ctrl.$validators.required = function(value) { + return !attr.required || !ctrl.$isEmpty(value); }; - ctrl.$formatters.push(validator); - ctrl.$parsers.unshift(validator); - attr.$observe('required', function() { - validator(ctrl.$viewValue); + ctrl.$validate(); }); } }; }; +var patternDirective = function() { + return { + restrict: 'A', + require: '?ngModel', + link: function(scope, elm, attr, ctrl) { + if (!ctrl) return; + + var regexp, patternExp = attr.ngPattern || attr.pattern; + attr.$observe('pattern', function(regex) { + if (isString(regex) && regex.length > 0) { + regex = new RegExp(regex); + } + + if (regex && !regex.test) { + throw minErr('ngPattern')('noregexp', + 'Expected {0} to be a RegExp but was {1}. Element: {2}', patternExp, + regex, startingTag(elm)); + } + + regexp = regex || undefined; + ctrl.$validate(); + }); + + ctrl.$validators.pattern = function(value) { + return ctrl.$isEmpty(value) || isUndefined(regexp) || regexp.test(value); + }; + } + }; +}; + + +var maxlengthDirective = function() { + return { + restrict: 'A', + require: '?ngModel', + link: function(scope, elm, attr, ctrl) { + if (!ctrl) return; + + var maxlength = 0; + attr.$observe('maxlength', function(value) { + maxlength = int(value) || 0; + ctrl.$validate(); + }); + ctrl.$validators.maxlength = function(modelValue, viewValue) { + return ctrl.$isEmpty(modelValue) || viewValue.length <= maxlength; + }; + } + }; +}; + +var minlengthDirective = function() { + return { + restrict: 'A', + require: '?ngModel', + link: function(scope, elm, attr, ctrl) { + if (!ctrl) return; + + var minlength = 0; + attr.$observe('minlength', function(value) { + minlength = int(value) || 0; + ctrl.$validate(); + }); + ctrl.$validators.minlength = function(modelValue, viewValue) { + return ctrl.$isEmpty(modelValue) || viewValue.length >= minlength; + }; + } + }; +}; + + /** * @ngdoc directive * @name ngList * * @description - * Text input that converts between a delimited string and an array of strings. The delimiter - * can be a fixed string (by default a comma) or a regular expression. + * Text input that converts between a delimited string and an array of strings. The default + * delimiter is a comma followed by a space - equivalent to `ng-list=", "`. You can specify a custom + * delimiter as the value of the `ngList` attribute - for example, `ng-list=" | "`. + * + * The behaviour of the directive is affected by the use of the `ngTrim` attribute. + * * If `ngTrim` is set to `"false"` then whitespace around both the separator and each + * list item is respected. This implies that the user of the directive is responsible for + * dealing with whitespace but also allows you to use whitespace as a delimiter, such as a + * tab or newline character. + * * Otherwise whitespace around the delimiter is ignored when splitting (although it is respected + * when joining the list items back together) and whitespace around each list item is stripped + * before it is added to the model. + * + * ### Example with Validation + * + * + * + * angular.module('listExample', []) + * .controller('ExampleController', ['$scope', function($scope) { + * $scope.names = ['morpheus', 'neo', 'trinity']; + * }]); + * + * + *
    + * List: + * + * Required! + *
    + * names = {{names}}
    + * myForm.namesInput.$valid = {{myForm.namesInput.$valid}}
    + * myForm.namesInput.$error = {{myForm.namesInput.$error}}
    + * myForm.$valid = {{myForm.$valid}}
    + * myForm.$error.required = {{!!myForm.$error.required}}
    + *
    + *
    + * + * var listInput = element(by.model('names')); + * var names = element(by.exactBinding('names')); + * var valid = element(by.binding('myForm.namesInput.$valid')); + * var error = element(by.css('span.error')); + * + * it('should initialize to model', function() { + * expect(names.getText()).toContain('["morpheus","neo","trinity"]'); + * expect(valid.getText()).toContain('true'); + * expect(error.getCssValue('display')).toBe('none'); + * }); + * + * it('should be invalid if empty', function() { + * listInput.clear(); + * listInput.sendKeys(''); + * + * expect(names.getText()).toContain(''); + * expect(valid.getText()).toContain('false'); + * expect(error.getCssValue('display')).not.toBe('none'); + * }); + * + *
    + * + * ### Example - splitting on whitespace + * + * + * + *
    {{ list | json }}
    + *
    + * + * it("should split the text by newlines", function() { + * var listInput = element(by.model('list')); + * var output = element(by.binding('list | json')); + * listInput.sendKeys('abc\ndef\nghi'); + * expect(output.getText()).toContain('[\n "abc",\n "def",\n "ghi"\n]'); + * }); + * + *
    * * @element input - * @param {string=} ngList optional delimiter that should be used to split the value. If - * specified in form `/something/` then the value will be converted into a regular expression. - * - * @example - - - -
    - List: - - Required! -
    - names = {{names}}
    - myForm.namesInput.$valid = {{myForm.namesInput.$valid}}
    - myForm.namesInput.$error = {{myForm.namesInput.$error}}
    - myForm.$valid = {{myForm.$valid}}
    - myForm.$error.required = {{!!myForm.$error.required}}
    -
    -
    - - var listInput = element(by.model('names')); - var names = element(by.binding('{{names}}')); - var valid = element(by.binding('myForm.namesInput.$valid')); - var error = element(by.css('span.error')); - - it('should initialize to model', function() { - expect(names.getText()).toContain('["igor","misko","vojta"]'); - expect(valid.getText()).toContain('true'); - expect(error.getCssValue('display')).toBe('none'); - }); - - it('should be invalid if empty', function() { - listInput.clear(); - listInput.sendKeys(''); - - expect(names.getText()).toContain(''); - expect(valid.getText()).toContain('false'); - expect(error.getCssValue('display')).not.toBe('none'); }); - -
    + * @param {string=} ngList optional delimiter that should be used to split the value. */ var ngListDirective = function() { return { + restrict: 'A', + priority: 100, require: 'ngModel', link: function(scope, element, attr, ctrl) { - var match = /\/(.*)\//.exec(attr.ngList), - separator = match && new RegExp(match[1]) || attr.ngList || ','; + // We want to control whitespace trimming so we use this convoluted approach + // to access the ngList attribute, which doesn't pre-trim the attribute + var ngList = element.attr(attr.$attr.ngList) || ', '; + var trimValues = attr.ngTrim !== 'false'; + var separator = trimValues ? trim(ngList) : ngList; var parse = function(viewValue) { // If the viewValue is invalid (say required but empty) it will be `undefined` @@ -17987,7 +20344,7 @@ var ngListDirective = function() { if (viewValue) { forEach(viewValue.split(separator), function(value) { - if (value) list.push(trim(value)); + if (value) list.push(trimValues ? trim(value) : value); }); } @@ -17997,7 +20354,7 @@ var ngListDirective = function() { ctrl.$parsers.push(parse); ctrl.$formatters.push(function(value) { if (isArray(value)) { - return value.join(', '); + return value.join(ngList); } return undefined; @@ -18067,6 +20424,7 @@ var CONSTANT_VALUE_REGEXP = /^(true|false|\d+)$/; */ var ngValueDirective = function() { return { + restrict: 'A', priority: 100, compile: function(tpl, tplAttr) { if (CONSTANT_VALUE_REGEXP.test(tplAttr.ngValue)) { @@ -18084,6 +20442,280 @@ var ngValueDirective = function() { }; }; +/** + * @ngdoc directive + * @name ngModelOptions + * + * @description + * Allows tuning how model updates are done. Using `ngModelOptions` you can specify a custom list of + * events that will trigger a model update and/or a debouncing delay so that the actual update only + * takes place when a timer expires; this timer will be reset after another change takes place. + * + * Given the nature of `ngModelOptions`, the value displayed inside input fields in the view might + * be different than the value in the actual model. This means that if you update the model you + * should also invoke {@link ngModel.NgModelController `$rollbackViewValue`} on the relevant input field in + * order to make sure it is synchronized with the model and that any debounced action is canceled. + * + * The easiest way to reference the control's {@link ngModel.NgModelController `$rollbackViewValue`} + * method is by making sure the input is placed inside a form that has a `name` attribute. This is + * important because `form` controllers are published to the related scope under the name in their + * `name` attribute. + * + * Any pending changes will take place immediately when an enclosing form is submitted via the + * `submit` event. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit` + * to have access to the updated model. + * + * `ngModelOptions` has an effect on the element it's declared on and its descendants. + * + * @param {Object} ngModelOptions options to apply to the current model. Valid keys are: + * - `updateOn`: string specifying which event should be the input bound to. You can set several + * events using an space delimited list. There is a special event called `default` that + * matches the default events belonging of the control. + * - `debounce`: integer value which contains the debounce model update value in milliseconds. A + * value of 0 triggers an immediate update. If an object is supplied instead, you can specify a + * custom value for each event. For example: + * `ng-model-options="{ updateOn: 'default blur', debounce: {'default': 500, 'blur': 0} }"` + * - `allowInvalid`: boolean value which indicates that the model can be set with values that did + * not validate correctly instead of the default behavior of setting the model to undefined. + * - `getterSetter`: boolean value which determines whether or not to treat functions bound to + `ngModel` as getters/setters. + * - `timezone`: Defines the timezone to be used to read/write the `Date` instance in the model for + * ``, ``, ... . Right now, the only supported value is `'UTC'`, + * otherwise the default timezone of the browser will be used. + * + * @example + + The following example shows how to override immediate updates. Changes on the inputs within the + form will update the model only when the control loses focus (blur event). If `escape` key is + pressed while the input field is focused, the value is reset to the value in the current model. + + + +
    +
    + Name: +
    + + Other data: +
    +
    +
    user.name = 
    +
    +
    + + angular.module('optionsExample', []) + .controller('ExampleController', ['$scope', function($scope) { + $scope.user = { name: 'say', data: '' }; + + $scope.cancel = function (e) { + if (e.keyCode == 27) { + $scope.userForm.userName.$rollbackViewValue(); + } + }; + }]); + + + var model = element(by.binding('user.name')); + var input = element(by.model('user.name')); + var other = element(by.model('user.data')); + + it('should allow custom events', function() { + input.sendKeys(' hello'); + input.click(); + expect(model.getText()).toEqual('say'); + other.click(); + expect(model.getText()).toEqual('say hello'); + }); + + it('should $rollbackViewValue when model changes', function() { + input.sendKeys(' hello'); + expect(input.getAttribute('value')).toEqual('say hello'); + input.sendKeys(protractor.Key.ESCAPE); + expect(input.getAttribute('value')).toEqual('say'); + other.click(); + expect(model.getText()).toEqual('say'); + }); + +
    + + This one shows how to debounce model changes. Model will be updated only 1 sec after last change. + If the `Clear` button is pressed, any debounced action is canceled and the value becomes empty. + + + +
    +
    + Name: + +
    +
    +
    user.name = 
    +
    +
    + + angular.module('optionsExample', []) + .controller('ExampleController', ['$scope', function($scope) { + $scope.user = { name: 'say' }; + }]); + +
    + + This one shows how to bind to getter/setters: + + + +
    +
    + Name: + +
    +
    user.name = 
    +
    +
    + + angular.module('getterSetterExample', []) + .controller('ExampleController', ['$scope', function($scope) { + var _name = 'Brian'; + $scope.user = { + name: function (newName) { + return angular.isDefined(newName) ? (_name = newName) : _name; + } + }; + }]); + +
    + */ +var ngModelOptionsDirective = function() { + return { + restrict: 'A', + controller: ['$scope', '$attrs', function($scope, $attrs) { + var that = this; + this.$options = $scope.$eval($attrs.ngModelOptions); + // Allow adding/overriding bound events + if (this.$options.updateOn !== undefined) { + this.$options.updateOnDefault = false; + // extract "default" pseudo-event from list of events that can trigger a model update + this.$options.updateOn = trim(this.$options.updateOn.replace(DEFAULT_REGEXP, function() { + that.$options.updateOnDefault = true; + return ' '; + })); + } else { + this.$options.updateOnDefault = true; + } + }] + }; +}; + +// helper methods +function addSetValidityMethod(context) { + var ctrl = context.ctrl, + $element = context.$element, + classCache = {}, + set = context.set, + unset = context.unset, + parentForm = context.parentForm, + $animate = context.$animate; + + ctrl.$setValidity = setValidity; + toggleValidationCss('', true); + + function setValidity(validationErrorKey, state, options) { + if (state === undefined) { + createAndSet('$pending', validationErrorKey, options); + } else { + unsetAndCleanup('$pending', validationErrorKey, options); + } + if (!isBoolean(state)) { + unset(ctrl.$error, validationErrorKey, options); + unset(ctrl.$$success, validationErrorKey, options); + } else { + if (state) { + unset(ctrl.$error, validationErrorKey, options); + set(ctrl.$$success, validationErrorKey, options); + } else { + set(ctrl.$error, validationErrorKey, options); + unset(ctrl.$$success, validationErrorKey, options); + } + } + if (ctrl.$pending) { + cachedToggleClass(PENDING_CLASS, true); + ctrl.$valid = ctrl.$invalid = undefined; + toggleValidationCss('', null); + } else { + cachedToggleClass(PENDING_CLASS, false); + ctrl.$valid = isObjectEmpty(ctrl.$error); + ctrl.$invalid = !ctrl.$valid; + toggleValidationCss('', ctrl.$valid); + } + + // re-read the state as the set/unset methods could have + // combined state in ctrl.$error[validationError] (used for forms), + // where setting/unsetting only increments/decrements the value, + // and does not replace it. + var combinedState; + if (ctrl.$pending && ctrl.$pending[validationErrorKey]) { + combinedState = undefined; + } else if (ctrl.$error[validationErrorKey]) { + combinedState = false; + } else if (ctrl.$$success[validationErrorKey]) { + combinedState = true; + } else { + combinedState = null; + } + toggleValidationCss(validationErrorKey, combinedState); + parentForm.$setValidity(validationErrorKey, combinedState, ctrl); + } + + function createAndSet(name, value, options) { + if (!ctrl[name]) { + ctrl[name] = {}; + } + set(ctrl[name], value, options); + } + + function unsetAndCleanup(name, value, options) { + if (ctrl[name]) { + unset(ctrl[name], value, options); + } + if (isObjectEmpty(ctrl[name])) { + ctrl[name] = undefined; + } + } + + function cachedToggleClass(className, switchValue) { + if (switchValue && !classCache[className]) { + $animate.addClass($element, className); + classCache[className] = true; + } else if (!switchValue && classCache[className]) { + $animate.removeClass($element, className); + classCache[className] = false; + } + } + + function toggleValidationCss(validationErrorKey, isValid) { + validationErrorKey = validationErrorKey ? '-' + snake_case(validationErrorKey, '-') : ''; + + cachedToggleClass(VALID_CLASS + validationErrorKey, isValid === true); + cachedToggleClass(INVALID_CLASS + validationErrorKey, isValid === false); + } +} + +function isObjectEmpty(obj) { + if (obj) { + for (var prop in obj) { + return false; + } + } + return true; +} + /** * @ngdoc directive * @name ngBind @@ -18135,20 +20767,23 @@ var ngValueDirective = function() { */ -var ngBindDirective = ngDirective({ - compile: function(templateElement) { - templateElement.addClass('ng-binding'); - return function (scope, element, attr) { - element.data('$binding', attr.ngBind); - scope.$watch(attr.ngBind, function ngBindWatchAction(value) { - // We are purposefully using == here rather than === because we want to - // catch when value is "null or undefined" - // jshint -W041 - element.text(value == undefined ? '' : value); - }); - }; - } -}); +var ngBindDirective = ['$compile', function($compile) { + return { + restrict: 'AC', + compile: function ngBindCompile(templateElement) { + $compile.$$addBindingClass(templateElement); + return function ngBindLink(scope, element, attr) { + $compile.$$addBindingInfo(element, attr.ngBind); + scope.$watch(attr.ngBind, function ngBindWatchAction(value) { + // We are purposefully using == here rather than === because we want to + // catch when value is "null or undefined" + // jshint -W041 + element.text(value == undefined ? '' : value); + }); + }; + } + }; +}]; /** @@ -18202,14 +20837,18 @@ var ngBindDirective = ngDirective({ */ -var ngBindTemplateDirective = ['$interpolate', function($interpolate) { - return function(scope, element, attr) { - // TODO: move this to scenario runner - var interpolateFn = $interpolate(element.attr(attr.$attr.ngBindTemplate)); - element.addClass('ng-binding').data('$binding', interpolateFn); - attr.$observe('ngBindTemplate', function(value) { - element.text(value); - }); +var ngBindTemplateDirective = ['$interpolate', '$compile', function($interpolate, $compile) { + return { + compile: function ngBindTemplateCompile(templateElement) { + $compile.$$addBindingClass(templateElement); + return function ngBindTemplateLink(scope, element, attr) { + var interpolateFn = $interpolate(element.attr(attr.$attr.ngBindTemplate)); + $compile.$$addBindingInfo(element, interpolateFn.expressions); + attr.$observe('ngBindTemplate', function(value) { + element.text(value); + }); + }; + } }; }]; @@ -18234,7 +20873,6 @@ var ngBindTemplateDirective = ['$interpolate', function($interpolate) { * @param {expression} ngBindHtml {@link guide/expression Expression} to evaluate. * * @example - Try it here: enter text in text box and watch the greeting change. @@ -18260,22 +20898,23 @@ var ngBindTemplateDirective = ['$interpolate', function($interpolate) { */ -var ngBindHtmlDirective = ['$sce', '$parse', function($sce, $parse) { +var ngBindHtmlDirective = ['$sce', '$parse', '$compile', function($sce, $parse, $compile) { return { - compile: function (tElement) { - tElement.addClass('ng-binding'); + restrict: 'A', + compile: function ngBindHtmlCompile(tElement, tAttrs) { + var ngBindHtmlGetter = $parse(tAttrs.ngBindHtml); + var ngBindHtmlWatch = $parse(tAttrs.ngBindHtml, function getStringValue(value) { + return (value || '').toString(); + }); + $compile.$$addBindingClass(tElement); - return function (scope, element, attr) { - element.data('$binding', attr.ngBindHtml); + return function ngBindHtmlLink(scope, element, attr) { + $compile.$$addBindingInfo(element, attr.ngBindHtml); - var parsed = $parse(attr.ngBindHtml); - - function getStringValue() { - return (parsed(scope) || '').toString(); - } - - scope.$watch(getStringValue, function ngBindHtmlWatchAction(value) { - element.html($sce.getTrustedHtml(parsed(scope)) || ''); + scope.$watch(ngBindHtmlWatch, function ngBindHtmlWatchAction() { + // we re-evaluate the expr because we want a TrustedValueHolderType + // for $sce, not a string + element.html($sce.getTrustedHtml(ngBindHtmlGetter(scope)) || ''); }); }; } @@ -18338,15 +20977,13 @@ function classDirective(name, selector) { function updateClasses (oldClasses, newClasses) { var toAdd = arrayDifference(newClasses, oldClasses); var toRemove = arrayDifference(oldClasses, newClasses); - toRemove = digestClassCounts(toRemove, -1); toAdd = digestClassCounts(toAdd, 1); - - if (toAdd.length === 0) { - $animate.removeClass(element, toRemove); - } else if (toRemove.length === 0) { + toRemove = digestClassCounts(toRemove, -1); + if (toAdd && toAdd.length) { $animate.addClass(element, toAdd); - } else { - $animate.setClass(element, toAdd, toRemove); + } + if (toRemove && toRemove.length) { + $animate.removeClass(element, toRemove); } } @@ -18726,10 +21363,17 @@ var ngCloakDirective = ngDirective({ * * @element ANY * @scope - * @param {expression} ngController Name of a globally accessible constructor function or an - * {@link guide/expression expression} that on the current scope evaluates to a - * constructor function. The controller instance can be published into a scope property - * by specifying `as propertyName`. + * @priority 500 + * @param {expression} ngController Name of a constructor function registered with the current + * {@link ng.$controllerProvider $controllerProvider} or an {@link guide/expression expression} + * that on the current scope evaluates to a constructor function. + * + * The controller instance can be published into a scope property by specifying + * `ng-controller="as propertyName"`. + * + * If the current `$controllerProvider` is configured to use globals (via + * {@link ng.$controllerProvider#allowGlobals `$controllerProvider.allowGlobals()` }), this may + * also be the name of a globally accessible constructor function (not recommended). * * @example * Here is a simple form for editing user contact information. Adding, removing, clearing, and @@ -18924,6 +21568,7 @@ var ngCloakDirective = ngDirective({ */ var ngControllerDirective = [function() { return { + restrict: 'A', scope: true, controller: '@', priority: 500 @@ -19004,7 +21649,9 @@ var ngControllerDirective = [function() { - count: {{count}} + + count: {{count}} + it('should check ng-click', function() { @@ -19022,19 +21669,33 @@ var ngControllerDirective = [function() { * Events that are handled via these handler are always configured not to propagate further. */ var ngEventDirectives = {}; + +// For events that might fire synchronously during DOM manipulation +// we need to execute their event handlers asynchronously using $evalAsync, +// so that they are not executed in an inconsistent state. +var forceAsyncEvents = { + 'blur': true, + 'focus': true +}; forEach( 'click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste'.split(' '), - function(name) { - var directiveName = directiveNormalize('ng-' + name); - ngEventDirectives[directiveName] = ['$parse', function($parse) { + function(eventName) { + var directiveName = directiveNormalize('ng-' + eventName); + ngEventDirectives[directiveName] = ['$parse', '$rootScope', function($parse, $rootScope) { return { + restrict: 'A', compile: function($element, attr) { var fn = $parse(attr[directiveName]); return function ngEventHandler(scope, element) { - element.on(lowercase(name), function(event) { - scope.$apply(function() { + element.on(eventName, function(event) { + var callback = function() { fn(scope, {$event:event}); - }); + }; + if (forceAsyncEvents[eventName] && $rootScope.$$phase) { + scope.$evalAsync(callback); + } else { + scope.$apply(callback); + } }); }; } @@ -19292,6 +21953,13 @@ forEach( * server and reloading the current page), but only if the form does not contain `action`, * `data-action`, or `x-action` attributes. * + *
    + * **Warning:** Be careful not to cause "double-submission" by using both the `ngClick` and + * `ngSubmit` handlers together. See the + * {@link form#submitting-a-form-and-preventing-the-default-action `form` directive documentation} + * for a detailed discussion of when `ngSubmit` may be triggered. + *
    + * * @element form * @priority 0 * @param {expression} ngSubmit {@link guide/expression Expression} to eval. @@ -19344,6 +22012,10 @@ forEach( * @description * Specify custom behavior on focus event. * + * Note: As the `focus` event is executed synchronously when calling `input.focus()` + * AngularJS executes the expression using `scope.$evalAsync` if the event is fired + * during an `$apply` to ensure a consistent state. + * * @element window, input, select, textarea, a * @priority 0 * @param {expression} ngFocus {@link guide/expression Expression} to evaluate upon @@ -19360,6 +22032,14 @@ forEach( * @description * Specify custom behavior on blur event. * + * A [blur event](https://developer.mozilla.org/en-US/docs/Web/Events/blur) fires when + * an element has lost focus. + * + * Note: As the `blur` event is executed synchronously also during DOM manipulations + * (e.g. removing a focussed input), + * AngularJS executes the expression using `scope.$evalAsync` if the event is fired + * during an `$apply` to ensure a consistent state. + * * @element window, input, select, textarea, a * @priority 0 * @param {expression} ngBlur {@link guide/expression Expression} to evaluate upon @@ -19510,6 +22190,7 @@ forEach( */ var ngIfDirective = ['$animate', function($animate) { return { + multiElement: true, transclude: 'element', priority: 600, terminal: true, @@ -19519,10 +22200,10 @@ var ngIfDirective = ['$animate', function($animate) { var block, childScope, previousElements; $scope.$watch($attr.ngIf, function ngIfWatchAction(value) { - if (toBoolean(value)) { + if (value) { if (!childScope) { - childScope = $scope.$new(); - $transclude(childScope, function (clone) { + $transclude(function (clone, newScope) { + childScope = newScope; clone[clone.length++] = document.createComment(' end ngIf: ' + $attr.ngIf + ' '); // Note: We only need the first/last node of the cloned nodes. // However, we need to keep the reference to the jqlite wrapper as it might be changed later @@ -19543,8 +22224,8 @@ var ngIfDirective = ['$animate', function($animate) { childScope = null; } if(block) { - previousElements = getBlockElements(block.clone); - $animate.leave(previousElements, function() { + previousElements = getBlockNodes(block.clone); + $animate.leave(previousElements).then(function() { previousElements = null; }); block = null; @@ -19705,6 +22386,9 @@ var ngIfDirective = ['$animate', function($animate) { * @eventType emit on the scope ngInclude was declared in * @description * Emitted every time the ngInclude content is requested. + * + * @param {Object} angularEvent Synthetic event object. + * @param {String} src URL of content to load. */ @@ -19714,9 +22398,24 @@ var ngIfDirective = ['$animate', function($animate) { * @eventType emit on the current ngInclude scope * @description * Emitted every time the ngInclude content is reloaded. + * + * @param {Object} angularEvent Synthetic event object. + * @param {String} src URL of content to load. */ -var ngIncludeDirective = ['$http', '$templateCache', '$anchorScroll', '$animate', '$sce', - function($http, $templateCache, $anchorScroll, $animate, $sce) { + + +/** + * @ngdoc event + * @name ngInclude#$includeContentError + * @eventType emit on the scope ngInclude was declared in + * @description + * Emitted when a template HTTP request yields an erronous response (status < 200 || status > 299) + * + * @param {Object} angularEvent Synthetic event object. + * @param {String} src URL of content to load. + */ +var ngIncludeDirective = ['$templateRequest', '$anchorScroll', '$animate', '$sce', + function($templateRequest, $anchorScroll, $animate, $sce) { return { restrict: 'ECA', priority: 400, @@ -19744,7 +22443,7 @@ var ngIncludeDirective = ['$http', '$templateCache', '$anchorScroll', '$animate' currentScope = null; } if(currentElement) { - $animate.leave(currentElement, function() { + $animate.leave(currentElement).then(function() { previousElement = null; }); previousElement = currentElement; @@ -19761,7 +22460,9 @@ var ngIncludeDirective = ['$http', '$templateCache', '$anchorScroll', '$animate' var thisChangeId = ++changeCounter; if (src) { - $http.get(src, {cache: $templateCache}).success(function(response) { + //set the 2nd param to true to ignore the template request error so that the inner + //contents and scope can be cleaned up. + $templateRequest(src, true).then(function(response) { if (thisChangeId !== changeCounter) return; var newScope = scope.$new(); ctrl.template = response; @@ -19774,18 +22475,21 @@ var ngIncludeDirective = ['$http', '$templateCache', '$anchorScroll', '$animate' // directives to non existing elements. var clone = $transclude(newScope, function(clone) { cleanupLastIncludeContent(); - $animate.enter(clone, null, $element, afterAnimation); + $animate.enter(clone, null, $element).then(afterAnimation); }); currentScope = newScope; currentElement = clone; - currentScope.$emit('$includeContentLoaded'); + currentScope.$emit('$includeContentLoaded', src); scope.$eval(onloadExp); - }).error(function() { - if (thisChangeId === changeCounter) cleanupLastIncludeContent(); + }, function() { + if (thisChangeId === changeCounter) { + cleanupLastIncludeContent(); + scope.$emit('$includeContentError', src); + } }); - scope.$emit('$includeContentRequested'); + scope.$emit('$includeContentRequested', src); } else { cleanupLastIncludeContent(); ctrl.template = null; @@ -19808,6 +22512,18 @@ var ngIncludeFillContentDirective = ['$compile', priority: -400, require: 'ngInclude', link: function(scope, $element, $attr, ctrl) { + if (/SVG/.test($element[0].toString())) { + // WebKit: https://bugs.webkit.org/show_bug.cgi?id=135698 --- SVG elements do not + // support innerHTML, so detect this here and try to generate the contents + // specially. + $element.empty(); + $compile(jqLiteBuildFragment(ctrl.template, document).childNodes)(scope, + function namespaceAdaptedClone(clone) { + $element.append(clone); + }, undefined, undefined, $element); + return; + } + $element.html(ctrl.template); $compile($element.contents())(scope); } @@ -20120,7 +22836,7 @@ var ngPluralizeDirective = ['$locale', '$interpolate', function($locale, $interp //if explicit number rule such as 1, 2, 3... is defined, just use it. Otherwise, //check it against pluralization rules in $locale service if (!(value in whens)) value = $locale.pluralCat(value - offset); - return whensExpFns[value](scope, element, true); + return whensExpFns[value](scope); } else { return ''; } @@ -20231,6 +22947,13 @@ var ngPluralizeDirective = ['$locale', '$interpolate', function($locale, $interp * For example: `item in items` is equivalent to `item in items track by $id(item)`. This implies that the DOM elements * will be associated by item identity in the array. * + * * `variable in expression as alias_expression` – You can also provide an optional alias expression which will then store the + * intermediate results of the repeater after the filters have been applied. Typically this is used to render a special message + * when a filter is active on the repeater, but the filtered result set is empty. + * + * For example: `item in items | filter:x as results` will store the fragment of the repeated items as `results`, but only after + * the items have been processed through the filter. + * * For example: `item in items track by $id(item)`. A built in `$id()` function can be used to assign a unique * `$$hashKey` property to each item in the array. This property is then used as a key to associated DOM elements * with the corresponding item in the array by identity. Moving the same object in array would move the DOM @@ -20263,9 +22986,12 @@ var ngPluralizeDirective = ['$locale', '$interpolate', function($locale, $interp I have {{friends.length}} friends. They are:
      -
    • +
    • [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.
    • +
    • + No results found... +
    @@ -20332,29 +23058,84 @@ var ngPluralizeDirective = ['$locale', '$interpolate', function($locale, $interp var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { var NG_REMOVED = '$$NG_REMOVED'; var ngRepeatMinErr = minErr('ngRepeat'); + + var updateScope = function(scope, index, valueIdentifier, value, keyIdentifier, key, arrayLength) { + // TODO(perf): generate setters to shave off ~40ms or 1-1.5% + scope[valueIdentifier] = value; + if (keyIdentifier) scope[keyIdentifier] = key; + scope.$index = index; + scope.$first = (index === 0); + scope.$last = (index === (arrayLength - 1)); + scope.$middle = !(scope.$first || scope.$last); + // jshint bitwise: false + scope.$odd = !(scope.$even = (index&1) === 0); + // jshint bitwise: true + }; + + var getBlockStart = function(block) { + return block.clone[0]; + }; + + var getBlockEnd = function(block) { + return block.clone[block.clone.length - 1]; + }; + + return { + restrict: 'A', + multiElement: true, transclude: 'element', priority: 1000, terminal: true, $$tlb: true, - link: function($scope, $element, $attr, ctrl, $transclude){ - var expression = $attr.ngRepeat; - var match = expression.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/), - trackByExp, trackByExpGetter, trackByIdExpFn, trackByIdArrayFn, trackByIdObjFn, - lhs, rhs, valueIdentifier, keyIdentifier, - hashFnLocals = {$id: hashKey}; + compile: function ngRepeatCompile($element, $attr) { + var expression = $attr.ngRepeat; + var ngRepeatEndComment = document.createComment(' end ngRepeat: ' + expression + ' '); - if (!match) { - throw ngRepeatMinErr('iexp', "Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.", + var match = expression.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/); + + if (!match) { + throw ngRepeatMinErr('iexp', "Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.", expression); - } + } - lhs = match[1]; - rhs = match[2]; - trackByExp = match[3]; + var lhs = match[1]; + var rhs = match[2]; + var aliasAs = match[3]; + var trackByExp = match[4]; - if (trackByExp) { - trackByExpGetter = $parse(trackByExp); + match = lhs.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/); + + if (!match) { + throw ngRepeatMinErr('iidexp', "'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.", + lhs); + } + var valueIdentifier = match[3] || match[1]; + var keyIdentifier = match[2]; + + if (aliasAs && (!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(aliasAs) || + /^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent)$/.test(aliasAs))) { + throw ngRepeatMinErr('badident', "alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.", + aliasAs); + } + + var trackByExpGetter, trackByIdExpFn, trackByIdArrayFn, trackByIdObjFn; + var hashFnLocals = {$id: hashKey}; + + if (trackByExp) { + trackByExpGetter = $parse(trackByExp); + } else { + trackByIdArrayFn = function (key, value) { + return hashKey(value); + }; + trackByIdObjFn = function (key) { + return key; + }; + } + + return function ngRepeatLink($scope, $element, $attr, ctrl, $transclude) { + + if (trackByExpGetter) { trackByIdExpFn = function(key, value, index) { // assign key, value, and $index to the locals so that they can be used in hash functions if (keyIdentifier) hashFnLocals[keyIdentifier] = key; @@ -20362,48 +23143,39 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { hashFnLocals.$index = index; return trackByExpGetter($scope, hashFnLocals); }; - } else { - trackByIdArrayFn = function(key, value) { - return hashKey(value); - }; - trackByIdObjFn = function(key) { - return key; - }; } - match = lhs.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/); - if (!match) { - throw ngRepeatMinErr('iidexp', "'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.", - lhs); - } - valueIdentifier = match[3] || match[1]; - keyIdentifier = match[2]; - // Store a list of elements from previous run. This is a hash where key is the item from the // iterator, and the value is objects with following properties. // - scope: bound scope // - element: previous element. // - index: position - var lastBlockMap = {}; + // + // We are using no-proto object so that we don't need to guard against inherited props via + // hasOwnProperty. + var lastBlockMap = createMap(); //watch props - $scope.$watchCollection(rhs, function ngRepeatAction(collection){ + $scope.$watchCollection(rhs, function ngRepeatAction(collection) { var index, length, - previousNode = $element[0], // current position of the node + previousNode = $element[0], // node that cloned nodes should be inserted after + // initialized to the comment node anchor nextNode, // Same as lastBlockMap but it has the current state. It will become the // lastBlockMap on the next iteration. - nextBlockMap = {}, - arrayLength, - childScope, + nextBlockMap = createMap(), + collectionLength, key, value, // key/value of iteration trackById, trackByIdFn, collectionKeys, block, // last object information {scope, element, id} - nextBlockOrder = [], + nextBlockOrder, elementsToRemove; + if (aliasAs) { + $scope[aliasAs] = collection; + } if (isArrayLike(collection)) { collectionKeys = collection; @@ -20412,118 +23184,106 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { trackByIdFn = trackByIdExpFn || trackByIdObjFn; // if object, extract keys, sort them and use to determine order of iteration over obj props collectionKeys = []; - for (key in collection) { - if (collection.hasOwnProperty(key) && key.charAt(0) != '$') { - collectionKeys.push(key); + for (var itemKey in collection) { + if (collection.hasOwnProperty(itemKey) && itemKey.charAt(0) != '$') { + collectionKeys.push(itemKey); } } collectionKeys.sort(); } - arrayLength = collectionKeys.length; + collectionLength = collectionKeys.length; + nextBlockOrder = new Array(collectionLength); // locate existing items - length = nextBlockOrder.length = collectionKeys.length; - for(index = 0; index < length; index++) { - key = (collection === collectionKeys) ? index : collectionKeys[index]; - value = collection[key]; - trackById = trackByIdFn(key, value, index); - assertNotHasOwnProperty(trackById, '`track by` id'); - if(lastBlockMap.hasOwnProperty(trackById)) { - block = lastBlockMap[trackById]; - delete lastBlockMap[trackById]; - nextBlockMap[trackById] = block; - nextBlockOrder[index] = block; - } else if (nextBlockMap.hasOwnProperty(trackById)) { - // restore lastBlockMap - forEach(nextBlockOrder, function(block) { - if (block && block.scope) lastBlockMap[block.id] = block; - }); - // This is a duplicate and we need to throw an error - throw ngRepeatMinErr('dupes', "Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}", - expression, trackById); - } else { - // new never before seen block - nextBlockOrder[index] = { id: trackById }; - nextBlockMap[trackById] = false; - } - } - - // remove existing items - for (key in lastBlockMap) { - // lastBlockMap is our own object so we don't need to use special hasOwnPropertyFn - if (lastBlockMap.hasOwnProperty(key)) { - block = lastBlockMap[key]; - elementsToRemove = getBlockElements(block.clone); - $animate.leave(elementsToRemove); - forEach(elementsToRemove, function(element) { element[NG_REMOVED] = true; }); - block.scope.$destroy(); + for (index = 0; index < collectionLength; index++) { + key = (collection === collectionKeys) ? index : collectionKeys[index]; + value = collection[key]; + trackById = trackByIdFn(key, value, index); + if (lastBlockMap[trackById]) { + // found previously seen block + block = lastBlockMap[trackById]; + delete lastBlockMap[trackById]; + nextBlockMap[trackById] = block; + nextBlockOrder[index] = block; + } else if (nextBlockMap[trackById]) { + // if collision detected. restore lastBlockMap and throw an error + forEach(nextBlockOrder, function (block) { + if (block && block.scope) lastBlockMap[block.id] = block; + }); + throw ngRepeatMinErr('dupes', + "Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}", + expression, trackById, toJson(value)); + } else { + // new never before seen block + nextBlockOrder[index] = {id: trackById, scope: undefined, clone: undefined}; + nextBlockMap[trackById] = true; } } + // remove leftover items + for (var blockKey in lastBlockMap) { + block = lastBlockMap[blockKey]; + elementsToRemove = getBlockNodes(block.clone); + $animate.leave(elementsToRemove); + if (elementsToRemove[0].parentNode) { + // if the element was not removed yet because of pending animation, mark it as deleted + // so that we can ignore it later + for (index = 0, length = elementsToRemove.length; index < length; index++) { + elementsToRemove[index][NG_REMOVED] = true; + } + } + block.scope.$destroy(); + } + // we are not using forEach for perf reasons (trying to avoid #call) - for (index = 0, length = collectionKeys.length; index < length; index++) { + for (index = 0; index < collectionLength; index++) { key = (collection === collectionKeys) ? index : collectionKeys[index]; value = collection[key]; block = nextBlockOrder[index]; - if (nextBlockOrder[index - 1]) previousNode = getBlockEnd(nextBlockOrder[index - 1]); if (block.scope) { // if we have already seen this object, then we need to reuse the // associated scope/element - childScope = block.scope; nextNode = previousNode; + + // skip nodes that are already pending removal via leave animation do { nextNode = nextNode.nextSibling; - } while(nextNode && nextNode[NG_REMOVED]); + } while (nextNode && nextNode[NG_REMOVED]); if (getBlockStart(block) != nextNode) { // existing item which got moved - $animate.move(getBlockElements(block.clone), null, jqLite(previousNode)); + $animate.move(getBlockNodes(block.clone), null, jqLite(previousNode)); } previousNode = getBlockEnd(block); + updateScope(block.scope, index, valueIdentifier, value, keyIdentifier, key, collectionLength); } else { // new item which we don't know about - childScope = $scope.$new(); - } + $transclude(function ngRepeatTransclude(clone, scope) { + block.scope = scope; + // http://jsperf.com/clone-vs-createcomment + var endNode = ngRepeatEndComment.cloneNode(false); + clone[clone.length++] = endNode; - childScope[valueIdentifier] = value; - if (keyIdentifier) childScope[keyIdentifier] = key; - childScope.$index = index; - childScope.$first = (index === 0); - childScope.$last = (index === (arrayLength - 1)); - childScope.$middle = !(childScope.$first || childScope.$last); - // jshint bitwise: false - childScope.$odd = !(childScope.$even = (index&1) === 0); - // jshint bitwise: true - - if (!block.scope) { - $transclude(childScope, function(clone) { - clone[clone.length++] = document.createComment(' end ngRepeat: ' + expression + ' '); + // TODO(perf): support naked previousNode in `enter` to avoid creation of jqLite wrapper? $animate.enter(clone, null, jqLite(previousNode)); - previousNode = clone; - block.scope = childScope; + previousNode = endNode; // Note: We only need the first/last node of the cloned nodes. // However, we need to keep the reference to the jqlite wrapper as it might be changed later // by a directive with templateUrl when its template arrives. block.clone = clone; nextBlockMap[block.id] = block; + updateScope(block.scope, index, valueIdentifier, value, keyIdentifier, key, collectionLength); }); } } lastBlockMap = nextBlockMap; }); + }; } }; - - function getBlockStart(block) { - return block.clone[0]; - } - - function getBlockEnd(block) { - return block.clone[block.clone.length - 1]; - } }]; /** @@ -20532,8 +23292,8 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { * * @description * The `ngShow` directive shows or hides the given HTML element based on the expression - * provided to the ngShow attribute. The element is shown or hidden by removing or adding - * the `ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined + * provided to the `ngShow` attribute. The element is shown or hidden by removing or adding + * the `.ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined * in AngularJS and sets the display style to none (using an !important flag). * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}). * @@ -20545,18 +23305,13 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { *
    * ``` * - * When the ngShow expression evaluates to false then the ng-hide CSS class is added to the class attribute - * on the element causing it to become hidden. When true, the ng-hide CSS class is removed + * When the `ngShow` expression evaluates to a falsy value then the `.ng-hide` CSS class is added to the class + * attribute on the element causing it to become hidden. When truthy, the `.ng-hide` CSS class is removed * from the element causing the element not to appear hidden. * - *
    - * **Note:** Here is a list of values that ngShow will consider as a falsy value (case insensitive):
    - * "f" / "0" / "false" / "no" / "n" / "[]" - *
    - * * ## Why is !important used? * - * You may be wondering why !important is used for the .ng-hide CSS class. This is because the `.ng-hide` selector + * You may be wondering why !important is used for the `.ng-hide` CSS class. This is because the `.ng-hide` selector * can be easily overridden by heavier selectors. For example, something as simple * as changing the display style on a HTML list item would make hidden elements appear visible. * This also becomes a bigger issue when dealing with CSS frameworks. @@ -20565,7 +23320,7 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { * specificity (when !important isn't used with any conflicting styles). If a developer chooses to override the * styling to change how to hide an element then it is just a matter of using !important in their own CSS code. * - * ### Overriding .ng-hide + * ### Overriding `.ng-hide` * * By default, the `.ng-hide` class will style the element with `display:none!important`. If you wish to change * the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide` @@ -20573,7 +23328,7 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { * * ```css * .ng-hide { - * //this is just another form of hiding an element + * /* this is just another form of hiding an element */ * display:block!important; * position:absolute; * top:-9999px; @@ -20583,7 +23338,7 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { * * By default you don't need to override in CSS anything and the animations will work around the display style. * - * ## A note about animations with ngShow + * ## A note about animations with `ngShow` * * Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression * is true and false. This system works like the animation system present with ngClass except that @@ -20595,7 +23350,15 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { * //a working example can be found at the bottom of this page * // * .my-element.ng-hide-add, .my-element.ng-hide-remove { - * transition:0.5s linear all; + * /* this is required as of 1.3x to properly + * apply all styling in a show/hide animation */ + * transition:0s linear all; + * } + * + * .my-element.ng-hide-add-active, + * .my-element.ng-hide-remove-active { + * /* the transition is defined in the active class */ + * transition:1s linear all; * } * * .my-element.ng-hide-add { ... } @@ -20604,12 +23367,12 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { * .my-element.ng-hide-remove.ng-hide-remove-active { ... } * ``` * - * Keep in mind that, as of AngularJS version 1.2.17 (and 1.3.0-beta.11), there is no need to change the display + * Keep in mind that, as of AngularJS version 1.3.0-beta.11, there is no need to change the display * property to block during animation states--ngAnimate will handle the style toggling automatically for you. * * @animations - * addClass: .ng-hide - happens after the ngShow expression evaluates to a truthy value and the just before contents are set to visible - * removeClass: .ng-hide - happens after the ngShow expression evaluates to a non truthy value and just before the contents are set to hidden + * addClass: `.ng-hide` - happens after the `ngShow` expression evaluates to a truthy value and the just before contents are set to visible + * removeClass: `.ng-hide` - happens after the `ngShow` expression evaluates to a non truthy value and just before the contents are set to hidden * * @element ANY * @param {expression} ngShow If the {@link guide/expression expression} is truthy @@ -20637,8 +23400,6 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { .animate-show { - -webkit-transition:all linear 0.5s; - transition:all linear 0.5s; line-height:20px; opacity:1; padding:10px; @@ -20646,6 +23407,12 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { background:white; } + .animate-show.ng-hide-add.ng-hide-add-active, + .animate-show.ng-hide-remove.ng-hide-remove-active { + -webkit-transition:all linear 0.5s; + transition:all linear 0.5s; + } + .animate-show.ng-hide { line-height:0; opacity:0; @@ -20675,10 +23442,14 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { */ var ngShowDirective = ['$animate', function($animate) { - return function(scope, element, attr) { - scope.$watch(attr.ngShow, function ngShowWatchAction(value){ - $animate[toBoolean(value) ? 'removeClass' : 'addClass'](element, 'ng-hide'); - }); + return { + restrict: 'A', + multiElement: true, + link: function(scope, element, attr) { + scope.$watch(attr.ngShow, function ngShowWatchAction(value){ + $animate[value ? 'removeClass' : 'addClass'](element, 'ng-hide'); + }); + } }; }]; @@ -20689,7 +23460,7 @@ var ngShowDirective = ['$animate', function($animate) { * * @description * The `ngHide` directive shows or hides the given HTML element based on the expression - * provided to the ngHide attribute. The element is shown or hidden by removing or adding + * provided to the `ngHide` attribute. The element is shown or hidden by removing or adding * the `ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined * in AngularJS and sets the display style to none (using an !important flag). * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}). @@ -20702,18 +23473,13 @@ var ngShowDirective = ['$animate', function($animate) { *
    * ``` * - * When the ngHide expression evaluates to true then the .ng-hide CSS class is added to the class attribute - * on the element causing it to become hidden. When false, the ng-hide CSS class is removed + * When the `ngHide` expression evaluates to a truthy value then the `.ng-hide` CSS class is added to the class + * attribute on the element causing it to become hidden. When falsy, the `.ng-hide` CSS class is removed * from the element causing the element not to appear hidden. * - *
    - * **Note:** Here is a list of values that ngHide will consider as a falsy value (case insensitive):
    - * "f" / "0" / "false" / "no" / "n" / "[]" - *
    - * * ## Why is !important used? * - * You may be wondering why !important is used for the .ng-hide CSS class. This is because the `.ng-hide` selector + * You may be wondering why !important is used for the `.ng-hide` CSS class. This is because the `.ng-hide` selector * can be easily overridden by heavier selectors. For example, something as simple * as changing the display style on a HTML list item would make hidden elements appear visible. * This also becomes a bigger issue when dealing with CSS frameworks. @@ -20722,7 +23488,7 @@ var ngShowDirective = ['$animate', function($animate) { * specificity (when !important isn't used with any conflicting styles). If a developer chooses to override the * styling to change how to hide an element then it is just a matter of using !important in their own CSS code. * - * ### Overriding .ng-hide + * ### Overriding `.ng-hide` * * By default, the `.ng-hide` class will style the element with `display:none!important`. If you wish to change * the hide behavior with ngShow/ngHide then this can be achieved by restating the styles for the `.ng-hide` @@ -20730,7 +23496,7 @@ var ngShowDirective = ['$animate', function($animate) { * * ```css * .ng-hide { - * //this is just another form of hiding an element + * /* this is just another form of hiding an element */ * display:block!important; * position:absolute; * top:-9999px; @@ -20740,7 +23506,7 @@ var ngShowDirective = ['$animate', function($animate) { * * By default you don't need to override in CSS anything and the animations will work around the display style. * - * ## A note about animations with ngHide + * ## A note about animations with `ngHide` * * Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression * is true and false. This system works like the animation system present with ngClass, except that the `.ng-hide` @@ -20760,12 +23526,12 @@ var ngShowDirective = ['$animate', function($animate) { * .my-element.ng-hide-remove.ng-hide-remove-active { ... } * ``` * - * Keep in mind that, as of AngularJS version 1.2.17 (and 1.3.0-beta.11), there is no need to change the display + * Keep in mind that, as of AngularJS version 1.3.0-beta.11, there is no need to change the display * property to block during animation states--ngAnimate will handle the style toggling automatically for you. * * @animations - * removeClass: .ng-hide - happens after the ngHide expression evaluates to a truthy value and just before the contents are set to hidden - * addClass: .ng-hide - happens after the ngHide expression evaluates to a non truthy value and just before the contents are set to visible + * removeClass: `.ng-hide` - happens after the `ngHide` expression evaluates to a truthy value and just before the contents are set to hidden + * addClass: `.ng-hide` - happens after the `ngHide` expression evaluates to a non truthy value and just before the contents are set to visible * * @element ANY * @param {expression} ngHide If the {@link guide/expression expression} is truthy then @@ -20831,10 +23597,14 @@ var ngShowDirective = ['$animate', function($animate) { */ var ngHideDirective = ['$animate', function($animate) { - return function(scope, element, attr) { - scope.$watch(attr.ngHide, function ngHideWatchAction(value){ - $animate[toBoolean(value) ? 'addClass' : 'removeClass'](element, 'ng-hide'); - }); + return { + restrict: 'A', + multiElement: true, + link: function(scope, element, attr) { + scope.$watch(attr.ngHide, function ngHideWatchAction(value){ + $animate[value ? 'addClass' : 'removeClass'](element, 'ng-hide'); + }); + } }; }]; @@ -20935,7 +23705,7 @@ var ngStyleDirective = ngDirective(function(scope, element, attr) { * * * @scope - * @priority 800 + * @priority 1200 * @param {*} ngSwitch|on expression to match against ng-switch-when. * On child elements add: * @@ -21034,37 +23804,39 @@ var ngSwitchDirective = ['$animate', function($animate) { var watchExpr = attr.ngSwitch || attr.on, selectedTranscludes = [], selectedElements = [], - previousElements = [], + previousLeaveAnimations = [], selectedScopes = []; + var spliceFactory = function(array, index) { + return function() { array.splice(index, 1); }; + }; + scope.$watch(watchExpr, function ngSwitchWatchAction(value) { var i, ii; - for (i = 0, ii = previousElements.length; i < ii; ++i) { - previousElements[i].remove(); + for (i = 0, ii = previousLeaveAnimations.length; i < ii; ++i) { + $animate.cancel(previousLeaveAnimations[i]); } - previousElements.length = 0; + previousLeaveAnimations.length = 0; for (i = 0, ii = selectedScopes.length; i < ii; ++i) { - var selected = selectedElements[i]; + var selected = getBlockNodes(selectedElements[i].clone); selectedScopes[i].$destroy(); - previousElements[i] = selected; - $animate.leave(selected, function() { - previousElements.splice(i, 1); - }); + var promise = previousLeaveAnimations[i] = $animate.leave(selected); + promise.then(spliceFactory(previousLeaveAnimations, i)); } selectedElements.length = 0; selectedScopes.length = 0; if ((selectedTranscludes = ngSwitchController.cases['!' + value] || ngSwitchController.cases['?'])) { - scope.$eval(attr.change); forEach(selectedTranscludes, function(selectedTransclude) { - var selectedScope = scope.$new(); - selectedScopes.push(selectedScope); - selectedTransclude.transclude(selectedScope, function(caseElement) { + selectedTransclude.transclude(function(caseElement, selectedScope) { + selectedScopes.push(selectedScope); var anchor = selectedTransclude.element; + caseElement[caseElement.length++] = document.createComment(' end ngSwitchWhen: '); + var block = { clone: caseElement }; - selectedElements.push(caseElement); + selectedElements.push(block); $animate.enter(caseElement, anchor.parent(), anchor); }); }); @@ -21076,8 +23848,9 @@ var ngSwitchDirective = ['$animate', function($animate) { var ngSwitchWhenDirective = ngDirective({ transclude: 'element', - priority: 800, + priority: 1200, require: '^ngSwitch', + multiElement: true, link: function(scope, element, attrs, ctrl, $transclude) { ctrl.cases['!' + attrs.ngSwitchWhen] = (ctrl.cases['!' + attrs.ngSwitchWhen] || []); ctrl.cases['!' + attrs.ngSwitchWhen].push({ transclude: $transclude, element: element }); @@ -21086,8 +23859,9 @@ var ngSwitchWhenDirective = ngDirective({ var ngSwitchDefaultDirective = ngDirective({ transclude: 'element', - priority: 800, + priority: 1200, require: '^ngSwitch', + multiElement: true, link: function(scope, element, attr, ctrl, $transclude) { ctrl.cases['?'] = (ctrl.cases['?'] || []); ctrl.cases['?'].push({ transclude: $transclude, element: element }); @@ -21097,7 +23871,7 @@ var ngSwitchDefaultDirective = ngDirective({ /** * @ngdoc directive * @name ngTransclude - * @restrict AC + * @restrict EAC * * @description * Directive that marks the insertion point for the transcluded DOM of the nearest parent directive that uses transclusion. @@ -21118,7 +23892,7 @@ var ngSwitchDefaultDirective = ngDirective({ scope: { title:'@' }, template: '
    ' + '
    {{title}}
    ' + - '
    ' + + '' + '
    ' }; }) @@ -21149,6 +23923,7 @@ var ngSwitchDefaultDirective = ngDirective({ * */ var ngTranscludeDirective = ngDirective({ + restrict: 'EAC', link: function($scope, $element, $attrs, controller, $transclude) { if (!$transclude) { throw minErr('ngTransclude')('orphan', @@ -21329,7 +24104,7 @@ var ngOptionsMinErr = minErr('ngOptions'); Select bogus.

    - Currently selected: {{ {selected_color:myColor} }} + Currently selected: {{ {selected_color:myColor} }}
    @@ -21349,7 +24124,11 @@ var ngOptionsMinErr = minErr('ngOptions'); */ -var ngOptionsDirective = valueFn({ terminal: true }); +var ngOptionsDirective = valueFn({ + restrict: 'A', + terminal: true +}); + // jshint maxlen: false var selectDirective = ['$compile', '$parse', function($compile, $parse) { //000011111111110000000000022222222220000000000000000000003333333333000000000000004444444444444440000000005555555555555550000000666666666666666000000000000000777777777700000000000000000008888888888 @@ -21378,7 +24157,7 @@ var selectDirective = ['$compile', '$parse', function($compile, $parse) { }; - self.addOption = function(value) { + self.addOption = function(value, element) { assertNotHasOwnProperty(value, '"option value"'); optionsMap[value] = true; @@ -21386,6 +24165,12 @@ var selectDirective = ['$compile', '$parse', function($compile, $parse) { $element.val(value); if (unknownOption.parent()) unknownOption.remove(); } + // Workaround for https://code.google.com/p/chromium/issues/detail?id=381459 + // Adding an