Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Swedish translations #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/messages/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions src/messages/sv/fileinput.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'file preview and multiple file upload' => '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.'
];