mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-05 08:52:00 +00:00
build(i18n): include Breton and Serbian (Latin) languages to Castopod bundle
This commit is contained in:
parent
656627050a
commit
c24850bda9
@ -98,7 +98,19 @@ class App extends BaseConfig
|
|||||||
*
|
*
|
||||||
* @var list<string>
|
* @var list<string>
|
||||||
*/
|
*/
|
||||||
public array $supportedLocales = ['en', 'fr', 'pl', 'de', 'pt-BR', 'nn-NO', 'es', 'zh-Hans', 'ca'];
|
public array $supportedLocales = [
|
||||||
|
'en',
|
||||||
|
'fr',
|
||||||
|
'pl',
|
||||||
|
'de',
|
||||||
|
'pt-BR',
|
||||||
|
'nn-NO',
|
||||||
|
'es',
|
||||||
|
'zh-Hans',
|
||||||
|
'ca',
|
||||||
|
'br',
|
||||||
|
'sr-Latn',
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
|
@ -7,4 +7,6 @@
|
|||||||
+ es/***
|
+ es/***
|
||||||
+ zh-Hans/***
|
+ zh-Hans/***
|
||||||
+ ca/***
|
+ ca/***
|
||||||
|
+ br/***
|
||||||
|
+ sr-Latn/***
|
||||||
- **
|
- **
|
||||||
|
@ -7,4 +7,6 @@
|
|||||||
+ es/***
|
+ es/***
|
||||||
+ zh-Hans/***
|
+ zh-Hans/***
|
||||||
+ ca/***
|
+ ca/***
|
||||||
|
+ br/***
|
||||||
|
+ sr-Latn/***
|
||||||
- **
|
- **
|
||||||
|
17
modules/Admin/Language/sr-Latn/Validation.php
Normal file
17
modules/Admin/Language/sr-Latn/Validation.php
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @copyright 2020 Ad Aures
|
||||||
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
||||||
|
* @link https://castopod.org/
|
||||||
|
*/
|
||||||
|
|
||||||
|
return [
|
||||||
|
'min_dims' =>
|
||||||
|
'{field} ili nije slika ili nije dovoljne dužine/visine.',
|
||||||
|
'is_image_ratio' =>
|
||||||
|
'{field} ili nije slike ili nije u pravom odnosu veličina.',
|
||||||
|
'is_json' => '{field} contains invalid JSON.',
|
||||||
|
];
|
@ -7,4 +7,6 @@
|
|||||||
+ es/***
|
+ es/***
|
||||||
+ zh-Hans/***
|
+ zh-Hans/***
|
||||||
+ ca/***
|
+ ca/***
|
||||||
|
+ br/***
|
||||||
|
+ sr-Latn/***
|
||||||
- **
|
- **
|
||||||
|
Loading…
x
Reference in New Issue
Block a user