diff --git a/src/Chartjs/assets/dist/controller.d.ts b/src/Chartjs/assets/dist/controller.d.ts deleted file mode 100644 index 4f1287e9048..00000000000 --- a/src/Chartjs/assets/dist/controller.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Controller } from '@hotwired/stimulus'; -export default class extends Controller { - readonly viewValue: any; - static values: { - view: ObjectConstructor; - }; - private chart; - connect(): void; - viewValueChanged(): void; - private dispatchEvent; -} diff --git a/src/Chartjs/assets/dist/controller.js b/src/Chartjs/assets/dist/controller.js index 9432a885382..aa621154126 100644 --- a/src/Chartjs/assets/dist/controller.js +++ b/src/Chartjs/assets/dist/controller.js @@ -34,6 +34,7 @@ class default_1 extends Controller { } this.chart = new Chart(canvasContext, payload); this.dispatchEvent('connect', { chart: this.chart }); + console.log('Lorem ipsum dolor sit amet, consectetur adipisicing elit. At commodi doloremque ducimus, et excepturi ipsam iure labore laboriosam nobis non odit perferendis placeat quae quidem tempora tempore tenetur voluptates. Quo.') } viewValueChanged() { if (this.chart) { diff --git a/src/Translator/assets/dist/translator_controller.js b/src/Translator/assets/dist/translator_controller.js index 76292583bfb..eabe911e5c4 100644 --- a/src/Translator/assets/dist/translator_controller.js +++ b/src/Translator/assets/dist/translator_controller.js @@ -104,63 +104,6 @@ function getPluralizationRule(number, locale) { case 'fi': case 'fo': case 'fur': - case 'fy': - case 'gl': - case 'gu': - case 'ha': - case 'he': - case 'hu': - case 'is': - case 'it': - case 'ku': - case 'lb': - case 'ml': - case 'mn': - case 'mr': - case 'nah': - case 'nb': - case 'ne': - case 'nl': - case 'nn': - case 'no': - case 'oc': - case 'om': - case 'or': - case 'pa': - case 'pap': - case 'ps': - case 'pt': - case 'so': - case 'sq': - case 'sv': - case 'sw': - case 'ta': - case 'te': - case 'tk': - case 'ur': - case 'zu': - return 1 === number ? 0 : 1; - case 'am': - case 'bh': - case 'fil': - case 'fr': - case 'gun': - case 'hi': - case 'hy': - case 'ln': - case 'mg': - case 'nso': - case 'pt_BR': - case 'ti': - case 'wa': - return number < 2 ? 0 : 1; - case 'be': - case 'bs': - case 'hr': - case 'ru': - case 'sh': - case 'sr': - case 'uk': return 1 === number % 10 && 11 !== number % 100 ? 0 : number % 10 >= 2 && number % 10 <= 4 && (number % 100 < 10 || number % 100 >= 20)