diff --git a/crates/plugins/src/runtime.rs b/crates/plugins/src/runtime.rs index 8c0fe6f6da..b7950f0056 100644 --- a/crates/plugins/src/runtime.rs +++ b/crates/plugins/src/runtime.rs @@ -4,7 +4,7 @@ use wasmi::{ Config, CustomFuelCosts, EnforcedLimits, Engine, ExternType, Instance, Memory, Module, Store, StoreLimitsBuilder, TypedFunc, TypedResumableCall, Val, ValType, WasmParams, WasmResults, }; -use wasmparser::{Validator, WasmFeatures}; +use wasmparser::{CompositeInnerType, Parser, Payload, Validator, WasmFeatures}; use crate::host::{self, Bridge, Deadline, Host, Report, Run}; use crate::manifest::{MANIFEST_SECTION, MAX_MANIFEST_BYTES, Manifest}; @@ -42,12 +42,46 @@ const WASM_FEATURES: WasmFeatures = WasmFeatures::MUTABLE_GLOBAL .union(WasmFeatures::EXTENDED_CONST) .union(WasmFeatures::FLOATS); +/// The most parameters or results a function type may have: the limit `EnforcedLimits::strict()` +/// sets in wasmi 2.0.0. +const MAX_FUNC_TYPE_VALUES: usize = 32; + /// Validates `bytes` with only [`WASM_FEATURES`] on, before wasmi reads the module. A module that -/// uses any other proposal is refused with the validator's error, which names the proposal. +/// uses any other proposal is refused with the validator's error, which names the proposal. A +/// function type with more than [`MAX_FUNC_TYPE_VALUES`] parameters or results is refused before +/// any function body is validated. fn check_features(bytes: &[u8]) -> Result<()> { + check_func_types(bytes)?; Validator::new_with_features(WASM_FEATURES).validate_all(bytes).map(|_| ()).map_err(|e| Error::Module(e.to_string())) } +/// Refuses a function type in the type section with more than [`MAX_FUNC_TYPE_VALUES`] parameters +/// or results, with wasmi's message. Reading stops at the code section. A section that doesn't +/// parse is left to the validator, which reports it. +fn check_func_types(bytes: &[u8]) -> Result<()> { + for payload in Parser::new(0).parse_all(bytes) { + let types = match payload { + Ok(Payload::TypeSection(types)) => types, + Ok(Payload::CodeSectionStart { .. }) | Err(_) => return Ok(()), + Ok(_) => continue, + }; + for group in types { + let Ok(group) = group else { return Ok(()) }; + for ty in group.types() { + if let CompositeInnerType::Func(f) = &ty.composite_type.inner { + if f.params().len() > MAX_FUNC_TYPE_VALUES { + return Err(Error::Module(format!("a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters"))); + } + if f.results().len() > MAX_FUNC_TYPE_VALUES { + return Err(Error::Module(format!("a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results"))); + } + } + } + } + } + Ok(()) +} + /// Sets each WebAssembly proposal that wasmi's `Config` has a setter for in this build on or off, /// to match [`WASM_FEATURES`]. fn set_features(config: &mut Config) -> &mut Config { diff --git a/crates/plugins/tests/abi.rs b/crates/plugins/tests/abi.rs index 40f855a897..176828fae2 100644 --- a/crates/plugins/tests/abi.rs +++ b/crates/plugins/tests/abi.rs @@ -198,6 +198,23 @@ fn a_plugin_may_use_the_listed_webassembly_proposals_and_no_others() { } } +/// A function type with more than 32 parameters or results is refused before any function body is +/// validated: the module's extra function has an invalid body, and the error names the limit. A +/// type with 32 of each loads. +#[test] +fn a_function_type_past_32_values_is_refused_before_any_function_body_is_validated() { + let i32s = |n: usize| vec!["i32"; n].join(" "); + for (word, field) in [("parameters", "param"), ("results", "result")] { + let fits = module(MANIFEST, tpl::ECHO, &format!("(type (func ({field} {})))", i32s(32))); + assert!(Plugin::load(&fits, Limits::default()).is_ok(), "32 {word}"); + let past = module(MANIFEST, tpl::ECHO, &format!("(type (func ({field} {}))) (func (i32.add))", i32s(33))); + match Plugin::load(&past, Limits::default()) { + Err(Error::Module(m)) => assert_eq!(m, format!("a function type exceeds the limit of 32 {word}")), + other => panic!("33 {word}: {:?}", other.err()), + } + } +} + #[test] fn budgets_stop_runaway_plugins() { let spin = ok_module("(loop $l (br $l)) (i64.const 0)"); diff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsv index 0ebd34bda7..93a7650af5 100644 --- a/crates/ui-egui/src/i18n/ca.tsv +++ b/crates/ui-egui/src/i18n/ca.tsv @@ -7714,6 +7714,8 @@ variable-list-end {0}, {1} {0} i {1} @msg needs approval: it asks for {0}, which the user grants when installing it on its own cal aprovació: demana {0}, que l’usuari concedeix en instal·lar-lo per separat @msg not JSON: {e} no és JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) no és un binari WebAssembly (falta la capçalera \\0asm) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters un tipus de funció supera el límit de {MAX_FUNC_TYPE_VALUES} paràmetres +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results un tipus de funció supera el límit de {MAX_FUNC_TYPE_VALUES} resultats @msg parameter `{k}`: {what} paràmetre `{k}`: {what} @msg parameter `{name}`: {what} paràmetre `{name}`: {what} @msg plug-in parameters must be a JSON object els paràmetres del complement han de ser un objecte JSON diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index 217fc9161f..e573e49f85 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -7325,6 +7325,8 @@ axis Y Axis osa Y @msg needs approval: it asks for {0}, which the user grants when installing it on its own vyžaduje schválení: žádá o {0}, což uživatel povolí, když ho instaluje samostatně @msg not JSON: {e} není JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) není binární soubor WebAssembly (chybí hlavička \\0asm) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters typ funkce má více parametrů, než dovoluje limit ({MAX_FUNC_TYPE_VALUES}) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results typ funkce má více výsledků, než dovoluje limit ({MAX_FUNC_TYPE_VALUES}) @msg parameter `{k}`: {what} parametr `{k}`: {what} @msg parameter `{name}`: {what} parametr `{name}`: {what} @msg plug-in parameters must be a JSON object parametry zásuvného modulu musí být objekt JSON diff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsv index 9eba4ff3ad..c72926cf4e 100644 --- a/crates/ui-egui/src/i18n/da.tsv +++ b/crates/ui-egui/src/i18n/da.tsv @@ -555,6 +555,8 @@ liquify-list-end {0}, {1} {0} og {1} @msg needs approval: it asks for {0}, which the user grants when installing it on its own kræver godkendelse: det beder om {0}, som brugeren tildeler, når det installeres for sig selv @msg not JSON: {e} ikke JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) ikke en WebAssembly-binærfil (headeren \\0asm mangler) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters en funktionstype overskrider grænsen på {MAX_FUNC_TYPE_VALUES} parametre +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results en funktionstype overskrider grænsen på {MAX_FUNC_TYPE_VALUES} resultater @msg parameter `{k}`: {what} parameteren `{k}`: {what} @msg parameter `{name}`: {what} parameteren `{name}`: {what} @msg plug-in parameters must be a JSON object plug-in-parametrene skal være et JSON-objekt diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index abb89c6dc7..830181dadd 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -6908,6 +6908,8 @@ axis Y Axis Y-Achse @msg needs approval: it asks for {0}, which the user grants when installing it on its own muss genehmigt werden: Es verlangt {0}, was der Benutzer gewährt, wenn er es einzeln installiert @msg not JSON: {e} kein JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) keine WebAssembly-Binärdatei (der Header \\0asm fehlt) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters ein Funktionstyp überschreitet die Grenze von {MAX_FUNC_TYPE_VALUES} Parametern +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results ein Funktionstyp überschreitet die Grenze von {MAX_FUNC_TYPE_VALUES} Ergebnissen @msg parameter `{k}`: {what} Parameter `{k}`: {what} @msg parameter `{name}`: {what} Parameter `{name}`: {what} @msg plug-in parameters must be a JSON object die Plug-in-Parameter müssen ein JSON-Objekt sein diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv index ea7eb53703..04f21fd423 100644 --- a/crates/ui-egui/src/i18n/el.tsv +++ b/crates/ui-egui/src/i18n/el.tsv @@ -7314,6 +7314,8 @@ axis Y Axis Άξονας Y @msg needs approval: it asks for {0}, which the user grants when installing it on its own χρειάζεται έγκριση: ζητά {0}, που ο χρήστης παραχωρεί όταν το εγκαθιστά μόνο του @msg not JSON: {e} δεν είναι JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) δεν είναι δυαδικό αρχείο WebAssembly (λείπει η κεφαλίδα \\0asm) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters ένας τύπος συνάρτησης υπερβαίνει το όριο των {MAX_FUNC_TYPE_VALUES} παραμέτρων +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results ένας τύπος συνάρτησης υπερβαίνει το όριο των {MAX_FUNC_TYPE_VALUES} αποτελεσμάτων @msg parameter `{k}`: {what} παράμετρος `{k}`: {what} @msg parameter `{name}`: {what} παράμετρος `{name}`: {what} @msg plug-in parameters must be a JSON object οι παράμετροι του προσθέτου πρέπει να είναι αντικείμενο JSON diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index 586c53d87e..9919179d1b 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -7300,6 +7300,8 @@ axis Y Axis Eje Y @msg needs approval: it asks for {0}, which the user grants when installing it on its own requiere aprobación: pide {0}, que el usuario concede al instalarlo por separado @msg not JSON: {e} no es JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) no es un binario WebAssembly (falta el encabezado \\0asm) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters un tipo de función supera el límite de {MAX_FUNC_TYPE_VALUES} parámetros +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results un tipo de función supera el límite de {MAX_FUNC_TYPE_VALUES} resultados @msg parameter `{k}`: {what} parámetro `{k}`: {what} @msg parameter `{name}`: {what} parámetro `{name}`: {what} @msg plug-in parameters must be a JSON object los parámetros del plugin deben ser un objeto JSON diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsv index 9dda197d2e..8d2fe9ab55 100644 --- a/crates/ui-egui/src/i18n/fi.tsv +++ b/crates/ui-egui/src/i18n/fi.tsv @@ -7391,6 +7391,8 @@ axis Y Axis Y-akseli @msg needs approval: it asks for {0}, which the user grants when installing it on its own vaatii hyväksynnän: se pyytää {0}, jotka käyttäjä myöntää asentaessaan sen erikseen @msg not JSON: {e} ei JSON-muotoa: {e} @msg not a WebAssembly binary (missing \\0asm header) ei WebAssembly-binääri (\\0asm-otsake puuttuu) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters funktiotyyppi ylittää {MAX_FUNC_TYPE_VALUES} parametrin rajan +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results funktiotyyppi ylittää {MAX_FUNC_TYPE_VALUES} tuloksen rajan @msg parameter `{k}`: {what} parametri `{k}`: {what} @msg parameter `{name}`: {what} parametri `{name}`: {what} @msg plug-in parameters must be a JSON object laajennuksen parametrien on oltava JSON-objekti diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index 34583f51fd..57a11c31bd 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -7321,6 +7321,8 @@ axis Y Axis Axe Y @msg needs approval: it asks for {0}, which the user grants when installing it on its own approbation requise : il demande {0}, que l’utilisateur accorde en l’installant seul @msg not JSON: {e} pas du JSON : {e} @msg not a WebAssembly binary (missing \\0asm header) pas un binaire WebAssembly (en-tête \\0asm absent) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters un type de fonction dépasse la limite de {MAX_FUNC_TYPE_VALUES} paramètres +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results un type de fonction dépasse la limite de {MAX_FUNC_TYPE_VALUES} résultats @msg parameter `{k}`: {what} paramètre `{k}` : {what} @msg parameter `{name}`: {what} paramètre `{name}` : {what} @msg plug-in parameters must be a JSON object les paramètres du plug-in doivent être un objet JSON diff --git a/crates/ui-egui/src/i18n/hi.tsv b/crates/ui-egui/src/i18n/hi.tsv index 0cf6ac8ac8..351767fba8 100644 --- a/crates/ui-egui/src/i18n/hi.tsv +++ b/crates/ui-egui/src/i18n/hi.tsv @@ -8632,6 +8632,8 @@ liquify-list-end {0}, {1} {0} और {1} @msg not a VectorCraft file: {0} एक वेक्टर क्रेफ्ट फ़ाइल नहीं: {0} @msg not a VectorCraft shortcut set (missing `overrides`) एक VectorCraft शॉर्टकट सेट नहीं है ( `overrides`) @msg not a WebAssembly binary (missing \\0asm header) WebAssembly बाइनरी नहीं है (\\0asm हेडर नहीं है) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters एक फ़ंक्शन टाइप में {MAX_FUNC_TYPE_VALUES} पैरामीटर की सीमा से अधिक पैरामीटर हैं +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results एक फ़ंक्शन टाइप में {MAX_FUNC_TYPE_VALUES} परिणामों की सीमा से अधिक परिणाम हैं @msg not a Word document: its compound file has no WordDocument stream एक वर्ड डॉक्यूमेंट नहीं: इसकी यौगिक फ़ाइल में WordDocument स्ट्रीम नहीं है @msg not a Word document: its main part is not a WordprocessingML document वर्ड डॉक्यूमेंट नहीं: इसका मुख्य हिस्सा वर्डप्रोसेसिंगएमएल डॉक्यूमेंट नहीं है @msg not a Word document: its package has no main document part नहीं एक वर्ड डॉक्यूमेंट: इसके पैकेज में कोई मुख्य डॉक्यूमेंट हिस्सा नहीं है diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index 2cd00f0257..56360567b0 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -7310,6 +7310,8 @@ axis Y Axis Y tengely @msg needs approval: it asks for {0}, which the user grants when installing it on its own jóváhagyás szükséges: ezt kéri: {0}, amit a felhasználó a külön telepítéskor ad meg @msg not JSON: {e} nem JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) nem WebAssembly bináris (hiányzik a \\0asm fejléc) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters egy függvénytípus paramétereinek száma meghaladja a korlátot ({MAX_FUNC_TYPE_VALUES}) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results egy függvénytípus eredményeinek száma meghaladja a korlátot ({MAX_FUNC_TYPE_VALUES}) @msg parameter `{k}`: {what} `{k}` paraméter: {what} @msg parameter `{name}`: {what} `{name}` paraméter: {what} @msg plug-in parameters must be a JSON object a bővítmény paraméterei JSON-objektumot alkossanak diff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsv index 7f832ee024..cd2855270d 100644 --- a/crates/ui-egui/src/i18n/id.tsv +++ b/crates/ui-egui/src/i18n/id.tsv @@ -438,6 +438,8 @@ @msg needs approval: it asks for {0}, which the user grants when installing it on its own memerlukan persetujuan: plug-in meminta {0}, yang diberikan pengguna saat memasangnya sendiri @msg not JSON: {e} bukan JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) bukan biner WebAssembly (header \\0asm tidak ada) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters sebuah tipe fungsi melampaui batas {MAX_FUNC_TYPE_VALUES} parameter +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results sebuah tipe fungsi melampaui batas {MAX_FUNC_TYPE_VALUES} hasil @msg parameter `{k}`: {what} parameter `{k}`: {what} @msg parameter `{name}`: {what} parameter `{name}`: {what} @msg plug-in parameters must be a JSON object parameter plug-in harus berupa objek JSON diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index b79d6dfa31..bb17b798ef 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -6947,6 +6947,8 @@ axis Y Axis Asse Y @msg needs approval: it asks for {0}, which the user grants when installing it on its own richiede approvazione: chiede {0}, che l’utente concede installandolo da solo @msg not JSON: {e} non è JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) non è un binario WebAssembly (manca l’intestazione \\0asm) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters un tipo di funzione supera il limite di {MAX_FUNC_TYPE_VALUES} parametri +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results un tipo di funzione supera il limite di {MAX_FUNC_TYPE_VALUES} risultati @msg parameter `{k}`: {what} parametro `{k}`: {what} @msg parameter `{name}`: {what} parametro `{name}`: {what} @msg plug-in parameters must be a JSON object i parametri del plug-in devono essere un oggetto JSON diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index a86b292640..eff7fc7905 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -7022,6 +7022,8 @@ axis Y Axis Y 軸 @msg needs approval: it asks for {0}, which the user grants when installing it on its own 承認が必要です: {0} を要求しています。これはユーザーが単独でインストールするときに許可します @msg not JSON: {e} JSON ではありません: {e} @msg not a WebAssembly binary (missing \\0asm header) WebAssembly バイナリではありません (\\0asm ヘッダーがありません) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters 関数型のパラメーター数が上限の {MAX_FUNC_TYPE_VALUES} 個を超えています +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results 関数型の結果の数が上限の {MAX_FUNC_TYPE_VALUES} 個を超えています @msg parameter `{k}`: {what} パラメーター `{k}`: {what} @msg parameter `{name}`: {what} パラメーター `{name}`: {what} @msg plug-in parameters must be a JSON object プラグインのパラメーターは JSON オブジェクトにしてください diff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsv index 8a5b40ecc3..abe31f069c 100644 --- a/crates/ui-egui/src/i18n/ka.tsv +++ b/crates/ui-egui/src/i18n/ka.tsv @@ -9429,6 +9429,8 @@ axis Y Axis Y ღერძი @msg needs approval: it asks for {0}, which the user grants when installing it on its own საჭიროებს დამტკიცებას: ითხოვს {0}-ს, რასაც მომხმარებელი მისი ცალკე დაყენებისას აძლევს @msg not JSON: {e} არ არის JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) არ არის WebAssembly-ის ბინარული ფაილი (აკლია \\0asm სათაური) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters ფუნქციის ტიპი აჭარბებს {MAX_FUNC_TYPE_VALUES} პარამეტრის ლიმიტს +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results ფუნქციის ტიპი აჭარბებს {MAX_FUNC_TYPE_VALUES} შედეგის ლიმიტს @msg parameter `{k}`: {what} პარამეტრი `{k}`: {what} @msg parameter `{name}`: {what} პარამეტრი `{name}`: {what} @msg plug-in parameters must be a JSON object პლაგინის პარამეტრები JSON ობიექტი უნდა იყოს diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index a39c8bbc27..ad24b2935b 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -6919,6 +6919,8 @@ axis Y Axis Y축 @msg needs approval: it asks for {0}, which the user grants when installing it on its own 승인이 필요합니다. {0}을(를) 요청하며, 사용자가 따로 설치할 때 허용합니다 @msg not JSON: {e} JSON이 아닙니다: {e} @msg not a WebAssembly binary (missing \\0asm header) WebAssembly 바이너리가 아닙니다(\\0asm 헤더 없음) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters 함수 형식의 매개변수가 한도인 {MAX_FUNC_TYPE_VALUES}개를 초과합니다 +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results 함수 형식의 결과가 한도인 {MAX_FUNC_TYPE_VALUES}개를 초과합니다 @msg parameter `{k}`: {what} 매개변수 `{k}`: {what} @msg parameter `{name}`: {what} 매개변수 `{name}`: {what} @msg plug-in parameters must be a JSON object 플러그인 매개변수는 JSON 개체여야 합니다 diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsv index 02d65423c0..e9df3e74a9 100644 --- a/crates/ui-egui/src/i18n/nl.tsv +++ b/crates/ui-egui/src/i18n/nl.tsv @@ -401,6 +401,8 @@ liquify-list-end {0}, {1} {0} en {1} @msg needs approval: it asks for {0}, which the user grants when installing it on its own goedkeuring nodig: de plug-in vraagt om {0}, wat de gebruiker toestaat wanneer hij die afzonderlijk installeert @msg not JSON: {e} geen JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) geen WebAssembly-binair bestand (de header \\0asm ontbreekt) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters een functietype overschrijdt de limiet van {MAX_FUNC_TYPE_VALUES} parameters +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results een functietype overschrijdt de limiet van {MAX_FUNC_TYPE_VALUES} resultaten @msg parameter `{k}`: {what} parameter `{k}`: {what} @msg parameter `{name}`: {what} parameter `{name}`: {what} @msg plug-in parameters must be a JSON object plug-in-parameters moeten een JSON-object zijn diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv index 1a802a143c..2503afd607 100644 --- a/crates/ui-egui/src/i18n/pl.tsv +++ b/crates/ui-egui/src/i18n/pl.tsv @@ -7180,6 +7180,8 @@ axis Y Axis Oś Y @msg needs approval: it asks for {0}, which the user grants when installing it on its own wymaga zatwierdzenia: prosi o {0}, na co użytkownik zezwala, instalując ją osobno @msg not JSON: {e} to nie jest JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) to nie jest plik binarny WebAssembly (brak nagłówka \\0asm) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters typ funkcji ma więcej parametrów, niż pozwala limit ({MAX_FUNC_TYPE_VALUES}) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results typ funkcji ma więcej wyników, niż pozwala limit ({MAX_FUNC_TYPE_VALUES}) @msg parameter `{k}`: {what} parametr `{k}`: {what} @msg parameter `{name}`: {what} parametr `{name}`: {what} @msg plug-in parameters must be a JSON object parametry wtyczki muszą być obiektem JSON diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index 108484d046..84c7a60da2 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -7224,6 +7224,8 @@ axis Y Axis Eixo Y @msg needs approval: it asks for {0}, which the user grants when installing it on its own precisa de aprovação: pede {0}, que o usuário concede ao instalá-lo separadamente @msg not JSON: {e} não é JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) não é um binário WebAssembly (falta o cabeçalho \\0asm) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters um tipo de função excede o limite de {MAX_FUNC_TYPE_VALUES} parâmetros +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results um tipo de função excede o limite de {MAX_FUNC_TYPE_VALUES} resultados @msg parameter `{k}`: {what} parâmetro `{k}`: {what} @msg parameter `{name}`: {what} parâmetro `{name}`: {what} @msg plug-in parameters must be a JSON object os parâmetros do plug-in devem ser um objeto JSON diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index 1a6def9fd3..d60b5ab4eb 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -6946,6 +6946,8 @@ axis Y Axis Ось Y @msg needs approval: it asks for {0}, which the user grants when installing it on its own требуется одобрение: он запрашивает {0}, что пользователь разрешает при отдельной установке @msg not JSON: {e} не JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) не двоичный файл WebAssembly (нет заголовка \\0asm) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters у типа функции больше параметров, чем допускает предел ({MAX_FUNC_TYPE_VALUES}) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results у типа функции больше результатов, чем допускает предел ({MAX_FUNC_TYPE_VALUES}) @msg parameter `{k}`: {what} параметр `{k}`: {what} @msg parameter `{name}`: {what} параметр `{name}`: {what} @msg plug-in parameters must be a JSON object параметры модуля должны быть объектом JSON diff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsv index ca7693019c..9923c90d04 100644 --- a/crates/ui-egui/src/i18n/sv.tsv +++ b/crates/ui-egui/src/i18n/sv.tsv @@ -9623,6 +9623,8 @@ digits Hindi Hindi @msg not a stored or deflated central record inte en central katalogpost av typen stored eller deflated @msg not a valid SVGZ file: {e} inte en giltig SVGZ-fil: {e} @msg not a WebAssembly binary (missing \\0asm header) inte en WebAssembly-binärfil (huvudet \\0asm saknas) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters en funktionstyp överskrider gränsen på {MAX_FUNC_TYPE_VALUES} parametrar +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results en funktionstyp överskrider gränsen på {MAX_FUNC_TYPE_VALUES} resultat @msg not a Word document: its compound file has no WordDocument stream inte ett Word-dokument: dess sammansatta fil saknar WordDocument-ström @msg not a Word document: its main part is not a WordprocessingML document inte ett Word-dokument: dess huvuddel är inte ett WordprocessingML-dokument @msg not a Word document: its package has no main document part inte ett Word-dokument: dess paket saknar huvuddokumentdel diff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsv index 87a2998316..bc5ef61c9f 100644 --- a/crates/ui-egui/src/i18n/tr.tsv +++ b/crates/ui-egui/src/i18n/tr.tsv @@ -7397,6 +7397,8 @@ axis Y Axis Y ekseni @msg needs approval: it asks for {0}, which the user grants when installing it on its own onay gerekiyor: {0} istiyor; kullanıcı bunu eklentiyi tek başına yüklerken verir @msg not JSON: {e} JSON değil: {e} @msg not a WebAssembly binary (missing \\0asm header) WebAssembly ikili dosyası değil (\\0asm üst bilgisi eksik) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters bir işlev türü {MAX_FUNC_TYPE_VALUES} parametre sınırını aşıyor +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results bir işlev türü {MAX_FUNC_TYPE_VALUES} sonuç sınırını aşıyor @msg parameter `{k}`: {what} `{k}` parametresi: {what} @msg parameter `{name}`: {what} `{name}` parametresi: {what} @msg plug-in parameters must be a JSON object eklenti parametreleri bir JSON nesnesi olmalıdır diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv index e21d744908..71cef43fee 100644 --- a/crates/ui-egui/src/i18n/uk.tsv +++ b/crates/ui-egui/src/i18n/uk.tsv @@ -6929,6 +6929,8 @@ axis Y Axis Вісь Y @msg needs approval: it asks for {0}, which the user grants when installing it on its own потрібне схвалення: він запитує {0}, що користувач дозволяє під час окремого встановлення @msg not JSON: {e} не JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) не двійковий файл WebAssembly (немає заголовка \\0asm) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters тип функції має більше параметрів, ніж дозволяє межа ({MAX_FUNC_TYPE_VALUES}) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results тип функції має більше результатів, ніж дозволяє межа ({MAX_FUNC_TYPE_VALUES}) @msg parameter `{k}`: {what} параметр `{k}`: {what} @msg parameter `{name}`: {what} параметр `{name}`: {what} @msg plug-in parameters must be a JSON object параметри модуля мають бути об’єктом JSON diff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsv index 69cec087fc..ba5bd3568d 100644 --- a/crates/ui-egui/src/i18n/vi.tsv +++ b/crates/ui-egui/src/i18n/vi.tsv @@ -6975,6 +6975,8 @@ axis Y Axis Trục Y @msg needs approval: it asks for {0}, which the user grants when installing it on its own cần phê duyệt: plug-in yêu cầu {0}, quyền mà người dùng cấp khi cài đặt riêng plug-in đó @msg not JSON: {e} không phải JSON: {e} @msg not a WebAssembly binary (missing \\0asm header) không phải tệp nhị phân WebAssembly (thiếu phần đầu \\0asm) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters một kiểu hàm vượt quá giới hạn {MAX_FUNC_TYPE_VALUES} tham số +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results một kiểu hàm vượt quá giới hạn {MAX_FUNC_TYPE_VALUES} kết quả @msg parameter `{k}`: {what} tham số `{k}`: {what} @msg parameter `{name}`: {what} tham số `{name}`: {what} @msg plug-in parameters must be a JSON object tham số plug-in phải là một đối tượng JSON diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv index 41a08fbef9..c96dbee45f 100644 --- a/crates/ui-egui/src/i18n/zh-hans.tsv +++ b/crates/ui-egui/src/i18n/zh-hans.tsv @@ -7157,6 +7157,8 @@ axis Y Axis Y 轴 @msg needs approval: it asks for {0}, which the user grants when installing it on its own 需要批准:它请求 {0},用户单独安装它时授予这些权限 @msg not JSON: {e} 不是 JSON:{e} @msg not a WebAssembly binary (missing \\0asm header) 不是 WebAssembly 二进制文件(缺少 \\0asm 头) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters 函数类型的参数数目超过上限({MAX_FUNC_TYPE_VALUES} 个) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results 函数类型的结果数目超过上限({MAX_FUNC_TYPE_VALUES} 个) @msg parameter `{k}`: {what} 参数 `{k}`:{what} @msg parameter `{name}`: {what} 参数 `{name}`:{what} @msg plug-in parameters must be a JSON object 增效工具参数必须是 JSON 对象 diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsv index e2beda57c7..ad34e63a1d 100644 --- a/crates/ui-egui/src/i18n/zh-hant.tsv +++ b/crates/ui-egui/src/i18n/zh-hant.tsv @@ -6978,6 +6978,8 @@ axis Y Axis Y 軸 @msg needs approval: it asks for {0}, which the user grants when installing it on its own 需要核准:它要求 {0},使用者單獨安裝它時授予這些權限 @msg not JSON: {e} 不是 JSON:{e} @msg not a WebAssembly binary (missing \\0asm header) 不是 WebAssembly 二進位檔(沒有 \\0asm 標頭) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} parameters 函式型別的參數數目超過上限({MAX_FUNC_TYPE_VALUES} 個) +@msg a function type exceeds the limit of {MAX_FUNC_TYPE_VALUES} results 函式型別的結果數目超過上限({MAX_FUNC_TYPE_VALUES} 個) @msg parameter `{k}`: {what} 參數 `{k}`:{what} @msg parameter `{name}`: {what} 參數 `{name}`:{what} @msg plug-in parameters must be a JSON object 增效模組參數必須是 JSON 物件