From 09689a0cc9133128f989b7ad244e0d44fc2135b7 Mon Sep 17 00:00:00 2001 From: GarPit Date: Fri, 12 Aug 2011 15:32:37 +0400 Subject: [PATCH] initial ru translation --- config/application.rb | 49 ----- config/initializers/carrierwave.rb | 38 ---- config/initializers/locomotive.rb | 82 -------- config/locales/admin_ui.ru.yml | 303 +++++++++++++++++++++++++++++ config/locales/default.ru.yml | 284 +++++++++++++++++++++++++++ config/locales/devise.ru.yml | 63 ++++++ config/locales/formtastic.ru.yml | 99 ++++++++++ 7 files changed, 749 insertions(+), 169 deletions(-) delete mode 100644 config/application.rb delete mode 100644 config/initializers/carrierwave.rb delete mode 100644 config/initializers/locomotive.rb create mode 100644 config/locales/admin_ui.ru.yml create mode 100644 config/locales/default.ru.yml create mode 100644 config/locales/devise.ru.yml create mode 100644 config/locales/formtastic.ru.yml diff --git a/config/application.rb b/config/application.rb deleted file mode 100644 index fe4c8dd6..00000000 --- a/config/application.rb +++ /dev/null @@ -1,49 +0,0 @@ -require File.expand_path('../boot', __FILE__) - -require "action_controller/railtie" -require "action_mailer/railtie" -require "active_resource/railtie" -require "mongoid/railtie" - -# Auto-require default libraries and those for the current Rails environment. -Bundler.require :default, Rails.env - -module Locomotive - class Application < Rails::Application - # Settings in config/environments/* take precedence over those specified here. - # Application configuration should go into files in config/initializers - # -- all .rb files in that directory are automatically loaded. - - # Add additional load paths for your own custom dirs - # config.load_paths += %W( #{config.root}/extras ) - config.autoload_paths += %W( #{config.root}/app/models/extensions #{config.root}/app/models/extensions/site #{config.root}/app/models/extensions/page #{config.root}/app/models/extensions/asset #{config.root}/app/cells/admin) - - # Only load the plugins named here, in the order given (default is alphabetical). - # :all can be used as a placeholder for all plugins not explicitly named - # config.plugins = [ :exception_notification, :ssl_requirement, :all ] - - # Activate observers that should always be running - # config.active_record.observers = :cacher, :garbage_collector, :forum_observer - - # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. - # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. - # config.time_zone = 'Central Time (US & Canada)' - - # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. - # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')] - # config.i18n.default_locale = :de - - # Configure generators values. Many other options are available, be sure to check the documentation. - # config.generators do |g| - # g.orm :active_record - # g.template_engine :erb - # g.test_framework :test_unit, :fixture => true - # end - - # Configure the default encoding used in templates for Ruby 1.9. - config.encoding = "utf-8" - - # Configure sensitive parameters which will be filtered from the log file. - config.filter_parameters << :password - end -end \ No newline at end of file diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb deleted file mode 100644 index 23f689b6..00000000 --- a/config/initializers/carrierwave.rb +++ /dev/null @@ -1,38 +0,0 @@ -require 'locomotive' - -# TODO: Make this store to RAILS_ROOT/permanent - -# On bushido, the app directory is destroyed on every update, so everything is lost. -# The only place this doesn't happen is the RAILS_ROOT/permanent folder. -# Also, RAILS_ROOT/permanent/store is symlinked to RAILS_ROOT/public/store on every update, -# so store your publicly-accessible files here (e.g. templates, etc.) - -CarrierWave.configure do |config| - - config.cache_dir = File.join(Rails.root, 'tmp', 'uploads') - - case Rails.env.to_sym - - when :development - config.storage = :file - config.root = File.join(Rails.root, 'public') - - when :production - if Locomotive.bushido? - config.storage = :file - config.root = File.join(Rails.root, 'public') - config.store_dir = 'store' - else - config.storage = :s3 - config.s3_access_key_id = ENV['S3_KEY_ID'] - config.s3_secret_access_key = ENV['S3_SECRET_KEY'] - config.s3_bucket = ENV['S3_BUCKET'] - # config.s3_cname = 'ENV['S3_CNAME'] - - # settings for the local filesystem - # config.storage = :file - # config.root = File.join(Rails.root, 'public') - end - end - -end unless Locomotive.engine? diff --git a/config/initializers/locomotive.rb b/config/initializers/locomotive.rb deleted file mode 100644 index c61fb70d..00000000 --- a/config/initializers/locomotive.rb +++ /dev/null @@ -1,82 +0,0 @@ -require File.dirname(__FILE__) + '/../../lib/locomotive.rb' - -Locomotive.configure do |config| - - # A single locomotive instance can serve one single site or many. - # If you want to run many different websites, you will have to specify - # your own domain name (ex: locomotivehosting.com). - # - # Ex: - # config.multi_sites do |multi_sites| - # # each new website you add will have a default entry based on a subdomain - # # and the multi_site_domain value (ex: website_1.locomotivehosting.com). - # multi_sites.domain = 'example.com' #'myhostingplatform.com' - # - # # define the reserved subdomains - # # Ex: - # multi_sites.reserved_subdomains = %w(www admin email blog webmail mail support help site sites) - # end - config.multi_sites = false - - # configure the hosting target for the production environment. Locomotive can be installed in: - # - your own server - # - Heroku (you need to create an account in this case) - # - Bushi.do (see the bushi.do website for more explanations) - # - # the possible options are: server, heroku, bushido or auto (default) - # if you select 'auto', Locomotive will look after specific ENV variables to check - # the matching platform (Heroku and Bushido set their own ENV variables). - # - config.hosting = :auto - - # In case you host Locomotive in Heroku, the engine uses the heroku api to add / remove domains. - # there are 2 ways of passing heroku credentials to Locomotive - # - from ENV variables: HEROKU_LOGIN & HEROKU_PASSWORD - # - from this file, see the example below and uncomment it if needed - # config.heroku = { - # :login => '', - # :password => '' - # } - - # Locomotive uses the DelayedJob gem for the site import module. - # In case you want to deploy to Heroku, you will have to pay for an extra dyno. - # If you do not mind about importing theme without DelayedJob, disable it. - # - # Warning: this option is not used if you deploy on bushi.do and we set automatically the value to true. - config.delayed_job = false - - # configure how many items we display in sub menu in the "Contents" section. - # config.lastest_items_nb = 5 - - # default locale (for now, only en, de, fr, pt-BR and it are supported) - config.default_locale = :en - - # tell if logs are enabled. Useful for debug purpose. - config.enable_logs = true - - # Configure the e-mail address which will be shown in the DeviseMailer, NotificationMailer, ...etc - # if you do not put the domain name in the email, Locomotive will take the default domain name depending - # on your deployment target (server, Heroku, Bushido, ...etc) - # - # Ex: - # config.mailer_sender = 'support' - # # => 'support@heroku.com' (Heroku), 'support@bushi.do' (Bushido), 'support@example.com' (Dev) or 'support@' (Multi-sites) - config.mailer_sender = 'support' - - # allow apps using the engine to add their own Liquid drops, variables and similar available - # in Liquid templates, extending the assigns used while rendering. - # follow the Dependency Injection pattern - # config.context_assign_extensions = {} - - # Rack-cache settings, mainly used for the inline resizing image module. Default options: - # config.rack_cache = { - # :verbose => true, - # :metastore => URI.encode("file:#{Rails.root}/tmp/dragonfly/cache/meta"), # URI encoded in case of spaces - # :entitystore => URI.encode("file:#{Rails.root}/tmp/dragonfly/cache/body") - # } - # If you do want to disable it for good, just use the following syntax - # config.rack_cache = false - # - # Note: by default, rack/cache is disabled in the Heroku platform - -end unless Locomotive.engine? || Rails.env.test? diff --git a/config/locales/admin_ui.ru.yml b/config/locales/admin_ui.ru.yml new file mode 100644 index 00000000..bd0ab05d --- /dev/null +++ b/config/locales/admin_ui.ru.yml @@ -0,0 +1,303 @@ +ru: + admin: + buttons: + login: Войти + send_password: Отправить + change_password: Update + new_item: "+ add" + switch_to_site: Go + delete: "Удалить" + + messages: + confirm: Are you sure ? + + shared: + header: + welcome: Привет, %{name} + see: Сайт + switch: Switch to another site + help: Справка + logout: Выйти + menu: + contents: Содержимое + assets: Assets + settings: Настройки + pages: Страницы + snippets: Сниппеты + account: Аккаунт + site: Сайт + theme_assets: Файлы темы + footer: + who_is_behind: "Service developed by %{development} and designed by Sacha Greif" + form_actions: + back: Back without saving + create: Создать + update: Сохранить + send: Отправить + + errors: + "500": + title: Application Error + notice: "We're sorry, but something went wrong" + link: "→ Back to the application" + "404": + title: Page not found + notice: "The page you requested does not exist." + link: "→ Back to the application" + + notifications: + new_content_instance: + subject: "[%{type}] new" + title: "Hi %{name}, just to let you know that a new instance has been created on %{date}" + type: "Model: %{type}" + + sites_picker: + new: + new site + + custom_fields: + edit: + title: Editing custom field + text_formatting: + none: None + html: HTML + edit_field: + title: Edit field + edit_category: + title: Edit options + help: Manage the list of options for your select box. + collection_label: List of options + types: + category: + edit_categories: Edit options + file: + delete_file: Delete file + has_many: + empty: Empty + index: + is_required: is required + default_label: Field name + + sessions: + new: + title: Войти + link: "Я забыл свой пароль" + email: "Email" + password: "Пароль" + + passwords: + new: + title: Забыли пароль + link: "→ Назад к странице входа" + email: "Ваш email" + edit: + title: Update my password + link: "→ Back to login page" + password: "Your new password" + password_confirmation: "Confirmation of your new password" + + pages: + index: + title: Listing pages + help: "Страницы организованы в виде дерева. Вы можете сортировать как страницы, так и папки" + no_items: "There are no pages for now. Just click here to create the first one." + new: новая страница + lastest_items: Lastest pages + new: + title: New page + help: "Please fill in the below form to create your page. Be careful, by default, the page is not published." + page: + updated_at: обновлено + edit: + show: смотреть + help: "The page title can be updated by clicking it. To apply your changes, click on the \"Save\" button." + ask_for_title: "Пожалуйста введите новое имя страницы" + form: + delete_file: Удалить файл + default_block: Default + cache_strategy: + none: None + simple: Simple + hour: 1 hour + day: 1 day + week: 1 week + month: 1 month + + snippets: + index: + title: Список сниппетов + help: "Snippets are portion of HTML code which can be found at different places within the site (such as a footer)." + no_items: "There are no snippets for now. Just click here to create the first one." + new: new snippet + new: + title: New snippet + help: "Fill in the form below to update your snippet." + edit: + title: Editing snippet + help: "Include your snippet in your page templates with the following liquid code : {% include '%{slug}' %}." + snippet: + updated_at: Updated at + + sites: + new: + title: New site + help: "Fill in the form below to create your new site." + + current_site: + edit: + export: экспорт + import: импорт + new_membership: add account + help: "The site name can be updated by clicking it. To apply your changes, click on the \"Save\" button." + ask_for_name: "Please type the new site name" + + memberships: + roles: + admin: Administrator + designer: Designer + author: Author + new: + title: New membership + help: "Please give the account email to add. If it does not exist, you will be redirected to the account creation form." + + accounts: + new: + title: New account + help: "Fill in the form below to add a new account." + + my_account: + edit: + help: "Вы можете изменить логин просто кликнув на нем. Чтобы применить изменения, нажмите кнопку \"Сохранить\"." + new_site: new site + en: Английский + de: Немецкий + fr: Французский + pt-BR: "Brazilian Portuguese" + it: Итальянский + nl: Dutch + es: Испанский + ask_for_name: "Пожалуйста введите ваш новый логин" + + theme_assets: + index: + title: Listing theme files + help: "The theme files section is the place where you manage the files needed by your layout, snippets...etc. If you need to manage an image gallery, create a new content type instead.
Warning: you may not see all the assets depending on your rights." + new: new file + snippets: Snippets + css_and_js: Style and javascript + fonts: Fonts + images: Images + medias: Medias + no_items: "There are no files for now." + asset: + updated_at: Updated at + new: + title: New file + help: "You have the choice to either upload any file or to copy/paste a stylesheet or a javascript in plain text." + edit: + title: "Editing %{file}" + help: "This asset is accessible directly from the following url: %{url}" + help_image: "Include your image in your page templates or snippets with the following liquid code : {{ '%{path}' | theme_image_tag }}.
Your current image dimensions : %{width}px x %{height}px.
" + help_javascript: "Include your javascript file in your page templates or snippets with the following code : {{ '%{path}' | javascript_tag }}.
" + help_stylesheet: "Include your stylesheet file in your page templates or snippets with the following code : {{ '%{path}' | stylesheet_tag }}.
" + form: + picker_link: Insert a file into the code + choose_file: Choose file + choose_plain_text: Choose plain text + images: + title: Listing images + no_items: "There are no files for now." + + assets: + new: + title: New asset + help: "Fill in the form below to create your asset." + edit: + title: Edit asset + help: "Fill in the form below to update your asset." + + content_types: + index: + new: новая модель + new: + title: New model + help: "Create your own data model (Projects, People, ...etc). Your model should have one field at least. The items created from this content type would have their first field mandatory." + edit: + title: Editing model + help: "Your model should have one field at least. The items created from this content type would have their first field mandatory." + show_items: show items + new_item: new item + form: + order_by: + created_at: 'By creation date' + updated_at: 'By updating date' + position_in_list: Manually + order_direction: + asc: Ascending + desc: Descending + + contents: + index: + title: 'Listing "%{type}"' + edit: edit model + destroy: remove model + download: download items + new: new item + category_noname: "No name" + lastest_items: "Lastest items" + updated_at: "Updated at" + list: + no_items: "There are no items for now. Just click here to create the first one." + new: + title: + default: '%{type} — new item' + breadcrumb: '%{root} » %{type} — new item' + edit: + title: + default: '%{type} — editing item' + breadcrumb: '%{root} » %{type} — editing item' + form: + has_many: + new_item: New item + + image_picker: + link: Insert an image into the code + + cross_domain_sessions: + new: + title: Cross-domain authentication + notice: You will be redirected to the website in a couple of seconds. + + import: + new: + title: Import site template + help: "Be careful when you upload a new template for your existing website, your current data could be modified or even removed." + show: + title: Import in progress + help: "Your site is being updated from the theme zip file you have just uploaded. It lasts a couple of seconds." + steps: + site: Site information + content_types: Custom content types + assets: Theme files + snippets: Snippets + pages: Pages + messages: + success: "Your site was successfully updated." + failure: "The import did not work." + + installation: + common: + title: Первая установка Locomotive + next: Следующий шаг + step_1: + title: "Шаг 1/2 — Создайте аккаунт" + name: Логин + email: Email + password: Пароль + password_confirmation: Подтверждение пароля + done: "Вы уже добавили учетную запись:
%{name}, %{email}" + next: Создать аккаунт + step_2: + title: "Шаг 2/2 — Создайте первый сайт" + explanations: "Если вы уже загрузили шаблон сайта по умолчанию (см. инструкцию), вы можете использовать его прямо сейчас. Или вы можете загрузить шаблон сайта как zip файл (доступные бесплатные шаблоны здесь)." + back_to_default_template: "Нажмите здесь для выбора шаблона сайта по умолчанию" + next: Создать сайт diff --git a/config/locales/default.ru.yml b/config/locales/default.ru.yml new file mode 100644 index 00000000..bb8a099b --- /dev/null +++ b/config/locales/default.ru.yml @@ -0,0 +1,284 @@ +ru: + date: + formats: + default: "%m/%d/%Y" + + errors: + messages: + domain_taken: "%{value} is already taken" + invalid_domain: "%{value} is invalid" + needs_admin_account: "One admin account is required at least" + protected_page: "You can not remove index or 404 pages" + extname_changed: "New file does not have the original extension" + array_too_short: "is too small (minimum element number is %{count})" + liquid_syntax: "Liquid Syntax error ('%{error}')" + invalid_theme_file: "can't be blank or isn't a zip file" + + too_short: "слишком короткий (не менее %{count} символов)" + blank: "не может быть пустым" + invalid: "имеет неверное значение" + confirmation: "не совпадает с подтверждением" + page: + liquid_syntax: "Liquid Syntax error ('%{error}' on '%{fullpath}')" + liquid_extend: "The page '%{fullpath}' extends a template which does not exist" + + attributes: + defaults: + pages: + index: + title: "Стартовая страница" + body: "Содержимое стартовой страницы" + "404": + title: "Страница не найдена" + body: "Содержимое страницы 404" + other: + body: "{% extends 'parent' %}" + + mongoid: + attributes: + page: + title: Имя + parent: Родитель + slug: Ссылка + templatized: Templatized + published: Veröffentlicht + listed: Im Menü + redirect: Umleitung + redirect_url: Umleitungs-URL + cache_strategy: Cache + content_type: + name: Name + description: Beschreibung + slug: Slug + order_by: Sortieren nach + order_direction: Reihenfolge + highlighted_field_name: Hervorgehobener Feld-Name + group_by_field_name: Gruppierung nach Feld-Name + api_enabled: API aktiviert + asset: + source: Файл + account: + email: Email + name: Name + language: Sprache + password: Passwort + password_confirmation: Bestätigung des Passworts + snippet: + body: Code + slug: Slug + name: Name + theme_asset: + content_type: Inhalts-Typ + site: + name: Имя сайта + domain_name: Домен + subdomain: Поддомен + restricted_access: Aktiviert ? + access_login: Benutzernamen + access_password: "Пароль" + + pagination: + previous: "« Previous" + next: "Next »" + + date: + formats: + # Форматы указываются в виде, поддерживаемом strftime. + # По умолчанию используется default. + # Можно добавлять собственные форматы + # + # + # Use the strftime parameters for formats. + # When no format has been given, it uses default. + # You can provide other formats here if you like! + default: "%d.%m.%Y" + short: "%d %b" + long: "%d %B %Y" + + # Названия дней недели -- контекстные и отдельностоящие + day_names: [воскресенье, понедельник, вторник, среда, четверг, пятница, суббота] + standalone_day_names: [Воскресенье, Понедельник, Вторник, Среда, Четверг, Пятница, Суббота] + abbr_day_names: [Вс, Пн, Вт, Ср, Чт, Пт, Сб] + + # Названия месяцев -- сокращенные и полные, плюс отдельностоящие. + # Не забудьте nil в начале массиве (~) + # + # + # Don't forget the nil at the beginning; there's no such thing as a 0th month + month_names: [~, января, февраля, марта, апреля, мая, июня, июля, августа, сентября, октября, ноября, декабря] + standalone_month_names: [~, Январь, Февраль, Март, Апрель, Май, Июнь, Июль, Август, Сентябрь, Октябрь, Ноябрь, Декабрь] + abbr_month_names: [~, янв., февр., марта, апр., мая, июня, июля, авг., сент., окт., нояб., дек.] + standalone_abbr_month_names: [~, янв., февр., март, апр., май, июнь, июль, авг., сент., окт., нояб., дек.] + + # Порядок компонентов даты для хелперов + # + # + # Used in date_select and datime_select. + order: + - :day + - :month + - :year + + time: + # Форматы времени + formats: + default: "%a, %d %b %Y, %H:%M:%S %z" + short: "%d %b, %H:%M" + long: "%d %B %Y, %H:%M" + + # am/pm решено перевести как "утра/вечера" :) + am: "утра" + pm: "вечера" + + number: + # Используется в number_with_delimiter() + # Также является установками по умолчанию для 'currency', 'percentage', 'precision', 'human' + # + # Used in number_with_delimiter() + # These are also the defaults for 'currency', 'percentage', 'precision', and 'human' + format: + # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5) + separator: "." + # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three) + delimiter: " " + # Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00) + precision: 3 + + # Used in number_to_currency() + currency: + format: + # Формат отображения валюты и обозначение самой валюты + # + # + # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00) + format: "%n %u" + unit: "руб." + # These three are to override number.format and are optional + separator: "." + delimiter: " " + precision: 2 + + # Used in number_to_percentage() + percentage: + format: + # These three are to override number.format and are optional + # separator: + delimiter: "" + + # Used in number_to_precision() + precision: + format: + # These three are to override number.format and are optional + # separator: + delimiter: "" + # precision: + + # Used in number_to_human_size() + human: + format: + # These three are to override number.format and are optional + # separator: + delimiter: "" + precision: 1 + + # Rails 2.2 + # storage_units: [байт, КБ, МБ, ГБ, ТБ] + + # Rails 2.3 + storage_units: + # Storage units output formatting. + # %u is the storage unit, %n is the number (default: 2 MB) + format: "%n %u" + units: + byte: + one: "байт" + few: "байта" + many: "байт" + other: "байта" + kb: "КБ" + mb: "МБ" + gb: "ГБ" + tb: "ТБ" + + # Используется в хелперах distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words() + # + # + # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words() + datetime: + distance_in_words: + half_a_minute: "меньше минуты" + less_than_x_seconds: + one: "меньше %{count} секунды" + few: "меньше %{count} секунд" + many: "меньше %{count} секунд" + other: "меньше %{count} секунды" + x_seconds: + one: "%{count} секунда" + few: "%{count} секунды" + many: "%{count} секунд" + other: "%{count} секунды" + less_than_x_minutes: + one: "меньше %{count} минуты" + few: "меньше %{count} минут" + many: "меньше %{count} минут" + other: "меньше %{count} минуты" + x_minutes: + one: "%{count} минуту" + few: "%{count} минуты" + many: "%{count} минут" + other: "%{count} минуты" + about_x_hours: + one: "около %{count} часа" + few: "около %{count} часов" + many: "около %{count} часов" + other: "около %{count} часа" + x_days: + one: "%{count} день" + few: "%{count} дня" + many: "%{count} дней" + other: "%{count} дня" + about_x_months: + one: "около %{count} месяца" + few: "около %{count} месяцев" + many: "около %{count} месяцев" + other: "около %{count} месяца" + x_months: + one: "%{count} месяц" + few: "%{count} месяца" + many: "%{count} месяцев" + other: "%{count} месяца" + about_x_years: + one: "около %{count} года" + few: "около %{count} лет" + many: "около %{count} лет" + other: "около %{count} лет" + over_x_years: + one: "больше %{count} года" + few: "больше %{count} лет" + many: "больше %{count} лет" + other: "больше %{count} лет" + almost_x_years: + one: "почти %{count} год" + few: "почти %{count} года" + many: "почти %{count} лет" + other: "почти %{count} лет" + prompts: + year: "Год" + month: "Месяц" + day: "День" + hour: "Часов" + minute: "Минут" + second: "Секунд" + + + # Used in array.to_sentence. + support: + array: + # Rails 2.2 + sentence_connector: "и" + skip_last_comma: true + + # Rails 2.3 + words_connector: ", " + two_words_connector: " и " + last_word_connector: " и " diff --git a/config/locales/devise.ru.yml b/config/locales/devise.ru.yml new file mode 100644 index 00000000..5197b59e --- /dev/null +++ b/config/locales/devise.ru.yml @@ -0,0 +1,63 @@ +ru: + errors: + messages: + not_found: "not found" + already_confirmed: "was already confirmed" + not_locked: "was not locked" + + devise: + failure: + admin: + unauthenticated: 'You need to sign in or sign up before continuing.' + unconfirmed: 'You have to confirm your account before continuing.' + locked: 'Your account is locked.' + invalid: 'Invalid email or password.' + no_membership: 'Your account is not a member of this site, please contact the site administrator to gain access.' + invalid_token: 'Invalid authentication token.' + timeout: 'Your session expired, please sign in again to continue.' + inactive: 'Your account was not activated yet.' + sessions: + admin: + signed_in: 'Signed in successfully.' + signed_out: 'Signed out successfully.' + passwords: + admin: + send_instructions: 'Вы получите письмо с инструкциями о том, как сбросить ваш пароль, через несколько минут.' + updated: 'Ваш пароль был успешно изменен. Вы вошли в систему.' + confirmations: + admin: + send_instructions: 'Вы получите письмо с инструкциями о том, как подтвердить ваш аккаунт, через несколько минут.' + confirmed: 'Ваша учетная запись была успешно подтверждена. Вы вошли в систему.' + registrations: + admin: + signed_up: 'You have signed up successfully.' + updated: 'You updated your account successfully.' + destroyed: 'Bye! Your account was successfully cancelled. We hope to see you again soon.' + unlocks: + admin: + send_instructions: 'You will receive an email with instructions about how to unlock your account in a few minutes.' + unlocked: 'Your account was successfully unlocked. You are now signed in.' + mailer: + admin: + confirmation_instructions: 'Confirmation instructions' + reset_password_instructions: 'Reset password instructions' + unlock_instructions: 'Unlock Instructions' + + + admin: + mailer: + common: + hello: Hello + + confirmation_instructions: + you_can_confirm_your_account_through_the_link_below: "You can confirm your account through the link below:" + confirm_my_account: "Confirm my account" + reset_password_instructions: + reset_password_instruction: "Someone has requested a link to change your password, and you can do this through the link below:" + change_my_password: "Change my password" + wrong_request_instruction: "If you didn't request this, please ignore this email." + unchange_password_message: "Your password won't change until you access the link above and create a new one." + unlock_instructions: + locked_account_message: "Your account has been locked due to an excessive amount of unsuccessful sign in attempts." + unlock_account_instruction: "Click the link below to unlock your account:" + unlock_my_account: "Unlock my account" diff --git a/config/locales/formtastic.ru.yml b/config/locales/formtastic.ru.yml new file mode 100644 index 00000000..feaf676d --- /dev/null +++ b/config/locales/formtastic.ru.yml @@ -0,0 +1,99 @@ +ru: + formtastic: + titles: + information: Основная информация + advanced_options: Дополнительные настройки + meta: SEO Metadata + seo: SEO настройки + robots_txt: Robots.txt файл + code: Code + raw_template: Шаблон + credentials: Учетная запись + language: Язык + sites: Сайты + access_points: Access points + memberships: Учетные записи + membership_email: Account email + file: Файл + preview: Preview + options: Дополнительные настройки + custom_fields: Custom fields + other_fields: Other information + presentation: Presentation + attributes: Attributes + upload: Upload + labels: + theme_asset: + plain_text_name: File name + content_type: Тип файла + new: + source: Файл + edit: + source: Заменить файл + custom_fields: + field: + _alias: Alias + import: + new: + source: Файл + samples: Copy samples + reset: Reset site + default_site_template: "Use the default site template. Click here to upload a site template as a zip file instead." + content_type: + item_template: Item template + api_accounts: Notified Accounts + content_instance: + _slug: Permalink + account: + edit: + password: Новый пароль + password_confirmation: Подтверждение нового пароля + page: + seo_title: Title + + hints: + page: + published: "Only authenticated accounts can view unpublished pages." + cache_strategy: "Cache the page for better performance. The 'Simple' choice is a good compromise." + templatized: "Use the page as a template for a model you defined." + listed: "Control whether to show the page from generated menus." + content_type_id: "The type of content this page will be a template for." + seo_title: "Define a page title which should be used as the value for the title tag in the head section. Leave it empty if you want to use the default value from the site settings." + meta_keywords: "Overrides the site's meta keywords used within the head tag of the page. They are separated by a comma." + meta_description: "Overrides the site's meta description used within the head tag of the page." + snippet: + slug: "You need to know it in order to insert the snippet inside a page" + site: + seo_title: "Define a global value here which should be used as the value for the title tag in the head section." + meta_keywords: "Meta keywords used within the head tag of the page. They are separated by a comma. Required for SEO." + meta_description: "Meta description used within the head tag of the page. Required for SEO." + domain_name: "ex: locomotiveapp.org" + robots_txt: "Содержимое файла /robots.txt. См. url для получения большей информации." + theme_asset: + slug: "You do not need to add the extension file (.css or .js)" + edit: + source: "You can replace it by a file of the same extension" + asset: + source: "All file types are accepted." + edit: + source: "The current file is available here %{url}" + update: + source: "The current file is available here %{url}" + custom_fields: + field: + _alias: "Property available in liquid templates" + hint: "Text displayed in the model form just below the field" + content_instance: + _slug: "Property used to generate the url of a page working as a template for this content type (ex: \"template_page/{{ your_object._permalink }})\"." + seo_title: "The value you fill in will replace the SEO title of the templatized page related to your model." + meta_keywords: "Overrides the site's meta keywords used within the head tag of the page. They are separated by a comma." + meta_description: "Overrides the site's meta description used within the head tag of the page." + import: + source: "A zipfile containing a database.yml along with assets and templates" + samples: "If enabled, the import process will also copy contents and assets" + reset: "If enabled, all the data of your site will be destroyed before importing the new site" + content_type: + item_template: "You can customize the text displayed for each item in the list. Simply use Liquid. Ex: {{ content.name }})" + api_enabled: "It is used to let people from outside to create new instances (example: messages in a contact form)" + api_accounts: "A notification email will be sent to each of the accounts listed above when a new instance is created" +