forked from shaba/openuds
Add Russian language to server config file
This commit is contained in:
parent
4cd8c5c72c
commit
192750a66f
15
.gear/openuds-server-add-Russian-language-to-config.patch
Normal file
15
.gear/openuds-server-add-Russian-language-to-config.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/server/src/server/settings.py.sample b/server/src/server/settings.py.sample
|
||||
index 5f7accc2..5b5766b5 100644
|
||||
--- a/server/src/server/settings.py.sample
|
||||
+++ b/server/src/server/settings.py.sample
|
||||
@@ -53,8 +53,9 @@ LANGUAGE_CODE = 'en'
|
||||
ugettext = lambda s: s
|
||||
|
||||
LANGUAGES = (
|
||||
- ('es', ugettext('Spanish')),
|
||||
+ ('ru', ugettext('Russian')),
|
||||
('en', ugettext('English')),
|
||||
+ ('es', ugettext('Spanish')),
|
||||
('fr', ugettext('French')),
|
||||
('de', ugettext('German')),
|
||||
('pt', ugettext('Portuguese')),
|
@ -27,6 +27,7 @@ Source16: openuds-web.service
|
||||
Source17: openuds-web.socket
|
||||
|
||||
#Patch: %name-%version.patch
|
||||
Patch1: openuds-server-add-Russian-language-to-config.patch
|
||||
|
||||
Requires: python3-module-django >= 2.2
|
||||
Requires: python3-module-django-dbbackend-mysql >= 2.2
|
||||
@ -77,6 +78,7 @@ Requires: cert-sh-functions
|
||||
%prep
|
||||
%setup
|
||||
#%patch -p1
|
||||
%patch1 -p2
|
||||
|
||||
sed -i 's|#!/usr/bin/env python3|#!/usr/bin/python3|' \
|
||||
$(find . -name '*.py')
|
||||
|
@ -4,3 +4,4 @@ copy?: .gear/*.logrotate
|
||||
copy?: .gear/*.conf
|
||||
copy?: .gear/*.service
|
||||
copy?: .gear/*.socket
|
||||
copy?: .gear/*.patch
|
||||
|
Loading…
x
Reference in New Issue
Block a user