forked from refinery/refinerycms
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into configureable-engines
Conflicts: images/refinerycms-images.gemspec pages/refinerycms-pages.gemspec resources/lib/generators/resources_generator.rb resources/lib/generators/templates/config/refinery/resources.yml.erb resources/lib/refinery/resources/validators/file_size_validator.rb resources/lib/refinerycms-resources.rb resources/refinerycms-resources.gemspec resources/spec/models/refinery/resource_spec.rb resources/spec/requests/refinery/admin/resources_spec.rb
- Loading branch information
Showing
81 changed files
with
489 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
WYMeditor.STRINGS['bg'] = { | ||
Strong: 'Получер', | ||
Bold: 'Получер', | ||
Emphasis: 'Курсив', | ||
Superscript: 'Горен индекс', | ||
Subscript: 'Долен индекс', | ||
Ordered_List: 'Подреден списък', | ||
Unordered_List: 'Списък', | ||
Indent: 'Блок навътре', | ||
Outdent: 'Блок навън', | ||
Undo: 'Отмяна', | ||
Redo: 'Повторение', | ||
Link: 'Връзка', | ||
Unlink: 'Премахване на връзка', | ||
Image: 'Изображение', | ||
Table: 'Таблица', | ||
HTML: 'HTML', | ||
Paragraph: 'Параграф', | ||
Heading_1: 'Заглавие 1', | ||
Heading_2: 'Заглавие 2', | ||
Heading_3: 'Заглавие 3', | ||
Heading_4: 'Заглавие 4', | ||
Heading_5: 'Заглавие 5', | ||
Heading_6: 'Заглавие 6', | ||
Preformatted: 'Форматиран предварително', | ||
Blockquote: 'Цитат', | ||
Table_Header: 'Заглавие на таблицата', | ||
URL: 'Уеб адрес', | ||
Title: 'Заглавие', | ||
Alternative_Text: 'Алтернативен текст', | ||
Caption: 'Заглавие', | ||
Summary: 'Общо', | ||
Number_Of_Rows: 'Брой редове', | ||
Number_Of_Cols: 'Брой колони', | ||
Insert: 'Вмъкване', | ||
Submit: 'Изпращане', | ||
Cancel: 'Отказ', | ||
Choose: 'Избор', | ||
Preview: 'Преглед', | ||
Paste_From_Word: 'Вмъкнете Вашия текст по-долу', | ||
Tools: 'Инструменти', | ||
Containers: 'Контейнери', | ||
Classes: 'Класове', | ||
Status: 'Статус', | ||
Source_Code: 'Изходен код', | ||
Text_Align: 'На текст', | ||
Image_Align: 'На изображение', | ||
Font_Size: 'На шрифт', | ||
Left: 'Отляво', | ||
Right: 'Отдясно', | ||
Center: 'Центрирано', | ||
Justify: 'Двустранно', | ||
Small: 'Малък', | ||
Normal: 'Нормален', | ||
Large: 'Голям', | ||
Apply_Style: 'Стил' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
WYMeditor.STRINGS['bg'] = { | ||
Strong: 'Получер', | ||
Bold: 'Получер', | ||
Emphasis: 'Курсив', | ||
Superscript: 'Горен индекс', | ||
Subscript: 'Долен индекс', | ||
Ordered_List: 'Подреден списък', | ||
Unordered_List: 'Списък', | ||
Indent: 'Блок навътре', | ||
Outdent: 'Блок навън', | ||
Undo: 'Отмяна', | ||
Redo: 'Повторение', | ||
Link: 'Връзка', | ||
Unlink: 'Премахване на връзка', | ||
Image: 'Изображение', | ||
Table: 'Таблица', | ||
HTML: 'HTML', | ||
Paragraph: 'Параграф', | ||
Heading_1: 'Заглавие 1', | ||
Heading_2: 'Заглавие 2', | ||
Heading_3: 'Заглавие 3', | ||
Heading_4: 'Заглавие 4', | ||
Heading_5: 'Заглавие 5', | ||
Heading_6: 'Заглавие 6', | ||
Preformatted: 'Форматиран предварително', | ||
Blockquote: 'Цитат', | ||
Table_Header: 'Заглавие на таблицата', | ||
URL: 'Уеб адрес', | ||
Title: 'Заглавие', | ||
Alternative_Text: 'Алтернативен текст', | ||
Caption: 'Заглавие', | ||
Summary: 'Общо', | ||
Number_Of_Rows: 'Брой редове', | ||
Number_Of_Cols: 'Брой колони', | ||
Insert: 'Вмъкване', | ||
Submit: 'Изпращане', | ||
Cancel: 'Отказ', | ||
Choose: 'Избор', | ||
Preview: 'Преглед', | ||
Paste_From_Word: 'Вмъкнете Вашия текст по-долу', | ||
Tools: 'Инструменти', | ||
Containers: 'Контейнери', | ||
Classes: 'Класове', | ||
Status: 'Статус', | ||
Source_Code: 'Изходен код', | ||
Text_Align: 'На текст', | ||
Image_Align: 'На изображение', | ||
Font_Size: 'На шрифт', | ||
Left: 'Отляво', | ||
Right: 'Отдясно', | ||
Center: 'Центрирано', | ||
Justify: 'Двустранно', | ||
Small: 'Малък', | ||
Normal: 'Нормален', | ||
Large: 'Голям', | ||
Apply_Style: 'Стил' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
db/migrate/20110907082019_remove_custom_title_from_refinery_pages.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class RemoveCustomTitleFromRefineryPages < ActiveRecord::Migration | ||
def up | ||
if ::Refinery::Page.column_names.map(&:to_sym).include?(:custom_title) | ||
remove_column ::Refinery::Page.table_name, :custom_title | ||
end | ||
end | ||
|
||
def down | ||
add_column ::Refinery::Page.table_name, :custom_title, :string | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.