Added: AngularJS Translate v2.7.2 (#107)

This commit is contained in:
nobody 2020-09-16 06:33:25 +02:00
parent 6899db5a7c
commit 8482210036
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
7 changed files with 47 additions and 0 deletions

View File

@ -110,6 +110,12 @@ var mappings = {
'angular.js/{version}/angular-sanitize.': resources.angularSanitize, 'angular.js/{version}/angular-sanitize.': resources.angularSanitize,
'angular.js/{version}/angular-touch.': resources.angularTouch, 'angular.js/{version}/angular-touch.': resources.angularTouch,
'angular.js/{version}/angular.': resources.angular, 'angular.js/{version}/angular.': resources.angular,
'angular-translate/{version}/angular-translate.min.js': resources.angularTranslate,
'angular-translate/{version}/angular-translate.js': resources.angularTranslate,
'angular-translate-loader-static-files/{version}/angular-translate-loader-static-files.min.js': resources.angularTranslateLoaderStaticFiles,
'angular-translate-loader-static-files/{version}/angular-translate-loader-static-files.js': resources.angularTranslateLoaderStaticFiles,
'angular-translate-interpolation-messageformat/{version}/angular-translate-interpolation-messageformat.min.js': resources.angularTranslateInterpolationMessageformat,
'angular-translate-interpolation-messageformat/{version}/angular-translate-interpolation-messageformat.js': resources.angularTranslateInterpolationMessageformat,
'angularjs-toaster/{version}/toaster.min.css': resources.angularJsToasterCSS, 'angularjs-toaster/{version}/toaster.min.css': resources.angularJsToasterCSS,
'angularjs-toaster/{version}/toaster.min.js': resources.angularJsToasterJS, 'angularjs-toaster/{version}/toaster.min.js': resources.angularJsToasterJS,
'angularjs-toaster/{version}/toaster.css': resources.angularJsToasterCSS, 'angularjs-toaster/{version}/toaster.css': resources.angularJsToasterCSS,

View File

@ -154,6 +154,19 @@ var resources = {
'path': 'resources/angular-stripe-checkout/{version}/angular-stripe-checkout.jsm', 'path': 'resources/angular-stripe-checkout/{version}/angular-stripe-checkout.jsm',
'type': 'application/javascript' 'type': 'application/javascript'
}, },
// Angular Translate
'angularTranslate': {
'path': 'resources/angular-translate/{version}/angular-translate.min.jsm',
'type': 'application/javascript'
},
'angularTranslateInterpolationMessageformat': {
'path': 'resources/angular-translate/{version}/angular-translate-interpolation-messageformat.min.jsm',
'type': 'application/javascript'
},
'angularTranslateLoaderStaticFiles': {
'path': 'resources/angular-translate/{version}/angular-translate-loader-static-files.min.jsm',
'type': 'application/javascript'
},
// Animate CSS // Animate CSS
'animateCSS': { 'animateCSS': {
'path': 'resources/animate.css/{version}/animate.min.css', 'path': 'resources/animate.css/{version}/animate.min.css',

View File

@ -336,6 +336,12 @@ helpers.setLastVersion = function (type, version) {
return '0.37.1'; return '0.37.1';
} else if (type.includes('/angular-material/1.')) { } else if (type.includes('/angular-material/1.')) {
return '1.1.21'; return '1.1.21';
} else if (type.includes('/angular-translate/2.')) {
return '2.7.2';
} else if (type.includes('/angular-translate-loader-static-files/2.')) {
return '2.7.2';
} else if (type.includes('/angular-translate-interpolation-messageformat/2.')) {
return '2.7.2';
} else if (type.includes('/backbone.js/0.')) { } else if (type.includes('/backbone.js/0.')) {
return '0.9.10'; return '0.9.10';
} else if (type.includes('/backbone.js/1.')) { } else if (type.includes('/backbone.js/1.')) {
@ -579,6 +585,9 @@ helpers.compareVersion = function (v1, v2) {
}; };
const ListOfFiles = { const ListOfFiles = {
'angular-translate.min.jsm': 'Angular Translate',
'angular-translate-interpolation-messageformat.min.jsm': 'Angular Translate Interpolation Messageformat',
'angular-translate-loader-static-files.min.jsm': 'Angular Translate Load Static Files',
'anchor.min.jsm': 'AnchorJS', 'anchor.min.jsm': 'AnchorJS',
'jquery.easing.min.jsm': 'jQuery Easing Plugin', 'jquery.easing.min.jsm': 'jQuery Easing Plugin',
'baguetteBox.min.jsm': 'baguetteBox.js (JS)', 'baguetteBox.min.jsm': 'baguetteBox.js (JS)',

View File

@ -52,6 +52,7 @@
<li>Fixed: Import user settings (<a href="https://codeberg.org/nobody/LocalCDN/issues/102">#102</a>)</li> <li>Fixed: Import user settings (<a href="https://codeberg.org/nobody/LocalCDN/issues/102">#102</a>)</li>
<li>Implemented: Rules for AdGuard (<a href="https://codeberg.org/nobody/LocalCDN/issues/105">#105</a>)</li> <li>Implemented: Rules for AdGuard (<a href="https://codeberg.org/nobody/LocalCDN/issues/105">#105</a>)</li>
<li>Updated: AngularJS v1.3.15 -> v1.3.20 (<a href="https://codeberg.org/nobody/LocalCDN/issues/107">#107</a>)</li> <li>Updated: AngularJS v1.3.15 -> v1.3.20 (<a href="https://codeberg.org/nobody/LocalCDN/issues/107">#107</a>)</li>
<li>Added: AngularJS Translate v2.7.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/107">#107</a>)</li>
</ul> </ul>
<div id="generator-section"> <div id="generator-section">
<div class="topic-label"> <div class="topic-label">

View File

@ -0,0 +1,6 @@
/*!
* angular-translate - v2.7.2 - 2015-06-01
* http://github.com/angular-translate/angular-translate
* Copyright (c) 2015 ; Licensed MIT
*/
!function(a,b){"function"==typeof define&&define.amd?define([],function(){return b()}):"object"==typeof exports?module.exports=b():b()}(this,function(){function a(a,b,c){"use strict";var d={},e=b.get(c),f=new MessageFormat("en"),g="messageformat";return e||(e=b(c)),e.put("en",f),d.setLocale=function(a){f=e.get(a),f||(f=new MessageFormat(a),e.put(a,f))},d.getInterpolationIdentifier=function(){return g},d.useSanitizeValueStrategy=function(b){return a.useStrategy(b),this},d.interpolate=function(b,c){c=c||{},c=a.sanitize(c,"params");var d=e.get(b+angular.toJson(c));if(!d){for(var g in c)if(c.hasOwnProperty(g)){var h=parseInt(c[g],10);angular.isNumber(h)&&""+h===c[g]&&(c[g]=h)}d=f.compile(b)(c),d=a.sanitize(d,"text"),e.put(b+angular.toJson(c),d)}return d},d}return angular.module("pascalprecht.translate").constant("TRANSLATE_MF_INTERPOLATION_CACHE","$translateMessageFormatInterpolation").factory("$translateMessageFormatInterpolation",a),a.$inject=["$translateSanitization","$cacheFactory","TRANSLATE_MF_INTERPOLATION_CACHE"],a.displayName="$translateMessageFormatInterpolation","pascalprecht.translate"});

View File

@ -0,0 +1,6 @@
/*!
* angular-translate - v2.7.2 - 2015-06-01
* http://github.com/angular-translate/angular-translate
* Copyright (c) 2015 ; Licensed MIT
*/
!function(a,b){"function"==typeof define&&define.amd?define([],function(){return b()}):"object"==typeof exports?module.exports=b():b()}(this,function(){function a(a,b){"use strict";return function(c){if(!(c&&(angular.isArray(c.files)||angular.isString(c.prefix)&&angular.isString(c.suffix))))throw new Error("Couldn't load static files, no files and prefix or suffix specified!");c.files||(c.files=[{prefix:c.prefix,suffix:c.suffix}]);for(var d=function(d){if(!d||!angular.isString(d.prefix)||!angular.isString(d.suffix))throw new Error("Couldn't load static file, no prefix or suffix specified!");var e=a.defer();return b(angular.extend({url:[d.prefix,c.key,d.suffix].join(""),method:"GET",params:""},c.$http)).success(function(a){e.resolve(a)}).error(function(){e.reject(c.key)}),e.promise},e=a.defer(),f=[],g=c.files.length,h=0;g>h;h++)f.push(d({prefix:c.files[h].prefix,key:c.key,suffix:c.files[h].suffix}));return a.all(f).then(function(a){for(var b=a.length,c={},d=0;b>d;d++)for(var f in a[d])c[f]=a[d][f];e.resolve(c)},function(a){e.reject(a)}),e.promise}}return angular.module("pascalprecht.translate").factory("$translateStaticFilesLoader",a),a.$inject=["$q","$http"],a.displayName="$translateStaticFilesLoader","pascalprecht.translate"});

File diff suppressed because one or more lines are too long