locomotive_cms 2.2.3 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -0
- data/README.textile +2 -1
- data/app/assets/images/locomotive/icons/flags/bg.png +0 -0
- data/app/assets/images/locomotive/icons/flags/cs.png +0 -0
- data/app/assets/javascripts/locomotive/models/page.js.coffee +1 -1
- data/app/assets/javascripts/locomotive/utils/aloha_settings.js.coffee +2 -2
- data/app/assets/javascripts/locomotive/views/application_view.js.coffee +2 -2
- data/app/assets/javascripts/locomotive/views/content_assets/picker_view.js.coffee +2 -0
- data/app/assets/javascripts/locomotive/views/content_entries/_form_view.js.coffee +8 -0
- data/app/assets/javascripts/locomotive/views/editable_elements/text_view.js.coffee +2 -2
- data/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee +2 -0
- data/app/assets/javascripts/locomotive/views/shared/fields/belongs_to_view.js.coffee +2 -0
- data/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee +7 -5
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/editor_plugin.js +7 -3
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/cs.js +1 -0
- data/app/assets/stylesheets/locomotive/backoffice/datepicker.css.scss +66 -0
- data/app/assets/stylesheets/locomotive/backoffice/dialog_changes.css.scss +8 -2
- data/app/assets/stylesheets/locomotive/backoffice/formtastic_changes.css.scss +8 -0
- data/app/assets/stylesheets/locomotive/backoffice/menu/_colors.css.scss +1 -1
- data/app/controllers/locomotive/api/base_controller.rb +3 -0
- data/app/controllers/locomotive/api/content_entries_controller.rb +4 -4
- data/app/controllers/locomotive/api/tokens_controller.rb +4 -0
- data/app/controllers/locomotive/base_controller.rb +6 -3
- data/app/controllers/locomotive/public/base_controller.rb +3 -0
- data/app/controllers/locomotive/public/content_entries_controller.rb +2 -1
- data/app/helpers/locomotive/custom_fields_helper.rb +2 -2
- data/app/models/locomotive/content_type.rb +7 -0
- data/app/models/locomotive/editable_file.rb +1 -0
- data/app/models/locomotive/editable_text.rb +4 -1
- data/app/models/locomotive/extensions/page/editable_elements.rb +21 -0
- data/app/models/locomotive/extensions/page/templatized.rb +2 -2
- data/app/models/locomotive/extensions/page/tree.rb +5 -0
- data/app/models/locomotive/extensions/site/timezone.rb +7 -10
- data/app/models/locomotive/theme_asset.rb +2 -2
- data/app/presenters/locomotive/membership_presenter.rb +2 -1
- data/app/presenters/locomotive/site_presenter.rb +10 -1
- data/app/uploaders/locomotive/theme_asset_uploader.rb +7 -0
- data/app/views/locomotive/custom_fields/types/_date_time.html.haml +5 -0
- data/app/views/locomotive/notifications/new_content_entry.html.haml +1 -1
- data/app/views/locomotive/pages/_page.html.haml +2 -2
- data/config/locales/admin_ui.bg.yml +349 -0
- data/config/locales/admin_ui.cs.yml +359 -0
- data/config/locales/admin_ui.de.yml +25 -9
- data/config/locales/admin_ui.en.yml +3 -1
- data/config/locales/admin_ui.es.yml +2 -0
- data/config/locales/admin_ui.et.yml +3 -1
- data/config/locales/admin_ui.fr.yml +2 -0
- data/config/locales/admin_ui.it.yml +2 -0
- data/config/locales/admin_ui.ja.yml +2 -0
- data/config/locales/admin_ui.nb.yml +2 -0
- data/config/locales/admin_ui.nl.yml +2 -0
- data/config/locales/admin_ui.pl.yml +2 -0
- data/config/locales/admin_ui.pt-BR.yml +3 -1
- data/config/locales/admin_ui.ru.yml +2 -0
- data/config/locales/admin_ui.zh-CN.yml +2 -0
- data/config/locales/carrierwave.bg.yml +4 -0
- data/config/locales/carrierwave.cs.yml +4 -0
- data/config/locales/default.bg.yml +231 -0
- data/config/locales/default.cs.yml +249 -0
- data/config/locales/default.de.yml +24 -16
- data/config/locales/default.en.yml +4 -0
- data/config/locales/default.es.yml +1 -1
- data/config/locales/default.et.yml +1 -1
- data/config/locales/default.fr.yml +1 -1
- data/config/locales/default.it.yml +1 -1
- data/config/locales/default.ja.yml +4 -0
- data/config/locales/default.nb.yml +1 -1
- data/config/locales/default.nl.yml +1 -1
- data/config/locales/default.pl.yml +1 -1
- data/config/locales/default.pt-BR.yml +1 -1
- data/config/locales/default.ru.yml +1 -1
- data/config/locales/default.zh-CN.yml +1 -1
- data/config/locales/devise.bg.yml +64 -0
- data/config/locales/devise.cs.yml +64 -0
- data/config/locales/flash.bg.yml +115 -0
- data/config/locales/flash.cs.yml +115 -0
- data/config/locales/formtastic.bg.yml +113 -0
- data/config/locales/formtastic.cs.yml +125 -0
- data/config/locales/formtastic.de.yml +9 -0
- data/features/api/content_entries.feature +2 -0
- data/features/api/memberships.feature +26 -0
- data/features/backoffice/content_types/many_to_many.feature +3 -3
- data/features/backoffice/pages.feature +16 -0
- data/features/backoffice/regressions.feature +19 -0
- data/features/public/contact_form.feature +9 -0
- data/features/step_definitions/api_steps.rb +4 -1
- data/features/step_definitions/content_types_steps.rb +5 -0
- data/features/step_definitions/more_web_steps.rb +4 -0
- data/features/step_definitions/web_steps.rb +4 -0
- data/lib/generators/locomotive/install/templates/locomotive.rb +2 -2
- data/lib/locomotive.rb +1 -8
- data/lib/locomotive/action_controller.rb +1 -0
- data/lib/locomotive/action_controller/ssl.rb +11 -2
- data/lib/locomotive/action_controller/timezone.rb +13 -0
- data/lib/locomotive/configuration.rb +2 -2
- data/lib/locomotive/custom_fields.rb +1 -1
- data/lib/locomotive/dependencies.rb +2 -0
- data/lib/locomotive/engine.rb +10 -0
- data/lib/locomotive/httparty/webservice.rb +6 -5
- data/lib/locomotive/liquid/drops/base.rb +0 -2
- data/lib/locomotive/liquid/drops/content_entry.rb +11 -7
- data/lib/locomotive/liquid/drops/content_types.rb +46 -30
- data/lib/locomotive/liquid/drops/current_user.rb +3 -3
- data/lib/locomotive/liquid/drops/page.rb +15 -15
- data/lib/locomotive/liquid/drops/proxy_collection.rb +5 -1
- data/lib/locomotive/liquid/drops/site.rb +10 -6
- data/lib/locomotive/liquid/drops/uploader.rb +2 -2
- data/lib/locomotive/liquid/filters/date.rb +29 -3
- data/lib/locomotive/liquid/filters/resize.rb +3 -1
- data/lib/locomotive/liquid/filters/text.rb +4 -0
- data/lib/locomotive/liquid/tags/editable/control.rb +11 -1
- data/lib/locomotive/liquid/tags/link_to.rb +5 -3
- data/lib/locomotive/liquid/tags/nav.rb +19 -10
- data/lib/locomotive/liquid/tags/with_scope.rb +29 -31
- data/lib/locomotive/markdown.rb +23 -0
- data/lib/locomotive/render.rb +6 -2
- data/lib/locomotive/version.rb +1 -1
- data/lib/tasks/locomotive.rake +5 -2
- data/mongodb/migrate/20130511121956_generate_checksum_for_theme_assets.rb +5 -1
- data/mongodb/migrate/20130903145451_localize_redirect_urls_of_pages.rb +42 -0
- data/spec/dummy/config/initializers/locomotive.rb +2 -2
- data/spec/dummy/config/mongoid.yml +1 -0
- data/spec/lib/locomotive/httparty/webservice_spec.rb +1 -1
- data/spec/lib/locomotive/liquid/filters/date_spec.rb +61 -2
- data/spec/lib/locomotive/liquid/filters/text_spec.rb +4 -0
- data/spec/lib/locomotive/liquid/tags/consume_spec.rb +6 -2
- data/spec/lib/locomotive/liquid/tags/nav_spec.rb +1 -1
- data/spec/lib/locomotive/liquid/tags/with_scope_spec.rb +33 -27
- data/spec/lib/locomotive/render_spec.rb +2 -2
- data/spec/lib/locomotive/routing/site_dispatcher_spec.rb +1 -1
- data/spec/models/locomotive/content_entry_spec.rb +1 -1
- data/spec/models/locomotive/editable_control_spec.rb +9 -0
- data/spec/models/locomotive/extensions/page/editable_elements_spec.rb +6 -0
- data/spec/models/locomotive/page_spec.rb +13 -0
- data/spec/requests/admin_ssl_spec.rb +29 -7
- data/spec/support/factories.rb +6 -0
- data/vendor/assets/javascripts/locomotive/jquery-ui-timepicker-addon.js +2134 -0
- data/vendor/assets/stylesheets/select2/select2.css.scss +3 -3
- metadata +54 -94
@@ -0,0 +1,115 @@
|
|
1
|
+
cs:
|
2
|
+
flash:
|
3
|
+
locomotive:
|
4
|
+
pages:
|
5
|
+
create:
|
6
|
+
notice: "Stránka byla vytvořena."
|
7
|
+
alert: "Stránka nebyla vytvořena."
|
8
|
+
update:
|
9
|
+
notice: "Stránka byla aktualizována."
|
10
|
+
alert: "Stránka nebyla aktualizována."
|
11
|
+
sort:
|
12
|
+
notice: "Stránky byly seřazeny."
|
13
|
+
destroy:
|
14
|
+
notice: "Stránka byla odstraněna."
|
15
|
+
|
16
|
+
content_entries:
|
17
|
+
create:
|
18
|
+
notice: "Záznam byl vytvořen."
|
19
|
+
alert: "Záznam nebyl vytvořen."
|
20
|
+
update:
|
21
|
+
notice: "Záznam byl aktualizován."
|
22
|
+
alert: "Záznam nebyl aktualizován."
|
23
|
+
sort:
|
24
|
+
notice: "Záznamy byly seřazeny."
|
25
|
+
destroy:
|
26
|
+
notice: "Záznam byl odstraněn."
|
27
|
+
|
28
|
+
content_types:
|
29
|
+
create:
|
30
|
+
notice: "Model byl vytvořen."
|
31
|
+
alert: "Model nebyl vytvořen."
|
32
|
+
update:
|
33
|
+
notice: "Model byl aktualizován."
|
34
|
+
alert: "Model nebyl aktualizován."
|
35
|
+
destroy:
|
36
|
+
notice: "Model by odstraněn."
|
37
|
+
|
38
|
+
current_site:
|
39
|
+
update:
|
40
|
+
notice: "Tento web byl aktualizován."
|
41
|
+
alert: "Tento web nebyl aktualizován."
|
42
|
+
|
43
|
+
snippets:
|
44
|
+
create:
|
45
|
+
notice: "Snippet byl vytvořen."
|
46
|
+
alert: "Snippet nebyl vytvořen."
|
47
|
+
update:
|
48
|
+
notice: "Snippet byl aktualizován."
|
49
|
+
alert: "Snippet nebyl aktualizován."
|
50
|
+
destroy:
|
51
|
+
notice: "Snippet byl odstraněn."
|
52
|
+
|
53
|
+
accounts:
|
54
|
+
create:
|
55
|
+
notice: "Účet byl vytvořen."
|
56
|
+
alert: "Účet nebyl vytvořen."
|
57
|
+
|
58
|
+
my_account:
|
59
|
+
update:
|
60
|
+
notice: "Váš účet byl aktualizován."
|
61
|
+
alert: "Váš účet nebyl aktualizován."
|
62
|
+
|
63
|
+
sites:
|
64
|
+
create:
|
65
|
+
notice: "Web byl vytvořen."
|
66
|
+
alert: "Web nebyl vytvořen."
|
67
|
+
destroy:
|
68
|
+
notice: "Web byl odstraněn."
|
69
|
+
|
70
|
+
memberships:
|
71
|
+
create:
|
72
|
+
notice: "Členství bylo vytvořeno."
|
73
|
+
alert: "Členství nebylo vytvořeno."
|
74
|
+
already_created: "Účet je již spojený s tímto webem."
|
75
|
+
|
76
|
+
assets:
|
77
|
+
create:
|
78
|
+
notice: "Médium bylo vytvořeno."
|
79
|
+
alert: "Médium nebylo vytvořeno."
|
80
|
+
update:
|
81
|
+
notice: "Médium bylo aktualizováno."
|
82
|
+
alert: "Médium nebylo aktualizováno."
|
83
|
+
|
84
|
+
theme_assets:
|
85
|
+
create:
|
86
|
+
notice: "Soubor byl vytvořen."
|
87
|
+
alert: "Soubor nebyl vytvořen."
|
88
|
+
update:
|
89
|
+
notice: "Soubor byl aktualizován."
|
90
|
+
alert: "Soubor nebyl aktualizován."
|
91
|
+
destroy:
|
92
|
+
notice: "Soubor byl odstraněn."
|
93
|
+
translations:
|
94
|
+
create:
|
95
|
+
notice: "Překlad byl vytvořen."
|
96
|
+
alert: "Překlad nebyl vytvořen."
|
97
|
+
update:
|
98
|
+
notice: "Překlad byl aktualizován."
|
99
|
+
alert: "Překlad nebyl aktualizován."
|
100
|
+
destroy:
|
101
|
+
notice: "Překlad byl odstraněn"
|
102
|
+
|
103
|
+
custom_fields:
|
104
|
+
update:
|
105
|
+
alert: "Pole nebylo aktualizováno"
|
106
|
+
|
107
|
+
cross_domain_sessions:
|
108
|
+
create:
|
109
|
+
alert: "Musíte se přihlásit"
|
110
|
+
|
111
|
+
import:
|
112
|
+
create:
|
113
|
+
done: "Váš web byl aktualizován."
|
114
|
+
notice: "Váš web se aktualizuje."
|
115
|
+
alert: "Váš web nebyl aktualizován."
|
@@ -0,0 +1,113 @@
|
|
1
|
+
en:
|
2
|
+
formtastic:
|
3
|
+
titles:
|
4
|
+
information: Обща информация
|
5
|
+
advanced_options: Разширени опции
|
6
|
+
meta: SEO Метаданни
|
7
|
+
seo: SEO настройки
|
8
|
+
robots_txt: Robots.txt файл
|
9
|
+
code: Код
|
10
|
+
raw_template: Шаблон
|
11
|
+
credentials: Лична информация
|
12
|
+
language: Език
|
13
|
+
sites: Сайтове
|
14
|
+
access_points: Точки за достъп
|
15
|
+
memberships: Профили
|
16
|
+
membership_email: Имейл на профил
|
17
|
+
file: Файл
|
18
|
+
preview: Преглед
|
19
|
+
options: Разширени опции
|
20
|
+
custom_fields: Персонализирани полета
|
21
|
+
other_fields: Друга информация
|
22
|
+
presentation: Презентация
|
23
|
+
attributes: Атрибути
|
24
|
+
upload: Качване
|
25
|
+
labels:
|
26
|
+
theme_asset:
|
27
|
+
plain_text_name: Име на файл
|
28
|
+
content_type: Тип на файл
|
29
|
+
new:
|
30
|
+
source: Файл
|
31
|
+
edit:
|
32
|
+
source: Замени файл
|
33
|
+
custom_fields:
|
34
|
+
field:
|
35
|
+
name: Псевдоним
|
36
|
+
content_type:
|
37
|
+
raw_item_template: Шаблон на файл
|
38
|
+
public_submission_enabled: Публично подаване
|
39
|
+
public_submission_accounts: Уведомени профили
|
40
|
+
"custom_fields/field":
|
41
|
+
select_options: "Опции"
|
42
|
+
content_entry:
|
43
|
+
_slug: Постоянен линк
|
44
|
+
_visible: Видимо
|
45
|
+
account:
|
46
|
+
api_key: API ключ
|
47
|
+
edit:
|
48
|
+
locale: UI Език
|
49
|
+
password: Нова парол
|
50
|
+
password_confirmation: Потвърждение на новата парола
|
51
|
+
page:
|
52
|
+
seo_title: Заглавие
|
53
|
+
target_klass_name: Модел
|
54
|
+
site:
|
55
|
+
locales: Езици
|
56
|
+
timezone_name: Времева зона
|
57
|
+
new:
|
58
|
+
locales: Първи език
|
59
|
+
|
60
|
+
hints:
|
61
|
+
page:
|
62
|
+
handle: "Уникален идентификатор за ползване на тази страница във външна инстанция на контролер"
|
63
|
+
published: "Само отозирани профили могат да виждат непубликувани страници."
|
64
|
+
cache_strategy: "Кеширай страницата за по-добра производителност. 'Простият' избор е добър компромис."
|
65
|
+
templatized: "Използвайте страницата за шаблон за модел, който сте дефинирали."
|
66
|
+
listed: "Контролира дали да се показва страницата от генерираните менюта."
|
67
|
+
target_klass_name: "Видъд съдържание, на което тази страница ще е шаблот."
|
68
|
+
seo_title: "Дефинирайте заглавие на страницата, което да се ползва като стойност на title тага във head секцията. Оставете го празно ако искате да използвате стойността по подразбиране от настройките на сайта."
|
69
|
+
meta_keywords: "Презаписва мета ключовите думи на сайта, коио се ползват в head секцията. Разделени са с точка."
|
70
|
+
meta_description: "Презаписва мета описанието, което се използва в head секцията на страницата."
|
71
|
+
snippet:
|
72
|
+
slug: "Трябва да го знаете за да можете да вмъкнете откъса в страница"
|
73
|
+
site:
|
74
|
+
locales: "Drag&drop флаг на първата позиция за да стане по подразбиране."
|
75
|
+
seo_title: "Дефинирайте глобална стойност, която да се използва като стойност на title тага в head секцията."
|
76
|
+
meta_keywords: "Meta ключови думи използвани между head секцияата на страницата. Те са разделени от запетая. Нужни за SEO."
|
77
|
+
meta_description: "Meta описание използвано meжду head секцията на страница. Нужно за SEO."
|
78
|
+
domain_name: "пример: locomotiveapp.org"
|
79
|
+
robots_txt: "Съдържанието на <span class='code'>/robots.txt</span> файла. Проверете следното <a href='http://www.w3.org/TR/html4/appendix/notes.html#h-B.4.1.1'>url</a> за повече информация."
|
80
|
+
new:
|
81
|
+
locales: "Можете да добавите други езици, когато сайта ви е създаден."
|
82
|
+
theme_asset:
|
83
|
+
slug: "Няма нужда да добавяте разширението на файла (.css или .js)"
|
84
|
+
edit:
|
85
|
+
source: "Може да го замените с файл със същото разширение."
|
86
|
+
translation:
|
87
|
+
key: "Използвайте долна черта вместо тире. Пример: ново_съобщение."
|
88
|
+
asset:
|
89
|
+
source: "Всички типове файлове се приемат."
|
90
|
+
edit:
|
91
|
+
source: "Текущият файл е наличен тук %{url}"
|
92
|
+
update:
|
93
|
+
source: "Текущият файл е наличен тук %{url}"
|
94
|
+
content_entry:
|
95
|
+
_slug: "Свойство използвано за да се генерира url-то на страница работеща като шаблон за този тип съдържание (пример: \"template_page/{{ your_object._permalink }})\"."
|
96
|
+
_visible: "По подразбиране, записът ще се показва в сайта. Така че може да се използва като публикуван атрибут."
|
97
|
+
seo_title: "Стойността която въведете ще замени SEO заглавието шаблонена страница свързана с вашият модел."
|
98
|
+
meta_keywords: "Презаписва meta ключовите думи на сайта, изпозлвани в head секцията на страницата. Разделени са от запетая."
|
99
|
+
meta_description: "Презаписва meta описанието на сайта, използвано в head секцията на страницата."
|
100
|
+
import:
|
101
|
+
source: "Zip файл съдържащ database.yml заедно с asset-и и шаблони"
|
102
|
+
samples: "Ако е активиран, процеса също ще копира съдържанието и asset-ите"
|
103
|
+
reset: "Ако е активиран, всички данни на вашият сайт ще бъдат унищожени преди да се внесе новия сайт."
|
104
|
+
content_type:
|
105
|
+
name: "Предлагаме да въведете множественото число на модела. Пример: Projects, Recipes, Posts, Articles и т.н."
|
106
|
+
slug: "Ще се използва като име на колекцията в liquid шаблона. Пример: <span class='code'>{{ contents.my_projects }}</span>"
|
107
|
+
raw_item_template: "Може да пресонализирате текста показан за всеки елемент в списъка. Просто използвайте Liquid. Пример: <span class='code'>{{ entry.name }})</span>"
|
108
|
+
public_submission_enabled: "Използва се за да разреши на външни хора да създават нови записи (пример: съобщения в форма за контакт)"
|
109
|
+
public_submission_accounts: "Ако опцията за публична публикацияа е активирана, за всеки запис създаден изпраща имейл до профилите изброени отгоре."
|
110
|
+
"custom_fields/field":
|
111
|
+
name: "Име на свойството за liquid шаблони. Пример: <span class='code'>{{ your_object.<име_на_вашето_поле> }}</span>"
|
112
|
+
hint: "Текст показан в формата на модела точно под полето"
|
113
|
+
|
@@ -0,0 +1,125 @@
|
|
1
|
+
cs:
|
2
|
+
formtastic:
|
3
|
+
titles:
|
4
|
+
information: Hlavní informace
|
5
|
+
advanced_options: Další možnosti
|
6
|
+
meta: SEO Metadata
|
7
|
+
seo: SEO možnosti
|
8
|
+
robots_txt: Soubor robots.txt
|
9
|
+
code: Kód
|
10
|
+
raw_template: Šablona
|
11
|
+
credentials: Přihlašovací údaje
|
12
|
+
language: Jazyk
|
13
|
+
sites: Weby
|
14
|
+
access_points: Přístupové body
|
15
|
+
memberships: Účty
|
16
|
+
membership_email: Email účtu
|
17
|
+
file: Soubor
|
18
|
+
preview: Náhled
|
19
|
+
options: Další možnosti
|
20
|
+
custom_fields: Vlastní pole
|
21
|
+
other_fields: Další informace
|
22
|
+
presentation: Prezentace
|
23
|
+
attributes: Atributy
|
24
|
+
upload: Upload
|
25
|
+
labels:
|
26
|
+
theme_asset:
|
27
|
+
plain_text_name: Název souboru
|
28
|
+
content_type: Typ souboru
|
29
|
+
new:
|
30
|
+
source: Soubor
|
31
|
+
edit:
|
32
|
+
source: Nahradit soubor
|
33
|
+
custom_fields:
|
34
|
+
field:
|
35
|
+
name: Alias
|
36
|
+
content_type:
|
37
|
+
raw_item_template: Šablona položky
|
38
|
+
public_submission_enabled: Veřejné vkládání
|
39
|
+
public_submission_accounts: Upozorňované účty
|
40
|
+
"custom_fields/field":
|
41
|
+
select_options: "Možnosti"
|
42
|
+
name: Název
|
43
|
+
slug: Permalink
|
44
|
+
description: Popis
|
45
|
+
label_field_id: Atribut názvu
|
46
|
+
group_by_field_id: Atribut pro seskupování
|
47
|
+
order_by: Řadit dle
|
48
|
+
order_direction: Směr řazení
|
49
|
+
content_entry:
|
50
|
+
_slug: Permalink
|
51
|
+
_visible: Viditelnost
|
52
|
+
seo_title: SEO titulek
|
53
|
+
meta_keywords: Klíčová slova
|
54
|
+
meta_description: Popis
|
55
|
+
account:
|
56
|
+
api_key: API klíč
|
57
|
+
edit:
|
58
|
+
locale: Jazyk prostředí
|
59
|
+
password: Nové heslo
|
60
|
+
password_confirmation: Potvrzení nového hesla
|
61
|
+
page:
|
62
|
+
seo_title: Titulek
|
63
|
+
target_klass_name: Model
|
64
|
+
site:
|
65
|
+
seo_title: SEO titulek
|
66
|
+
meta_keywords: Klíčová slova
|
67
|
+
meta_description: Popis webu
|
68
|
+
locales: Jazyky
|
69
|
+
timezone_name: Časová pásma
|
70
|
+
new:
|
71
|
+
locales: První jazyk
|
72
|
+
|
73
|
+
hints:
|
74
|
+
page:
|
75
|
+
handle: "Unikátní identifikátor k načtení této stránky v instanci externího controlleru."
|
76
|
+
published: "Pouze přihlášené účty mohou vidět nepublikovaný obsah."
|
77
|
+
cache_strategy: "Cache stránky se využívá k vyšší rychlosti načtení. Volba 'Jednoduchá' je dobrým kompromisem."
|
78
|
+
templatized: "Použít stránku jako šablonu pro definovaný model."
|
79
|
+
listed: "Určuje, zda zobrazovat stránku v generovaných menu."
|
80
|
+
target_klass_name: "Druh obsahu, kterému bude tato stránka šablonou."
|
81
|
+
seo_title: "Hodnota, kterou doplníte, nahradí SEO titulek ze šablony přiřazené tomuto modelu. Nechte prázdné, pokud chcete použít standardní hodnotu z nastavení webu."
|
82
|
+
meta_keywords: "Nahradí klíčová slova webu použitá v hlavičce stránky. Jsou oddělena čárkou."
|
83
|
+
meta_description: "Nahradí popis webu použitý v hlavičce stránky."
|
84
|
+
snippet:
|
85
|
+
slug: "Skrze tento název ho vložíte do stránky."
|
86
|
+
site:
|
87
|
+
locales: "Přesuňte vlajku na první místo, abyste ji udělali výchozím jazykem."
|
88
|
+
seo_title: "Určete obecnou hodnotu, která bude sloužit na webu jako výchozí titulek."
|
89
|
+
meta_keywords: "Klíčová slova webu použitá v hlavičce webu. Jsou oddělena čárkou. Vyžadována pro SEO."
|
90
|
+
meta_description: "Popis webu použitý v hlavičce webu. Vyžadován pro SEO."
|
91
|
+
domain_name: "např: locomotiveapp.org"
|
92
|
+
robots_txt: "Obsah souboru <span class='code'>/robots.txt</span>. Pro více informací mrkněte na tuto <a href='http://www.w3.org/TR/html4/appendix/notes.html#h-B.4.1.1'>url</a>."
|
93
|
+
new:
|
94
|
+
locales: "Další jazyky budete moci přidat po vytvoření webu."
|
95
|
+
theme_asset:
|
96
|
+
slug: "Není potřeba přidávat koncovku (.css nebo .js)"
|
97
|
+
edit:
|
98
|
+
source: "Můžete ho nahradit souborem stejného typu."
|
99
|
+
translation:
|
100
|
+
key: "Nepoužívejte pomlčky, ale raději podtržítka. Příklad: welcome_message."
|
101
|
+
asset:
|
102
|
+
source: "Povoleny jsou všechny typy souborů."
|
103
|
+
edit:
|
104
|
+
source: "Současný soubor je dostupný na %{url}"
|
105
|
+
update:
|
106
|
+
source: "Současný soubor je dostupný na %{url}"
|
107
|
+
content_entry:
|
108
|
+
_slug: "Vlastnost sloužící k vygenerování url adresy stránky pro tento druh obsahu (např: \"template_page/{{ your_object._permalink }})\"."
|
109
|
+
_visible: "Standardně se obsah na stránce zobrazuje. Tento přepínač tedy může sloužit k označení již publikovaného obsahu."
|
110
|
+
seo_title: "Hodnota, kterou doplníte, nahradí SEO titulek ze šablony přiřazené tomuto modelu."
|
111
|
+
meta_keywords: "Nahradí klíčová slova webu použitá v hlavičce stránky. Jsou oddělena čárkou."
|
112
|
+
meta_description: "Nahradí popis webu použitý v hlavičce stránky."
|
113
|
+
import:
|
114
|
+
source: "Archiv zip obsahující database.yml spolu se všemi šablonami a potřebnými soubory"
|
115
|
+
samples: "Pakliže je povoleno, budou během importu kopírovány i obsahy a soubory"
|
116
|
+
reset: "Pakliže je povoleno, všechna data z webu budou před importem smazána"
|
117
|
+
content_type:
|
118
|
+
name: "Doporučujeme použít název modelu v množném čísle a v angličtině. Např.: Projects, Recipes, Posts, Articles, apod."
|
119
|
+
slug: "Bude použit jako název kolekce pro liquid šablony. Př.: <span class='code'>{{ contents.my_projects }}</span>"
|
120
|
+
raw_item_template: "Můžete specifikovat text zobrazený pro každou položku z kolekce. Jednoduše použijte Liquid. Př.: <span class='code'>{{ zaznam.nazev }})</span>"
|
121
|
+
public_submission_enabled: "Používá se pro vkládání obsahu lidmi z venku (příklad: zprávy v kontaktním formuláři)"
|
122
|
+
public_submission_accounts: "Pakliže je veřejné vkládání zapnuté, výše vypsané účty obdrží při vytvoření nového záznamu informační email."
|
123
|
+
"custom_fields/field":
|
124
|
+
name: "Název vlastnosti pro šablony liquid. Např: <span class='code'>{{ vas_objekt.<nazev_pole> }}</span>"
|
125
|
+
hint: "Text zobrazený v modelu pod příslušným polem."
|
@@ -46,10 +46,14 @@ de:
|
|
46
46
|
_slug: Permalink
|
47
47
|
account:
|
48
48
|
edit:
|
49
|
+
locale: Sprache der Oberfläche
|
49
50
|
password: "Neues Passwort"
|
50
51
|
password_confirmation: "Bestätigung des neuen Passworts"
|
51
52
|
page:
|
52
53
|
seo_title: Titel
|
54
|
+
site:
|
55
|
+
locales: Sprachen der Webseite
|
56
|
+
timezone_name: Zeitzone
|
53
57
|
|
54
58
|
hints:
|
55
59
|
page:
|
@@ -61,9 +65,12 @@ de:
|
|
61
65
|
seo_title: "Wähle einen Titel für den 'title' Tag im Seiten Header. Lass es leer, wenn der Seitentitel verwendet werden soll."
|
62
66
|
meta_keywords: "Meta-Schlagworte, die im HEAD-Bereich der Webseite genutzt werden. Die einzelnen Wörter werden durch eine Leertaste getrennt. Diese werden für die Suchmaschinen benötigt."
|
63
67
|
meta_description: "Meta-Beschreibung, die im HEAD-Bereich der Webseite genutzt wird. Diese wird für die Suchmaschinen benötigt."
|
68
|
+
handle: "Eindeutige Bezeichnung um diese Seite von einer externen Controller Instanz aus anzusprechen."
|
64
69
|
snippet:
|
65
70
|
slug: "Um ein Snippet einzubinden, musst Du diesen Slug benutzen."
|
66
71
|
site:
|
72
|
+
locales: "Ziehen Sie eine Sprache an die erste Stelle um sie als Standard-Sprache festzulegen."
|
73
|
+
seo_title: "Globaler Wert, der auf jeder Seite für den Titel genutzt wird."
|
67
74
|
meta_keywords: "Meta-Schlagworte, die im HEAD-Bereich der Webseite genutzt werden. Die einzelnen Wörter werden durch eine Leertaste getrennt. Diese werden für die Suchmaschinen benötigt."
|
68
75
|
meta_description: "Meta-Beschreibung, die im HEAD-Bereich der Webseite genutzt wird. Diese wird für die Suchmaschinen benötigt."
|
69
76
|
domain_name: "z.B: locomotiveapp.org"
|
@@ -72,6 +79,8 @@ de:
|
|
72
79
|
slug: "Du musst die Dateiendung nicht angeben (.css or .js)"
|
73
80
|
edit:
|
74
81
|
source: "Du kannst diese Datei durch eine Datei mit gleicher Dateiendung ersetzen"
|
82
|
+
translation:
|
83
|
+
key: "Nutzen Sie Unterstriche um Wörter zu trennen. Beispiel: welcome_message."
|
75
84
|
asset:
|
76
85
|
source: "Es werden alle Datei-Typen akzeptiert."
|
77
86
|
edit:
|
@@ -80,6 +80,7 @@ Feature: Content Entries
|
|
80
80
|
| 2/workers/1 | "w3" |
|
81
81
|
| 2/client | "c1" |
|
82
82
|
And the JSON at "2/logo" should match /logo2.jpg$/
|
83
|
+
And the response content type should match /application\/json/
|
83
84
|
|
84
85
|
Scenario: Updating existing project
|
85
86
|
Given the JSON request at "content_entry/logo" is a file
|
@@ -111,6 +112,7 @@ Feature: Content Entries
|
|
111
112
|
| 0/workers/1 | "w2" |
|
112
113
|
| 0/client | "c2" |
|
113
114
|
And the JSON at "0/logo" should match /logo2.jpg$/
|
115
|
+
And the response content type should match /application\/json/
|
114
116
|
|
115
117
|
# FIXME: (Did) What is the use case to modify the timestamps of a content entry
|
116
118
|
@wip
|
@@ -0,0 +1,26 @@
|
|
1
|
+
Feature: Memberships
|
2
|
+
In order to manage memberships programmatically
|
3
|
+
As an API user
|
4
|
+
I will be able to create and update memberships
|
5
|
+
|
6
|
+
Background:
|
7
|
+
Given I have the site: "test site" set up with id: "4f832c2cb0d86d3f42fffffb"
|
8
|
+
And I have accounts:
|
9
|
+
| email | id |
|
10
|
+
| new-user@a.com | 4f832c2cb0d86d3f42fffffc |
|
11
|
+
|
12
|
+
Scenario: Create membership by account email
|
13
|
+
Given I have an "admin" API token
|
14
|
+
When I do an API POST to memberships.json with:
|
15
|
+
"""
|
16
|
+
{
|
17
|
+
"membership": {
|
18
|
+
"site_id": "4f832c2cb0d86d3f42fffffb",
|
19
|
+
"email": "new-user@a.com"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
"""
|
23
|
+
When I do an API GET request to memberships.json
|
24
|
+
Then the JSON response should be an array
|
25
|
+
And the JSON response should have 2 entries
|
26
|
+
And the JSON response at "1/account_id" should be "4f832c2cb0d86d3f42fffffc"
|
@@ -54,7 +54,7 @@ Scenario: with_scope with label value
|
|
54
54
|
And a page named "sexy-articles" with the template:
|
55
55
|
"""
|
56
56
|
<hr>
|
57
|
-
{% with_scope
|
57
|
+
{% with_scope projects.in: ["My sexy project"] %}
|
58
58
|
{% for article in contents.articles %}- {{ article.title }}<br>{% endfor %}
|
59
59
|
{% endwith_scope %}
|
60
60
|
<hr>
|
@@ -63,8 +63,8 @@ Scenario: with_scope with label value
|
|
63
63
|
Then the rendered output should look like:
|
64
64
|
"""
|
65
65
|
<hr>
|
66
|
-
|
66
|
+
|
67
67
|
- Lorem ipsum<br>
|
68
|
-
|
68
|
+
|
69
69
|
<hr>
|
70
70
|
"""
|