mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-05 08:52:00 +00:00
build: filter out unsupported locales from the castopod bundle + remove german as supported locale
- add .rsync-filter files to Language folders in order to filter out unsupported locales - remove german as supported locale, awaiting completed translation files - remove unneeded app/Resources/ folder from bundle
This commit is contained in:
parent
6f2e7c009c
commit
df8506bb40
@ -1,6 +1,6 @@
|
|||||||
# rsync filter rules to copy required files for Castopod's bundle
|
# rsync filter rules to copy required files for Castopod's bundle
|
||||||
|
|
||||||
- app/Views/_assets/
|
- app/Resources/
|
||||||
+ app/***
|
+ app/***
|
||||||
+ modules/***
|
+ modules/***
|
||||||
+ public/***
|
+ public/***
|
||||||
|
@ -101,7 +101,7 @@ class App extends BaseConfig
|
|||||||
*
|
*
|
||||||
* @var string[]
|
* @var string[]
|
||||||
*/
|
*/
|
||||||
public array $supportedLocales = ['en', 'fr', 'pl', 'de'];
|
public array $supportedLocales = ['en', 'fr', 'pl'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
|
4
app/Language/.rsync-filter
Normal file
4
app/Language/.rsync-filter
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
+ en/***
|
||||||
|
+ fr/***
|
||||||
|
+ pl/***
|
||||||
|
- **
|
4
modules/Admin/Language/.rsync-filter
Normal file
4
modules/Admin/Language/.rsync-filter
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
+ en/***
|
||||||
|
+ fr/***
|
||||||
|
+ pl/***
|
||||||
|
- **
|
0
modules/Install/Language/.gitkeep
Normal file
0
modules/Install/Language/.gitkeep
Normal file
4
modules/Install/Language/.rsync-filter
Normal file
4
modules/Install/Language/.rsync-filter
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
+ en/***
|
||||||
|
+ fr/***
|
||||||
|
+ pl/***
|
||||||
|
- **
|
Loading…
x
Reference in New Issue
Block a user