Update custom Decidim translations and helper script, related to #490
This commit is contained in:
parent
abf763683d
commit
f4700bef17
12
extra/decidim-locales/proces_groups_content_block_cs.yml
Normal file
12
extra/decidim-locales/proces_groups_content_block_cs.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
cs:
|
||||
decidim:
|
||||
process_groups_content_block:
|
||||
content_blocks:
|
||||
highlighted_process_groups:
|
||||
name: Zvýrazněné skupiny procesů
|
||||
pages:
|
||||
home:
|
||||
highlighted_process_groups:
|
||||
active_processes: Aktivní procesy
|
||||
see_all_processes: Zobrazit všechny procesy
|
@ -1,11 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import codecs
|
||||
import ruamel.yaml
|
||||
import yaml
|
||||
import sys
|
||||
|
||||
yaml = ruamel.yaml.YAML()
|
||||
|
||||
def dict_merge(src, dst):
|
||||
for key, value in src.items():
|
||||
if isinstance(value, dict):
|
||||
@ -19,8 +17,8 @@ all = {}
|
||||
for file in sys.argv[1:]:
|
||||
print(file)
|
||||
with codecs.open(file, encoding='utf-8') as f:
|
||||
data = yaml.load(f)
|
||||
data = yaml.safe_load(f)
|
||||
all = dict_merge(all, data)
|
||||
|
||||
with codecs.open('cs.yml', 'w', encoding='utf-8') as f:
|
||||
yaml.dump(data, f)
|
||||
yaml.dump(data, f, allow_unicode=True, sort_keys=True)
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.23.1-210118",
|
||||
"version": "0.23.1-210130",
|
||||
"meta": {
|
||||
"title": "Decidim",
|
||||
"desc-cs": "Platforma pro účast občanů",
|
||||
@ -8,7 +8,7 @@
|
||||
},
|
||||
"containers": {
|
||||
"decidim": {
|
||||
"image": "decidim_0.23.1-210118",
|
||||
"image": "decidim_0.23.1-210130",
|
||||
"depends": [
|
||||
"decidim-postgres"
|
||||
],
|
||||
|
@ -1,4 +1,4 @@
|
||||
IMAGE decidim_0.23.1-210118
|
||||
IMAGE decidim_0.23.1-210130
|
||||
FROM decidim-nginx_1.18.0-210106
|
||||
|
||||
# https://github.com/Platoniq/decidim-install/blob/master/decidim-bionic.md
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,7 @@ set -ev
|
||||
POSTGRES_DATA="${VOLUMES_DIR}/decidim/postgres_data"
|
||||
DECIDIM_CONF="${VOLUMES_DIR}/decidim/decidim_conf"
|
||||
DECIDIM_DATA="${VOLUMES_DIR}/decidim/decidim_data"
|
||||
DECIDIM_LAYER="${LAYERS_DIR}/decidim_0.23.1-210118"
|
||||
DECIDIM_LAYER="${LAYERS_DIR}/decidim_0.23.1-210130"
|
||||
|
||||
# Create Postgres instance
|
||||
install -o 105432 -g 105432 -m 700 -d ${POSTGRES_DATA}
|
||||
|
Loading…
Reference in New Issue
Block a user