Skip to content

Commit

Permalink
Add file translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Nov 21, 2023
1 parent f309a3f commit 20a79f1
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 0 deletions.
30 changes: 30 additions & 0 deletions resource/message/de/yii.filepond.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

declare(strict_types=1);

/**
* 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 [
'Drag & Drop your files or <span class="filepond--label-action"> Browse </span>' => 'Dateien per Drag & Drop ablegen oder <span class="filepond--label-action"> Durchsuchen </span>',
'Expects {allButLastType} or {lastType}' => 'Erwartet {allButLastType} oder {lastType}',
'File is too large' => 'Datei ist zu groß',
'File type not allowed' => 'Dateityp nicht erlaubt',
'Maximum file size is {filesize}' => 'Maximale Dateigröße beträgt {filesize}',
'Maximum total file size is {filesize}' => 'Maximale Gesamtdateigröße beträgt {filesize}',
'Maximum total size exceeded' => 'Maximale Gesamtgröße überschritten',
];
30 changes: 30 additions & 0 deletions resource/message/es/yii.filepond.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

declare(strict_types=1);

/**
* 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 [
'Drag & Drop your files or <span class="filepond--label-action"> Browse </span>' => 'Arrastra y suelta tus archivos o <span class="filepond--label-action"> Navega </span>',
'Expects {allButLastType} or {lastType}' => 'Espera {allButLastType} o {lastType}',
'File is too large' => 'El archivo es demasiado grande',
'File type not allowed' => 'Tipo de archivo no permitido',
'Maximum file size is {filesize}' => 'El tamaño máximo del archivo es {filesize}',
'Maximum total file size is {filesize}' => 'El tamaño total máximo del archivo es {filesize}',
'Maximum total size exceeded' => 'Se ha excedido el tamaño total máximo',
];
30 changes: 30 additions & 0 deletions resource/message/fr/yii.filepond.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

declare(strict_types=1);

/**
* 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 [
'Drag & Drop your files or <span class="filepond--label-action"> Browse </span>' => 'Glissez et déposez vos fichiers ou <span class="filepond--label-action"> Parcourir </span>',
'Expects {allButLastType} or {lastType}' => 'Attend {allButLastType} ou {lastType}',
'File is too large' => 'Le fichier est trop volumineux',
'File type not allowed' => 'Type de fichier non autorisé',
'Maximum file size is {filesize}' => 'La taille maximale du fichier est {filesize}',
'Maximum total file size is {filesize}' => 'La taille totale maximale du fichier est {filesize}',
'Maximum total size exceeded' => 'Taille totale maximale dépassée',
];
30 changes: 30 additions & 0 deletions resource/message/pt/yii.filepond.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

declare(strict_types=1);

/**
* 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 [
'Drag & Drop your files or <span class="filepond--label-action"> Browse </span>' => 'Arraste e solte seus arquivos ou <span class="filepond--label-action"> Navegar </span>',
'Expects {allButLastType} or {lastType}' => 'Espera {allButLastType} ou {lastType}',
'File is too large' => 'O arquivo é muito grande',
'File type not allowed' => 'Tipo de arquivo não permitido',
'Maximum file size is {filesize}' => 'O tamanho máximo do arquivo é {filesize}',
'Maximum total file size is {filesize}' => 'O tamanho total máximo do arquivo é {filesize}',
'Maximum total size exceeded' => 'Tamanho total máximo excedido',
];
30 changes: 30 additions & 0 deletions resource/message/ru/yii.filepond.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

declare(strict_types=1);

/**
* 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 [
'Drag & Drop your files or <span class="filepond--label-action"> Browse </span>' => 'Перетащите файлы или <span class="filepond--label-action"> Обзор </span>',
'Expects {allButLastType} or {lastType}' => 'Ожидает {allButLastType} или {lastType}',
'File is too large' => 'Файл слишком большой',
'File type not allowed' => 'Тип файла не разрешен',
'Maximum file size is {filesize}' => 'Максимальный размер файла {filesize}',
'Maximum total file size is {filesize}' => 'Максимальный общий размер файла {filesize}',
'Maximum total size exceeded' => 'Превышен максимальный общий размер',
];
30 changes: 30 additions & 0 deletions resource/message/zh/yii.filepond.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

declare(strict_types=1);

/**
* 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 [
'Drag & Drop your files or <span class="filepond--label-action"> Browse </span>' => '拖放文件或<span class="filepond--label-action">浏览</span>',
'Expects {allButLastType} or {lastType}' => '期望{allButLastType}或{lastType}',
'File is too large' => '文件太大',
'File type not allowed' => '文件类型不允许',
'Maximum file size is {filesize}' => '文件大小最大为{filesize}',
'Maximum total file size is {filesize}' => '总文件大小最大为{filesize}',
'Maximum total size exceeded' => '超出最大总大小',
];

0 comments on commit 20a79f1

Please sign in to comment.