From 1839c42ea5e2b69e897f923875f9ecde7896d7f5 Mon Sep 17 00:00:00 2001 From: Janne Date: Tue, 26 Sep 2023 16:17:00 +0300 Subject: [PATCH] Added Swedish translations --- src/messages/config.php | 2 +- src/messages/sv/fileinput.php | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 src/messages/sv/fileinput.php diff --git a/src/messages/config.php b/src/messages/config.php index bf1f135..7deee4f 100644 --- a/src/messages/config.php +++ b/src/messages/config.php @@ -6,7 +6,7 @@ 'messagePath' => __DIR__, // array, required, list of language codes that the extracted messages // should be translated to. For example, ['zh-CN', 'de']. - 'languages' => ['ar', 'da', 'de', 'el-GR', 'en', 'es', 'fa', 'fr', 'hr', 'hu', 'hy-AM', 'id', 'it', 'lv', 'nl', 'pl', 'pt', 'ru', 'th', 'tr', 'uz', 'uz-Cy', 'zh'], + 'languages' => ['ar', 'da', 'de', 'el-GR', 'en', 'es', 'fa', 'fr', 'hr', 'hu', 'hy-AM', 'id', 'it', 'lv', 'nl', 'pl', 'pt', 'ru', 'sv', 'th', 'tr', 'uz', 'uz-Cy', 'zh'], // string, the name of the function for translating messages. // Defaults to 'Yii::t'. This is used as a mark to find the messages to be // translated. You may use a string for single function name or an array for diff --git a/src/messages/sv/fileinput.php b/src/messages/sv/fileinput.php new file mode 100644 index 0000000..e6b455b --- /dev/null +++ b/src/messages/sv/fileinput.php @@ -0,0 +1,24 @@ + 'förhandsgranskning av filer och uppladdning av flera filer', + 'Note:' => 'Notera:', + 'multiple file upload' => 'uppladdning av flera filer', + 'Your browser does not support {validation}. Try an alternative or more recent browser to access these features.' => 'Din webbläsare stöder inte {validation}. Prova en annan eller nyare webbläsare för att få tillgång till dessa funktioner.' +];