From aace4be3d669fa587d973c4407489a6eeca71a4e Mon Sep 17 00:00:00 2001 From: GoshaZotov Date: Tue, 19 Jan 2021 15:16:51 +0300 Subject: [PATCH] [se] Add support for randarray function --- apps/spreadsheeteditor/main/resources/formula-lang/de.json | 1 + .../main/resources/formula-lang/de_desc.json | 4 ++++ apps/spreadsheeteditor/main/resources/formula-lang/en.json | 1 + .../main/resources/formula-lang/en_desc.json | 6 +++++- apps/spreadsheeteditor/main/resources/formula-lang/es.json | 1 + .../main/resources/formula-lang/es_desc.json | 4 ++++ apps/spreadsheeteditor/main/resources/formula-lang/fr.json | 1 + .../main/resources/formula-lang/fr_desc.json | 4 ++++ apps/spreadsheeteditor/main/resources/formula-lang/it.json | 1 + .../main/resources/formula-lang/it_desc.json | 4 ++++ apps/spreadsheeteditor/main/resources/formula-lang/pl.json | 1 + apps/spreadsheeteditor/main/resources/formula-lang/ru.json | 1 + .../main/resources/formula-lang/ru_desc.json | 4 ++++ 13 files changed, 32 insertions(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/de.json b/apps/spreadsheeteditor/main/resources/formula-lang/de.json index 6a5485d0a..6d64e547f 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/de.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/de.json @@ -385,6 +385,7 @@ "QUOTIENT": "QUOTIENT", "RADIANS": "BOGENMASS", "RAND": "ZUFALLSZAHL", + "RANDARRAY": "ZUFALLSMATRIX", "RANDBETWEEN": "ZUFALLSBEREICH", "ROMAN": "RÖMISCH", "ROUND": "RUNDEN", diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/de_desc.json b/apps/spreadsheeteditor/main/resources/formula-lang/de_desc.json index 3b85d0f92..9e77b17cd 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/de_desc.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/de_desc.json @@ -1543,6 +1543,10 @@ "a": "()", "d": "Mathematische und trigonometrische Funktion - gibt eine gleichmäßig verteilte reelle Zufallszahl zurück, die größer oder gleich 0 und kleiner als 1 ist Für die Syntax der Funktion sind keine Argumente erforderlich" }, + "RANDARRAY": { + "a": "([Zeilen];[Spalten];[min];[max];[ganze_Zahl])", + "d": "Mathematische und trigonometrische Funktion - gibt eine Array von Zufallszahlen zurück" + }, "RANDBETWEEN": { "a": "(Untere_Zahl;Obere_Zahl)", "d": "Mathematische und trigonometrische Funktion - gibt eine Zufallszahl zurück, die größer oder gleich Untere_Zahl und kleiner oder gleich Obere_Zahl ist" diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/en.json b/apps/spreadsheeteditor/main/resources/formula-lang/en.json index 7c057def7..3ff0e4fd4 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/en.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/en.json @@ -385,6 +385,7 @@ "QUOTIENT": "QUOTIENT", "RADIANS": "RADIANS", "RAND": "RAND", + "RANDARRAY": "RANDARRAY", "RANDBETWEEN": "RANDBETWEEN", "ROMAN": "ROMAN", "ROUND": "ROUND", diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/en_desc.json b/apps/spreadsheeteditor/main/resources/formula-lang/en_desc.json index 370a1557f..496326181 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/en_desc.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/en_desc.json @@ -1541,7 +1541,11 @@ }, "RAND": { "a": "()", - "d": "Math and trigonometry functionused to return a random number greater than or equal to 0 and less than 1. It does not require any argument" + "d": "Math and trigonometry function used to return a random number greater than or equal to 0 and less than 1. It does not require any argument" + }, + "RANDARRAY": { + "a": "( [ rows ] , [ columns ] , [ min ] , [ max ] , [ whole_number ] )", + "d": "Math and trigonometry function used to return an array of random numbers" }, "RANDBETWEEN": { "a": "( lower-bound , upper-bound )", diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/es.json b/apps/spreadsheeteditor/main/resources/formula-lang/es.json index c1ce1465a..8dcb0da41 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/es.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/es.json @@ -385,6 +385,7 @@ "QUOTIENT": "COCIENTE", "RADIANS": "RADIANES", "RAND": "ALEATORIO", + "RANDARRAY": "MATRIZALEAT", "RANDBETWEEN": "ALEATORIO.ENTRE", "ROMAN": "NUMERO.ROMANO", "ROUND": "REDONDEAR", diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/es_desc.json b/apps/spreadsheeteditor/main/resources/formula-lang/es_desc.json index ee3d97645..5b75c7b33 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/es_desc.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/es_desc.json @@ -1543,6 +1543,10 @@ "a": "()", "d": "Función de matemáticas y trigonometría utilizada para devolver un número aleatorio mayor o igual que 0 y menor que 1. No requiere ningún argumento." }, + "RANDARRAY": { + "a": "([rows], [columns], [min], [max], [whole_number])", + "d": "Función de matemáticas y trigonometría utilizada para devolver una matriz de números aleatorios" + }, "RANDBETWEEN": { "a": "(límite-inferior, límite-superior)", "d": "Función de matemáticas y trigonometría utilizada para devolver un número aleatorio mayor o igual que el del límite inferior y menor o igual que el del límite superior" diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/fr.json b/apps/spreadsheeteditor/main/resources/formula-lang/fr.json index 8fdaf2316..2467cc9f5 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/fr.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/fr.json @@ -384,6 +384,7 @@ "QUOTIENT": "QUOTIENT", "RADIANS": "RADIANS", "RAND": "ALEA", + "RANDARRAY": "TABLEAU.ALEAT", "RANDBETWEEN": "ALEA.ENTRE.BORNES", "ROMAN": "ROMAIN", "ROUND": "ARRONDI", diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/fr_desc.json b/apps/spreadsheeteditor/main/resources/formula-lang/fr_desc.json index 303ada7e7..e02230b51 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/fr_desc.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/fr_desc.json @@ -1543,6 +1543,10 @@ "a": "()", "d": "Fonction mathématique et trigonométrique qui renvoie un nombre aléatoire supérieur ou égal à 0 et inférieur à 1. Elle ne prend aucun argument." }, + "RANDARRAY": { + "a": "([Rangées], [Colonnes], [min], [max], [nombre_entier])", + "d": "Fonction mathématique et trigonométrique utilisée pour renvoyer un tableau de nombres aléatoires" + }, "RANDBETWEEN": { "a": "(limite_inf [, limite_sup])", "d": "Fonction mathématique et trigonométrique utilisée pour renvoyer un nombre aléatoire supérieur ou égal à limite_inf et inférieur ou égal à limite_sup." diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/it.json b/apps/spreadsheeteditor/main/resources/formula-lang/it.json index 563731d7f..94ca7b191 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/it.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/it.json @@ -377,6 +377,7 @@ "QUOTIENT": "QUOZIENTE", "RADIANS": "RADIANTI", "RAND": "CASUALE", + "RANDARRAY": "MATR.CASUALE", "RANDBETWEEN": "CASUALE.TRA", "ROMAN": "ROMANO", "ROUND": "ARROTONDA", diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/it_desc.json b/apps/spreadsheeteditor/main/resources/formula-lang/it_desc.json index 7ab890f65..61bedbda7 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/it_desc.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/it_desc.json @@ -1511,6 +1511,10 @@ "a": "()", "d": "Restituisce un numero casuale uniformemente distribuito, ossia cambia se viene ricalcolato, e maggiore o uguale a 0 e minore di 1" }, + "RANDARRAY": { + "a": "([Righe], [Colonne], [min], [max], [numero_intero])", + "d": "Restituisce una matrice di numeri casuali" + }, "RANDBETWEEN": { "a": "(minore , maggiore)", "d": "Restituisce un numero casuale compreso tra i numeri specificati" diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/pl.json b/apps/spreadsheeteditor/main/resources/formula-lang/pl.json index ba9b5caa1..034f111fc 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/pl.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/pl.json @@ -385,6 +385,7 @@ "QUOTIENT": "CZ.CAŁK.DZIELENIA", "RADIANS": "RADIANY", "RAND": "LOS", + "RANDARRAY": "LOSOWA.TABLICA", "RANDBETWEEN": "LOS.ZAKR", "ROMAN": "RZYMSKIE", "ROUND": "ZAOKR", diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/ru.json b/apps/spreadsheeteditor/main/resources/formula-lang/ru.json index 0bbb5b7c4..84099c693 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/ru.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/ru.json @@ -385,6 +385,7 @@ "QUOTIENT": "ЧАСТНОЕ", "RADIANS": "РАДИАНЫ", "RAND": "СЛЧИС", + "RANDARRAY": "СЛУЧМАССИВ", "RANDBETWEEN": "СЛУЧМЕЖДУ", "ROMAN": "РИМСКОЕ", "ROUND": "ОКРУГЛ", diff --git a/apps/spreadsheeteditor/main/resources/formula-lang/ru_desc.json b/apps/spreadsheeteditor/main/resources/formula-lang/ru_desc.json index 8db56039e..a2e9da8ca 100644 --- a/apps/spreadsheeteditor/main/resources/formula-lang/ru_desc.json +++ b/apps/spreadsheeteditor/main/resources/formula-lang/ru_desc.json @@ -1543,6 +1543,10 @@ "a": "()", "d": "Математическая и тригонометрическая функция, возвращает случайное число, которое больше или равно 0 и меньше 1. Функция не требует аргумента" }, + "RANDARRAY": { + "a": "([строки];[столбцы];[минимум];[максимум];[целое_число])", + "d": "Математическая и тригонометрическая функция, возвращает массив случайных чисел" + }, "RANDBETWEEN": { "a": "(нижн_граница;верхн_граница)", "d": "Математическая и тригонометрическая функция, возвращает случайное число, большее или равное значению аргумента нижн_граница и меньшее или равное значению аргумента верхн_граница"